$users = new usersMenus(); if (!$users->AsArticaMetaAdmin) { $tpl = new templates(); echo FATAL_ERROR_SHOW_128("{ERROR_NO_PRIVS}"); die; } if (isset($_GET["acls-list"])) { acl_list(); exit; } if (isset($_GET["acl-rule-delete-js"])) { acl_rule_delete_js(); exit; } if (isset($_POST["acl-rule-delete"])) { acl_rule_delete(); exit; } if (isset($_POST["acl-rule-enable"])) { acl_rule_enable(); exit; } if (isset($_POST["acl-rule-move"])) { acl_rule_move(); exit; } if (isset($_POST["acl-rule-order"])) { acl_rule_order(); exit; } page();
$alert=$tpl->_ENGINE_parse_body('{ERROR_NO_PRIVS}'); echo "<H2>$alert</H2>"; die(); } if(isset($_POST["aclrulename-group"])){acl_rule_group_save();exit;} if(isset($_POST["aclname-save"])){acl_rule_save();exit;} if(isset($_GET["acls-list"])){acl_list();exit;} if(isset($_GET["Addacl-js"])){acl_js();exit;} if(isset($_GET["Addacl-group"])){acl_group_js();exit;} if(isset($_GET["acl-rule-settings-group"])){acl_group_settings();exit;} if(isset($_GET["acl-rule-group"])){page();exit;} if(isset($_GET["acl-rule-tabs"])){acl_rule_tab();exit;} if(isset($_GET["acl-rule-settings"])){acl_rule_settings();exit;} if(isset($_POST["acl-rule-delete"])){acl_rule_delete();exit;} if(isset($_POST["acl-rule-enable"])){acl_rule_enable();exit;} if(isset($_POST["acl-rule-move"])){acl_rule_move();exit;} if(isset($_POST["acl-rule-order"])){acl_rule_order();exit;} if(isset($_POST["aclrulename"])){acl_main_rule_edit();exit;} if(isset($_POST["ApplySquid"])){squid_compile();exit;} if(isset($_GET["csv"])){output_scv();exit;} if(isset($_POST["EnableSquidPortsRestrictions"])){EnableSquidPortsRestrictions();exit;} if(isset($_POST["SquidAllowSmartPhones"])){SquidAllowSmartPhones();exit;} page(); function acl_group_js(){ $page=CurrentPageName(); $tpl=new templates();