1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
|
if($action=="topliste") {
if(isset($_REQUEST['top'])) $top = intval($_REQUEST['top']);
else $top = 100;
$countygotopbit = "";
$platz = 1;
$counttop = 0;
$countygoresult = $db->query("SELECT Countygo, COUNT(Countygo) AS count_countygo FROM bb".$n."_users GROUP BY Countygo ORDER BY COUNT(Countygo) DESC",$top);
while($users = $db->fetch_array($countygoresult)) {
if($counttop == 1) {
$tableib = "tableb";
$tablecolor = "{tablecolorb}";
$counttop = 0;
} else {
$tableib = "tablea";
$tablecolor = "{tablecolora}";
$counttop = 0;
} |