Server IP : 66.29.132.124 / Your IP : 18.191.67.90 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/themes/Mytravel/Language/frontend/ |
Upload File : |
@php $languages = \Modules\Language\Models\Language::getActive(); $locale = session('website_locale',app()->getLocale()); @endphp {{--Multi Language--}} @if(!empty($languages) && setting_item('site_enable_multi_lang')) <li class="dropdown"> @foreach($languages as $language) @if($locale == $language->locale) <a href="#" data-toggle="dropdown" class="is_login"> @if($language->flag) <span class="flag-icon flag-icon-{{$language->flag}}"></span> @endif {{$language->name}} <i class="fa fa-angle-down"></i> </a> @endif @endforeach <ul class="dropdown-menu text-left"> @foreach($languages as $language) @if($locale != $language->locale) <li> <a href="{{get_lang_switcher_url($language->locale)}}" class="is_login"> @if($language->flag) <span class="flag-icon flag-icon-{{$language->flag}}"></span> @endif {{$language->name}} </a> </li> @endif @endforeach </ul> </li> @endif {{--End Multi language--}}