$page = "boncoins"; include('includes/archi/header.php'); ?> $reqBonsCoins = "SELECT * FROM boncoins ORDER BY date_ins DESC, intitule"; $rsBonsCoins = mysql_query ( $reqBonsCoins ); $lg_max=250; while ( $bc = mysql_fetch_array ( $rsBonsCoins ) ) { ?>
$date_ins = $bc[date_ins]; include('includes/affichage_new.php'); ?> | ||
if ( $bc[img] != '' ) { ?> } else { ?> } ?> |
if ( strlen ($bc[descriptif]) > $lg_max )
{ echo nl2br(substr($bc[descriptif], 0, $lg_max ))."..."; ?>
| |
En savoir plus >>>
}
else
{ echo nl2br($bc[descriptif]);
if ( $bc[pdn] == 1 )
{ ?> Pêche De Nuit autorisée ! } } ?> |