'.$tabproduct[id].' and affiliate=1 and rank<>0 and shop.id<>'.$tabShop[id].' and product.range<>'.$tabproduct[range].' group by shop.id order by rank asc limit 5'; if ($db->query($query) && $db->num_rows()>0) { echo "
 Les Offres similaires"; echo "
"; echo " "; while ($db->next_record()) { $tabPos=getPosition($db->field(pid)); echo ""; } echo "
NoteHébergeurOffreClassement
".displayScore(getScore($db->field(sid)))."field(slink).">".$db->field(company)."  field(plink).">Offre ".$db->field(name)."($tabPos[phrase])


"; } ?>