示例#1
0
    exit;
}
if (isset($_GET["rules-add"])) {
    rules_add();
    exit;
}
if (isset($_GET["rules-del"])) {
    rules_del();
    exit;
}
if (isset($_GET["rule_name"])) {
    rules_save();
    exit;
}
if (isset($_GET["rule-id"])) {
    rule_panel();
    exit;
}
if (isset($_GET["acl-time"])) {
    acl_time();
    exit;
}
if (isset($_GET["bandacltime_ID"])) {
    acl_time_save();
    exit;
}
if (isset($_GET["acl-net"])) {
    acl_net_popup();
    exit;
}
if (isset($_GET["acl-net-popup-add"])) {
示例#2
0
	if($user->AsDansGuardianAdministrator==false){
		$tpl=new templates();
		echo "alert('". $tpl->javascript_parse_text("{ERROR_NO_PRIVS}")."');";
		die();exit();
	}
	
	if(isset($_GET["js"])){js();exit;}

	if(isset($_POST["choose-acl-rule"])){browse_acl_rule_save();exit;}
	
	if(isset($_GET["BandExplainRuleClass"])){bandwith_rule_class_explain();exit;}
	if(isset($_GET["rules"])){rules_popup();exit;}
	if(isset($_GET["rules-add"])){rules_add();exit;}
	if(isset($_GET["rules-del"])){rules_del();exit;}
	if(isset($_GET["rule_name"])){rules_save();exit;}
	if(isset($_GET["rule-id"])){rule_panel();exit;}
	
	
	if(isset($_GET["bandwith-rules-list"])){bandwith_rules_list();exit;}
	if(isset($_GET["bandwith-rule-js"])){bandwith_rule_js();exit;}
	if(isset($_GET["bandwith-rule-tabs"])){bandwith_rule_tabs();exit;}
	if(isset($_GET["bandwith-rule-parameters"])){rules_add();exit;}
	
	if(isset($_GET["bandwith-rule-networks"])){acl_net_popup();exit;}
	if(isset($_GET["bandwith-rule-websites"])){acl_www_popup();exit;}
	if(isset($_GET["bandwith-rule-files"])){acl_file_popup();exit;}
	if(isset($_GET["bandwith-rule-time"])){acl_time();exit;}
	
	if(isset($_GET["bandwith-rule-pobjects"])){acl_net_pobjects();exit;}
	if(isset($_GET["acl-group-add"])){acl_net_pobjects_add();exit;}
	if(isset($_GET["by-acls-js"])){byacls_js();exit;}