Line 144... |
Line 144... |
144 |
if ((file_exists(BAZ_CHEMIN_APPLI.'templates/'.$GLOBALS['_BAZAR_']['typeannonce'].'-fiche.php'))) {
|
144 |
if ((file_exists(BAZ_CHEMIN_APPLI.'templates/'.$GLOBALS['_BAZAR_']['typeannonce'].'-fiche.php'))) {
|
145 |
include_once(BAZ_CHEMIN_APPLI.'templates/'.$GLOBALS['_BAZAR_']['typeannonce'].'-fiche.php');
|
145 |
include_once(BAZ_CHEMIN_APPLI.'templates/'.$GLOBALS['_BAZAR_']['typeannonce'].'-fiche.php');
|
146 |
$res .=genere_fiche($ligne);
|
146 |
$res .=genere_fiche($ligne);
|
147 |
}
|
147 |
}
|
148 |
//on affiche ligne par ligne sinon
|
148 |
//on affiche ligne par ligne sinon
|
149 |
else {
|
149 |
else {
|
150 |
|
- |
|
151 |
//cas d'une image personalisée
|
150 |
//cas d'une image personalisée
|
152 |
if (isset($ligne['bf_url_image'])) {
|
151 |
if (isset($ligne['bf_url_image'])) {
|
153 |
$res .= '<div id="fiche_image">'."\n";
|
152 |
$res .= '<div id="fiche_image">'."\n";
|
154 |
$res .= '<img src="client/bazar/images/'.$ligne['bf_url_image'].'" border=0 alt="'.BAZ_TEXTE_IMG_ALTERNATIF.'" width="130" height="130" />'."\n";
|
153 |
$res .= '<img src="client/bazar/images/'.$ligne['bf_url_image'].'" border=0 alt="'.BAZ_TEXTE_IMG_ALTERNATIF.'" width="130" height="130" />'."\n";
|
155 |
$res .= '</div>'."\n";
|
154 |
$res .= '</div>'."\n";
|