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;} tabs(); function tabs(){ if(GET_CACHED(__FILE__, __FUNCTION__, __FUNCTION__)){return;} $page=CurrentPageName(); $net=new networking(); $interfaces=$net->Local_interfaces(); $tpl=new templates();
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"])) {