From 566248536176c4283b9ff149e80aff329017445e Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Mon, 20 Mar 2006 15:17:01 +0000 Subject: [PATCH] =?UTF-8?q?Fix:=20le=20FORM=20n'=E9tait=20pas=20dans=20la?= =?UTF-8?q?=20boucle?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/product/fiche.php | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/htdocs/product/fiche.php b/htdocs/product/fiche.php index 042ce192f2c..fc30b4aba03 100644 --- a/htdocs/product/fiche.php +++ b/htdocs/product/fiche.php @@ -756,7 +756,6 @@ if ($_GET["id"] && $_GET["action"] == '' && $product->status) if ($result) { $num = $db->num_rows($result); - print '
'; print ''; if ($num) { @@ -766,6 +765,7 @@ if ($_GET["id"] && $_GET["action"] == '' && $product->status) { $objp = $db->fetch_object($result); $var=!$var; + print ''; print ""; print "'; print ''; + print ''; $i++; } } @@ -789,7 +790,6 @@ if ($_GET["id"] && $_GET["action"] == '' && $product->status) print ""; } print "
"; print ''; @@ -780,6 +780,7 @@ if ($_GET["id"] && $_GET["action"] == '' && $product->status) print ''; print '
"; - print ''; $db->free($result); } @@ -866,7 +866,6 @@ if ($_GET["id"] && $_GET["action"] == '' && $product->status) { $num = $db->num_rows($result); $var=true; - print '
'; print ''; if ($num) { $i = 0; @@ -874,6 +873,7 @@ if ($_GET["id"] && $_GET["action"] == '' && $product->status) { $objc = $db->fetch_object($result); $var=!$var; + print ''; print ""; print "'; print ''; + print ''; $i++; } } @@ -897,7 +898,6 @@ if ($_GET["id"] && $_GET["action"] == '' && $product->status) print ""; } print "
"; print ''; @@ -888,6 +888,7 @@ if ($_GET["id"] && $_GET["action"] == '' && $product->status) print ''; print '
"; - print ''; $db->free($result); } @@ -969,7 +969,6 @@ if ($_GET["id"] && $_GET["action"] == '' && $product->status) { $num = $db->num_rows($result); $var=true; - print '
'; print ''; if ($num) { @@ -977,8 +976,8 @@ if ($_GET["id"] && $_GET["action"] == '' && $product->status) while ($i < $num) { $objp = $db->fetch_object($result); - $var=!$var; + print ''; print ""; print "'; print ''; + print ''; $i++; } } @@ -1001,7 +1001,6 @@ if ($_GET["id"] && $_GET["action"] == '' && $product->status) print ''; } print "
"; print ''; @@ -992,6 +991,7 @@ if ($_GET["id"] && $_GET["action"] == '' && $product->status) print ''; print '
"; - print ''; $db->free($result); } else @@ -1028,7 +1027,6 @@ if ($_GET["id"] && $_GET["action"] == '' && $product->status) { $num = $db->num_rows($result); $var=true; - print '
'; print ''; if ($num) { $i = 0; @@ -1037,6 +1035,7 @@ if ($_GET["id"] && $_GET["action"] == '' && $product->status) $objp = $db->fetch_object($result); $var=!$var; + print ''; print ""; print "\n"; print "\n"; @@ -1050,6 +1049,7 @@ if ($_GET["id"] && $_GET["action"] == '' && $product->status) print ''; print ''; print ''; + print ''; $i++; } } @@ -1059,7 +1059,6 @@ if ($_GET["id"] && $_GET["action"] == '' && $product->status) print ''; } print "
factureid\">$objp->facnumberidp\">$objp->nom
"; - print ''; $db->free($result); } else