<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">Mã nhóm</th> <th style="text-align: center">Mô tả</th> <th style="text-align: center">Trạng thái</th> <th style="text-align: center">Ngày tạo</th> <th style="text-align: center">Ngày cập nhật</th> <th style="text-align: center">Xử lý</th> </tr> </thead> <tbody> <?php 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> <a href="<?php echo base_url().'backend/cmsSetting/editGroup/'.$data['id']; ?>"> <?php echo $data['name']; ?> </a> </td> <td><?php echo $data['description']; ?></td> <td style="text-align: center"> <?php if($data['is_active'] == 1){ echo '<i class="ace-icon fa fa-unlock bigger-130" style="color: #428bca"></i>'; }else{ echo '<i class="ace-icon fa fa-lock bigger-130" style="color: red"></i>'; }?> </td> <td style="text-align: center"><?php echo MyHelper::reFormatDate($data['created_at']); ?></td> <td style="text-align: center"><?php echo MyHelper::reFormatDate($data['updated_at']); ?></td> <td style="text-align: center"> <a href="<?php echo base_url().'backend/cmsSetting/editGroup/'.$data['id']; ?>"> <i class="ace-icon fa fa-pencil bigger-130"></i> </a> </td> </tr> <?php endforeach; ?> </tbody> </table> </div> <!-- /.row --> <div style="text-align: center;"><?php echo $pagination; ?></div>