KGRKJGETMRETU895U-589TY5MIGM5JGB5SDFESFREWTGR54TY
Server : Apache/2.4.41 (Ubuntu)
System : Linux vmi1525618.contaboserver.net 5.4.0-105-generic #119-Ubuntu SMP Mon Mar 7 18:49:24 UTC 2022 x86_64
User : www-data ( 33)
PHP Version : 8.2.12
Disable Function : NONE
Directory :  /var/www/sld.edukrypt.app/storage/framework/views/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //var/www/sld.edukrypt.app/storage/framework/views/e277f2ca933e60cd99758c1f8f4cdd1cde9fc3c1.php
<?php $__env->startSection('content'); ?>

    <!-- begin::main content -->
    <main class="main-content">
        <div class="container">
            <!-- begin::page header -->
            <div class="page-header">
                <h3>Categories</h3>
                <nav aria-label="breadcrumb">
                    <ol class="breadcrumb">
                        <li class="breadcrumb-item"><a href="#">Dashboard</a></li>
                        <li class="breadcrumb-item active" aria-current="page">List</li>
                    </ol>
                </nav>
            </div>
            <!-- end::page header -->

            <div class="card">
                <div class="card-header">
                    <?php if(Auth::user()->hasRole('superadmin') || Auth::user()->can('add-category')){ ?>
                    <a href="<?php echo e(asset('admin/add-category/' . Request::segment(3))); ?>"
                        class="btn btn-primary text-white">Add
                        Category</a>
                    <?php } ?>
                </div>
                <div class="card-body">
                    <table id="example1" class="table table-striped table-bordered">
                        <thead>
                            <tr>
                                <th>Id</th>
                                <th>Name EN</th>
                                <th>Slug</th>
                                <th>Name HI</th>
                                <th>Order</th>
                                <th>Image</th>
                                <th>Action</th>
                            </tr>
                        </thead>
                        <tbody>
                            <?php if(!empty($categories)): ?>
                                <?php $__currentLoopData = $categories; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $category): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                    <tr>
                                        <td><?php echo e($category->id); ?></td>
                                        <td><?php echo e($category->name_en); ?></td>
                                        <td><?php echo e($category->slug); ?></td>
                                        <td><?php echo e($category->name_hi); ?></td>
                                        <td><?php echo e($category->sort); ?></td>
                                        <td>
                                            <?php if(!empty($category->image)): ?>
                                                <img style="width:80px;"
                                                    src="<?php echo e(asset('public/uploads/category/' . $category->image)); ?>">
                                            <?php else: ?>
                                                <img style="width:80px;" src="<?php echo e(asset('public/uploads/no-image.jpg')); ?>">
                                            <?php endif; ?>
                                        </td>

                                        <td>
                                            <?php if(Auth::user()->hasRole('superadmin') || Auth::user()->can('edit-category')){ ?>
                                            <a href="<?php echo e(asset('admin/edit-category/' . $category->id)); ?>">
                                                <i class="fa fa-edit text-success fa-lg"></i>
                                            </a>
                                            <?php } ?>
                                            <?php if(Auth::user()->hasRole('superadmin') || Auth::user()->can('delete-category')){ ?>
                                            <a class="delete-confirm" href="<?php echo e(asset('admin/delete-category/' . $category->id)); ?>">
                                                <i class="fa fa-trash text-danger fa-lg"></i>
                                            </a>
                                            <?php } ?>
                                        </td>


                                    </tr>
                                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                            <?php endif; ?>
                        </tbody>
                    </table>
                </div>
            </div>
        </div>
    </main>
    <!-- end::main content -->
<?php $__env->stopSection(); ?>
<?php $__env->startPush('footer-script'); ?>
    <!-- begin::dataTable -->
    <script src="<?php echo e(asset('public/admin/vendors/dataTable/jquery.dataTables.min.js')); ?>"></script>
    <script src="<?php echo e(asset('public/admin/vendors/dataTable/dataTables.bootstrap4.min.js')); ?>"></script>
    <script src="<?php echo e(asset('public/admin/vendors/dataTable/dataTables.responsive.min.js')); ?>"></script>
    <script src="<?php echo e(asset('public/admin/js/examples/datatable.js')); ?>"></script>
    <!-- end::dataTable -->
<?php $__env->stopPush(); ?>

<?php echo $__env->make('admin.layout', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /var/www/sld.edukrypt.app/resources/views/admin/category/list.blade.php ENDPATH**/ ?>

Anon7 - 2021