From 3b2afa96baebfb799446a404373da59a542b9383 Mon Sep 17 00:00:00 2001 From: Gonzalo Merayo Date: Tue, 8 Jul 2003 17:21:35 +0000 Subject: [PATCH] --- sistema/local_lib/HTML_Noticia.php | 3 +- sistema/www/images/noticia_anterior.gif | Bin 0 -> 83 bytes sistema/www/images/noticia_linea_azul.gif | Bin 0 -> 70 bytes ...ea_puntos.gif => noticia_linea_puntos.gif} | Bin .../www/images/{mas.gif => noticia_mas.gif} | Bin .../images/{nuevo.gif => noticia_nuevo.gif} | Bin sistema/www/una_noticia.php | 28 ++++++++++++++++++ 7 files changed, 30 insertions(+), 1 deletion(-) create mode 100644 sistema/www/images/noticia_anterior.gif create mode 100644 sistema/www/images/noticia_linea_azul.gif rename sistema/www/images/{linea_puntos.gif => noticia_linea_puntos.gif} (100%) rename sistema/www/images/{mas.gif => noticia_mas.gif} (100%) rename sistema/www/images/{nuevo.gif => noticia_nuevo.gif} (100%) create mode 100644 sistema/www/una_noticia.php diff --git a/sistema/local_lib/HTML_Noticia.php b/sistema/local_lib/HTML_Noticia.php index d7dca9b..f6b96f0 100644 --- a/sistema/local_lib/HTML_Noticia.php +++ b/sistema/local_lib/HTML_Noticia.php @@ -76,7 +76,8 @@ class HTML_Noticia extends HTML_Table { $tmp = $this->noticia->getFecha(); $this->addRow(array($tmp->format('Fecha de publicaciĆ³n: %d/%m/%Y')), array('class' => 'ver_mas')); - $this->addRow(array(new HTML_Image('images/blanco.gif')), + $this->addRow(array(new HTML_Image('images/blanco.gif','', + array('height'=>'15', 'width'=>'1', 'border'=>'0'))), array('class' => 'ver_mas')); $tmp = new HTML_Image('images/noticia_anterior.gif'); $this->addRow(array($tmp->toHTML().'volver'), diff --git a/sistema/www/images/noticia_anterior.gif b/sistema/www/images/noticia_anterior.gif new file mode 100644 index 0000000000000000000000000000000000000000..04989c82207bfe23a75d8a039c9dec3ee96ddd23 GIT binary patch literal 83 zcmZ?wbhEHb6ky +display(); + $noticias = new HTML_Table(array('width' => '760', 'border' => '0')); + require_once '../local_lib/intranetdb.php'; + require_once 'MECON/HTML/Arbol/ArbolDB.php'; + $db = IntranetDB::connect(); + $dbdata = array( + 'db' => $db, + 'tabla' => 'grupo_secciones', + 'id' => 'grupo', + 'nombre' => 'nombre', + 'id_padre' => 'grupo_padre', + '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->setCompleta(true); + $noticias->addRow(array($arbol,$noticia)); + $noticias->updateCellAttributes(0, 0, array('valign'=>'top', 'width'=>'160')); + $noticias->updateCellAttributes(0, 1, array('valign'=>'top', 'width'=>'160')); + $noticias->display(); +?> + -- 2.43.0