]> git.llucax.com Git - mecon/intranet.git/commitdiff
(no commit message)
authorGonzalo Merayo <merayo@gmail.com>
Tue, 8 Jul 2003 17:21:35 +0000 (17:21 +0000)
committerGonzalo Merayo <merayo@gmail.com>
Tue, 8 Jul 2003 17:21:35 +0000 (17:21 +0000)
sistema/local_lib/HTML_Noticia.php
sistema/www/images/noticia_anterior.gif [new file with mode: 0644]
sistema/www/images/noticia_linea_azul.gif [new file with mode: 0644]
sistema/www/images/noticia_linea_puntos.gif [moved from sistema/www/images/linea_puntos.gif with 100% similarity]
sistema/www/images/noticia_mas.gif [moved from sistema/www/images/mas.gif with 100% similarity]
sistema/www/images/noticia_nuevo.gif [moved from sistema/www/images/nuevo.gif with 100% similarity]
sistema/www/una_noticia.php [new file with mode: 0644]

index d7dca9b1ae48ce3c5fc148060e6ad44a7c5f2eb1..f6b96f08add2d1444f3f9a33aec2780f21f7d072 100644 (file)
@@ -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 (file)
index 0000000..04989c8
Binary files /dev/null and b/sistema/www/images/noticia_anterior.gif differ
diff --git a/sistema/www/images/noticia_linea_azul.gif b/sistema/www/images/noticia_linea_azul.gif
new file mode 100644 (file)
index 0000000..cdb186c
Binary files /dev/null and b/sistema/www/images/noticia_linea_azul.gif differ
diff --git a/sistema/www/una_noticia.php b/sistema/www/una_noticia.php
new file mode 100644 (file)
index 0000000..cb10060
--- /dev/null
@@ -0,0 +1,28 @@
+<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/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();
+?>
+</body>