Statistieken


Statistieken
Aantal Leden: $leden
Aantal Clans: $clans
Berichten Verstuurt: $berichten
Spelers Aangemeld Laatste 24 uur: $join
Speler Online: $online
Spelers Online Laatste 24 uur: $online24
Autos In Het Spel: $car
"; } if($_GET['x'] == "geld") { $dbres = mysql_query("SELECT `cash` FROM `[users]` WHERE `level` > '0' AND `level` < '256'"); $cash = 0; while($user1 = mysql_fetch_assoc($dbres)) $cash += $user1['cash']; $cash1 = number_format($cash,0); $dbres = mysql_query("SELECT `bank` FROM `[users]` WHERE `level` > '0' AND `level` < '256'"); $bank = 0; while($user = mysql_fetch_assoc($dbres)) $bank += $user['bank']; $bank1 = number_format($bank,0); $select = mysql_query("SELECT * FROM `[users]`"); $members = mysql_num_rows($select); $total1 = round($bank+$cash); $total = number_format($total1,0); $totalplayer = round($total1/$members); $totalplayer = number_format($totalplayer,0); echo ""; echo ""; echo ""; echo ""; $select = mysql_query("SELECT * FROM `[users]` ORDER BY `cash`+`bank` DESC LIMIT 0,10"); while($list = mysql_fetch_assoc($select)) { $money = round($list[bank]+$list[cash]); $money = number_format($money, 0, ",", "."); echo ""; } } if($_GET['x'] == "rank") { $dbres = mysql_query("SELECT `cash` FROM `[users]` WHERE `level` > '0' AND `level` < '256'"); $cash = 0; while($user1 = mysql_fetch_assoc($dbres)) $cash += $user1['cash']; $cash1 = number_format($cash,0); $dbres = mysql_query("SELECT `bank` FROM `[users]` WHERE `level` > '0' AND `level` < '256'"); $bank = 0; while($user = mysql_fetch_assoc($dbres)) $bank += $user['bank']; $bank1 = number_format($bank,0); $select = mysql_query("SELECT * FROM `[users]`"); $members = mysql_num_rows($select); $total1 = round($bank+$cash); $total = number_format($total1,0); $totalplayer = round($total1/$members); $totalplayer = number_format($totalplayer,0); echo "
Meeste Geld
bankgeld in het spel €$bank1
cashgeld in het spel €$cash1
totaal €$total, gemiddeld €$totalplayer per speler

$list[login]

€$money

"; $select = mysql_query("SELECT * FROM `[users]` ORDER BY `rank`+`rank` DESC LIMIT 0,10"); while($list = mysql_fetch_assoc($select)) { $rank1 = array("","Empty-Suit","Deliveryboy","Picciotto","Shoplifter","Pickpocket","Thief","Associate","Mobster","Soldier","Swindler","Assassin","Local Chief","Chief","Bruglione","Godfather","Legendary Godfather"); $rank = $rank1[$list[rank]]; echo ""; } } if($_GET['x'] == "speler") { echo "
Hoogste Ranks

$list[login]

$rank

"; $select = mysql_query("SELECT * FROM `[users]` ORDER BY (`attack`+`defence`)/2+`clicks`*5 DESC LIMIT 0,10"); while($list = mysql_fetch_assoc($select)) { $power = round(($list[attack]+$list[defence])/2+$list[clicks]*5); $power = number_format($power, 0, ",", "."); echo ""; } } ?>
Meeste Power

$list[login]

$power power