*/
function HTML_Copete($seccion) // ~X2C
{
- echo '<link rel="stylesheet" href="css/copete.css">';
- echo '<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" >
- <area shape="rect" coords="685,17,709,41" href="#" alt="Ayuda" title="Ayuda" >
- <area shape="rect" coords="726,17,750,41" href="#" alt="E-mail" title="E-mail" >
- <area shape="poly" coords="473,19,473,43,475,45,561,45,563,43,563,19,561,17,475,17,473,19,473,19" href="sistemas.php" alt="Sistemas" title="Sistemas" >
- <area shape="poly" coords="366,19,366,43,368,45,454,45,456,43,456,19,454,17,368,17,366,19,366,19" href="servicios.php" alt="Servicios" title="Servicios" >
- <area shape="poly" coords="258,20,258,44,260,46,346,46,348,44,348,20,346,18,260,18,258,20,258,20" href="noticias.php" alt="Noticias" title="Noticias" >
- </map>';
+ $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"
+ alt="E-mail" title="E-mail"
+ href="mailto:intranet2@mecon.gov.ar"
+ ><area shape="rect" coords="645,17,669,41"
+ href="https://ldapmaster.mecon.ar/bbng/servlet/ServletDispatcher?hans=gui.FormPassUsr"
+ alt="Cambio de Clave" title="Cambio de Clave"
+ ><area shape="rect" coords="685,17,709,41" href="#"
+ alt="Ayuda" title="Ayuda"
+ ><area shape="rect" coords="726,17,750,41" alt="Logout"
+ title="Logout" href="'.PATH_RAIZ.'logout.php"
+ ><area shape="poly" coords="473,19,473,43,475,45,561,45,563,43,563,19,561,17,475,17,473,19,473,19"
+ href="'.PATH_RAIZ.'sistemas.php" alt="Sistemas"
+ title="Sistemas"
+ ><area shape="poly" coords="366,19,366,43,368,45,454,45,456,43,456,19,454,17,368,17,366,19,366,19"
+ href="'.PATH_RAIZ.'servicios.php" alt="Servicios"
+ title="Servicios"
+ ><area shape="poly" coords="258,20,258,44,260,46,346,46,348,44,348,20,346,18,260,18,258,20,258,20"
+ href="'.PATH_RAIZ.'noticias.php"
+ alt="Noticias" title="Noticias"
+ ></map>';
parent::HTML_Table(array('width' => '760',
$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: <a href="http://www.mecon.gov.ar/" target="_blank"><span class="TextBlue">Ministerio
- de Economía y Producción</span></a><span class="TextBlue"> - <a href="http://boletinoficial.mecon.ar/" target="_blank">Boletín
- Oficial</a> - <a href="http://infoleg.mecon.gov.ar/" target="_blank">INFOLEG</a>
- - <a href="http://cdi.mecon.gov.ar/" target="_blank">CDI</a></span>';
+ case 'noticias': $fila[] = 'Enlaces útiles:
+ <a href="http://www.mecon.gov.ar/" target="_blank" class="copete_TextBlue">
+ Ministerio de Economía y Producción
+ </a>
+ -
+ <a href="http://boletinoficial.mecon.ar/" target="_blank" class="copete_TextBlue">
+ Boletín Oficial
+ </a>
+ -
+ <a href="http://infoleg.mecon.gov.ar/" target="_blank" class="copete_TextBlue">
+ INFOLEG
+ </a>
+ -
+ <a href="http://cdi.mecon.gov.ar/" target="_blank" class="copete_TextBlue">
+ CDI
+ </a>';
break;
- case 'servicios': $fila[] = '<span class="titulo_uno">Servicios</span>';
+ case 'servicios': $fila[] = '<span class="copete_titulo_uno">Servicios</span>';
break;
- case 'sistemas': $fila[] = '<span class="titulo_uno">Sistemas</span>';
+ case 'sistemas': $fila[] = '<span class="copete_titulo_uno">Sistemas</span>';
break;
}
- $fila[] = '<img src="images/copete_fin.gif" height="30" border="0">';
- $this->addRow($fila, array('class' => 'titulo_vinculos'));
+ $fila[] = '<img src="'.PATH_RAIZ.'images/copete_fin.gif" height="30" border="0">';
+ $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