X-Git-Url: https://git.llucax.com/mecon/intranet.git/blobdiff_plain/e54c0e22cd808855fdc1171d1bc70d00175e1ad0..707e1370e56a9a9536a81aab72b530c48e3d361e:/sistema/www/noticias.php?ds=sidebyside diff --git a/sistema/www/noticias.php b/sistema/www/noticias.php index 9cc65a2..9bc004f 100644 --- a/sistema/www/noticias.php +++ b/sistema/www/noticias.php @@ -27,13 +27,14 @@ 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(); + $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(); ?>