- $arbol = new HTML_ArbolDB($dbdata, '/MECON/images/arbol_noticias.gif');
- echo $arbol->toHTML();
- ?>
- </td>
- <td width='600'>
- <?
- 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>
-</body>
+ $arbol = new HTML_ArbolDB($dbdata, '/MECON/images/arbol_noticias.gif');
+
+ $grupo = null;
+ if(isset($_GET['grupo']))
+ $grupo = $_GET['grupo'];
+ $titulares = new HTML_Titulares($grupo, 7);
+ $noticias->addRow(array($arbol,$titulares));
+ $noticias->updateCellAttributes(0, 0, array('valign'=>'top', 'width'=>'160'));
+ $noticias->updateCellAttributes(0, 1, array('width'=>'600'));
+
+ $m->addBodyContent($noticias);
+ $m->display();
+?>