\n"; echo "
\n"; echo "路径跳转:\n"; if ($multiple != null) echo "\n"; echo "\n"; echo "
\n"; echo "\n"; echo "
\n"; if (function_exists("disk_total_space") && function_exists("disk_free_space")) { echo "分区大小:" . ___filesize(disk_total_space($path)) . "  空闲空间:" . ___filesize(disk_free_space($path)) . "
"; } if ($disks = ___windowsdisk()) { echo "盘符切换:"; foreach ($disks as $disk) { $diskurl = "?path=" . urlencode($disk); if ($multiple != null) { $diskurl .= $multiple; } echo sprintf("->%s ", $diskurl, $disk); } echo "
\n"; } echo "浏览路径:[UP]  " . ___shortpath(___realpath($path)); if ($multiple != null) echo "  [选定|关闭]"; echo "  [Logout]\n"; echo "\n
\n"; if (($data = $filesystem->getpath()) === false) { echo "
抱歉,系统无法获取对应目录内容!
\n"; } elseif ($data === null) { echo "
抱歉,这是一个无内容的空目录哦!
\n"; echo "
\n"; echo "
"; echo "\n"; echo "\n"; echo "
\n"; echo "
\n"; } else { $select = isset($_GET['select']) ? "checked " : null; echo "
"; echo "
\n"; echo "\n"; echo "\n"; echo "(全选|消选)\n"; echo "
\n"; if (count($data[0]) != 0) { echo "\n
目录列表
\n"; foreach ($data[0] as $tmp) { $filesystem->chpath($tmp); echo "
\n"; echo "\n"; echo ($perms = $filesystem->getperms()) == false ? "[????]" : "[$perms]"; echo "" . ___basename($tmp) . "\n"; if (is_link($tmp)) echo "[ Link -> " . readlink($tmp) . " ]"; echo "(命名|复件)\n"; echo "
\n"; } } if (count($data[1]) != 0) { echo "\n
文件列表
\n"; foreach ($data[1] as $tmp) { $filesystem->chpath($tmp); $iget = $filesystem->getpath(); echo "
\n"; echo "\n"; echo ($perms = $filesystem->getperms()) == false ? "[????]" : "[$perms]"; echo "" . ___basename($tmp) . "(" . ___filesize($iget['size']) . ")\n"; echo "
\n"; echo "下载|"; if ($mime = ___getmime($tmp, 'png:jpg:gif:bmp:zip')) { if ($mime == 'application/zip') { echo "解压"; } else { echo "打开"; } } else { echo "查看"; } echo "|编辑|命名|复件|压缩\n"; if (is_link($tmp)) echo "
\n链接指向 : " . readlink($tmp) . "\n"; if ($finfo = $filesystem->getfinfo()) echo "\n
\n档案信息 : $finfo\n"; echo "
\n"; } } if (count($data[2]) != 0) { echo "\n
未知列表
\n"; foreach ($data[2] as $tmp) { $filesystem->chpath($tmp); echo "
\n"; echo "\n"; if (is_link($tmp)) echo "[Link]"; echo ($perms = $filesystem->getperms()) == false ? "[????]" : "[$perms]"; echo "$tmp\n"; echo "
\n"; } } echo "
\n"; } xhtml_footer(); ?>