<?php session_start(); if (!isset($_SESSION['usua_se'])) { header('Location: /lacalderadeldiablo/vistas/'); } else { require '../../includes/funcionesHTML.php'; $serviciosHTML = new ServiciosHTML(); $resMenu = $serviciosHTML->menu($_SESSION['usua_se'], 'Productos', $_SESSION['rol_se']); $id = $_GET['id']; require '../../includes/funcionesProductos.php'; $serviciosProductos = new ServiciosProductos(); $resTipoProducto = $serviciosProductos->traerTipoProductoPorId($id); ?> <!DOCTYPE HTML> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Gestión de Cancha: La Caldera del Diablo</title> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <link href="../../css/estiloDash.css" rel="stylesheet" type="text/css"> <script type="text/javascript" src="../../js/jquery-1.8.3.min.js"></script> <script src="../../js/jquery-ui.js"></script>