X-Git-Url: https://git.llucax.com/mecon/intranet.git/blobdiff_plain/672f56ec57969a800379c4179bde98b1765826c0..c3070ea4067c0b7b9af7b871cd9fd918bed81fab:/sistema/www/servicios/bandas/index.php?ds=inline diff --git a/sistema/www/servicios/bandas/index.php b/sistema/www/servicios/bandas/index.php index 6f59273..38f1b90 100644 --- a/sistema/www/servicios/bandas/index.php +++ b/sistema/www/servicios/bandas/index.php @@ -34,6 +34,13 @@ require_once 'MECON/HTML/Image.php'; require_once 'DB.php'; //}}} +//CHEQUEO QUE EL USUARIO YA ESTÉ LOGUEADO {{{ +if(!isset($_SESSION['documento'])) +{ + header('Location: ../../servicios.php'); +} +//}}} + //CREO LA CONEXION A LA BASE DE DATOS {{{ $DB = DB::connect("mysql://intranet:intranet@bal747f/bandas",true); if (DB::isError($DB)) { @@ -44,7 +51,7 @@ if (DB::isError($DB)) { //CREO LOS OBJETOS NECESARIOS {{{ $TABLAFORM = new MECON_HTML_Tabla ('width="500"', 'medio'); $MARCO = new HTML_DietMarco('servicios','Bandas Horarias'); -$FORM = new MECON_HTML_QuickForm('bandas', 'post', 'banda_agente', '', array ('onSubmit' => "return validar(this)", 'action' => '')); +$FORM = new MECON_HTML_QuickForm('bandas', 'post', 'banda_agente', '', array ('action' => '')); $FORM->renderer->setTable($TABLAFORM); $TABLA = new HTML_Table('width="760" border="0" cellspacing="0" cellpadding="0" bgcolor="#FFFFFF"'); $IMG = new MECON_HTML_Image('../../images/servicios_flecha_naranja.gif');