コード例 #1
0
    exit;
}
if (isset($_GET["stats"])) {
    statistics();
    exit;
}
if (isset($_GET["tools"])) {
    tools();
    exit;
}
if (isset($_GET["nat"])) {
    nat_settings();
    exit;
}
if (isset($_GET["nat-save"])) {
    nat_add();
    exit;
}
if (isset($_GET["nat-list"])) {
    nat_list();
    exit;
}
if (isset($_GET["nat-del"])) {
    nat_del();
    exit;
}
if (isset($_GET["nat-rebuild"])) {
    nat_rebuild();
    exit;
}
if (isset($_GET["guestmemoryballoon"])) {
コード例 #2
0
	
	if(posix_getuid()==0){die();}
	
	$user=new usersMenus();
	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["status"])){status();exit;}
	if(isset($_GET["stats"])){statistics();exit;}
	if(isset($_GET["tools"])){tools();exit;}
	if(isset($_GET["nat"])){nat_settings();exit;}
	if(isset($_GET["nat-save"])){nat_add();exit;}
	if(isset($_GET["nat-list"])){nat_list();exit;}
	if(isset($_GET["nat-del"])){nat_del();exit;}
	if(isset($_GET["nat-rebuild"])){nat_rebuild();exit;}
	
	if(isset($_GET["guestmemoryballoon"])){guestmemoryballoon();exit;}
	if(isset($_GET["nestedpaging"])){nestedpaging();exit;}
	if(isset($_GET["vtxvpid"])){vtxvpid();exit;}
	if(isset($_GET["acpi"])){acpi();exit;}
	if(isset($_GET["ioapic"])){ioapic();exit;}
	if(isset($_GET["pagefusion"])){pagefusion();exit;}
	if(isset($_GET["hpet"])){hpet();exit;}