
	<nav class="navbar navbar-default navbar-fixed-top">
            <div class="container-fluid">
            <!-- Brand and toggle get grouped for better mobile display -->
                <div class="navbar-header">
                    <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbarCollapse" aria-expanded="false">
                        <span class="sr-only">Toggle navigation</span>
                        <span class="icon-bar"></span>
                        <span class="icon-bar"></span>
                        <span class="icon-bar"></span>
                    </button>
                    <a class="navbar-brand" href="<?php echo e(route('home')); ?>">
              <?php if($logoSetting == 'yes'): ?>
                          <img class="img" alt="logo" src="<?php echo e(!empty($masterLogo) ? asset($storage_url.'img/'.$masterLogo) : 'http://via.placeholder.com/200x200'); ?>">
              <?php endif; ?>
              <?php if($nameSetting == 'yes'): ?>
                          <span class="text hidden-xs custom-navbar-header">
                              <?php echo e($masterName); ?>

                          </span>
              <?php endif; ?>
                    </a>
                </div>
    
                <!-- Collect the nav links, forms, and other content for toggling -->
                <div class="collapse navbar-collapse" id="navbarCollapse">
    
                    <ul class="nav navbar-nav navbar-right">
    
              
              <?php if( config('corepackage.catalog.activate')): ?>
                <li id="triggerClose" class="triggerClose"></li>
                <li class="dropdown visible-xs">
                  <a class="hover-line dropdown-toggle <?php echo e(isset($page) && $page == 'product' ? 'active' : ''); ?>" href="<?php echo e(route('categories')); ?>" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
                    <?php echo e($page_product); ?> <i class="fa fa-caret-down" aria-hidden="true"></i>
                  </a>
                  <?php 
                    $category = App\Category::orderBy('sort', 'asc')->get();
                   ?>
                  <ul class="dropdown-menu">
                    <li><a href="<?php echo e(route('categories')); ?>"><?php echo app('translator')->getFromJson('frontend.all_category'); ?></a></li>
    
                    <?php $__currentLoopData = $category; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $val): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                      <li><a class="" href="<?php echo e(route('category',['id'=>$val->id,'category'=>str_slug($val->category_name, '-')])); ?>">
                        <?php echo e($val->category_name); ?>

                      </a></li>
                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                  </ul>
                </li>
                <li class="hidden-xs">
                  <a id="showCategories" class="hover-line <?php echo e(isset($page) && $page == 'product' ? 'active' : ''); ?>" data-toggle="collapse" href="#categories-collapse" aria-expanded="false" aria-controls="categories-collapse"><?php echo e($page_product); ?> <i class="fa fa-caret-down" aria-hidden="true"></i></a>
                </li>
              <?php endif; ?>
              
    
    
                    <li><a class="hover-line <?php echo e(isset($page) && $page == 'section1' ? 'active' : ''); ?>" href="<?php echo e(route('section1')); ?>"><?php echo e($page_section1); ?></a></li>
                    <li><a class="hover-line <?php echo e(isset($page) && $page == 'section2' ? 'active' : ''); ?>" href="<?php echo e(route('section2')); ?>"><?php echo e($page_section2); ?></a></li>
    
              
              <?php if(config('corepackage.lowcost.article')): ?>
                <li>
                  <a class="hover-line <?php echo e(isset($page) && $page == 'article' ? 'active' : ''); ?>" href="<?php echo e(route('article')); ?>"><?php echo e($page_article); ?></a>
                </li>
              <?php endif; ?>
              
    
              <li><a class="hover-line <?php echo e(isset($page) && $page == 'about' ? 'active' : ''); ?>" href="<?php echo e(route('about')); ?>"><?php echo e($page_about); ?></a></li>
                        <li><a class="hover-line <?php echo e(isset($page) && $page == 'contact' ? 'active' : ''); ?>" href="<?php echo e(route('contact')); ?>"><?php echo e($page_contact); ?></a></li>
    
              
              <?php if(config('corepackage.locales.activate')): ?>
                <li class="dropdown">
                  <a href="#" class="dropdown-toggle hover-line" data-toggle="dropdown">
                    <i class="fa fa-globe"></i>  <?php echo e(app()->getLocale()); ?>

                  </a>
                  <ul class="dropdown-menu" style="right: 0">
                    <?php $__currentLoopData = config('translatable.locales'); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $lang => $language): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                      <?php if($lang != app()->getLocale()): ?>
                        <li>
                          <a class="hover-line" href="<?php echo e(route('lang.switch', ['language'=>$lang])); ?>">
                            <?php echo e($language); ?> ( <?php echo e($lang); ?> )
                          </a>
                        </li>
                      <?php endif; ?>
                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                  </ul>
                </li>
              <?php endif; ?>
              
    
              
              <?php if( config('corepackage.catalog.cart')): ?>
                          <li>
                              <a id="show_cart" href="#" data-toggle="modal" data-target="#modal_cart"><i class="fa fa-shopping-cart" aria-hidden="true"></i>  <span class="label label-default" style="display:none">0</span></a>
                          </li>
              <?php endif; ?>
              
                    </ul>
    
                </div>
            </div>
    
        
        <?php if( config('corepackage.catalog.activate')): ?>
          <div id="categories-collapse" class="collapse container-fluid hidden-xs text-center">
    
              <?php 
                $offset = (12 - ((count($category) + 1)*2))/2;
               ?>
              <div class="col-xs-12 col-sm-2 col-sm-offset-<?php echo e($offset); ?> category-item">
                <a href="<?php echo e(route('categories')); ?>">
                    <img class="img img-responsive" alt="" src="<?php echo e(asset($storage_url.'img/products/category/'.$icon)); ?>"/>
                  <div class="nav-text"><?php echo app('translator')->getFromJson('frontend.all_category'); ?></div>
                </a>
              </div>
    
              <?php $__currentLoopData = $category; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $val): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                <div class="col-xs-12 col-sm-2 category-item">
                  <a href="<?php echo e(route('category',['id'=>$val->id,'category'=>str_slug($val->category_name, '-')])); ?>">
                    <img class="img img-responsive" alt="" src="<?php echo e(asset($storage_url.'img/products/category/'.$val->category_image1)); ?>"/>
                    <div class="nav-text"><?php echo e($val->category_name); ?></div>
                  </a>
                </div>
              <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
    
          </div>
        <?php endif; ?>
        
    
        </nav>
    
      
      <?php if( config('corepackage.catalog.cart')): ?>
        <div id="modal_cart" class="modal fade" role="dialog">
          <div class="modal-dialog modal-lg">
    
            <!-- Modal content-->
            <div class="modal-content">
              <div class="modal-header">
                <h2 class="modal-title"><i class="fa fa-shopping-cart" aria-hidden="true"></i> <?php echo app('translator')->getFromJson('frontend.shopping_cart'); ?></h2>
    
                <?php if(config('corepackage.catalog.online_payment') || config('corepackage.catalog.manual_payment')): ?>
                  <a href="<?php echo e(route('checkOrder')); ?>" class="btn btn-default pull-left">
                    <i class="fa fa-search" aria-hidden="true"></i> <?php echo app('translator')->getFromJson('frontend.check_order'); ?>
                  </a>
                <?php endif; ?>
    
              </div>
              <div id="cart_content" class="modal-body text-center">
                <h3><i class="fa fa-spinner fa-spin fa-lg" aria-hidden="true"></i></h3>
              </div>
              <div class="modal-footer">
                <div class="row">
                  <?php echo Form::open(['url'=>route('formCheckout'), 'method'=>'get']); ?>

    
                  
                  <?php if( config('corepackage.catalog.manual_payment') == 'yes' ): ?>
                    <div class="col-xs-12 col-sm-6">
                      <?php if(App\BankAccount::all()->count() > 0): ?>
                        <div class="row radio-area">
                          <div class="col-xs-12 text-left radio">
                            <label>
                              <input type="radio" name="payment_method" value="manual" <?php echo e(( config('corepackage.catalog.online_payment')) ? 'checked=""' : ''); ?>>
                              <?php echo app('translator')->getFromJson('frontend.manual_payment'); ?>
                            </label>
                          </div>
                          <div class="col-xs-12 text-center">
    
                            <?php 
                              $bank = App\BankAccount::where(['main'=>'yes'])->first();
                             ?>
                            <table>
                              <tr>
                                <td width="35%"><img class="img img-responsive" src="<?php echo e(asset($storage_url.'img/bank/'.$bank->bank_list->bank_image)); ?>"></td>
                                <td width="65%" class="text-left" valign="middle">
                                  <?php echo app('translator')->getFromJson('frontend.account_number'); ?> : <?php echo e($bank->account_number); ?><br>
                                  <?php echo app('translator')->getFromJson('frontend.account_name'); ?> : <?php echo e($bank->account_name); ?>

                                </td>
                              </tr>
                            </table>
    
                          </div>
                        </div>
                      <?php endif; ?>
                    </div>
                  <?php endif; ?>
                  
    
                  
                  <?php if( config('corepackage.catalog.online_payment')): ?>
                    <div class="col-xs-12 col-sm-3  <?php echo e((config('corepackage.catalog.manual_payment')) ? 'v-separator' : ''); ?>">
                      <div class="row radio-area active">
                        <div class="col-xs-12 text-left radio">
                          <label><input type="radio" name="payment_method" value="online" checked=""><?php echo app('translator')->getFromJson('frontend.online_payment'); ?></label>
                        </div>
                        <div class="col-xs-12 text-center">
                          <img class="img img-responsive" src="<?php echo e(asset($storage_url.'img/bank/paypal.png')); ?>">
                        </div>
                      </div>
                    </div>
                  <?php endif; ?>
                  <?php 
                    if(config('corepackage.catalog.online_payment') && config('corepackage.catalog.manual_payment')){
                      $behavior = "col-sm-offset-9";
                    }elseif(config('corepackage.catalog.manual_payment')){
                      $behavior = "col-sm-offset-6 v-separator";
                    }elseif(config('corepackage.catalog.online_payment')){
                      $behavior = "col-sm-offset-3 v-separator";
                    }else{
                      $behavior = "v-separator";
                    }
                   ?>
                  <div class="col-xs-12 col-sm-3 text-center <?php echo e($behavior); ?>">
                    <div>
                      <?php if(config('corepackage.catalog.online_payment') || config('corepackage.catalog.manual_payment')): ?>
                        <button type="submit" class="btn btn-default">
                          <i class="fa fa-credit-card" aria-hidden="true"></i> <?php echo app('translator')->getFromJson('frontend.checkout'); ?>
                        </a>
                      <?php endif; ?>
                      <button type="button" class="btn" data-dismiss="modal"><?php echo app('translator')->getFromJson('frontend.close'); ?></button>
                    </div>
                  </div>
                  <?php echo Form::close(); ?>

                </div>
              </div>
            </div>
    
          </div>
        </div>
      <?php endif; ?>
    
    <style>
          .whatsapp-floating {
              position: fixed;
              bottom: 20px;
              right: 20px;
              z-index: 1001;
              background-color: #4dc247;
              color: white;
              border-radius: 50%;
              padding: 5px 10px;
          }
          
          .whatsapp-floating:hover {
              background-color: #53ea4b;
              color: white;
          }
          
          .whatsapp-floating i {
              font-size: 52px;
          }
          
          @media  screen and (max-width: 768px) {
              .whatsapp-floating i {
              font-size: 45px;
          }
          }
      </style>
      <a href="https://api.whatsapp.com/send?phone=<?php echo e($masterWa); ?>&amp" class="whatsapp whatsapp-floating" target="_blank">
            <i class="fa fa-whatsapp" aria-hidden="true"></i>
        </a>
        

        <?php echo $__env->yieldContent('content'); ?>
    
      <footer class="main-footer">
            <div class="container footer-top">
                <div class="row">
                    <div class="col-xs-12 col-sm-4 navigation">
                        <h4><?php echo app('translator')->getFromJson('frontend.navigation'); ?></h4>
                        <ul>
                <?php if( config('corepackage.catalog.activate')): ?>
                  <li><a href="<?php echo e(route('categories')); ?>"><?php echo e($page_product); ?></a></li>
                <?php endif; ?>
                      <li><a href="<?php echo e(route('section1')); ?>"><?php echo e($page_section1); ?></a></li>
                      <li><a href="<?php echo e(route('section2')); ?>"><?php echo e($page_section2); ?></a></li>
                <?php if(config('corepackage.lowcost.article')): ?>
                  <li><a href="<?php echo e(route('article')); ?>"><?php echo e($page_article); ?></a></li>
                <?php endif; ?>
                          <li><a href="<?php echo e(route('about')); ?>"><?php echo e($page_about); ?></a></li>
                          <li><a href="<?php echo e(route('contact')); ?>"><?php echo e($page_contact); ?></a></li>
                <?php if(config('corepackage.lowcost.mentionsLegales')): ?>
                  <li><a href="<?php echo e(route('mentionslegales')); ?>"><?php echo e($page_mentionLegales); ?></a></li>
                <?php endif; ?>
                        </ul>
                    </div>
                    <div class="col-xs-12 col-sm-4 contact">
                        <h4><?php echo e($page_contact); ?></h4>
                        <ul>
                            <li><?php echo e($masterName); ?></li>
                            <li><?php echo e($masterAddress); ?></li>
                            <?php if($masterPhone != ""): ?>
                            <li>
                  <?php 
                                    $phone_numbers = explode(';',$masterPhone);
                                 ?>
                                <?php $__currentLoopData = $phone_numbers; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $value): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                    <?php 
                        preg_match_all('!\d+!', $value, $x);
                        $call = implode($x[0]);
                       ?>
                                    <a href="tel:<?php echo e($call); ?>"><?php echo e($value); ?></a><br>
                                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                            </li>
                            <?php endif; ?>
                            <?php if($masterEmail != ""): ?>
                            <li><a href="mailto:<?php echo e($masterEmail); ?>"><?php echo e($masterEmail); ?></a></li>
                            <?php endif; ?>
                        </ul>
                    </div>
                    <div class="col-xs-12 col-sm-4 social-media">
                        <?php 
                            $fb = $masterFb;
                            $ig = $masterIg;
                            $tw = $masterTw;
                $pt = $masterPt;
                $pa = $masterPa;
                $gp = $masterGp;
                $li = $masterLi;
                $sc = $masterSc;
                $wa = $masterWa;
                $yt = $masterYt;
                $ln = $masterLn;
                         ?>
                        <?php if($fb != "" || $ig != "" || $tw != "" || $pt != "" || $pa != "" || $gp != "" || $li != ""|| $sc != ""|| $wa != ""): ?>
                        <h4><?php echo app('translator')->getFromJson('frontend.social_media'); ?></h4>
                        <?php endif; ?>
              <div class="col-xs-12">
    
                
                <?php if($fb != ""): ?>
                            <a href="<?php echo e($masterFb); ?>" class="facebook" target="_blank">
                                <i class="fa fa-facebook-official" aria-hidden="true"></i>
                            </a>
                          <?php endif; ?>
                
    
                
                          <?php if($ig != ""): ?>
                            <a href="<?php echo e($masterIg); ?>" class="instagram" target="_blank">
                                <i class="fa fa-instagram" aria-hidden="true"></i>
                            </a>
                          <?php endif; ?>
                
    
                
                          <?php if($tw != ""): ?>
                            <a href="<?php echo e($masterTw); ?>" class="twitter" target="_blank">
                                <i class="fa fa-twitter-square" aria-hidden="true"></i>
                            </a>
                          <?php endif; ?>
                
    
                
                <?php if($pt != ""): ?>
                            <a href="<?php echo e($masterPt); ?>" class="pinterest" target="_blank">
                                <i class="fa fa-pinterest" aria-hidden="true"></i>
                            </a>
                          <?php endif; ?>
                
    
    
                <?php if($pa != ""): ?>
                            <a href="<?php echo e($masterPa); ?>" class="path" target="_blank">
                                <i class="fa fa-pinterest-square" aria-hidden="true"></i>
                            </a>
                          <?php endif; ?>
    
                
                <?php if($gp != ""): ?>
                            <a href="<?php echo e($masterGp); ?>" class="googleplus" target="_blank">
                                <i class="fa fa-google-plus-official" aria-hidden="true"></i>
                            </a>
                          <?php endif; ?>
                
    
                
                <?php if($li != ""): ?>
                            <a href="<?php echo e($masterLi); ?>" class="linkedin" target="_blank">
                                <i class="fa fa-linkedin-square" aria-hidden="true"></i>
                            </a>
                          <?php endif; ?>
                
    
                
                <?php if($sc != ""): ?>
                            <a href="<?php echo e($masterSc); ?>" class="snapchat" target="_blank">
                                <i class="fa fa-snapchat-square" aria-hidden="true"></i>
                            </a>
                          <?php endif; ?>
                
    
                
                    <?php if($wa != ""): ?>
                            <a href="https://api.whatsapp.com/send?phone=<?php echo e($masterWa); ?>&amp" class="whatsapp" target="_blank">
                                <i class="fa fa-whatsapp" aria-hidden="true"></i>
                            </a>
                          <?php endif; ?>
                
    
                
                <?php if($yt != ""): ?>
                            <a href="<?php echo e($masterYt); ?>" class="youtube" target="_blank">
                                <i class="fa fa-youtube-play" aria-hidden="true"></i>
                            </a>
                          <?php endif; ?>
                
    
                
                <?php if($ln != ""): ?>
                  <a href="http://line.me/ti/p/~<?php echo e($masterLn); ?>" class="line" target="_blank">
                    <i class="icon socicon-line" aria-hidden="true"></i>
                  </a>
                          <?php endif; ?>
                
    
              </div>
                    </div>
                </div>
            </div>
            <div class="container-fluid footer-bottom">
                <div class="container">
                    <div class="row">
                        <div class="col-xs-12 col-sm-6 bottom-left" style="z-index:1 !important;">
                            &copy; <?php echo e($masterName." ".date('Y')); ?> - All rights reserved
                        </div>
                        <div class="col-xs-12 col-sm-6 bottom-right" style="z-index:1 !important;">
                            A concept by <a href="https://cerise.id/" target="_blank">CERISE.iD</a><a class="hidden"> and engine support by </a><a href="https://xeryse.com" class="hidden" style="z-index:9999 !important;">xeryse.com</a>
                        </div>
                    </div>
                </div>
            </div>
      </footer>