getpath($path))) {
echo "
\n";
echo "[
返回目录]\n";
echo "
\n";
} else {
echo "\n";
echo "
返回目录文件详情\n";
echo "
\n";
echo "\n";
echo "文件名称:" . ___basename($path) . "
\n";
if ($perms = $fs->getperms()) echo "文件权限:$perms
\n";
echo "文件大小:" . ___filesize($data['size']) . "
\n";
echo "所有者ID:{$data['uid']}
\n";
echo "所有组ID:{$data['gid']}
\n";
if (function_exists("mime_content_type")) echo "文件类型:" . mime_content_type($path) . "
\n";
echo "上次访问:" . gmdate("Y-m-d H:i:s", ($data['atime']) + TIME) . "
\n";
echo "上次修改:" . gmdate("Y-m-d H:i:s", ($data['mtime']) + TIME) . "
\n";
echo "上次改变:" . gmdate("Y-m-d H:i:s", ($data['ctime']) + TIME) . "
\n";
if (is_link($path)) echo "链接指向:" . readlink($path) . "
\n";
if ($finfo = $fs->getfinfo()) echo "档案信息:$finfo\n";
echo "
\n";
echo "\n";
echo "爱特解压
目标目录\n";
echo "
\n";
echo "\n";
echo "\n";
echo "
\n";
if (function_exists("mb_convert_encoding") && function_exists("mb_list_encodings")) {
$sencode = mb_list_encodings();
usort($sencode, "___sortcmp");
echo "\n爱特编码转换工具\n
\n";
echo "\n";
echo "\n";
echo "
\n";
}
echo "\n爱特文件效验工具\n
\n";
echo "\n";
echo "md5:";
if (isset($_GET['md5'])) {
echo "
" . md5_file($path);
} else {
echo "
文件的 MD5 散列值(效验文件)\n";
}
echo "
\n";
echo "\n";
echo "sha1:";
if (isset($_GET['sha1'])) {
echo "
" . sha1_file($path);
} else {
echo "
文件的 SHA1 散列值(效验文件)\n";
}
echo "
\n";
}
xhtml_footer();
?>