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 /
.trash /
user.1 /
Delete
Unzip
Name
Size
Permission
Date
Action
ads.php
4.94
KB
-rw-r--r--
2025-10-17 23:43
dashboard.php
10.78
KB
-rw-r--r--
2025-10-18 00:40
deposit.php
6.02
KB
-rw-r--r--
2025-10-17 23:02
deposit_history.php
3.23
KB
-rw-r--r--
2025-10-17 23:03
dpin.php
5.9
KB
-rw-r--r--
2025-10-17 23:03
footer.php
565
B
-rw-r--r--
2025-10-17 23:02
header.php
12.32
KB
-rw-r--r--
2025-10-18 02:06
invite.php
3.53
KB
-rw-r--r--
2025-10-18 00:19
membership.php
11.7
KB
-rw-r--r--
2025-10-18 00:56
profile.php
5.27
KB
-rw-r--r--
2025-10-17 23:04
team.php
5.26
KB
-rw-r--r--
2025-10-17 23:50
transactions.php
3.85
KB
-rw-r--r--
2025-10-17 23:04
withdraw.php
6.19
KB
-rw-r--r--
2025-10-17 23:03
Save
Rename
<?php $title = 'Deposit'; include 'header.php'; $error = ''; $success = ''; // Get available deposit methods try { $stmt = $pdo->prepare("SELECT * FROM methods WHERE type = 'deposit'"); $stmt->execute(); $methods = $stmt->fetchAll(); } catch (PDOException $e) { $methods = []; $error = 'Failed to load deposit methods.'; } // Handle form submission if ($_SERVER['REQUEST_METHOD'] === 'POST') { $method_id = $_POST['method']; $amount = floatval($_POST['amount']); // Validate inputs if (empty($method_id) || $amount <= 0) { $error = 'Please select a method and enter a valid amount.'; } else { try { // Get method details $stmt = $pdo->prepare("SELECT * FROM methods WHERE id = ? AND type = 'deposit'"); $stmt->execute([$method_id]); $method = $stmt->fetch(); if (!$method) { $error = 'Invalid deposit method selected.'; } else { // Handle file upload $receipt_path = null; if (isset($_FILES['receipt']) && $_FILES['receipt']['error'] === UPLOAD_ERR_OK) { $upload_dir = '../uploads/receipts/'; if (!file_exists($upload_dir)) { mkdir($upload_dir, 0777, true); } $file_extension = pathinfo($_FILES['receipt']['name'], PATHINFO_EXTENSION); $allowed_extensions = ['jpg', 'jpeg', 'png', 'gif', 'pdf']; if (in_array(strtolower($file_extension), $allowed_extensions)) { $filename = uniqid() . '.' . $file_extension; $target_path = $upload_dir . $filename; if (move_uploaded_file($_FILES['receipt']['tmp_name'], $target_path)) { $receipt_path = 'uploads/receipts/' . $filename; } } } // Insert deposit record $stmt = $pdo->prepare("INSERT INTO deposits (user_id, amount, method, receipt, status) VALUES (?, ?, ?, ?, 'pending')"); $stmt->execute([$_SESSION['user_id'], $amount, $method['name'], $receipt_path]); $success = 'Deposit request submitted successfully. Please wait for admin approval.'; } } catch (PDOException $e) { $error = 'Failed to submit deposit request. Please try again.'; } } } ?> <div class="d-flex justify-content-between flex-wrap flex-md-nowrap align-items-center pt-3 pb-2 mb-3 border-bottom"> <h1 class="h2">Deposit Funds</h1> </div> <?php if ($error): ?> <div class="alert alert-danger"><?php echo htmlspecialchars($error); ?></div> <?php endif; ?> <?php if ($success): ?> <div class="alert alert-success"><?php echo htmlspecialchars($success); ?></div> <?php endif; ?> <div class="row"> <div class="col-md-6"> <div class="card"> <div class="card-body"> <h5 class="card-title">Select Deposit Method</h5> <form method="POST" enctype="multipart/form-data"> <div class="mb-3"> <label for="method" class="form-label">Deposit Method</label> <select class="form-select" id="method" name="method" required> <option value="">Select a method</option> <?php foreach ($methods as $method): ?> <option value="<?php echo $method['id']; ?>"><?php echo htmlspecialchars($method['name']); ?></option> <?php endforeach; ?> </select> </div> <div class="mb-3"> <label for="amount" class="form-label">Amount (₨)</label> <input type="number" class="form-control" id="amount" name="amount" min="1" step="0.01" required> </div> <div class="mb-3"> <label for="receipt" class="form-label">Payment Receipt</label> <input type="file" class="form-control" id="receipt" name="receipt" accept=".jpg,.jpeg,.png,.gif,.pdf"> </div> <button type="submit" class="btn btn-primary">Submit Deposit Request</button> </form> </div> </div> </div> <div class="col-md-6"> <div class="card"> <div class="card-body"> <h5 class="card-title">Method Details</h5> <div id="method-details"> <p>Select a deposit method to view details.</p> </div> </div> </div> </div> </div> <script> document.getElementById('method').addEventListener('change', function() { const methodId = this.value; const methodDetails = document.getElementById('method-details'); if (methodId) { // In a real application, you would fetch method details via AJAX // For now, we'll just display a placeholder methodDetails.innerHTML = ` <div class="alert alert-info"> <h6>Payment Instructions</h6> <p>Please send the amount to the following account:</p> <ul> <li><strong>Account Name:</strong> Share & Earn</li> <li><strong>Account Number:</strong> 1234567890</li> <li><strong>Instructions:</strong> Send money and upload receipt</li> </ul> <p class="mb-0">After sending the payment, please upload the receipt/screenshot.</p> </div> `; } else { methodDetails.innerHTML = '<p>Select a deposit method to view details.</p>'; } }); </script> <?php include 'footer.php'; ?>