| // +--------------------------------------------------------------------+ // // $Id: xmi2code.tpl.php 1 2003-06-23 18:29:20Z gmeray $ // require_once 'HTML/Image.php'; // +X2C includes require_once 'HTML/Table.php'; // ~X2C // +X2C Class 165 :HTML_Servicio /** * @access public */ class HTML_Servicio extends HTML_Table { // ~X2C // +X2C Operation 166 /** * @param int $seccion * * @return void * @access public */ function HTML_Servicio($seccion) // ~X2C { parent::HTML_Table(array('width' =>'360', 'border' => '0', 'cellspacing' => '0', 'cellpadding' => '0', 'bgcolor' => '#FFFFFF')); } // -X2C // +X2C Operation 167 /** * @return void * @access public */ function toHTML() // ~X2C { $this->addRow(array("Nombre(sin estilo)"), array('align' => 'center', 'class' => 'arboltitulo', 'background'=>'images/servicio_cabecera.gif', 'height'=>30)); $img = new HTML_Image('images/servicio_bullet.gif'); $int =& new HTML_Table(array('width' =>'360', 'border' => '0', 'cellspacing' => '0', 'cellpadding' => '0', 'bgcolor' => '#FFFFFF')); $int->addRow(array($img, 'Nombre(sin estilo)',$img,'nombre'), array('valign' => 'top')); $int->updateColAttributes(0, array('width' => '10%', 'background' => 'images/servicio_borde_sup_izq.gif')); $int->updateColAttributes(1, array('width' => '40%', 'background' => 'images/servicio_borde_sup_cen.gif')); $int->updateColAttributes(2, array('width' => '10%', 'background' => 'images/servicio_borde_sup_cen.gif')); $int->updateColAttributes(3, array('width' => '40%', 'background' => 'images/servicio_borde_sup_der.gif')); $this->addRow(array($int)); $this->addRow(array($int)); $this->addRow(array($int)); $this->addRow(array(new HTML_Image('images/servicio_borde_inf.gif'))); return parent::toHTML(); } // -X2C } // -X2C Class :HTML_Servicio ?>