403Webshell
Server IP : 66.29.132.124  /  Your IP : 18.117.91.116
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/Boat/Views/frontend/layouts/search-map/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/wavevlvu/book24.ng/modules/Boat/Views/frontend/layouts/search-map/advance-filter.blade.php
@php
    $boat_map_search_fields = setting_item_array('boat_map_search_fields');
    $usedAttrs = [];
    foreach ($boat_map_search_fields as $field){
        if($field['field'] == 'attr' and !empty($field['attr']))
        {
            $usedAttrs[] = $field['attr'];
        }
    }
    $selected = (array) request()->query('terms');
@endphp
<div id="advance_filters" class="d-none">
    <div class="ad-filter-b">
        @foreach ($attributes as $item)
            @if(empty($item['hide_in_filter_search']))
                @php
                if(in_array($item->id,$usedAttrs)) continue;
                    $translate = $item->translateOrOrigin(app()->getLocale());
                @endphp
                <div class="filter-item">
                    <div class="filter-title"><strong>{{$translate->name}}</strong></div>
                    <ul class="filter-items row">
                        @foreach($item->terms as $term)
                            @php $translate = $term->translateOrOrigin(app()->getLocale()); @endphp
                            <li class="filter-term-item col-xs-6 col-md-4">
                                <label><input @if(in_array($term->id,$selected)) checked @endif type="checkbox" name="terms[]" value="{{$term->id}}"> {{$translate->name}}
                                </label>
                            </li>
                        @endforeach
                    </ul>
                </div>
            @endif
        @endforeach
    </div>
    <div class="ad-filter-f text-right">
        <a href="#" onclick="return false" class="btn btn-primary btn-apply-advances">{{__("Apply Filters")}}</a>
    </div>
</div>

Youez - 2016 - github.com/yon3zu
LinuXploit