<nav class="main-header navbar navbar-expand navbar-white navbar-light" style="padding: 2px;">
<!-- BARRA DE NAVEGACION -->
<ul class="navbar-nav">
      <li class="nav-item">
        <a class="nav-link" data-widget="pushmenu" href="#" role="button"><i class="fas fa-bars" ></i></a>
      </li>
</ul>


    <!-- Right navbar links -->
    <ul class="navbar-nav ml-auto" style=" align-items: center;">

    <li class="nav-item dropdown">
        <a class="nav-link" href="#" data-toggle="dropdown" aria-expanded="false">
          <i class="far fa-bell"></i>
          <span class="badge badge-warning navbar-badge">15</span>
        </a>
        <div class="dropdown-menu dropdown-menu-lg dropdown-menu-right" style="left: inherit; right: 0px;">
           <span class="dropdown-item dropdown-header"> 15 notificaciones</span>
           <div class="dropdown-divider"></div>

        </div>

      </li>
     
     
      <!-- PERFIL DE USUARIO -->
      <li class="dropdown user user-menu ">
        <a class="dropdown-toggle" data-toggle="dropdown" href="#">
          <?php 
           if ($_SESSION["foto"] != ""){
             echo '<img src="'.$_SESSION["foto"].'" class="user-image">';
           }else{

            echo '<img src="vistas/dist/img/usuarios/user2-160x160.jpg" class="user-image">';
           }
          
          ?>

          <?php

            $item = "id_empleado";
            $valor = $_SESSION["id_empleado"];

            $empleado = ControladorEmpleado:: ctrMostrarEmpleado($item, $valor);

              echo '<span class="hidden-xs">'.$empleado["nombre"].'</span>';

          ?>

          
        </a>
        <!-- DROPDOWN-->
        <ul class="dropdown-menu dropdown-menu-right" >
              <!-- User image -->
              <li class="user-header">

                <img src="<?php echo $_SESSION['foto']; ?>" class="img-circle" alt="User Image">

                <?php

                $item = "id_empleado";
                $valor = $_SESSION["id_empleado"];

                $empleado = ControladorEmpleado:: ctrMostrarEmpleado($item, $valor);

                  echo '<p>'.$empleado['nombre'].'</p>';

                ?>

              </li>
              <!-- Menu Footer-->
              <li class="user-footer">
                <div class="float-right">
                  <a href="salir" class="btn btn-default btn-flat">Salir</a>
                </div>
              </li>
            </ul>
      </li>

      


    </ul>
  </nav>
  <!-- /.navbar -->

  <!-- Main Sidebar Container -->
  <aside class="main-sidebar sidebar-light-primary elevation-4">
    <!-- Brand Logo -->
    <a href="inicio" class="brand-link">
      <img src="vistas/dist/img/plantilla/inyeccion.png" alt="AdminLTE Logo" class="brand-image img-circle elevation-4"
           >
      <p class="brand-text font-weight-light" style="color: black;"><strong>E QUILLABAMBA</strong></p>
    </a>
 
