Ajout navigation next et preview

This commit is contained in:
Regis Houssin
2006-02-19 17:48:20 +00:00
parent 5759fdae3f
commit a113a9674e

View File

@@ -37,8 +37,9 @@ $types[1] = $langs->trans("Service");
*/
if ($_GET["id"] || $_GET["ref"])
{
if ($_GET["ref"]) $result = $product->fetch('',$_GET["ref"]);
if ($_GET["id"]) $result = $product->fetch($_GET["id"]);
$product = new Product($db);
if ($_GET["ref"]) $result = $product->fetch('',$_GET["ref"]);
if ($_GET["id"]) $result = $product->fetch($_GET["id"]);
}
llxHeader("","",$langs->trans("CardProduct0"));