From fa86347fa4abce9cbbfd1714aa7d7eb689f4eefc Mon Sep 17 00:00:00 2001 From: Dany De Bontridder Date: Fri, 6 May 2011 18:34:51 +0000 Subject: [PATCH] Add new Object for table --- include/class_html_table.php | 109 +++++++++++++++++++++++++++++++++++ 1 file changed, 109 insertions(+) create mode 100644 include/class_html_table.php diff --git a/include/class_html_table.php b/include/class_html_table.php new file mode 100644 index 000000000..0470ffbc4 --- /dev/null +++ b/include/class_html_table.php @@ -0,0 +1,109 @@ +',$table_style); + $r.=''; + for ( $i=0;$i %s', + $a_col[$i]['link'], + $content); + $r.="$content"; + } + else + $r.= th($content); + } + $r.=''; + $ret=$cn->exec_sql($sql); + for ($i=0;$i'N° de fiche', + 'style'=>'text-align:right', + 'link'=>$url), + array('name'=>'Nom', + 'style'=>'text-align:right'), + array('name'=>'QuickCode') + ) + , + $sql + ); + } +} \ No newline at end of file