login}'");
/* ------------------------- */ ?>
">
Profiel |
time+60*5 > time()) ? "Nu" : $data->online;
$type = Array("","Drugsdealer","Wetenschapper","Politie");
$type = $type[$data->type];
$criminals = Array("","Junkies","Klonen","Agenten");
$criminals = $criminals[$data->type];
$power = round(($data->attack+$data->defence)/2+$data->clicks*5);
$totalattacks = $data->attwins + $data->attlosses;
$totaldefends = $data->defwins + $data->deflosses;
$clan_name = preg_replace('/-\[recruit\]/',"",$data->clan);
$data->info = preg_replace('/\n/',"
\n",$data->info);
if($data->level == -1){
$status = dood;
} else {
$status = levend;
}
print <<
{$data->info}
|
|
Nick: | {$data->login} {$data->stat} |
Clan: | {$data->clan} |
Status: | {$status} |
Contant: | \${$data->cash} |
Op de bank: | \${$data->bank} |
$criminals: | {$data->clicks} |
Power: | {$power} |
Eerpunten: | {$data->eer} |
Onderzoekers: | {$data->onderzoekers} |
Lab's: | {$data->lab} |
ledenzoeker: | {$data->ledenz} |
Scripter: | {$data->scripter} |
Bewaker: | {$data->waker} |
Allie prijs: | {$data->alliep} |
|
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` >= -2 AND `area` <= 4) OR `area`=13+{$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;
}
}
}
/* ------------------------- */ ?>