diff --git a/hiddenlisting.php b/hiddenlisting.php new file mode 100644 index 0000000..0fe5103 --- /dev/null +++ b/hiddenlisting.php @@ -0,0 +1,124 @@ + +
+ +Select a file to download, or a folder to view its contents
+File Name | +Link | +Size | +Oops! This folder is empty... | ++ | 0 | + + emptylisting; + } + foreach($elements as $i=>$currentfile){ + echo "
---|---|---|---|---|
" . $currentfile . " | "; + $fulldir = $hid_dir_dirs[$hid_dir_index] . $path . "/" . $currentfile; + if(is_dir($fulldir)){ + echo "View Directory | "; + echo "" . foldersize($fulldir) . " | "; + } else { + echo "Download | "; + echo "" . listingsize($fulldir) . " | "; + } + echo "