Ejemplo n.º 1
0
	include_once('ressources/class.templates.inc');
	include_once('ressources/class.users.menus.inc');
	include_once('ressources/class.retranslator.inc');
	include_once('ressources/class.ini.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["popup"])){popup();exit;}
	if(isset($_GET["index"])){index();exit;}
	if(isset($_GET["settings"])){settings();exit;}
	if(isset($_GET["EnableKUpdateUtility"])){SaveEnable();exit;}
	if(isset($_GET["UseProxyServer"])){SaveConnx();exit;}
	if(isset($_GET["products"])){products();exit;}
	if(isset($_POST["KasperskyAntiVirus_7_0_0124_1325"])){SaveProducts();exit;}
	
	js();
	
	
	
function js(){
	$page=CurrentPageName();
	$tpl=new templates();
	$title=$tpl->_ENGINE_parse_body("{APP_KASPERSKY_UPDATE_UTILITY}");
	echo "YahooWin3(570,'$page?popup=yes','$title');";
}	
Ejemplo n.º 2
0
    return;
}
if (isset($_GET["popup"])) {
    popup();
    exit;
}
if (isset($_GET["index"])) {
    index();
    exit;
}
if (isset($_GET["settings"])) {
    settings();
    exit;
}
if (isset($_GET["EnableKUpdateUtility"])) {
    SaveEnable();
    exit;
}
if (isset($_GET["UseProxyServer"])) {
    SaveConnx();
    exit;
}
if (isset($_GET["products"])) {
    products();
    exit;
}
if (isset($_POST["KasperskyAntiVirus_7_0_0124_1325"])) {
    SaveProducts();
    exit;
}
js();
Ejemplo n.º 3
0
	include_once('ressources/class.system.network.inc');

	
$usersmenus=new usersMenus();
if(!$usersmenus->AsHotSpotManager){
	$tpl=new templates();
	$alert=$tpl->_ENGINE_parse_body('{ERROR_NO_PRIVS}');
	echo "alert('$alert');";
	die();	
}
	if(isset($_GET["status"])){status();exit;}
	if(isset($_GET["cas"])){cas_auth();exit;}
	if(isset($_GET["popup"])){popup();exit;}
	if(isset($_GET["tabs"])){tabs();exit;}
	if(isset($_GET["options"])){options();exit;}
	if(isset($_POST["EnableArticaHotSpot"])){SaveEnable();exit;}
	if(isset($_POST["ArticaHotSpotPort"])){EnableArticaHotSpot();exit;}
	if(isset($_POST["EnableArticaHotSpotCAS"])){EnableArticaHotSpotCAS();exit;}
	if(isset($_GET["terme-of-use"])){echo terme_of_use();exit;}
	if(isset($_POST["USETERMSTEXT"])){xSaveOptions();exit;}
	if(isset($_POST["USELDAP"])){xSaveOptions();exit;}
	if(isset($_GET["add-freeweb-js"])){add_freeweb_js();exit;}
	if(isset($_GET["radius"])){radius_config();exit;}
	if(isset($_POST["RAD_SERVER"])){xSaveOptions();exit;}
	if(isset($_GET["hostspot-status"])){services_status();exit;}

js();


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