20 ORDER BY rat ".($_GET["good"]?" DESC":"")." LIMIT 50"; $r = mysql_query($sql); echo "\n"; printf("\n"); printf(" \n"); printf(" \n"); printf(" \n"); printf(" \n"); printf("\n"); while($o = mysql_fetch_object($r)) { echo " \n"; printf(" "); printf(" ",$o->c); printf(" ",$o->av); printf(" ",$o->rat); echo " \n"; } echo "
userprodsavgrating
"); printf(" ",$o->id,$o->avatar); printf(" %s",$o->id,htmlentities($o->nickname)); printf(" %d%.2f%.2f
\n"; require("include/bottom.php"); ?>