Module Sites web: Difference between revisions

Jump to navigation Jump to search
m
Tag: 2017 source edit
Tag: 2017 source edit
Line 123: Line 123:
             <div class="center">
             <div class="center">
             <?php  
             <?php  
            include_once DOL_DOCUMENT_ROOT.'/product/class/product.class.php';
            $product = new Product($db);
             $weblangs->loadLangs(array("main"));
             $weblangs->loadLangs(array("main"));
             $sql = 'SELECT rowid, ref FROM '.MAIN_DB_PREFIX.'product WHERE tosell > 0';
             $sql = 'SELECT rowid, ref FROM '.MAIN_DB_PREFIX.'product WHERE tosell > 0';
             $resql = $db->query($sql);
             $resql = $db->query($sql);

Navigation menu