$lastDepth) {echo "\n";} if ($thisDepth < $lastDepth) { for ($j=$lastDepth;$j>$thisDepth;$j--) { echo "\n"; } } $fileAtts = ""; if ($serverType=="Linux") { $chmodInfo = substr(sprintf('%o', fileperms($docRoot.$iceRoot.$fileFolderName)), -3); $fileAtts = ''.$chmodInfo.''; } $type == "folder" ? $class = 'pft-directory' : $class = 'pft-file '.strtolower($ext); $loadParam = $type == "folder" ? "true" : "false"; echo "
  •         ".basename($fileFolderName)." ".$fileAtts."\n"; if ($i\n";} $lastPath = $fileFolderName; } ?>