From 8868480b53a3121abef5d9b051263b3c91e36e09 Mon Sep 17 00:00:00 2001 From: Gonzalo Merayo Date: Mon, 21 Jul 2003 21:06:47 +0000 Subject: [PATCH 1/1] --- sistema/www/css/dietmarco.css | 11 ++++++++ sistema/www/images/seccion_cabecera.gif | Bin 0 -> 377 bytes sistema/www/noticias.php | 2 +- sistema/www/servicios.php | 34 ++++++++++++++++-------- sistema/www/sistemas.php | 2 +- sistema/www/una_noticia.php | 2 +- 6 files changed, 37 insertions(+), 14 deletions(-) create mode 100644 sistema/www/css/dietmarco.css create mode 100644 sistema/www/images/seccion_cabecera.gif diff --git a/sistema/www/css/dietmarco.css b/sistema/www/css/dietmarco.css new file mode 100644 index 0000000..b081f10 --- /dev/null +++ b/sistema/www/css/dietmarco.css @@ -0,0 +1,11 @@ +BODY { + FONT-FAMILY: Arial, Helvetica, sans-serif; FONT-SIZE: 10pt; TEXT-ALIGN: left +; font-style: normal; line-height: 10pt; font-weight: normal +} +UL { + FONT-FAMILY: Arial, Helvetica, sans-serif; FONT-SIZE: 10pt; font-style: normal; line-height: normal; font-weight: normal +} +P { + FONT-FAMILY: Arial, Helvetica, sans-serif; FONT-SIZE: 10pt +; font-style: normal; line-height: normal; font-weight: normal +} diff --git a/sistema/www/images/seccion_cabecera.gif b/sistema/www/images/seccion_cabecera.gif new file mode 100644 index 0000000000000000000000000000000000000000..212b2c59807d326a31ec76dc1f96294abf920fd5 GIT binary patch literal 377 zcmV-<0fzoZNk%w1VQ2v$0J8u9|NsB>_xbGb^Wy04+2H8B%GbQf*PpV*m8-ymoU~?z zqy7N`000000000000000A^8La6aWhVEC2ui0B8Xq000F4P{~QFy*TU5yZ>M)j$~<` zXsWJk>%MR-&veZu1p(}Q@BhG{a7Zi~kI1BQ$!t2G(5MthC?rS+!F0>*dcWYXcpMfS zK#2i)&2GEj@c49a}>fo};9tra)&ETBoe7u8IN`39q!ZwsMyW2DiMuzFYw-s9wb$rHQf>g#X86SM5`@?g0NtMmBzO|ccC`u_lnq^gi9 zpuvNnE;u^K@Smj&gc?ee#|YxGi5R&B>X0U*$7^&ZKxFwy(wG?%2@HrU$+8sz1NCgk XoJq5$&6_xL>fFh*r_Y~0BLDz9WNNv% literal 0 HcmV?d00001 diff --git a/sistema/www/noticias.php b/sistema/www/noticias.php index 75ef290..a0c1a16 100644 --- a/sistema/www/noticias.php +++ b/sistema/www/noticias.php @@ -17,7 +17,7 @@ 'nombre' => 'nombre', 'id_padre' => 'grupo_padre', 'prepend_link' => 'noticias.php?grupo='); - $arbol = new HTML_ArbolDB($dbdata, '/MECON/images/arbol_noticias.gif'); + $arbol = new HTML_ArbolDB($dbdata, 'NOTICIAS'); $grupo = null; if(isset($_GET['grupo'])) diff --git a/sistema/www/servicios.php b/sistema/www/servicios.php index bd80c91..64d260b 100644 --- a/sistema/www/servicios.php +++ b/sistema/www/servicios.php @@ -5,16 +5,28 @@ $m = new HTML_DietMarco('servicios'); $m->addTitle('Servicios'); - $db = IntranetDB::connect(); - $dbdata = array( - 'db' => $db, - 'tabla' => 'servicio', - 'id' => 'servicio', - 'nombre' => 'nombre', - 'id_padre' => 'servicio_padre', - 'link' => 'link'); - $arbol = new HTML_ArbolDB($dbdata, '/MECON/images/arbol_noticias.gif'); - - $m->addBodyContent($arbol); + $seccion = new HTML_Table(array ('width'=>'300', + 'border' => '0', + 'cellspacing' => '0', + 'cellpadding' => '0', + 'bgcolor' => '#003868')); +/* $this->t_interna = new HTML_Table(array ('width'=>'132', + 'border' => '0', + 'cellspacing' => '2', + 'cellpadding' => '0', + 'class' => 'bodytext'));*/ + $titulo = new HTML_Table(array('width'=>'132', + 'height'=>'26', + 'border' => '0', + 'cellspacing' => '0', + 'cellpadding' => '0', + 'align'=>'center', + 'background'=>'images/seccion_cabecera.gif')); + $titulo->addRow(array("hola"), array('align'=>'center', + 'class'=>'arboltitulo')); + $seccion->addRow(array($titulo), array('bgcolor' => '#FFFFFF')); + + + $m->addBodyContent($seccion); $m->display(); ?> diff --git a/sistema/www/sistemas.php b/sistema/www/sistemas.php index 2ec1d8a..a4cbd58 100644 --- a/sistema/www/sistemas.php +++ b/sistema/www/sistemas.php @@ -12,7 +12,7 @@ 'id' => 'sistema', 'nombre' => 'sistema', 'link' => 'link'); - $arbol = new HTML_ArbolDB($dbdata, '/MECON/images/arbol_noticias.gif'); + $arbol = new HTML_ArbolDB($dbdata, 'SISTEMAS'); $m->addBodyContent($arbol); $m->display(); diff --git a/sistema/www/una_noticia.php b/sistema/www/una_noticia.php index ab21da4..beff423 100644 --- a/sistema/www/una_noticia.php +++ b/sistema/www/una_noticia.php @@ -16,7 +16,7 @@ 'nombre' => 'nombre', 'id_padre' => 'grupo_padre', 'prepend_link' => 'noticias.php?grupo='); - $arbol = new HTML_ArbolDB($dbdata, '/MECON/images/arbol_noticias.gif'); + $arbol = new HTML_ArbolDB($dbdata, 'NOTICIAS'); $noticia = new HTML_Noticia(new noticia($_GET['numero'])); $noticia->setVolver('noticias.php'); -- 2.43.0