| Baby Geek 
Offres de Noël
=$info_cat['infos_date_debut'] && $today <= $info_cat['infos_date_expiration']) ){ // $liste_cases[$info_cat['infos_sort_order']]['infos_nb_col'] = $info_cat['infos_nb_col']; // $liste_cases[$info_cat['infos_sort_order']]['infos_url'] = $info_cat['infos_url']; // $liste_cases[$info_cat['infos_sort_order']]['infos_image'] = $info_cat['infos_image']; // $liste_cases[$info_cat['infos_sort_order']]['infos_image_balise_alt'] = $info_cat['infos_image_balise_alt']; // $liste_cases[$info_cat['infos_sort_order']]['infos_nom'] = $info_cat['infos_nom']; // $liste_cases[$info_cat['infos_sort_order']]['infos_titre'] = $info_cat['infos_titre']; // $liste_cases[$info_cat['infos_sort_order']]['infos_texte'] = $info_cat['infos_texte']; // $liste_cases[$info_cat['infos_sort_order']]['infos_commentaire'] = $info_cat['infos_commentaire']; // } // } // } $listing_sql = tep_db_query("SELECT DISTINCT p.products_id, p.products_model, p.products_image, p.products_price, p.products_tax_class_id, p.products_preco, p.products_precodate,pd.products_name,pd.products_description FROM ".TABLE_PRODUCTS." p, ".TABLE_PRODUCTS_DESCRIPTION." pd, ".TABLE_PRODUCTS_TO_CATEGORIES." p2c WHERE p.products_id = pd.products_id AND p.products_id = p2c.products_id AND pd.products_id = p2c.products_id AND p2c.products_status = '1' AND p.products_epuise='0' AND p2c.flag = '1' AND p2c.categories_id <> '".VENTE_PRIVEE_CAT."' AND pd.language_id = '".(int)$languages_id."' AND p2c.categories_id = '".$current_category_id."' ORDER BY p.products_epuise ASC, p.products_preco ASC, products_date_added ASC, p.products_model ASC "); while ($listing = tep_db_fetch_array($listing_sql)){ $reference = explode('_',str_replace('PROMO_','',$listing['products_model'])); if (mb_ereg('OFFRE_', $listing['products_model']) || $listing['products_model']=='BUNDLE' ){ $image = str_replace('.jpg','.png',$listing['products_image']); } else { $image = $listing['products_model'].'_480.png'; } if(ben_get_is_composant($listing['products_model'])==0){ $name = $listing['products_name']; } else{ $name = ben_get_product_design_name($reference[0]); } $affichage .= '
'; $affichage .= '
'; $affichage .= ''; $affichage .= ''.$name.''; $affichage .= '
'; if(strlen($name)>45){ $affichage .= substr($name,0,45).'...'; } else{ $affichage .= $name; } $affichage .= '
'; $affichage .= '
'; $affichage .= '
'; $affichage .= '
'.$listing['products_description'].'
'; $affichage .= '
'; $affichage .= '
'; if (tep_not_null(tep_get_products_special_price($listing['products_id'])) ){ $affichage .= '
'.TEXT_PRICE.'
'; $affichage .= '
  '.$currencies->display_price(tep_get_products_special_price($listing['products_id']), tep_get_tax_rate($listing['products_tax_class_id'])).$temp.'
'; $affichage .= '
    '.$currencies->display_price($listing['products_price'], tep_get_tax_rate($listing['products_tax_class_id'])).$temp.'
'; } else{ $affichage .= '
'.TEXT_PRICE.'
'; $affichage .= $currencies->display_price($listing['products_price'], tep_get_tax_rate($listing['products_tax_class_id'])).$temp; } if($listing['products_id']=='8083'){ $affichage .= '
  + 
 UN BAVOIR OFFERT
'; } if($listing['products_id']=='8084'){ $affichage .= '
  + 
 UN BAVOIR OFFERT
'; } if($listing['products_id']=='8085'){ $affichage .= '
  + 
 UN BODY OU T-SHIRT OFFERT
'; } $affichage .= '
'; $affichage .= '
'; $affichage .= ''; $affichage .= '
'.TEXT_JEN_PROFITE.'
'; $affichage .= '
'; $affichage .= '
'; $affichage .= '
'; $affichage .= '
'; } echo $affichage; ?>