403Webshell
Server IP : 66.29.132.124  /  Your IP : 52.15.241.87
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 :  /home/wavevlvu/book24.ng/modules/Tour/Views/frontend/layouts/search/fields/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/wavevlvu/book24.ng/modules/Tour/Views/frontend/layouts/search/fields/location.blade.php
@php($location_search_style = setting_item('tour_location_search_style'))
<div class="form-group">
	<i class="field-icon fa icofont-map"></i>
	<div class="form-content">
		<label>{{ $field['title'] ?? "" }}</label>
		@if($location_search_style=='autocompletePlace')
		<div class="g-map-place" >
            <input type="text" name="map_place" placeholder="{{__("Where are you going?")}}"  value="{{request()->input('map_place')}}" class="form-control border-0">
            <div class="map d-none" id="map-{{\Illuminate\Support\Str::random(10)}}"></div>
            <input type="hidden" name="map_lat" value="{{request()->input('map_lat')}}">
            <input type="hidden" name="map_lgn" value="{{request()->input('map_lgn')}}">
        </div>
		
		@else
            <?php
            $location_name = "";
            $list_json = [];
            $traverse = function ($locations, $prefix = '') use (&$traverse, &$list_json, &$location_name) {
                foreach ($locations as $location) {
                    $translate = $location->translateOrOrigin(app()->getLocale());
                    if (Request::query('location_id') == $location->id) {
                        $location_name = $translate->name;
                    }
                    $list_json[] = [
                        'id'    => $location->id,
                        'title' => $prefix.' '.$translate->name,
                    ];
                    $traverse($location->children, $prefix.'-');
                }
            };
            $traverse($tour_location);
            ?>
			<div class="smart-search">
				<input type="text" class="smart-search-location parent_text form-control" {{ ( empty(setting_item("tour_location_search_style")) or setting_item("tour_location_search_style") == "normal" ) ? "readonly" : ""  }} placeholder="{{__("Where are you going?")}}" value="{{ $location_name }}" data-onLoad="{{__("Loading...")}}"
				       data-default="{{ json_encode($list_json) }}">
				<input type="hidden" class="child_id" name="location_id" value="{{Request::query('location_id')}}">
			</div>
		@endif
	</div>
</div>

Youez - 2016 - github.com/yon3zu
LinuXploit