'.$ds[name].''; } function top5() { $pagebg=PAGEBG; $border=BORDER; $bghead=BGHEAD; $bgcat=BGCAT; echo'
';
// RATING
$ergebnis=safe_query("SELECT * FROM ".PREFIX."demos ORDER BY rating DESC LIMIT 0,5");
$top='TOP 5 DEMOS (rating)';
eval ("\$top5_head = \"".gettemplate("top5_head")."\";");
echo $top5_head;
$n=1;
while($ds=mysql_fetch_array($ergebnis)) {
if($n%2) {
$bg1=BG_1;
$bg2=BG_2;
}
else {
$bg1=BG_3;
$bg2=BG_4;
}
$country1="[flag]".$ds[country1]."[/flag]";
$country1=flags($country1);
$country2="[flag]".$ds[country2]."[/flag]";
$country2=flags($country2);
$link=''.$country1.' '.$ds[clantag1].' vs. '.$ds[clantag2].' '.$country2.'';
$ratings=array(0,0,0,0,0,0,0,0,0,0);
for($i=0; $i<$ds[rating]; $i++) {
$ratings[$i]=1;
}
$ratingpic='![]() ![]() | ||
'.$n.'. | '.$ratingpic.' | '.$link.' |