[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: 1de6a198ad1300904a0dee13baf78d17a6a73be2.php
<li data-id="<?php echo e(!empty($chapterItem) ? $chapterItem->id :''); ?>" class="accordion-row bg-white rounded-sm border border-gray300 mt-20 py-15 py-lg-30 px-10 px-lg-20"> <div class="d-flex align-items-center justify-content-between " role="tab" id="file_<?php echo e(!empty($file) ? $file->id :'record'); ?>"> <div class="d-flex align-items-center" href="#collapseFile<?php echo e(!empty($file) ? $file->id :'record'); ?>" aria-controls="collapseFile<?php echo e(!empty($file) ? $file->id :'record'); ?>" data-parent="#chapterContentAccordion<?php echo e(!empty($chapter) ? $chapter->id :''); ?>" role="button" data-toggle="collapse" aria-expanded="true"> <span class="chapter-icon chapter-content-icon mr-10"> <i data-feather="<?php echo e(!empty($file) ? $file->getIconByType() : 'file'); ?>" class=""></i> </span> <div class="font-weight-bold text-dark-blue d-block"><?php echo e(!empty($file) ? $file->title . ($file->accessibility == 'free' ? " (". trans('public.free') .")" : '') : trans('public.add_new_files')); ?></div> </div> <div class="d-flex align-items-center"> <?php if(!empty($file) and $file->status != \App\Models\WebinarChapter::$chapterActive): ?> <span class="disabled-content-badge mr-10"><?php echo e(trans('public.disabled')); ?></span> <?php endif; ?> <?php if(!empty($file)): ?> <button type="button" data-item-id="<?php echo e($file->id); ?>" data-item-type="<?php echo e(\App\Models\WebinarChapterItem::$chapterFile); ?>" data-chapter-id="<?php echo e(!empty($chapter) ? $chapter->id : ''); ?>" class="js-change-content-chapter btn btn-sm btn-transparent text-gray mr-10"> <i data-feather="grid" class="" height="20"></i> </button> <?php endif; ?> <i data-feather="move" class="move-icon mr-10 cursor-pointer" height="20"></i> <?php if(!empty($file)): ?> <a href="/panel/files/<?php echo e($file->id); ?>/delete" class="delete-action btn btn-sm btn-transparent text-gray"> <i data-feather="trash-2" class="mr-10 cursor-pointer" height="20"></i> </a> <?php endif; ?> <i class="collapse-chevron-icon" data-feather="chevron-down" height="20" href="#collapseFile<?php echo e(!empty($file) ? $file->id :'record'); ?>" aria-controls="collapseFile<?php echo e(!empty($file) ? $file->id :'record'); ?>" data-parent="#chapterContentAccordion<?php echo e(!empty($chapter) ? $chapter->id :''); ?>" role="button" data-toggle="collapse" aria-expanded="true"></i> </div> </div> <div id="collapseFile<?php echo e(!empty($file) ? $file->id :'record'); ?>" aria-labelledby="file_<?php echo e(!empty($file) ? $file->id :'record'); ?>" class=" collapse <?php if(empty($file)): ?> show <?php endif; ?>" role="tabpanel"> <div class="panel-collapse text-gray"> <div class="js-content-form file-form" data-action="/panel/files/<?php echo e(!empty($file) ? $file->id . '/update' : 'store'); ?>"> <input type="hidden" name="ajax[<?php echo e(!empty($file) ? $file->id : 'new'); ?>][webinar_id]" value="<?php echo e(!empty($webinar) ? $webinar->id :''); ?>"> <input type="hidden" name="ajax[<?php echo e(!empty($file) ? $file->id : 'new'); ?>][storage]" value="upload_archive" class=""> <input type="hidden" name="ajax[<?php echo e(!empty($file) ? $file->id : 'new'); ?>][file_type]" value="archive" class=""> <div class="row"> <div class="col-12 col-lg-6"> <?php if(!empty(getGeneralSettings('content_translate'))): ?> <div class="form-group"> <label class="input-label"><?php echo e(trans('auth.language')); ?></label> <select name="ajax[<?php echo e(!empty($file) ? $file->id : 'new'); ?>][locale]" class="form-control <?php echo e(!empty($file) ? 'js-webinar-content-locale' : ''); ?>" data-webinar-id="<?php echo e(!empty($webinar) ? $webinar->id : ''); ?>" data-id="<?php echo e(!empty($file) ? $file->id : ''); ?>" data-relation="files" data-fields="title,description" > <?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($file) and !empty($file->locale)) ? (mb_strtolower($file->locale) == mb_strtolower($lang) ? 'selected' : '') : ($locale == $lang ? 'selected' : '')); ?>><?php echo e($language); ?></option> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </select> </div> <?php else: ?> <input type="hidden" name="ajax[<?php echo e(!empty($file) ? $file->id : 'new'); ?>][locale]" value="<?php echo e($defaultLocale); ?>"> <?php endif; ?> <div class="form-group"> <label class="input-label"><?php echo e(trans('public.title')); ?></label> <input type="text" name="ajax[<?php echo e(!empty($file) ? $file->id : 'new'); ?>][title]" class="js-ajax-title form-control" value="<?php echo e(!empty($file) ? $file->title : ''); ?>" placeholder="<?php echo e(trans('forms.maximum_255_characters')); ?>"/> <div class="invalid-feedback"></div> </div> <?php if(!empty($file)): ?> <div class="form-group"> <label class="input-label"><?php echo e(trans('public.chapter')); ?></label> <select name="ajax[<?php echo e(!empty($file) ? $file->id : 'new'); ?>][chapter_id]" class="js-ajax-chapter_id form-control"> <?php $__currentLoopData = $webinar->chapters; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $ch): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <option value="<?php echo e($ch->id); ?>" <?php echo e(($file->chapter_id == $ch->id) ? 'selected' : ''); ?>><?php echo e($ch->title); ?></option> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </select> <div class="invalid-feedback"></div> </div> <?php else: ?> <input type="hidden" name="ajax[new][chapter_id]" value="" class="chapter-input"> <?php endif; ?> <div class="form-group"> <label class="input-label"><?php echo e(trans('update.interactive_type')); ?></label> <select name="ajax[<?php echo e(!empty($file) ? $file->id : 'new'); ?>][interactive_type]" class="js-interactive-type form-control"> <option value="adobe_captivate" <?php echo e((!empty($file) and $file->interactive_type == 'adobe_captivate') ? 'selected' : ''); ?>><?php echo e(trans('update.adobe_captivate')); ?></option> <option value="i_spring" <?php echo e((!empty($file) and $file->interactive_type == 'i_spring') ? 'selected' : ''); ?>><?php echo e(trans('update.i_spring')); ?></option> <option value="custom" <?php echo e((!empty($file) and $file->interactive_type == 'custom') ? 'selected' : ''); ?>><?php echo e(trans('update.custom')); ?></option> </select> <div class="invalid-feedback"></div> </div> <div class="js-interactive-file-name-input form-group <?php echo e((!empty($file) and $file->interactive_type == 'custom') ? '' : 'd-none'); ?>"> <label class="input-label"><?php echo e(trans('update.interactive_file_name')); ?></label> <input type="text" name="ajax[<?php echo e(!empty($file) ? $file->id : 'new'); ?>][interactive_file_name]" class="js-ajax-interactive_file_name form-control" value="<?php echo e(!empty($file) ? $file->interactive_file_name : ''); ?>" placeholder="<?php echo e(trans('update.interactive_file_name_placeholder')); ?>"/> <div class="invalid-feedback"></div> </div> <div class="form-group"> <label class="input-label"><?php echo e(trans('public.accessibility')); ?></label> <div class="d-flex align-items-center js-ajax-accessibility"> <div class="custom-control custom-radio"> <input type="radio" name="ajax[<?php echo e(!empty($file) ? $file->id : 'new'); ?>][accessibility]" value="free" <?php if(empty($file) or (!empty($file) and $file->accessibility == 'free')): ?> checked="checked" <?php endif; ?> id="accessibilityRadio1_<?php echo e(!empty($file) ? $file->id : 'record'); ?>" class="custom-control-input"> <label class="custom-control-label font-14 cursor-pointer" for="accessibilityRadio1_<?php echo e(!empty($file) ? $file->id : 'record'); ?>"><?php echo e(trans('public.free')); ?></label> </div> <div class="custom-control custom-radio ml-15"> <input type="radio" name="ajax[<?php echo e(!empty($file) ? $file->id : 'new'); ?>][accessibility]" value="paid" <?php if(!empty($file) and $file->accessibility == 'paid'): ?> checked="checked" <?php endif; ?> id="accessibilityRadio2_<?php echo e(!empty($file) ? $file->id : 'record'); ?>" class="custom-control-input"> <label class="custom-control-label font-14 cursor-pointer" for="accessibilityRadio2_<?php echo e(!empty($file) ? $file->id : 'record'); ?>"><?php echo e(trans('public.paid')); ?></label> </div> </div> <div class="invalid-feedback"></div> </div> <div class="form-group js-file-path-input"> <div class="local-input input-group"> <div class="input-group-prepend"> <button type="button" class="input-group-text panel-file-manager text-white" data-input="file_path<?php echo e(!empty($file) ? $file->id : 'record'); ?>" data-preview="holder"> <i data-feather="upload" width="18" height="18" class="text-white"></i> </button> </div> <input type="text" name="ajax[<?php echo e(!empty($file) ? $file->id : 'new'); ?>][file_path]" id="file_path<?php echo e(!empty($file) ? $file->id : 'record'); ?>" value="<?php echo e((!empty($file)) ? $file->file : ''); ?>" class="js-ajax-file_path form-control" placeholder="<?php echo e(trans('update.choose_zip_file')); ?>"/> <div class="invalid-feedback"></div> </div> </div> <div class="form-group"> <label class="input-label"><?php echo e(trans('public.description')); ?></label> <textarea name="ajax[<?php echo e(!empty($file) ? $file->id : 'new'); ?>][description]" class="js-ajax-description form-control" rows="6"><?php echo e(!empty($file) ? $file->description : ''); ?></textarea> <div class="invalid-feedback"></div> </div> <div class="form-group mt-20"> <div class="d-flex align-items-center justify-content-between"> <label class="cursor-pointer input-label" for="fileStatusSwitch<?php echo e(!empty($file) ? $file->id : '_record'); ?>"><?php echo e(trans('public.active')); ?></label> <div class="custom-control custom-switch"> <input type="checkbox" name="ajax[<?php echo e(!empty($file) ? $file->id : 'new'); ?>][status]" class="custom-control-input" id="fileStatusSwitch<?php echo e(!empty($file) ? $file->id : '_record'); ?>" <?php echo e((empty($file) or $file->status == \App\Models\File::$Active) ? 'checked' : ''); ?>> <label class="custom-control-label" for="fileStatusSwitch<?php echo e(!empty($file) ? $file->id : '_record'); ?>"></label> </div> </div> </div> <?php if(getFeaturesSettings('sequence_content_status')): ?> <div class="form-group mt-20"> <div class="d-flex align-items-center justify-content-between"> <label class="cursor-pointer input-label" for="SequenceContentSwitch<?php echo e(!empty($file) ? $file->id : '_record'); ?>"><?php echo e(trans('update.sequence_content')); ?></label> <div class="custom-control custom-switch"> <input type="checkbox" name="ajax[<?php echo e(!empty($file) ? $file->id : 'new'); ?>][sequence_content]" class="js-sequence-content-switch custom-control-input" id="SequenceContentSwitch<?php echo e(!empty($file) ? $file->id : '_record'); ?>" <?php echo e((!empty($file) and ($file->check_previous_parts or !empty($file->access_after_day))) ? 'checked' : ''); ?>> <label class="custom-control-label" for="SequenceContentSwitch<?php echo e(!empty($file) ? $file->id : '_record'); ?>"></label> </div> </div> </div> <div class="js-sequence-content-inputs pl-5 <?php echo e((!empty($file) and ($file->check_previous_parts or !empty($file->access_after_day))) ? '' : 'd-none'); ?>"> <div class="form-group"> <div class="d-flex align-items-center justify-content-between"> <label class="cursor-pointer input-label" for="checkPreviousPartsSwitch<?php echo e(!empty($file) ? $file->id : '_record'); ?>"><?php echo e(trans('update.check_previous_parts')); ?></label> <div class="custom-control custom-switch"> <input type="checkbox" name="ajax[<?php echo e(!empty($file) ? $file->id : 'new'); ?>][check_previous_parts]" class="custom-control-input" id="checkPreviousPartsSwitch<?php echo e(!empty($file) ? $file->id : '_record'); ?>" <?php echo e((empty($file) or $file->check_previous_parts) ? 'checked' : ''); ?>> <label class="custom-control-label" for="checkPreviousPartsSwitch<?php echo e(!empty($file) ? $file->id : '_record'); ?>"></label> </div> </div> </div> <div class="form-group"> <label class="input-label"><?php echo e(trans('update.access_after_day')); ?></label> <input type="number" name="ajax[<?php echo e(!empty($file) ? $file->id : 'new'); ?>][access_after_day]" value="<?php echo e((!empty($file)) ? $file->access_after_day : ''); ?>" class="js-ajax-access_after_day form-control" placeholder="<?php echo e(trans('update.access_after_day_placeholder')); ?>"/> <div class="invalid-feedback"></div> </div> </div> <?php endif; ?> </div> </div> <div class="mt-30 d-flex align-items-center"> <button type="button" class="js-save-file btn btn-sm btn-primary"><?php echo e(trans('public.save')); ?></button> <?php if(empty($file)): ?> <button type="button" class="btn btn-sm btn-danger ml-10 cancel-accordion"><?php echo e(trans('public.close')); ?></button> <?php endif; ?> </div> </div> </div> </div> </li> <?php $__env->startPush('scripts_bottom'); ?> <script> var filePathPlaceHolderBySource = { upload: '<?php echo e(trans('update.file_source_upload_placeholder')); ?>', youtube: '<?php echo e(trans('update.file_source_youtube_placeholder')); ?>', vimeo: '<?php echo e(trans('update.file_source_vimeo_placeholder')); ?>', external_link: '<?php echo e(trans('update.file_source_external_link_placeholder')); ?>', google_drive: '<?php echo e(trans('update.file_source_google_drive_placeholder')); ?>', dropbox: '<?php echo e(trans('update.file_source_dropbox_placeholder')); ?>', iframe: '<?php echo e(trans('update.file_source_iframe_placeholder')); ?>', s3: '<?php echo e(trans('update.file_source_s3_placeholder')); ?>', } </script> <?php $__env->stopPush(); ?> <?php /**PATH /home/aoneqssk/public_html/resources/views/web/default/panel/webinar/create_includes/accordions/new_interactive_file.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