[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: 589c90839ec22f79c5c12d84b2556d527d6ccdb5.php
<div class="<?php if(!empty($quiz)): ?> multipleQuestionModal<?php echo e($quiz->id); ?> <?php endif; ?> <?php echo e(empty($question_edit) ? 'd-none' : ''); ?>"> <div class="custom-modal-body"> <h2 class="section-title after-line"><?php echo e(trans('quiz.multiple_choice_question')); ?></h2> <div class="quiz-questions-form" data-action="/panel/quizzes-questions/<?php echo e(empty($question_edit) ? 'store' : $question_edit->id.'/update'); ?>"> <input type="hidden" name="ajax[quiz_id]" value="<?php echo e(!empty($quiz) ? $quiz->id :''); ?>"> <input type="hidden" name="ajax[type]" value="<?php echo e(\App\Models\QuizzesQuestion::$multiple); ?>"> <div class="row mt-25"> <?php if(!empty(getGeneralSettings('content_translate'))): ?> <div class="col-12"> <div class="form-group"> <label class="input-label"><?php echo e(trans('auth.language')); ?></label> <select name="ajax[locale]" class="form-control <?php echo e(!empty($question_edit) ? 'js-quiz-question-locale' : ''); ?>" data-id="<?php echo e(!empty($question_edit) ? $question_edit->id : ''); ?>" > <?php $__currentLoopData = $userLanguages; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $lang => $language): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <option value="<?php echo e($lang); ?>" <?php echo e((!empty($question_edit) and !empty($question_edit->locale)) ? (mb_strtolower($question_edit->locale) == mb_strtolower($lang) ? 'selected' : '') : ($locale == $lang ? 'selected' : '')); ?>><?php echo e($language); ?></option> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </select> </div> </div> <?php else: ?> <input type="hidden" name="ajax[locale]" value="<?php echo e($defaultLocale); ?>"> <?php endif; ?> <div class="col-12 col-md-8"> <div class="form-group"> <label class="input-label"><?php echo e(trans('quiz.question_title')); ?></label> <textarea type="text" name="ajax[title]" class="js-ajax-title form-control" rows="1"><?php echo e(!empty($question_edit) ? $question_edit->title : ''); ?></textarea> <span class="invalid-feedback"></span> </div> </div> <div class="col-12 col-md-4"> <div class="form-group"> <label class="input-label"><?php echo e(trans('quiz.grade')); ?></label> <input type="text" name="ajax[grade]" class="js-ajax-grade form-control" value="<?php echo e(!empty($question_edit) ? $question_edit->grade : ''); ?>"/> <span class="invalid-feedback"></span> </div> </div> <div class="col-12 col-md-6"> <div class="form-group"> <label class="input-label"><?php echo e(trans('public.image')); ?> (<?php echo e(trans('public.optional')); ?>)</label> <div class="input-group mr-10"> <div class="input-group-prepend"> <button type="button" class="input-group-text panel-file-manager" data-input="questionImageInput_<?php echo e(!empty($question_edit) ? $question_edit->id : 'record'); ?>" data-preview="holder"> <i data-feather="upload" width="18" height="18" class="text-white"></i> </button> </div> <input type="text" name="ajax[image]" id="questionImageInput_<?php echo e(!empty($question_edit) ? $question_edit->id : 'record'); ?>" value="<?php echo e(!empty($question_edit) ? $question_edit->image : ''); ?>" class="js-ajax-image form-control" placeholder=""/> <span class="invalid-feedback"></span> </div> </div> </div> <div class="col-12 col-md-6"> <div class="form-group"> <label class="input-label"><?php echo e(trans('update.video')); ?> (<?php echo e(trans('public.optional')); ?>)</label> <div class="input-group mr-10"> <div class="input-group-prepend"> <button type="button" class="input-group-text panel-file-manager" data-input="questionVideoInput_<?php echo e(!empty($question_edit) ? $question_edit->id : 'record'); ?>" data-preview="holder"> <i data-feather="upload" width="18" height="18" class="text-white"></i> </button> </div> <input type="text" name="ajax[video]" id="questionVideoInput_<?php echo e(!empty($question_edit) ? $question_edit->id : 'record'); ?>" value="<?php echo e(!empty($question_edit) ? $question_edit->video : ''); ?>" class="js-ajax-video form-control" placeholder=""/> <span class="invalid-feedback"></span> </div> </div> </div> <p class="font-12 text-gray col-12 pb-10"><?php echo e(trans('update.quiz_question_image_validation_by_video')); ?></p> </div> <div class="mt-25"> <h2 class="section-title after-line"><?php echo e(trans('public.answers')); ?></h2> <div class="d-flex justify-content-between align-items-center"> <button type="button" class="btn btn-sm btn-primary mt-15 add-answer-btn"><?php echo e(trans('quiz.add_an_answer')); ?></button> <div class="form-group"> <input type="hidden" name="ajax[current_answer]" class="js-ajax-current_answer "/> <span class="invalid-feedback"></span> </div> </div> </div> <div class="add-answer-container"> <?php if(!empty($question_edit->quizzesQuestionsAnswers) and !$question_edit->quizzesQuestionsAnswers->isEmpty()): ?> <?php $__currentLoopData = $question_edit->quizzesQuestionsAnswers; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $answer): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <?php echo $__env->make(getTemplate() .'.panel.quizzes.modals.multiple_answer_form',['answer' => $answer], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> <?php else: ?> <?php echo $__env->make(getTemplate() .'.panel.quizzes.modals.multiple_answer_form', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?> <?php endif; ?> </div> <div class="d-flex align-items-center justify-content-end mt-25"> <button type="button" class="save-question btn btn-sm btn-primary"><?php echo e(trans('public.save')); ?></button> <button type="button" class="close-swl btn btn-sm btn-danger ml-10"><?php echo e(trans('public.close')); ?></button> </div> </div> </div> </div> <?php /**PATH /home/aoneqssk/public_html/resources/views/web/default/panel/quizzes/modals/multiple_question.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