-
- $row = array ($body['copete']);
- $this->_tabla->addRow($row,'align="center" bgcolor="#FFFFFF" colspan="'.$colspan.'"');
-
- //Agrego las secciones
- $this->_tabla->addRow($this->_componentes,'align="center" bgcolor="#CCCCCC"');
- $colcount = $this->_tabla->getColCount();
- $width = 100 / $colcount;
-
- for ($col=0; $col < $colcount; $col++) {
- $this->_tabla->updateColAttributes($col,'width="'.$width.'%"');
- }
+ //Agrego el copete
+ $copete =& new MECON_Marco_Copete
+ (@$this->_configuracion['directorios']['imagenes'],
+ @$this->_configuracion['ayuda'],
+ @$this->_configuracion['titulo_sistema']
+ );
+ $tmp = $this->_tabla->addRow(array($copete->toHtml()),
+ 'align="center" bgcolor="#FFFFFF"');
+ $this->_tabla->updateCellAttributes($tmp, 0,
+ 'colspan="'. $colspan .'"');
+ //Agrego las secciones
+ $tmp = $this->_tabla->addRow($this->_componentes,
+ 'align="center" bgcolor="#CCCCCC"');
+ $width = intval (100 / $colspan);
+ for ($col=0; $col < $colspan; $col++) {
+ $this->_tabla->updateCellAttributes($tmp, $col,
+ 'width="'.$width.'%"');
+ }
+ //Agrego la linea de separacion
+ $tmp = $this->_tabla->addRow(array(new MECON_HTML_Image(
+ '/MECON/images/general_linea.gif', str_repeat('=', 108)
+ )),'align="center" height="1"');
+ $this->_tabla->updateCellAttributes($tmp, 0, 'colspan="'.$colspan.'"');