exit;
}
if (isset($_GET["add-black-popup"])) {
    add_black_popup();
    exit;
}
if (isset($_POST["blacklist"])) {
    add_black_save();
    exit;
}
if (isset($_POST["blacklist-single"])) {
    add_black_single_save();
    exit;
}
if (isset($_POST["whitelist"])) {
    add_white_save();
    exit;
}
if (isset($_POST["nocache"])) {
    add_nocache_save();
    exit;
}
if (isset($_POST["whitelist-single"])) {
    add_white_single();
    exit;
}
js();
function js()
{
    header("content-type: application/x-javascript");
    $t = $_GET["t"];
	if(isset($_GET["events"])){popup_list();exit;}
	if(isset($_GET["popup"])){popup();exit;}
	if(isset($_POST["delete"])){Delete();exit;}
	if(isset($_GET["add-www-js"])){add_www_js();exit;}
	if(isset($_GET["add-nocache-js"])){add_nocache_js();exit;}
	
	
	
	if(isset($_GET["add-nocache-popup"])){add_nocache_popup();exit;}
	if(isset($_GET["add-white-popup"])){add_white_popup();exit;}
	if(isset($_GET["add-white-tab"])){add_white_tab();exit;}
	
	if(isset($_GET["add-black-js"])){add_black_js();exit;}
	if(isset($_GET["add-black-popup"])){add_black_popup();exit;}
	if(isset($_POST["blacklist"])){add_black_save();exit;}
	if(isset($_POST["whitelist"])){add_white_save();exit;}
	if(isset($_POST["nocache"])){add_nocache_save();exit;}
	if(isset($_POST["whitelist-single"])){add_white_single();exit;}
	
	
	js();

	
function js(){
	header("content-type: application/x-javascript");
	$t=$_GET["t"];
	$page=CurrentPageName();
	$tpl=new templates();
	$title=$tpl->javascript_parse_text("{whitelist}::{APP_UFDBGUARD}");
	echo "YahooWin4('560','$page?popup=yes&t=$t','$title')";