    <nav class="navbar navbar-expand-lg inner_nav">
        <div class="container-fluid">
            <div class="row w-100 valign">
                <div class="col-lg-4">
                    <a class="navbar-brand" href="<?php echo e(url(getCurrentLocale().'/')); ?>">
                        <img src="<?php echo e(url('')); ?>/assets/web/images/logo.png" alt="">
                    </a>
                    <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
                        <!-- <span class="navbar-toggler-icon"></span> -->
                        <div id="nav-icon2" class="">
                          <span></span>
                          <span></span>
                          <span></span>
                          <span></span>
                          <span></span>
                          <span></span>
                      </div>
                      </button>
                    <a href="<?php echo e(url(getCurrentLocale().'/item')); ?>" class="sections_btn">
                        <img src="<?php echo e(url('')); ?>/assets/web/images/icons/1.svg" alt=""> <?php echo e(__('web.categories')); ?>

                    </a>
                    <?php if(getCurrentLocale() == 'ar'): ?>
                    <a href="<?php echo e(LaravelLocalization::getLocalizedUrl('en')); ?>" class="m-4 font-weight-bold"> EN <i class="fas fa-globe-americas"></i> </a>
                    <?php else: ?> 
                    <a href="<?php echo e(LaravelLocalization::getLocalizedUrl('ar')); ?>" class="m-4 font-weight-bold"> عربية <i class="fas fa-globe-americas"></i> </a>
                    <?php endif; ?>
                </div>
                <div class="col-lg-5">
                    <div class="collapse navbar-collapse justify-content-center" id="navbarNav">
                        <ul class="navbar-nav">
                            <li class="nav-item active">
                                <a class="nav-link" href="<?php echo e(url(getCurrentLocale().'/')); ?>"><?php echo e(__('web.home')); ?></a>
                            </li>
                            <li class="nav-item">
                                <a class="nav-link" href="<?php echo e(url(getCurrentLocale().'/contactus')); ?>"> <?php echo e(__('web.contactus')); ?></a>
                            </li>
                            <li class="nav-item">
                                <a class="nav-link" href="<?php echo e(url(getCurrentLocale().'/aboutus')); ?>"> <?php echo e(__('web.aboutus')); ?></a>
                            </li>
                            <li class="nav-item">
                                <a class="nav-link" href="<?php echo e(url(getCurrentLocale().'/package')); ?>"><?php echo e(__('web.hanqr')); ?></a>
                            </li>
                           <?php if(\Auth::user()): ?>
                            <li class="nav-item">
                                <a class="nav-link" href="<?php echo e(url(getCurrentLocale().'/item/create')); ?>"> <?php echo e(__('web.add_ad')); ?></a>
                            </li>
                           
                            <?php endif; ?>
                        </ul>
                    </div>
                </div>
                
                <?php if(\Auth::user()): ?>
                <div class="col-lg-3 valign">
                    <div class="login_user d-flex justify-content-between">
                        <a href="<?php echo e(url(getCurrentLocale().'/profile')); ?>" class="u_img text-center">
                            <img src="<?php echo e(asset(\Auth::user()->photo)); ?>" alt="">
                              <strong class="text-dark d-block"><?php echo e(\Auth::user()->name); ?> </strong>
                        </a>
                        <div class="dropdown show">
                            <a href="#" class="bell dropdown-toggle" role="button" id="dropdownMenuLink" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><i class="fas fa-bell"></i></a>
                            <div class="dropdown-menu" aria-labelledby="dropdownMenuLink" id="notifi">
                                
                            </div>
                        </div>
                        <div class="login_btns">
                        <a href="<?php echo e(url(getCurrentLocale().'/logout')); ?>"><span> <?php echo e(__('web.logout')); ?></span></a>
                         </div>
                         <div class="dropdown show login_btns">
                            <a class="search_link dropdown-toggle" href="#" role="button" id="dropdownMenuLink" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
                                <i class="fas fa-search"></i>
                            </a>
                            <div class="dropdown-menu search_drop" aria-labelledby="dropdownMenuLink">
                                <form method="GET" action="<?php echo e(url(getCurrentLocale().'/search')); ?>" class="form-row">
                                    
                                    <div class="form-group col-12">
                                        <select name="type" class="form-control">
                                            <option value="search"> <?php echo e(__('web.searchall')); ?> </option>
                                            <option value="hangr"><?php echo e(__('web.searchhanqr')); ?> </option>
                                            <option value="hashtags"> <?php echo e(__('web.searchtag')); ?>  </option>
                                        </select>
                                    </div>
                                    <div class="form-group m-0 col-12">
                                        <div class="form-group">
                                            <button><i class="fas fa-search"></i></button>
                                            <input name="search" type="text" class="form-control" placeholder="<?php echo e(__('web.searchword')); ?>">
                                        </div>
                                    </div>
                                </form>
                            </div>
                        </div>
                    </div>
                </div>
                <?php else: ?>
                <div class="col-lg-3 d-flex">
                    <div class="login_btns">
                        <a href="<?php echo e(url(getCurrentLocale().'/login')); ?>"><span> <?php echo e(__('web.login')); ?></span></a>
                        <a href="<?php echo e(url(getCurrentLocale().'/regist')); ?>"><span> <?php echo e(__('web.regist')); ?></span></a>
                    </div>
                    <div class="dropdown show login_btns">
                            <a class="search_link dropdown-toggle" href="#" role="button" id="dropdownMenuLink" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
                                <i class="fas fa-search"></i>
                            </a>
                            <div class="dropdown-menu search_drop" aria-labelledby="dropdownMenuLink">
                                <form method="GET" action="<?php echo e(url(getCurrentLocale().'/search')); ?>" class="form-row">
                                    
                                    <div class="form-group col-12">
                                        <select name="type" class="form-control">
                                           <option value="search"> <?php echo e(__('web.searchall')); ?> </option>
                                            <option value="hangr"><?php echo e(__('web.searchhanqr')); ?> </option>
                                            <option value="hashtags"> <?php echo e(__('web.searchtag')); ?>  </option>
                                        </select>
                                    </div>
                                    <div class="form-group m-0 col-12">
                                        <div class="form-group">
                                            <button><i class="fas fa-search"></i></button>
                                            <input name="search" type="text" class="form-control" placeholder="<?php echo e(__('web.searchword')); ?>">
                                        </div>
                                    </div>
                                </form>
                            </div>
                        </div>
                </div>
                <?php endif; ?>
                
            </div>
        </div>
    </nav>
    <?php if(\Auth::user()): ?>
      <?php $__env->startPush('js'); ?>
 
  <!-- The core Firebase JS SDK is always required and must be listed first -->
<script src="https://www.gstatic.com/firebasejs/8.2.9/firebase-app.js"></script>

<!-- TODO: Add SDKs for Firebase products that you want to use
     https://firebase.google.com/docs/web/setup#available-libraries -->
<script src="https://www.gstatic.com/firebasejs/8.2.9/firebase-database.js"></script>

<script>
  // Your web app's Firebase configuration
  // For Firebase JS SDK v7.20.0 and later, measurementId is optional
 var firebaseConfig = {
    apiKey: "AIzaSyD8Ch76IgLgWYeBfVVu_bZVAfg7yaHGjo0",
    authDomain: "alhanger-22dac.firebaseapp.com",
    databaseURL: "https://alhanger-22dac-default-rtdb.firebaseio.com",
    projectId: "alhanger-22dac",
    storageBucket: "alhanger-22dac.appspot.com",
    messagingSenderId: "174330748086",
    appId: "1:174330748086:web:f5bf676633f133442d1a17",
    measurementId: "G-VZBX4HRHS3"
  };
  // Initialize Firebase
  firebase.initializeApp(firebaseConfig);
   var channel = 'notification'+<?php echo \Auth::user()->id; ?>

     
       firebase.database().ref(channel).ref.once("value").then(function(snapshot) {
        
     $('#spanval').text(snapshot.numChildren());
     
  });
 
      
     
  
  var channel = 'notification'+<?php echo \Auth::user()->id; ?>

      
 
   
  
   firebase.database().ref(channel).on("child_added",function (snapshot){
  
      
      
        $.ajax({
          url : <?php echo json_encode(url(getCurrentLocale().'/notificationmenu/'.\Auth::user()->id)); ?>,
          type: 'GET',              
          data: 'dataform', 
          success: function(data)
          {
       
      $('#notifi').html(data); 
}
 }); 
     
         
  }); 
   </script>
   <?php $__env->stopPush(); ?>
   <?php endif; ?><?php /**PATH /home/omaralyomhost/public_html/hanqr/resources/views/web/layouts/include/menu.blade.php ENDPATH**/ ?>