diff --git a/htdocs/product/osc-liste.php b/htdocs/product/osc-liste.php
new file mode 100644
index 00000000000..7d6e47c846f
--- /dev/null
+++ b/htdocs/product/osc-liste.php
@@ -0,0 +1,93 @@
+
+ *
+ * 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
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ *
+ * $Id$
+ * $Source$
+ *
+ */
+
+require("./pre.inc.php3");
+
+llxHeader();
+
+$db = new Db();
+
+if ($sortfield == "") {
+ $sortfield="lower(p.label),p.price";
+}
+if ($sortorder == "") {
+ $sortorder="ASC";
+}
+
+
+if ($page == -1) { $page = 0 ; }
+$limit = $conf->liste_limit;
+$offset = $limit * $page ;
+
+
+print_barre_liste("Liste des produits oscommerce", $page, $PHP_SELF);
+
+$sql = "SELECT p.products_id, p.products_model, p.products_quantity, p.products_status, d.products_name, m.manufacturers_name, m.manufacturers_id";
+$sql .= " FROM ".DB_NAME_OSC.".products as p, ".DB_NAME_OSC.".products_description as d, ".DB_NAME_OSC.".manufacturers as m";
+$sql .= " WHERE p.products_id = d.products_id AND d.language_id =" . OSC_LANGUAGE_ID;
+$sql .= " AND p.manufacturers_id=m.manufacturers_id";
+if ($reqstock=='epuise')
+{
+ $sql .= " AND p.products_quantity <= 0";
+}
+
+//$sql .= " ORDER BY $sortfield $sortorder ";
+$sql .= $db->plimit( $limit ,$offset);
+
+print "
";
+print '';
+print "| id | ";
+print "Ref | ";
+print "Titre | ";
+print "Groupe | ";
+print 'Stock | ';
+print 'Status | ';
+ print "
\n";
+
+if ( $db->query($sql) ) {
+ $num = $db->num_rows();
+ $i = 0;
+
+ $var=True;
+ while ($i < $num) {
+ $objp = $db->fetch_object( $i);
+ $var=!$var;
+ print "";
+ print "| $objp->products_id | \n";
+ print "$objp->products_model | \n";
+ print "$objp->products_name | \n";
+ print "$objp->manufacturers_name | \n";
+ print ''.$objp->products_quantity." | \n";
+ print ''.$objp->products_status." | \n";
+ print "
\n";
+ $i++;
+ }
+ $db->free();
+}
+
+print "
";
+
+
+$db->close();
+
+llxFooter("Dernière modification $Date$ révision $Revision$");
+?>
diff --git a/htdocs/product/osc-productsbyreviews.php b/htdocs/product/osc-productsbyreviews.php
new file mode 100644
index 00000000000..7571c1ed806
--- /dev/null
+++ b/htdocs/product/osc-productsbyreviews.php
@@ -0,0 +1,84 @@
+
+ *
+ * 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
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ *
+ * $Id$
+ * $Source$
+ *
+ */
+
+require("./pre.inc.php3");
+
+llxHeader();
+
+$db = new Db();
+
+if ($sortfield == "") {
+ $sortfield="rat";
+}
+if ($sortorder == "") {
+ $sortorder="DESC";
+}
+
+
+if ($page == -1) { $page = 0 ; }
+$limit = $conf->liste_limit;
+$offset = $limit * $page ;
+
+
+print_barre_liste("Liste des produits classés pas critiques", $page, $PHP_SELF);
+
+$sql = "SELECT sum(r.reviews_rating)/count(r.reviews_rating) as rat, r.products_id, p.products_model, p.products_quantity, p.products_status";
+$sql .= " FROM ".DB_NAME_OSC.".reviews as r,".DB_NAME_OSC.".products as p ";
+$sql .= " WHERE r.products_id = p.products_id";
+$sql .= " GROUP BY r.products_id, p.products_model, p.products_quantity, p.products_status";
+
+$sql .= " ORDER BY $sortfield $sortorder ";
+$sql .= $db->plimit( $limit ,$offset);
+
+ print "";
+ print "| Réf";
+ print ' | Indice critiques | ';
+ print 'Quantité';
+ print ' | Status | ';
+ print "
\n";
+
+if ( $db->query($sql) ) {
+ $num = $db->num_rows();
+ $i = 0;
+
+ $var=True;
+ while ($i < $num) {
+ $objp = $db->fetch_object( $i);
+ $var=!$var;
+ print "";
+ print "| $objp->products_model | \n";
+ print ''.$objp->rat." | \n";
+ print ''.$objp->products_quantity." | \n";
+ print ''.$objp->products_status." | \n";
+ print "
\n";
+ $i++;
+ }
+ $db->free();
+}
+
+print "
";
+
+
+$db->close();
+
+llxFooter("Dernière modification $Date$ révision $Revision$");
+?>
diff --git a/htdocs/product/osc-reviews.php b/htdocs/product/osc-reviews.php
new file mode 100644
index 00000000000..0847fa367c5
--- /dev/null
+++ b/htdocs/product/osc-reviews.php
@@ -0,0 +1,78 @@
+
+ *
+ * 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
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ *
+ * $Id$
+ * $Source$
+ *
+ */
+
+require("./pre.inc.php3");
+
+llxHeader();
+
+$db = new Db();
+
+if ($sortfield == "") {
+ $sortfield="lower(p.label),p.price";
+}
+if ($sortorder == "") {
+ $sortorder="ASC";
+}
+
+
+if ($page == -1) { $page = 0 ; }
+$limit = $conf->liste_limit;
+$offset = $limit * $page ;
+
+
+print_barre_liste("Liste des produits oscommerce", $page, $PHP_SELF);
+
+$sql = "SELECT r.reviews_rating FROM ".DB_NAME_OSC.".reviews as r";
+
+//$sql .= " ORDER BY $sortfield $sortorder ";
+$sql .= $db->plimit( $limit ,$offset);
+
+print "";
+print '';
+print " | ";
+print "Prix de vente | ";
+print "
\n";
+
+if ( $db->query($sql) ) {
+ $num = $db->num_rows();
+ $i = 0;
+
+ $var=True;
+ while ($i < $num) {
+ $objp = $db->fetch_object( $i);
+ $var=!$var;
+ print "";
+ print "| $objp->reviews_rating | \n";
+
+ print "
\n";
+ $i++;
+ }
+ $db->free();
+}
+
+print "
";
+
+
+$db->close();
+
+llxFooter("Dernière modification $Date$ révision $Revision$");
+?>