X-Git-Url: https://git.llucax.com/mecon/samurai.git/blobdiff_plain/14b7965388416e66c0d012ac6f001f9c877b5ce8..0b3baffebc472d0116c7259abb3d64abf64674ae:/sistema/www/index.php?ds=sidebyside diff --git a/sistema/www/index.php b/sistema/www/index.php index 2f2a4df..f078c72 100644 --- a/sistema/www/index.php +++ b/sistema/www/index.php @@ -18,12 +18,16 @@ // +----------------------------------------------------------------------+ // // $Id$ -// $Author$ -// $URL$ -// $Date$ -// $Rev$ // + require_once 'HTML/Image.php'; + + //VEO SI HAY QUE ELEGIR EN QUE SISTEMA TRABAJAR {{{ + if (!@$_SESSION['samurai']['id_sistema'] || !@$_SESSION['samurai']['login']) { + header('Location: sel-sistema'); + } + /// }}} $MARCO = new Marco ('../conf/confSecciones.php'); - $MARCO->addBody(''); + $MARCO->addBody(new HTML_Image('images/inicio.jpg')); + $MARCO->setEspacios(false); $MARCO->display(); ?>