]> git.llucax.com Git - mecon/samurai.git/blob - sistema/www/index.php
285f3f1066006359621a17897060449407ec4eaf
[mecon/samurai.git] / sistema / www / index.php
1 <?php
2 // vim: set expandtab tabstop=4 softtabstop=4 shiftwidth=4:
3 // +----------------------------------------------------------------------+
4 // | PHP Version 4                                                        |
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 // +----------------------------------------------------------------------+
19 //
20 // $Id$
21 // 
22     require_once 'HTML/Image.php';
23
24     //VEO SI HAY QUE ELEGIR EN QUE SISTEMA TRABAJAR {{{
25     if (!@$_SESSION['samurai']['id_sistema'] || !@$_SESSION['samurai']['login']) {
26         header('Location: sel-sistema');    
27     }
28     // }}}   
29
30     $MARCO = new Marco ('../conf/confSecciones.php');
31     $MARCO->addBody(new HTML_Image('images/inicio.jpg'));
32     $MARCO->setEspacios(false);
33     $MARCO->display();
34 ?>