\n"; echo "[返回]抱歉,文件清单为空!\n"; echo "\n"; } else { $i = 0; $fs = new filesystem(); $recursive = trim($_GET['recursive']) == "on" ? true : false; echo "
\n"; echo "文件列表(操作结果)\n"; echo "
"; while ($i < count($_SESSION['flist'])) { $fs->chpath($tmp = $_SESSION['flist'][$i]); if ($fs->chmod(trim($_GET['dirperms']), trim($_GET['fileperms']), $recursive)) { echo "
[$i][√] - $tmp
\n"; } else { echo "
[$i][×] - $tmp
\n"; } $i++; } } xhtml_footer(); ?>