X-Git-Url: https://git.llucax.com/mecon/intranet.git/blobdiff_plain/b1898620c4461ff170c6c18f6e68d792ac652125..11b81d2f79bfd131d04ac0c91c51175a4d89cd4d:/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(); ?>