<div>
<table class="table table-striped table-bordered table-hover">
<thead>
<tr>
<th style="text-align: center">STT</th>
<th style="text-align: center">Nội dung log</th>
<th style="text-align: center">Thời gian chạy</th>
</tr>
</thead>
<tbody>
<?php if(count($listData) > 0): foreach($listData as $key => $data): ?>
<tr>
<td style="text-align: center"><?php echo ($key+1+$offset); ?></td>
<td style="text-align: left"><?php echo $data['message']; ?></td>
<td style="text-align: center"><?php echo MyHelper::reFormatDate($data['created_at']); ?></td>
</tr>
<?php endforeach; ?>
<?php else: ?>
<tr>
<td colspan="5" style="color: red; font-style: italic">Không có dữ liệu nào!</td>
</tr>
<?php endif; ?>
</tbody>
</table>
</div>
<!-- /.row -->
<div style="text-align: center;"><?php echo $pagination; ?></div>