Example #1
0
	if($user->AsVirtualBoxManager==false){
		$tpl=new templates();
		echo "alert('". $tpl->javascript_parse_text("{ERROR_NO_PRIVS}")."');";
		die();exit();
	}
	
	if(isset($_GET["popup"])){popup();exit;}
	if(isset($_GET["services"])){services();exit;}
	if(isset($_GET["windows_manager"])){windows_drivers();exit;}
	if(isset($_GET["utilities"])){utilities_drivers();exit;}
	
	
	if(isset($_GET["sound"])){sound_drivers();exit;}
	if(isset($_GET["storage"])){storage_module();exit;}
	if(isset($_GET["module"])){save_module();exit;}
	if(isset($_GET["package"])){save_package();exit;}

	
	
	
	
js();

function js(){
	$page=CurrentPageName();
	$tpl=new templates();	
	$title=$tpl->_ENGINE_parse_body('{services}');
	
$html="
	function ThinCLientSoftLoadpage(){
			YahooWin2('750','$page?popup=yes','$title');
    exit;
}
if (isset($_GET["sound"])) {
    sound_drivers();
    exit;
}
if (isset($_GET["storage"])) {
    storage_module();
    exit;
}
if (isset($_GET["module"])) {
    save_module();
    exit;
}
if (isset($_GET["package"])) {
    save_package();
    exit;
}
if (isset($_GET["keyboard"])) {
    keyboard_drivers();
    exit;
}
if (isset($_GET["video"])) {
    video_drivers();
    exit;
}
if (isset($_GET["filesystem"])) {
    filesystem_drivers();
    exit;
}
if (isset($_GET["rebuild-default-warn"])) {