Server IP : 66.29.132.124 / Your IP : 18.191.195.180 Web Server : LiteSpeed System : Linux business141.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : wavevlvu ( 1524) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /proc/self/cwd/storage_/framework/views/ |
Upload File : |
<?php if(!empty($field['attr']) and !empty($attr = \Modules\Core\Models\Attributes::find($field['attr']))): ?> <?php $attr_translate = $attr->translateOrOrigin(app()->getLocale()); if(request()->query('term_id')) $selected = \Modules\Core\Models\Terms::find(request()->query('term_id')); else $selected = false; $list_cat_json = []; ?> <?php if($attr): ?> <div class="filter-item"> <div class="form-group"> <i class="field-icon icofont-beach"></i> <div class="form-content"> <?php $__currentLoopData = $attr->terms; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $term): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <?php $translate = $term->translateOrOrigin(app()->getLocale()); $list_cat_json[] = [ 'id' => $term->id, 'title' => $translate->name, ]; ?> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> <div class="smart-search"> <input type="text" class="smart-select parent_text form-control" readonly placeholder="<?php echo e(__("All :name",['name'=>$attr_translate->name])); ?>" value="<?php echo e($selected ? $selected->name ?? '' :''); ?>" data-default="<?php echo e(json_encode($list_cat_json)); ?>"> <input type="hidden" class="child_id" name="terms[]" value="<?php echo e(Request::query('term_id')); ?>"> </div> </div> </div> </div> <?php endif; ?> <?php endif; ?><?php /**PATH /home/book24/public_html/modules/Car/Views/frontend/layouts/search-map/fields/attr.blade.php ENDPATH**/ ?>