Parašė bruzgis· 2008 Gru. 21 12:12:58
#16
$result = dbquery("SELECT * FROM ".$db_prefix."user_points ORDER BY points_total DESC LIMIT 10");
openside('TOP 10 vartotojų');
echo "<table class='lentele' align='center'>
<td align='left'><b>Nick</b></td>
<td align='left'><b>Taškų</b></td>
";
while ( $row = dbarray($result))
{
echo "<tr>";
echo "<td>" . $row['owner_name'] . "</td>";
echo "<td>" . $row['points_total'] . "</td>";
echo "</tr>";
}
echo "</table>";
closeside();
Redagavo bruzgis· 2008 Gru. 21 12:12:15