Server IP : 66.29.132.124 / Your IP : 18.118.126.69 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/Language/Views/admin/ |
Upload File : |
@php $user = Auth::user(); $languages = \Modules\Language\Models\Language::getActive(); @endphp @if(!empty($languages) && setting_item('site_enable_multi_lang') && setting_item('site_locale')) <div class="language-navigation" id="language-navs" > <ul class="nav nav-tabs" role="tablist" > @foreach($languages as $language) <li class="nav-item"> <a class="nav-link @if(request()->lang == $language->locale or (!request()->lang && $language->locale == setting_item('site_locale'))) active @endif" href="{{add_query_arg(['lang'=>$language->locale])}}"> @if($language->flag) <span class="flag-icon flag-icon-{{$language->flag}}"></span> @endif {{$language->name}} </a> </li> @endforeach </ul> </div> @if(request()->query('lang')) <input type="hidden" name="lang" value="{{request()->query('lang')}}"> @endif @endif