X-Git-Url: https://git.llucax.com/mecon/intranet.git/blobdiff_plain/1713650def781c16aadfd73bd9d085a1f50138c3..aa4c4c45d35dfb51f40f9f04b68de2047f57f634:/sistema/www/servicios.php diff --git a/sistema/www/servicios.php b/sistema/www/servicios.php index bd80c91..55bd5fa 100644 --- a/sistema/www/servicios.php +++ b/sistema/www/servicios.php @@ -5,16 +5,35 @@ $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' => '#003868')); + $seccion->addRow(array("Nombre(sin estilo)"), array('align' => 'center', + 'class' => 'arboltitulo', + 'background'=>'images/servicio_cabecera.gif', + 'height'=>32)); + $tmp =& new HTML_Table(array ('width' =>'100%', + 'border' => '0', + 'cellspacing' => '2', + 'cellpadding' => '0', + 'class' => 'bodytext')); + $interna =& new HTML_Table(array ('width' =>'100%')); + $img = new HTML_Image('images/servicio_bullet.gif'); + $interna->addRow(array($img, 'Nombre(sin estilo) ffffff',$img,'nombre'), + array('valign' => 'top')); + $interna->addRow(array($img, 'Nombre(sin estilo)',$img,'nombre'), + array('valign' => 'top')); + $interna->addRow(array($img, 'Nombre(sin estilo)',$img,'nombre'), + array('valign' => 'top')); + $interna->updateColAttributes(0, array('width' => '10%')); + $interna->updateColAttributes(1, array('width' => '40%')); + $interna->updateColAttributes(2, array('width' => '10%')); + $interna->updateColAttributes(3, array('width' => '40%')); + $tmp->addRow(array($interna), array('bgcolor' => '#FFFFFF')); + $seccion->addRow(array($tmp), array('bgcolor' => '#003868')); + + $m->addBodyContent($seccion); $m->display(); ?>