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 /
.trash /
admin.2 /
Delete
Unzip
Name
Size
Permission
Date
Action
ads.php
15.26
KB
-rw-r--r--
2025-10-18 22:42
dashboard.php
22.01
KB
-rw-r--r--
2025-10-18 22:49
deposit_history.php
4.14
KB
-rw-r--r--
2025-10-18 21:52
deposit_methods.php
11.74
KB
-rw-r--r--
2025-10-18 21:52
deposits.php
12.91
KB
-rw-r--r--
2025-10-18 21:52
dpin_details.php
4.52
KB
-rw-r--r--
2025-10-18 22:26
dpin_management.php
10.04
KB
-rw-r--r--
2025-10-18 21:52
dpin_send.php
6
KB
-rw-r--r--
2025-10-18 22:26
footer.php
148
B
-rw-r--r--
2025-10-18 21:50
header.php
8.2
KB
-rw-r--r--
2025-10-18 22:54
login.php
6.11
KB
-rw-r--r--
2025-10-18 21:41
logout.php
88
B
-rw-r--r--
2025-10-18 21:42
notifications.php
9.34
KB
-rw-r--r--
2025-10-18 21:54
plans.php
15.64
KB
-rw-r--r--
2025-10-18 22:42
referral.php
9.89
KB
-rw-r--r--
2025-10-18 21:52
sidebar.php
5.11
KB
-rw-r--r--
2025-10-18 21:50
transactions.php
4.47
KB
-rw-r--r--
2025-10-18 21:53
users.php
12.66
KB
-rw-r--r--
2025-10-18 22:42
withdraw_history.php
4.2
KB
-rw-r--r--
2025-10-18 21:53
withdraw_methods.php
11.89
KB
-rw-r--r--
2025-10-18 21:53
withdrawals.php
13.4
KB
-rw-r--r--
2025-10-18 21:53
Save
Rename
<?php require_once '../config.php'; // Check if admin is logged in if (!isset($_SESSION['admin_id'])) { header("Location: login.php"); exit(); } // Get all withdraw methods $stmt = $conn->prepare("SELECT * FROM withdraw_methods ORDER BY id DESC"); $stmt->execute(); $methods_result = $stmt->get_result(); $methods = []; while ($row = $methods_result->fetch_assoc()) { $methods[] = $row; } // Handle method creation/update if (isset($_POST['save_method'])) { $name = sanitize_input($_POST['name']); $minimum_amount = floatval($_POST['minimum_amount']); $processing_time = sanitize_input($_POST['processing_time']); $status = sanitize_input($_POST['status']); if (isset($_POST['method_id']) && !empty($_POST['method_id'])) { // Update existing method $method_id = intval($_POST['method_id']); $stmt = $conn->prepare("UPDATE withdraw_methods SET name = ?, minimum_amount = ?, processing_time = ?, status = ? WHERE id = ?"); $stmt->bind_param("sdssi", $name, $minimum_amount, $processing_time, $status, $method_id); } else { // Create new method $stmt = $conn->prepare("INSERT INTO withdraw_methods (name, minimum_amount, processing_time, status) VALUES (?, ?, ?, ?)"); $stmt->bind_param("sdss", $name, $minimum_amount, $processing_time, $status); } if ($stmt->execute()) { header("Location: withdraw_methods.php?success=saved"); exit(); } else { header("Location: withdraw_methods.php?error=save_failed"); exit(); } } // Handle method deletion if (isset($_GET['delete'])) { $method_id = intval($_GET['delete']); $stmt = $conn->prepare("DELETE FROM withdraw_methods WHERE id = ?"); $stmt->bind_param("i", $method_id); if ($stmt->execute()) { header("Location: withdraw_methods.php?success=deleted"); exit(); } else { header("Location: withdraw_methods.php?error=delete_failed"); exit(); } } ?> <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Withdraw Methods - Admin Panel</title> <?php include 'header.php'; ?> </head> <body> <div class="container-fluid"> <div class="row"> <?php include 'sidebar.php'; ?> <main class="col-md-9 ms-sm-auto col-lg-10 main-content"> <div class="d-flex justify-content-between flex-wrap flex-md-nowrap align-items-center pt-3 pb-2 mb-3 border-bottom"> <h1 class="h2">Withdraw Methods</h1> <button class="btn btn-primary" data-bs-toggle="modal" data-bs-target="#methodModal"> <i class="fas fa-plus me-1"></i>Add New Method </button> </div> <?php if (isset($_GET['success']) && $_GET['success'] == 'saved'): ?> <div class="alert alert-success">Method saved successfully.</div> <?php endif; ?> <?php if (isset($_GET['success']) && $_GET['success'] == 'deleted'): ?> <div class="alert alert-success">Method deleted successfully.</div> <?php endif; ?> <?php if (isset($_GET['error']) && $_GET['error'] == 'save_failed'): ?> <div class="alert alert-danger">Failed to save method.</div> <?php endif; ?> <?php if (isset($_GET['error']) && $_GET['error'] == 'delete_failed'): ?> <div class="alert alert-danger">Failed to delete method.</div> <?php endif; ?> <div class="card"> <div class="card-header"> <h5 class="mb-0">Withdrawal Methods</h5> </div> <div class="card-body"> <div class="table-responsive"> <table class="table table-striped"> <thead> <tr> <th>ID</th> <th>Name</th> <th>Minimum Amount</th> <th>Processing Time</th> <th>Status</th> <th>Actions</th> </tr> </thead> <tbody> <?php foreach ($methods as $method): ?> <tr> <td><?php echo $method['id']; ?></td> <td><?php echo htmlspecialchars($method['name']); ?></td> <td><?php echo format_currency($method['minimum_amount']); ?></td> <td><?php echo htmlspecialchars($method['processing_time']); ?></td> <td> <span class="badge bg-<?php echo $method['status'] == 'active' ? 'success' : 'secondary'; ?>"> <?php echo ucfirst($method['status']); ?> </span> </td> <td> <button class="btn btn-sm btn-primary" data-bs-toggle="modal" data-bs-target="#methodModal<?php echo $method['id']; ?>"> <i class="fas fa-edit"></i> </button> <a href="withdraw_methods.php?delete=<?php echo $method['id']; ?>" class="btn btn-sm btn-danger" onclick="return confirm('Are you sure you want to delete this method?')"> <i class="fas fa-trash"></i> </a> </td> </tr> <?php endforeach; ?> </tbody> </table> </div> </div> </div> </main> </div> </div> <!-- Add/Edit Method Modal --> <div class="modal fade" id="methodModal" tabindex="-1" aria-labelledby="methodModalLabel" aria-hidden="true"> <div class="modal-dialog"> <div class="modal-content"> <div class="modal-header"> <h5 class="modal-title" id="methodModalLabel">Add New Withdraw Method</h5> <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button> </div> <form method="POST"> <div class="modal-body"> <div class="mb-3"> <label class="form-label">Method Name</label> <input type="text" class="form-control" name="name" required> </div> <div class="mb-3"> <label class="form-label">Minimum Amount</label> <input type="number" class="form-control" name="minimum_amount" step="0.01" min="0" required> </div> <div class="mb-3"> <label class="form-label">Processing Time</label> <input type="text" class="form-control" name="processing_time" required> <div class="form-text">e.g., "24-48 hours", "3-5 business days"</div> </div> <div class="mb-3"> <label class="form-label">Status</label> <select class="form-select" name="status" required> <option value="active">Active</option> <option value="inactive">Inactive</option> </select> </div> </div> <div class="modal-footer"> <button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Close</button> <button type="submit" name="save_method" class="btn btn-primary">Save Method</button> </div> </form> </div> </div> </div> <!-- Edit Method Modals --> <?php foreach ($methods as $method): ?> <div class="modal fade" id="methodModal<?php echo $method['id']; ?>" tabindex="-1" aria-labelledby="methodModalLabel<?php echo $method['id']; ?>" aria-hidden="true"> <div class="modal-dialog"> <div class="modal-content"> <div class="modal-header"> <h5 class="modal-title" id="methodModalLabel<?php echo $method['id']; ?>">Edit Withdraw Method</h5> <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button> </div> <form method="POST"> <input type="hidden" name="method_id" value="<?php echo $method['id']; ?>"> <div class="modal-body"> <div class="mb-3"> <label class="form-label">Method Name</label> <input type="text" class="form-control" name="name" value="<?php echo htmlspecialchars($method['name']); ?>" required> </div> <div class="mb-3"> <label class="form-label">Minimum Amount</label> <input type="number" class="form-control" name="minimum_amount" step="0.01" min="0" value="<?php echo $method['minimum_amount']; ?>" required> </div> <div class="mb-3"> <label class="form-label">Processing Time</label> <input type="text" class="form-control" name="processing_time" value="<?php echo htmlspecialchars($method['processing_time']); ?>" required> </div> <div class="mb-3"> <label class="form-label">Status</label> <select class="form-select" name="status" required> <option value="active" <?php echo $method['status'] == 'active' ? 'selected' : ''; ?>>Active</option> <option value="inactive" <?php echo $method['status'] == 'inactive' ? 'selected' : ''; ?>>Inactive</option> </select> </div> </div> <div class="modal-footer"> <button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Close</button> <button type="submit" name="save_method" class="btn btn-primary">Save Changes</button> </div> </form> </div> </div> </div> <?php endforeach; ?> <?php include 'footer.php'; ?> </body> </html>