2 // vim: set expandtab tabstop=4 softtabstop=4 shiftwidth=4 foldmethod=marker:
3 // +----------------------------------------------------------------------+
5 // +----------------------------------------------------------------------+
6 // | Copyright (c) 1997-2003 The PHP Group |
7 // +----------------------------------------------------------------------+
8 // | This source file is subject to version 2.02 of the PHP license, |
9 // | that is bundled with this package in the file LICENSE, and is |
10 // | available at through the world-wide-web at |
11 // | http://www.php.net/license/2_02.txt. |
12 // | If you did not receive a copy of the PHP license and are unable to |
13 // | obtain it through the world-wide-web, please send a note to |
14 // | license@php.net so we can mail you a copy immediately. |
15 // +----------------------------------------------------------------------+
16 // | Created: thu apr 15 15:22:58 ART 2003
17 // | Author: Martin Marrese <mmarre@mecon.gov.ar>
18 // +----------------------------------------------------------------------+
23 //VERIFICO SI SE TIENE ACCESO A LA PAGINA{{{
24 $SAMURAI_PERM->chequear(SAMURAI_BAJA_USUARIO, SAMURAI_MODI_USUARIO, SAMURAI_ALTA_USUARIO,
25 SAMURAI_ALTA_PERFIL,SAMURAI_BAJA_PERFIL,SAMURAI_MODI_PERFIL,SAMURAI_TIPO_PERFIL,
28 //VERIFICO SI SE PASO ALGUNA ACCION {{{
29 if (isset($_GET['accion'])) {
30 switch ($_GET['accion']) {
31 case 'usuarios': header('Location:usuarios/usuarios');
33 case 'perfiles': header('Location:perfiles/perfiles');
38 require_once 'MECON/HTML/Image.php';
39 $MARCO->addBody(new MECON_HTML_Image('images/inicio.jpg'));
40 $MARCO->setEspacios(false);