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

    <!-- begin::main content -->
    <main class="main-content">
        <div class="container">
            <!-- begin::page header -->
            <div class="page-header">
                <h3><?php echo e($title); ?></h3>
                <nav aria-label="breadcrumb">
                    <ol class="breadcrumb">
                        <li class="breadcrumb-item"><a href="#">Dashboard</a></li>
                        <li class="breadcrumb-item"><a href="<?php echo e(asset('admin/quizzes/')); ?>">Quiz</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-question/' . Request::segment(3))); ?>" class="btn btn-primary text-white">Add
                        Question</a>
                        <?php } ?>
                </div>
                <div class="card-body">
                    <table id="tb_quiz" class="table table-striped table-bordered">
                        <thead>
                            <tr>
                                <th>Id</th>
                                <th>Type</th>
                                <th>Question EN</th>
                                <th>Question HI</th>
                                
                               
                                <th>Action</th>
                            </tr>
                        </thead>
                        <tbody>
                            <?php if(!empty($questions)): ?>
                                <?php $__currentLoopData = $questions; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $question): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                    <tr>
                                        <td><?php echo e($question->id); ?></td>
                                        <td>
                                            <?php if($question->type == 'true_false'): ?>
                                            <?php echo e('True Or False'); ?>

                                            <?php elseif($question->type == 'yes_no'): ?>
                                            <?php echo e('Yes Or No'); ?>

                                            <?php elseif($question->type == 'fill_in_blank'): ?>
                                            <?php echo e('Fill In The Blanks'); ?>

                                            <?php elseif($question->type == 'multiple_choice'): ?>
                                            <?php echo e('Single Answer'); ?>

                                            <?php elseif($question->type == 'multiple_correct'): ?>
                                            <?php echo e('Multiple Correct'); ?>

                                            <?php elseif($question->type == 'essay'): ?>
                                            <?php echo e('Essay'); ?>

                                           <?php endif; ?>
                                        </td>
                                        <td><?php echo e($question->question_en); ?></td>
                                        <td><?php echo e($question->question_hi); ?></td>
                                        
                                       
                                        <td>
                                            
                                            <?php if(Auth::user()->hasRole('superadmin') || Auth::user()->can('edit-quiz')){ ?>
                                            <a href="<?php echo e(asset('admin/edit-question/'.Request::segment(3)."/" . $question->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-question/' . $question->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/questions/list.blade.php ENDPATH**/ ?>

Anon7 - 2021