0 ) : ?> = $datemax )) { return true; } else { return false; } } } if (!function_exists('date_compare')) { //tri par ordre chronologique function date_compare($a, $b) { $t1 = strtotime($a['date']); // strtotime = fonction qui transforme une chaine de caractere en date informatque (= un chiffre calcul� depuis 1970) $t2 = strtotime($b['date']); return $t2 - $t1; } } $fiches = array_filter($fiches, "date_periode"); usort($fiches, 'date_compare'); array_slice($fiches, 0, 9) ?>
>
<?php echo htmlspecialchars($fiche['bf_titre']);?>
format($fiche['content']), '
')); ?>

GetParameter('modal') == 1; ?>
AddCSSFile('tools/bazar/presentation/styles/agenda.css'); ?> AddCSSFile('tools/bazar/presentation/styles/news.css'); ?> GetParameter('nbcol'); $width = empty($nbcol) ? 25 : 100 / $nbcol; ?>