$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'));
+ $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();
?>