<?php
// vim: set expandtab tabstop=4 softtabstop=4 shiftwidth=4:
// +--------------------------------------------------------------------+
-// | Ministerio de Econom� |
-// | Intranet |
+// | Ministerio de Economía |
+// | Intranet |
// +--------------------------------------------------------------------+
-// | This file is part of Intranet. |
+// | This file is part of Intranet. |
// | |
-// | Intranet 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. |
// | |
-// | Intranet 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. |
// | Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
// +--------------------------------------------------------------------+
// | Creado: Thu Jul 24 15:27:04 2003 |
-// | Autor: Gonzalo Merayo <gmeray@mecon.gov.ar> |
+// | Autor: Gonzalo Merayo <gmeray@mecon.gov.ar> |
// +--------------------------------------------------------------------+
//
// $Id: xmi2code.tpl.php 1 2003-06-23 18:29:20Z gmeray $
//
-
require_once 'MECON/HTML/Image.php';
require_once 'MECON/HTML/Link.php';
-require_once 'DB.php';
+require_once 'intranetdb.php';
require_once 'AI/Servicio.php';
-// require_once 'AI/DB.php';
// +X2C includes
require_once 'HTML/Table.php';
'cellspacing' => '0',
'cellpadding' => '0',
'bgcolor' => '#FFFFFF'));
- $bd = DB::Connect('mysql://intranet:intranet@bal747f/intranet');//FIXME
+ $db = IntranetDB::connect();
$this->servicio = new AI_Servicio($seccion);
- $this->servicio->cargar($bd);
- $this->servicio->cargarHijos($bd, true, AI_SERVICIO_ORDEN_LONG_NOMBRE);
+ $this->servicio->cargar($db);
+ $this->servicio->cargarHijos($db, true, AI_SERVICIO_ORDEN_LONG_NOMBRE);
}
// -X2C