-<body bgcolor="#FFFFFF" class="subtitulo" link="#003366" vlink="#660066" alink="#0066FF" topmargin="0">
<?
- require_once '../local_lib/copete.php';
- $c = new Copete('servicios');
- echo $c->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();
?>
-</body>