|
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/ | |
|
Path: /home2/outerorb/assetradar.outerorbittech.com/tl/my_items.php
Size: 797 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';
$items = $mysqli->query('SELECT * FROM items WHERE assigned_to='.(int)$u['id']);
?>
<div class="container mt-4">
<h4>My Items</h4>
<table class="table">
<thead><tr><th>Asset Tag</th><th>Name</th><th>Condition</th></tr></thead>
<tbody>
<?php while($it = $items->fetch_assoc()): ?>
<tr>
<td><?php echo esc($it['asset_tag']); ?></td>
<td><?php echo esc($it['item_name']); ?></td>
<td><?php echo esc($it['condition_status']); ?></td>
</tr>
<?php endwhile; ?>
</tbody>
</table>
</div>
<?php include __DIR__ . '/../inc/footer.php'; ?>