Beispiel #1
0
	include_once('ressources/class.main_cf.inc');
	
	
$usersmenus=new usersMenus();
if(isset($_GET["mynet_ipfrom"])){CalculCDR();exit;}
if($usersmenus->AsPostfixAdministrator==false){header('location:users.index.php');exit;}

if(isset($_GET["main"])){switch_popup();exit;}
if($_GET["section"]=="BindInterfaceForm"){echo BindInterfaceForm();exit;}
if($_GET["section"]=="networkint"){echo NetworkInterfacesForm();exit;}
if(isset($_GET["ReloadInterfaceTable"])){echo BindInterfaceTable();exit;}
if(isset($_GET["ReloadNetworkTable"])){echo mynetworks_table();exit;}


if(isset($_GET["POSTFIX_MULTI_INSTANCE_JS"])){POSTFIX_MULTI_INSTANCE_JS();exit;}
if(isset($_GET["EnablePostfixMultiInstance"])){POSTFIX_MULTI_INSTANCE_SAVE();exit;}
if(isset($_GET["inet_interface_add"])){inet_interface_add();exit;}
if(isset($_GET["PostfixAddMyNetwork"])){PostfixAddMyNetwork();exit;}
if(isset($_GET["PostFixDeleteMyNetwork"])){PostFixDeleteMyNetwork();exit;}
if(isset($_GET["PostfixDeleteInterface"])){PostfixDeleteInterface();exit;}
if(isset($_GET["ignore_mx_lookup_error"])){SaveDNSSettings();exit;}
if(isset($_GET["bind9infos"])){echo bind9infos();exit;}
if(isset($_GET["script"])){switch_script();exit;}
if(isset($_GET["popup"])){switch_popup();exit;}
if(isset($_GET["PostfixEnabledInBind9"])){bind9_save_enable();exit;}
if(isset($_GET["bind9Options"])){bind9_form();exit;}
if(isset($_GET["PostfixBind9Delete"])){bind9_delete();exit;}
if(isset($_GET["PostfixBind9NameServer"])){bind9_add();exit;}
if(isset($_GET["ajax"])){ajax();exit;}
if(isset($_GET["ajax-popup"])){popup();exit;}
Beispiel #2
0
    exit;
}
if (isset($_GET["ReloadNetworkTable"])) {
    echo mynetworks_table();
    exit;
}
if (isset($_POST["MynetworksInISPMode"])) {
    MynetworksInISPModeSave();
    exit;
}
if (isset($_GET["POSTFIX_MULTI_INSTANCE_JS"])) {
    POSTFIX_MULTI_INSTANCE_JS();
    exit;
}
if (isset($_GET["EnablePostfixMultiInstance"])) {
    POSTFIX_MULTI_INSTANCE_SAVE();
    exit;
}
if (isset($_GET["inet_interface_add"])) {
    inet_interface_add();
    exit;
}
if (isset($_GET["PostfixAddMyNetwork"])) {
    PostfixAddMyNetwork();
    exit;
}
if (isset($_GET["PostFixDeleteMyNetwork"])) {
    PostFixDeleteMyNetwork();
    exit;
}
if (isset($_GET["PostfixDeleteInterface"])) {