$page = "news"; include('includes/archi/header.php'); ?> $reqNews = "SELECT * FROM news WHERE archive <> 1 ORDER BY date_redac DESC"; $rsNews = mysql_query ( $reqNews ); $lg_max=250; while ( $n = mysql_fetch_array ( $rsNews ) ) { ?>
$date_ins = $n[date_redac]; include('includes/affichage_new.php'); ?> | ||
if ( $n[img_1] != '' ) { ?> } else { ?> } ?> |
if ( strlen ($n[descriptif]) > $lg_max || $n[img_2] != '' || $n[img_3] != '' )
{ echo nl2br(substr($n[descriptif], 0, $lg_max ))."..."; ?>
| |
En savoir plus >>> } else { echo nl2br($n[descriptif]); } ?> |