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 = 'Lucky Wheel Management'; // Handle form submissions if ($_SERVER['REQUEST_METHOD'] === 'POST') { if (isset($_POST['update_settings'])) { updateSetting('lucky_wheel_status', $_POST['lucky_wheel_status']); updateSetting('lucky_wheel_active_days', isset($_POST['active_days']) ? implode(',', $_POST['active_days']) : ''); updateSetting('lucky_wheel_free_spins_new_user', (int) $_POST['free_spins_new_user']); updateSetting('lucky_wheel_spins_per_referral', (int) $_POST['spins_per_referral']); updateSetting('lucky_wheel_spins_per_plan', (int) $_POST['spins_per_plan']); setSuccess('System configuration optimized!'); header('Location: lucky_wheel.php'); exit; } if (isset($_POST['add_prize'])) { $name = $_POST['prize_name']; $amount = (float) $_POST['prize_amount']; $prob = (int) $_POST['probability']; $try_again = isset($_POST['is_try_again']) ? 1 : 0; $stmt = $pdo->prepare("INSERT INTO lucky_wheel_prizes (prize_name, prize_amount, probability, is_try_again) VALUES (?, ?, ?, ?)"); $stmt->execute([$name, $amount, $prob, $try_again]); setSuccess('Segment added successfully!'); header('Location: lucky_wheel.php'); exit; } if (isset($_POST['edit_prize'])) { $id = (int) $_POST['prize_id']; $name = $_POST['prize_name']; $amount = (float) $_POST['prize_amount']; $prob = (int) $_POST['probability']; $try_again = isset($_POST['is_try_again']) ? 1 : 0; $stmt = $pdo->prepare("UPDATE lucky_wheel_prizes SET prize_name = ?, prize_amount = ?, probability = ?, is_try_again = ? WHERE id = ?"); $stmt->execute([$name, $amount, $prob, $try_again, $id]); setSuccess('Segment updated!'); header('Location: lucky_wheel.php'); exit; } if (isset($_POST['delete_prize'])) { $id = (int) $_POST['prize_id']; $stmt = $pdo->prepare("DELETE FROM lucky_wheel_prizes WHERE id = ?"); $stmt->execute([$id]); setSuccess('Segment removed!'); header('Location: lucky_wheel.php'); exit; } } // Get prizes and settings $prizes = $pdo->query("SELECT * FROM lucky_wheel_prizes ORDER BY id ASC")->fetchAll(); $status = getSetting('lucky_wheel_status', 'disabled'); $active_days_raw = getSetting('lucky_wheel_active_days', ''); $active_days = !empty($active_days_raw) ? explode(',', $active_days_raw) : []; $free_spins_new = getSetting('lucky_wheel_free_spins_new_user', '1'); $spins_referral = getSetting('lucky_wheel_spins_per_referral', '1'); $spins_plan = getSetting('lucky_wheel_spins_per_plan', '1'); include 'header.php'; ?> <!-- Bootstrap 5 CSS --> <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.1/dist/css/bootstrap.min.css" rel="stylesheet"> <div class="compact-admin-content p-2"> <!-- Header --> <div class="glass-header mb-4 d-flex justify-content-between align-items-center p-3 rounded-4"> <div> <h4 class="fw-bold text-white m-0">LUCKY WHEEL <span class="text-primary">PRO</span></h4> <p class="text-muted extra-small m-0">Optimized system management.</p> </div> <div class="mini-status <?php echo $status; ?>"> <span class="dot"></span> <?php echo strtoupper($status); ?> </div> </div> <?php if ($msg = getSuccess()): ?> <div class="alert alert-mini-success animate__animated animate__fadeIn"> <i class="fas fa-check-circle me-1"></i> <?php echo $msg; ?> </div> <?php endif; ?> <form method="POST"> <div class="card compact-card mb-4 shadow-sm"> <div class="card-header border-0 bg-transparent pt-3"> <h6 class="text-white fw-bold m-0"><i class="fas fa-sliders-h text-primary me-2"></i> SYSTEM CONFIGURATION</h6> </div> <div class="card-body py-3"> <div class="row g-4"> <!-- Power Switch (Line 1) --> <div class="col-12"> <label class="compact-label mb-2 text-primary">1. System Power</label> <div class="mini-power-group" style="max-width: 250px;"> <input type="radio" name="lucky_wheel_status" id="sys_on" value="enabled" class="d-none" <?php echo $status === 'enabled' ? 'checked' : ''; ?>> <label for="sys_on" class="power-btn on">ONLINE (ON)</label> <input type="radio" name="lucky_wheel_status" id="sys_off" value="disabled" class="d-none" <?php echo $status === 'disabled' ? 'checked' : ''; ?>> <label for="sys_off" class="power-btn off">OFFLINE (OFF)</label> </div> </div> <!-- Allocations (Line 2) --> <div class="col-12"> <label class="compact-label mb-2 text-primary">2. Automatic Spin Distribution</label> <div class="row g-2"> <div class="col-md-6"> <div class="filled-input-box"> <div class="box-icon"><i class="fas fa-users"></i></div> <div class="box-body"> <small>INVITE USER TICKET</small> <input type="number" name="spins_per_referral" value="<?php echo $spins_referral; ?>"> </div> </div> </div> <div class="col-md-6"> <div class="filled-input-box"> <div class="box-icon"><i class="fas fa-shopping-cart"></i></div> <div class="box-body"> <small>PLAN BUY TICKET</small> <input type="number" name="spins_per_plan" value="<?php echo $spins_plan; ?>"> </div> </div> </div> </div> </div> <!-- Schedule Chips (Line 3) --> <div class="col-12"> <label class="compact-label mb-2 text-primary">3. Active Weekdays</label> <div class="d-flex flex-wrap gap-2"> <?php $days = ['Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday', 'Sunday']; foreach ($days as $day): ?> <div class="schedule-chip-mini"> <input type="checkbox" name="active_days[]" value="<?php echo $day; ?>" id="day_<?php echo $day; ?>" class="d-none" <?php echo in_array($day, $active_days) ? 'checked' : ''; ?>> <label for="day_<?php echo $day; ?>"><?php echo substr($day, 0, 3); ?></label> </div> <?php endforeach; ?> </div> </div> <!-- Update Btn (Line 4) --> <div class="col-12 text-center mt-3"> <button type="submit" name="update_settings" class="btn btn-save-compact px-5 shadow-lg"> <i class="fas fa-check-circle me-2"></i> SAVE ALL CHANGES </button> </div> </div> </div> </div> </form> <!-- Table Section --> <div class="card compact-card shadow-sm border-0 bg-dark-card rounded-4"> <div class="card-header border-0 bg-transparent pt-3 d-flex justify-content-between align-items-center"> <h6 class="text-white fw-bold m-0"><i class="fas fa-th-list text-warning me-2"></i> WHEEL ROADMAP</h6> <button class="btn btn-add-mini" data-bs-toggle="modal" data-bs-target="#addPrizeModal"> <i class="fas fa-plus me-1"></i> ADD NEW </button> </div> <div class="card-body p-0"> <div class="table-responsive"> <table class="table table-dark table-hover table-compact-admin"> <thead> <tr> <th class="ps-4">SEGMENT</th> <th>REWARD</th> <th>PROBABILITY</th> <th class="text-end pe-4">ACTION</th> </tr> </thead> <tbody> <?php $total_weight = array_sum(array_column($prizes, 'probability')) ?: 1; foreach ($prizes as $prize): $chance = round(($prize['probability'] / $total_weight) * 100, 1); ?> <tr> <td class="ps-4"> <div class="d-flex align-items-center gap-2"> <div class="status-dot <?php echo $prize['is_try_again'] ? 'warn' : 'ok'; ?>"></div> <span class="fw-bold text-white small"><?php echo htmlspecialchars($prize['prize_name']); ?></span> </div> </td> <td> <?php if ($prize['is_try_again']): ?> <span class="text-muted extra-small italic">Try Again</span> <?php else: ?> <span class="text-success fw-bold small"><?php echo formatCurrency($prize['prize_amount']); ?></span> <?php endif; ?> </td> <td> <div class="d-flex align-items-center gap-2" style="max-width: 100px;"> <span class="extra-small text-secondary"><?php echo $chance; ?>%</span> <div class="progress-mini"> <div class="fill" style="width: <?php echo $chance; ?>%"></div> </div> </div> </td> <td class="text-end pe-4"> <div class="d-flex justify-content-end gap-2"> <button class="mini-action-btn edit" onclick='openEditModal(<?php echo json_encode($prize); ?>)'> <i class="fas fa-edit"></i> </button> <form method="POST" onsubmit="return confirm('Delete?');" class="d-inline"> <input type="hidden" name="prize_id" value="<?php echo $prize['id']; ?>"> <button type="submit" name="delete_prize" class="mini-action-btn del"> <i class="fas fa-trash-alt"></i> </button> </form> </div> </td> </tr> <?php endforeach; ?> </tbody> </table> </div> </div> </div> </div> <!-- Modals --> <div class="modal fade" id="addPrizeModal" tabindex="-1"> <div class="modal-dialog modal-dialog-centered modal-sm"> <div class="modal-content modal-white-premium shadow-lg"> <form method="POST"> <div class="modal-body p-4"> <button type="button" class="btn-close float-end mb-3" data-bs-dismiss="modal"></button> <div class="clearfix"></div> <label class="premium-input-label">LABEL NAME</label> <input type="text" name="prize_name" class="form-control premium-input mb-4" required> <div class="row g-3 mb-4"> <div class="col-6"> <label class="premium-input-label">AMOUNT ($)</label> <input type="number" step="0.0001" name="prize_amount" class="form-control premium-input" value="0"> </div> <div class="col-6"> <label class="premium-input-label">WEIGHT</label> <input type="number" name="probability" class="form-control premium-input" value="10" required> </div> </div> <div class="form-check form-switch mb-4"> <input class="form-check-input" type="checkbox" name="is_try_again" id="add_try"> <label class="form-check-label text-muted extra-small fw-bold ms-2" for="add_try">TRY AGAIN SEGMENT</label> </div> <button type="submit" name="add_prize" class="btn btn-premium-create w-100">CREATE</button> </div> </form> </div> </div> </div> <div class="modal fade" id="editModal" tabindex="-1"> <div class="modal-dialog modal-dialog-centered modal-sm"> <div class="modal-content modal-white-premium shadow-lg"> <form method="POST"> <div class="modal-body p-4"> <button type="button" class="btn-close float-end mb-3" data-bs-dismiss="modal"></button> <div class="clearfix"></div> <input type="hidden" name="prize_id" id="edit_id"> <label class="premium-input-label">LABEL NAME</label> <input type="text" name="prize_name" id="edit_name" class="form-control premium-input mb-4" required> <div class="row g-3 mb-4"> <div class="col-6"> <label class="premium-input-label">AMOUNT ($)</label> <input type="number" step="0.0001" name="prize_amount" id="edit_amount" class="form-control premium-input"> </div> <div class="col-6"> <label class="premium-input-label">WEIGHT</label> <input type="number" name="probability" id="edit_prob" class="form-control premium-input"> </div> </div> <div class="form-check form-switch mb-4"> <input class="form-check-input" type="checkbox" name="is_try_again" id="edit_try"> <label class="form-check-label text-muted extra-small fw-bold ms-2" for="edit_try">TRY AGAIN SEGMENT</label> </div> <button type="submit" name="edit_prize" class="btn btn-premium-create w-100">SAVE CHANGES</button> </div> </form> </div> </div> </div> <style> /* Reset & Optimized Vertical Layout */ .compact-admin-content { background: #0c0e14; min-height: 100vh; } .extra-small { font-size: 0.6rem; } .fw-bold { font-weight: 700; } .glass-header { background: rgba(22, 27, 34, 0.8); border: 1px solid rgba(255, 255, 255, 0.05); } .mini-status { font-size: 0.7rem; font-weight: 800; padding: 4px 10px; border-radius: 50px; background: rgba(0, 0, 0, 0.3); } .mini-status.enabled { color: #22c55e; border: 1px solid rgba(34, 197, 94, 0.2); } .mini-status.disabled { color: #ef4444; border: 1px solid rgba(239, 68, 68, 0.2); } .mini-status .dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: currentColor; margin-right: 4px; } .compact-card { background: #161b22; border: 1px solid rgba(255, 255, 255, 0.05); border-radius: 16px; } .compact-label { font-size: 0.65rem; font-weight: 800; text-transform: uppercase; color: #64748b; letter-spacing: 0.8px; } /* Power Switch Style */ .mini-power-group { display: flex; background: #0c0e14; padding: 4px; border-radius: 10px; border: 1px solid #30363d; overflow: hidden; } .power-btn { flex: 1; text-align: center; padding: 10px; cursor: pointer; border-radius: 8px; font-size: 0.7rem; font-weight: 800; color: #475569; transition: 0.3s; } #sys_on:checked+.on { background: #22c55e; color: #fff; box-shadow: 0 0 15px rgba(34, 197, 94, 0.3); } #sys_off:checked+.off { background: #ef4444; color: #fff; box-shadow: 0 0 15px rgba(239, 68, 68, 0.3); } /* Filled Input Boxes Fix */ .filled-input-box { background: #0c0e14; border: 1px solid #30363d; border-radius: 12px; display: flex; align-items: center; padding: 12px; transition: 0.3s; height: 100%; } .box-icon { width: 32px; height: 32px; background: rgba(59, 130, 246, 0.1); color: #3b82f6; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 0.9rem; margin-right: 12px; flex-shrink: 0; } .box-body { flex-grow: 1; overflow: hidden; } .box-body small { display: block; font-size: 0.55rem; color: #64748b; font-weight: 800; line-height: 1; margin-bottom: 2px; } .box-body input { width: 100%; border: none; background: transparent; color: #fff; font-weight: 800; font-size: 1rem; outline: none; } /* Action Button */ .btn-save-compact { background: linear-gradient(135deg, #3b82f6, #4f46e5); color: #fff; border: none; padding: 15px 30px; border-radius: 12px; font-weight: 900; font-size: 0.8rem; transition: 0.3s; } .btn-save-compact:hover { transform: scale(1.02); box-shadow: 0 10px 20px rgba(59, 130, 246, 0.3); } /* Weekday Chips */ .schedule-chip-mini label { display: block; padding: 10px 15px; border-radius: 10px; background: #0c0e14; border: 1px solid #30363d; color: #64748b; font-size: 0.65rem; font-weight: 700; cursor: pointer; transition: 0.2s; } .schedule-chip-mini input:checked+label { background: #3b82f6; border-color: #3b82f6; color: #fff; box-shadow: 0 4px 10px rgba(59, 130, 246, 0.2); } /* Table Mini Styles */ .table-compact-admin thead th { border: none; background: rgba(0, 0, 0, 0.2); color: #64748b; text-transform: uppercase; font-size: 0.7rem; padding: 15px; letter-spacing: 0.5px; } .table-compact-admin tbody td { vertical-align: middle; padding: 15px; border-bottom: 1px solid rgba(255, 255, 255, 0.03); } .status-dot { width: 8px; height: 8px; border-radius: 50%; } .status-dot.ok { background: #22c55e; } .status-dot.warn { background: #f59e0b; } .progress-mini { flex: 1; height: 4px; background: #0c0e14; border-radius: 10px; overflow: hidden; } .progress-mini .fill { height: 100%; background: #3b82f6; } /* Action Buttons */ .mini-action-btn { width: 36px; height: 36px; border-radius: 10px; border: none; display: flex; align-items: center; justify-content: center; font-size: 0.9rem; transition: 0.2s; } .mini-action-btn.edit { background: rgba(14, 165, 233, 0.1); color: #0ea5e9; } .mini-action-btn.del { background: rgba(244, 63, 94, 0.1); color: #f43f5e; } .btn-add-mini { background: #10b981; color: #fff; font-size: 0.75rem; font-weight: 800; border-radius: 10px; padding: 8px 16px; border: none; } /* Alerts */ .alert-mini-success { background: rgba(34, 197, 94, 0.1); color: #22c55e; border: 1px solid rgba(34, 197, 94, 0.2); padding: 12px; border-radius: 12px; font-size: 0.85rem; margin-bottom: 25px; } /* White Premium Modal Styles */ .modal-white-premium { background: #fff !important; border-radius: 20px !important; border: none; } .premium-input-label { font-size: 0.65rem; font-weight: 800; color: #64748b; letter-spacing: 1px; margin-bottom: 8px; display: block; } .premium-input { background: #fff !important; border: 1px solid #e2e8f0 !important; color: #1e293b !important; border-radius: 12px !important; padding: 12px 15px !important; font-weight: 600 !important; font-size: 0.9rem !important; } .premium-input:focus { border-color: #3b82f6 !important; box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1) !important; } .btn-premium-create { background: #4caf50 !important; color: #fff !important; font-weight: 900 !important; font-size: 0.85rem !important; letter-spacing: 1px; padding: 15px !important; border-radius: 12px !important; border: none !important; transition: 0.3s; } .btn-premium-create:hover { background: #43a047 !important; transform: translateY(-2px); box-shadow: 0 10px 20px rgba(76, 175, 80, 0.2); } .modal-white-premium .btn-close { opacity: 0.5; } </style> <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.1/dist/js/bootstrap.bundle.min.js"></script> <script> function openEditModal(prize) { document.getElementById('edit_id').value = prize.id; document.getElementById('edit_name').value = prize.prize_name; document.getElementById('edit_amount').value = prize.prize_amount; document.getElementById('edit_prob').value = prize.probability; document.getElementById('edit_try').checked = (parseInt(prize.is_try_again) === 1); var editModal = new bootstrap.Modal(document.getElementById('editModal')); editModal.show(); } </script> <?php include 'footer.php'; ?>