⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.19
Server IP:
178.33.27.10
Server:
Linux cpanel.dev-unit.com 3.10.0-1160.108.1.el7.x86_64 #1 SMP Thu Jan 25 16:17:31 UTC 2024 x86_64
Server Software:
Apache/2.4.57 (Unix) OpenSSL/1.0.2k-fips
PHP Version:
8.2.11
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
home
/
id
/
public_html
/
storage
/
framework
/
views
/
View File Name :
ca1e901c0c938c3895571db1ec5719675a4ea083.php
<?php $selLang = \App\Models\User\Language::where([['code', request()->input('language')], ['user_id', \Illuminate\Support\Facades\Auth::guard('web')->user()->id]])->first(); $userDefaultLang = \App\Models\User\Language::where([['user_id', \Illuminate\Support\Facades\Auth::guard('web')->user()->id], ['is_default', 1]])->first(); $userLanguages = \App\Models\User\Language::where('user_id', \Illuminate\Support\Facades\Auth::guard('web')->user()->id)->get(); ?> <?php if(!empty($selLang) && $selLang->rtl == 1): ?> <?php $__env->startSection('styles'); ?> <style> form:not(.modal-form) input, form:not(.modal-form) textarea, form:not(.modal-form) select, select[name='userLanguage'] { direction: rtl; } form:not(.modal-form) .note-editor.note-frame .note-editing-area .note-editable { direction: rtl; text-align: right; } </style> <?php $__env->stopSection(); ?> <?php endif; ?> <?php $__env->startSection('content'); ?> <div class="page-header"> <h4 class="page-title"><?php echo e($keywords['Appointment_Settings'] ?? __('Appointment Settings')); ?></h4> <ul class="breadcrumbs"> <li class="nav-home"> <a href="<?php echo e(route('user-dashboard')); ?>"> <i class="flaticon-home"></i> </a> </li> <li class="separator"> <i class="flaticon-right-arrow"></i> </li> <li class="nav-item"> <a href="<?php echo e(route('user.forminput') . '?language=' . request('language')); ?>"><?php echo e($keywords['Form_Builder'] ?? __('Form Builder')); ?></a> </li> </ul> </div> <div class="row" id="app"> <div class="col-lg-7"> <div class="card"> <div class="card-header"> <div class="row"> <div class="col-lg-8"> <div class="card-title"><?php echo e($keywords['Input_Fields'] ?? __('Input Fields')); ?></div> </div> <div class="col-lg-4"> </div> </div> </div> <div class="card-body"> <p class="text-warning">** <?php echo e($keywords['Do_not_create'] ?? __(' Do not create')); ?> <strong class="text-danger"><?php echo e($keywords['Name'] ?? __('Name')); ?> & <?php echo e($keywords['Email'] ?? __('Email')); ?></strong> <?php echo e($keywords['input_field_name_email_text'] ?? __('input field, it will be in the Appointment form By default')); ?> .</p> <?php if(count($inputs) > 0): ?> <div id="sortable"> <?php $__currentLoopData = $inputs; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $input): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <?php if($input->type == 1): ?> <form class="ui-state-default" action="<?php echo e(route('user.form.inputDelete')); ?>" method="post" data-id="<?php echo e($input->id); ?>"> <?php echo e(csrf_field()); ?> <input type="hidden" name="input_id" value="<?php echo e($input->id); ?>"> <div class="form-group"> <label for=""><?php echo e($input->label); ?> <?php if($input->required == 1): ?> <span>**</span> <?php elseif($input->required == 0): ?> (<?php echo e($keywords['Optional'] ?? __('Optional')); ?>) <?php endif; ?> </label> <div class="row"> <div class="col-md-10"> <input class="form-control" type="text" name="" value="" placeholder="<?php echo e($input->placeholder); ?>"> </div> <div class="col-md-1"> <a class="btn btn-warning btn-sm" href="<?php echo e(route('user.form.inputEdit', $input->id) . '?language=' . request()->input('language')); ?>"> <i class="fas fa-edit"></i> </a> </div> <div class="col-md-1"> <button class="btn btn-danger btn-sm" type="submit"> <i class="fa fa-times"></i> </button> </div> </div> </div> </form> <?php elseif($input->type == 2): ?> <form class="ui-state-default" action="<?php echo e(route('user.form.inputDelete')); ?>" method="post" data-id="<?php echo e($input->id); ?>"> <?php echo e(csrf_field()); ?> <input type="hidden" name="input_id" value="<?php echo e($input->id); ?>"> <div class="form-group"> <label for=""><?php echo e($input->label); ?> <?php if($input->required == 1): ?> <span>**</span> <?php elseif($input->required == 0): ?> (<?php echo e($keywords['Optional'] ?? __('Optional')); ?>) <?php endif; ?> </label> <div class="row"> <div class="col-md-10"> <select class="form-control" name=""> <option value="" selected disabled> <?php echo e($input->placeholder); ?> </option> <?php $__currentLoopData = $input->form_input_options; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $option): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <option value=""><?php echo e($option->name); ?></option> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </select> </div> <div class="col-md-1"> <a class="btn btn-warning btn-sm" href="<?php echo e(route('user.form.inputEdit', $input->id) . '?language=' . request()->input('language')); ?>"> <i class="fas fa-edit"></i> </a> </div> <div class="col-md-1"> <button class="btn btn-danger btn-sm" type="submit"> <i class="fa fa-times"></i> </button> </div> </div> </div> </form> <?php elseif($input->type == 3): ?> <form class="ui-state-default" action="<?php echo e(route('user.form.inputDelete')); ?>" method="post" data-id="<?php echo e($input->id); ?>"> <?php echo e(csrf_field()); ?> <input type="hidden" name="input_id" value="<?php echo e($input->id); ?>"> <div class="form-group"> <label for=""><?php echo e($input->label); ?> <?php if($input->required == 1): ?> <span>**</span> <?php elseif($input->required == 0): ?> (<?php echo e($keywords['Optional'] ?? __('Optional')); ?>) <?php endif; ?> </label> <div class="row"> <div class="col-md-10"> <?php $__currentLoopData = $input->form_input_options; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $option): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <div class="custom-control custom-checkbox"> <input type="checkbox" id="customRadio<?php echo e($option->id); ?>" name="customRadio" class="custom-control-input"> <label class="custom-control-label" for="customRadio<?php echo e($option->id); ?>"><?php echo e($option->name); ?></label> </div> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </div> <div class="col-md-1"> <a class="btn btn-warning btn-sm" href="<?php echo e(route('user.form.inputEdit', $input->id) . '?language=' . request()->input('language')); ?>"> <i class="fas fa-edit"></i> </a> </div> <div class="col-md-1"> <button type="submit" class="btn btn-danger btn-sm"> <i class="fa fa-times"></i> </button> </div> </div> </div> </form> <?php elseif($input->type == 4): ?> <form class="ui-state-default" action="<?php echo e(route('user.form.inputDelete')); ?>" method="post" data-id="<?php echo e($input->id); ?>"> <?php echo e(csrf_field()); ?> <input type="hidden" name="input_id" value="<?php echo e($input->id); ?>"> <div class="form-group"> <label for=""><?php echo e($input->label); ?> <?php if($input->required == 1): ?> <span>**</span> <?php elseif($input->required == 0): ?> (<?php echo e($keywords['Optional'] ?? __('Optional')); ?>) <?php endif; ?> </label> <div class="row"> <div class="col-md-10"> <textarea class="form-control" name="" rows="5" cols="80" placeholder="<?php echo e($input->placeholder); ?>"></textarea> </div> <div class="col-md-1"> <a class="btn btn-warning btn-sm" href="<?php echo e(route('user.form.inputEdit', $input->id) . '?language=' . request()->input('language')); ?>"> <i class="fas fa-edit"></i> </a> </div> <div class="col-md-1"> <button type="submit" class="btn btn-danger btn-sm"> <i class="fa fa-times"></i> </button> </div> </div> </div> </form> <?php elseif($input->type == 6): ?> <form class="ui-state-default" action="<?php echo e(route('user.form.inputDelete')); ?>" method="post" data-id="<?php echo e($input->id); ?>"> <?php echo e(csrf_field()); ?> <input type="hidden" name="input_id" value="<?php echo e($input->id); ?>"> <div class="form-group"> <label for=""><?php echo e($input->label); ?> <?php if($input->required == 1): ?> <span>**</span> <?php elseif($input->required == 0): ?> (<?php echo e($keywords['Optional'] ?? __('Optional')); ?>) <?php endif; ?> </label> <div class="row"> <div class="col-md-10"> <input type="text" class="form-control datepicker" autocomplete="off" placeholder="<?php echo e($input->placeholder); ?>"> </div> <div class="col-md-1"> <a class="btn btn-warning btn-sm" href="<?php echo e(route('user.form.inputEdit', $input->id) . '?language=' . request()->input('language')); ?>"> <i class="fas fa-edit"></i> </a> </div> <div class="col-md-1"> <button type="submit" class="btn btn-danger btn-sm"> <i class="fa fa-times"></i> </button> </div> </div> </div> </form> <?php elseif($input->type == 7): ?> <form class="ui-state-default" action="<?php echo e(route('user.form.inputDelete')); ?>" method="post" data-id="<?php echo e($input->id); ?>"> <?php echo e(csrf_field()); ?> <input type="hidden" name="input_id" value="<?php echo e($input->id); ?>"> <div class="form-group"> <label for=""><?php echo e($input->label); ?> <?php if($input->required == 1): ?> <span>**</span> <?php elseif($input->required == 0): ?> (<?php echo e($keywords['Optional'] ?? __('Optional')); ?>) <?php endif; ?> </label> <div class="row"> <div class="col-md-10"> <input type="text" class="form-control timepicker" autocomplete="off" placeholder="<?php echo e($input->placeholder); ?>"> </div> <div class="col-md-1"> <a class="btn btn-warning btn-sm" href="<?php echo e(route('user.form.inputEdit', $input->id) . '?language=' . request()->input('language')); ?>"> <i class="fas fa-edit"></i> </a> </div> <div class="col-md-1"> <button type="submit" class="btn btn-danger btn-sm"> <i class="fa fa-times"></i> </button> </div> </div> </div> </form> <?php elseif($input->type == 5): ?> <form class="ui-state-default" action="<?php echo e(route('user.form.inputDelete')); ?>" method="post" data-id="<?php echo e($input->id); ?>"> <?php echo e(csrf_field()); ?> <input type="hidden" name="input_id" value="<?php echo e($input->id); ?>"> <div class="form-group"> <label for=""><?php echo e($input->label); ?> <?php if($input->required == 1): ?> <span>**</span> <?php elseif($input->required == 0): ?> (<?php echo e($keywords['Optional'] ?? __('Optional')); ?>) <?php endif; ?> <?php // $exts = explode(',', $input->file_extensions); ?> ( <?php echo e($keywords['Allowed_extensions'] ?? __('Allowed extensions')); ?> : <?php echo e($input->file_extensions); ?>) </label> <div class="row"> <div class="col-md-10"> <input type="file"> </div> <div class="col-md-1"> <a class="btn btn-warning btn-sm" href="<?php echo e(route('user.form.inputEdit', $input->id) . '?language=' . request()->input('language')); ?>"> <i class="fas fa-edit"></i> </a> </div> <div class="col-md-1"> <button type="submit" class="btn btn-danger btn-sm"> <i class="fa fa-times"></i> </button> </div> </div> </div> </form> <?php endif; ?> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </div> <?php endif; ?> </div> </div> </div> <div class="col-lg-5"> <div class="card"> <div class="card-header"> <div class="card-title"> <?php echo e($keywords['Create_Input'] ?? __('Create Input')); ?> <?php if(!empty($back_url)): ?> <a href="<?php echo e($back_url); ?>" class="btn btn-primary btn-sm float-right text-white"><?php echo e($keywords['Back'] ?? __('Back')); ?></a> <?php endif; ?> </div> </div> <form id="ajaxForm" action="<?php echo e(route('user.form.store')); ?>" method="post" enctype="multipart/form-data"> <?php echo e(csrf_field()); ?> <input type="hidden" name="category_id" value="<?php echo e($type_details ? $type_details->id : ''); ?>"> <input type="hidden" name="language_id" value="<?php echo e($lang_id); ?>"> <div class="form-group"> <label for=""><strong><?php echo e($keywords['Field_Type'] ?? __('Field Type')); ?></strong></label> <div class=""> <div class="form-check form-check-inline"> <input name="type" class="form-check-input" type="radio" id="inlineRadio1" value="1" v-model="type" @change="typeChange()"> <label class="form-check-label mb-0" for="inlineRadio1"><?php echo e($keywords['Text_Field'] ?? __('Text Field')); ?></label> </div> <div class="form-check form-check-inline"> <input name="type" class="form-check-input" type="radio" id="inlineRadio2" value="2" v-model="type" @change="typeChange()"> <label class="form-check-label mb-0" for="inlineRadio2"><?php echo e($keywords['Select'] ?? __('Select')); ?></label> </div> <div class="form-check form-check-inline"> <input name="type" class="form-check-input" type="radio" id="inlineRadio3" value="3" v-model="type" @change="typeChange()"> <label class="form-check-label mb-0" for="inlineRadio3"><?php echo e($keywords['Checkbox'] ?? __('Checkbox')); ?></label> </div> <div class="form-check form-check-inline"> <input name="type" class="form-check-input" type="radio" id="inlineRadio4" value="4" v-model="type" @change="typeChange()"> <label class="form-check-label mb-0" for="inlineRadio4"><?php echo e($keywords['Textarea'] ?? __('Textarea')); ?></label> </div> <div class="form-check form-check-inline"> <input name="type" class="form-check-input" type="radio" id="inlineRadio6" value="6" v-model="type" @change="typeChange()"> <label class="form-check-label mb-0" for="inlineRadio6"><?php echo e($keywords['Datepicker'] ?? __('Datepicker')); ?></label> </div> <div class="form-check form-check-inline"> <input name="type" class="form-check-input" type="radio" id="inlineRadio7" value="7" v-model="type" @change="typeChange()"> <label class="form-check-label mb-0" for="inlineRadio7"><?php echo e($keywords['Timepicker'] ?? __('Timepicker')); ?></label> </div> <div class="form-check form-check-inline"> <input name="type" class="form-check-input" type="radio" id="inlineRadio5" value="5" v-model="type" @change="typeChange()"> <label class="form-check-label mb-0" for="inlineRadio5"><?php echo e($keywords['File'] ?? __('File')); ?></label> </div> </div> <p id="errtype" class="mb-0 text-danger em"></p> </div> <div class="form-group"> <label><?php echo e($keywords['Required'] ?? __('Required')); ?></label> <div class="selectgroup w-100"> <label class="selectgroup-item"> <input type="radio" name="required" value="1" class="selectgroup-input" checked> <span class="selectgroup-button"><?php echo e($keywords['Yes'] ?? __('Yes')); ?></span> </label> <label class="selectgroup-item"> <input type="radio" name="required" value="0" class="selectgroup-input"> <span class="selectgroup-button"><?php echo e($keywords['No'] ?? __('No')); ?></span> </label> </div> <p id="errrequired" class="mb-0 text-danger em"></p> </div> <div class="form-group"> <label for=""><strong><?php echo e($keywords['Label_Name'] ?? __('Label Name')); ?></strong></label> <div class=""> <input type="text" class="form-control" name="label" value="" placeholder="<?php echo e($keywords['Enter_Label_Name'] ?? __('Enter Label Name')); ?>"> </div> <p id="errlabel" class="mb-0 text-danger em"></p> </div> <div class="form-group" v-if="placeholdershow"> <label for=""><strong><?php echo e($keywords['Placeholder'] ?? __('Placeholder')); ?></strong></label> <div class=""> <input type="text" class="form-control" name="placeholder" value="" placeholder="<?php echo e($keywords['Enter_Placeholder'] ?? __('Enter Placeholder')); ?>"> </div> <p id="errplaceholder" class="mb-0 text-danger em"></p> </div> <div class="form-group" v-show="fileExtensions"> <label for=""><strong><?php echo e($keywords['file_extensions'] ?? __('File Extensions')); ?></strong></label> <input type="text" class="form-control" name="file_extensions" data-role="tagsinput" placeholder="<?php echo e(__('use comma to separate extensions.')); ?>"> <p id="errfile_extensions" class="mb-0 text-danger em"></p> </div> <div class="form-group" v-if="counter > 0" id="optionarea"> <label for=""><strong><?php echo e($keywords['Options'] ?? __('Options')); ?></strong></label> <div class="row mb-2 counterrow" v-for="n in counter" :id="'counterrow' + n"> <div class="col-md-10"> <input type="text" class="form-control" name="options[]" value="" placeholder="<?php echo e($keywords['Option_label'] ?? __('Option label')); ?>"> </div> <div class="col-md-1"> <button type="button" class="btn btn-danger btn-md text-white btn-sm" @click="removeOption(n)"><i class="fa fa-times"></i></button> </div> </div> <p id="erroptions.0" class="mb-2 text-danger em"></p> <button type="button" class="btn btn-success btn-sm text-white" @click="addOption()"><i class="fa fa-plus"></i> <?php echo e($keywords['Add_Option'] ?? __('Add Option')); ?></button> </div> <div class="form-group text-center"> <button id="" data-form="ajaxForm" type="submit" class="submitBtn btn btn-primary btn-sm"><?php echo e($keywords['ADD_FIELD'] ?? __('ADD FIELD')); ?></button> </div> </form> </div> </div> </div> <?php $__env->stopSection(); ?> <?php $__env->startSection('scripts'); ?> <script> "use strict"; var orderUpdateUrl = "<?php echo e(route('user.form.orderUpdate')); ?>"; </script> <script src="<?php echo e(asset('assets/user/js/quote.js')); ?>"></script> <?php $__env->stopSection(); ?> <?php echo $__env->make('user.layout', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/id/public_html/resources/views/user/appointment/form.blade.php ENDPATH**/ ?>