<header class="main-header">
    <!-- Logo -->
    <a href="#" class="logo">
      <!-- mini logo for sidebar mini 50x50 pixels -->
      <span class="logo-mini"><img src="../../dist/img/logoJEKA_ROYALTI_48x48.png" /></span>
      <!-- logo for regular state and mobile devices -->
      <span class="logo-lg"><img src="../../dist/img/logoJEKA_ROYALTI_173x50.png" /></span>
    </a>
    <!-- Header Navbar: style can be found in header.less -->
    <nav class="navbar navbar-static-top">
      <!-- Sidebar toggle button-->
      <a href="#" class="sidebar-toggle" data-toggle="offcanvas" role="button">
        <!--
        <span class="sr-only">Toggle navigation</span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
        -->
      </a>

      <div class="navbar-custom-menu">
        <ul class="nav navbar-nav">
          
          <!-- User Account: style can be found in dropdown.less -->
          <li class="dropdown user user-menu">
            <a href="#" class="dropdown-toggle" data-toggle="dropdown">
              <img src="../../dist/img/<?php echo $_SESSION["logoimage"]; ?>" class="user-image" alt="User Image">
              <span class="hidden-xs"><?php echo $_SESSION["namalengkap"]; ?></span>
            </a>
            <ul class="dropdown-menu">
              <!-- User image -->
              <li class="user-header">
                <img src="../../dist/img/<?php echo $_SESSION["logoimage"]; ?>" class="img-circle" alt="User Image">
                <p>
                  <?php echo $_SESSION["namalengkap"]; ?>
                  <!--<small>Since 2018</small>-->
                </p>
              </li>
              <!-- Menu Body -->
              
              <!--
              <li class="user-body">
                <div class="row">
                  <div class="col-xs-4 text-center">
                    <a href="#">Followers</a>
                  </div>
                  <div class="col-xs-4 text-center">
                    <a href="#">Sales</a>
                  </div>
                  <div class="col-xs-4 text-center">
                    <a href="#">Friends</a>
                  </div>
                </div>
                -->
                <!-- /.row -->
              <!--  
              </li>
              -->
              
              <!-- Menu Footer-->
              <li class="user-footer">
                <div class="pull-left">
                  <?php
			  	  if($_SESSION["leveluser"]=='superadmin')
			  	  {
			  	  ?>
                  <a href="../user/user_form_edituser.php?iduser=<?php echo $_SESSION["iduser"]; ?>&page_c1=ud" class="btn btn-default btn-flat">Profil</a>
                  <?php
				  }
			  	  elseif($_SESSION["leveluser"]=='admin')
			  	  {
			  	  ?>
                  <a href="../user/user_form_edituser.php?iduser=<?php echo $_SESSION["iduser"]; ?>&page_c1=ud" class="btn btn-default btn-flat">Profil</a>
                  <?php
			  	  }
			  	  elseif($_SESSION["leveluser"]=='user')
			  	  {
			  	  ?>
                  <a href="../user/user_form_edituser.php?iduser=<?php echo $_SESSION["iduser"]; ?>&page_c1=ud" class="btn btn-default btn-flat">Profil</a>
                  <?php
			  	  }
			  	  ?>
                </div>
                <div class="pull-right">
                  <?php
			  	  if($_SESSION["leveluser"]=='superadmin')
			  	  {
			  	  ?>
                  <a href="../login_jquery/logout.php" class="btn btn-default btn-flat">Keluar</a>
				  <?php
				  }
			  	  elseif($_SESSION["leveluser"]=='admin')
			  	  {
			  	  ?>
                  <a href="../login_jquery/logout.php" class="btn btn-default btn-flat">Keluar</a>
                  <?php
			  	  }
			  	  elseif($_SESSION["leveluser"]=='user')
			  	  {
			  	  ?>
                  <a href="../../login_user/logout.php" class="btn btn-default btn-flat">Keluar</a>
                  <?php
			  	  }
			  	  ?>
                </div>
              </li>
            </ul>
          </li>
          <!-- Control Sidebar Toggle Button -->
          <!--
          <li>
            <a href="#" data-toggle="control-sidebar"><i class="fa fa-gears"></i></a>
          </li>
          -->
        </ul>
      </div>
   </nav>
</header>