include_once('ressources/class.users.menus.inc'); include_once('ressources/class.artica.inc'); include_once('ressources/class.mysql.inc'); include_once('ressources/class.ini.inc'); include_once('ressources/class.system.network.inc'); include_once('ressources/class.system.nics.inc'); $users=new usersMenus(); if(!$users->AsSystemAdministrator){ $tpl=new templates(); $error=$tpl->javascript_parse_text("{ERROR_NO_PRIVS}"); echo "alert('$error')"; die(); } if(isset($_GET["iptables"])){iptables_tabs();exit;} if(isset($_GET["iptables-table"])){iptables_table();exit;} if(isset($_GET["rules"])){rules();exit;} if(isset($_GET["ruleid"])){rule_js();exit;} if(isset($_GET["rule-tabs"])){rule_tab();exit;} if(isset($_GET["rule-popup"])){rule_popup();exit;} if(isset($_POST["isFW"])){isFW_save();exit;} if(isset($_POST["rule-save"])){rule_save();exit;} if(isset($_GET["groupname"])){groupname();exit;} if(isset($_POST["rule-order"])){rule_order();exit;} if(isset($_POST["rule-delete"])){rule_delete();exit;} if(isset($_POST["rule-enable"])){rule_enable();exit;} if(isset($_GET["rule-time"])){rule_time();exit;} if(isset($_POST["time-save"])){time_save();exit;} if(isset($_GET["generic"])){generic_tabs();exit;} if(isset($_POST["EnableArticaAsGateway"])){EnableArticaAsGateway_save();exit;}
include_once 'ressources/class.ldap.inc'; include_once 'ressources/class.users.menus.inc'; include_once 'ressources/class.artica.inc'; include_once 'ressources/class.mysql.inc'; include_once 'ressources/class.ini.inc'; include_once 'ressources/class.system.network.inc'; include_once 'ressources/class.system.nics.inc'; $users = new usersMenus(); if (!$users->AsSystemAdministrator) { $tpl = new templates(); $error = $tpl->javascript_parse_text("{ERROR_NO_PRIVS}"); echo "alert('{$error}')"; die; } if (isset($_GET["iptables"])) { iptables_tabs(); exit; } if (isset($_GET["iptables-table"])) { iptables_table(); exit; } if (isset($_GET["rules"])) { rules(); exit; } if (isset($_GET["ruleid"])) { rule_js(); exit; } if (isset($_GET["rule-tabs"])) {