X-Git-Url: https://git.llucax.com/mecon/intranet.git/blobdiff_plain/0030a5e4c8ffc960a1ab7413eb1cc1ef111bf366..1f1509cd913ce2de6807f5907833e3550722169b:/sistema/www/servicios.php diff --git a/sistema/www/servicios.php b/sistema/www/servicios.php index e1ba91d..bd80c91 100644 --- a/sistema/www/servicios.php +++ b/sistema/www/servicios.php @@ -1,11 +1,10 @@ - toHTML(); - + require_once '../local_lib/HTML_DietMarco.php'; require_once '../local_lib/intranetdb.php'; require_once 'MECON/HTML/Arbol/ArbolDB.php'; + $m = new HTML_DietMarco('servicios'); + $m->addTitle('Servicios'); + $db = IntranetDB::connect(); $dbdata = array( 'db' => $db, @@ -15,6 +14,7 @@ 'id_padre' => 'servicio_padre', 'link' => 'link'); $arbol = new HTML_ArbolDB($dbdata, '/MECON/images/arbol_noticias.gif'); - echo $arbol->toHTML(); + + $m->addBodyContent($arbol); + $m->display(); ?> -