$fila[] = '<img src="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="TextBlue">
+ Ministerio de Economía y Producción
+ </a>
+ -
+ <a href="http://boletinoficial.mecon.ar/" target="_blank" class="TextBlue">
+ Boletín Oficial
+ </a>
+ -
+ <a href="http://infoleg.mecon.gov.ar/" target="_blank" class="TextBlue">
+ INFOLEG
+ </a>
+ -
+ <a href="http://cdi.mecon.gov.ar/" target="_blank" class="TextBlue">
+ CDI
+ </a>';
break;
case 'servicios': $fila[] = '<span class="titulo_uno">Servicios</span>';
break;
$params = array('width' => '280',
'border' =>'0',
'cellPadding'=>'0');
+ echo '<link rel="stylesheet" href="css/noticias.css">';
parent::HTML_Table($params);
}
// -X2C
-BODY {\r
- FONT-FAMILY: Arial, Helvetica, sans-serif; FONT-SIZE: 10pt; TEXT-ALIGN: left\r
-; font-style: normal; line-height: 10pt; font-weight: normal\r
-}\r
-UL {\r
- FONT-FAMILY: Arial, Helvetica, sans-serif; FONT-SIZE: 10pt; font-style: normal; line-height: normal; font-weight: normal\r
-}\r
-P {\r
- FONT-FAMILY: Arial, Helvetica, sans-serif; FONT-SIZE: 10pt\r
-; font-style: normal; line-height: normal; font-weight: normal\r
-}\r
-.PagNegro {\r
- COLOR: #000000; FONT-FAMILY: Verdana, Tahoma; FONT-SIZE: 8pt; TEXT-DECORATION: none\r
-}\r
-.PagRojo {\r
- COLOR: #006699; FONT-FAMILY: Verdana, Tahoma; FONT-SIZE: 8pt; TEXT-DECORATION: none\r
-}\r
-.TextBlue {\r
- COLOR: #003366; FONT-FAMILY: Arial, Helvetica, sans-serif; FONT-SIZE: 10pt; font-style: normal; line-height: normal; font-weight: normal\r
-}\r
+.TextBlue { COLOR: #003366; FONT-FAMILY: Arial, Helvetica, sans-serif; FONT-SIZE: 10pt; font-style: normal; line-height: normal; font-weight: normal }\r
.titulo_vinculos { COLOR: #003366; FONT-FAMILY: Arial, Helvetica, sans-serif; FONT-SIZE: 10pt; FONT-WEIGHT: bold ; font-style: normal; line-height: normal; background-position: left centre; text-align: left }\r
-.menu { COLOR: #003366; FONT-FAMILY: Arial, Helvetica, sans-serif; FONT-SIZE: 10pt; font-style: normal; line-height: normal; background-color: #FFFFFF; background-position: left; text-align: left; vertical-align: middle }\r
-.menu_activo { COLOR: #003366; FONT-FAMILY: Arial, Helvetica, sans-serif; FONT-SIZE: 10pt; font-style: normal; line-height: normal; background-color: #FFCC99; background-position: left centre; text-align: left; vertical-align: middle }\r
.titulo_uno { COLOR: #003366; FONT-FAMILY: Arial, Helvetica, sans-serif; FONT-SIZE: 12pt; font-style: normal; line-height: normal; background-position: left centre; text-align: left; vertical-align: middle ; font-weight: bold }\r
-.subtitulo { COLOR: #003366; FONT-FAMILY: Arial, Helvetica, sans-serif; FONT-SIZE: 10pt; font-style: normal; line-height: normal; background-position: left centre; text-align: left; vertical-align: middle ; font-weight: bold}\r
-BODY {\r
- FONT-FAMILY: Arial, Helvetica, sans-serif; FONT-SIZE: 10pt; TEXT-ALIGN: left\r
-; font-style: normal; line-height: 10pt; font-weight: normal\r
-}\r
-UL {\r
- FONT-FAMILY: Arial, Helvetica, sans-serif; FONT-SIZE: 10pt; font-style: normal; line-height: normal; font-weight: normal\r
-}\r
-P {\r
- FONT-FAMILY: Arial, Helvetica, sans-serif; FONT-SIZE: 10pt\r
-; font-style: normal; line-height: normal; font-weight: normal\r
-}\r
-.PagNegro {\r
- COLOR: #000000; FONT-FAMILY: Verdana, Tahoma; FONT-SIZE: 8pt; TEXT-DECORATION: none\r
-}\r
-.PagRojo {\r
- COLOR: #006699; FONT-FAMILY: Verdana, Tahoma; FONT-SIZE: 8pt; TEXT-DECORATION: none\r
-}\r
-.TextBlue {\r
- COLOR: #003366; FONT-FAMILY: Arial, Helvetica, sans-serif; FONT-SIZE: 10pt; font-style: normal; line-height: normal; font-weight: normal\r
-}\r
.titulo_vinculos { COLOR: #003366; FONT-FAMILY: Arial, Helvetica, sans-serif; FONT-SIZE: 10pt; FONT-WEIGHT: bold ; font-style: normal; line-height: normal; background-position: left centre; text-align: left }\r
-.menu { COLOR: #003366; FONT-FAMILY: Arial, Helvetica, sans-serif; FONT-SIZE: 10pt; font-style: normal; line-height: normal; background-color: #FFFFFF; background-position: left; text-align: left; vertical-align: middle }\r
-.menu_activo { COLOR: #003366; FONT-FAMILY: Arial, Helvetica, sans-serif; FONT-SIZE: 10pt; font-style: normal; line-height: normal; background-color: #FFCC99; background-position: left centre; text-align: left; vertical-align: middle }\r
.titulo_uno { COLOR: #003366; FONT-FAMILY: Arial, Helvetica, sans-serif; FONT-SIZE: 12pt; font-style: normal; line-height: normal; background-position: left centre; text-align: left; vertical-align: middle ; font-weight: bold }\r
.subtitulo { COLOR: #003366; FONT-FAMILY: Arial, Helvetica, sans-serif; FONT-SIZE: 10pt; font-style: normal; line-height: normal; background-position: left centre; text-align: left; vertical-align: middle ; font-weight: bold}\r
.titulo_noticia { COLOR: #000000; FONT-FAMILY: Arial, Helvetica, sans-serif; FONT-SIZE: 10pt; font-style: normal; line-height: normal; background-position: left centre; text-align: left; vertical-align: top; font-weight: normal}\r
.fecha_noticia { COLOR: #000000; FONT-FAMILY: Arial, Helvetica, sans-serif; FONT-SIZE: 8pt; font-style: normal; line-height: normal; background-position: left bottom; text-align: left; vertical-align: bottom; font-weight: normal}\r
.ver_mas { COLOR: #000000; FONT-FAMILY: Arial, Helvetica, sans-serif; FONT-SIZE: 8pt; font-style: normal; line-height: normal; background-position: right bottom; text-align: right; vertical-align: middle ; font-weight: normal }\r
.textoazul { COLOR: #003366; FONT-FAMILY: Arial, Helvetica, sans-serif; FONT-SIZE: 10pt; font-style: normal; line-height: normal; font-weight: normal }\r
-.menu1 { COLOR: #003366; FONT-FAMILY: Arial, Helvetica, sans-serif; FONT-SIZE: 9pt; font-style: normal; line-height: normal; background-color: #FFFFFF; background-position: left centre; text-align: left; vertical-align: middle ; margin-left: 10px; clip: rect( )}\r
-.menu_activo1 { COLOR: #003366; FONT-FAMILY: Arial, Helvetica, sans-serif; FONT-SIZE: 9pt; font-style: normal; line-height: normal; background-color: #FFCC99; background-position: left centre; text-align: left; vertical-align: middle }\r
-.menu_activo2 { COLOR: #003366; FONT-FAMILY: Arial, Helvetica, sans-serif; FONT-SIZE: 8pt; font-style: normal; line-height: normal; background-color: #FFCC99; background-position: left centre; text-align: left; vertical-align: middle }\r
-.menu2 { COLOR: #003366; FONT-FAMILY: Arial, Helvetica, sans-serif; FONT-SIZE: 8pt; font-style: normal; line-height: normal; background-color: #FFFFFF; background-position: left centre; text-align: left; vertical-align: middle ; clip: rect( 15px)}\r
-.titulo_form { COLOR: #003366; FONT-FAMILY: Arial, Helvetica, sans-serif; FONT-SIZE: 11pt; font-style: normal; line-height: normal; background-position: centre centre; text-align: centre; vertical-align: middle ; font-weight: normal}\r
-.textorojo { COLOR: #FF6600; FONT-FAMILY: Arial, Helvetica, sans-serif; FONT-SIZE: 10pt; font-style: normal; line-height: normal; font-weight: bold}\r
-<body bgcolor="#FFFFFF" class="subtitulo" link="#003366" vlink="#660066" alink="#0066FF" topmargin="0">
<?
- require_once '../local_lib/copete.php';
- $c = new Copete('servicios');
- echo $c->toHTML();
-
+ require_once '../local_lib/HTML_DietMarco.php';
require_once '../local_lib/intranetdb.php';
require_once 'MECON/HTML/Arbol/ArbolDB.php';
+ $m = new HTML_DietMarco('servicios');
+ $m->addTitle('Servicios');
+
$db = IntranetDB::connect();
$dbdata = array(
'db' => $db,
'id_padre' => 'servicio_padre',
'link' => 'link');
$arbol = new HTML_ArbolDB($dbdata, '/MECON/images/arbol_noticias.gif');
- echo $arbol->toHTML();
+
+ $m->addBodyContent($arbol);
+ $m->display();
?>
-</body>
-<body bgcolor="#FFFFFF" class="subtitulo" link="#003366" vlink="#660066" alink="#0066FF" topmargin="0">
<?
- require_once '../local_lib/copete.php';
- $c = new Copete('sistemas');
- echo $c->toHTML();
-
+ require_once '../local_lib/HTML_DietMarco.php';
require_once '../local_lib/intranetdb.php';
require_once 'MECON/HTML/Arbol/ArbolDB.php';
+ $m = new HTML_DietMarco('sistemas');
+ $m->addTitle('Sistemas');
+
$db = IntranetDB::connect();
$dbdata = array(
'db' => $db,
'nombre' => 'sistema',
'link' => 'link');
$arbol = new HTML_ArbolDB($dbdata, '/MECON/images/arbol_noticias.gif');
- echo $arbol->toHTML();
+
+ $m->addBodyContent($arbol);
+ $m->display();
?>
-</body>
-<link rel="stylesheet" href="css/noticias.css">
-<body bgcolor="#FFFFFF" class="subtitulo" link="#003366" vlink="#660066" alink="#0066FF" topmargin="0">
<?
- require_once '../local_lib/copete.php';
- $c = new Copete('noticias');
- $c->display();
- $noticias = new HTML_Table(array('width' => '760', 'border' => '0'));
+ require_once '../local_lib/HTML_DietMarco.php';
require_once '../local_lib/intranetdb.php';
require_once 'MECON/HTML/Arbol/ArbolDB.php';
+ require_once '../../lib/noticia.php';
+ require_once '../local_lib/HTML_Noticia.php';
+
+ $m = new HTML_DietMarco('noticias');
+ $noticias = new HTML_Table(array('width' => '760', 'border' => '0'));
+
$db = IntranetDB::connect();
$dbdata = array(
'db' => $db,
'prepend_link' => 'noticias.php?grupo=');
$arbol = new HTML_ArbolDB($dbdata, '/MECON/images/arbol_noticias.gif');
- require_once '../../lib/noticia.php';
- require_once '../local_lib/HTML_Noticia.php';
$noticia = new HTML_Noticia(new noticia($_GET['numero']));
$noticia->setVolver('noticias.php');
$noticia->setCompleta(true);
$noticias->addRow(array($arbol,$noticia));
$noticias->updateCellAttributes(0, 0, array('valign'=>'top'));
$noticias->updateCellAttributes(0, 1, array('valign'=>'top'));
- $noticias->display();
+ $m->addBodyContent($noticias);
+ $m->display();
?>
</body>