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>Admin Dashboard - FastEarnAds</title> <script src="https://cdn.tailwindcss.com"></script> <script defer src="https://unpkg.com/alpinejs@3.x.x/dist/cdn.min.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); } } </style> </head> <body class="bg-gray-50" x-data="adminData()" x-init="loadData()"> <!-- Admin 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-indigo-600 to-purple-600 rounded-lg flex items-center justify-center"> <svg class="w-6 h-6 text-white" fill="currentColor" viewBox="0 0 20 20"> <path d="M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z"/> </svg> </div> <div> <h1 class="text-xl font-bold text-gray-900">FastEarnAds Admin</h1> <p class="text-sm text-gray-600">Administration Panel</p> </div> </div> <div class="flex items-center space-x-4"> <a href="/admin/profile" class="p-2 text-gray-600 hover:text-gray-800 hover:bg-gray-100 rounded-lg transition-colors" title="Profile Settings"> <svg class="w-5 h-5" fill="none" viewBox="0 0 24 24" stroke="currentColor"> <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M16 7a4 4 0 11-8 0 4 4 0 018 0zM12 14a7 7 0 00-7 7h14a7 7 0 00-7-7z"/> </svg> </a> <div class="text-right"> <p class="text-sm font-medium text-gray-900">Admin User</p> <p class="text-xs text-gray-600">admin@fastearnads.com</p> </div> <img class="w-8 h-8 rounded-full" src="https://ui-avatars.com/api/?name=Admin&background=6366f1&color=fff" alt="Admin"> <form action="/admin/logout" method="POST" class="inline"> <button type="submit" class="text-gray-600 hover:text-gray-800 p-2 rounded-lg hover:bg-gray-100 transition-colors" title="Logout"> <svg class="w-5 h-5" fill="none" viewBox="0 0 24 24" stroke="currentColor"> <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M17 16l4-4m0 0l-4-4m4 4H7m6 4v1a3 3 0 01-3 3H6a3 3 0 01-3-3V7a3 3 0 013-3h4a3 3 0 013 3v1"/> </svg> </button> </form> </div> </div> </div> </header> <!-- Main Content --> <div class="max-w-7xl mx-auto px-4 py-8"> <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-gray-500">Registered</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-gray-500">With Deposit</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">Pending Deposits</p> <p class="text-3xl font-bold text-gray-900" x-text="stats.pendingDeposits">0</p> <p class="text-sm text-orange-600">Need Approval</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="M12 8v4l3 3m6-3a9 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">All Time</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> <!-- Quick Actions --> <div class="grid grid-cols-1 lg:grid-cols-2 gap-8 mb-8"> <!-- Bank Settings --> <div class="bg-white rounded-xl shadow-sm border"> <div class="p-6 border-b border-gray-200"> <h2 class="text-lg font-semibold text-gray-900">UBL Bank Settings</h2> </div> <div class="p-6"> <form @submit.prevent="updateBankDetails()" class="space-y-4"> <div> <label class="block text-sm font-medium text-gray-700 mb-2">Bank Name</label> <input type="text" value="United Bank Limited (UBL)" readonly class="w-full px-3 py-2 border border-gray-300 rounded-lg bg-gray-50"> </div> <div> <label class="block text-sm font-medium text-gray-700 mb-2">Account Number</label> <input type="text" x-model="bankDetails.accountNumber" placeholder="Enter UBL Account Number" class="w-full px-3 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-indigo-500"> </div> <div> <label class="block text-sm font-medium text-gray-700 mb-2">Account Title</label> <input type="text" x-model="bankDetails.accountTitle" placeholder="Enter Account Holder Name" class="w-full px-3 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-indigo-500"> </div> <button type="submit" :disabled="updating" class="w-full bg-indigo-600 text-white py-2 px-4 rounded-lg hover:bg-indigo-700 disabled:opacity-50"> <span x-show="!updating">Update Bank Details</span> <span x-show="updating">Updating...</span> </button> <div x-show="updateMessage" :class="updateSuccess ? 'text-green-600' : 'text-red-600'" class="text-sm mt-2" x-text="updateMessage"></div> </form> </div> </div> <!-- Pending Deposits --> <div class="bg-white rounded-xl shadow-sm border"> <div class="p-6 border-b border-gray-200"> <h2 class="text-lg font-semibold text-gray-900">Pending Deposits</h2> </div> <div class="p-6"> <div class="space-y-4"> <template x-for="deposit in pendingDeposits" :key="deposit.id"> <div class="p-4 border border-gray-200 rounded-lg"> <div class="flex items-center justify-between mb-3"> <div> <p class="font-medium text-gray-900" x-text="deposit.user_name"></p> <p class="text-sm text-gray-600" x-text="deposit.user_email"></p> </div> <div class="text-right"> <p class="text-lg font-bold text-green-600" x-text="'PKR ' + deposit.amount"></p> <p class="text-xs text-gray-500" x-text="deposit.created_at"></p> </div> </div> <div class="text-sm text-gray-600 mb-3"> <p><strong>Account Name:</strong> <span x-text="deposit.account_name"></span></p> <p x-show="deposit.notes"><strong>Notes:</strong> <span x-text="deposit.notes"></span></p> <div x-show="deposit.proof_path" class="mt-2"> <p class="font-medium text-gray-700 mb-2">Payment Proof:</p> <img :src="deposit.proof_path" alt="Payment Proof" class="w-full max-w-xs h-auto rounded-lg border border-gray-200 cursor-pointer hover:opacity-80" @click="viewPaymentProof(deposit.proof_path)"> </div> </div> <div class="flex space-x-2"> <button @click="approveDeposit(deposit.id)" class="flex-1 bg-green-600 text-white py-2 px-4 rounded-lg hover:bg-green-700 text-sm"> Approve </button> <button @click="rejectDeposit(deposit.id)" class="flex-1 bg-red-600 text-white py-2 px-4 rounded-lg hover:bg-red-700 text-sm"> Reject </button> </div> </div> </template> <div x-show="pendingDeposits.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="M9 12h6m-6 4h6m2 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z"/> </svg> <p>No pending deposits</p> <p class="text-sm">New user deposits will appear here</p> </div> </div> </div> </div> </div> <!-- Management Tools --> <div class="grid grid-cols-1 md:grid-cols-4 gap-6"> <div class="bg-white rounded-xl p-6 shadow-sm border hover:shadow-md transition-shadow cursor-pointer" onclick="window.location.href='/admin/manage-users'"> <div class="w-12 h-12 bg-blue-100 rounded-lg flex items-center justify-center mb-4"> <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> <h3 class="text-lg font-semibold text-gray-900 mb-2">Manage Users</h3> <p class="text-gray-600 text-sm">View, edit, and manage user accounts and permissions</p> </div> <div class="bg-white rounded-xl p-6 shadow-sm border hover:shadow-md transition-shadow cursor-pointer" onclick="window.location.href='/admin/manage-ads'"> <div class="w-12 h-12 bg-green-100 rounded-lg flex items-center justify-center mb-4"> <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="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> <h3 class="text-lg font-semibold text-gray-900 mb-2">Manage Ads</h3> <p class="text-gray-600 text-sm">Create, edit, and monitor advertising campaigns</p> </div> <div class="bg-white rounded-xl p-6 shadow-sm border hover:shadow-md transition-shadow cursor-pointer" onclick="window.location.href='/admin/analytics'"> <div class="w-12 h-12 bg-yellow-100 rounded-lg flex items-center justify-center mb-4"> <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="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> <h3 class="text-lg font-semibold text-gray-900 mb-2">Analytics</h3> <p class="text-gray-600 text-sm">View detailed reports and platform analytics</p> </div> <div class="bg-white rounded-xl p-6 shadow-sm border hover:shadow-md transition-shadow cursor-pointer" onclick="window.location.href='/admin/manage-withdraws'"> <div class="w-12 h-12 bg-purple-100 rounded-lg flex items-center justify-center mb-4"> <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="M17 9V7a2 2 0 00-2-2H5a2 2 0 00-2 2v6a2 2 0 002 2h2m2 4h10a2 2 0 002-2v-6a2 2 0 00-2-2H9a2 2 0 00-2 2v6a2 2 0 002 2zm7-5a2 2 0 11-4 0 2 2 0 014 0z"/> </svg> </div> <h3 class="text-lg font-semibold text-gray-900 mb-2">Manage Withdraws</h3> <p class="text-gray-600 text-sm">Process user withdraw requests and payments</p> </div> </div> </div> <!-- Payment Proof Modal --> <div x-show="showProofModal" 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-75 transition-opacity" x-show="showProofModal" 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="closeProofModal()"></div> <div class="relative bg-white rounded-2xl shadow-2xl max-w-4xl w-full mx-auto" x-show="showProofModal" 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-6 pb-4 px-6 border-b border-gray-200"> <h3 class="text-xl font-bold text-gray-900 mb-2">Payment Proof</h3> <p class="text-gray-600">Click outside or press close to dismiss</p> </div> <div class="p-6 text-center"> <img :src="selectedProofPath" alt="Payment Proof" class="max-w-full max-h-96 mx-auto rounded-lg shadow-lg border border-gray-200"> </div> <div class="border-t border-gray-200 px-6 py-4"> <button @click="closeProofModal()" class="w-full bg-gray-600 text-white py-3 px-4 rounded-xl font-medium hover:bg-gray-700 transition-all duration-200"> Close </button> </div> </div> </div> <script> function adminData() { return { stats: { totalUsers: 0, activeUsers: 0, pendingDeposits: 0, totalRevenue: 0.00 }, bankDetails: { accountNumber: '', accountTitle: '' }, pendingDeposits: [], allUsers: [], updating: false, updateMessage: '', updateSuccess: false, showProofModal: false, selectedProofPath: '', async loadData() { try { // Load bank details const bankResponse = await fetch('/admin/bank-details'); if (bankResponse.ok) { const bankData = await bankResponse.json(); this.bankDetails = bankData; } // Load statistics const statsResponse = await fetch('/admin/stats'); if (statsResponse.ok) { const statsData = await statsResponse.json(); this.stats = statsData; } // Load pending deposits const depositsResponse = await fetch('/admin/pending-deposits'); if (depositsResponse.ok) { const depositsData = await depositsResponse.json(); this.pendingDeposits = depositsData; } // Load all users const usersResponse = await fetch('/admin/users'); if (usersResponse.ok) { const usersData = await usersResponse.json(); this.allUsers = usersData; } } catch (error) { console.error('Error loading data:', error); } }, async updateBankDetails() { this.updating = true; this.updateMessage = ''; try { const response = await fetch('/admin/update-bank', { method: 'POST', headers: { 'Content-Type': 'application/json', }, body: JSON.stringify(this.bankDetails) }); if (response.ok) { this.updateMessage = 'Bank details updated successfully!'; this.updateSuccess = true; } else { this.updateMessage = 'Failed to update bank details.'; this.updateSuccess = false; } } catch (error) { this.updateMessage = 'Error updating bank details.'; this.updateSuccess = false; } this.updating = false; setTimeout(() => { this.updateMessage = ''; }, 3000); }, async approveDeposit(depositId) { try { const response = await fetch('/admin/approve-deposit', { method: 'POST', headers: { 'Content-Type': 'application/json', }, body: JSON.stringify({ id: depositId }) }); if (response.ok) { // Remove from pending deposits this.pendingDeposits = this.pendingDeposits.filter(d => d.id !== depositId); // Reload stats this.loadData(); } } catch (error) { console.error('Error approving deposit:', error); } }, async rejectDeposit(depositId) { try { const response = await fetch('/admin/reject-deposit', { method: 'POST', headers: { 'Content-Type': 'application/json', }, body: JSON.stringify({ id: depositId }) }); if (response.ok) { // Remove from pending deposits this.pendingDeposits = this.pendingDeposits.filter(d => d.id !== depositId); // Reload stats this.loadData(); } } catch (error) { console.error('Error rejecting deposit:', error); } }, formatCurrency(amount) { return '$' + amount.toFixed(2); }, viewPaymentProof(proofPath) { this.selectedProofPath = proofPath; this.showProofModal = true; }, closeProofModal() { this.showProofModal = false; this.selectedProofPath = ''; } } } </script> </body> </html>