- $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';
-
- $not = new HTML_Noticia(1);
- $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 MECON_HTML_ArbolDB($dbdata, 'NOTICIAS');
+
+ $titulares = new HTML_Titulares($grupo, $dias);
+ $noticias->addRow(array($arbol,$titulares));
+ $m->addStyleSheet($arbol->getCSS());
+ $m->addStyleSheet($titulares->getCSS());
+ $noticias->updateCellAttributes(0, 0, array('valign'=>'top', 'width'=>'160'));
+ $noticias->updateCellAttributes(0, 1, array('valign'=>'top', 'width'=>'600'));
+
+ $m->addBodyContent($noticias);
+ $m->display();
+?>