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 /
abayar /
admin /
Delete
Unzip
Name
Size
Permission
Date
Action
.htaccess
197
B
-r--r--r--
2026-04-01 03:43
ads.php
10.11
KB
-rw-r--r--
2025-12-22 20:20
announcements.php
8.13
KB
-rw-r--r--
2025-12-25 17:46
banners.php
9.86
KB
-rw-r--r--
2025-12-22 19:19
boosts.php
5.51
KB
-rw-r--r--
2025-12-24 21:41
daily_targets.php
11.29
KB
-rw-r--r--
2025-12-26 07:59
dashboard.php
9.23
KB
-rw-r--r--
2025-12-25 12:46
deposits.php
13.59
KB
-rw-r--r--
2026-01-26 16:58
dpin_requests.php
7.43
KB
-rw-r--r--
2025-12-24 21:41
dpins.php
9.37
KB
-rw-r--r--
2025-12-23 19:48
error_log
1.14
KB
-rw-r--r--
2026-01-07 16:39
footer.php
122
B
-rw-r--r--
2025-12-25 18:15
header.php
6.83
KB
-rw-r--r--
2026-01-26 17:15
login.php
4.42
KB
-rw-r--r--
2026-01-26 17:46
lucky_wheel.php
24.12
KB
-rw-r--r--
2026-01-26 16:57
orders.php
12.63
KB
-rw-r--r--
2026-01-07 16:27
payment_methods.php
6.53
KB
-rw-r--r--
2025-12-23 19:24
plans.php
22.86
KB
-rw-r--r--
2025-12-29 11:03
products.php
10.72
KB
-rw-r--r--
2026-01-07 16:15
ranks.php
7.31
KB
-rw-r--r--
2025-12-25 16:48
referrals.php
8.7
KB
-rw-r--r--
2025-12-25 12:43
return.php
440
B
-rw-r--r--
2025-12-29 13:55
settings.php
10.77
KB
-rw-r--r--
2026-01-07 16:26
tickets.php
11.98
KB
-rw-r--r--
2025-12-22 19:21
users.php
18.1
KB
-rw-r--r--
2025-12-29 13:53
withdraws.php
11.42
KB
-rw-r--r--
2025-12-24 22:29
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 define('ADMIN_PANEL', true); require_once '../includes/config.php'; requireAdmin(); $page_title = 'Manage Ranks'; // Handle rank actions if ($_SERVER['REQUEST_METHOD'] === 'POST') { $action = $_POST['action']; try { if ($action === 'create') { $stmt = $pdo->prepare(" INSERT INTO ranks (rank_name, required_referrals, reward_amount) VALUES (?, ?, ?) "); $stmt->execute([ $_POST['rank_name'], $_POST['required_referrals'], $_POST['reward_amount'] ]); setSuccess("Rank created successfully!"); } elseif ($action === 'update') { $stmt = $pdo->prepare(" UPDATE ranks SET rank_name = ?, required_referrals = ?, reward_amount = ? WHERE id = ? "); $stmt->execute([ $_POST['rank_name'], $_POST['required_referrals'], $_POST['reward_amount'], $_POST['rank_id'] ]); setSuccess("Rank updated successfully!"); } elseif ($action === 'delete') { $stmt = $pdo->prepare("DELETE FROM ranks WHERE id = ?"); $stmt->execute([intval($_POST['rank_id'])]); setSuccess("Rank deleted successfully!"); } } catch (Exception $e) { setError("Failed to perform action: " . $e->getMessage()); } header('Location: ranks.php'); exit; } // Get all ranks $stmt = $pdo->query("SELECT * FROM ranks ORDER BY required_referrals ASC"); $ranks = $stmt->fetchAll(); // Get rank being edited $editRank = null; if (isset($_GET['edit'])) { $stmt = $pdo->prepare("SELECT * FROM ranks WHERE id = ?"); $stmt->execute([intval($_GET['edit'])]); $editRank = $stmt->fetch(); } include 'header.php'; ?> <?php $success = getSuccess(); if ($success) { echo '<div class="alert alert-success"><i class="fas fa-check-circle"></i> ' . htmlspecialchars($success) . '</div>'; } $error = getError(); if ($error) { echo '<div class="alert alert-danger"><i class="fas fa-exclamation-circle"></i> ' . htmlspecialchars($error) . '</div>'; } ?> <!-- Create/Edit Rank --> <div class="card"> <div class="card-header"> <i class="fas fa-<?php echo $editRank ? 'edit' : 'plus'; ?>"></i> <?php echo $editRank ? 'Edit Rank' : 'Create New Rank'; ?> </div> <div class="card-body"> <form method="POST" action=""> <input type="hidden" name="action" value="<?php echo $editRank ? 'update' : 'create'; ?>"> <?php if ($editRank): ?> <input type="hidden" name="rank_id" value="<?php echo $editRank['id']; ?>"> <?php endif; ?> <div class="form-group"> <label class="form-label">Rank Name</label> <input type="text" name="rank_name" class="form-control" placeholder="e.g., Bronze" value="<?php echo $editRank ? htmlspecialchars($editRank['rank_name']) : ''; ?>" required> </div> <div class="form-group"> <label class="form-label">Total Direct Team Required</label> <input type="number" name="required_referrals" class="form-control" placeholder="e.g., 10" value="<?php echo $editRank ? $editRank['required_referrals'] : ''; ?>" required> </div> <div class="form-group"> <label class="form-label">Reward Amount (<?php echo getSetting('currency_symbol', '$'); ?>)</label> <input type="number" name="reward_amount" class="form-control" placeholder="e.g., 50.00" step="0.01" value="<?php echo $editRank ? $editRank['reward_amount'] : ''; ?>" required> </div> <div style="display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px;"> <button type="submit" class="btn btn-primary"> <i class="fas fa-save"></i> <?php echo $editRank ? 'Update' : 'Create'; ?> Rank </button> <?php if ($editRank): ?> <a href="ranks.php" class="btn btn-secondary"> <i class="fas fa-times"></i> Cancel </a> <?php endif; ?> </div> </form> </div> </div> <!-- Ranks List --> <div class="card"> <div class="card-header"> <i class="fas fa-trophy"></i> All Ranks (<?php echo count($ranks); ?>) </div> <div class="card-body"> <?php if (empty($ranks)): ?> <p style="color: var(--text-secondary); text-align: center;">No ranks created yet.</p> <?php else: ?> <div style="max-height: 400px; overflow-y: auto; padding-right: 5px;"> <div class="table-responsive"> <table> <thead> <tr> <th>Rank Name</th> <th>Required Referrals</th> <th>Reward</th> <th style="width: 150px;">Actions</th> </tr> </thead> <tbody> <?php foreach ($ranks as $rank): ?> <tr> <td> <strong><?php echo htmlspecialchars($rank['rank_name']); ?></strong> </td> <td><?php echo $rank['required_referrals']; ?></td> <td><?php echo formatCurrency($rank['reward_amount']); ?></td> <td> <div style="display: flex; gap: 5px;"> <a href="ranks.php?edit=<?php echo $rank['id']; ?>" class="btn btn-secondary btn-sm" title="Edit"> <i class="fas fa-edit"></i> </a> <form method="POST" action="" style="margin: 0;"> <input type="hidden" name="action" value="delete"> <input type="hidden" name="rank_id" value="<?php echo $rank['id']; ?>"> <button type="submit" class="btn btn-danger btn-sm" title="Delete" onclick="return confirm('Are you sure you want to delete this rank?')"> <i class="fas fa-trash"></i> </button> </form> </div> </td> </tr> <?php endforeach; ?> </tbody> </table> </div> </div> <?php endif; ?> </div> </div> <?php include 'footer.php'; ?>