Пример #1
0
if(!PostFixVerifyRights()){
	$tpl=new templates();
	$ERROR_NO_PRIVS=$tpl->javascript_parse_text("{ERROR_NO_PRIVS}");
	echo "alert('$ERROR_NO_PRIVS');";
	die();
	
}


	if(isset($_GET["popup"])){popup();exit;}
	if(isset($_GET["smtp"])){smtp();exit;}
	if(isset($_GET["smtp-instance-list"])){smtp_instance_list();exit;}
	if(isset($_GET["smtp-instance-add"])){smtp_instance_add();exit;}
	if(isset($_GET["smtp-instance-delete"])){smtp_instance_delete();exit;}
	if(isset($_GET["smtp-instance-edit"])){smtp_instance_edit();exit;}
	if(isset($_GET["smtp-instance-save"])){smtp_instance_save();exit;}
	
	if(isset($_GET["domains"])){domains_popup();exit;}
	if(isset($_GET["domains-add"])){domains_add();exit;}
	if(isset($_GET["domains-list"])){domains_list();exit;}
	if(isset($_GET["domain-delete"])){domains_delete();exit;}

	js();



function js(){
	$page=CurrentPageName();
	$tpl=new templates();
	$title="{domain_throttle}::{$_GET["hostname"]}/{$_GET["ou"]}";
	$title=$tpl->_ENGINE_parse_body($title);
Пример #2
0
    exit;
}
if (isset($_GET["smtp-instance-add"])) {
    smtp_instance_add();
    exit;
}
if (isset($_GET["smtp-instance-delete"])) {
    smtp_instance_delete();
    exit;
}
if (isset($_GET["smtp-instance-edit"])) {
    smtp_instance_edit();
    exit;
}
if (isset($_GET["smtp-instance-save"])) {
    smtp_instance_save();
    exit;
}
if (isset($_GET["smtp-instance-cache-destinations"])) {
    smtp_instance_cache_destinations();
    exit;
}
if (isset($_GET["smtp-instance-cache-destinations-list"])) {
    smtp_instance_cache_destinations_list();
    exit;
}
if (isset($_GET["smtp-instance-cache-destinations-add"])) {
    smtp_instance_cache_destinations_add();
    exit;
}
if (isset($_POST["smtp-instance-cache-destinations-new"])) {