Server IP : 66.29.132.124 / Your IP : 52.15.191.241 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($inputName)){ $inputName = 'location_id'; } ?> <div class="form-group"> <i class="field-icon icofont-paper-plane"></i> <div class="form-content"> <label><?php echo e($field['title'] ?? ""); ?></label> <?php $location_name = ""; $list_json = []; $traverse = function ($locations, $prefix = '') use (&$traverse, &$list_json, &$location_name,$inputName) { foreach ($locations as $location) { $translate = $location->translateOrOrigin(app()->getLocale()); if (Request::query($inputName) == $location->id) { $location_name = $translate->name; } $list_json[] = [ 'id' => $location->id, 'title' => $prefix.' '.$translate->name, ]; $traverse($location->children, $prefix.'-'); } }; $traverse($list_location); ?> <div class="smart-search"> <input type="text" class="smart-search-location parent_text form-control font-size-14" <?php echo e(( empty(setting_item("space_location_search_style")) or setting_item("space_location_search_style") == "normal" ) ? "readonly" : ""); ?> placeholder="<?php echo e(__("City or airport")); ?>" value="<?php echo e($location_name); ?>" data-onLoad="<?php echo e(__("Loading...")); ?>" data-default="<?php echo e(json_encode($list_json)); ?>"> <input type="hidden" class="child_id" name="<?php echo e($inputName); ?>" value="<?php echo e(Request::query('location_id')); ?>"> </div> </div> </div><?php /**PATH /home/book24/public_html/modules/Flight/Views/frontend/layouts/search/fields/location.blade.php ENDPATH**/ ?>