Parašė Žmogus· 2011 Kov. 14 17:03:08
<?
$teams = array();
$rezultatai = mysql_query("SELECT * FROM teams order by played desc limit 10");
$i = 1;
while ($q = mysql_fetch_array($rezultatai)) {
echo "<table width='249' cellpadding='0' cellspacing='0'>
<td>
<span style='color:white'>{$i}. <a href='".BASEDIR."infusions/stats/komandos.php?id={$q['id']}'><span style='color:#FFF'>{$q['name']}</a>
</td>
<td ALIGN='RIGHT'''>
<span style='color:white'>{$q['played']}<small><span style='color:white'>rungt.
</td>
</tr>";$i++;
}
echo "</table>";
?>