\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