|
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 : |
<?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($result['quiz_name']); ?></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">Policy List</li>
</ol>
</nav>
</div>
<!-- end::page header -->
<div class="card">
<?php if(Auth::user()->hasRole('superadmin') || Auth::user()->can('add-user')){ ?>
<div class="card-header">
<a href="<?php echo e(asset('admin/user-mcq-list/'.Request::segment(3))); ?>" class="btn btn-primary pull-left text-white">
Policy List</a>
</div>
<?php } ?>
<div class="card-body">
<?php if(!empty($result)): ?>
<?php $__currentLoopData = $result['quiz']; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $res): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<h3><?php echo $res['question']; ?> </h3> <span class="text-danger"><?php echo $res['type']; ?></span>
<hr>
<?php $__currentLoopData = $res['options']; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $opt): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<h5><?php echo $opt['options']; ?></h5>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
<hr>
<?php $__currentLoopData = $res['correct_options']; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $correct_opti): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<h5 class="text-success">Correct Option: <?php echo $correct_opti['options']; ?></h5>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
<hr>
<?php $__currentLoopData = $res['user_option']; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $user_opti): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<h5 class="text-warning">User Option: <?php echo $user_opti['options']; ?></h5>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
<h4>Correct Marks: <?php echo e($score['correct_marks']); ?></h4>
<div class="progress" >
<div class="progress-bar" role="progressbar" aria-valuenow="<?php echo e($score['correct_percent']); ?>"
aria-valuemin="0" aria-valuemax="100" style="width:<?php echo e($score['correct_percent']); ?>%">
<span class="sr-only"><?php echo e($score['correct_percent']); ?>% Complete</span>
</div>
</div>
<?php endif; ?>
</div>
</div>
</div>
</main>
<!-- end::main content -->
<?php $__env->stopSection(); ?>
<?php $__env->startPush('footer-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/mcq/result.blade.php ENDPATH**/ ?>