示例#1
0
if(isset($_GET["RelayHostDelete"])){RelayHostDelete();exit;}
if(isset($_GET["PostfixLocalLoadTable"])){echo LocalTable();exit;}
if(isset($_GET["PostfixSenderLoadTable"])){echo SenderTableLoad();exit;}

if(isset($_GET["SenderTable"])){SenderTable();exit();}
if(isset($_GET["SenderTableSave"])){SenderTableSave();exit;}
if(isset($_GET["SenderTableDelete"])){SenderTableDelete();exit;}

if(isset($_GET["PostfixDeleteRelayDomain"])){PostfixDeleteRelayDomain();exit;}
if(isset($_GET["PostfixAddRelayTable"])){PostfixAddRelayTable();exit;}

if(isset($_GET["PostfixDeleteRelayRecipient"])){PostfixDeleteRelayRecipient();exit;}
if(isset($_GET["PostfixRefreshRelayRecipient"])){echo RelayRecipientsTable();exit;}
if(isset($_GET["PostfixAddRelayRecipientTable"])){echo PostfixAddRelayRecipientTable();exit;}
if(isset($_GET["PostfixAddRelayRecipientTableSave"])){PostfixAddRelayRecipientTableSave();exit;}
if(isset($_GET["ArticaSyncTableDelete"])){ArticaSyncTableDelete();exit;}


if(isset($_GET["js"])){js();exit;}
if(isset($_GET["popup"])){popup();exit;}
MainRouting();


function relayhost_tabs(){
	
	
	$page=CurrentPageName();
	
	$array["relayhost-popup"]='{config}';
	$array["relayhost-sasl"]="{SASL_STATUS}";
	$array["relayhost-sasl-auth"]="{usable_mechanisms}";
    exit;
}
if (isset($_GET["PostfixRefreshRelayRecipient"])) {
    echo RelayRecipientsTable();
    exit;
}
if (isset($_GET["PostfixAddRelayRecipientTable"])) {
    echo PostfixAddRelayRecipientTable();
    exit;
}
if (isset($_GET["PostfixAddRelayRecipientTableSave"])) {
    PostfixAddRelayRecipientTableSave();
    exit;
}
if (isset($_GET["ArticaSyncTableDelete"])) {
    ArticaSyncTableDelete();
    exit;
}
if (isset($_GET["js"])) {
    js();
    exit;
}
if (isset($_GET["popup"])) {
    popup();
    exit;
}
MainRouting();
function relayhost_tabs()
{
    $page = CurrentPageName();
    $array["relayhost-popup"] = '{config}';