示例#1
0
    exit;
}
if (isset($_GET["GlobalWhiteDisable"])) {
    whitelist_global_disable();
    exit;
}
if (isset($_GET["GlobalWhiteDelete"])) {
    whitelist_global_delete();
    exit;
}
if (isset($_GET["GlobalWhiteScore"])) {
    whitelist_global_score();
    exit;
}
if (isset($_GET["WhiteListResolvMX"])) {
    WhiteListResolvMXSave();
    exit;
}
function js_popup()
{
    $page = CurrentPageName();
    $tpl = new templates();
    $title = $tpl->_ENGINE_parse_body('{global_whitelist}');
    $data = file_get_contents('js/wlbl.js');
    $start = "YahooWinS(700,'{$page}?popup=yes','{$title}');";
    if (isset($_GET["font-size"])) {
        $fontsize = "&font-size={$_GET["font-size"]}";
    }
    if (isset($_GET["js-in-line"])) {
        $start = "LoadAjaxRound('postfix-whitelist-dashboard','{$page}?popup=yes{$fontsize}');";
    }
示例#2
0
if(isset($_GET["popup-global-black"])){blacklist_global_popup();exit;}
if(isset($_GET["popup-global-black-add"])){blacklist_global_add();exit;}
if(isset($_POST["popup-global-black-save"])){blacklist_global_save();exit;}
if(isset($_GET["popup-global-black-list"])){blacklist_global_list();exit;}
if(isset($_GET["GlobalBlackDelete"])){blacklist_global_delete();exit;}
if(isset($_GET["GlobalBlackDisable"])){blacklist_global_disable();exit;}

if(isset($_GET["popup-global-white"])){whitelist_global_popup();exit;}
if(isset($_GET["popup-global-white-add"])){whitelist_global_add();exit;}
if(isset($_POST["popup-global-white-save"])){whitelist_global_save();exit;}
if(isset($_GET["popup-global-white-list"])){whitelist_global_list();exit;}
if(isset($_GET["GlobalWhiteDisable"])){whitelist_global_disable();exit;}
if(isset($_GET["GlobalWhiteDelete"])){whitelist_global_delete();exit;}
if(isset($_GET["GlobalWhiteScore"])){whitelist_global_score();exit;}

if(isset($_GET["WhiteListResolvMX"])){WhiteListResolvMXSave();exit;}


function js_popup(){
	$page=CurrentPageName();
	$tpl=new templates();
	$title=$tpl->_ENGINE_parse_body('{global_whitelist}');
	$data=file_get_contents('js/wlbl.js');
	$start="YahooWinS(700,'$page?popup=yes','$title');";
	if(isset($_GET["js-in-line"])){
		$start="document.getElementById('BodyContent').innerHTML='<center><img src=img/wait_verybig.gif></center>';\n$('#BodyContent').load('$page?popup=yes');";
	}
	
	$html="
	$data