X-Git-Url: https://git.llucax.com/mecon/intranet.git/blobdiff_plain/e54c0e22cd808855fdc1171d1bc70d00175e1ad0..eb86d04858357c87d5d7a7e3cb528ef24949b725:/sistema/www/noticias.php?ds=inline diff --git a/sistema/www/noticias.php b/sistema/www/noticias.php index 9cc65a2..a0c1a16 100644 --- a/sistema/www/noticias.php +++ b/sistema/www/noticias.php @@ -1,41 +1,32 @@ -
- require_once '../local_lib/copete.php'; - $c = new Copete('noticias'); - echo $c->toHTML(); -?> -- - require_once '../local_lib/intranetdb.php'; - require_once 'MECON/HTML/Arbol/ArbolDB.php'; - $db = IntranetDB::connect(); - $dbdata = array( + require_once '../local_lib/HTML_DietMarco.php'; + require_once '../local_lib/intranetdb.php'; + require_once 'MECON/HTML/Arbol/ArbolDB.php'; + require_once '../local_lib/HTML_Titulares.php'; + + $m = new HTML_DietMarco('noticias'); + $m->addTitle('Noticias'); + + $noticias = new HTML_Table(array('width' => '760', 'border' => '0')); + //Esto va a cambiar... + $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(); - ?> - | -- - 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(); - ?> - | -