<?php
session_start();
	include './conexion.php';
    

    $meses = array("Enero","Febrero","Marzo","Abril","Mayo","Junio","Julio","Agosto","Septiembre","Octubre","Noviembre","Diciembre");
    $mesActual=date('m');
    if($mesActual=='01'){
        $mesActual="1";
    }else if($mesActual=='02'){
        $mesActual="2";
    }else if($mesActual=='03'){
        $mesActual="3";
    }else if($mesActual=='04'){
        $mesActual="4";
    }else if($mesActual=='05'){
        $mesActual="5";
    }else if($mesActual=='06'){
        $mesActual="6";
    }else if($mesActual=='07'){
        $mesActual="7";
    }else if($mesActual=='08'){
        $mesActual="8";
    }else if($mesActual=='09'){
        $mesActual="9";
    }
?>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Taller</title> <link rel="icon" href="./icons/taller.png" type="image/png">
    <link rel="stylesheet" href="./sidemenu.css">
    <link href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css" rel="stylesheet">

</head>
<body  >
    <!-- Encabezado -->
    <header>
        <!--<h1>Taller</h1>-->
		<?php include "includes/header2.php"; ?>
    </header>

    <!--<div id="sidemenu" class="menu-collapsed">-->
    <div id="sidemenu" class="menu-expanded">
        <!-- Header -->
        <div id="header">
            <div id="title"><span></span> </div>
            <div id="menu-btn">
                <div class="btn-hamburger"></div>
                <div class="btn-hamburger"></div>
                <div class="btn-hamburger"></div>
            </div>
        </div>
        <!--Profile-->
        <div id="profile">
            <div id="photo"><img src="img/user.png" alt=""></div>
            <!--<div id="name"><span><?php echo $_SESSION['nombre'];?></span></div>
            <div id="name"><span><?php echo $_SESSION['iduser']." [ ".$_SESSION['user']." ] ";?></span></div>
            <div id="name"><span><?php echo "Sucursal: ".$_SESSION['suc'];?></span></div>
            <div id="name"><span> <?php echo "Rol: ".$_SESSION['rol'];?></span></div>-->
        </div>
        <!--Items-->
        <div id="menu-items">
            <?php include './includes/navs3.php'?>
        </div>
    </div>
    <!--<div id="main-container">-->
    
<!-- -->
<!--<div class="container-fluid">-->
<div id="datos" >

</div>
    

<!-- 
    </div>-->

    <!-- Pie de página -->
    <footer>
        <?php include "includes/footer.php"; ?>
    </footer>

    <!--<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js"></script>-->
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.0/jquery.min.js"></script>
    <script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.5.4/dist/umd/popper.min.js"></script>
    <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script>
    <script src="https://cdn.jsdelivr.net/npm/chart.js"></script>

    <script>
        const btn = document.querySelector('#menu-btn');
        const menu = document.querySelector('#sidemenu');

        /*btn.addEventListener('click', e => {
            menu.classList.toggle("menu-expanded");
            //menu.classList.toggle("menu-collapsed");

            document.querySelector('body').classList.toggle('body-expanded')
        });*/
    </script>


</body>
</html>
