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 /
deployment_package /
admin /
Delete
Unzip
Name
Size
Permission
Date
Action
ads.php
13.96
KB
-rw-r--r--
2025-10-17 23:08
auth.php
343
B
-rw-r--r--
2025-10-17 23:20
dashboard.php
8.71
KB
-rw-r--r--
2025-10-18 00:40
deposit_methods.php
12.36
KB
-rw-r--r--
2025-10-17 23:06
deposits.php
13.24
KB
-rw-r--r--
2025-10-18 00:56
dpin.php
6.16
KB
-rw-r--r--
2025-10-17 23:06
footer.php
565
B
-rw-r--r--
2025-10-17 23:05
header.php
13.06
KB
-rw-r--r--
2025-10-18 02:06
login.php
3.37
KB
-rw-r--r--
2025-10-17 23:09
login_as_user.php
1020
B
-rw-r--r--
2025-10-17 23:05
logout.php
88
B
-rw-r--r--
2025-10-17 23:08
plans.php
13.65
KB
-rw-r--r--
2025-10-17 23:06
referral_commissions.php
11.93
KB
-rw-r--r--
2025-10-18 00:13
team_commissions.php
6.66
KB
-rw-r--r--
2025-10-17 23:45
test_modals.php
4.44
KB
-rw-r--r--
2025-10-18 00:49
test_referral_commissions.php
2.87
KB
-rw-r--r--
2025-10-18 00:13
test_user_edit.php
4.96
KB
-rw-r--r--
2025-10-18 00:44
transactions.php
6.36
KB
-rw-r--r--
2025-10-17 23:08
users.php
13.55
KB
-rw-r--r--
2025-10-18 00:49
withdraw_methods.php
12.49
KB
-rw-r--r--
2025-10-17 23:08
withdraws.php
9.16
KB
-rw-r--r--
2025-10-17 23:39
Save
Rename
<?php $title = 'D.Pin Send'; include 'header.php'; require_once '../includes/auth.php'; $error = ''; $success = ''; // Handle D.Pin generation if ($_SERVER['REQUEST_METHOD'] === 'POST' && isset($_POST['generate_pins'])) { $user_id = intval($_POST['user_id']); $pin_count = intval($_POST['pin_count']); // Validate inputs if (empty($user_id) || empty($pin_count) || $pin_count <= 0) { $error = 'Please select a user and enter a valid number of pins.'; } else { try { // Check if user exists $stmt = $pdo->prepare("SELECT id FROM users WHERE id = ?"); $stmt->execute([$user_id]); $user = $stmt->fetch(); if (!$user) { $error = 'Invalid user selected.'; } else { // Generate D-Pins for ($i = 0; $i < $pin_count; $i++) { $pin_code = generateDPin(); $stmt = $pdo->prepare("INSERT INTO dpins (user_id, pin_code) VALUES (?, ?)"); $stmt->execute([$user_id, $pin_code]); } $success = "$pin_count D-Pin(s) generated successfully for the user."; } } catch (PDOException $e) { $error = 'Failed to generate D-Pins. Please try again.'; } } } // Get all users for the dropdown try { $stmt = $pdo->prepare("SELECT id, fullname, email FROM users ORDER BY fullname"); $stmt->execute(); $users = $stmt->fetchAll(); } catch (PDOException $e) { $users = []; } // Get recently generated D-Pins try { $stmt = $pdo->prepare("SELECT d.*, u.fullname FROM dpins d JOIN users u ON d.user_id = u.id ORDER BY d.created_at DESC LIMIT 20"); $stmt->execute(); $dpins = $stmt->fetchAll(); } catch (PDOException $e) { $dpins = []; } ?> <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 ($error): ?> <div class="alert alert-danger"><?php echo htmlspecialchars($error); ?></div> <?php endif; ?> <?php if ($success): ?> <div class="alert alert-success"><?php echo htmlspecialchars($success); ?></div> <?php endif; ?> <div class="row"> <div class="col-md-6"> <div class="card"> <div class="card-body"> <h5 class="card-title">Generate D-Pins</h5> <form method="POST"> <div class="mb-3"> <label for="user_id" class="form-label">Select User</label> <select class="form-select" id="user_id" name="user_id" required> <option value="">Select a user</option> <?php foreach ($users as $user): ?> <option value="<?php echo $user['id']; ?>"><?php echo htmlspecialchars($user['fullname'] . ' (' . $user['email'] . ')'); ?></option> <?php endforeach; ?> </select> </div> <div class="mb-3"> <label for="pin_count" class="form-label">Number of D-Pins</label> <input type="number" class="form-control" id="pin_count" name="pin_count" min="1" max="100" value="1" required> </div> <button type="submit" name="generate_pins" class="btn btn-primary">Generate D-Pins</button> </form> </div> </div> </div> <div class="col-md-6"> <div class="card"> <div class="card-body"> <h5 class="card-title">About D-Pins</h5> <p>D-Pins are 15-character codes that users can apply to deposit funds instantly.</p> <p>When you generate D-Pins for a user, they will appear in the user's D.Pin management page.</p> <p>Users can apply these pins to add funds to their account balance.</p> </div> </div> </div> </div> <div class="row mt-4"> <div class="col-12"> <div class="card"> <div class="card-body"> <h5 class="card-title">Recently Generated D-Pins</h5> <?php if (count($dpins) > 0): ?> <div class="table-responsive"> <table class="table table-striped"> <thead> <tr> <th>D.Pin Code</th> <th>User</th> <th>Status</th> <th>Created At</th> </tr> </thead> <tbody> <?php foreach ($dpins as $dpin): ?> <tr> <td><?php echo htmlspecialchars($dpin['pin_code']); ?></td> <td><?php echo htmlspecialchars($dpin['fullname']); ?></td> <td> <?php if ($dpin['status'] === 'active'): ?> <span class="badge bg-success">Active</span> <?php elseif ($dpin['status'] === 'used'): ?> <span class="badge bg-secondary">Used</span> <?php else: ?> <span class="badge bg-danger">Expired</span> <?php endif; ?> </td> <td><?php echo date('M d, Y H:i', strtotime($dpin['created_at'])); ?></td> </tr> <?php endforeach; ?> </tbody> </table> </div> <?php else: ?> <p>No D-Pins generated yet.</p> <?php endif; ?> </div> </div> </div> </div> <?php include 'footer.php'; ?>