<?php
    use App\Helpers\Template as Template;
    use App\Helpers\Hightlight as Hightlight;
?> <div class="x_content"> <div class="table-responsive"> <table class="table table-striped jambo_table bulk_action"> <thead> <tr class="headings"> <th class="column-title">#</th> <th class="column-title">Username</th> <th class="column-title">Email</th> <th class="column-title">Fullname</th> <th class="column-title">Level</th> <th class="column-title">Avatar</th> <th class="column-title">Trạng thái</th> <th class="column-title">Tạo mới</th> <th class="column-title">Chỉnh sửa</th> <th class="column-title">Hành động</th> </tr> </thead> <tbody> <?php if(count($items) > 0): ?> <?php $__currentLoopData = $items; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $val): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <?php
                            $index           = $key + 1;
                            $class           = ($index % 2 == 0) ? "even" : "odd";
                            $id              = $val['id'];
                            $username        = Hightlight::show($val['username'], $params['search'], 'username');
                            $fullname        = Hightlight::show($val['fullname'], $params['search'], 'fullname');
                            $email           = Hightlight::show($val['email'], $params['search'], 'email');
                            $level           = Template::showItemSelect($controllerName, $id, $val['level'], 'level');
                            $avatar          = Template::showItemThumb($controllerName, $val['avatar'], $val['name']);
                            $status          = Template::showItemStatus($controllerName, $id, $val['status']); ;
                            $createdHistory  = Template::showItemHistory($val['created_by'], $val['created']);
                            $modifiedHistory = Template::showItemHistory($val['modified_by'], $val['modified']);
                            $listBtnAction   = Template::showButtonAction($controllerName, $id);
                        ?> <tr class="<?php echo e($class); ?> pointer"> <td ><?php echo e($index); ?></td> <td width="10%"><?php echo $username; ?></td> <td width="10%"><?php echo $email; ?></td> <td width="10%"><?php echo $fullname; ?></td> <td width="20%"><?php echo $level; ?></td> <td width="5%"><?php echo $avatar; ?></td> <td><?php echo $status; ?></td> <td><?php echo $createdHistory; ?></td> <td><?php echo $modifiedHistory; ?></td> <td class="last"><?php echo $listBtnAction; ?></td> </tr> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> <?php else: ?> <?php echo $__env->make('admin.templates.list_empty', ['colspan' => 6], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?> <?php endif; ?> </tbody> </table> </div> </div> <?php /**PATH D:\xampp\htdocs\offline_laravel_duongle\resources\views/admin/pages/user/list.blade.php ENDPATH**/ ?>