Example #1
0
    exit;
}
if (isset($_GET["web-events"])) {
    webevents_list();
    exit;
}
if (isset($_GET["dbsize"])) {
    dbsize();
    exit;
}
if (isset($_GET["js"])) {
    js();
    exit;
}
if (isset($_GET["freewebs"])) {
    frewebslist();
    exit;
}
if (isset($_GET["add-freeweb-js"])) {
    add_freeweb_js();
    exit;
}
tabs();
function js()
{
    header("content-type: application/x-javascript");
    $page = CurrentPageName();
    $tpl = new templates();
    $html = "YahooWin2('920','{$page}','UpdateUtility');";
    echo $html;
}
Example #2
0
		$ERROR_NO_PRIVS=$tpl->javascript_parse_text("{ERROR_NO_PRIVS}");
		echo "alert('$ERROR_NO_PRIVS');";return;
	}

	if(isset($_GET["settings"])){settings();exit;}
	if(isset($_GET["products"])){products_tabs();exit;}
	if(isset($_GET["product-section"])){product_section();exit;}
	if(isset($_POST["ProductSubKey"])){product_section_save();exit;}
	if(isset($_POST["UpdateUtilityAllProducts"])){UpdateUtilitySave();exit;}
	if(isset($_GET["status"])){status();exit;}
	if(isset($_POST["UpdateUtilityStartTask"])){UpdateUtilityStartTask();exit;}
	if(isset($_GET["webevents"])){webevents_table();exit;}
	if(isset($_GET["web-events"])){webevents_list();exit;}
	if(isset($_GET["dbsize"])){dbsize();exit;}
	if(isset($_GET["js"])){js();exit;}
	if(isset($_GET["freewebs"])){frewebslist();exit;}
	if(isset($_GET["add-freeweb-js"])){add_freeweb_js();exit;}
	
tabs();

function js(){
	header("content-type: application/x-javascript");
	$page=CurrentPageName();
	$tpl=new templates();
	
	$html="YahooWin2('920','$page','UpdateUtility');";
	echo $html;
}

function add_freeweb_js(){
	header("content-type: application/x-javascript");