Пример #1
0
    exit;
}
if (isset($_GET["CIFS_SERVER"])) {
    PROTO_CIFS_ADD();
    exit;
}
if (isset($_GET["NFS_SERVER"])) {
    PROTO_NFS_ADD();
    exit;
}
if (isset($_GET["HTTP_SERVER"])) {
    PROTO_WEBDAVFS_ADD();
    exit;
}
if (isset($_GET["USB_UUID"])) {
    PROTO_USB_ADD();
    exit;
}
if (isset($_GET["AutoFSDeleteDN"])) {
    mounts_delete();
    exit;
}
if (isset($_GET["logs"])) {
    mounts_events();
    exit;
}
if (isset($_GET["syslog-table"])) {
    mounts_events_query();
    exit;
}
js();
Пример #2
0

if(isset($_GET["mounts"])){mounts_list();exit;}
if(isset($_GET["form-add-js"])){form_add_js();exit;}
if(isset($_GET["form-add-popup"])){form_add_popup();exit;}
if(isset($_GET["form-add-details"])){form_add_details();exit;}
if(isset($_GET["form-add-usblist"])){usblist();exit;}

if(isset($_GET["FTP_SERVER"])){PROTO_FTP_ADD();exit;}
if(isset($_GET["CIFS_SERVER"])){PROTO_CIFS_ADD();exit;}
if(isset($_GET["NFS_SERVER"])){PROTO_NFS_ADD();exit;}
if(isset($_GET["HTTP_SERVER"])){PROTO_WEBDAVFS_ADD();exit;}



if(isset($_GET["USB_UUID"])){PROTO_USB_ADD();exit;}
if(isset($_GET["AutoFSDeleteDN"])){mounts_delete();exit;}
if(isset($_GET["logs"])){mounts_events();exit;}
if(isset($_GET["syslog-table"])){mounts_events_query();exit;}


js();


function form_add_js(){
	$page=CurrentPageName();
	$tpl=new templates();
	$title=$tpl->_ENGINE_parse_body("{add_mount_point}");
	echo "YahooWin4('650','$page?form-add-popup=yes&dn={$_GET["dn"]}','$title');";
	
}