<script type="text/javascript">
function changeSession(){
var ref=document.getElementById('language').value;
window.location.href="{{url('/')}}"+"/"+ref;
}
</script>
@php
$data=session('lng');
use App\Service;
$saving=Service::where('service_type','=','Saving')->orderBy('title','asc')->get();
$loan=Service::where('service_type','=','Loan')->orderBy('title','asc')->get();
$remittance=Service::where('service_type','=','Remittance')->orderBy('title','asc')->get();
@endphp
<!-- BEGIN TOP BAR -->
<div class="pre-header fixed" style="background-color: transparent;
      background-image: -webkit-linear-gradient(30deg, #fff 50%, #018232 50%);
    min-height: 80px;">
  <div class="container">
    <div class="row">
      <!-- BEGIN TOP BAR LEFT PART -->
      <div class="col-md-6 col-sm-6 additional-shop-info">
          @if($data=="en")
          <img src="{{url('images/samuhiklogo.png')}}" style="height:75px; width:80%;">
          @else
          <img src="{{url('images/samuhiklogo.png')}}" style="height:75px; width:80%;">
          @endif
        <!--<ul class="list-unstyled list-inline">-->
        <!--  <li style="color: #fff"><i class="fa fa-phone"></i><span>01-6611124</span></li>-->
        <!--  <li style="color: #fff"><i class="fa fa-envelope-o"></i><span>info@samuhik.coop.np</span></li>-->
        <!--</ul>-->
      </div>
      <!-- END TOP BAR LEFT PART -->
      <!-- BEGIN TOP BAR MENU -->
      <div class="col-md-6 col-sm-6 additional-nav">
          @if($data=="en")
          <p style="color:#fff; margin-left:10%; padding-top:5px;">"आपसी सहयोग, सद्भाव र सामूहिक हितका लागि सहकारी"</p>
          @else
           <p style="color:#fff; margin-left:10%; padding-top:5px;">"आपसी सहयोग, सद्भाव र सामूहिक हितका लागि सहकारी"</p>
          @endif
        <ul class="list-unstyled list-inline pull-right">
             <li style="color: #fff"><i class="fa fa-phone"></i><span>01-6611124</span></li>
             <li><a href="{{url('en')}}" style="color: #fff;" >
             <img src="{{url('images/britain.png')}}" style="height: 12px;width: 18px; margin-bottom: 0; margin-right: 4px; vertical-align: middle; " value="en">English</a></li>
             <li><a href="{{url('np')}}" style="color: #fff;">
             <img src="{{url('images/nepal.png')}}" style="height: 12px;width: 18px; margin-bottom: 0; margin-right: 4px; vertical-align: middle; " value="np">Nepali</a></li>
          <!--<select onchange="changeSession()"  id="language" style="background-color: transparent;color: #fff;">-->
          <!--  <option selected style="color: #018232d1;">Select Language</option>-->
          <!--  <option  value="en" style="color: #018232d1;">English</option>-->
          <!--  <option value="np" style="color: #018232d1;">Nepali</option>-->
          <!--</select>-->
          <li style="background-color:#018232d1; padding:5px;"><a href="{{url('http://apps.microbankernepal.com.np/Home/App?bankCode=0037')}}" style="color: #fff;"><i class="fa fa-mobile" style="font-size: 20px;"> </i>Mobile Banking</a></li>
        </ul>
      </div>
      <!-- END TOP BAR MENU -->
      <!--@if($data=="en")-->
      <!--<img class="hidden-xs hidden-sm" src="{{url('images/images.png')}}" style="position: absolute;top: 0;left: 50%;width: 2.9%;">-->
      <!--<img class="hidden-lg hidden-md" src="{{url('images/images.png')}}" style="position: absolute;top: 0;left: 50%;width: 11%;">-->
      <!--@else-->
      <!--<img class="hidden-xs hidden-sm" src="{{url('images/nefscuN.png')}}" style="position: absolute;top: 0;left: 50%;width: 3%;">-->
      <!--<img class="hidden-lg hidden-md" src="{{url('images/nefscuN.png')}}" style="position: absolute;top: 0;left: 50%;width: 11%;">-->
      <!--@endif-->
    </div>
  </div>
</div>
<!-- END TOP BAR -->
<!-- BEGIN HEADER -->
@if($data=="en")
<div class="header fixed1"  style= " max-width: 100%; border-bottom: 2px solid #018232;margin-top:42px; height:60px;
  border-bottom: 3px solid #E20A17; background:  linear-gradient(0deg, #fff 3px, #e20a17 6px, #0260ae 4px   )" >
  <div class="container">
    <!--<a class="site-logo " href="{{ url("$data") }}"><img src="{{url('images/logo.png')}}" alt="Logo" style="width: 88%;height: auto;margin-top: 10px;"></a>-->
   
    <a href="javascript:void(0);" class="mobi-toggler"><i class="fa fa-bars"></i></a>
    <!-- BEGIN NAVIGATION -->
    <div class="header-navigation pull-center font-transform-inherit">
       
      <ul>
          
           <div class="search-container">
               
            <form action="">
              <input type="text" placeholder="Search.." name="search">
              <button type="submit"><i class="fa fa-search"></i></button>
            </form>
          </div>
          
        <li class="{{Request::is("$data") ? "active":""}}"><a href="{{ url("$data") }}">Home</a></li>
        <li class="dropdown {{Request::is("$data/about_us","$data/message_from","$data/board_of_directors","$data/management_team","$data/policy&procedure","$data/interest_rates") ? "active":""}}">
          <a class="dropdown-toggle" data-toggle="dropdown" data-target="#" href="javascript:;">
            About Us
          </a>
          <ul class="dropdown-menu">
            <li><a href="{{url("$data/about_us#introduction")}}">Introdution</a></li>
            <li><a href="{{url("$data/about_us#vision")}}">Vision</a></li>
            <li><a href="{{url("$data/about_us#mission")}}">Mission</a></li>
            <li><a href="{{url("$data/about_us#objective")}}">Objective</a></li>
            <li><a href="{{url("$data/message_from")}}">Message From</a></li>
            <li ><a href="{{url("$data/board_of_directors")}}">Board of Directors</a></li>
            <li ><a href="{{url("$data/management_team")}}">Management Team</a></li>
            <li ><a href="{{url("$data/policy&procedure")}}">Policy & Procedure</a></li>
             <li ><a href="{{url("$data/interest_rates")}}">Interest Rates</a></li>
            
          </ul>
        </li>
        <li class="dropdown {{Request::is("$data/service") ? "active":""}}">
          <a class="dropdown-toggle" data-toggle="dropdown" data-target="#" href="javascript:;">
            Services
          </a>
          <ul class="dropdown-menu">
            <li class="dropdown-submenu">
              <a class="dropdown-toggle hidden-sm hidden-xs" data-toggle="dropdown" href="{{url("$data/service")}}?service=Saving">Saving <i class="fa fa-angle-right"></i></a>
              <a class="dropdown-toggle hidden-lg hidden-md"  href="{{url("$data/service")}}?service=Saving">Saving <i class="fa fa-angle-right"></i></a>
              <ul class="dropdown-menu hidden-xs hidden-sm" role="menu" >
                @foreach($saving as $save)
                @php
                $title=$save->title;
                @endphp
                <li><a href="{{url("$data/service/$title")}}?id={{$save->token}}">{{$save->title}}</a></li>
                @endforeach
                
              </ul>
            </li>
            <li class="dropdown-submenu">
              <a class="dropdown-toggle hidden-sm hidden-xs" data-toggle="dropdown" href="{{url("$data/service")}}?service=Loan">Loan <i class="fa fa-angle-right"></i></a>
              <a class="dropdown-toggle hidden-lg hidden-md"  href="{{url("$data/service")}}?service=Loan">Loan <i class="fa fa-angle-right"></i></a>
              <ul class="dropdown-menu" role="menu">
                @foreach($loan as $save)
                @php
                $title=$save->title;
                @endphp
                <li><a href="{{url("$data/service/$title")}}?id={{$save->token}}">{{$save->title}}</a></li>
                @endforeach
              </ul>
            </li>
            <li class="dropdown-submenu">
              <a class="dropdown-toggle hidden-sm hidden-xs" data-toggle="dropdown" href="{{url("$data/service")}}?service=Remittance">Remittance <i class="fa fa-angle-right"></i></a>
              <a class="dropdown-toggle hidden-lg hidden-md"  href="{{url("$data/service")}}?service=Remittance">Remittance <i class="fa fa-angle-right"></i></a>
              <ul class="dropdown-menu" role="menu">
                @foreach($remittance as $save)
                @php
                $title=$save->title;
                @endphp
                <li><a href="{{url("$data/service/$title")}}?id={{$save->token}}">{{$save->title}}</a></li>
                @endforeach
              </ul>
            </li>
             <!--<li class=" {{Request::is("$data/") ? "active":""}}"><a href="{{url("$data/")}}">Insurance</a></li>-->
          </ul>
        </li>
         <li class=" {{Request::is("$data/news") ? "active":""}}"><a href="{{url("$data/news")}}">News</a></li>
        <li class="dropdown {{Request::is("$data/event","$data/press","$data/videos","$data/gallery") ? "active":""}}">
          <a class="dropdown-toggle" data-toggle="dropdown" data-target="#" href="javascript:;">
            Activities
          </a>
          <ul class="dropdown-menu">
            
            <li ><a href="{{url("$data/event")}}">Events</a></li>
            <li><a href="{{url("$data/press")}}">Press Release</a></li>
            <li><a href="{{url("$data/videos")}}">Videos</a></li>
            <li><a href="{{url("$data/gallery")}}">Gallery</a></li>
          </ul>
        </li>
        <li class="dropdown {{Request::is("$data/report") ? "active":""}}">
          <a class="dropdown-toggle" data-toggle="dropdown" data-target="#" href="javascript:;">
            Reports
          </a>
          <ul class="dropdown-menu">
            <li><a href="{{url("$data/report")}}?report=AGM Report">AGM Report</a></li>
            <li ><a href="{{url("$data/report")}}?report=Balance Sheet">Balance Sheet</a></li>
            <li><a href="{{url("$data/report")}}?report=Pearl Ratio">Pearls Ratio</a></li>
            <li><a href="{{url("$data/report")}}?report=Trial Balance">Trial Balance</a></li>
            <li><a href="{{url("$data/report")}}?report=AGM Report">Monthly Report</a></li>
          </ul>
        </li>
        
        <li class="dropdown {{Request::is("$data/career") ? "active":""}}">
          <a class="dropdown-toggle" data-toggle="dropdown" data-target="#" href="javascript:;">
            Opportunities
          </a>
          <ul class="dropdown-menu">
            <li><a href="{{url("$data/career")}}">Vacancy</a></li>
            <li ><a href="{{url("$data/report")}}">Internship</a></li>
          </ul>
        </li>
        <!--<li class=" {{Request::is("$data/career") ? "active":""}}"><a href="{{url("$data/career")}}" >Career</a></li>-->
         <li class=" {{Request::is("$data/download") ? "active":""}}"><a href="{{url("$data/download")}}" >Downloads</a></li>
        <li class=" {{Request::is("$data/contact") ? "active":""}}"><a href="{{url("$data/contact")}}" >Contact Us</a></li>
        
        <!-- BEGIN TOP SEARCH -->
        <!--<li class="menu-search hidden-sm hidden-xs">-->
        <!--  <div class="site-logo" >-->
        <!--    <img src="{{url('images/bronze.jpg')}}" style="height: 79px;width: auto;">-->
        <!--  </div>-->
        <!--</li>-->
        <!-- END TOP SEARCH -->
      </ul>
    </div>
    @else
    <div class="header fixed1"  style= " max-width: 100%; border-bottom: 2px solid #018232;margin-top:42px; height:60px;
  border-bottom: 3px solid #E20A17; background:  linear-gradient(0deg, #fff 3px, #e20a17 6px, #0260ae 4px   )" >
  <div class="container">
  
    <!--<a class="site-logo " href="{{ url("$data") }}"><img src="{{url('images/logo.png')}}" alt="Logo" style="width: 88%;height: auto;margin-top: 10px;"></a>-->
    <!--<a href="javascript:void(0);" class="mobi-toggler"><i class="fa fa-bars"></i></a>-->
    <!-- BEGIN NAVIGATION -->
    <div class="header-navigation pull-center font-transform-inherit">
      <ul>
          
           <div class="search-container">
               
            <form action="">
              <input type="text" placeholder="खोजी गर्नुहोस्...." name="search">
              <button type="submit"><i class="fa fa-search"></i></button>
            </form>
          </div>
        <li class="{{Request::is("$data") ? "active":""}}"><a href="{{ url("$data") }}"> मुख्य पृष्ठ</a></li>
        <li class="dropdown {{Request::is("$data/about_us","$data/message_from","$data/board_of_directors","$data/management_team","$data/policy&procedure","$data/interest_rates") ? "active":""}}">
          <a class="dropdown-toggle" data-toggle="dropdown" data-target="#" href="javascript:;">
          हाम्रो बारे 
          </a>
          <ul class="dropdown-menu">
            <li><a href="{{url("$data/about_us#introduction")}}">परिचय</a></li>
              <li><a href="{{url("$data/about_us#vision")}}">परिकल्पना</a></li>
            <li><a href="{{url("$data/about_us#mission")}}">ध्येय</a></li>
            <li><a href="{{url("$data/about_us#objective")}}">उद्देश्य</a></li>
            <li><a href="{{url("$data/message_from")}}">सन्देश</a></li>
            <li ><a href="{{url("$data/board_of_directors")}}">संचालक समिति</a></li>
            <li ><a href="{{url("$data/management_team")}}">व्यवस्थापन समिति</a></li>
            <li ><a href="{{url("$data/policy&procedure")}}">नीति र कार्यविधि</a></li>
            <li ><a href="{{url("$data/interest_rates")}}">ब्याजदर</a></li>
            {{--  <li><a href="#">शहादत</a></li> --}}
          </ul>
        </li>
        <li class="dropdown {{Request::is("$data/service") ? "active":""}}">
          <a class="dropdown-toggle" data-toggle="dropdown" data-target="#" href="javascript:;">
            सेवाहरु 
          </a>
          <ul class="dropdown-menu">
            <li class="dropdown-submenu">
              <a class="dropdown-toggle hidden-sm hidden-xs" data-toggle="dropdown" href="{{url("$data/service")}}?service=Saving">बचत <i class="fa fa-angle-right"></i></a>
              <a class="dropdown-toggle hidden-lg hidden-md"  href="{{url("$data/service")}}?service=Saving">Saving <i class="fa fa-angle-right"></i></a>
              <ul class="dropdown-menu hidden-xs hidden-sm" role="menu" >
                @foreach($saving as $save)
                @php
                $title=$save->title;
                @endphp
                <li><a href="{{url("$data/service/$title")}}?id={{$save->token}}">{{$save->title}}</a></li>
                @endforeach
                
              </ul>
            </li>
            <li class="dropdown-submenu">
              <a class="dropdown-toggle hidden-sm hidden-xs" data-toggle="dropdown" href="{{url("$data/service")}}?service=Loan">ऋण <i class="fa fa-angle-right"></i></a>
              <a class="dropdown-toggle hidden-lg hidden-md"  href="{{url("$data/service")}}?service=Loan">Loan <i class="fa fa-angle-right"></i></a>
              <ul class="dropdown-menu" role="menu">
                @foreach($loan as $save)
                @php
                $title=$save->title;
                @endphp
                <li><a href="{{url("$data/service/$title")}}?id={{$save->token}}">{{$save->title}}</a></li>
                @endforeach
              </ul>
            </li>
            <li class="dropdown-submenu">
              <a class="dropdown-toggle hidden-sm hidden-xs" data-toggle="dropdown" href="{{url("$data/service")}}?service=Remittance">रेमिट्यान्स<i class="fa fa-angle-right"></i></a>
              <a class="dropdown-toggle hidden-lg hidden-md"  href="{{url("$data/service")}}?service=Remittance">रेमिट्यान्स<i class="fa fa-angle-right"></i></a>
              <ul class="dropdown-menu" role="menu">
                @foreach($remittance as $save)
                @php
                $title=$save->title;
                @endphp
                <li><a href="{{url("$data/service/$title")}}?id={{$save->token}}">{{$save->title}}</a></li>
                @endforeach
              </ul>
            </li>
            <!--<li class=" {{Request::is("$data/") ? "active":""}}"><a href="{{url("$data/")}}">बीमा</a></li>-->
          </ul>
        </li>
        <li class=" {{Request::is("$data/news") ? "active":""}}"><a href="{{url("$data/news")}}">समाचार</a></li>
        <li class="dropdown {{Request::is("$data/news","$data/event","$data/gallery") ? "active":""}}">
          <a class="dropdown-toggle" data-toggle="dropdown" data-target="#" href="javascript:;"> 
क्रियाकलापहरू
          </a>
          <ul class="dropdown-menu">
            
            <li><a href="{{url("$data/event")}}">घटनाक्रमहरू</a></
            <li><a href="{{url("$data/press")}}">प्रेस विमोचन</a></li>
            <li><a href="{{url("$data/videos")}}">भिडियो</a></li>
            <li><a href="{{url("$data/gallery")}}">ग्यालरी</a></li>
          </ul>
        </li>
        <li class="dropdown {{Request::is("$data/report") ? "active":""}}">
          <a class="dropdown-toggle" data-toggle="dropdown" data-target="#" href="javascript:;">
          रिपोर्टहरू
          </a>
          <ul class="dropdown-menu">
            <li><a href="{{url("$data/report")}}?report=AGM Report">AGM रिपोर्ट</a></li>
            <li ><a href="{{url("$data/report")}}?report=Balance Sheet">बैलेंस शीट</a></li>
            <li><a href="{{url("$data/report")}}?report=Pearl Ratio">पल्स अनुपात</a></li>
            <li><a href="{{url("$data/report")}}?report=Trial Balance">परीक्षण बैलेंस</a></li>
            <li><a href="{{url("$data/report")}}?report=AGM Report">मासिक रिपोर्ट</a></li>
          </ul>
        </li>
       <li class="dropdown {{Request::is("$data/career") ? "active":""}}">
          <a class="dropdown-toggle" data-toggle="dropdown" data-target="#" href="javascript:;">
            अवसरहरू
          </a>
          <ul class="dropdown-menu">
            <li><a href="{{url("$data/career")}}">नयाँ दरवन्दी</a></li>
            <li ><a href="{{url("$data/report")}}">इंटर्नशिप</a></li>
          </ul>
        </li>
         <li class=" {{Request::is("$data/download") ? "active":""}}"><a href="{{url("$data/download")}}" >डाउनलोड</a></li>
        <li class=" {{Request::is("$data/contact") ? "active":""}}"><a href="{{url("$data/contact")}}" >सम्पर्क</a></li>
        
        <!-- BEGIN TOP SEARCH -->
        <!--<li class="menu-search hidden-sm hidden-xs">-->
        <!--  <div class="site-logo" >-->
        <!--    <img src="{{url('images/bronze.jpg')}}" style="height: 79px;width: auto;">-->
        <!--  </div>-->
        <!--</li>-->
        <!-- END TOP SEARCH -->
      </ul>
    </div>
    @endif
    <!-- END NAVIGATION -->
  </div>
</div>
<!-- Header END