--- /dev/null
+<?php /* vim: set binary expandtab tabstop=4 shiftwidth=4 foldmethod=marker:
+-------------------------------------------------------------------------------
+ Ministerio de Economía
+ agenda
+-------------------------------------------------------------------------------
+This file is part of agenda.
+
+agenda 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.
+
+agenda 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; if not,
+write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
+Boston, MA 02111-1307 USA
+-------------------------------------------------------------------------------
+Creado: lun ago 11 14:10:35 ART 2003
+Autor: Martin Marrese <mmarre@mecon.gov.ar>
+-------------------------------------------------------------------------------
+$Id$
+-----------------------------------------------------------------------------*/
+
+//REQUIRE ONCE {{{
+require_once 'HTML/Table.php';
+require_once '../../../local_lib/HTML_DietMarco.php';
+require_once 'HTML/QuickForm.php';
+require_once 'HTML/Image.php';
+require_once 'HTML/Link.php';
+//}}}
+//CREO LOS OBJETOS NECESARIOS {{{
+$MARCO = new HTML_DietMarco('servicios');
+$FORM = new HTML_QuickForm('agenda', 'post', 'agenda2.php');
+$TABLA_EXT = new HTML_Table('width="760" border="0" cellspacing="0" cellpadding="0"');
+$TABLA = new HTML_Table('width="500" border="0" cellspacing="0" cellpadding="0" bgcolor="#003366"');
+$IMG1 = new HTML_Image('../../images/servicios_agenda_lupa.gif');
+$IMG2 = new HTML_Image('../../images/servicios_agenda_mail.gif');
+$TELECO = new HTML_Image('../../images/servicios_agenda_teleco.gif');
+$LINK_1 = new HTML_Link('mailto:teleco@mecon.gov.ar', $IMG2);
+$LINK_2 = new HTML_Link('mailto:teleco@mecon.gov.ar', 'Consultas');
+//}}}
+//OBTENER DATOS DE LAS BASES {{{
+$EDIFICIOS = '';
+//}}}
+//AGREGO LOS ELEMENTOS AL FORM {{{
+$interno =& $FORM->addElement('text' , 'Interno' , 'Interno' , array ("size" => '4'));
+$usuario =& $FORM->addElement('text' , 'Usuario' , 'Usuario' , array ("size" => '40'));
+$codep =& $FORM->addElement('text' , 'Codep' , 'Codep' , array ("size" => '40', "maxlength" => "10"));
+$dependencia =& $FORM->addElement('text' , 'Dependencia', 'Dependencia', array ("size" => '40', "value" => "--Ingrese una palabra clave--"));
+$edificio =& $FORM->addElement('select', 'Edificio' , 'Edificio' , $EDIFICIOS, array('size' => '1'));
+$piso =& $FORM->addElement('text' , 'Piso' , 'Piso' , array ("size" => '10', "maxlength" => "5"));
+$oficina =& $FORM->addElement('text' , 'Oficina' , 'Oficina' , array ("size" => '10', "maxlength" => "5"));
+$grupo = array();
+$grupo[] =& HTML_QuickForm::createElement('radio', 'op1', 'interno' , 'interno');
+$grupo[] =& HTML_QuickForm::createElement('radio', 'op1', 'usuario' , 'usuario');
+$grupo[] =& HTML_QuickForm::createElement('radio', 'op1', 'dependencia', 'dependencia');
+$grupo[] =& HTML_QuickForm::createElement('radio', 'op1', 'edificio' , 'edificio');
+$ordenar =& $FORM->addGroup($grupo, 'ordenar', 'Ordenado por', ' ', true);
+//}}}
+//ARMO LA TABLA{{{
+$TABLA->addRow(array($interno->getName().':' , $interno));
+$TABLA->addRow(array($usuario->getName().':' , $usuario));
+$TABLA->addRow(array($codep->getName().':' , $codep));
+$TABLA->addRow(array($dependencia->getName().':', $dependencia));
+$TABLA->addRow(array($edificio->getName().':' , $edificio));
+$TABLA->addRow(array($piso->getName().':' , $piso));
+$TABLA->addRow(array($oficina->getName().':' , $oficina));
+$TABLA->addRow(array($ordenar->getName().':' , $ordenar));
+
+$TABLA_EXT->addRow(array($LINK_1,$LINK_2, $TELECO->toHtml()));
+$TABLA_EXT->addRow(array($TABLA->toHtml()), 'colspan="3"');
+//}}}
+//MUESTRO LA INFO {{{
+$MARCO->addStyleSheet('../../css/servicios_agenda.css');
+$MARCO->addTitle('Agenda Telefonica');
+$MARCO->addBodyContent($TABLA_EXT);
+$MARCO->display();
+//}}}
+?>