<table width='760' border='0'>
<tr>
<td width='160' valign='top'>
- <? 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();
+ ?>
</td>
<td width='600'>
- <? include 'noticias.htm'?>
+ <?
+ require_once '../../lib/noticia.php';
+ require_once '../local_lib/HTML_Noticia.php';
+
+ $n = new noticia(1294);
+ $not = new HTML_Noticia($n);
+ $not->setNuevo(true);
+ $ht = new HTML_Table(array('width'=>'600', 'border'=>'0', 'cellspacing'=>'0'));
+ $ht->addRow(array($not, $not));
+ $ht->addRow(array($not, $not));
+ $ht->addRow(array($not, $not));
+ $ht->display();
+ ?>
</td>
</tr>
</table>