X-Git-Url: https://git.llucax.com/mecon/intranet.git/blobdiff_plain/1713650def781c16aadfd73bd9d085a1f50138c3..2ac30dee43deebe8da8babe95548470b9e822d0c:/sistema/www/servicios.php?ds=sidebyside diff --git a/sistema/www/servicios.php b/sistema/www/servicios.php index bd80c91..85a296b 100644 --- a/sistema/www/servicios.php +++ b/sistema/www/servicios.php @@ -5,16 +5,33 @@ $m = new HTML_DietMarco('servicios'); $m->addTitle('Servicios'); - $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'); - - $m->addBodyContent($arbol); + $seccion =& new HTML_Table(array('width' =>'360', + 'border' => '0', + 'cellspacing' => '0', + 'cellpadding' => '0', + 'bgcolor' => '#FFFFFF')); + $seccion->addRow(array("Nombre(sin estilo)"), array('align' => 'center', + 'class' => 'arboltitulo', + 'background'=>'images/servicio_cabecera.gif', + 'height'=>32)); + $img = new HTML_Image('images/servicio_bullet.gif'); + $int =& new HTML_Table(array('width' =>'360', + 'border' => '0', + 'cellspacing' => '0', + 'cellpadding' => '0', + 'bgcolor' => '#FFFFFF', + 'background' => 'images/servicio_borde_sup.gif')); + $int->addRow(array($img, 'Nombre(sin estilo)',$img,'nombre'), + array('valign' => 'top')); + $int->updateColAttributes(0, array('width' => '10%')); + $int->updateColAttributes(1, array('width' => '40%')); + $int->updateColAttributes(2, array('width' => '10%')); + $int->updateColAttributes(3, array('width' => '40%')); + $seccion->addRow(array($int)); + $seccion->addRow(array($int)); + $seccion->addRow(array($int)); + $seccion->addRow(array(new HTML_Image('images/servicio_borde_inf.gif'))); + + $m->addBodyContent($seccion); $m->display(); ?>