echo htmlspecialchars($file); | if (is_dir($currentDir . '/' . $file)): <a href="?dir= echo urlencode($currentDir . '/' . $file); " class="btn"><i class="fas fa-folder"></i> Buka</a> else: <a href="?file= echo urlencode($currentDir . '/' . $file); " class="btn"><i class="fas fa-eye"></i> Lihat</a> <a href="?delete= echo urlencode($currentDir . '/' . $file); " class="btn" onclick="return confirmDelete(' echo htmlspecialchars($file); ');"><i class="fas fa-trash"></i> Hapus</a> <a href="?download= echo urlencode($currentDir . '/' . $file); " class="btn"><i class="fas fa-download"></i> Download</a> endif; |