popurop -> popuprop

This commit is contained in:
erics 2004-11-06 06:54:31 +00:00
parent a87a303d72
commit 4e88c55e76

View File

@ -1,6 +1,7 @@
<?php
/* Copyright (C) 2001-2003 Rodolphe Quiedeville <rodolphe@quiedeville.org>
* Copyright (C) 2004 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2004 Eric Seigne <eric.seigne@ryxeo.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@ -38,14 +39,14 @@ $offset = $limit * $page ;
llxHeader();
print_barre_liste("Liste des produits par popularité dans les propositions commerciales", $page, "popurop.php");
print_barre_liste("Liste des produits par popularité dans les propositions commerciales", $page, "popuprop.php");
print '<table class="noborder" width="100%">';
print "<tr class=\"liste_titre\">";
print_liste_field_titre($langs->trans("Ref"),"popurop.php", "p.ref");
print_liste_field_titre($langs->trans("Label"),"popurop.php", "p.label");
print_liste_field_titre("Nb. de proposition","popurop.php", "c","","",'align=\"center\"');
print_liste_field_titre($langs->trans("Ref"),"popuprop.php", "p.ref");
print_liste_field_titre($langs->trans("Label"),"popuprop.php", "p.label");
print_liste_field_titre("Nb. de proposition","popuprop.php", "c","","",'align=\"center\"');
print "</tr>\n";
$sql = "select p.rowid, p.label, p.ref, count(*) as c from ".MAIN_DB_PREFIX."propaldet as pd, ".MAIN_DB_PREFIX."product as p where p.rowid = pd.fk_product group by (p.rowid)";