| Server IP : 195.130.67.5 / Your IP : 216.73.217.154 Web Server : Microsoft-IIS/10.0 System : Windows NT WEBSERVER1 10.0 build 17763 (Windows Server 2016) i586 User : IUSR ( 0) PHP Version : 7.4.19 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /inetpub/wwwroot/Helpdesk/application/views/reports/ |
Upload File : |
<?php if (!defined("SYSTEM")) die();?>
<h2 class="text-center m-b-40"><?php echo $title; ?></h2>
<table class="table table-striped table-bordered dataTable table-hover no-footer" cellspacing="0" width="100%">
<thead>
<tr>
<th class="text-center">Α/Α</th>
<th>Αποστολέας</th>
<th>Ημερομηνία</th>
<th>Κατηγορία</th>
<th>Περιγραφή</th>
<th class="no-sort">Κατάσταση</th>
</tr>
</thead>
<tbody>
<?php if ($reports) {
$c = count($reports);
foreach ($reports as $report) { ?>
<tr>
<td class="text-center"><?php echo $c--;?></td>
<td><?php echo $report->fullname; ?></td>
<td><?php echo date("d-m-Y H:i:s", strtotime($report->added)); ?></td>
<td><?php echo $report->category; ?></td>
<td><div class="message"><?php echo nl2br($report->message); ?></td>
<td class="text-center font-18"><a href="#" class="toogle-status" title="Αλλαγή κατάστασης" data-id="<?php echo $report->id; ?>" data-app-base="<?php echo APP_BASE; ?>"><?php echo (empty($report->status)?'<span class="fas fa-question-circle col-red"></span>':'<span class="fas fa-check-circle col-green"></span>'); ?></a></td>
</tr>
<?php } ?>
<?php } ?>
</tbody>
</table>