Gegevens van: =$clan['name'];?> Clan |
Clan naam: |
=$clan['name'];?> |
De Baas: |
=$clan['owner'];?> |
Leden: |
|
Power: | ".number_format($power,0,',','.')." | \n";
print " Kliks: | ".number_format($clan['clicks'],0,',','.')." | \n";
print " Kliks Vandaag: | {$clan['clickstoday']} | \n";
print " Land: | ".number_format($clan['land'],0,',','.')."m2 | \n";
print " Contant: | € ".number_format($clan['cash'],0,',','.')." | \n";
print " Bank: | € ".number_format($clan['bank'],0,',','.')." | \n";
print " Begin Datum: | {$clan['started']} | \n";
?>
Clan links |
Join • Doneren |
Clan Inkomen |
Contant geld per uur: |
€ =number_format($totaalgeldclancash,0,',','.');?> |
Bank geld per uur: |
€ =number_format($totaalgeldclanbank,0,',','.');?> |
Totaal geld per uur: |
€ =number_format($totaalgeldclan,0,',','.');?> |
Totaal geld per dag: |
€ =number_format($totaalgeldclanpd,0,',','.');?> |
Clan geld |
// Familie geld start
// Cash
$sCash = number_format($clan['cash']);
// Bank
$sBank = number_format($clan['bank']);
//Totaal Bank+Cash
$total = number_format($clan['cash'] + $clan['bank']);
// Aantal stortingen nog
$storten = number_format($clan['bankleft']);?>
Contant geld: |
€ =$sCash;?> |
Bank geld: |
€ =$sBank;?> |
Totaal: |
€ =$total;?> |
Stortingen over: |
=$storten;?> |
|
Clan bezittingen |
|
=$clan['snackbar'];?> |
|
=$clan['money_lvl9'];?> |
|
=$clan['cafee'];?> |
|
=$clan['restaurant'];?> |
|
=$clan['nachtclub'];?> |
|
=$clan['casino'];?> |
Clan Statistieken |
|
Gewonnen |
Verloren |
Totaal |
Aanvallen: |
=$clan['attwins'];?> |
=$clan['attlosses'];?> |
=$totalattacks;?> |
Verdedigingen: |
=$clan['defwins'];?> |
=$clan['deflosses'];?> |
=$totaldefends;?> |
|
Clan leden |
# |
Naam |
Rank |
Geld |
Power |
= 0) ? $_GET['p']*30 : 0;
if($_GET['s'] == "login")
$dbres = mysql_query("SELECT `login`,`attack`,`defence`,`clicks`,`bank`,`cash`,`clanlevel`,`type` FROM `[users]` WHERE `clan`='".$clan['name']."' ORDER BY `login` LIMIT $begin,30");
elseif($_GET['s'] == "money")
$dbres = mysql_query("SELECT `login`,`attack`,`defence`,`clicks`,`bank`,`cash`,`clanlevel`,`type` FROM `[users]` WHERE `clan`='".$clan['name']."' ORDER BY `cash`+`bank` DESC,`login` ASC LIMIT $begin,30");
elseif($_GET['s'] == "power")
$dbres = mysql_query("SELECT `login`,`attack`,`defence`,`clicks`,`bank`,`cash`,`clanlevel`,`type` FROM `[users]` WHERE `clan`='".$clan['name']."' ORDER BY (`attack`+`defence`) DESC,`login` ASC LIMIT $begin,30");
else
$dbres = mysql_query("SELECT `login`,`attack`,`defence`,`clicks`,`bank`,`cash`,`clanlevel`,`type` FROM `[users]` WHERE `clan`='".$clan['name']."' ORDER BY `clanlevel` DESC,`login` ASC LIMIT $begin,30");
for($j = $begin + 1; $member = mysql_fetch_assoc($dbres); $j++) {
$rank = Array("","Member","Recruiter","","","","Manager","Generaal","Leader","Owner");
$rank = $rank[$member['clanlevel']];
$power = number_format(round(($member['attack'] + $member['defence'])),0,',','.');
$money = number_format($member['cash'] + $member['bank'],0,',','.');
?>
=$j;?> |
=$member['login'];?> |
=$rank;?> |
€ =$money;?> |
=$power;?> |
| |