Пример #1
0
    exit;
}
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"])) {
Пример #2
0
	include_once('ressources/class.updateutility2.inc');
	include_once('ressources/class.ini.inc');
	include_once('ressources/class.system.network.inc');
	include_once('ressources/class.tasks.inc');
	
	$users=new usersMenus();
	if(!$users->AsSystemAdministrator){
		$tpl=new templates();
		$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();