コード例 #1
0
	if(isset($_GET["filters"])){filters_security();exit;}
	if(isset($_GET["enable_plugins"])){filters_security_save();exit;}
	
	if(isset($_GET["postfix-network"])){postfix_network();exit;}
	if(isset($_GET['ReloadNetworkTable'])){postfix_network_table();exit;}
	if(isset($_GET["PostfixAddMyNetwork"])){postfix_network_add();exit;}
	if(isset($_GET["PostFixDeleteMyNetwork"])){postfix_network_delete();exit;}
	
	if(isset($_GET["postfix-hostname"])){postfix_hostname();exit;}
	if(isset($_GET["VirtualHostNameToChange"])){postfix_hostname_save();exit;}
	
	if(isset($_GET["instance-reload"])){instance_perform_reload();exit;}
	if(isset($_GET["instance-restart"])){instance_perform_restart();exit;}
	if(isset($_GET["instance-flush"])){instance_perform_flush();exit;}
	if(isset($_GET["instance-reconfigure"])){instance_perform_reconfigure();exit;}
	if(isset($_GET["instance-kill"])){instance_perform_delete();exit;}

	tabs();

	
	
function popup_js_front(){
	$tpl=new templates();
	$page=CurrentPageName();
	if(isset($_GET["encoded"])){
		$ou=base64_decode($_GET["ou"]);
	}
	$html="
	
	$('#BodyContent').load('$page');
	
コード例 #2
0
    exit;
}
if (isset($_GET["instance-restart"])) {
    instance_perform_restart();
    exit;
}
if (isset($_GET["instance-flush"])) {
    instance_perform_flush();
    exit;
}
if (isset($_GET["instance-reconfigure"])) {
    instance_perform_reconfigure();
    exit;
}
if (isset($_GET["instance-kill"])) {
    instance_perform_delete();
    exit;
}
tabs();
function popup_js_front()
{
    $tpl = new templates();
    $page = CurrentPageName();
    if (isset($_GET["encoded"])) {
        $ou = base64_decode($_GET["ou"]);
    } else {
        $ou = $_GET["ou"];
    }
    $t = time();
    //LoadAjax('admin-left-infos','admin.index.status-infos.php');
    $html = "\n\tif(!document.getElementById('BodyContent')){alert('BodyContent !!');}\n\tdocument.getElementById('BodyContent').innerHTML=\"<table style=width:100%><tbody><td valign=top width=1%><div id=admin-left-infos></div></td><td valign=top width=100%><div id={$t}></div></td></tr></tbody></table>\";\n\tLoadAjax('{$t}','{$page}?ou={$ou}&hostname={$_GET["hostname"]}');\n\t\n\t";