示例#1
0
    exit;
}
if (isset($_GET["create-folder"])) {
    create_folder();
    exit;
}
if (isset($_GET["delete-folder"])) {
    delete_folder();
    exit;
}
if (isset($_GET["share-folder"])) {
    share_folder();
    exit;
}
if (isset($_GET["unshare-rsync"])) {
    rsync_unshare();
    exit;
}
if (isset($_GET["upload-file"])) {
    upload_file_popup();
    exit;
}
if (isset($_GET["form-upload"])) {
    upload_file_iframe();
    exit;
}
if (isset($_POST['target_path'])) {
    upload_form_perform();
    exit;
}
js();
示例#2
0
		if(isset($_GET["chgperms-js"])){chgperms_js();exit;}
		if(isset($_POST["chgperms-file"])){chgperms_file();exit;}
		
		if(isset($_GET["remove-file-js"])){remove_file_js();exit;}
		if(isset($_POST["remove-file"])){remove_file();exit;}
		if(isset($_GET["popup"])){popup();exit;}
		if(isset($_GET["browse-folder"])){browse_folder();exit;}
		if(isset($_GET["folder-infos"])){folder_infos();exit;}
		if(isset($_GET["top-bar"])){top_bar();exit;}
		if(isset($_GET["file-info"])){file_info();exit;}
		if(isset($_GET["download-file"])){download_file();exit;}
		if(isset($_GET["create-folder"])){create_folder();exit;}
		if(isset($_GET["delete-folder"])){delete_folder();exit;}
		if(isset($_GET["share-folder"])){share_folder();exit;}
		if(isset($_GET["unshare-rsync"])){rsync_unshare();exit;}
		if(isset($_GET["upload-file"])){upload_file_popup();exit;}
		if(isset($_GET["form-upload"])){upload_file_iframe();exit;}
		if( isset($_GET['TargetpathUploaded']) ){upload_form_perform();exit();}
		if(isset($_GET["loupe-js"])){loupe_js();exit;}
		if(isset($_GET["loupe-popup"])){loupe_popup();exit;}
		js();
		
		


function IsPriv(){
		if(!is_object($GLOBALS["USERMENUS"])){$users=new usersMenus();$GLOBALS["USERMENUS"]=$users;}else{$users=$GLOBALS["USERMENUS"];}
		$users=new usersMenus();
		if($users->AsArticaAdministrator){return "/";}
		if($users->AsSambaAdministrator){return "/";}