





<!-- Navbar -->
  <nav class="main-header navbar navbar-expand navbar-white navbar-light" style="background:#eb5d99;color:white;">
    <!-- Left navbar links -->
    




















    <?php
    $qadmin_login=mysqli_query($connect,"select * from tb_admin where id_admin='".$session_id_admin."'");
    $radmin_login=mysqli_fetch_array($qadmin_login);
    ?>

    <ul class="navbar-nav">
      <li class="nav-item">
        <a class="nav-link" data-widget="pushmenu" href="#" role="button" style="color:white;"><i class="fas fa-bars"></i></a>
      </li>
      
    </ul>



    <!-- Right navbar links -->
    <ul class="navbar-nav ml-auto">
      <!-- Messages Dropdown Menu -->
      

      



      <!-- Notifications Dropdown Menu -->
      <li class="nav-item dropdown">
        <a class="nav-link" data-toggle="dropdown" href="#">
          
          
          <i class="fa fa-user" style="color:white;"></i>

          <span class="d-xs-block" style="color:white;">&nbsp; <b><?php echo $radmin_login['nama_lengkap'];?></b> </span>
          
        </a>
        <div class="dropdown-menu dropdown-menu-lg dropdown-menu-right">
          
          <a href="profil" class="dropdown-item" style="text-align:center;">
          

          <?php $filefoto = md5($session_id_admin);?>

          <img onerror="this.src='<?php echo $base_url_admin;?>/assets/img/ava.png'" style="width:50px;" alt="Foto" class="img-circle elevation-2" src="<?php echo $base_url_admin;?>/assets/foto/<?php echo $filefoto;?>.jpg?p=<?php echo date('h:i:s:d-m-Y');?>">
         



          <br><br>
          
          <?php echo $radmin_login['nama_lengkap'];?>
          <br>
          <span><i>(<?php echo ucfirst(strtolower($radmin_login['status']));?>)</i></span>
          
          
          </a>

          <a href="<?php echo $base_url_admin;?>/profil" class="dropdown-item">
            <i class="fas fa-user"></i> &nbsp; Profil
          </a>
          <div class="dropdown-divider"></div>
          <a href="<?php echo $base_url_admin;?>/gantipassword" class="dropdown-item">
           <i class="fas fa-unlock-alt"></i> &nbsp; Ganti Password
          </a>
          <div class="dropdown-divider"></div>
          <a href="<?php echo $base_url_admin;?>/logout" class="dropdown-item dropdown-footer">Keluar</a>
        </div>
      </li>
    </ul>
  </nav>
  <!-- /.navbar -->