level & 0x80)) exit; mysql_query("UPDATE `[users]` SET `online`=NOW() WHERE `login`='{$data->login}'"); /* ------------------------- */ ?> [( Criminals )] "> \n"; if(isset($_POST['to'])) { if(preg_match('/^[0-9]+$/',$_POST['amount'])) { if($member = mysql_fetch_object(mysql_query("SELECT `login` FROM `[users]` WHERE `login`='{$_POST['to']}'"))) { mysql_query("UPDATE `[users]` SET `bank`=`bank`+{$_POST['amount']} WHERE `login`='{$member->login}'"); mysql_query("INSERT INTO `[logs]`(`time`,`IP`,`login`,`person`,`code`,`area`) values(NOW(),'{$_SERVER['REMOTE_ADDR']}','** Criminals **','{$member->login}',{$_POST['amount']},'donate')"); print " \n"; } } } print << ENDHTML; } else if($_GET['p'] == "del") { $dbres = mysql_query("SELECT `login`,`level` FROM `[users]` WHERE `login`='{$_GET['x']}'"); if($x = mysql_fetch_object($dbres)) { if($x->level & 0x80) print " \n \n"; else if(isset($_POST['delete'])) { mysql_query("DELETE FROM `[users]` WHERE `login`='{$x->login}'"); mysql_query("DELETE FROM `[temp]` WHERE `login`='{$x->login}'"); mysql_query("DELETE FROM `[logs]` WHERE `login`='{$x->login}' AND `area`='hqIP'"); if($clan = mysql_fetch_object(mysql_query("SELECT `name` FROM `[clans]` WHERE `owner`='{$x->login}'"))) { mysql_query("DELETE FROM `[clans]` WHERE `name`='{$clan->name}'"); mysql_query("UPDATE `[users]` SET `clan`='',`clanlevel`=0 WHERE `clan`='{$clan->name}'"); } print " \n \n"; } else { print << ENDHTML; } } } else if($_GET['p'] == "reset") { $dbres = mysql_query("SELECT `id`,`login`,`pass`,`level`,`IP`,`email`,`type`,`clan`,`clanlevel`,`activated`,`blocklist` FROM `[users]` WHERE `login`='{$_GET['x']}'"); if($x = mysql_fetch_object($dbres)) { if(isset($_POST['reset'])) { mysql_query("DELETE FROM `[users]` WHERE `login`='{$x->login}'"); mysql_query("DELETE FROM `[temp]` WHERE `login`='{$x->login}'"); mysql_query("DELETE FROM `[logs]` WHERE `login`='{$x->login}' AND `area`='hqIP'"); mysql_query("INSERT INTO `[users]`(`id`,`signup`,`login`,`pass`,`level`,`IP`,`email`,`type`,`clan`,`clanlevel`,`blocklist`,`activated`) values('{$x->id}',NOW(),'{$x->login}','{$x->pass}','{$x->level}','{$x->IP}','{$x->email}','{$x->type}','{$x->clan}','{$x->clanlevel}','{$x->blocklist}',1)"); print " \n \n"; } else { print << ENDHTML; } } } /* ------------------------- */ ?>
Admin - Donate
Er is \${$_POST['amount']},- aan {$member->login} gedoneerd
Aan:
Bedrag:
Delete user
Je kan een admin niet verwijderen
Delete user
{$x->login} is verwijderd
Delete user
Weet je zeker dat je {$x->login} wilt verwijderen?

     
Reset user
{$x->login} is gereset
Reset user
Weet je zeker dat je {$x->login} wilt resetten?