mirror of
https://github.com/holo-gfx/mangadex.git
synced 2024-11-28 17:58:21 -05:00
30 lines
856 B
PHP
30 lines
856 B
PHP
<div class="table-responsive">
|
|
<table class="table table-striped table-hover table-sm">
|
|
<thead>
|
|
<tr>
|
|
<th>User</th>
|
|
<th>IP</th>
|
|
<th>Time</th>
|
|
<th>Type</th>
|
|
<th>Result</th>
|
|
<th>Details</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
|
|
<?php foreach ($templateVar['logs'] as $key => $log) : ?>
|
|
|
|
<tr>
|
|
<td><?= $log->username ?></td>
|
|
<td><?= $log->action_ip ?></td>
|
|
<td><?= date("Y-m-d H:i:s \U\T\C", $log->action_timestamp) ?></td>
|
|
<td><?= $log->action_name ?></td>
|
|
<td><?= ($log->action_result) ? "Success" : "Failure" ?></td>
|
|
<td><?= $log->action_details ?></td>
|
|
</tr>
|
|
|
|
<?php endforeach; ?>
|
|
|
|
</tbody>
|
|
</table>
|
|
</div>
|