level & 0x80)) exit; mysql_query("UPDATE `[users]` SET `online`=NOW() WHERE `login`='{$data->login}'"); /* ------------------------- */ ?>
Admin - Mass Message | \n"; if(isset($_POST['message'])) { $dbres = mysql_query("SELECT * FROM `[temp]` WHERE `id`='{$_POST['id']}' AND `code`='{$_POST['code']}' AND `area`='message'"); if(($check = mysql_fetch_object($dbres)) && $check->IP == $clientIP) { $dbres = mysql_query("SELECT `login` FROM `[users]` WHERE `Mobieltje`=1"); while($member = mysql_fetch_object($dbres)) { $_POST['subject'] = preg_replace('/','<',$_POST['subject']); $_POST['message'] = preg_replace('/','<',$_POST['message']); mysql_query("INSERT INTO `[messages]`(`time`,`IP`,`from`,`to`,`subject`,`message`) values(NOW(),'{$_SERVER['REMOTE_ADDR']}','** Criminals **','{$member->login}','{$_POST['subject']}','{$_POST['message']}')"); mysql_query("DELETE FROM `[temp]` WHERE `id`='{$_POST['id']}' AND `code`='{$_POST['code']}' AND `area`='message'"); } } print "
Bericht verzonden |