if (!$user->AsPostfixAdministrator) {
        FATAL_ERROR_SHOW_128("{$_GET["hostname"]}::{ERROR_NO_PRIVS}");
        die;
    }
} else {
    if (!PostFixMultiVerifyRights()) {
        FATAL_ERROR_SHOW_128("{$_GET["hostname"]}::{ERROR_NO_PRIVS}");
        die;
    }
}
if (isset($_GET["acl-table-list"])) {
    main_acl_table();
    exit;
}
if (isset($_GET["acl-js"])) {
    acl_js();
    exit;
}
if (isset($_GET["delete-js"])) {
    delete_js();
    exit;
}
if (isset($_GET["acl-popup"])) {
    acl_popup();
    exit;
}
if (isset($_POST["pattern"])) {
    acl_save();
    exit;
}
if (isset($_POST["delete"])) {
	include_once('ressources/class.mysql.inc');
	include_once('ressources/class.dansguardian.inc');
	include_once('ressources/class.squid.inc');
	include_once('ressources/class.system.network.inc');
	$usersmenus=new usersMenus();
	if(!$usersmenus->AsDansGuardianAdministrator){
		$tpl=new templates();
		$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;}