Advertisement
joeydrizz

Untitled

Dec 20th, 2021
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 6.27 KB | None | 0 0
  1. <div class="col-sm-auto col-12">
  2.     <div class="top-left-content">
  3.         <div class="language-change">
  4.             <p class="name
  5.            @if(request()->path() == '/')
  6.                @if($commonsetting->theme_version == 'theme1')
  7.                    @if($commonsetting->is_video_hero == '1')
  8.                        text-white
  9.                    @endif
  10.                @elseif($commonsetting->theme_version == 'theme3')
  11.                    text-white
  12.                @elseif($commonsetting->theme_version == 'theme4')
  13.                    text-white
  14.                @elseif($commonsetting->theme_version == 'theme5')
  15.                    @if($commonsetting->is_video_hero == '1')
  16.                        text-white
  17.                    @endif
  18.                @elseif($commonsetting->theme_version == 'theme6')
  19.                    @if($commonsetting->is_video_hero == '1')
  20.                        text-white
  21.                    @endif
  22.                @endif
  23.            @else
  24.                text-white
  25.            @endif
  26.            "><i class="fas fa-globe-americas"></i>{{ $currentLang->name }}</p>
  27.             <div class="language-menu">
  28.                 @foreach ($langs as $lang)
  29.                 <a href="{{ route('changeLanguage', $lang->code) }}" class="{{ $lang->code == $currentLang->code ? 'active' : '' }}">{{ $lang->name }}</a>
  30.                 @endforeach
  31.             </div>
  32.         </div>
  33.  
  34.         @if( $commonsetting->is_shop == 1)
  35.         <div class="language-change curr-change">
  36.             <p class="name
  37.            @if(request()->path() == '/')
  38.                @if($commonsetting->theme_version == 'theme1')
  39.                    @if($commonsetting->is_video_hero == '1')
  40.                        text-white
  41.                    @endif
  42.                @elseif($commonsetting->theme_version == 'theme3')
  43.                    text-white
  44.                @elseif($commonsetting->theme_version == 'theme4')
  45.                    text-white
  46.                @elseif($commonsetting->theme_version == 'theme5')
  47.                    @if($commonsetting->is_video_hero == '1')
  48.                        text-white
  49.                    @endif
  50.                @elseif($commonsetting->theme_version == 'theme6')
  51.                    @if($commonsetting->is_video_hero == '1')
  52.                        text-white
  53.                    @endif
  54.                @endif
  55.            @else
  56.                text-white
  57.            @endif
  58.            ">{{ $currentCurrency->sign }} {{ $currentCurrency->name }}</p>
  59.             <div class="language-menu">
  60.                 @foreach ($currencies as $currency)
  61.                 <a href="{{ route('changeCurrency', $currency->id) }}" class="{{ $currency->id == $currentCurrency->code ? 'active' : '' }}">{{ $currency->name }}</a>
  62.                 @endforeach
  63.             </div>
  64.         </div>
  65.         @endif
  66.     </div>
  67. </div>
  68. <div class="col-sm-auto col-12">
  69.     <div class="top-right-wrapper">
  70.         <div class="social-icon text-center">
  71.             <ul>
  72.                 @foreach ($socials as $item)
  73.                 <li><a href="{{ $item->url }}"><i class="{{ $item->icon }}"></i></a></li>
  74.                 @endforeach
  75.                
  76.             </ul>
  77.         </div>
  78.         @if( $commonsetting->is_user_system == 1)
  79.             @if(auth()->check())
  80.             <div class="language-change">
  81.                 <a href="{{ route('user.login') }}" class="name login-btn
  82.                @if(request()->path() == '/')
  83.                    @if($commonsetting->theme_version == 'theme1')
  84.                        @if($commonsetting->is_video_hero == '1')
  85.                            text-white
  86.                        @endif
  87.                    @elseif($commonsetting->theme_version == 'theme3')
  88.                        text-white
  89.                    @elseif($commonsetting->theme_version == 'theme4')
  90.                        text-white
  91.                    @elseif($commonsetting->theme_version == 'theme5')
  92.                        @if($commonsetting->is_video_hero == '1')
  93.                            text-white
  94.                        @endif
  95.                    @elseif($commonsetting->theme_version == 'theme6')
  96.                        @if($commonsetting->is_video_hero == '1')
  97.                            text-white
  98.                        @endif
  99.                    @endif
  100.                @else
  101.                    text-white
  102.                @endif
  103.                ">
  104.                     <i class="far fa-user l-icon"></i>{{ __("User") }}<i class="fas fa-chevron-down r-icon"></i>
  105.                 </a>
  106.                 <div class="language-menu">
  107.                     <a href="{{ route('user.dashboard') }}" class="">{{ __("User Dashboard") }}</a>
  108.                     <a href="{{ route('user.editprofile') }}" class="">{{ __("Edit Profile") }}</a>
  109.                     <a href="{{ route('user.logout') }}" class="">{{ __("Logout") }}</a>
  110.                 </div>
  111.             </div>
  112.             @else
  113.             <div class="language-change">
  114.                 <a href="{{ route('user.login') }}" class="name login-btn
  115.                @if(request()->path() == '/')
  116.                    @if($commonsetting->theme_version == 'theme1')
  117.                        @if($commonsetting->is_video_hero == '1')
  118.                            text-white
  119.                        @endif
  120.                        @elseif($commonsetting->theme_version == 'theme3')
  121.                            text-white
  122.                        @elseif($commonsetting->theme_version == 'theme4')
  123.                            text-white
  124.                        @elseif($commonsetting->theme_version == 'theme5')
  125.                            @if($commonsetting->is_video_hero == '1')
  126.                                text-white
  127.                            @endif
  128.                        @elseif($commonsetting->theme_version == 'theme6')
  129.                            @if($commonsetting->is_video_hero == '1')
  130.                                text-white
  131.                            @endif
  132.                        @endif
  133.                        @else
  134.                            text-white
  135.                    @endif
  136.                    ">
  137.                     <i class="far fa-sign-in"></i>{{ __('Login') }}
  138.                 </a>
  139.                 @endif
  140.             </div>
  141.         @endif
  142.     </div>
  143. </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement