4 require_once 'HTML/Table.php';
\r
7 class Copete extends HTML_Table
\r
11 echo '<link rel="stylesheet" href="css/copete.css">';
\r
12 echo '<map name="intranet">
\r
13 <area shape="rect" coords="14,0,209,54" href="#" alt="Intranet" title="Intranet" >
\r
14 <area shape="rect" coords="605,17,629,41" href="#" alt="Mapa de Intranet" title="Mapa de Intranet" >
\r
15 <area shape="rect" coords="645,17,669,41" href="#" alt="Cambio de Clave" title="Cambio de Clave" >
\r
16 <area shape="rect" coords="685,17,709,41" href="#" alt="Ayuda" title="Ayuda" >
\r
17 <area shape="rect" coords="726,17,750,41" href="#" alt="E-mail" title="E-mail" >
\r
18 <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" >
\r
19 <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" >
\r
20 <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" >
\r
24 parent::HTML_Table(array('width' => '760',
\r
26 'cellspacing' => '0',
\r
27 'cellpadding' => '0'));
\r
28 $anchos = array('12', '25', '712', '11');
\r
30 foreach($anchos as $a)
\r
31 $fila[] = '<img src="images/blanco.gif" width="'.$a.'" height="1">';
\r
32 $this->addRow($fila);
\r
33 $seccion = 'images/copete_'.$s.'.jpg';
\r
34 $this->addRow(array('<img src="'.$seccion.'" width="760" height="66" border="0" usemap="#intranet">'), array('colspan' => '4'));
\r
36 $fila[] = '<img src="images/copete_inicio.gif" height="30" border="0">';
\r
37 $fila[] = '<img src="images/copete_flecha_azul.gif" height="30" border="0">';
\r
40 case 'noticias': $fila[] = 'Enlaces útiles: <a href="http://www.mecon.gov.ar/" target="_blank"><span class="TextBlue">Ministerio
\r
41 de EconomÃa y Producción</span></a><span class="TextBlue"> - <a href="http://boletinoficial.mecon.ar/" target="_blank">Boletín
\r
42 Oficial</a> - <a href="http://infoleg.mecon.gov.ar/" target="_blank">INFOLEG</a>
\r
43 - <a href="http://cdi.mecon.gov.ar/" target="_blank">CDI</a></span>';
\r
45 case 'servicios': $fila[] = '<span class="titulo_uno">Servicios</span>';
\r
47 case 'sistemas': $fila[] = '<span class="titulo_uno">Sistemas</span>';
\r
50 $fila[] = '<img src="images/copete_fin.gif" height="30" border="0">';
\r
51 $this->addRow($fila, array('class' => 'titulo_vinculos'));
\r