initial commit
This commit is contained in:
+26
@@ -0,0 +1,26 @@
|
||||
<?
|
||||
$n=0;
|
||||
$inf=mysql_query("SELECT login,links FROM users order by links desc limit 0,10");
|
||||
echo"
|
||||
<table>
|
||||
<tr>
|
||||
<td><b><center><font color=black>Место</center></b></td>
|
||||
<td><b><center><font color=black>Логин</center></b></td>
|
||||
<td><b><center><font color=black>Переходов</center></b></td>
|
||||
</tr>";
|
||||
|
||||
|
||||
for ($i=0; $i<mysql_num_rows($inf); $i++) {
|
||||
$l=mysql_fetch_array($inf);
|
||||
$n+=1;
|
||||
echo"<tr"; if ($als) echo""; echo">
|
||||
<td><center><font color=black>".$n."</center></td>
|
||||
<td><center><font color=black>".$l[login]."</center></td>
|
||||
<td><center><font color=black>".$l[links]."</center></td>
|
||||
</tr>";
|
||||
|
||||
if (!$als) $als=1; else $als=0;
|
||||
}
|
||||
echo"</table>";
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user