| Server IP : 162.214.74.102 / Your IP : 216.73.217.114 Web Server : Apache System : Linux dedi-4363141.lrsys.com.br 3.10.0-1160.119.1.el7.tuxcare.els25.x86_64 #1 SMP Wed Oct 1 17:37:27 UTC 2025 x86_64 User : lrsys ( 1015) PHP Version : 5.6.40 Disable Function : exec,passthru,shell_exec,system MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /home/lrsys/public_html/lrsys_apps/team/application/views/backend/client/ |
Upload File : |
<table class="table table-bordered datatable">
<thead>
<tr>
<th style="width:30px;">
<th><div><?php echo get_phrase('title'); ?></div></th>
<th><div><?php echo get_phrase('ticket_code'); ?></div></th>
<th><div><?php echo get_phrase('client'); ?></div></th>
<th><div><?php echo get_phrase('status'); ?></div></th>
<th><div><?php echo get_phrase('priority'); ?></div></th>
<th><div><?php echo get_phrase('options'); ?></div></th>
</tr>
</thead>
<tbody>
<?php
$counter = 1;
$this->db->where('status', 'closed');
$this->db->where('client_id' , $this->session->userdata('login_user_id'));
$this->db->order_by('ticket_id', 'desc');
$tickets = $this->db->get('ticket')->result_array();
foreach ($tickets as $row):
?>
<tr>
<td style="width:30px;">
<?php echo $counter++; ?>
<td>
<a href="<?php echo base_url(); ?>index.php?client/support_ticket_view/<?php echo $row['ticket_code']; ?>">
<?php echo $row['title']; ?>
</a>
</td>
<td><?php echo $row['ticket_code']; ?></td>
<td><?php echo $this->crud_model->get_type_name_by_id('client', $row['client_id']); ?></td>
<td>
<div class="label label-<?php
if ($row['status'] == 'closed')
echo 'primary';
else if ($row['status'] == 'opened')
echo 'success'
?>">
<?php echo $row['status']; ?></div>
</td>
<td>
<div class="label label-<?php
if ($row['priority'] == 'high')
echo 'danger';
else if ($row['priority'] == 'medium')
echo 'info';
else if ($row['priority'] == 'low')
echo 'default'
?>">
<?php echo $row['priority']; ?></div>
</td>
<td>
<div class="btn-group">
<button type="button" class="btn btn-default btn-sm dropdown-toggle" data-toggle="dropdown">
Action <span class="caret"></span>
</button>
<ul class="dropdown-menu dropdown-default pull-right" role="menu">
<!-- VIEW LINK -->
<li>
<a href="<?php echo base_url(); ?>index.php?client/support_ticket_view/<?php echo $row['ticket_code']; ?>">
<i class="entypo-target"></i>
<?php echo get_phrase('view_ticket'); ?>
</a>
</li>
</ul>
</div>
</td>
</tr>
<?php endforeach; ?>
</tbody>
</table>