[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: 6dd6f23b63a6b9758b072ec1a75e6cffb0211c71.php
<?php $__env->startSection('content'); ?> <div class="container"> <section class="mt-40"> <h2 class="font-weight-bold font-16 text-dark-blue"><?php echo e(trans('quiz.level_identification_quiz')); ?></h2> <p class="text-gray font-14 mt-5"><?php echo e($quiz->title); ?> | <?php echo e(trans('public.by')); ?> <span class="font-weight-bold"><?php echo e($quiz->creator->full_name); ?></span></p> <div class="activities-container shadow-sm rounded-lg mt-25 p-20 p-lg-35"> <div class="row"> <div class="col-6 col-md-3 mt-30 mt-md-0 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/58.svg" width="64" height="64" alt=""> <strong class="font-30 font-weight-bold text-secondary mt-5"><?php echo e($quiz->pass_mark); ?>/<?php echo e($quizQuestions->sum('grade')); ?></strong> <span class="font-16 text-gray font-weight-500"><?php echo e(trans('public.min')); ?> <?php echo e(trans('quiz.grade')); ?></span> </div> </div> <div class="col-6 col-md-3 mt-30 mt-md-0 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/88.svg" width="64" height="64" alt=""> <strong class="font-30 font-weight-bold text-secondary mt-5"><?php echo e($attempt_count); ?>/<?php echo e($quiz->attempt); ?></strong> <span class="font-16 text-gray font-weight-500"><?php echo e(trans('quiz.attempts')); ?></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/45.svg" width="64" height="64" alt=""> <strong class="font-30 font-weight-bold text-secondary mt-5"><?php echo e($quizResult->user_grade); ?>/<?php echo e($quizQuestions->sum('grade')); ?></strong> <span class="font-16 text-gray font-weight-500"><?php echo e(trans('quiz.your_grade')); ?></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 font-weight-bold text-<?php echo e(($quizResult->status == 'passed') ? 'primary' : ($quizResult->status == 'waiting' ? 'warning' : 'danger')); ?> mt-5"> <?php echo e(trans('quiz.'.$quizResult->status)); ?> </strong> <span class="font-16 text-gray font-weight-500"><?php echo e(trans('public.status')); ?></span> </div> </div> </div> </div> </section> <section class="mt-30 rounded-lg shadow-sm py-25 px-20"> <?php switch($quizResult->status): case (\App\Models\QuizzesResult::$passed): ?> <div class="no-result default-no-result mt-50 d-flex align-items-center justify-content-center flex-column"> <div class="no-result-logo"> <img src="/assets/default/img/no-results/497.png" alt=""> </div> <div class="d-flex align-items-center flex-column mt-30 text-center"> <h2 class="section-title"><?php echo e(trans('quiz.status_passed_title')); ?></h2> <p class="mt-5 text-center"><?php echo trans('quiz.status_passed_hint',['grade' => $quizResult->user_grade.'/'.$quizQuestions->sum('grade')]); ?></p> <?php if($quiz->certificate): ?> <p><?php echo e(trans('quiz.you_can_download_certificate')); ?></p> <?php endif; ?> <div class=" mt-25"> <a href="/panel/quizzes/my-results" class="btn btn-sm btn-primary"><?php echo e(trans('public.show_results')); ?></a> <?php if($quiz->certificate): ?> <a href="/panel/quizzes/results/<?php echo e($quizResult->id); ?>/showCertificate" class="btn btn-sm btn-primary"><?php echo e(trans('quiz.download_certificate')); ?></a> <?php endif; ?> </div> </div> </div> <?php break; ?> <?php case (\App\Models\QuizzesResult::$failed): ?> <div class="no-result status-failed mt-50 d-flex align-items-center justify-content-center flex-column"> <div class="no-result-logo"> <img src="/assets/default/img/no-results/339.png" alt=""> </div> <div class="d-flex align-items-center flex-column mt-30 text-center"> <h2 class="section-title"><?php echo e(trans('quiz.status_failed_title')); ?></h2> <p class="mt-5 text-center"><?php echo trans('quiz.status_failed_hint',['min_grade' => $quiz->pass_mark .'/'. $quizQuestions->sum('grade'),'user_grade' => $quizResult->user_grade]); ?></p> <?php if($canTryAgain): ?> <p><?php echo e(trans('public.you_can_try_again')); ?></p> <?php endif; ?> <div class=" mt-25"> <?php if($canTryAgain): ?> <a href="/panel/quizzes/<?php echo e($quiz->id); ?>/start" class="btn btn-sm btn-primary"><?php echo e(trans('public.try_again')); ?></a> <?php endif; ?> <a href="/panel/quizzes/my-results" class="btn btn-sm btn-primary"><?php echo e(trans('public.show_results')); ?></a> </div> </div> </div> <?php break; ?> <?php case (\App\Models\QuizzesResult::$waiting): ?> <div class="no-result status-waiting mt-50 d-flex align-items-center justify-content-center flex-column"> <div class="no-result-logo"> <img src="/assets/default/img/no-results/242.png" alt=""> </div> <div class="d-flex align-items-center flex-column mt-30 text-center"> <h2 class="section-title"><?php echo e(trans('quiz.status_waiting_title')); ?></h2> <p class="mt-5 text-center"><?php echo nl2br(trans('quiz.status_waiting_hint')); ?></p> <div class=" mt-25"> <a href="/panel/quizzes/my-results" class="btn btn-sm btn-primary"><?php echo e(trans('public.show_results')); ?></a> </div> </div> </div> <?php break; ?> <?php endswitch; ?> </section> </div> <?php $__env->stopSection(); ?> <?php echo $__env->make(getTemplate().'.layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/aoneqssk/public_html/resources/views/web/default/panel/quizzes/status.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