From 49cc080e37b402e92f8be7b70d7c9acefa9e43db Mon Sep 17 00:00:00 2001 From: Leandro Lucarella Date: Tue, 22 Jul 2003 17:36:51 +0000 Subject: [PATCH] Primer draft del listado de sistemas. --- sistema/www/sistemas.php | 53 ++++++++++++++++++++++++++-------------- 1 file changed, 35 insertions(+), 18 deletions(-) diff --git a/sistema/www/sistemas.php b/sistema/www/sistemas.php index a4cbd58..726f586 100644 --- a/sistema/www/sistemas.php +++ b/sistema/www/sistemas.php @@ -1,19 +1,36 @@ -addTitle('Sistemas'); - - $db = IntranetDB::connect(); - $dbdata = array( - 'db' => $db, - 'tabla' => 'sistema', - 'id' => 'sistema', - 'nombre' => 'sistema', - 'link' => 'link'); - $arbol = new HTML_ArbolDB($dbdata, 'SISTEMAS'); - - $m->addBodyContent($arbol); - $m->display(); + '100%', + 'cellspacing' => '0', + 'cellpadding' => '0', + 'border' => '0', + ) +); + +$db = AI_DB::connect('../conf/AI_DB.ini'); +$sistemas = ; + +foreach (AI_Sistema::getSistemas($db) as $sistema) { + $t->addRow( + array($sistema->icono, $sistema->nombre, $sistema->descripcion), + array('bgcolor' => '#FF0000') + ); +} + +$m = new HTML_DietMarco('sistemas'); +$m->addTitle('Sistemas'); +$m->addBodyContent($t); +$m->display(); + ?> -- 2.43.0