Example #1
0
	
}


	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);
	echo "YahooWin3(660,'$page?popup=yes&hostname={$_GET["hostname"]}&ou={$_GET["ou"]}','$title');";
	}
	
	
function domains_add(){
Example #2
0
    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);
    echo "YahooWin3(660,'{$page}?popup=yes&hostname={$_GET["hostname"]}&ou={$_GET["ou"]}','{$title}');";
}
function domains_add()
{
    $page = CurrentPageName();
    $tpl = new templates();