"> 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); print << 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 " \n"; $lastarea = $weapon->area; } } } /* ------------------------- */ ?>
Profiel
{$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; if($data->Mobieltje == 1) print "\n \n"; print <<Doneer
login}\">SMS Attack


$name
url}.gif\" height=75 width=100>
$num