From df59ce1d5a40bfeacb6d7411f937f92adaf10779 Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Sat, 21 Jun 2003 14:23:34 +0000 Subject: [PATCH] =?UTF-8?q?Mise=20en=20conformit=E9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/comm/projet/index.php3 | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/htdocs/comm/projet/index.php3 b/htdocs/comm/projet/index.php3 index a97a5abb5c3..1c61e7166ed 100644 --- a/htdocs/comm/projet/index.php3 +++ b/htdocs/comm/projet/index.php3 @@ -85,7 +85,16 @@ $pagenext = $page + 1; * */ -print "

"; +print '

'; + +print ''; +print ""; +print "\n"; + $sql = "SELECT s.nom, s.idp, p.rowid as projectid, p.ref, p.title,".$db->pdate("p.dateo")." as do"; $sql .= " FROM llx_societe as s, llx_projet as p"; $sql .= " WHERE p.fk_soc = s.idp"; @@ -101,15 +110,6 @@ if ( $db->query($sql) ) { $num = $db->num_rows(); $i = 0; - print '

"; +print_liste_field_titre("Titre",$PHP_SELF,"p.title"); +print "Réf"; +print_liste_field_titre("Société",$PHP_SELF,"s.nom"); +print "
'; - - print ''; - print ""; - print "\n"; while ($i < $num) { @@ -125,7 +125,6 @@ if ( $db->query($sql) ) $i++; } - print "
"; - print_liste_field_titre("Titre",$PHP_SELF,"p.title"); - print "Réf"; - print_liste_field_titre("Société",$PHP_SELF,"s.nom"); - print "
"; $db->free(); } else @@ -133,6 +132,9 @@ else print $db->error(); } +print ""; + + $db->close(); llxFooter("Dernière modification $Date$ révision $Revision$"); ?>