示例#1
0

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;}


if(isset($_GET["smtp_bind_address6"])){ipv6_save();exit;}
page();	

function ajax(){
	$tpl=new templates();
	$title=$tpl->_ENGINE_parse_body("{postfix_network}");
	$datas=file_get_contents("js/postfix-network.js");
	$page=CurrentPageName();
	$prefix=str_replace(".","_",$page);
	$html="
	var {$prefix}Timeout=0;
示例#2
0
    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;
}
if (isset($_POST["ChangePostfixBindInterfacePort"])) {
    ChangePostfixBindInterfacePort();
    exit;
}
if (isset($_GET["smtp_bind_address6"])) {