Exemplo n.º 1
0
    exit;
}
if (isset($_GET["partinfos"])) {
    hd_partinfos();
    exit;
}
if (isset($_GET["ChangeLabel"])) {
    ChangeLabel();
    exit;
}
if (isset($_GET["BuildBigPartition"])) {
    BuildBigPartition();
    exit;
}
if (isset($_GET["Lastlogs"])) {
    Lastlogs();
    exit;
}
if (isset($_GET["SMARTDIndex"])) {
    SMARTDIndex();
    exit;
}
if (isset($_GET["SMARTDStats"])) {
    SMARTDStats();
    exit;
}
if (isset($_GET["SMARTDAttrs"])) {
    SMARTDAttrs();
    exit;
}
if (isset($_GET["SMARTDInfo"])) {
Exemplo n.º 2
0
	include_once('ressources/class.templates.inc');
	include_once('ressources/class.ldap.inc');
	include_once('ressources/class.users.menus.inc');
	include_once("ressources/class.os.system.inc");
	include_once("ressources/class.lvm.org.inc");
	
	$user=new usersMenus();
	if(!$user->AsSystemAdministrator){echo "alert('no privileges');";die();}
	
	if(isset($_GET["display2"])){hd_index();exit;}
	if(isset($_GET["display"])){tabs();exit;}
	if(isset($_GET["hd-index-list"])){hd_index_list();exit;}
	if(isset($_GET["partinfos"])){hd_partinfos();exit;}
	if(isset($_GET["ChangeLabel"])){ChangeLabel();exit;}
	if(isset($_GET["BuildBigPartition"])){BuildBigPartition();exit;}
	if(isset($_GET["Lastlogs"])){Lastlogs();exit;}
	if(isset($_GET["SMARTDIndex"])){SMARTDIndex();exit;}
	if(isset($_GET["SMARTDStats"])){SMARTDStats();exit;}
	if(isset($_GET["SMARTDAttrs"])){SMARTDAttrs();exit;}
	if(isset($_GET["SMARTDInfo"])){SMARTDIndexInfos($_GET["SMARTDInfo"]);exit;}
	if(isset($_GET["SMARTDSlefttestShort"])){SMARTDTestShort();exit;}
	if(isset($_GET["EnableSmartctl"])){SMARTDEnable();exit;}
	if(isset($_GET["pvcreatedev"])){lvm_pvcreate_dev();exit;}
	if(isset($_GET["vgcreatedev"])){lvm_vgcreate_dev();exit;}
	if(isset($_GET["vglist"])){echo lv_groups_list($_GET["vglist"]);exit;}
	if(isset($_GET["lvcreate"])){lvm_lvcreate();exit;}
	if(isset($_GET["LVMS_SIZE"])){lvm_lvcreate_save();exit;}
	if(isset($_GET["switchtab"])){hd_partinfos_switch();exit;}
	if(isset($_GET["disk-toolbar-for"])){hd_partinfos_toolbar();exit;}
	if(isset($_GET["lvg"])){echo lv_groups_list($_GET["lvg"]);exit;}
	if(isset($_GET["hd-display"])){echo hd_list();exit;}