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 /
public /
Delete
Unzip
Name
Size
Permission
Date
Action
data
[ DIR ]
drwxr-xr-x
2025-09-15 23:22
uploads
[ DIR ]
drwxr-xr-x
2025-09-15 18:00
COMPLETE_SETUP_GUIDE.md
5.02
KB
-rw-r--r--
2025-09-15 23:45
DATABASE_SETUP.md
2.84
KB
-rw-r--r--
2025-09-15 23:41
FIX_ACCESS_DENIED.md
2.36
KB
-rw-r--r--
2025-09-16 00:07
MIGRATION_SUMMARY.md
4.28
KB
-rw-r--r--
2025-09-15 23:45
NEXT_STEPS.md
2.18
KB
-rw-r--r--
2025-09-15 23:45
PHPMYADMIN_SETUP_GUIDE.md
3.61
KB
-rw-r--r--
2025-09-15 23:43
QUICK_FIX_INSTRUCTIONS.md
1.99
KB
-rw-r--r--
2025-09-16 00:09
admin-dashboard.html
25.26
KB
-rw-r--r--
2025-09-15 17:29
admin-login.html
5.25
KB
-rw-r--r--
2025-09-15 02:24
admin-profile.html
24.21
KB
-rw-r--r--
2025-09-15 17:43
analytics.html
25.08
KB
-rw-r--r--
2025-09-15 16:13
check_mysql.php
1.33
KB
-rw-r--r--
2025-09-15 23:44
cleanup_duplicates.php
1.46
KB
-rw-r--r--
2025-09-15 23:08
complete_workflow_test.php
4.46
KB
-rw-r--r--
2025-09-15 23:22
create_test_user.php
1.15
KB
-rw-r--r--
2025-09-15 23:20
database.php
4.29
KB
-rw-r--r--
2025-09-15 23:43
database_mysql.php
9.98
KB
-rw-r--r--
2025-09-16 00:08
db_config.php
587
B
-rw-r--r--
2025-09-16 00:07
demo-enhanced.html
45.46
KB
-rw-r--r--
2025-09-15 01:43
deposit.html
10.83
KB
-rw-r--r--
2025-09-15 17:08
error_log
825
B
-rw-r--r--
2025-10-04 15:48
fastearnads.sql
6.12
KB
-rw-r--r--
2025-09-15 23:39
fastearnads_tables_only.sql
5.96
KB
-rw-r--r--
2025-09-16 00:07
final_test.php
4.73
KB
-rw-r--r--
2025-09-15 23:29
import_database.bat
1.03
KB
-rw-r--r--
2025-09-15 23:45
index.php
50.11
KB
-rw-r--r--
2025-09-15 23:40
manage-ads.html
25.39
KB
-rw-r--r--
2025-09-15 16:12
manage-users.html
42.4
KB
-rw-r--r--
2025-09-15 16:54
manage-withdraws.html
49.19
KB
-rw-r--r--
2025-09-15 15:54
migrate_data.php
1.6
KB
-rw-r--r--
2025-09-15 23:40
simple-login.html
1.19
KB
-rw-r--r--
2025-09-15 02:08
start_mysql.bat
948
B
-rw-r--r--
2025-09-15 23:45
test_admin_approval.php
3.55
KB
-rw-r--r--
2025-09-15 23:21
test_connection_with_user.php
1.9
KB
-rw-r--r--
2025-09-15 19:19
test_db_connection.php
1.54
KB
-rw-r--r--
2025-09-15 23:41
test_deposit_fix.php
2.88
KB
-rw-r--r--
2025-09-15 23:09
test_frontend.html
3.49
KB
-rw-r--r--
2025-09-15 23:22
test_user_activity_history.php
2.96
KB
-rw-r--r--
2025-09-15 23:21
user-ads.html
18.36
KB
-rw-r--r--
2025-09-15 14:39
user-dashboard.html
47.77
KB
-rw-r--r--
2025-09-15 23:26
user-login.html
5.78
KB
-rw-r--r--
2025-09-15 02:27
user-profile.html
33.93
KB
-rw-r--r--
2025-09-15 18:33
user-register.html
7.56
KB
-rw-r--r--
2025-09-15 02:27
user-transactions.html
31.83
KB
-rw-r--r--
2025-09-15 22:58
user-withdraw.html
29.48
KB
-rw-r--r--
2025-09-15 21:52
user-withdrawals.html
29.17
KB
-rw-r--r--
2025-09-15 21:51
waiting-approval.html
5.46
KB
-rw-r--r--
2025-09-15 03:23
Save
Rename
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Analytics - FastEarnAds Admin</title> <script src="https://cdn.tailwindcss.com"></script> <script defer src="https://unpkg.com/alpinejs@3.x.x/dist/cdn.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/chart.js"></script> <style> [x-cloak] { display: none !important; } .modal-enter { animation: modalEnter 0.3s ease-out; } @keyframes modalEnter { from { opacity: 0; transform: scale(0.9) translateY(-10px); } to { opacity: 1; transform: scale(1) translateY(0); } } .success-pulse { animation: successPulse 0.6s ease-in-out; } @keyframes successPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } } </style> </head> <body class="bg-gray-50" x-data="analyticsData()" x-init="loadData()"> <!-- Header --> <header class="bg-white shadow-sm border-b border-gray-200"> <div class="max-w-7xl mx-auto px-4 py-4"> <div class="flex items-center justify-between"> <div class="flex items-center space-x-4"> <div class="w-10 h-10 bg-gradient-to-r from-yellow-500 to-orange-600 rounded-lg flex items-center justify-center"> <svg class="w-6 h-6 text-white" fill="none" viewBox="0 0 24 24" stroke="currentColor"> <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 19v-6a2 2 0 00-2-2H5a2 2 0 00-2 2v6a2 2 0 002 2h2a2 2 0 002-2zm0 0V9a2 2 0 012-2h2a2 2 0 012 2v10m-6 0a2 2 0 002 2h2a2 2 0 002-2m0 0V5a2 2 0 012-2h2a2 2 0 012 2v4a2 2 0 01-2 2H9a2 2 0 00-2 2z"/> </svg> </div> <div> <h1 class="text-xl font-bold text-gray-900">Analytics Dashboard</h1> <p class="text-sm text-gray-600">Platform performance and insights</p> </div> </div> <button onclick="window.location.href='/admin/dashboard'" class="bg-gray-600 text-white px-4 py-2 rounded-lg hover:bg-gray-700"> Back to Dashboard </button> </div> </div> </header> <!-- Main Content --> <div class="max-w-7xl mx-auto px-4 py-8"> <!-- Loading State --> <div x-show="loading" class="text-center py-12"> <div class="animate-spin rounded-full h-12 w-12 border-b-2 border-indigo-600 mx-auto"></div> <p class="text-gray-600 mt-4">Loading analytics data...</p> </div> <!-- Analytics Content --> <div x-show="!loading"> <!-- Overview Stats --> <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6 mb-8"> <div class="bg-white rounded-xl p-6 shadow-sm border"> <div class="flex items-center justify-between"> <div> <p class="text-sm font-medium text-gray-600 mb-1">Total Users</p> <p class="text-3xl font-bold text-gray-900" x-text="stats.totalUsers">0</p> <p class="text-sm text-green-600">+12% from last month</p> </div> <div class="w-12 h-12 bg-blue-100 rounded-lg flex items-center justify-center"> <svg class="w-6 h-6 text-blue-600" fill="none" viewBox="0 0 24 24" stroke="currentColor"> <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 4.354a4 4 0 110 5.292M15 21H3v-1a6 6 0 0112 0v1zm0 0h6v-1a6 6 0 00-9-5.197m13.5-9a2.5 2.5 0 11-5 0 2.5 2.5 0 015 0z"/> </svg> </div> </div> </div> <div class="bg-white rounded-xl p-6 shadow-sm border"> <div class="flex items-center justify-between"> <div> <p class="text-sm font-medium text-gray-600 mb-1">Active Users</p> <p class="text-3xl font-bold text-gray-900" x-text="stats.activeUsers">0</p> <p class="text-sm text-green-600">+8% from last month</p> </div> <div class="w-12 h-12 bg-green-100 rounded-lg flex items-center justify-center"> <svg class="w-6 h-6 text-green-600" fill="none" viewBox="0 0 24 24" stroke="currentColor"> <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z"/> </svg> </div> </div> </div> <div class="bg-white rounded-xl p-6 shadow-sm border"> <div class="flex items-center justify-between"> <div> <p class="text-sm font-medium text-gray-600 mb-1">Total Revenue</p> <p class="text-3xl font-bold text-gray-900" x-text="formatCurrency(stats.totalRevenue)">$0.00</p> <p class="text-sm text-green-600">+25% from last month</p> </div> <div class="w-12 h-12 bg-purple-100 rounded-lg flex items-center justify-center"> <svg class="w-6 h-6 text-purple-600" fill="none" viewBox="0 0 24 24" stroke="currentColor"> <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 8c-1.657 0-3 .895-3 2s1.343 2 3 2 3 .895 3 2-1.343 2-3 2m0-8c1.11 0 2.08.402 2.599 1M12 8V7m0 1v8m0 0v1m0-1c-1.11 0-2.08-.402-2.599-1"/> </svg> </div> </div> </div> <div class="bg-white rounded-xl p-6 shadow-sm border"> <div class="flex items-center justify-between"> <div> <p class="text-sm font-medium text-gray-600 mb-1">Ads Watched</p> <p class="text-3xl font-bold text-gray-900" x-text="stats.adsWatched">0</p> <p class="text-sm text-green-600">+15% from last month</p> </div> <div class="w-12 h-12 bg-yellow-100 rounded-lg flex items-center justify-center"> <svg class="w-6 h-6 text-yellow-600" fill="none" viewBox="0 0 24 24" stroke="currentColor"> <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 10l4.553-2.276A1 1 0 0121 8.618v6.764a1 1 0 01-1.447.894L15 14M5 18h8a2 2 0 002-2V8a2 2 0 00-2-2H5a2 2 0 00-2 2v8a2 2 0 002 2z"/> </svg> </div> </div> </div> </div> <!-- Charts Row --> <div class="grid grid-cols-1 lg:grid-cols-2 gap-8 mb-8"> <!-- User Growth Chart --> <div class="bg-white rounded-xl shadow-sm border p-6"> <h3 class="text-lg font-semibold text-gray-900 mb-4">User Growth</h3> <canvas id="userGrowthChart" width="400" height="200"></canvas> </div> <!-- Revenue Chart --> <div class="bg-white rounded-xl shadow-sm border p-6"> <h3 class="text-lg font-semibold text-gray-900 mb-4">Revenue Trend</h3> <canvas id="revenueChart" width="400" height="200"></canvas> </div> </div> <!-- Detailed Analytics Tables --> <div class="grid grid-cols-1 lg:grid-cols-2 gap-8"> <!-- Top Performing Ads --> <div class="bg-white rounded-xl shadow-sm border overflow-hidden"> <div class="px-6 py-4 border-b border-gray-200"> <h3 class="text-lg font-semibold text-gray-900">Top Performing Ads</h3> </div> <div class="p-6"> <div class="space-y-4"> <template x-for="ad in topAds" :key="ad.id"> <div class="flex items-center justify-between p-4 border border-gray-200 rounded-lg"> <div> <p class="font-medium text-gray-900" x-text="ad.title"></p> <p class="text-sm text-gray-600" x-text="'Category: ' + ad.category"></p> </div> <div class="text-right"> <p class="text-lg font-bold text-green-600" x-text="ad.views + ' views'"></p> <p class="text-sm text-gray-500" x-text="formatCurrency(ad.revenue) + ' earned'"></p> </div> </div> </template> <div x-show="topAds.length === 0" class="text-center py-8 text-gray-500"> <svg class="w-12 h-12 mx-auto mb-4 text-gray-300" fill="none" viewBox="0 0 24 24" stroke="currentColor"> <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 10l4.553-2.276A1 1 0 0121 8.618v6.764a1 1 0 01-1.447.894L15 14M5 18h8a2 2 0 002-2V8a2 2 0 00-2-2H5a2 2 0 00-2 2v8a2 2 0 002 2z"/> </svg> <p>No ads data available</p> <p class="text-sm">Ad performance will appear here</p> </div> </div> </div> </div> <!-- Recent User Activity --> <div class="bg-white rounded-xl shadow-sm border overflow-hidden"> <div class="px-6 py-4 border-b border-gray-200"> <h3 class="text-lg font-semibold text-gray-900">Recent User Activity</h3> </div> <div class="p-6"> <div class="space-y-4"> <template x-for="activity in recentActivity" :key="activity.id"> <div class="flex items-center space-x-3 p-3 border border-gray-200 rounded-lg"> <img class="h-8 w-8 rounded-full" :src="'https://ui-avatars.com/api/?name=' + activity.user_name + '&background=6366f1&color=fff'" :alt="activity.user_name"> <div class="flex-1"> <p class="text-sm font-medium text-gray-900"> <span x-text="activity.user_name"></span> <span x-text="activity.action" class="text-gray-600"></span> </p> <p class="text-xs text-gray-500" x-text="activity.time"></p> </div> <span class="text-sm text-green-600" x-text="activity.amount" x-show="activity.amount"></span> </div> </template> <div x-show="recentActivity.length === 0" class="text-center py-8 text-gray-500"> <svg class="w-12 h-12 mx-auto mb-4 text-gray-300" fill="none" viewBox="0 0 24 24" stroke="currentColor"> <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z"/> </svg> <p>No recent activity</p> <p class="text-sm">User activity will appear here</p> </div> </div> </div> </div> </div> </div> </div> <!-- Success Modal --> <div x-show="showSuccessModal" x-cloak class="fixed inset-0 z-50 flex items-center justify-center px-4 py-6"> <div class="fixed inset-0 bg-black bg-opacity-50 backdrop-blur-sm transition-opacity" x-show="showSuccessModal" x-transition:enter="ease-out duration-300" x-transition:enter-start="opacity-0" x-transition:enter-end="opacity-100" x-transition:leave="ease-in duration-200" x-transition:leave-start="opacity-100" x-transition:leave-end="opacity-0" @click="closeSuccessModal()"></div> <div class="relative bg-white rounded-2xl shadow-2xl max-w-md w-full mx-auto modal-enter" x-show="showSuccessModal" x-transition:enter="ease-out duration-300" x-transition:enter-start="opacity-0 scale-95 translate-y-4" x-transition:enter-end="opacity-100 scale-100 translate-y-0" x-transition:leave="ease-in duration-200" x-transition:leave-start="opacity-100 scale-100 translate-y-0" x-transition:leave-end="opacity-0 scale-95 translate-y-4"> <div class="text-center pt-8 pb-6 px-6"> <div class="w-20 h-20 bg-gradient-to-r from-green-400 to-emerald-500 rounded-full flex items-center justify-center mx-auto mb-6 success-pulse"> <svg class="w-10 h-10 text-white" fill="none" viewBox="0 0 24 24" stroke="currentColor"> <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 13l4 4L19 7"/> </svg> </div> <h3 class="text-2xl font-bold text-gray-900 mb-2" x-text="successData.title">Success!</h3> <p class="text-gray-600 mb-6" x-text="successData.message">Operation completed successfully.</p> </div> <div class="border-t border-gray-200 px-6 py-4"> <button @click="closeSuccessModal()" class="w-full bg-gradient-to-r from-green-600 to-emerald-600 text-white py-3 px-4 rounded-xl font-medium hover:from-green-700 hover:to-emerald-700 transition-all duration-200"> <svg class="w-4 h-4 inline mr-2" fill="none" viewBox="0 0 24 24" stroke="currentColor"> <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 13l4 4L19 7"/> </svg> Continue </button> </div> </div> </div> <!-- Error Modal --> <div x-show="showErrorModal" x-cloak class="fixed inset-0 z-50 flex items-center justify-center px-4 py-6"> <div class="fixed inset-0 bg-black bg-opacity-50 backdrop-blur-sm transition-opacity" x-show="showErrorModal" x-transition:enter="ease-out duration-300" x-transition:enter-start="opacity-0" x-transition:enter-end="opacity-100" x-transition:leave="ease-in duration-200" x-transition:leave-start="opacity-100" x-transition:leave-end="opacity-0" @click="closeErrorModal()"></div> <div class="relative bg-white rounded-2xl shadow-2xl max-w-md w-full mx-auto modal-enter" x-show="showErrorModal" x-transition:enter="ease-out duration-300" x-transition:enter-start="opacity-0 scale-95 translate-y-4" x-transition:enter-end="opacity-100 scale-100 translate-y-0" x-transition:leave="ease-in duration-200" x-transition:leave-start="opacity-100 scale-100 translate-y-0" x-transition:leave-end="opacity-0 scale-95 translate-y-4"> <div class="text-center pt-8 pb-6 px-6"> <div class="w-20 h-20 bg-gradient-to-r from-red-400 to-pink-500 rounded-full flex items-center justify-center mx-auto mb-6"> <svg class="w-10 h-10 text-white" fill="none" viewBox="0 0 24 24" stroke="currentColor"> <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"/> </svg> </div> <h3 class="text-2xl font-bold text-gray-900 mb-2">Error Occurred</h3> <p class="text-gray-600 mb-6" x-text="errorMessage">Something went wrong. Please try again.</p> </div> <div class="border-t border-gray-200 px-6 py-4"> <button @click="closeErrorModal()" class="w-full bg-gradient-to-r from-red-600 to-pink-600 text-white py-3 px-4 rounded-xl font-medium hover:from-red-700 hover:to-pink-700 transition-all duration-200"> <svg class="w-4 h-4 inline mr-2" fill="none" viewBox="0 0 24 24" stroke="currentColor"> <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"/> </svg> Close </button> </div> </div> </div> <script> function analyticsData() { return { loading: true, showSuccessModal: false, showErrorModal: false, successData: { title: '', message: '' }, errorMessage: '', stats: { totalUsers: 0, activeUsers: 0, totalRevenue: 0.00, adsWatched: 0 }, topAds: [], recentActivity: [], charts: {}, async loadData() { try { // Load analytics statistics const statsResponse = await fetch('/admin/analytics-stats'); if (statsResponse.ok) { const statsData = await statsResponse.json(); this.stats = statsData; } // Load top performing ads const adsResponse = await fetch('/admin/top-ads'); if (adsResponse.ok) { const adsData = await adsResponse.json(); this.topAds = adsData; } // Load recent activity const activityResponse = await fetch('/admin/recent-activity'); if (activityResponse.ok) { const activityData = await activityResponse.json(); this.recentActivity = activityData; } this.loading = false; // Initialize charts after data is loaded this.$nextTick(() => { this.initCharts(); }); } catch (error) { console.error('Error loading analytics data:', error); this.loading = false; // Load sample data for demonstration this.loadSampleData(); this.$nextTick(() => { this.initCharts(); }); } }, loadSampleData() { this.stats = { totalUsers: 156, activeUsers: 89, totalRevenue: 2450.75, adsWatched: 1234 }; this.topAds = [ { id: 1, title: "Mobile Game Promotion", category: "Gaming", views: 450, revenue: 225.00 }, { id: 2, title: "E-commerce Sale", category: "Shopping", views: 380, revenue: 190.00 }, { id: 3, title: "App Download", category: "Technology", views: 320, revenue: 160.00 } ]; this.recentActivity = [ { id: 1, user_name: "Ahmed Khan", action: "watched an ad", time: "2 minutes ago", amount: "+$0.50" }, { id: 2, user_name: "Sarah Ali", action: "completed deposit", time: "5 minutes ago", amount: "PKR 500" }, { id: 3, user_name: "Hassan Sheikh", action: "registered", time: "10 minutes ago", amount: "" }, { id: 4, user_name: "Fatima Malik", action: "watched an ad", time: "15 minutes ago", amount: "+$0.25" } ]; }, initCharts() { // User Growth Chart const userCtx = document.getElementById('userGrowthChart'); if (userCtx) { this.charts.userGrowth = new Chart(userCtx, { type: 'line', data: { labels: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun'], datasets: [{ label: 'Users', data: [20, 35, 55, 78, 120, 156], borderColor: 'rgb(59, 130, 246)', backgroundColor: 'rgba(59, 130, 246, 0.1)', tension: 0.4 }] }, options: { responsive: true, scales: { y: { beginAtZero: true } } } }); } // Revenue Chart const revenueCtx = document.getElementById('revenueChart'); if (revenueCtx) { this.charts.revenue = new Chart(revenueCtx, { type: 'bar', data: { labels: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun'], datasets: [{ label: 'Revenue ($)', data: [150, 280, 420, 680, 950, 1250], backgroundColor: 'rgba(34, 197, 94, 0.8)', borderColor: 'rgb(34, 197, 94)', borderWidth: 1 }] }, options: { responsive: true, scales: { y: { beginAtZero: true } } } }); } }, formatCurrency(amount) { return '$' + amount.toFixed(2); }, // Modal control functions showSuccess(title, message) { this.successData = { title: title, message: message }; this.showSuccessModal = true; }, closeSuccessModal() { this.showSuccessModal = false; this.successData = { title: '', message: '' }; }, showError(message) { this.errorMessage = message; this.showErrorModal = true; }, closeErrorModal() { this.showErrorModal = false; this.errorMessage = ''; } } } </script> </body> </html>