<nav class="main-header navbar navbar-expand navbar-white navbar-light shadow-sm text-sm">

  <ul class="navbar-nav">
    <li class="nav-item">
      <a class="nav-link" data-widget="pushmenu" href="#">
        <i class="fas fa-bars"></i>
      </a>
    </li>

    <li class="nav-item d-none d-sm-inline-block">
      <a href="./" class="nav-link font-weight-bold">
        <?php echo $_settings->info('short_name'); ?>
      </a>
    </li>
  </ul>

  <ul class="navbar-nav ml-auto">
    <li class="nav-item dropdown">
      <a class="nav-link" data-toggle="dropdown" href="#">
        <i class="fas fa-user-circle"></i>
        <?php echo $_settings->userdata('firstname'); ?>
      </a>

      <div class="dropdown-menu dropdown-menu-right">
        <a href="./?page=user" class="dropdown-item">
          <i class="fas fa-user mr-2"></i> Mi cuenta
        </a>
        <div class="dropdown-divider"></div>
        <a href="../classes/Login.php?f=logout"
           class="dropdown-item text-danger">
          <i class="fas fa-sign-out-alt mr-2"></i> Cerrar sesión
        </a>
      </div>
    </li>
  </ul>
</nav>

