MinhNP
(Member)
[Off] 25-09-2016 |
Dán vô mainmenu.php nhé các bạn!
<?php
echo '<div class="phdr">• <b>TOP Đại Gia</b></div>';
$req1 = mysql_query("SELECT `id`, `balans`, `name`, `rights` FROM `users` WHERE rights = 0 ORDER BY `balans` DESC LIMIT 5");
while ($res1 = mysql_fetch_assoc($req1)) {
echo '<div class="menu list-top">';
echo '»';
echo '<b><a href="/users/profile.php?user='.$res1['id'].'">'.nick($res1['id']).'</a></b>
Tiền: <font color="green">'.$res1['balans'].'</font>
</div>';
++$i;
}
?>
echo '<div class="phdr">• <b>TOP Đại Gia</b></div>';
$req1 = mysql_query("SELECT `id`, `balans`, `name`, `rights` FROM `users` WHERE rights = 0 ORDER BY `balans` DESC LIMIT 5");
while ($res1 = mysql_fetch_assoc($req1)) {
echo '<div class="menu list-top">';
echo '»';
echo '<b><a href="/users/profile.php?user='.$res1['id'].'">'.nick($res1['id']).'</a></b>
Tiền: <font color="green">'.$res1['balans'].'</font>
</div>';
++$i;
}
?>
#9 (0) |