X-Git-Url: https://git.llucax.com/mecon/intranet.git/blobdiff_plain/b4816bec493913a55f23735def66c60b1a74e4eb..051a61896eceaa43618c6c61c85502a74d7910b4:/sistema/local_lib/HTML_Copete.php?ds=inline
diff --git a/sistema/local_lib/HTML_Copete.php b/sistema/local_lib/HTML_Copete.php
index f51bea1..80becd7 100644
--- a/sistema/local_lib/HTML_Copete.php
+++ b/sistema/local_lib/HTML_Copete.php
@@ -49,16 +49,29 @@ class HTML_Copete extends HTML_Table {
*/
function HTML_Copete($seccion) // ~X2C
{
- $mapa = '';
+ $mapa = '';
parent::HTML_Table(array('width' => '760',
@@ -68,7 +81,7 @@ parent::HTML_Table(array('width' => '760',
$anchos = array('12', '25', '712', '11');
$fila = array();
foreach($anchos as $a)
- $fila[] = '';
+ $fila[] = '';
$this->addRow($fila);
$img_seccion = 'images/copete_'.$seccion.'.jpg';
$this->addRow(array(''.$mapa), array('colspan' => '4'));
@@ -100,14 +113,11 @@ parent::HTML_Table(array('width' => '760',
break;
}
$fila[] = '';
- $this->addRow($fila, array('class' => 'copete_titulo_vinculos'));
- $this->updateCellAttributes(2,0,array('width'=>'12'));
- $this->updateCellAttributes(2,1,array('width'=>'25'));
- if($seccion=='noticias')
+ $this->addRow($fila, array('class' => 'copete_titulo_vinculos'));
{
- $this->updateCellAttributes(2,2,array('width'=>'712'));
+ for($n = 0; $n < 4; $n++)
+ $this->updateCellAttributes(1, $n, array('width'=>$anchos[$n]));
}
- $this->updateCellAttributes(2,3,array('width'=>'11'));
}
// -X2C