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 /
assignment.work.zone /
admin /
Delete
Unzip
Name
Size
Permission
Date
Action
includes
[ DIR ]
drwxr-xr-x
2026-03-11 22:58
.htaccess
197
B
-r--r--r--
2026-04-01 03:43
404.php
5.09
KB
-rw-r--r--
2026-03-12 12:29
admin-profile.php
4.68
KB
-rw-r--r--
2026-03-13 19:31
assignments.php
20.91
KB
-rw-r--r--
2026-03-30 15:12
deposits.php
8.48
KB
-rw-r--r--
2026-03-12 13:18
error_log
3.7
KB
-rw-r--r--
2026-03-23 09:01
index.php
137
B
-rw-r--r--
2026-03-12 12:26
index_real.php
3.95
KB
-rw-r--r--
2026-03-13 19:31
login.php
2.46
KB
-rw-r--r--
2026-03-13 19:32
logout.php
88
B
-rw-r--r--
2026-03-11 22:57
maintenance.php
3.68
KB
-rw-r--r--
2026-03-12 12:35
payment-methods.php
7.03
KB
-rw-r--r--
2026-03-12 12:35
plans.php
7.85
KB
-rw-r--r--
2026-03-12 12:35
referrals.php
4.91
KB
-rw-r--r--
2026-03-31 10:44
settings.php
17.83
KB
-rw-r--r--
2026-03-31 10:21
tickets.php
9.89
KB
-rw-r--r--
2026-03-12 13:15
users.php
19.8
KB
-rw-r--r--
2026-03-29 05:10
withdraw-methods.php
8.28
KB
-rw-r--r--
2026-03-12 15:17
withdrawals.php
6.26
KB
-rw-r--r--
2026-03-12 15: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 require_once '../includes/config.php'; require_once 'includes/header.php'; require_once 'includes/sidebar.php'; $error = ''; $success = ''; if ($_SERVER['REQUEST_METHOD'] == 'POST' && isset($_POST['action'])) { $action = $_POST['action']; if ($action == 'add' || $action == 'edit') { $id = $_POST['id'] ?? null; $bank_name = trim($_POST['bank_name']); $bank_field = trim($_POST['bank_field']); $account_name = trim($_POST['account_name']); $account_number = trim($_POST['account_number']); if (empty($bank_name)) { $error = "Method/Bank name is required."; } else { if ($action == 'add') { $stmt = $pdo->prepare("INSERT INTO withdraw_methods (bank_name, bank_field, account_name, account_number) VALUES (?, ?, ?, ?)"); $stmt->execute([$bank_name, $bank_field, $account_name, $account_number]); $success = "Withdraw method added successfully."; } else { $stmt = $pdo->prepare("UPDATE withdraw_methods SET bank_name=?, bank_field=?, account_name=?, account_number=? WHERE id=?"); $stmt->execute([$bank_name, $bank_field, $account_name, $account_number, $id]); $success = "Withdraw method updated successfully."; } } } elseif ($action == 'delete') { $id = (int)$_POST['id']; $stmt = $pdo->prepare("DELETE FROM withdraw_methods WHERE id=?"); $stmt->execute([$id]); $success = "Withdraw method deleted successfully."; } } $stmt = $pdo->query("SELECT * FROM withdraw_methods ORDER BY id DESC"); $methods = $stmt->fetchAll(); ?> <h2 style="margin-bottom:30px;">Withdrawal Methods</h2> <?php if ($error): ?> <div class="badge badge-danger" style="display:block; margin-bottom:20px; text-align:center; padding:15px; border-radius:8px;"><?php echo htmlspecialchars($error); ?></div> <?php endif; ?> <?php if ($success): ?> <div class="badge badge-success" style="display:block; margin-bottom:20px; text-align:center; padding:15px; border-radius:8px;"><?php echo htmlspecialchars($success); ?></div> <?php endif; ?> <div class="responsive-grid" style="grid-template-columns: 2fr 1fr; align-items:start;"> <div class="card" style="padding:20px;"> <h3 style="margin-bottom:20px; border-bottom:1px solid rgba(255,255,255,0.1); padding-bottom:10px;">Available Withdrawal Methods</h3> <div style="overflow-x:auto;"> <table class="admin-table"> <thead> <tr> <th>Bank/Wallet Name</th> <th>Required Fields Note</th> <th>Actions</th> </tr> </thead> <tbody> <?php foreach ($methods as $m): ?> <tr> <td style="font-weight:600; color:var(--primary-color);"><?php echo htmlspecialchars($m['bank_name']); ?></td> <td> <?php $notes = []; if(!empty($m['bank_field'])) $notes[] = htmlspecialchars($m['bank_field']); if(!empty($m['account_name'])) $notes[] = htmlspecialchars($m['account_name']); if(!empty($m['account_number'])) $notes[] = htmlspecialchars($m['account_number']); echo implode(" | ", $notes); ?> </td> <td> <button onclick="editMethod(<?php echo $m['id']; ?>, '<?php echo addslashes($m['bank_name']); ?>', '<?php echo addslashes($m['bank_field']); ?>', '<?php echo addslashes($m['account_name']); ?>', '<?php echo addslashes($m['account_number']); ?>')" class="btn-primary" style="padding:5px 10px; font-size:0.8rem; box-shadow:none;"><i class="fas fa-edit"></i> Edit</button> <form method="POST" style="display:inline;" onsubmit="return confirm('Are you sure you want to delete this method?');"> <input type="hidden" name="id" value="<?php echo $m['id']; ?>"> <input type="hidden" name="action" value="delete"> <button type="submit" class="btn-outline" style="padding:5px 10px; font-size:0.8rem; border-color:#e74c3c; color:#e74c3c;"><i class="fas fa-trash"></i> Delete</button> </form> </td> </tr> <?php endforeach; ?> <?php if (empty($methods)): ?> <tr><td colspan="3" style="text-align:center; color:var(--text-muted);">No withdrawal methods configured. Users can't withdraw.</td></tr> <?php endif; ?> </tbody> </table> </div><!-- end overflow wrapper --> </div> <!-- Form --> <div class="card" style="padding:20px; background:rgba(0,0,0,0.2);" id="formCard"> <h3 style="margin-bottom:20px; color:var(--primary-color);" id="formTitle">Add New Method</h3> <p style="color:var(--text-muted); font-size:0.9rem; margin-bottom:15px;">Add methods that users can choose when withdrawing funds (e.g. EasyPaisa, JazzCash, Bank Transfer). The fields below act as hints for the user to provide their own account info.</p> <form method="POST" id="methodForm"> <input type="hidden" name="action" id="formAction" value="add"> <input type="hidden" name="id" id="formId" value=""> <div class="form-group"> <label>Method Name</label> <input type="text" name="bank_name" id="bank_name" class="form-control" required placeholder="e.g. Bank Transfer / EasyPaisa"> </div> <div class="form-group"> <label>Hint: Bank Name (Optional)</label> <input type="text" name="bank_field" id="bank_field" class="form-control" placeholder="e.g. Enter Bank Name (MCB, HBL etc)"> </div> <div class="form-group"> <label>Hint: Account Title / Name</label> <input type="text" name="account_name" id="account_name" class="form-control" placeholder="e.g. Enter Account Holder Name"> </div> <div class="form-group"> <label>Hint: Account Number / Address</label> <input type="text" name="account_number" id="account_number" class="form-control" placeholder="Optional Hint: e.g. Enter Wallet Address"> </div> <div style="display:flex; gap:10px;"> <button type="submit" class="btn-primary" style="width:100%;" id="submitBtn">Add Method</button> <button type="button" class="btn-outline" style="display:none;" id="cancelEditBtn" onclick="resetForm()">Cancel</button> </div> </form> </div> </div> <script> function editMethod(id, bank, bank_field, name, number) { document.getElementById('formTitle').innerText = 'Edit Method'; document.getElementById('formAction').value = 'edit'; document.getElementById('formId').value = id; document.getElementById('bank_name').value = bank; document.getElementById('bank_field').value = bank_field; document.getElementById('account_name').value = name; document.getElementById('account_number').value = number; document.getElementById('submitBtn').innerText = 'Update Method'; document.getElementById('cancelEditBtn').style.display = 'block'; } function resetForm() { document.getElementById('formTitle').innerText = 'Add New Method'; document.getElementById('formAction').value = 'add'; document.getElementById('formId').value = ''; document.getElementById('methodForm').reset(); document.getElementById('bank_field').value = ''; document.getElementById('submitBtn').innerText = 'Add Method'; document.getElementById('cancelEditBtn').style.display = 'none'; } </script> <?php require_once 'includes/footer.php'; ?>