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/497f0d30bf7575e970312256a0a8af3a94ded858.php
<?php $__env->startSection('content'); ?>

    <!-- begin::main content -->
    <main class="main-content">
        <div class="container">
            <!-- begin::page header -->
            <div class="page-header">
                <h3>Quizzes</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-quiz')){ ?>
                    <a href="<?php echo e(asset('admin/add-quiz/' . Request::segment(3))); ?>" class="btn btn-primary text-white">Add
                        Quiz</a>
                        <?php } ?>
                </div>
                <div class="card-body">
                    <table id="tb_quiz" class="table table-striped table-bordered">
                        <thead>
                            <tr>
                                <th>Id</th>
                                <th>Name EN</th>
                                <th>Name HI</th>
                                <th>Attempt</th>
                                <th>AutoPick</th>
                                <th>Questions</th>
                                <th>Action</th>
                            </tr>
                        </thead>
                        <tbody>
                            <?php if(!empty($quizzes)): ?>
                                <?php $__currentLoopData = $quizzes; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $quiz): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                    <tr>
                                        <td><?php echo e($quiz->id); ?></td>
                                        <td><?php echo e($quiz->name_en); ?></td>
                                        <td><?php echo e($quiz->name_hi); ?></td>
                                        <td><?php echo e($quiz->attempt); ?></td>
                                        <td><?php echo e($quiz->autopick); ?></td>
                                        <td>
                                            <a href="<?php echo e(asset('admin/questions/' . $quiz->id)); ?>">
                                                <i class="fa fa-eye fa-lg"></i>
                                            </a>
                                        </td>
                                        <td>
                                            
                                            <?php if(Auth::user()->hasRole('superadmin') || Auth::user()->can('edit-quiz')){ ?>
                                            <a href="<?php echo e(asset('admin/edit-quiz/' . $quiz->id)); ?>">
                                                <i class="fa fa-lg fa-edit text-success"></i></a>
                                                <?php } ?>

                                                <?php if(Auth::user()->hasRole('superadmin') || Auth::user()->can('delete-quiz')){ ?>
                                            
                                            <a class="delete-confirm" href="<?php echo e(asset('admin/delete-quiz/' . $quiz->id)); ?>">
                                                <i class="fa  fa-lg fa-trash text-danger"></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/quizzes/list.blade.php ENDPATH**/ ?>

Anon7 - 2021