Server : LiteSpeed
System : Linux terra.hostitbro.com 5.14.0-611.54.3.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Thu May 7 16:31:24 EDT 2026 x86_64
User : outerorb ( 1091)
PHP Version : 8.1.34
Disable Function : mail
Directory :  /home2/outerorb/assetradar.outerorbittech.com/tl/

📁 Create New:
⬆️ Upload File:
Current Dir [ Writable ] Root [ Writable ]


OR Upload from URL:
URL: Save as:

📄 File: my_tickets.php

Path: /home2/outerorb/assetradar.outerorbittech.com/tl/my_tickets.php

Size: 948 B

Permissions: 0666

<?php
require_once __DIR__ . '/../inc/auth.php';
require_login();
$u = current_user();
require_tl();
include __DIR__ . '/../inc/header.php';
include __DIR__ . '/tl_menu.php';
$tickets = $mysqli->query('SELECT * FROM tickets WHERE user_id='.(int)$u['id'].' ORDER BY created_at DESC');
?>
<div class="container mt-4">
  <h4>My Tickets</h4>
  <table class="table">
    <thead><tr><th>ID</th><th>Item</th><th>Issue</th><th>Status</th></tr></thead>
    <tbody>
      <?php while($t = $tickets->fetch_assoc()): ?>
      <tr>
        <td><a href="ticket_view.php?id=<?php echo $t['id']; ?>" class="btn btn-link btn-sm">#<?php echo $t['id']; ?></a></td>
        <td><?php echo esc($t['item_name']); ?></td>
        <td><?php echo esc($t['issue_type']); ?></td>
        <td><?php echo esc($t['status']); ?></td>
      </tr>
      <?php endwhile; ?>
    </tbody>
  </table>
</div>
<?php include __DIR__ . '/../inc/footer.php'; ?>


← Back to Directory Edit File 🔒 Chmod

WP File Manager