X-Git-Url: https://git.llucax.com/mecon/intranet.git/blobdiff_plain/b1898620c4461ff170c6c18f6e68d792ac652125..ab77106d0d0e5ffcef48bc563360a6332cab1d9d:/sistema/www/noticias.php?ds=sidebyside diff --git a/sistema/www/noticias.php b/sistema/www/noticias.php index 08f1635..0ffde4d 100644 --- a/sistema/www/noticias.php +++ b/sistema/www/noticias.php @@ -7,7 +7,20 @@
- include '../../../meconlib/tronco/test/prueba_arbol.php'?> + + require_once '../local_lib/intranetdb.php'; + require_once 'MECON/HTML/Arbol/ArbolDB.php'; + $db = IntranetDB::connect(); + $dbdata = array( + 'db' => $db, + 'tabla' => 'grupo_secciones', + 'id' => 'grupo', + 'nombre' => 'nombre', + 'id_padre' => 'grupo_padre', + 'prepend_link' => 'noticias.php?grupo='); + $arbol = new HTML_ArbolDB($dbdata, '/MECON/images/arbol_noticias.gif'); + echo $arbol->toHTML(); + ?> | include 'noticias.htm'?> |