} writelogs("_GET:: Parsing GET ".count($_GET)." GET items",__FUNCTION__,__FILE__,__LINE__); while (list ($num, $line) = each ($_GET) ){ writelogs("_GET:: receive $num=$line",__FUNCTION__,__FILE__,__LINE__); } if(!IsRights()){ $tpl=new templates(); $error=$tpl->javascript_parse_text("{ERROR_NO_PRIVS}"); echo "alert('$error')"; die(); } 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;}
writelogs("_GET:: Parsing GET " . count($_GET) . " GET items", __FUNCTION__, __FILE__, __LINE__); while (list($num, $line) = each($_GET)) { writelogs("_GET:: receive {$num}={$line}", __FUNCTION__, __FILE__, __LINE__); } if (!IsRights()) { $tpl = new templates(); $error = $tpl->javascript_parse_text("{ERROR_NO_PRIVS}"); echo "alert('{$error}')"; die; } 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"])) {