  <?php 
  $page="";if(isset($_POST['page'])) $page=$_POST['page'];
  ?>
  <!-- Navigation -->
    <nav class="navbar navbar-expand-lg navbar navbar-dark bg-dark  sticky-top  px-5">
      <a class="navbar-brand" href="index.php"><i class="fas fa-file-code me-2"></i>Carriers MC Extractor</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>
      </button>
      <div class="collapse navbar-collapse d-flex justify-content-start" id="navbarResponsive">
        <span class="navbar-text"> Welcome <b><?=(isset($_SESSION['SESS_NAME'])?$_SESSION['SESS_NAME']:"Guest")?></b></span>
		 <?php if (isset($_SESSION['USER_TYPE'])): ?>
		 <a class="nav-link" data-fancybox data-type="ajax" data-src="change-pw.php" href="javascript:void();"  >Change Password</a>
		 <?php endif ?>
      </div>
      <div class="collapse navbar-collapse" id="navbarNav">
        <div class="navbar-nav ml-auto">
              <a class="nav-link <?=($page=="Home"?"active":"")?>" href="index.php">Home</a>
          <?php if (isset($_SESSION['USER_TYPE'])): ?>
			  <a class="nav-link  <?=($page=="Customers"?"active":"")?>" href="customers.php">Customers</a>
			  <a class="nav-link"  href="logout.php">Logout</a>
            <?php if($_SESSION['USER_TYPE']==0): ?>

            <?php elseif($_SESSION['USER_TYPE']==1): ?>

            <?php endif ?>
            <?php else: ?>
              <a class="nav-link <?=($page=="Login"?"active":"")?>" href="login.php">Login</a>
          <?php endif ?>
        </div>
      </div>

    </nav>