<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">Ảnh</th>
            <th style="text-align: center">#ID</th>
            <th style="text-align: center">Tên bài hát</th>
            <th style="text-align: center">Nghệ sĩ</th>
            <th style="text-align: center">Trang không lấy<br>lượt nghe</th>
            <th style="text-align: center">Xử lý</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">
                    <img style="max-width: 50px" src="<?php echo MyHelper::getArtByTrack($data['art'], false, $data['art_type']) ?>">
                </td>
                <td style="text-align: center"><?php echo $data['id']; ?></td>
                <td style="text-align: left">
                    <?php echo $data['title']; ?>
                    <br>
                    <?php echo MyHelper::getSourceIcon($data['id_zing'], $data['id_nct'], $data['id_keeng']) ?>
                </td>
                <td style="text-align: left">
                    Ca sĩ: <span style="font-weight: bold"><?php echo $data['singer_list']; ?></span>
                    <br>
                    Sáng tác: <span style="font-weight: bold"><?php echo $data['composer_list']; ?></span>
                </td>
                <td style="text-align: left"><?php echo strtoupper($data['blacklist_listen']); ?></td>
                <td style="text-align: center">
                    <a href="<?php echo base_url('backend/cmsTrack/showTrack/'.$data['id']); ?>" title="Xem chi tiết">
                        <i class="ace-icon fa fa-eye bigger-130"></i>
                    </a>
                </td>
            </tr>
        <?php endforeach; ?>
        <?php else: ?>
            <tr>
                <td colspan="10" 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>