Linux spg1.cloudpowerdns.com 5.14.0-611.34.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Feb 18 05:51:10 EST 2026 x86_64
LiteSpeed
Server IP : 176.9.63.151 & Your IP : 216.73.217.60
Domains :
Cant Read [ /etc/named.conf ]
User : fastear1
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
fastear1 /
data sycho /
admin /
Delete
Unzip
Name
Size
Permission
Date
Action
.htaccess
197
B
-r--r--r--
2026-04-01 03:43
contact.php
9.39
KB
-rw-r--r--
2026-03-01 23:09
dashboard.php
12.62
KB
-rw-r--r--
2026-03-01 23:07
login.php
3.36
KB
-rw-r--r--
2026-03-01 20:35
logout.php
90
B
-rw-r--r--
2026-03-01 20:36
orders.php
24.63
KB
-rw-r--r--
2026-03-01 23:09
payment_methods.php
16.54
KB
-rw-r--r--
2026-03-01 23:03
save_contact.php
1.4
KB
-rw-r--r--
2026-03-01 20:30
services.php
15.75
KB
-rw-r--r--
2026-03-01 23:05
settings.php
6.88
KB
-rw-r--r--
2026-03-01 23:10
users.php
7.52
KB
-rw-r--r--
2026-03-01 23:08
verify_payment.php
13.79
KB
-rw-r--r--
2026-03-01 23:18
wp-blog-header.php
2.74
KB
-r--r--r--
2026-04-01 03:43
wp-cron.php
2.74
KB
-rw-r--r--
2026-04-01 03:43
Save
Rename
<?php include '../includes/db.php'; session_start(); if (!isset($_SESSION['admin_id'])) { header('Location: login.php'); exit; } if (isset($_POST['update_admin'])) { $email = $_POST['email']; $new_pass = $_POST['password']; if (!empty($new_pass)) { $hashed = password_hash($new_pass, PASSWORD_BCRYPT); $stmt = $pdo->prepare("UPDATE admin_settings SET email = ?, password = ? WHERE id = ?"); $stmt->execute([$email, $hashed, $_SESSION['admin_id']]); } else { $stmt = $pdo->prepare("UPDATE admin_settings SET email = ? WHERE id = ?"); $stmt->execute([$email, $_SESSION['admin_id']]); } $_SESSION['admin_email'] = $email; header('Location: settings.php?success=1'); exit; } $admin = $pdo->prepare("SELECT * FROM admin_settings WHERE id = ?"); $admin->execute([$_SESSION['admin_id']]); $admin_data = $admin->fetch(); $sidebar_links = [ ['name' => 'Dashboard', 'icon' => 'fas fa-chart-line', 'active' => false, 'url' => 'dashboard.php'], ['name' => 'Users', 'icon' => 'fas fa-users', 'active' => false, 'url' => 'users.php'], ['name' => 'Services', 'icon' => 'fas fa-layer-group', 'active' => false, 'url' => 'services.php'], ['name' => 'Orders', 'icon' => 'fas fa-shopping-cart', 'active' => false, 'url' => 'orders.php'], ['name' => 'Payment Setup', 'icon' => 'fas fa-credit-card', 'active' => false, 'url' => 'payment_methods.php'], ['name' => 'Contact Details', 'icon' => 'fas fa-address-book', 'active' => false, 'url' => 'contact.php'], ['name' => 'Admin Details', 'icon' => 'fas fa-user-shield', 'active' => true, 'url' => 'settings.php'], ]; ?> <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Global Settings | Admin</title> <link rel="stylesheet" href="../assets/css/style.css"> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css"> <style> :root { --sidebar-width: 280px; } body { background: #fafafa; overflow: hidden; color: #0f172a; } .sidebar { width: var(--sidebar-width); height: 100vh; background: #ffffff; border-right: 1px solid rgba(0,0,0,0.05); position: fixed; left: 0; top: 0; padding: 3rem 1.5rem; display: flex; flex-direction: column; } .main-content { margin-left: var(--sidebar-width); height: 100vh; padding: 4rem; overflow-y: auto; } .sidebar-link { display: flex; align-items: center; gap: 1.2rem; padding: 1.1rem 1.5rem; border-radius: 12px; color: #64748b; margin-bottom: 0.5rem; font-weight: 600; text-decoration: none; } .sidebar-link.active { color: var(--primary); background: #f0fdf4; } .card { background: #fff; padding: 4rem; border-radius: 40px; border: 1px solid rgba(0,0,0,0.05); max-width: 600px; } </style> </head> <body> <!-- Mobile Admin Header --> <div class="mobile-admin-header"> <a href="dashboard.php" class="logo" style="font-size: 1.4rem; text-decoration:none; color:#0f172a;">CodeBy<span style="color: var(--primary);">Sycho</span></a> <div class="mobile-toggle" onclick="toggleSidebar()"> <span></span> <span></span> <span></span> </div> </div> <!-- Sidebar Overlay --> <div class="sidebar-overlay" id="sidebarOverlay" onclick="toggleSidebar()"></div> <aside class="sidebar" id="adminSidebar"> <div class="mobile-only" style="text-align: right; padding: 0 1rem 2rem 0;"> <button onclick="toggleSidebar()" style="background:none; border:none; font-size: 1.5rem; color: #64748b;"><i class="fas fa-times"></i></button> </div> <a href="dashboard.php" class="logo" style="margin-bottom: 5rem; display: block; font-size: 1.8rem; text-decoration:none; color:#0f172a;">CodeBy<span style="color: var(--primary);">Sycho</span></a> <div style="flex-grow: 1;"> <?php foreach ($sidebar_links as $link): ?> <a href="<?php echo htmlspecialchars($link['url']); ?>" class="sidebar-link <?php echo $link['active'] ? 'active' : ''; ?>"> <i class="<?php echo htmlspecialchars($link['icon']); ?>"></i> <?php echo htmlspecialchars($link['name']); ?> </a> <?php endforeach; ?> </div> <div style="padding-top: 2rem; border-top: 1px solid #f1f5f9;"> <a href="logout.php" style="color: #ef4444; font-weight: 700; text-decoration: none;"><i class="fas fa-power-off"></i> Logout</a> </div> </aside> <script> function toggleSidebar() { document.getElementById('adminSidebar').classList.toggle('active'); document.getElementById('sidebarOverlay').classList.toggle('active'); } </script> <main class="main-content"> <div style="margin-bottom: 3.5rem;"> <p style="font-size: 0.75rem; font-weight: 800; color: var(--primary); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 0.5rem;">Security Protocol</p> <h1 style="font-size: 1.8rem; font-weight: 800; color: #0f172a; letter-spacing: -0.5px;">Admin Details</h1> </div> <div class="card admin-card" style="max-width: 600px;"> <h3 style="margin-bottom: 2rem; font-size: 1.1rem; font-weight: 800; color: var(--text-main);">Access Credentials</h3> <form action="" method="POST"> <div style="margin-bottom: 1.5rem;"> <label style="display: block; margin-bottom: 0.8rem; font-weight: 700; font-size: 0.85rem; color: #475569;">Primary Admin Email</label> <input type="email" name="email" value="<?php echo $admin_data['email']; ?>" required style="width: 100%; background: #f8fafc; border: 1px solid #e2e8f0; padding: 1rem; border-radius: 12px; outline: none; font-size: 0.95rem; font-weight: 600;"> </div> <div style="margin-bottom: 2.5rem;"> <label style="display: block; margin-bottom: 0.8rem; font-weight: 700; font-size: 0.85rem; color: #475569;">New Security Key (Optional)</label> <input type="password" name="password" placeholder="••••••••" style="width: 100%; background: #f8fafc; border: 1px solid #e2e8f0; padding: 1rem; border-radius: 12px; outline: none; font-size: 0.95rem; font-weight: 600;"> <p style="margin-top: 0.6rem; font-size: 0.75rem; color: #94a3b8; font-weight: 600;">Leave blank to maintain current password.</p> </div> <button type="submit" name="update_admin" class="btn-primary" style="width: 100%; padding: 1.1rem; border-radius: 15px; font-weight: 800; font-size: 1rem; box-shadow: 0 10px 20px var(--primary-glow);">Update Security Protocol</button> </form> </div> </main> </body> </html>