time()) { if (!isset($initTitre)) { $initTitre = ""; print "

Nos prochaines formations

\n"; } print "

"; $cpt2 = 1; while ($cpt2 <= $nb_date_date) { // Affichage des dates de formation if ($date_date[$cpt2][$cpt] > 0) { if ($cpt2 > 1) print " - "; print $jour[$cpt2][$cpt] . " "; if (($annee[$cpt2+1][$cpt] != $annee[$cpt2][$cpt]) OR (($date_date[$cpt2+1][$cpt] > 0) AND ($mois[$cpt2][$cpt] != $mois[$cpt2+1][$cpt]))) { print $moisName[intval($mois[$cpt2][$cpt])]; } if (($date_date[$cpt2+1][$cpt] == 0) OR (($annee[$cpt2+1][$cpt] != $annee[$cpt2][$cpt]) AND ($cpt2 != 1))) { print " " . $annee[$cpt2][$cpt]; } } $cpt2 = $cpt2 + 1; } print " : "; if ($formation_titre0[$cpt] != "") print $formation_titre0[$cpt] . " "; ?>.

"; } $cpt = $cpt + 1; } // Affichage des dernieres formations $cpt = 0; while ($cpt < $nbFormation) { // Affichage des formations if (mktime(09,00,00,$mois[1][$cpt],$jour[1][$cpt],$annee[1][$cpt]) <= time()) { if (!isset($initTitre2)) { $initTitre2 = ""; print "

Nos dernières formations

\n"; } print "

"; $cpt2 = 1; while ($cpt2 <= $nb_date_date) { // Affichage des dates de formation if ($date_date[$cpt2][$cpt] > 0) { if ($cpt2 > 1) print " - "; print $jour[$cpt2][$cpt] . " "; if (($annee[$cpt2+1][$cpt] != $annee[$cpt2][$cpt]) OR (($date_date[$cpt2+1][$cpt] > 0) AND ($mois[$cpt2][$cpt] != $mois[$cpt2+1][$cpt]))) { print $moisName[intval($mois[$cpt2][$cpt])]; } if (($date_date[$cpt2+1][$cpt] == 0) OR (($annee[$cpt2+1][$cpt] != $annee[$cpt2][$cpt]) AND ($cpt2 != 1))) { print " " . $annee[$cpt2][$cpt]; } } $cpt2 = $cpt2 + 1; } print " : "; if ($formation_titre0[$cpt] != "") print $formation_titre0[$cpt] . " "; ?>.

"; } $cpt = $cpt + 1; } print $footPage; ?>