<!--
=========================================================
* Mi Restaurant Punto de Venta V 1.0
=========================================================

* Product Page: www.xolotlcl.com
* Copyright 2023 (https://www.micabanita.mx)

=========================================================

-->
<?php

require('../functions/functions.php');
/*
if(!isset($_SESSION['TIME'])){
  $_SESSION['TIME'] = time();

}elseif (time()- $_SESSION['TIME']>3000) {
  session_regenerate_id(true);
  $_SESSION['TIME'] =time();
      
  $id_uss = $_SESSION['cveUsuario'];
  $query = query("delete from sessiones where uss_id='$id_uss'");
  session_destroy();
  echo "<script> 
    document.location.href='/aqua-restaurant/';
  </script>";
}*/
?>
<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="utf-8" />
  <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
  <link rel="apple-touch-icon" sizes="76x76" href="../assets/img/apple-icon.png">
  <link rel="icon" type="../image/png" href="../assets/img/favicon.png">

  <title>
    Mi Restaurant - Administrador Punto de Venta
  </title>
  <!--     Fonts and icons    
  <link rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700,900|Roboto+Slab:400,700" />
   -->
  <!-- Nucleo Icons -->
  <link href="../assets/css/nucleo-icons.css" rel="stylesheet" />
  <link href="../assets/css/nucleo-svg.css" rel="stylesheet" />
  <!-- Font Awesome Icons 
  <script src="https://kit.fontawesome.com/42d5adcbca.js" crossorigin="anonymous"></script>
  -->
  <!-- Material Icons 
  <link href="https://fonts.googleapis.com/icon?family=Material+Icons+Round" rel="stylesheet">-->

  <!-- CSS Files -->
  <link id="pagestyle" href="../assets/css/material-dashboard.css?v=3.0.0" rel="stylesheet" />
  <!--BOOTSTRAP-->
  
    <!--Chart js-->
    <script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
  <!--<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous">-->
  

</head>

<body class="g-sidenav-show  bg-gray-300">
  <aside class="sidenav navbar navbar-vertical navbar-expand-xs border-0 border-radius-xl my-1 fixed-start ms-3   bg-gradient-dark" id="sidenav-main">
    <div class="sidenav-header">
      <i class="fas fa-times p-3 cursor-pointer text-white opacity-5 position-absolute end-0 top-0 d-none d-xl-none" aria-hidden="true" id="iconSidenav"></i>
      <a class="navbar-brand m-0"  target="_blank">
        <span class="ms-1 font-weight-bold text-white">Hola! <?php echo $usuario?></span>
      </a>
    </div>
    <hr class="horizontal light mt-0 mb-2">
    <div class="collapse navbar-collapse  w-auto  max-height-vh-100" id="sidenav-collapse-main">
      <ul class="navbar-nav">
        <li class="nav-item">
          <a class="nav-link text-white " href="../usuario_administrador/dashboard.php">
            <div class="text-white text-center me-2 d-flex align-items-center justify-content-center">
              <i class="material-icons opacity-10">Dashboard</i>
            </div>
          </a>
        </li>
        <li class="nav-item">
          <a class="nav-link text-white " href="../usuario_administrador/consultor.php">
            <div class="text-white text-center me-2 d-flex align-items-center justify-content-center">
              <i class="material-icons opacity-10">Consultas</i>
            </div>
          </a>
        </li>
       <li class="nav-item">
          <a class="nav-link text-white " href="../usuario_administrador/reportes.php">
            <div class="text-white text-center me-2 d-flex align-items-center justify-content-center">
              <i class="material-icons opacity-10">Reportes</i>
            </div>
          </a>
        </li>
        <li class="nav-item">
          <a class="nav-link text-white " href="../usuario_mesero/notas_de_venta.php">
            <div class="text-white text-center me-2 d-flex align-items-center justify-content-center">
              <i class="material-icons opacity-10">Notas de Venta</i>
            </div>
          </a>
        </li>
        <li class="nav-item">
          <a class="nav-link text-white " href="../usuario_administrador/materia_prima.php">
            <div class="text-white text-center me-2 d-flex align-items-center justify-content-center">
              <i class="material-icons opacity-10">Materia prima</i>
            </div>
          </a>
        </li>
        <li class="nav-item">
          <a class="nav-link text-white" href="../usuario_administrador/recetas.php">
            <div class="text-white text-center me-2 d-flex align-items-center justify-content-center">
              <i class="material-icons opacity-10">Recetas</i>
            </div>
          </a>
        </li>
        <li class="nav-item">
          <a class="nav-link text-white " href="../usuario_administrador/productos.php">
            <div class="text-white text-center me-2 d-flex align-items-center justify-content-center">
              <i class="material-icons opacity-10">Productos</i>
            </div>
          </a>
        </li>
        <li class="nav-item">
          <a class="nav-link text-white " href="../usuario_administrador/compras.php">
            <div class="text-white text-center me-2 d-flex align-items-center justify-content-center">
              <i class="material-icons opacity-10">Compras</i>
            </div>
          </a>
        </li>
        <li class="nav-item">
          <a class="nav-link text-white " href="../usuario_administrador/usuarios.php">
            <div class="text-white text-center me-2 d-flex align-items-center justify-content-center">
              <i class="material-icons opacity-10">Usuarios</i>
            </div>
          </a>
        </li>
        <li class="nav-item">
          <a class="nav-link text-white " href="../usuario_administrador/propinas.php">
            <div class="text-white text-center me-2 d-flex align-items-center justify-content-center">
              <i class="material-icons opacity-10">Propinas</i>
            </div>
          </a>
        </li>
      </ul>
    </div>
    <div class="sidenav-footer position-absolute w-100 bottom-0 ">
      <div class="">
        <ul class="navbar-nav">
          <li class="nav-item">
          <a class="nav-link text-white " href="/aqua-restaurant/functions/salir.php">
            <div class="text-white text-center me-2 d-flex align-items-center justify-content-center">
              <i class="material-icons opacity-10">Cerrar sesión</i>
            </div>
          </a>
        </li>
        </ul>
      </div>
      <div class="mx-3">
        <a class="btn bg-gradient-primary mt-4 w-100" target="_blank" type="button">Ir a sitio Web</a>
      </div>
    </div>
  </aside>
  <main class="main-content position-relative max-height-vh-100 h-100 border-radius-lg ">
    <!--Navbar-->
    <nav class="navbar navbar-main navbar-expand-lg px-0 mx-4 shadow-none border-radius-xl" id="navbarBlur" navbar-scroll="true">
      <div class="container-fluid py-0 px-0">
        <div class="collapse navbar-collapse mt-sm-0 mt-2 me-md-0 me-sm-4" id="navbar">
          <div class="ms-md-auto pe-md-3 d-flex align-items-center">
            <div class="input-group input-group-outline">
            </div>
          </div>
          <ul class="navbar-nav  justify-content-end">
            <li class="nav-item d-flex align-items-center">
              <a href="javascript:;" class="nav-link text-body font-weight-bold px-0">
                <i class="fa fa-user me-sm-1"></i>
                <span class="d-sm-inline d-none">Administrador</span>
              </a>
            </li>
            
            <li class="nav-item d-xl-none ps-3 d-flex align-items-center">
              <a href="javascript:;" class="nav-link text-body p-0" id="iconNavbarSidenav">
                <div class="sidenav-toggler-inner">
                  <i class="sidenav-toggler-line"></i>
                  <i class="sidenav-toggler-line"></i>
                  <i class="sidenav-toggler-line"></i>
                </div>
              </a>
            </li>
            <li class="nav-item px-3 d-flex align-items-center">
              <a href="javascript:;" class="nav-link text-body p-0">
                <i class="fa fa-cog fixed-plugin-button-nav cursor-pointer"></i>
              </a>
            </li>
            <li class="nav-item dropdown pe-2 d-flex align-items-center">
              <a href="javascript:;" class="nav-link text-body p-0" id="dropdownMenuButton" data-bs-toggle="dropdown" aria-expanded="false">
                <i class="fa fa-bell cursor-pointer"></i>
              </a>
              <ul class="dropdown-menu  dropdown-menu-end  px-2 py-3 me-sm-n4" aria-labelledby="dropdownMenuButton">
              </ul>
            </li>
          </ul>
        </div>
      </div>
    </nav>
    <!--End Navbar -->
    <div class="container-fluid py-1">