{$data->info}
|
Nick: | {$data->login} |
Clan: | {$data->clan} |
Contant: | \${$data->cash} |
Op de bank: | \${$data->bank} |
$criminals: | {$data->clicks} |
Power: | {$power} |
|
Laatst online: | $online |
|
| Gewonnen | Verloren | Totaal |
Aanvallen | {$data->attwins} | {$data->attlosses} | {$totalattacks} |
Verdedigingen | {$data->defwins} | {$data->deflosses} | {$totaldefends} |
|
|
|
ENDHTML;
$dbres = mysql_query("SELECT `name`,`area`,`url` FROM `[weapons]` WHERE ((`area` >= 1 AND `area` <= 4) OR `area`=4+{$data->type}) ORDER BY `area`,`costs`");
$lastarea = 1;
while($weapon = mysql_fetch_object($dbres)) {
if($lastarea != $weapon->area)
print "
|
\n";
$num = $data->{$weapon->name}+0;
print " $name
url}.gif\" height=75 width=100> | $num |
|
\n";
$lastarea = $weapon->area;
}
}
}
/* ------------------------- */ ?>