X-Git-Url: https://git.llucax.com/mecon/intranet.git/blobdiff_plain/85720991119a502817f9115fddef3b1dc697f859..fc32613380df9845ff3916e36771f361d0469345:/sistema/www/servicios/agenda/agenda1.php?ds=sidebyside diff --git a/sistema/www/servicios/agenda/agenda1.php b/sistema/www/servicios/agenda/agenda1.php index 7213428..891b98a 100644 --- a/sistema/www/servicios/agenda/agenda1.php +++ b/sistema/www/servicios/agenda/agenda1.php @@ -25,20 +25,13 @@ $Id$ -----------------------------------------------------------------------------*/ //REQUIRE ONCE {{{ -require_once '../../../local_lib/Servicios/Agenda.php'; +require_once 'Servicios/Agenda.php'; require_once 'HTML/Table.php'; require_once 'MECON/HTML/Tabla.php'; -require_once '../../../local_lib/HTML_DietMarco.php'; +require_once 'HTML_DietMarco.php'; require_once 'MECON/HTML/QuickForm.php'; require_once 'MECON/HTML/Image.php'; require_once 'MECON/HTML/Link.php'; -require_once 'DB.php'; -//}}} -//CREO LA CONEXION A LA BASE DE DATOS {{{ -$DB = DB::connect("mysql://intranet:intranet@intranet-db/agenda",true); -if (DB::isError($DB)) { - die ($DB->getMessage()); -} //}}} //CREO LOS OBJETOS NECESARIOS {{{ $TABLAFORM = new MECON_HTML_Tabla ('width="500"', 'claro'); @@ -130,7 +123,7 @@ EOT; $MARCO->addScriptDeclaration($JS); //}}} //MUESTRO LA INFO {{{ -$MARCO->addTitle('Agenda Telefonica'); +//$MARCO->addTitle('Agenda Telefonica'); $MARCO->addBodyContent($TABLA); $MARCO->display(); //}}}