X-Git-Url: https://git.llucax.com/mecon/intranet.git/blobdiff_plain/b1898620c4461ff170c6c18f6e68d792ac652125..cc1a255e18c659b360da307b8ed2142027f97a78:/sistema/www/noticias.php?ds=inline 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'?> |