level & 0x80))
exit;
mysql_query("UPDATE `[users]` SET `online`=NOW() WHERE `login`='{$data->login}'");
/* ------------------------- */ ?>
[( Criminals )]
">
login;
$signup = $x->signup;
}
else {
$login = $_GET['x'];
$signup = 0;
}
$dbres = mysql_query("SELECT `login`,`person` FROM `[logs]` WHERE `area`='donate' AND `time` >= '$signup' AND (`login`='$login' OR `person`='$login')");
$users = Array();
while($user = mysql_fetch_object($dbres)) {
if($user->login != $login)
$users[strtolower($user->login)] = $user->login;
if($user->person != $login)
$users[strtolower($user->person)] = $user->person;
}
ksort($users);
print " Admin - User Info |
\n";
print " [R] [D] [P] $login |
\n";
print " \n | | \n Ontvangen | \n Verzonden | \n";
$total = 0;
foreach($users as $lcuser => $user) {
$userReceived = 0;
$userSend = 0;
if(mysql_num_rows(mysql_query("SELECT `id` FROM `[users]` WHERE `login`='$user'")) > 0)
print " [R] [D] [P] | $user | \n";
else
print " [R] [D] [P] | $user | \n";
$dbres = mysql_query("SELECT `code` FROM `[logs]` WHERE `area`='donate' AND `person`='$login' AND `login`='$user' AND `time` >= '$signup'");
while($amount = mysql_fetch_object($dbres))
$userReceived += $amount->code;
$totalReceived += $userReceived;
print " \$$userReceived | \n";
$dbres = mysql_query("SELECT `code` FROM `[logs]` WHERE `area`='donate' AND `person`='$user' AND `login`='$login' AND `time` >= '$signup'");
while($amount = mysql_fetch_object($dbres))
$userSend += $amount->code;
$totalSend += $userSend;
print " \$$userSend | \n";
}
print " Totaal | | \$$totalReceived | \$$totalSend | \n\n";
print " |
\n
|
";
}
/* ------------------------- */ ?>