<?php
require_once("../../config/conexion.php");
require_once("../../models/Usuario.php");
//session_start();
if (isset($_SESSION["usuariodbk"])) {
    ?>
    <!DOCTYPE html>
    <html lang="es">
        <head>
            <?php
            require_once '../html/MainHead.php';
            ?>
            <title>IST CEMLAD | SIED</title>
        </head>
        <body class="hold-transition sidebar-mini layout-fixed">           
            <div class="wrapper">
                <?php require_once '../html/MainMenu.php'; ?> 
                <?php require_once '../html/MainHeader.php'; ?>                 
                <div class="content-wrapper">
                    <div class="content-header">
                        <div class="container-fluid">
                            <div class="row mb-2">
                                <div class="col-sm-6">
                                    <h1 class="m-0"><?php echo "Periodo Académico: ".$_SESSION["periodbk"]." - ".$_SESSION["descrip"];?></h1>
                                </div>
                                <div class="col-sm-6">
                                    <ol class="breadcrumb float-sm-right">
                                        <li class="breadcrumb-item"><a href="#">Inicio</a></li>
                                        <li class="breadcrumb-item active">Dashboard</li>
                                    </ol>
                                </div>
                            </div>
                        </div>
                    </div> 
                    <div class="content">
                        <div class="container-fluid">
                            <div class="row">
                                <?php require_once '../html/MainContenidoPlantilla.php'; ?> 
                            </div>
                        </div>
                    </div>
                </div>
            </div>
             <?php require_once '../html/MainFooter.php'; ?> 
            <aside class="control-sidebar control-sidebar-dark">
            </aside>
            <?php require_once '../html/MainJS.php'; ?>
            <script type="text/javascript" src="usuhome.js"></script>
        </body>
    </html>
    <?php
} else {
    header("Location:" . Conexion::ruta() . "view/404/");
}
?>