JFIFxxC      C  " }!1AQa"q2#BR$3br %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz w!1AQaq"2B #3Rbr{ gilour

File "menus.blade.php"

Full Path: /var/www/lionsclub/core/resources/views/frontEnd/includes/menus.blade.php
File size: 15.76 KB
MIME-type: text/html
Charset: utf-8

<nav>
        <ul class="menu">
            <!-- <ul class="nav navbar-nav"> -->
            @foreach($HeaderMenuLinks as $HeaderMenuLink)
            <?php
            if ($HeaderMenuLink->$category_title_var != "") {
                $link_title = $HeaderMenuLink->$category_title_var;
            } else {
                $link_title = $HeaderMenuLink->$category_title_var2;
            }
            ?>
            @if($HeaderMenuLink->type==3)

            <?php
            // Section with drop list
            //
            ?>
            <li class="li91">
                <a href="javascript:void(0)" class="dropdown-toggle " data-toggle="dropdown" target="_blank" data-hover="dropdown" data-delay="0" data-close-others="true">{{ $link_title }}
                    @if(count($HeaderMenuLink->webmasterSection->sections) >0)
                    {{--categories drop down--}}</a>
                    <ul class="">


                        @foreach($HeaderMenuLink->webmasterSection->sections as $MnuCategory)
                        @if($MnuCategory->father_id ==0)
                        @if($MnuCategory->status)
                        <?php
                        if ($MnuCategory->$category_title_var != "") {
                            $category_title = $MnuCategory->$category_title_var;
                        } else {
                            $category_title = $MnuCategory->$category_title_var2;
                        }
                        ?>
                        <li>
                            <a href="{{ Helper::categoryURL($MnuCategory->id) }}" target="_blank">
                                @if($MnuCategory->icon !="")
                                <i class="fa {{$MnuCategory->icon}}"></i> &nbsp;
                                @endif
                                {{ $category_title }}</a>
                        </li>
                        @endif
                        @endif
                        @endforeach
                    </ul>

                    @elseif(count($HeaderMenuLink->webmasterSection->topics) >0)

                    {{--topics drop down--}}
                    <ul class="ul127">
                        @foreach($HeaderMenuLink->webmasterSection->topics as $MnuTopic)
                        @if($MnuTopic->status)
                        @if($MnuTopic->expire_date =='' || ($MnuTopic->expire_date !='' && $MnuTopic->expire_date >= date("Y-m-d")))
                        <?php
                        if ($MnuTopic->$category_title_var != "") {
                            $category_title = $MnuTopic->$category_title_var;
                        } else {
                            $category_title = $MnuTopic->$category_title_var2;
                        }
                        ?>
                        <li>
                            <a href="{{ Helper::topicURL($MnuTopic->id) }}" target="_blank">
                                @if($MnuTopic->icon !="")
                                <i class="fa {{$MnuTopic->icon}}"></i> &nbsp;
                                @endif
                                {{ $category_title }}</a>
                        </li>
                        @endif
                        @endif
                        @endforeach
                    </ul>
                    @endif

            </li>

            @elseif($HeaderMenuLink->type==2)

            <?php

            // Section Link
            ?>
            <li>
                <a href="{{ Helper::sectionURL($HeaderMenuLink->cat_id) }}" target="_blank"> {{ $link_title }}</a>
            </li>
            @elseif($HeaderMenuLink->type==1)
            <?php
            // Direct Link
            if (@Helper::currentLanguage()->code != env('DEFAULT_LANGUAGE')) {
                $f3c = mb_substr($HeaderMenuLink->link, 0, 3);
                if ($f3c == "htt" || $f3c == "www") {
                    $this_link_url = $HeaderMenuLink->link;
                } else {
                    $this_link_url = url(@Helper::currentLanguage()->code . "/" . $HeaderMenuLink->link);
                }
            } else {
                $this_link_url = url($HeaderMenuLink->link);
            }
            ?>
            <li><a href="{{ $this_link_url
                         }}" target="_blank">{{ $link_title }}</a></li>

            @else
            <?php
            // Main title ( have drop down menu )
            ?>
            <li class="li180">

                <a href="javascript:void(0)" class="dropdown-toggle " data-toggle="dropdown" target="_blank" data-hover="dropdown" data-delay="0" data-close-others="true">{{ $link_title }}</a>
                @if(count($HeaderMenuLink->subMenus) >0)
                

                <ul class="" >

                    @foreach($HeaderMenuLink->subMenus as $subMenu)
                    <?php
                    if ($subMenu->$category_title_var != "") {
                        $subMenu_title = $subMenu->$category_title_var;
                    } else {
                        $subMenu_title = $subMenu->$category_title_var2;
                    }
                    ?>

                    @if($subMenu->type==3)
                    <?php
                    // sub menu - Section will drop list
                    ?>
                    <li>
                       

                        <a href="javascript:void(0)" class="dropdown-toggle " data-toggle="dropdown" target="_blank" data-hover="dropdown" data-delay="0" data-close-others="true">{{ $subMenu_title }}</a>

                        <?php
                        
                        ?>
                        


                        @if(count($subMenu->webmasterSection->sections) >0)
                        {{--categories drop down--}}
                        <ul class="ul239">
                            @foreach($subMenu->webmasterSection->sections as $SubMnuCategory)
                            @if($SubMnuCategory->father_id ==0)
                            @if($SubMnuCategory->status)
                            <?php
                            if ($SubMnuCategory->$category_title_var != "") {
                                $SubMnuCategory_title = $SubMnuCategory->$category_title_var;
                            } else {
                                $SubMnuCategory_title = $SubMnuCategory->$category_title_var2;
                            }
                            ?>
                            <li class="li251">
                                <a href="{{ Helper::categoryURL($SubMnuCategory->id) }}" target="_blank" class="aaa">
                                    @if($SubMnuCategory->icon !="")
                                    <i class="fa {{$SubMnuCategory->icon}}"></i>
                                    &nbsp;
                                    @endif
                                    {{ $SubMnuCategory_title }}</a>
                                
                            </li>
                            @endif
                            @endif
                            @endforeach
                        </ul>
                        @elseif(count($subMenu->webmasterSection->topics) >0)
                        {{--topics drop down--}}
                        <ul class="ul279">
                            @foreach($subMenu->webmasterSection->topics as $SubMnuTopic)
                            @if($SubMnuTopic->status)
                            @if($SubMnuTopic->expire_date =='' || ($SubMnuTopic->expire_date !='' && $SubMnuTopic->expire_date >= date("Y-m-d")))
                            <?php
                            if ($SubMnuTopic->$category_title_var != "") {
                                $SubMnuTopic_title = $SubMnuTopic->$category_title_var;
                            } else {
                                $SubMnuTopic_title = $SubMnuTopic->$category_title_var2;
                            }
                            ?>
                            <li class="li291">
                                <a href="{{ Helper::topicURL($SubMnuTopic->id) }}" target="_blank" class="a1">{{ $SubMnuTopic_title }}</a>
                            </li>
                            @endif
                            @endif
                            @endforeach
                        </ul>
                        @endif
                    </li>
                    @elseif($subMenu->type==2)
                    <?php
                    // sub menu - Section Link
                    ?>
                    <li>
                        <a href="{{ Helper::sectionURL($subMenu->cat_id) }}" target="_blank">{{ $subMenu_title }}</a>
                    </li>

                    @elseif($subMenu->type==1)
                    <?php
                    // sub menu - Direct Link
                    if (@Helper::currentLanguage()->code != env('DEFAULT_LANGUAGE')) {
                        $f3c = mb_substr($subMenu->link, 0, 3);
                        if ($f3c == "htt" || $f3c == "www") {
                            $this_link_url = $subMenu->link;
                        } else {
                            $this_link_url = url(@Helper::currentLanguage()->code . "/" . $subMenu->link);
                        }
                    } else {
                        $this_link_url = url($subMenu->link);
                    }
                    ?>
                    <li>
                        <a href="{{ $this_link_url }}" class="a256" target="_blank">
                            {{ $subMenu_title }}
                        </a>
                    </li>
                    @else
                    <?php
                    // sub menu - Main title ( have drop down menu )
                    ?>
                    <?php
                   
                    ?>
                    <li>
                        <ul class="dropdown1">
                            <li class="dropdown-submenu"><a href="#">{{ $subMenu_title }}</a>
                                <!-- if submenu -->
                            </li>
                        </ul>
                    </li>
                    @endif
                    @endforeach
                </ul>
                @endif
            </li>
            @endif
            @endforeach
          
            <!-- you need to write code here -->
            <!-- <li class="search-home">
                {{Form::open(['route'=>['searchTopics'],'method'=>'POST','class'=>'form-search'])}}
                <div class="input-group input-group-sm">
                    {!! Form::text('search_word',@$search_word, array('placeholder' => __('frontend.search'),'class' => 'form-control','id'=>'search_word','required'=>'')) !!}

                </div>
                {{Form::close()}}
            </li>
            <button class="btn btn-outline-success nav-btn donate-btn"> <a href="https://www.lionsclubs.org/en/donate" target="_blank">Donate</a> </button> -->

        </ul>
    </nav>
    <style>
  @import url(https://fonts.googleapis.com/css?family=Open+Sans:400,400italic,600,700,800);

  *,
  html,
  body,
  div,
  dl,
  dt,
  dd,
  ul,
  ol,
  li,
  h1,
  h2,
  h3,
  h4,
  h5,
  h6,
  pre,
  form,
  label,
  fieldset,
  input,
  p,
  blockquote,
  th,
  td {
    margin: 0;
    padding: 0;
  }

  article,
  aside,
  figure,
  footer,
  header,
  hgroup,
  nav,
  section {
    display: block;
  }

  * {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
  }

  html {
    -webkit-font-smoothing: antialiased;
  }

  a {
    text-decoration: none;
  }



  body {
    color: #374147;
    font: 14px "Open Sans", Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    line-height: 1;
    width: 100%;
  }

  nav {
    background: #1c4f9c;
    padding: 10px 10px;

  }

  .menu {
    display: block;
    text-align: center;
  }

  .menu li {
    display: inline-block;
    position: relative;
    z-index: 100;
  }

  .menu li:first-child {
    margin-left: 0;
  }

  .menu li a {
    font-weight: 400;
    text-decoration: none;
    padding: 6px 9px;
    font-family: 'poppins';
    display: block;
    color: #fff;
    font-size: 15px;
    transition: all 0.2s ease-in-out 0s;
  }

  .menu li a:hover,
  .menu li:hover>a {
    color: #fff;
    background: #005398;
  }

  .menu ul {
    visibility: hidden;
    opacity: 0;
    margin: 0;
    padding: 0;
    width: 200px;
    position: absolute;
    left: 0px;
    background: #fff;
    z-index: 99;
    transform: translate(0, 20px);
    transition: all 0.2s ease-out;
  }

  .menu ul:after {
    bottom: 100%;
    left: 10%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border-color: rgba(255, 255, 255, 0);
    border-bottom-color: #fff;
    border-width: 6px;
    margin-left: -6px;
  }

  .menu ul li {
    display: block;
    float: none;
    background: none;
    margin: 0;
    padding: 0;
  }

  .menu ul li a {
    font-size: 14px;
    text-align: left;
    display: block;
    color: #797979;
    padding-left: 10px;
    background: transparent;
    line-height: 12pt;
    border-bottom: 1px solid #e2e1e1;
  }

  .menu ul li a:hover,
  .menu ul li:hover>a {
    background: #1c4f9c;
    color: #f9c910;
  }

  .menu li:hover>ul {
    visibility: visible;
    opacity: 1;
    transform: translate(0, 0);
    /* width: 300px; */
    /*jan 9  */
    width: max-content;
    min-width: 180px;
    max-width: 216px;
  }

  .menu ul ul {
    /* left: 300px; */
    left: 100%;
    top: 0px;
    visibility: hidden;
    opacity: 0;
    transform: translate(20px, 20px);
    transition: all 0.2s ease-out;
  }

  .menu ul ul:after {
    left: -6px;
    top: 10%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border-color: rgba(255, 255, 255, 0);
    border-right-color: #fff;
    border-width: 6px;
    margin-top: -6px;
  }

  .menu li>ul ul:hover {
    visibility: visible;
    opacity: 1;
    transform: translate(0, 0);
  }

  .responsive-menu {
    display: none;
    width: 100%;
    padding: 10px 15px;
    background: #1c4f9c;
    color: #fff;
    text-transform: uppercase;
    font-weight: 600;
  }

  .responsive-menu:hover {
    background: #1c4f9c;
    color: #fff;
    padding: 10px 15px;
    text-decoration: none;
  }

  a.homer {
    background: #005398;
  }

  @media (min-width: 768px) and (max-width: 979px) {
    .mainWrap {
      width: 768px;
    }

    .menu ul {
      top: 37px;
    }

    .menu li a {
      font-size: 13px;
      font-family: 'poppins';
    }

    a.homer {
      background: #374147;
    }
  }

  @media (max-width: 767px) {
    .mainWrap {
      width: auto;
      padding: 50px 20px;
    }

    .menu {
      display: none;
    }

    .responsive-menu {
      display: block;
    }

    nav {
      margin: 0;
      background: none;
    }

    .menu li {
      display: block;
      margin: 0;
    }

    .menu li a {
      background: #fff;
      color: #797979;
    }

    .menu li a:hover,
    .menu li:hover>a {
      background: #005398;
      color: #fff;
    }

    .menu ul {
      visibility: hidden;
      opacity: 0;
      top: 0;
      left: 0;
      width: 100%;
      transform: initial;
    }

    .menu li:hover>ul {
      visibility: visible;
      opacity: 1;
      position: relative;
      transform: initial;
    }

    .menu ul ul {
      left: 0;
      transform: initial;
    }

    .menu li>ul ul:hover {
      transform: initial;
    }
  }
  input#search_word {
    border-radius: 6px;
    width: 96px;
}
  /* .donate-btnn{
    background: none;
    border: none;
    padding: 8px 15px;
  } */
  /* .donate-btnn a{
    border-radius: 20px;
    border: none;
    padding: 8px 15px;
    background: #f9c910;
    color:#005398 !important;
    font-weight: 600 !important;
} */
.fa-reorder{
    float: right;
    font-size: 30px;
    border: 1px solid white;
    padding: 5px 10px;
    border-radius: 5px;
}
  @media (max-width: 480px) {
    .menu{
      background: #005398;
    }
  }


</style>