From: Gonzalo Merayo Date: Mon, 21 Jul 2003 21:06:47 +0000 (+0000) Subject: (no commit message) X-Git-Tag: svn_import~229 X-Git-Url: https://git.llucax.com/mecon/intranet.git/commitdiff_plain/8868480b53a3121abef5d9b051263b3c91e36e09 --- 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 0000000..212b2c5 Binary files /dev/null and b/sistema/www/images/seccion_cabecera.gif differ 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');