[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: b3d03fb9747ec35969979639cb480a98437fe2d0.php
<?php $__env->startPush('styles_top'); ?> <link rel="stylesheet" href="/assets/default/vendors/daterangepicker/daterangepicker.min.css"> <?php $__env->stopPush(); ?> <?php $__env->startSection('content'); ?> <section> <h2 class="section-title"><?php echo e(trans('quiz.results_statistics')); ?></h2> <div class="activities-container mt-25 p-20 p-lg-35"> <div class="row"> <div class="col-6 col-md-3 d-flex align-items-center justify-content-center"> <div class="d-flex flex-column align-items-center text-center"> <img src="/assets/default/img/activity/42.svg" width="64" height="64" alt=""> <strong class="font-30 text-dark-blue font-weight-bold mt-5"><?php echo e($quizzesResultsCount); ?></strong> <span class="font-16 text-gray font-weight-500"><?php echo e(trans('quiz.quizzes')); ?></span> </div> </div> <div class="col-6 col-md-3 d-flex align-items-center justify-content-center"> <div class="d-flex flex-column align-items-center text-center"> <img src="/assets/default/img/activity/45.svg" width="64" height="64" alt=""> <strong class="font-30 text-dark-blue font-weight-bold mt-5"><?php echo e($passedCount); ?></strong> <span class="font-16 text-gray font-weight-500"><?php echo e(trans('quiz.passed')); ?></span> </div> </div> <div class="col-6 col-md-3 mt-30 mt-md-0 d-flex align-items-center justify-content-center mt-5 mt-md-0"> <div class="d-flex flex-column align-items-center text-center"> <img src="/assets/default/img/activity/44.svg" width="64" height="64" alt=""> <strong class="font-30 text-dark-blue font-weight-bold mt-5"><?php echo e($failedCount); ?></strong> <span class="font-16 text-gray font-weight-500"><?php echo e(trans('quiz.failed')); ?></span> </div> </div> <div class="col-6 col-md-3 mt-30 mt-md-0 d-flex align-items-center justify-content-center mt-5 mt-md-0"> <div class="d-flex flex-column align-items-center text-center"> <img src="/assets/default/img/activity/43.svg" width="64" height="64" alt=""> <strong class="font-30 text-dark-blue font-weight-bold mt-5"><?php echo e($waitingCount); ?></strong> <span class="font-16 text-gray font-weight-500"><?php echo e(trans('quiz.open_results')); ?></span> </div> </div> </div> </div> </section> <section class="mt-25"> <h2 class="section-title"><?php echo e(trans('quiz.filter_results')); ?></h2> <div class="panel-section-card py-20 px-25 mt-20"> <form action="/panel/quizzes/my-results" method="get" class="row"> <div class="col-12 col-lg-4"> <div class="row"> <div class="col-12 col-md-6"> <div class="form-group"> <label class="input-label"><?php echo e(trans('public.from')); ?></label> <div class="input-group"> <div class="input-group-prepend"> <span class="input-group-text" id="dateInputGroupPrepend"> <i data-feather="calendar" width="18" height="18" class="text-white"></i> </span> </div> <input type="text" name="from" autocomplete="off" class="form-control <?php if(!empty(request()->get('from'))): ?> datepicker <?php else: ?> datefilter <?php endif; ?>" aria-describedby="dateInputGroupPrepend" value="<?php echo e(request()->get('from','')); ?>"/> </div> </div> </div> <div class="col-12 col-md-6"> <div class="form-group"> <label class="input-label"><?php echo e(trans('public.to')); ?></label> <div class="input-group"> <div class="input-group-prepend"> <span class="input-group-text" id="dateInputGroupPrepend"> <i data-feather="calendar" width="18" height="18" class="text-white"></i> </span> </div> <input type="text" name="to" autocomplete="off" class="form-control <?php if(!empty(request()->get('to'))): ?> datepicker <?php else: ?> datefilter <?php endif; ?>" aria-describedby="dateInputGroupPrepend" value="<?php echo e(request()->get('to','')); ?>"/> </div> </div> </div> </div> </div> <div class="col-12 col-lg-6"> <div class="row"> <div class="col-12 col-lg-4"> <div class="form-group"> <label class="input-label"><?php echo e(trans('quiz.quiz_or_webinar')); ?></label> <input type="text" name="quiz_or_webinar" class="form-control" value="<?php echo e(request()->get('quiz_or_webinar','')); ?>"/> </div> </div> <div class="col-12 col-lg-8"> <div class="row"> <div class="col-12 col-lg-8"> <div class="form-group"> <label class="input-label"><?php echo e(trans('public.instructor')); ?></label> <input type="text" name="instructor" class="form-control" value="<?php echo e(request()->get('instructor','')); ?>"/> </div> </div> <div class="col-12 col-lg-4"> <div class="form-group"> <label class="input-label"><?php echo e(trans('public.status')); ?></label> <select class="form-control" id="status" name="status"> <option value="all"><?php echo e(trans('public.all')); ?></option> <option value="passed" <?php echo e(request()->get('status') === "passed" ? 'selected' : ''); ?>><?php echo e(trans('quiz.passed')); ?></option> <option value="failed" <?php echo e(request()->get('status') === "failed" ? 'selected' : ''); ?>><?php echo e(trans('quiz.failed')); ?></option> <option value="waiting" <?php echo e(request()->get('status') === "waiting" ? 'selected' : ''); ?>><?php echo e(trans('quiz.waiting')); ?></option> </select> </div> </div> </div> </div> </div> </div> <div class="col-12 col-lg-2 d-flex align-items-center justify-content-end"> <button type="submit" class="btn btn-sm btn-primary w-100 mt-2"><?php echo e(trans('public.show_results')); ?></button> </div> </form> </div> </section> <section class="mt-35"> <div class="d-flex align-items-start align-items-md-center justify-content-between flex-column flex-md-row"> <h2 class="section-title"><?php echo e(trans('quiz.my_quizzes')); ?></h2> <form action="" method="get"> <div class="d-flex align-items-center flex-row-reverse flex-md-row justify-content-start justify-content-md-center mt-20 mt-md-0"> <label class="mb-0 mr-10 cursor-pointer font-14 text-gray font-weight-500" for="onlyOpenQuizzesSwitch"><?php echo e(trans('quiz.show_only_open_results')); ?></label> <div class="custom-control custom-switch"> <input type="checkbox" name="open_results" <?php if(request()->get('open_results','') == 'on'): ?> checked <?php endif; ?> class="custom-control-input" id="onlyOpenQuizzesSwitch"> <label class="custom-control-label" for="onlyOpenQuizzesSwitch"></label> </div> </div> </form> </div> <?php if($quizzesResults->count() > 0): ?> <div class="panel-section-card py-20 px-25 mt-20"> <div class="row"> <div class="col-12 "> <div class="table-responsive"> <table class="table custom-table"> <thead> <tr> <th><?php echo e(trans('public.instructor')); ?></th> <th><?php echo e(trans('quiz.quiz')); ?></th> <th class="text-center"><?php echo e(trans('quiz.quiz_grade')); ?></th> <th class="text-center"><?php echo e(trans('quiz.my_grade')); ?></th> <th class="text-center"><?php echo e(trans('public.status')); ?></th> <th class="text-center"><?php echo e(trans('public.date')); ?></th> <th></th> </tr> </thead> <tbody> <?php $__currentLoopData = $quizzesResults; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $result): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <tr> <td class="text-left"> <div class="user-inline-avatar d-flex align-items-center"> <div class="avatar bg-gray200"> <img src="<?php echo e($result->quiz->creator->getAvatar()); ?>" class="img-cover" alt=""> </div> <div class=" ml-5"> <span class="d-block"><?php echo e($result->quiz->creator->full_name); ?></span> <span class="mt-5 font-12 text-gray d-block"><?php echo e($result->quiz->creator->email); ?></span> </div> </div> </td> <td class="text-left"> <span class="d-block"><?php echo e($result->quiz->title); ?></span> <span class="font-12 text-gray d-block"><?php echo e($result->quiz->webinar->title); ?></span> </td> <td class="align-middle"><?php echo e($result->quiz->quizQuestions->sum('grade')); ?></td> <td class="align-middle"><?php echo e($result->user_grade); ?></td> <td class="align-middle"> <span class="d-block text-<?php echo e(($result->status == 'passed') ? 'primary' : ($result->status == 'waiting' ? 'warning' : 'danger')); ?>"> <?php echo e(trans('quiz.'.$result->status)); ?> </span> <?php if($result->status =='failed' and $result->can_try): ?> <span class="d-block font-12 text-gray"><?php echo e(trans('quiz.quiz_chance_remained',['count' => $result->count_can_try])); ?></span> <?php endif; ?> </td> <td class="align-middle"><?php echo e(dateTimeFormat($result->created_at,'j M Y H:i')); ?></td> <td class="align-middle text-right font-weight-normal"> <div class="btn-group dropdown table-actions table-actions-lg table-actions-lg"> <button type="button" class="btn-transparent dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> <i data-feather="more-vertical" height="20"></i> </button> <div class="dropdown-menu"> <?php if((!$result->can_try and $result->status != 'waiting') or ($result->status == 'passed')): ?> <a href="/panel/quizzes/<?php echo e($result->id); ?>/result" class="webinar-actions d-block mt-10"><?php echo e(trans('public.view_answers')); ?></a> <?php endif; ?> <?php if($result->status != 'passed'): ?> <?php if($result->can_try): ?> <a href="/panel/quizzes/<?php echo e($result->quiz->id); ?>/start" class="webinar-actions d-block mt-10"><?php echo e(trans('public.try_again')); ?></a> <?php endif; ?> <?php endif; ?> <a href="<?php echo e($result->quiz->webinar->getUrl()); ?>" class="webinar-actions d-block mt-10"><?php echo e(trans('webinars.webinar_page')); ?></a> </div> </div> </td> </tr> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </tbody> </table> </div> </div> </div> </div> <?php else: ?> <?php echo $__env->make(getTemplate() . '.includes.no-result',[ 'file_name' => 'result.png', 'title' => trans('quiz.quiz_result_no_result'), 'hint' => trans('quiz.quiz_result_no_result_hint'), ], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?> <?php endif; ?> </section> <div class="my-30"> <?php echo e($quizzesResults->appends(request()->input())->links('vendor.pagination.panel')); ?> </div> <?php $__env->stopSection(); ?> <?php $__env->startPush('scripts_bottom'); ?> <script src="/assets/default/vendors/moment.min.js"></script> <script src="/assets/default/vendors/daterangepicker/daterangepicker.min.js"></script> <script src="/assets/default/js/panel/quiz_list.min.js"></script> <?php $__env->stopPush(); ?> <?php echo $__env->make(getTemplate() .'.panel.layouts.panel_layout', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/aoneqssk/public_html/resources/views/web/default/panel/quizzes/my_results.blade.php ENDPATH**/ ?>
Save Changes
Cancel / Back
Close ×
Server Info
Hostname: premium320.web-hosting.com
Server IP: 66.29.153.54
PHP Version: 8.2.29
Server Software: LiteSpeed
System: Linux premium320.web-hosting.com 4.18.0-553.50.1.lve.el8.x86_64 #1 SMP Thu Apr 17 19:10:24 UTC 2025 x86_64
HDD Total: 97.87 GB
HDD Free: 76.85 GB
Domains on IP: N/A (Requires external lookup)
System Features
Safe Mode:
Off
disable_functions:
None
allow_url_fopen:
On
allow_url_include:
Off
magic_quotes_gpc:
Off
register_globals:
Off
open_basedir:
None
cURL:
Enabled
ZipArchive:
Enabled
MySQLi:
Enabled
PDO:
Enabled
wget:
Yes
curl (cmd):
Yes
perl:
Yes
python:
Yes (py3)
gcc:
Yes
pkexec:
No
git:
Yes
User Info
Username: aoneqssk
User ID (UID): 1285
Group ID (GID): 1290
Script Owner UID: 1285
Current Dir Owner: 1285