X-Git-Url: https://git.llucax.com/mecon/samurai.git/blobdiff_plain/14b7965388416e66c0d012ac6f001f9c877b5ce8..22d1ae1aa6bfee6df20dfa9544e14feaecc9fbf4:/sistema/www/index.php?ds=inline 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(); ?>