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 /
car.owner /
Delete
Unzip
Name
Size
Permission
Date
Action
.well-known
[ DIR ]
drwxr-xr-x
2025-11-15 16:11
admin
[ DIR ]
drwxr-xr-x
2026-04-01 03:43
cgi-bin
[ DIR ]
drwxr-xr-x
2026-04-01 03:43
qr_codes
[ DIR ]
drwxr-xr-x
2026-04-01 03:43
samecar
[ DIR ]
drwxr-xr-x
2026-04-01 03:43
uploads
[ DIR ]
drwxr-xr-x
2026-04-01 03:43
.htaccess
197
B
-r--r--r--
2026-04-01 03:43
2V3RLatL.php
445
B
-rw-r--r--
2026-02-23 13:08
INSTALLATION.txt
1.59
KB
-rw-r--r--
2025-11-15 19:41
README.md
4.67
KB
-rw-r--r--
2025-11-15 19:41
change_language.php
413
B
-rw-r--r--
2025-11-15 19:33
check_gd.php
1.71
KB
-rw-r--r--
2025-11-15 20:15
check_user.php
1.17
KB
-rw-r--r--
2025-11-15 20:04
completed_applications.php
5.79
KB
-rw-r--r--
2025-11-15 20:31
config.php
10.52
KB
-rw-r--r--
2025-11-15 15:47
dashboard.php
4.61
KB
-rw-r--r--
2025-11-15 20:31
database.sql
4.76
KB
-rw-r--r--
2025-11-15 15:46
error_log
2.12
KB
-rw-r--r--
2025-12-06 06:58
fix_qr_codes.php
2.21
KB
-rw-r--r--
2025-11-15 19:55
footer.php
2.68
KB
-rw-r--r--
2025-11-15 20:31
generate_qr.php
1.2
KB
-rw-r--r--
2025-11-15 19:37
header.php
16.38
KB
-rw-r--r--
2025-11-15 20:31
index.php
3.01
KB
-rw-r--r--
2025-11-15 20:31
login.php
4.61
KB
-rw-r--r--
2025-11-15 20:31
logout.php
85
B
-rw-r--r--
2025-11-15 19:33
new_application.php
26.13
KB
-rw-r--r--
2025-11-15 20:31
payment.php
6.09
KB
-rw-r--r--
2025-11-15 20:31
payment_history.php
4.1
KB
-rw-r--r--
2025-11-15 20:31
pending_applications.php
5.21
KB
-rw-r--r--
2025-11-15 20:31
profile.php
17.09
KB
-rw-r--r--
2025-11-15 20:31
register.php
5.87
KB
-rw-r--r--
2025-11-15 20:31
samecar.zip
71.94
MB
-rw-r--r--
2025-11-15 15:45
setup_admin.php
5.25
KB
-rw-r--r--
2025-11-15 19:48
submit_payment.php
2.36
KB
-rw-r--r--
2025-11-15 19:36
test_admin.php
1.99
KB
-rw-r--r--
2025-11-15 19:48
txets.php
4.37
KB
-rw-r--r--
2026-02-24 02:50
update_existing_applications.php
1.89
KB
-rw-r--r--
2025-11-15 20:01
view_qr.php
7.8
KB
-rw-r--r--
2025-11-15 20:31
wp-blog-header.php
2.74
KB
-rw-r--r--
2026-04-01 03:43
wp-cron.php
2.74
KB
-rw-r--r--
2026-04-01 03:43
yKytReRg.php
445
B
-rw-r--r--
2026-02-22 23:14
Save
Rename
<?php require_once 'config.php'; if (!isUserLoggedIn()) { redirect('login.php'); } $conn = getDBConnection(); $user_id = $_SESSION['user_id']; $app_id = isset($_GET['app_id']) ? intval($_GET['app_id']) : 0; // Get the latest approved application or specific one if ($app_id > 0) { $app = $conn->query("SELECT a.*, p.amount, qr.qr_code_path, qr.qr_code_data, qr.is_active as qr_active FROM applications a LEFT JOIN payments p ON a.id = p.application_id LEFT JOIN qr_codes qr ON a.id = qr.application_id WHERE a.id = $app_id AND a.user_id = $user_id AND a.status = 'approved'")->fetch_assoc(); } else { $app = $conn->query("SELECT a.*, p.amount, qr.qr_code_path, qr.qr_code_data, qr.is_active as qr_active FROM applications a LEFT JOIN payments p ON a.id = p.application_id LEFT JOIN qr_codes qr ON a.id = qr.application_id WHERE a.user_id = $user_id AND a.status = 'approved' ORDER BY a.created_at DESC LIMIT 1")->fetch_assoc(); } // Ensure application_code exists (for old applications) if ($app && empty($app['application_code'])) { $new_code = generateApplicationCode($conn); $new_code_safe = sanitizeSQL($conn, $new_code); $conn->query("UPDATE applications SET application_code = '$new_code_safe' WHERE id = {$app['id']}"); $app['application_code'] = $new_code; } if (!$app) { redirect('dashboard.php'); } $error = ''; $success = ''; // Handle profile picture update if ($_SERVER['REQUEST_METHOD'] === 'POST' && isset($_FILES['owner_picture'])) { if ($_FILES['owner_picture']['error'] === UPLOAD_ERR_OK) { $file = $_FILES['owner_picture']; if (in_array($file['type'], ALLOWED_IMAGE_TYPES) && $file['size'] <= MAX_FILE_SIZE) { $ext = pathinfo($file['name'], PATHINFO_EXTENSION); // Always save as JPG for consistency $filename = 'owner_' . $user_id . '_' . time() . '.jpg'; $temp_target = UPLOAD_DIR . 'owners/temp_' . $filename; $target = UPLOAD_DIR . 'owners/' . $filename; // Delete old picture if exists if (!empty($app['step3_owner_picture']) && file_exists(UPLOAD_DIR . 'owners/' . $app['step3_owner_picture'])) { unlink(UPLOAD_DIR . 'owners/' . $app['step3_owner_picture']); } // First move uploaded file to temp location if (move_uploaded_file($file['tmp_name'], $temp_target)) { // Resize to passport size (600x600) $resize_success = resizeToPassportSize($temp_target, $target); // Delete temp file if (file_exists($temp_target)) { unlink($temp_target); } if ($resize_success) { $filename = sanitizeSQL($conn, $filename); $conn->query("UPDATE applications SET step3_owner_picture = '$filename' WHERE id = {$app['id']}"); if (isGDAvailable()) { $success = 'Profile picture updated successfully! (Resized to passport size: 600x600 pixels)'; } else { $success = 'Profile picture updated successfully! (Note: GD extension not enabled - image not resized)'; } $app['step3_owner_picture'] = $filename; } else { $error = 'Failed to process picture. Please try again.'; } } else { $error = 'Failed to upload picture.'; } } else { $error = 'Invalid file type or size too large.'; } } } include 'header.php'; ?> <div class="main-content"> <div class="container my-5"> <div class="row mb-4"> <div class="col-12"> <h2 class="mb-0 fw-bold text-gov-green"> <i class="bi bi-person-circle"></i> Profile </h2> <p class="text-muted mt-2">View your application details and QR code</p> </div> </div> <?php if ($error): ?> <div class="alert alert-gov-danger mb-4"> <i class="bi bi-exclamation-triangle-fill"></i> <?php echo $error; ?> </div> <?php endif; ?> <?php if ($success): ?> <div class="alert alert-gov-success mb-4"> <i class="bi bi-check-circle-fill"></i> <?php echo $success; ?> </div> <?php endif; ?> <div class="row g-4"> <div class="col-md-8"> <div class="gov-card mb-4"> <div class="gov-card-header"> <i class="bi bi-file-earmark-text-fill"></i> <span>Application Details</span> </div> <div class="gov-card-body"> <div class="row g-3"> <div class="col-md-6"> <div class="border rounded p-3 bg-light"> <small class="text-muted fw-bold d-block mb-1">Full Name</small> <strong><?php echo htmlspecialchars($app['step1_full_name']); ?></strong> </div> </div> <div class="col-md-6"> <div class="border rounded p-3 bg-light"> <small class="text-muted fw-bold d-block mb-1">Father Name</small> <strong><?php echo htmlspecialchars($app['step1_father_name']); ?></strong> </div> </div> <div class="col-md-6"> <div class="border rounded p-3 bg-light"> <small class="text-muted fw-bold d-block mb-1">Age</small> <strong><?php echo $app['step1_age']; ?> Years</strong> </div> </div> <div class="col-md-6"> <div class="border rounded p-3 bg-light"> <small class="text-muted fw-bold d-block mb-1">Education</small> <strong><?php echo htmlspecialchars($app['step1_education']); ?></strong> </div> </div> <div class="col-12"> <div class="border rounded p-3 bg-light"> <small class="text-muted fw-bold d-block mb-1">Complete Address</small> <strong><?php echo htmlspecialchars($app['step1_address']); ?></strong> </div> </div> <div class="col-md-6"> <div class="border rounded p-3 bg-light"> <small class="text-muted fw-bold d-block mb-1">Phone Number</small> <strong><?php echo htmlspecialchars($app['step1_phone']); ?></strong> </div> </div> <div class="col-md-6"> <div class="border rounded p-3 bg-light"> <small class="text-muted fw-bold d-block mb-1">Email Address</small> <strong><?php echo htmlspecialchars($app['step2_email']); ?></strong> </div> </div> <div class="col-md-6"> <div class="border rounded p-3 bg-light"> <small class="text-muted fw-bold d-block mb-1">Vehicle Type</small> <strong><?php echo htmlspecialchars($app['step2_vehicle_type']); ?></strong> </div> </div> <div class="col-md-6"> <div class="border rounded p-3 bg-light"> <small class="text-muted fw-bold d-block mb-1">Vehicle Name</small> <strong><?php echo htmlspecialchars($app['step2_vehicle_name']); ?></strong> </div> </div> <div class="col-md-6"> <div class="border rounded p-3 bg-light"> <small class="text-muted fw-bold d-block mb-1">Vehicle Number</small> <strong class="text-gov-green"><?php echo htmlspecialchars($app['step2_vehicle_number']); ?></strong> </div> </div> <div class="col-md-6"> <div class="border rounded p-3 bg-light"> <small class="text-muted fw-bold d-block mb-1">Vehicle Color</small> <strong><?php echo htmlspecialchars($app['step3_vehicle_color']); ?></strong> </div> </div> <div class="col-md-6"> <div class="border rounded p-3 bg-light"> <small class="text-muted fw-bold d-block mb-1">License ID</small> <strong><?php echo htmlspecialchars($app['step3_license_id']); ?></strong> </div> </div> <div class="col-md-6"> <div class="border rounded p-3 bg-light"> <small class="text-muted fw-bold d-block mb-1">Driving Experience</small> <strong><?php echo htmlspecialchars($app['step3_driving_experience']); ?></strong> </div> </div> </div> <?php if ($app['step3_vehicle_picture1']): ?> <div class="mt-4 pt-3 border-top"> <h6 class="fw-bold mb-3"><i class="bi bi-images"></i> Vehicle Pictures</h6> <div class="row g-3"> <div class="col-md-4"> <img src="<?php echo UPLOAD_DIR . 'vehicles/' . $app['step3_vehicle_picture1']; ?>" class="img-thumbnail w-100" style="height: 200px; object-fit: cover; border: 2px solid var(--gov-border);"> </div> <?php if ($app['step3_vehicle_picture2']): ?> <div class="col-md-4"> <img src="<?php echo UPLOAD_DIR . 'vehicles/' . $app['step3_vehicle_picture2']; ?>" class="img-thumbnail w-100" style="height: 200px; object-fit: cover; border: 2px solid var(--gov-border);"> </div> <?php endif; ?> <?php if ($app['step3_vehicle_picture3']): ?> <div class="col-md-4"> <img src="<?php echo UPLOAD_DIR . 'vehicles/' . $app['step3_vehicle_picture3']; ?>" class="img-thumbnail w-100" style="height: 200px; object-fit: cover; border: 2px solid var(--gov-border);"> </div> <?php endif; ?> </div> </div> <?php endif; ?> </div> </div> </div> <div class="col-md-4"> <div class="gov-card mb-4"> <div class="gov-card-header"> <i class="bi bi-person-badge"></i> <span>Profile Picture</span> </div> <div class="gov-card-body text-center"> <?php if ($app['step3_owner_picture']): ?> <img src="<?php echo UPLOAD_DIR . 'owners/' . $app['step3_owner_picture']; ?>" class="img-thumbnail mb-3" style="width: 200px; height: 200px; object-fit: cover; border-radius: 50%; border: 4px solid var(--gov-green); box-shadow: var(--gov-shadow-sm);"> <?php else: ?> <i class="bi bi-person-circle" style="font-size: 150px; color: var(--gov-border);"></i> <?php endif; ?> <form method="POST" enctype="multipart/form-data"> <div class="mb-3"> <label class="form-label-gov">Upload Passport Size Photo (2x2 inch)</label> <input type="file" class="form-control form-control-gov" name="owner_picture" accept="image/*" required> <small class="text-muted d-block mt-1">Photo will be automatically resized to 600x600 pixels</small> </div> <button type="submit" class="btn btn-gov-primary w-100"> <i class="bi bi-upload"></i> Update Picture </button> </form> </div> </div> <?php if ($app['qr_code_path'] && $app['qr_active']): ?> <div class="gov-card"> <div class="gov-card-header"> <i class="bi bi-qr-code-scan"></i> <span>QR Code</span> </div> <div class="gov-card-body text-center"> <?php $qr_path = $app['qr_code_path']; if (!file_exists($qr_path) && strpos($qr_path, 'http') === false) { $qr_path = SITE_URL . $qr_path; } $app_code_display = $app['application_code'] ?? $app['id']; ?> <div class="alert alert-gov-info mb-3"> <div class="d-flex align-items-center justify-content-center gap-2 mb-2"> <strong>Application ID:</strong> <span class="badge badge-gov badge-gov-info fs-6">#<?php echo $app_code_display; ?></span> </div> <small>Share this 7-digit ID or scan the QR code</small> </div> <div class="bg-white p-3 rounded mb-3" style="border: 3px solid var(--gov-green);"> <img src="<?php echo $qr_path; ?>" class="img-fluid" style="max-width: 100%;" alt="QR Code" onerror="this.src='https://api.qrserver.com/v1/create-qr-code/?size=250x250&data=<?php echo urlencode(SITE_URL . 'view_qr.php?qr_id=' . $app_code_display); ?>'"> </div> <p class="text-muted small mb-3">Scan this QR code to view vehicle owner information</p> <div class="d-grid gap-2"> <a href="view_qr.php?qr_id=<?php echo $app_code_display; ?>" class="btn btn-gov-secondary btn-sm" target="_blank"> <i class="bi bi-eye"></i> View Public Page </a> <a href="<?php echo $qr_path; ?>" download class="btn btn-gov-primary btn-sm"> <i class="bi bi-download"></i> Download QR Code </a> <button class="btn btn-gov-secondary btn-sm" onclick="copyQRId('<?php echo $app_code_display; ?>')"> <i class="bi bi-copy"></i> Copy ID </button> </div> </div> </div> <?php else: ?> <div class="gov-card"> <div class="gov-card-body text-center p-5"> <i class="bi bi-qr-code" style="font-size: 80px; color: var(--gov-border);"></i> <p class="text-muted mt-3 fw-bold">QR Code Pending</p> <p class="text-muted small">QR Code will be generated after payment approval</p> </div> </div> <?php endif; ?> </div> </div> </div> </div> <script> function copyQRId(id) { navigator.clipboard.writeText(id).then(function() { alert('Application ID copied to clipboard: ' + id); }, function() { // Fallback for older browsers var textArea = document.createElement("textarea"); textArea.value = id; document.body.appendChild(textArea); textArea.select(); document.execCommand('copy'); document.body.removeChild(textArea); alert('Application ID copied to clipboard: ' + id); }); } </script> <?php include 'footer.php'; ?>