X-Git-Url: https://git.llucax.com/mecon/intranet.git/blobdiff_plain/54970ec49e9cc800d7d431b4ba5158bae780f629..051a61896eceaa43618c6c61c85502a74d7910b4:/sistema/local_lib/HTML_Copete.php?ds=sidebyside
diff --git a/sistema/local_lib/HTML_Copete.php b/sistema/local_lib/HTML_Copete.php
index d11cca2..80becd7 100644
--- a/sistema/local_lib/HTML_Copete.php
+++ b/sistema/local_lib/HTML_Copete.php
@@ -49,17 +49,29 @@ class HTML_Copete extends HTML_Table {
*/
function HTML_Copete($seccion) // ~X2C
{
- echo '';
- echo '';
+ $mapa = '';
parent::HTML_Table(array('width' => '760',
@@ -69,27 +81,54 @@ 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(''), array('colspan' => '4'));
+ $this->addRow(array(''.$mapa), array('colspan' => '4'));
$fila = array();
- $fila[] = '';
- $fila[] = '';
+ $fila[] = '';
+ $fila[] = '';
switch($seccion)
{
- case 'noticias': $fila[] = 'Enlaces útiles: Ministerio
- de Economía y Producción - Boletín
- Oficial - INFOLEG
- - CDI';
+ case 'noticias': $fila[] = 'Enlaces útiles:
+
+ Ministerio de Economía y Producción
+
+ -
+
+ Boletín Oficial
+
+ -
+
+ INFOLEG
+
+ -
+
+ CDI
+ ';
break;
- case 'servicios': $fila[] = 'Servicios';
+ case 'servicios': $fila[] = 'Servicios';
break;
- case 'sistemas': $fila[] = 'Sistemas';
+ case 'sistemas': $fila[] = 'Sistemas';
break;
}
- $fila[] = '';
- $this->addRow($fila, array('class' => 'titulo_vinculos'));
+ $fila[] = '';
+ $this->addRow($fila, array('class' => 'copete_titulo_vinculos'));
+ {
+ for($n = 0; $n < 4; $n++)
+ $this->updateCellAttributes(1, $n, array('width'=>$anchos[$n]));
+ }
+ }
+ // -X2C
+
+ // +X2C Operation 169
+ /**
+ * @return void
+ * @access public
+ */
+ function getCSS() // ~X2C
+ {
+ return PATH_RAIZ."css/copete.css";
}
// -X2C