Пример #1
0
    exit;
}
if (isset($_GET["popup-disk"])) {
    iscsi_disk();
    exit;
}
if (isset($_GET["popup-params"])) {
    iscsi_params();
    exit;
}
if (isset($_GET["ImmediateData"])) {
    iscsi_params_save();
    exit;
}
if (isset($_GET["popup-security"])) {
    iscsi_secu();
    exit;
}
if (isset($_POST["uid"])) {
    iscsi_secu_save();
    exit;
}
if (isset($_GET["iscsi-status"])) {
    iscsi_status();
    exit;
}
if (isset($_POST["iCsciDiskDelete"])) {
    iscsi_disk_delete();
    exit;
}
tabs();
Пример #2
0
	
	if(isset($_GET["status"])){section_status();exit;}
	if(isset($_GET["disks"])){section_disks();exit;}
	
	if(isset($_GET["iscsi-list"])){iscsi_list();exit;}
	if(isset($_POST["shared_folder"])){iscsi_save();exit;}
	if(isset($_GET["EnableISCSI"])){EnableISCSI();exit;}
	
	
	if(isset($_GET["popup-edit"])){iscsi_tabs();exit;}
	if(isset($_GET["popup-disk"])){iscsi_disk();exit;}
	if(isset($_GET["popup-params"])){iscsi_params();exit;}
	if(isset($_GET["ImmediateData"])){iscsi_params_save();exit;}
	
	
	if(isset($_GET["popup-security"])){iscsi_secu();exit;}
	if(isset($_GET["uid"])){iscsi_secu_save();exit;}
	
	if(isset($_GET["iscsi-status"])){iscsi_status();exit;}
	if(isset($_GET["iCsciDiskDelete"])){iscsi_disk_delete();exit;}
	tabs();

function tabs(){
	
	
	$page=CurrentPageName();
	$tpl=new templates();
	$array["status"]='{status}';
	$array["disks"]='{disks}';
	
	while (list ($num, $ligne) = each ($array) ){