
S.Administratorius

Reputacija:
0
Pranešimai: 670
Įstojo: 2007-01-02
|
NEFLOODINK daugiau.
PHP <?php -
require_once "maincore.php"; require_once "subheader.php"; require_once "side_left.php"; include LOCALE.LOCALESET."members-profile.php"; -
opentable($locale['400']); if (iMEMBER) { if (!isset($sortby)) $sortby = "all"; $orderby = ($sortby == "all" ? "" : " WHERE user_name LIKE '".stripinput($sortby)."%'"); $result = dbquery("SELECT * FROM ".$db_prefix."users".$orderby.""); $rows = dbrows($result); if (!isset($rowstart) || !isNum($rowstart)) $rowstart = 0; if ($rows != 0) { $i = 0; -
$search = array( "A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R", "S","T","U","V","W","X","Y","Z","0","1","2","3","4","5","6","7","8","9" ); echo "<table align='center' cellpadding='0' cellspacing='1' class='tbl-border'>\n<tr>\n"; echo "<td rowspan='2' class='tbl2'><a href='".FUSION_SELF."?sortby=all'>".$locale['404']."</a></td>"; for ($i=0;$i < 36!="";$i++) { echo "<td align='center' class='tbl1'><div class='small'><a href='".FUSION_SELF."?sortby=".$search[$i]."'>".$search[$i]."</a></div></td>"; echo ($i==17 ? "<td rowspan='2' class='tbl2'><a href='".FUSION_SELF."?sortby=all'>".$locale['404']."</a></td>\n</tr>\n<tr>\n" : "\n"); } echo "</tr>\n</table>\n<hr>"; -
-
echo "<table align='center' cellpadding='0' cellspacing='1' width='100%' class='tbl-border'> <tr> <td class='tbl2'><b>".$locale['401'].; $result = dbquery("SELECT * FROM ".$db_prefix."users".$orderby." ORDER BY user_name ASC LIMIT $rowstart,20"); while ($data = dbarray($result)) { $cell_color = ($i % 2 == 0 ? "tbl1" : "tbl2"); $i++; -
if ($data['user_birthdate'] != "0000-00-00") { $months = explode("|", $locale['months']); $user_birthdate = explode("-", $data['user_birthdate']); } else { } echo "<tr>\n<td class='$cell_color'>\n<a href='profile.php?lookup=".$data['user_id']."'>".$data['user_name']."</a></td>\n"; echo "<td align='center' width='1%' class='$cell_color' style='white-space:nowrap'>\n<a href='messages.php?msg_send=".$data['user_id']."'><img src='".THEME."forum/pm.gif' alt='PM schreiben'></a></td>"; echo "<td align='center' width='1%' class='$cell_color' style='white-space:nowrap'>".$data['user_posts']."</td>"; echo "<td align='center' width='1%' class='$cell_color' style='white-space:nowrap'>".showdate("%d.%m.%y", $data['user_joined'])."</td>"; echo "<td align='center' width='1%' class='$cell_color' style='white-space:nowrap'>"; if ($data['user_birthdate'] != "0000-00-00") echo "".number_format($user_birthdate['2']).". ".$months[number_format($user_birthdate['1'])]." ".$user_birthdate['0'].""; -
echo "</td>\n</tr>"; -
} echo "</table>\n"; } else { echo "<center>\n".$locale['403']."$sortby\n</center>\n"; } $search = array( "A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R", "S","T","U","V","W","X","Y","Z","0","1","2","3","4","5","6","7","8","9" ); echo "<hr>\n<table align='center' cellpadding='0' cellspacing='1' class='tbl-border'>\n<tr>\n"; echo "<td rowspan='2' class='tbl2'><a href='".FUSION_SELF."?sortby=all'>".$locale['404']."</a></td>"; for ($i=0;$i < 36!="";$i++) { echo "<td align='center' class='tbl1'><div class='small'><a href='".FUSION_SELF."?sortby=".$search[$i]."'>".$search[$i]."</a></div></td>"; echo ($i==17 ? "<td rowspan='2' class='tbl2'><a href='".FUSION_SELF."?sortby=all'>".$locale['404']."</a></td>\n</tr>\n<tr>\n" : "\n"); } echo "</tr>\n</table>\n"; } else { echo "<center>\n".$locale['003']."\n</center>\n"; } closetable(); if ($rows > 20) echo "<div align='center' style='margin-top:5px;'>".makePageNav($rowstart,20,$rows,3,FUSION_SELF."?sortby=$sortby&")."\n</div>\n"; -
require_once "side_right.php"; require_once "footer.php"; ?> |