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 " \n"; print " \n"; print " \n "; } /* ------------------------- */ ?>
Admin - User Info
[R] [D] [P] $login
\n \n \n \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 " \n"; else print " \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 " \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 " \n"; } print " \n\n"; print "
   OntvangenVerzonden
[R] [D] [P] $user
[R] [D] [P] $user\$$userReceived\$$userSend
Totaal   \$$totalReceived \$$totalSend