";
// Header Start -->
include "modulos/componentes/header.php";
// Header End -->
// aside comenter End -->
// aside comenter End -->
echo "
";
echo "
";
if (isset($_GET["ruta"])) {
if (
$_GET["ruta"] == "inicio" ||
$_GET["ruta"] == "usuarios" ||
$_GET["ruta"] == "departamentos" ||
$_GET["ruta"] == "categorias" ||
$_GET["ruta"] == "inventario" ||
$_GET["ruta"] == "eventos" ||
$_GET["ruta"] == "tareas" ||
$_GET["ruta"] == "view-tecnicos" ||
$_GET["ruta"] == "tecnicos" ||
$_GET["ruta"] == "ventas" ||
$_GET["ruta"] == "caja-chica" ||
$_GET["ruta"] == "perfil" ||
$_GET["ruta"] == "crear-venta" ||
$_GET["ruta"] == "reporte-tarea" ||
$_GET["ruta"] == "periodo-caja" ||
$_GET["ruta"] == "logout"
) {
include "modulos/" . $_GET["ruta"] . ".php";
} else {
include "modulos/componentes/404.php";
}
} else {
include "modulos/inicio.php";
}
} else {
include "modulos/login.php";
}
?>