]> git.llucax.com Git - mecon/intranet.git/commitdiff
Carga Copete, Noticias(demo) e imagenes
authorGonzalo Merayo <merayo@gmail.com>
Mon, 23 Jun 2003 18:29:20 +0000 (18:29 +0000)
committerGonzalo Merayo <merayo@gmail.com>
Mon, 23 Jun 2003 18:29:20 +0000 (18:29 +0000)
17 files changed:
doc/xmi2code.config
doc/xmi2code.tpl.php
sistema/local_lib/copete.php [new file with mode: 0644]
sistema/www/css/copete.css [new file with mode: 0644]
sistema/www/images/blanco.gif [new file with mode: 0644]
sistema/www/images/copete_fin.gif [new file with mode: 0644]
sistema/www/images/copete_flecha_azul.gif [new file with mode: 0644]
sistema/www/images/copete_inicio.gif [new file with mode: 0644]
sistema/www/images/copete_noticias.jpg [new file with mode: 0644]
sistema/www/images/copete_servicios.jpg [new file with mode: 0644]
sistema/www/images/copete_sistemas.jpg [new file with mode: 0644]
sistema/www/images/linea_puntos.gif [new file with mode: 0644]
sistema/www/images/mas.gif [new file with mode: 0644]
sistema/www/noticias.php [new file with mode: 0644]
sistema/www/servicios.php [new file with mode: 0644]
sistema/www/sistemas.php [new file with mode: 0644]
tmp [new file with mode: 0644]

index 65dc1fdb8cac8950ec8452252469a3b8a05971bd..26e1e488f23edd02f30d13571f1710c0b4885e6c 100644 (file)
@@ -3,16 +3,16 @@
  ! vim: set expandtab tabstop=4 softtabstop=4 shiftwidth=4:
  ! **********************************************************************
  ! *                      Ministerio de Economía                        *
  ! vim: set expandtab tabstop=4 softtabstop=4 shiftwidth=4:
  ! **********************************************************************
  ! *                      Ministerio de Economía                        *
- ! *                             <SISTEMA>                              *
+ ! *                             Intranet                              *
  ! **********************************************************************
  ! **********************************************************************
- ! * This file is part of <SISTEMA>.                                    *
+ ! * This file is part of Intranet.                                    *
  ! *                                                                    *
  ! *                                                                    *
- ! * <SISTEMA> is free software; you can redistribute it and/or modify  *
+ ! * Intranet is free software; you can redistribute it and/or modify  *
  ! * it under the terms of the GNU General Public License as published  *
  ! * by the Free Software Foundation; either version 2 of the License,  *
  ! * or (at your option) any later version.                             *
  ! *                                                                    *
  ! * it under the terms of the GNU General Public License as published  *
  ! * by the Free Software Foundation; either version 2 of the License,  *
  ! * or (at your option) any later version.                             *
  ! *                                                                    *
- ! * <SISTEMA> is distributed in the hope that it will be useful, but   *
+ ! * Intranet is distributed in the hope that it will be useful, but   *
  ! * WITHOUT ANY WARRANTY; without even the implied warranty of         *
  ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU   *
  ! * General Public License for more details.                           *
  ! * WITHOUT ANY WARRANTY; without even the implied warranty of         *
  ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU   *
  ! * General Public License for more details.                           *
@@ -21,8 +21,8 @@
  ! * along with Hooks; if not, write to the Free Software Foundation,   *
  ! * Inc., 59 Temple Place, Suite 330, Boston, MA  02111*1307  USA      *
  ! **********************************************************************
  ! * along with Hooks; if not, write to the Free Software Foundation,   *
  ! * Inc., 59 Temple Place, Suite 330, Boston, MA  02111*1307  USA      *
  ! **********************************************************************
- ! * Creado: <FECHA>                               *
- ! * Autor:  <AUTOR>                                                    *
+ ! * Creado: Mon Jun 23 14:09:15 ART 2003                               *
+ ! * Autor:  Gonzalo Merayo <gmeray@mecon.gov.ar>                                                    *
  ! *********************************************************************+
  ! 
  ! $Id$
  ! *********************************************************************+
  ! 
  ! $Id$
index 6542438edac2d09946a26ab8f7a2bd2ab1cff448..0a2301aae57859e28eb37cbde36225fe29f4d282 100644 (file)
@@ -2,16 +2,16 @@
 // vim: set expandtab tabstop=4 softtabstop=4 shiftwidth=4:
 // +--------------------------------------------------------------------+
 // |                      Ministerio de Economía                        |
 // vim: set expandtab tabstop=4 softtabstop=4 shiftwidth=4:
 // +--------------------------------------------------------------------+
 // |                      Ministerio de Economía                        |
-// |                             <SISTEMA>                              |
+// |                             Intranet                              |
 // +--------------------------------------------------------------------+
 // +--------------------------------------------------------------------+
-// | This file is part of <SISTEMA>.                                    |
+// | This file is part of Intranet.                                    |
 // |                                                                    |
 // |                                                                    |
-// | <SISTEMA> is free software; you can redistribute it and/or modify  |
+// | Intranet is free software; you can redistribute it and/or modify  |
 // | it under the terms of the GNU General Public License as published  |
 // | by the Free Software Foundation; either version 2 of the License,  |
 // | or (at your option) any later version.                             |
 // |                                                                    |
 // | it under the terms of the GNU General Public License as published  |
 // | by the Free Software Foundation; either version 2 of the License,  |
 // | or (at your option) any later version.                             |
 // |                                                                    |
-// | <SISTEMA> is distributed in the hope that it will be useful, but   |
+// | Intranet is distributed in the hope that it will be useful, but   |
 // | WITHOUT ANY WARRANTY; without even the implied warranty of         |
 // | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU   |
 // | General Public License for more details.                           |
 // | WITHOUT ANY WARRANTY; without even the implied warranty of         |
 // | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU   |
 // | General Public License for more details.                           |
@@ -21,8 +21,8 @@
 // | Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA      |
 // +--------------------------------------------------------------------+
 // | Creado: @@date                                   |
 // | Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA      |
 // +--------------------------------------------------------------------+
 // | Creado: @@date                                   |
-// | Autor:  <AUTOR>                                                    |
+// | Autor:  Gonzalo Merayo <gmeray@mecon.gov.ar>                                                    |
 // +--------------------------------------------------------------------+
 //
 // $Id$
 // +--------------------------------------------------------------------+
 //
 // $Id$
-//
\ No newline at end of file
+//
diff --git a/sistema/local_lib/copete.php b/sistema/local_lib/copete.php
new file mode 100644 (file)
index 0000000..edda0cc
--- /dev/null
@@ -0,0 +1,42 @@
+<?\r
+\r
+\r
+require_once 'HTML/Table.php';\r
+\r
+\r
+class Copete extends HTML_Table\r
+{\r
+  function Copete($s)\r
+  {\r
+    echo '<link rel="stylesheet" href="css/copete.css">';\r
+    parent::HTML_Table(array('width'  => '760',\r
+                             'border' => '0',\r
+                            'cellspacing' => '0',\r
+                            'cellpadding' => '0'));\r
+    $anchos = array('12', '25', '712', '11');\r
+    $fila = array();\r
+    foreach($anchos as $a)\r
+      $fila[] = '<img src="images/blanco.gif" width="'.$a.'" height="1">';\r
+    $this->addRow($fila);\r
+    $seccion = 'images/copete_'.$s.'.jpg';\r
+    $this->addRow(array('<img src="'.$seccion.'" width="760" height="66" border="0">'), array('colspan' => '4'));\r
+    $fila = array();\r
+    $fila[] = '<img src="images/copete_inicio.gif" height="30" border="0">';\r
+    $fila[] = '<img src="images/copete_flecha_azul.gif" height="30" border="0">';\r
+    switch($s)\r
+    {\r
+      case 'noticias': $fila[] = 'Enlaces &uacute;tiles: <a href="http://www.mecon.gov.ar/" target="_blank"><span class="TextBlue">Ministerio \r
+      de Economía y Producción</span></a><span class="TextBlue"> - <a href="http://boletinoficial.mecon.ar/" target="_blank">Bolet&iacute;n \r
+      Oficial</a> - <a href="http://infoleg.mecon.gov.ar/" target="_blank">INFOLEG</a> \r
+      - <a href="http://cdi.mecon.gov.ar/" target="_blank">CDI</a></span>';\r
+             break;\r
+     case 'servicios': $fila[] = '<span class="titulo_uno">Servicios</span>';\r
+             break;\r
+     case 'sistemas': $fila[] = '<span class="titulo_uno">Sistemas</span>';\r
+             break;\r
+    }\r
+    $fila[] = '<img src="images/copete_fin.gif" height="30" border="0">';\r
+    $this->addRow($fila, array('class' => 'titulo_vinculos'));\r
+  }\r
+}\r
+?>\r
diff --git a/sistema/www/css/copete.css b/sistema/www/css/copete.css
new file mode 100644 (file)
index 0000000..22d10a1
--- /dev/null
@@ -0,0 +1,33 @@
+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: justify; 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
diff --git a/sistema/www/images/blanco.gif b/sistema/www/images/blanco.gif
new file mode 100644 (file)
index 0000000..fc25609
Binary files /dev/null and b/sistema/www/images/blanco.gif differ
diff --git a/sistema/www/images/copete_fin.gif b/sistema/www/images/copete_fin.gif
new file mode 100644 (file)
index 0000000..1103752
Binary files /dev/null and b/sistema/www/images/copete_fin.gif differ
diff --git a/sistema/www/images/copete_flecha_azul.gif b/sistema/www/images/copete_flecha_azul.gif
new file mode 100644 (file)
index 0000000..4f3391c
Binary files /dev/null and b/sistema/www/images/copete_flecha_azul.gif differ
diff --git a/sistema/www/images/copete_inicio.gif b/sistema/www/images/copete_inicio.gif
new file mode 100644 (file)
index 0000000..6328560
Binary files /dev/null and b/sistema/www/images/copete_inicio.gif differ
diff --git a/sistema/www/images/copete_noticias.jpg b/sistema/www/images/copete_noticias.jpg
new file mode 100644 (file)
index 0000000..843c074
Binary files /dev/null and b/sistema/www/images/copete_noticias.jpg differ
diff --git a/sistema/www/images/copete_servicios.jpg b/sistema/www/images/copete_servicios.jpg
new file mode 100644 (file)
index 0000000..c166616
Binary files /dev/null and b/sistema/www/images/copete_servicios.jpg differ
diff --git a/sistema/www/images/copete_sistemas.jpg b/sistema/www/images/copete_sistemas.jpg
new file mode 100644 (file)
index 0000000..1817b6a
Binary files /dev/null and b/sistema/www/images/copete_sistemas.jpg differ
diff --git a/sistema/www/images/linea_puntos.gif b/sistema/www/images/linea_puntos.gif
new file mode 100644 (file)
index 0000000..9064993
Binary files /dev/null and b/sistema/www/images/linea_puntos.gif differ
diff --git a/sistema/www/images/mas.gif b/sistema/www/images/mas.gif
new file mode 100644 (file)
index 0000000..5123ff5
Binary files /dev/null and b/sistema/www/images/mas.gif differ
diff --git a/sistema/www/noticias.php b/sistema/www/noticias.php
new file mode 100644 (file)
index 0000000..08f1635
--- /dev/null
@@ -0,0 +1,17 @@
+<body bgcolor="#FFFFFF" class="subtitulo" link="#003366" vlink="#660066" alink="#0066FF" topmargin="0">
+<?
+  require_once '../local_lib/copete.php';
+  $c = new Copete('noticias');
+  echo $c->toHTML();
+?>
+<table width='760' border='0'>
+  <tr>
+    <td width='160' valign='top'>
+      <? include '../../../meconlib/tronco/test/prueba_arbol.php'?>
+    </td>
+    <td width='600'>
+      <? include 'noticias.htm'?>
+    </td>
+  </tr>
+</table>
+</body>
diff --git a/sistema/www/servicios.php b/sistema/www/servicios.php
new file mode 100644 (file)
index 0000000..ebc9544
--- /dev/null
@@ -0,0 +1,7 @@
+<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();
+?>
+</body>
diff --git a/sistema/www/sistemas.php b/sistema/www/sistemas.php
new file mode 100644 (file)
index 0000000..3897cfc
--- /dev/null
@@ -0,0 +1,7 @@
+<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();
+?>
+</body>
diff --git a/tmp b/tmp
new file mode 100644 (file)
index 0000000..e471654
--- /dev/null
+++ b/tmp
@@ -0,0 +1,28 @@
+<?php
+// vim: set expandtab tabstop=4 softtabstop=4 shiftwidth=4:
+// +--------------------------------------------------------------------+
+// |                      Ministerio de Economía                        |
+// |                             Intranet                              |
+// +--------------------------------------------------------------------+
+// | This file is part of Intranet.                                    |
+// |                                                                    |
+// | Intranet is free software; you can redistribute it and/or modify  |
+// | it under the terms of the GNU General Public License as published  |
+// | by the Free Software Foundation; either version 2 of the License,  |
+// | or (at your option) any later version.                             |
+// |                                                                    |
+// | Intranet is distributed in the hope that it will be useful, but   |
+// | WITHOUT ANY WARRANTY; without even the implied warranty of         |
+// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU   |
+// | General Public License for more details.                           |
+// |                                                                    |
+// | You should have received a copy of the GNU General Public License  |
+// | along with Hooks; if not, write to the Free Software Foundation,   |
+// | Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA      |
+// +--------------------------------------------------------------------+
+// | Creado: @@date                                   |
+// | Autor:  Gonzalo Merayo <gmeray@mecon.gov.ar>                                                    |
+// +--------------------------------------------------------------------+
+//
+// $Id: xmi2code.tpl.php 1 2003-06-20 22:27:47Z llucar $
+//