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(); // Auth Check if (!isset($_SESSION['admin_id'])) { header('Location: login.php'); exit; } // Fetch real settings $contact_data = getContactSettings($pdo); $socials = json_decode($contact_data['social_links'] ?? '{}', true); $contact = [ 'phone' => $contact_data['phone'] ?? '', 'email' => $contact_data['email'] ?? '', 'address' => $contact_data['address'] ?? '', 'github' => $socials['github'] ?? '', 'linkedin' => $socials['linkedin'] ?? '', 'twitter' => $socials['twitter'] ?? '' ]; $sidebar_links = [ ['name' => 'Dashboard', 'icon' => 'fas fa-chart-line', 'active' => true, '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' => false, 'url' => 'settings.php'], ]; $success_msg = isset($_GET['success']) ? "Changes propagated successfully to the platform." : ""; ?> <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Manage Contact | CodeBySycho 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; box-shadow: 10px 0 30px rgba(0,0,0,0.02); } .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; transition: var(--transition); } .sidebar-link:hover, .sidebar-link.active { color: var(--primary); background: #f0fdf4; } .form-group { margin-bottom: 2.5rem; } .form-group label { display: block; margin-bottom: 1rem; font-size: 0.8rem; color: #475569; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; } .form-group input { width: 100%; background: #f8fafc; border: 1px solid #e2e8f0; padding: 1.2rem 1.5rem; border-radius: 12px; color: #1e293b; font-size: 0.95rem; outline: none; font-weight: 600; box-sizing: border-box; } .form-group input:focus { border-color: var(--primary); background: #fff; box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.05); } </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="border-top: 1px solid #f1f5f9; padding-top: 2rem;"> <p style="font-size: 0.85rem; color: #64748b; margin-bottom: 1.5rem;">Access: <strong>Super Admin</strong></p> <a href="logout.php" style="color: #ef4444; font-size: 0.95rem; font-weight: 700; display: flex; align-items: center; gap: 0.8rem; 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;">Platform Configuration</p> <h1 style="font-size: 1.8rem; font-weight: 800; color: #0f172a; letter-spacing: -0.5px;">Global Contact Hub</h1> </div> <section class="card admin-card" style="max-width: 1000px;"> <?php if ($success_msg): ?> <div style="background: #dcfce7; color: #166534; padding: 1.2rem; border-radius: 12px; margin-bottom: 2.5rem; font-size: 0.9rem; font-weight: 700;"> <i class="fas fa-check-circle" style="margin-right: 0.8rem;"></i> <?php echo $success_msg; ?> </div> <?php endif; ?> <form action="save_contact.php" method="POST"> <div class="dashboard-grid" style="display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 3rem;"> <div> <h3 style="margin-bottom: 2rem; color: var(--primary); font-size: 1.1rem; font-weight: 800; display: flex; align-items: center; gap: 0.8rem;"><i class="fas fa-envelope-open-text"></i> Personal Access</h3> <div class="form-group"> <label>Phone Number</label> <input type="text" name="phone" value="<?php echo htmlspecialchars($contact['phone']); ?>" placeholder="e.g. +1 (234) 567-890"> </div> <div class="form-group"> <label>Public Email</label> <input type="email" name="email" value="<?php echo htmlspecialchars($contact['email']); ?>" placeholder="e.g. contact@codebysycho.com"> </div> <div class="form-group"> <label>Work Location</label> <input type="text" name="location" value="<?php echo htmlspecialchars($contact['address']); ?>" placeholder="e.g. Remote / Global"> </div> </div> <div> <h3 style="margin-bottom: 2rem; color: #6366f1; font-size: 1.1rem; font-weight: 800; display: flex; align-items: center; gap: 0.8rem;"><i class="fas fa-share-nodes"></i> Digital Presence</h3> <div class="form-group"> <label>GitHub URL</label> <input type="text" name="github" value="<?php echo htmlspecialchars($contact['github']); ?>" placeholder="https://github.com/yourusername"> </div> <div class="form-group"> <label>LinkedIn URL</label> <input type="text" name="linkedin" value="<?php echo htmlspecialchars($contact['linkedin']); ?>" placeholder="https://linkedin.com/in/yourprofile"> </div> <div class="form-group"> <label>Twitter URL</label> <input type="text" name="twitter" value="<?php echo htmlspecialchars($contact['twitter']); ?>" placeholder="https://twitter.com/yourhandle"> </div> </div> </div> <div style="margin-top: 2rem; padding-top: 2rem; border-top: 1px solid #f1f5f9; display: flex; flex-direction: column; gap: 1.5rem;"> <button type="submit" class="btn-primary" style="padding: 1.2rem; border-radius: 12px; font-size: 1rem; font-weight: 800; width: 100%;">Propagate Changes</button> <span style="color: #64748b; font-size: 0.85rem; font-weight: 600; text-align: center;"><i class="fas fa-info-circle" style="margin-right: 0.5rem; color: var(--primary);"></i> Changes reflect instantly across the platform.</span> </div> </form> </section> </main> </body> </html>