login}'"); $gegevens = mysql_query("SELECT * FROM `[logs]` WHERE `area`='attack' ORDER BY `time` DESC LIMIT 50"); /* ------------------------- */ ?> \n \n \n\n \n"; print "
Snelmenu
Attack Log - Donatie Log - Klik Log - Laatste 50 Aanvallen
Aanvallen
"; $dbres = mysql_query("SELECT *,DATE_FORMAT(`time`,'%d-%m-%Y %H:%i') AS `attacktime` FROM `[logs]` WHERE `login`='{$data->login}' AND `time` >= '{$data->signup}' AND `area`='attack' ORDER BY `time` DESC LIMIT 0,25"); while($info = mysql_fetch_object($dbres)) { $result = ($info->code & 0x01 == 1) ? "gewonnen" : "verloren"; $money = $info->code >> 1; print << ENDHTML; } print "
{$info->attacktime} {$info->person} \$$money $result

Verdedigingen
\n"; $dbres = mysql_query("SELECT *,DATE_FORMAT(`time`,'%d-%m-%Y %H:%i') AS `attacktime` FROM `[logs]` WHERE `person`='{$data->login}' AND `time` >= '{$data->signup}' AND `area`='attack' ORDER BY `time` DESC LIMIT 0,25"); while($info = mysql_fetch_object($dbres)) { $result = ($info->code & 0x01 == 1) ? "verloren" : "gewonnen"; $money = $info->code >> 1; print << ENDHTML; } } else if($_GET['x'] == "donate") { print " \n \n \n\n \n"; print "
{$info->attacktime} {$info->login} \$$money $result
Verzonden donaties
"; $dbres = mysql_query("SELECT *,DATE_FORMAT(`time`,'%d-%m-%Y %H:%i') AS `donatetime` FROM `[logs]` WHERE `login`='{$data->login}' AND `time` >= '{$data->signup}' AND `area`='donate' ORDER BY `time` DESC LIMIT 0,25"); while($info = mysql_fetch_object($dbres)) { $money = $info->code; print << ENDHTML; } print "
{$info->donatetime} {$info->person} \$$money

Ontvangen donaties
\n"; $dbres = mysql_query("SELECT *,DATE_FORMAT(`time`,'%d-%m-%Y %H:%i') AS `donatetime` FROM `[logs]` WHERE `person`='{$data->login}' AND `time` >= '{$data->signup}' AND `area`='donate' ORDER BY `time` DESC LIMIT 0,25"); while($info = mysql_fetch_object($dbres)) { $money = $info->code; print << ENDHTML; } } else if($_GET['x'] == "click") { print " \n"; $dbres = mysql_query("SELECT *,DATE_FORMAT(`time`,'%d-%m-%Y %H:%i') AS `time` FROM `[temp]` WHERE `person`='{$data->login}' AND `time` >= '{$data->signup}' AND `area`='click' ORDER BY `login`"); while($info = mysql_fetch_object($dbres)) { print << ENDHTML; } } else if($_GET['x'] == "attacks") { print "
{$info->donatetime} {$info->login} \$$money
Datum Nickname Nummer
{$info->clicktime} {$info->login} {$info->code}
Laatste 50 aanvallen.
"; while($rij = mysql_fetch_object($gegevens)) { print " "; } } else { print <<
Aanvaller Tegen Verdediger
login\">$rij->login Tegen person\">$rij->person
logs
ENDHTML; } /* ------------------------- */ ?>