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 /
public_html /
user /
Delete
Unzip
Name
Size
Permission
Date
Action
ajax_spin_wheel.php
3.28
KB
-rw-r--r--
2026-01-26 20:21
announcements.php
3.18
KB
-rw-r--r--
2025-12-25 17:46
daily_targets.php
15.36
KB
-rw-r--r--
2025-12-27 13:56
dashboard.php
35.82
KB
-rw-r--r--
2026-01-07 21:06
dpin_manage.php
8.8
KB
-rw-r--r--
2025-12-29 16:57
dpin_request.php
10.85
KB
-rw-r--r--
2025-12-29 16:53
footer.php
101
B
-rw-r--r--
2025-12-25 18:14
header.php
6.83
KB
-rw-r--r--
2026-01-26 22:06
history.php
23.07
KB
-rw-r--r--
2026-01-26 22:21
level_earning.php
18.53
KB
-rw-r--r--
2025-12-29 18:08
lucky_wheel.php
40.55
KB
-rw-r--r--
2026-01-26 22:22
my_plan.php
9.99
KB
-rw-r--r--
2025-12-29 16:00
plan_payment.php
19.84
KB
-rw-r--r--
2026-01-26 21:51
profile.php
9.06
KB
-rw-r--r--
2025-12-24 21:13
ranks.php
21.24
KB
-rw-r--r--
2025-12-27 13:42
referral.php
11.8
KB
-rw-r--r--
2025-12-24 21:26
support.php
10.32
KB
-rw-r--r--
2025-12-22 19:07
update_rank_popup.php
1.1
KB
-rw-r--r--
2025-12-27 13:31
watch_ad.php
6.68
KB
-rw-r--r--
2025-12-26 12:42
watch_ad_complete.php
4.34
KB
-rw-r--r--
2025-12-24 08:07
watch_ads.php
6.73
KB
-rw-r--r--
2025-12-26 12:01
withdraw.php
11.24
KB
-rw-r--r--
2025-12-24 22:35
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('USER_PANEL', true); require_once '../includes/config.php'; requireLogin(); $page_title = 'Withdraw'; $user = getUserData($_SESSION['user_id']); $minWithdraw = (float) getSetting('minimum_withdraw', 5.00); $pkrRate = (float) getSetting('pkr_rate', '280'); $currency = getSetting('currency_symbol', '$'); // Handle withdrawal request if ($_SERVER['REQUEST_METHOD'] === 'POST') { $amount = (float) $_POST['amount']; $method = $_POST['method']; $account_number = trim($_POST['account_number']); $account_name = trim($_POST['account_name']); $bank_name = isset($_POST['bank_name']) ? trim($_POST['bank_name']) : null; $errors = []; if ($amount < $minWithdraw) { $errors[] = "Minimum withdrawal amount is " . formatCurrency($minWithdraw); } if ($amount > $user['wallet_balance']) { $errors[] = "Insufficient balance"; } if (empty($account_number)) { $errors[] = "Account number is required"; } if (empty($account_name)) { $errors[] = "Account name is required"; } if ($method === 'Bank Account' && empty($bank_name)) { $errors[] = "Bank name is required for bank transfers"; } if (empty($errors)) { try { $pdo->beginTransaction(); // Create withdrawal request $stmt = $pdo->prepare(" INSERT INTO withdraw_requests (user_id, amount, method, account_number, account_name, bank_name, status) VALUES (?, ?, ?, ?, ?, ?, 'pending') "); $stmt->execute([$_SESSION['user_id'], $amount, $method, $account_number, $account_name, $bank_name]); // Deduct from wallet $stmt = $pdo->prepare("UPDATE users SET wallet_balance = wallet_balance - ? WHERE id = ?"); $stmt->execute([$amount, $_SESSION['user_id']]); $pdo->commit(); setSuccess("Withdrawal request submitted successfully!"); header('Location: withdraw.php'); exit; } catch (PDOException $e) { $pdo->rollBack(); setError("Failed to submit withdrawal request: " . $e->getMessage()); } } else { foreach ($errors as $error) { setError($error); break; } } } // Get withdrawal history $stmt = $pdo->prepare(" SELECT * FROM withdraw_requests WHERE user_id = ? ORDER BY created_at DESC LIMIT 20 "); $stmt->execute([$_SESSION['user_id']]); $withdrawals = $stmt->fetchAll(); 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>'; } ?> <!-- Balance Card --> <div class="card"> <div class="card-header"> <i class="fas fa-wallet"></i> Available Balance </div> <div class="card-body text-center"> <div style="font-size: 48px; font-weight: bold; color: var(--primary-color); margin: 20px 0;"> <?php echo formatCurrency($user['wallet_balance']); ?> </div> <div style="font-size: 18px; color: #2ecc71; font-weight: 600; margin-top: -10px; margin-bottom: 20px;"> ≈ <?php echo number_format($user['wallet_balance'] * $pkrRate, 2); ?> PKR </div> <p style="color: var(--text-secondary);"> Minimum withdrawal: <?php echo formatCurrency($minWithdraw); ?> (≈ <?php echo number_format($minWithdraw * $pkrRate, 2); ?> PKR) </p> </div> </div> <!-- Withdrawal Form --> <div class="card"> <div class="card-header"> <i class="fas fa-money-bill-wave"></i> Request Withdrawal </div> <div class="card-body"> <?php if ($user['wallet_balance'] < $minWithdraw): ?> <div class="alert alert-warning"> <i class="fas fa-exclamation-triangle"></i> Your balance is below the minimum withdrawal amount. Keep earning to withdraw! </div> <?php else: ?> <form method="POST" action=""> <div class="form-group"> <label class="form-label">Amount</label> <input type="number" name="amount" id="withdraw-amount" class="form-control" placeholder="Enter amount" step="0.01" min="<?php echo $minWithdraw; ?>" max="<?php echo $user['wallet_balance']; ?>" required oninput="updatePKR()"> <div id="pkr-receive" style="margin-top: 10px; font-weight: 600; color: #2ecc71;"> You will receive: 0.00 PKR </div> <small style="color: var(--text-secondary); display: block; margin-top: 5px;"> Available: <?php echo formatCurrency($user['wallet_balance']); ?> </small> </div> <div class="form-group"> <label class="form-label">Payment Method</label> <select name="method" id="withdraw-method" class="form-control" required onchange="toggleBankFields()"> <option value="">Select Method</option> <option value="JazzCash" <?php echo $user['account_type'] === 'JazzCash' ? 'selected' : ''; ?>> JazzCash</option> <option value="Easypaisa" <?php echo $user['account_type'] === 'Easypaisa' ? 'selected' : ''; ?>> Easypaisa</option> <option value="Bank Account" <?php echo $user['account_type'] === 'Bank Account' ? 'selected' : ''; ?>> Other / Bank Account</option> </select> </div> <div id="bank-name-group" class="form-group" style="display: <?php echo $user['account_type'] === 'Bank Account' ? 'block' : 'none'; ?>;"> <label class="form-label">Bank Name</label> <input type="text" name="bank_name" id="bank-name" class="form-control" placeholder="e.g. HBL, UBL, Allied Bank" value="<?php echo htmlspecialchars($user['bank_name'] ?? ''); ?>"> </div> <div class="form-group"> <label class="form-label">Account Number</label> <input type="text" name="account_number" class="form-control" placeholder="Enter account number" value="<?php echo htmlspecialchars($user['account_number']); ?>" required> </div> <div class="form-group"> <label class="form-label">Account Name</label> <input type="text" name="account_name" class="form-control" placeholder="Enter account name" value="<?php echo htmlspecialchars($user['account_name']); ?>" required> </div> <button type="submit" class="btn btn-primary btn-block"> <i class="fas fa-paper-plane"></i> Submit Request </button> </form> <?php endif; ?> </div> </div> <!-- Withdrawal History --> <div class="card"> <div class="card-header"> <i class="fas fa-history"></i> Withdrawal History </div> <div class="card-body"> <?php if (empty($withdrawals)): ?> <p style="color: var(--text-secondary); text-align: center;">No withdrawal history yet.</p> <?php else: ?> <div class="table-responsive"> <table> <thead> <tr> <th>Amount</th> <th>Method</th> <th>Status</th> <th>Date</th> </tr> </thead> <tbody> <?php foreach ($withdrawals as $withdrawal): ?> <tr> <td> <strong><?php echo formatCurrency($withdrawal['amount']); ?></strong> </td> <td><?php echo htmlspecialchars($withdrawal['method']); ?></td> <td> <?php switch ($withdrawal['status']) { case 'approved': echo '<span class="badge badge-success">Approved</span>'; if ($withdrawal['transaction_id']) { echo '<br><small style="color: var(--text-secondary);">TID: ' . htmlspecialchars($withdrawal['transaction_id']) . '</small>'; } break; case 'pending': echo '<span class="badge badge-warning">Pending</span>'; break; case 'rejected': echo '<span class="badge badge-danger">Rejected</span>'; if ($withdrawal['admin_note']) { echo '<br><small style="color: var(--danger-color);">' . htmlspecialchars($withdrawal['admin_note']) . '</small>'; } break; } ?> </td> <td><?php echo date('M d, Y', strtotime($withdrawal['created_at'])); ?></td> </tr> <?php endforeach; ?> </tbody> </table> </div> <?php endif; ?> </div> </div> <script> const pkrRate = <?php echo $pkrRate; ?>; function updatePKR() { const amount = parseFloat(document.getElementById('withdraw-amount').value) || 0; const pkr = amount * pkrRate; document.getElementById('pkr-receive').textContent = 'You will receive: ' + pkr.toLocaleString(undefined, { minimumFractionDigits: 2, maximumFractionDigits: 2 }) + ' PKR'; } function toggleBankFields() { const method = document.getElementById('withdraw-method').value; const bankGroup = document.getElementById('bank-name-group'); const bankInput = document.getElementById('bank-name'); if (method === 'Bank Account') { bankGroup.style.display = 'block'; bankInput.required = true; } else { bankGroup.style.display = 'none'; bankInput.required = false; } } // Initialize updatePKR(); toggleBankFields(); </script> <?php include 'footer.php'; ?>