<?php /* $Id: remove_va.php,v 1.3 2004/07/25 03:31:52 nighty Exp $ */ $min_lvl = 800; require "../../../php_includes/cmaster.inc"; std_connect(); $user_id = std_security_chk($auth); $admin = std_admin(); $cTheme = get_theme_info(); $res = pg_safe_exec("SELECT user_name FROM users WHERE id='" . (int) $user_id . "'"); $adm_usr = pg_fetch_object($res, 0); $adm_user = $adm_usr->user_name; if ($admin == 0) { echo "Restricted to logged in CService Admins, sorry."; die; } if (!($admin >= 800)) { echo "Sorry, your admin access is too low."; die; } $nrw_lvl = 0; if (acl(XWEBAXS_2)) { $nrw_lvl = 1; } if (acl(XWEBAXS_3)) { $nrw_lvl = 2; } echo "<html><head><title>LOCKED VERIFICATION ANSWERS (DELETE MODE)</title>"; std_theme_styles(); echo "</head>\n"; std_theme_body("../");
<?php /* $Id: newuser.php,v 1.32 2006/03/11 18:40:34 nighty Exp $ */ require "../../php_includes/blackhole.inc"; require "../../php_includes/cmaster.inc"; if ($loadavg5 >= CRIT_LOADAVG) { header("Location: highload.php"); die; } std_connect(); $cTheme = get_theme_info(); $user_id = std_security_chk($_COOKIE["auth"]); $admin = 0; $confirm_url = gen_server_url() . substr($REQUEST_URI, 0, strrpos($REQUEST_URI, "/")) . "/confirm.php"; // check for global lock (admin) if (newusers_off()) { echo "<html><head><title>PAGE LOCKED BY CSERVICE ADMINISTRATORS</title>"; std_theme_styles(); echo "</head>\n"; std_theme_body(); echo "<center>\n"; echo "<h2>"; echo "Sorry, You can't register new users at the moment."; echo "</h2>"; echo "</center>\n"; echo "</body></html>\n\n"; die; } if (NEWUSERS_IPCHECK && !newu_ipcheck(0)) { echo "<html><head><title>SECURITY WARNING</title>"; std_theme_styles();