X-Git-Url: https://git.llucax.com/mecon/intranet.git/blobdiff_plain/0030a5e4c8ffc960a1ab7413eb1cc1ef111bf366..8020a4a88472604794f62e0084a43705cb25aacc:/sistema/www/servicios.php diff --git a/sistema/www/servicios.php b/sistema/www/servicios.php index e1ba91d..64d260b 100644 --- a/sistema/www/servicios.php +++ b/sistema/www/servicios.php @@ -1,20 +1,32 @@ - toHTML(); - + require_once '../local_lib/HTML_DietMarco.php'; require_once '../local_lib/intranetdb.php'; require_once 'MECON/HTML/Arbol/ArbolDB.php'; - $db = IntranetDB::connect(); - $dbdata = array( - 'db' => $db, - 'tabla' => 'servicio', - 'id' => 'servicio', - 'nombre' => 'nombre', - 'id_padre' => 'servicio_padre', - 'link' => 'link'); - $arbol = new HTML_ArbolDB($dbdata, '/MECON/images/arbol_noticias.gif'); - echo $arbol->toHTML(); + $m = new HTML_DietMarco('servicios'); + $m->addTitle('Servicios'); + + $seccion = new HTML_Table(array ('width'=>'300', + 'border' => '0', + 'cellspacing' => '0', + 'cellpadding' => '0', + 'bgcolor' => '#003868')); +/* $this->t_interna = new HTML_Table(array ('width'=>'132', + 'border' => '0', + 'cellspacing' => '2', + 'cellpadding' => '0', + 'class' => 'bodytext'));*/ + $titulo = new HTML_Table(array('width'=>'132', + 'height'=>'26', + 'border' => '0', + 'cellspacing' => '0', + 'cellpadding' => '0', + 'align'=>'center', + 'background'=>'images/seccion_cabecera.gif')); + $titulo->addRow(array("hola"), array('align'=>'center', + 'class'=>'arboltitulo')); + $seccion->addRow(array($titulo), array('bgcolor' => '#FFFFFF')); + + + $m->addBodyContent($seccion); + $m->display(); ?> -