

 <header id="header" class="fixed-top" style="background-color:#116496;">
      
    <div class="container" >
      <div class="logo float-left hidden-xs hidden-sm">       
        <a href="index.php" class="scrollto"><img src="../img/logo.png" alt="" class="img-fluid"></a> 
      </div>
    
    
     <div class="row about-container">
     <div class="col-8 col-sm-8 col-md-8 hidden-md hidden-lg" align="right">
     <div class="logo">
   
        <a href="index.php" class="scrollto" ><img src="../img/logo.png"   alt="" class="img-fluid "></a>
    </div></div>
     <!--<div class="col-4 col-sm-4 col-md-4 hidden-md hidden-lg" align="right">
      <a href="#intro" class="scrollto" style=" color:white; font-size:15px;" >
              <i class="fa fa-sign-in" aria-hidden="true"></i>  <br>Login 
    </div>-->
    </a>    
        </div>


      <nav class="main-nav float-right d-none d-lg-block" >
        <ul>
          <li class="active hidden-xs hidden-sm" ><a href="index.php">Dashboard</a></li>
       <li class="active hidden-md hidden-lg"  style="font-size:20px;"><a href="index.php"><i class="fa fa-home" aria-hidden="true"></i> </a></li>
      
        
      <li><a href="admin_lvl2.php">Admin (lvl 2)</a></li>  
      <li><a href="nav_header_master.php">Nav Header Master</a></li>
      <li><a href="nav_template_master.php">Nav Template Master</a></li>
      <li><a href="category.php">Category</a></li>
      <li><a href="contact.php">Contact</a></li>
      <li><a href="blog.php">Blog</a></li> 
        
                
      

      <!--    <?php /*                   
            $nav_sql = "SELECT * FROM nav  where navfor='$_SESSION[uid]' ORDER BY npositon ASC";
            $nav_run = mysqli_query($con, $nav_sql);
            while ( $nav_rows = mysqli_fetch_assoc($nav_run) ) {
                echo "
                <li><a href='$nav_rows[nlink]'>$nav_rows[nname]</a></li>
                ";
             }
          */ ?>
      <li><a href="nav_lv1.php">Nav</a></li>
        --> 
      <li><a href="#logoutModal" data-toggle="modal" data-toggle="modal" class="text-decoration-none" style="color: red;"> Logout <i class="fas fa-sign-out-alt fa-lg fa-fw"></i>
            </a>
          </li>
        </ul>
      </nav><!-- .main-nav -->
      
    </div>
  </header>

<div class="modal fade" id="logoutModal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
    <div class="modal-dialog" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <h5 class="modal-title" id="exampleModalLabel">Ready to Leave?</h5>
                <button class="close" type="button" data-dismiss="modal" aria-label="Close">
                    <span aria-hidden="true">×</span>
                </button>
            </div>
            <div class="modal-body">Select "Logout" below if you are ready to end your current session.</div>
            <div class="modal-footer">
                <button class="btn btn-secondary" type="button" data-dismiss="modal">Cancel</button>
                <a class="btn btn-primary" href="logout.php">Logout</a>
            </div>
        </div>
    </div>
</div>