*/
function HTML_Copete($seccion) // ~X2C
{
- echo '<link rel="stylesheet" href="css/copete.css">';
- echo '<map name="intranet">
+ $mapa = '<map name="intranet">
<area shape="rect" coords="14,0,209,54" href="#" alt="Intranet" title="Intranet" >
<area shape="rect" coords="605,17,629,41" href="#" alt="Mapa de Intranet" title="Mapa de Intranet" >
<area shape="rect" coords="645,17,669,41" href="#" alt="Cambio de Clave" title="Cambio de Clave" >
$anchos = array('12', '25', '712', '11');
$fila = array();
foreach($anchos as $a)
- $fila[] = '<img src="images/blanco.gif" width="'.$a.'" height="1">';
+ $fila[] = '<img src="'.PATH_RAIZ.'"images/blanco.gif" width="'.$a.'" height="1">';
$this->addRow($fila);
$img_seccion = 'images/copete_'.$seccion.'.jpg';
- $this->addRow(array('<img src="'.$img_seccion.'" width="760" height="66" border="0" usemap="#intranet">'), array('colspan' => '4'));
+ $this->addRow(array('<img src="'.PATH_RAIZ.$img_seccion.'" width="760" height="66" border="0" usemap="#intranet">'.$mapa), array('colspan' => '4'));
$fila = array();
- $fila[] = '<img src="images/copete_inicio.gif" height="30" border="0">';
- $fila[] = '<img src="images/copete_flecha_azul.gif" height="30" border="0">';
+ $fila[] = '<img src="'.PATH_RAIZ.'images/copete_inicio.gif" height="30" border="0">';
+ $fila[] = '<img src="'.PATH_RAIZ.'images/copete_flecha_azul.gif" height="30" border="0">';
switch($seccion)
{
case 'noticias': $fila[] = 'Enlaces útiles:
case 'sistemas': $fila[] = '<span class="copete_titulo_uno">Sistemas</span>';
break;
}
- $fila[] = '<img src="images/copete_fin.gif" height="30" border="0">';
+ $fila[] = '<img src="'.PATH_RAIZ.'images/copete_fin.gif" height="30" border="0">';
$this->addRow($fila, array('class' => 'copete_titulo_vinculos'));
}
// -X2C
+ // +X2C Operation 169
+ /**
+ * @return void
+ * @access public
+ */
+ function getCSS() // ~X2C
+ {
+ return "css/copete.css";
+ }
+ // -X2C
+
} // -X2C Class :HTML_Copete
?>