1) { if ($row['type'] != "lexis_directory") { $filesize = filesize("../files/".$id.".".$row['type']); } else { $filesize = filesize_of_folder($row['id']); } function getLink($id, $ext) { if ($ext == "scribe") { return "apps/scribe.php?doc=open&id=".$id; } else if ($ext == "cascade") { return "apps/cascade.php?doc=open&id=".$id; } else { return "files/".$id.".".$ext; } return ""; } function getIconURL($ext) { if ($ext=="lexis_directory") { return "images/folder.png"; } else { $x = scandir("../icons/"); if (in_array($ext.".png",$x)) { return "icons/".$ext.".png"; } else { return "images/file.png"; } } } function filesize_format($size) { $i = -1; $byteUnits = array(' KB', ' MB', ' GB', ' TB', 'PB', 'EB', 'ZB', 'YB'); do { $size = $size / 1024; $i++; } while ($size > 1024); return round(max($size, 0.1),1) ." ". $byteUnits[$i]; }; ?>
".$row['type'].""; ?>
Type: Size:

 

Rename
Download
Delete

 

Folder contents: Zipped folder contents:
No preview available.
Something went wrong... sorry!]