<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="gb18030">
  
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <meta http-equiv="x-ua-compatible" content="ie=edge">

  <title><?php echo $title; ?></title>
  <link rel="shortcut icon" href="<?=$base;?>/assets/images/favicon.ico" />
  <!-- Font Awesome Icons -->
  <link rel="stylesheet" href="<?=$base;?>/admin_lte/plugins/fontawesome-free/css/all.min.css">

  <link rel="stylesheet" href="<?=$base;?>/admin_lte/dist/css/adminlte.min.css">
  
  <link rel="stylesheet" type="text/css" href="<?=$base;?>/assets/css/template.css">

  <!-- jQuery -->
  <script src="<?=$base;?>/admin_lte/plugins/jquery/jquery.min.js"></script>

</head>
<body class="hold-transition sidebar-mini sidebar-collapse">
  <div class="wrapper">
    <!-- Navbar -->
  <nav class="main-header navbar navbar-expand navbar-white navbar-light">
    <!-- Left navbar links -->
    <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>
      <li class="nav-item d-none d-sm-inline-block">
        <a href="<?=$base;?>" class="nav-link">Home</a>
      </li>
      <li class="nav-item d-none d-sm-inline-block">
        <img src="<?=$base;?>/assets/images/logo_min.jpg">
      </li>
    </ul>

    <!-- Right navbar links -->
    <ul class="navbar-nav ml-auto">
      <!-- Messages Dropdown Menu -->
      <li class="nav-item">
        <span><?=$loggedUser->email;?></span>
      </li>
      <li class="nav-item">
        <a class="btn-logout" href="<?=$base;?>/logout">Sair</a>
      </li>
    </ul>
  </nav>