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 D.Pin requests $stmt = $conn->prepare("SELECT d.*, u.name as user_name FROM dpins d JOIN users u ON d.user_id = u.id WHERE d.status = 'pending' ORDER BY d.created_at DESC"); $stmt->execute(); $dpins_result = $stmt->get_result(); $dpins = []; while ($row = $dpins_result->fetch_assoc()) { $dpins[] = $row; } // Handle D.Pin approval/rejection if (isset($_POST['process_dpin'])) { $dpin_id = intval($_POST['dpin_id']); $action = sanitize_input($_POST['action']); // approve or reject if ($action == 'approve') { // Generate D.Pin code $pin_code = generate_dpin(); $stmt = $conn->prepare("UPDATE dpins SET status = 'active', pin_code = ? WHERE id = ?"); $stmt->bind_param("si", $pin_code, $dpin_id); if ($stmt->execute()) { header("Location: dpin_management.php?success=approved"); exit(); } else { header("Location: dpin_management.php?error=approval_failed"); exit(); } } elseif ($action == 'reject') { $stmt = $conn->prepare("UPDATE dpins SET status = 'rejected' WHERE id = ?"); $stmt->bind_param("i", $dpin_id); if ($stmt->execute()) { header("Location: dpin_management.php?success=rejected"); exit(); } else { header("Location: dpin_management.php?error=rejection_failed"); exit(); } } } ?> <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>D.Pin Management - 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">D.Pin Management</h1> </div> <?php if (isset($_GET['success']) && $_GET['success'] == 'approved'): ?> <div class="alert alert-success">D.Pin approved successfully.</div> <?php endif; ?> <?php if (isset($_GET['success']) && $_GET['success'] == 'rejected'): ?> <div class="alert alert-success">D.Pin rejected successfully.</div> <?php endif; ?> <?php if (isset($_GET['error']) && $_GET['error'] == 'approval_failed'): ?> <div class="alert alert-danger">Failed to approve D.Pin.</div> <?php endif; ?> <?php if (isset($_GET['error']) && $_GET['error'] == 'rejection_failed'): ?> <div class="alert alert-danger">Failed to reject D.Pin.</div> <?php endif; ?> <div class="card"> <div class="card-header"> <h5 class="mb-0">Pending D.Pin Requests</h5> </div> <div class="card-body"> <?php if (empty($dpins)): ?> <div class="text-center py-5"> <i class="fas fa-key fa-3x text-muted mb-3"></i> <h4>No Pending D.Pin Requests</h4> <p class="mb-0">There are no pending D.Pin requests at the moment.</p> </div> <?php else: ?> <div class="table-responsive"> <table class="table table-striped"> <thead> <tr> <th>ID</th> <th>User</th> <th>Amount</th> <th>Date</th> <th>Actions</th> </tr> </thead> <tbody> <?php foreach ($dpins as $dpin): ?> <tr> <td><?php echo $dpin['id']; ?></td> <td><?php echo htmlspecialchars($dpin['user_name']); ?></td> <td><?php echo format_currency($dpin['amount']); ?></td> <td><?php echo date('M d, Y H:i', strtotime($dpin['created_at'])); ?></td> <td> <button class="btn btn-sm btn-primary" data-bs-toggle="modal" data-bs-target="#processModal<?php echo $dpin['id']; ?>"> Process </button> </td> </tr> <!-- Process Modal --> <div class="modal fade" id="processModal<?php echo $dpin['id']; ?>" tabindex="-1" aria-labelledby="processModalLabel<?php echo $dpin['id']; ?>" aria-hidden="true"> <div class="modal-dialog"> <div class="modal-content"> <div class="modal-header"> <h5 class="modal-title" id="processModalLabel<?php echo $dpin['id']; ?>">Process D.Pin Request</h5> <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button> </div> <form method="POST"> <div class="modal-body"> <input type="hidden" name="dpin_id" value="<?php echo $dpin['id']; ?>"> <div class="mb-3"> <label class="form-label">User</label> <input type="text" class="form-control" value="<?php echo htmlspecialchars($dpin['user_name']); ?>" readonly> </div> <div class="mb-3"> <label class="form-label">Amount</label> <input type="text" class="form-control" value="<?php echo format_currency($dpin['amount']); ?>" readonly> </div> <div class="mb-3"> <label class="form-label">Date</label> <input type="text" class="form-control" value="<?php echo date('M d, Y H:i', strtotime($dpin['created_at'])); ?>" readonly> </div> <div class="mb-3"> <label class="form-label">Action</label> <select class="form-select" name="action" required> <option value="approve">Approve</option> <option value="reject">Reject</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="process_dpin" class="btn btn-primary">Process Request</button> </div> </form> </div> </div> </div> <?php endforeach; ?> </tbody> </table> </div> <?php endif; ?> </div> </div> </main> </div> </div> <?php include 'footer.php'; ?> </body> </html>