X-Git-Url: https://git.llucax.com/mecon/intranet.git/blobdiff_plain/b1898620c4461ff170c6c18f6e68d792ac652125..ddcbc75bd490011eaf40e0302e1975723d0b170f:/sistema/www/servicios.php diff --git a/sistema/www/servicios.php b/sistema/www/servicios.php index ebc9544..e1ba91d 100644 --- a/sistema/www/servicios.php +++ b/sistema/www/servicios.php @@ -3,5 +3,18 @@ require_once '../local_lib/copete.php'; $c = new Copete('servicios'); echo $c->toHTML(); + + require_once '../local_lib/intranetdb.php'; + require_once 'MECON/HTML/Arbol/ArbolDB.php'; + $db = IntranetDB::connect(); + $dbdata = array( + 'db' => $db, + 'tabla' => 'servicio', + 'id' => 'servicio', + 'nombre' => 'nombre', + 'id_padre' => 'servicio_padre', + 'link' => 'link'); + $arbol = new HTML_ArbolDB($dbdata, '/MECON/images/arbol_noticias.gif'); + echo $arbol->toHTML(); ?>