X-Git-Url: https://git.llucax.com/mecon/samurai.git/blobdiff_plain/94983fa84d06dc5e6f99f6b570245bcf08b96a75..b49bcec7b53d0fef70585697308ba2473cd961e9:/sistema/www/index.php diff --git a/sistema/www/index.php b/sistema/www/index.php index 285f3f1..6518856 100644 --- a/sistema/www/index.php +++ b/sistema/www/index.php @@ -1,5 +1,5 @@ chequear(SAMURAI_BAJA_USUARIO, SAMURAI_MODI_USUARIO, SAMURAI_ALTA_USUARIO, + SAMURAI_ALTA_PERFIL,SAMURAI_BAJA_PERFIL,SAMURAI_MODI_PERFIL,SAMURAI_TIPO_PERFIL, + SAMURAI_DEVELOPER); +//}}} +//VERIFICO SI SE PASO ALGUNA ACCION {{{ + if (isset($_GET['accion'])) { + switch ($_GET['accion']) { + case 'usuarios': header('Location:usuarios/usuarios'); + break; + case 'perfiles': header('Location:perfiles/perfiles'); + break; + } } - // }}} - - $MARCO = new Marco ('../conf/confSecciones.php'); - $MARCO->addBody(new HTML_Image('images/inicio.jpg')); +//}}} + require_once 'MECON/HTML/Image.php'; + $MARCO->addBody(new MECON_HTML_Image('images/inicio.jpg')); $MARCO->setEspacios(false); $MARCO->display(); ?>