X-Git-Url: https://git.llucax.com/mecon/intranet.git/blobdiff_plain/54970ec49e9cc800d7d431b4ba5158bae780f629..1713650def781c16aadfd73bd9d085a1f50138c3:/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(); ?> -