|
// +--------------------------------------------------------------------+
//
// $Id: xmi2code.tpl.php 1 2003-06-23 18:29:20Z gmeray $
//
// +X2C includes
require_once 'HTML/Table.php';
// ~X2C
// +X2C Class 162 :HTML_Copete
/**
* @access public
*/
class HTML_Copete extends HTML_Table {
// ~X2C
// +X2C Operation 163
/**
* @param int $seccion
*
* @return void
* @access public
*/
function HTML_Copete($seccion) // ~X2C
{
$mapa = '';
parent::HTML_Table(array('width' => '760',
'border' => '0',
'cellspacing' => '0',
'cellpadding' => '0'));
$anchos = array('12', '25', '712', '11');
$fila = array();
foreach($anchos as $a)
$fila[] = '';
$this->addRow($fila);
$img_seccion = 'images/copete_'.$seccion.'.jpg';
$this->addRow(array(''.$mapa), array('colspan' => '4'));
$fila = array();
$fila[] = '';
$fila[] = '';
switch($seccion)
{
case 'noticias': $fila[] = 'Enlaces útiles:
Ministerio de Economía y Producción
-
Boletín Oficial
-
INFOLEG
-
CDI
';
break;
case 'servicios': $fila[] = 'Servicios';
break;
case 'sistemas': $fila[] = 'Sistemas';
break;
}
$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
} // -X2C Class :HTML_Copete
?>