include_once('ressources/class.templates.inc'); include_once('ressources/class.ldap.inc'); include_once('ressources/class.users.menus.inc'); $usersmenus=new usersMenus(); if(!$usersmenus->AsArticaAdministrator){ $tpl=new templates(); echo "alert('".$tpl->javascript_parse_text("{ERROR_NO_PRIVS}")."');"; exit; } if(isset($_GET["popup"])){popup();exit;} if(isset($_GET["status"])){enable_form();exit;} if(isset($_GET["EnableIpBlocks"])){save();exit;} if(isset($_GET["list"])){list_threats();exit;} if(isset($_GET["ipchecks-list"])){list_threats_list();exit;} if(isset($_POST["cn"])){SaveIpChecks();exit;} if(isset($_GET["show"])){show();exit;} js(); function js(){ $page=CurrentPageName(); $tpl=new templates(); echo $tpl->_ENGINE_parse_body("YahooWin3('400','$page?popup=yes','{block_countries}');"); }
exit; } if (isset($_GET["status"])) { enable_form(); exit; } if (isset($_GET["EnableIpBlocks"])) { save(); exit; } if (isset($_GET["list"])) { list_threats(); exit; } if (isset($_GET["ipchecks-list"])) { list_threats_list(); exit; } if (isset($_POST["cn"])) { SaveIpChecks(); exit; } if (isset($_GET["show"])) { show(); exit; } js(); function js() { $page = CurrentPageName(); $tpl = new templates();