<div style="/*max-height: 465px; overflow: scroll*/">
    <table class="table table-striped table-bordered table-hover">
        <thead>
        <tr>
            <th style="text-align: center">TT</th>
            <th style="text-align: center">ID</th>
            <th style="text-align: center; min-width: 100px;">Tài khoản tác động</th>
            <th style="text-align: center">Loại xử lý</th>
            <th style="text-align: center; min-width: 100px;">Mô tả hành động</th>
            <th style="text-align: center">Bảng / Mật khẩu</th>
            <th style="text-align: center">ID bản ghi</th>
            <th style="text-align: center">IP</th>
            <th style="text-align: center">Ngày tạo</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: center">#<?php echo $data['id']; ?></td>
                <td><?php echo $data['actor_name']; ?></td>
                <td><?php echo $data['action']; ?></td>
                <td><?php echo MyHelper::truncate($data['description'], 50); ?></td>
                <td><?php echo $data['table']; ?></td>
                <td style="text-align: right"><?php echo $data['record_id']; ?></td>
                <td style="text-align: center">
                    <?php echo $data['ip_address']; ?>
                </td>
                <td style="text-align: center">
                    <?php echo MyHelper::reFormatDate($data['created_at']); ?>
                </td>
            </tr>
        <?php
        endforeach;
        else:
        ?>
            <tr>
                <td colspan="10" style="color: red">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>