Rev 828 | Blame | Compare with Previous | Last modification | View Log | RSS feed
<!-- SYNDICATION - DEBUT --><div class="flux_simple"><?php if ($erreurs || $informations) : ?><h1>Erreur</h1><div class="contenu_RSS"><b>Impossible d'afficher le flux.</b><br /><!-- Affichage des erreurs et messages d'information : --><?php if ($erreurs) : ?><?php foreach ($erreurs as $erreur) : ?><p class="pap_erreur"><?=$erreur;?></p><?php endforeach; ?><?php endif; ?><?php if ($informations) : ?><?php foreach ($informations as $information) : ?><p class="pap_info"><?=$information;?></p><?php endforeach; ?><?php endif; ?></div><?php else : ?><!-- Affichage du flux RSS --><?php $flux = array(); ?><?php foreach ($sites as $site) : ?><h1><?=$site['titre']?></h1><div class="contenu_RSS" id="<?=$site['id']?>"><?php foreach ($site['pages'] as $page) : ?><?php$date = strtotime($page['date']);$titre_page = preg_replace('/^\d+-\d+ :/', '', $page['titre']);?><div id="actualites1"><div id="texteActualites1"><?php// Pr�paration de la variable de date en cha�ne de caract�res$date_string = "";$date_string .= $GLOBALS['jours'][date ('w', $date)];$date_string .= ' '.date ('d', $date);$date_string .= ' '.$GLOBALS['mois'][date('n', $date)];$date_string .= ' '.date ('Y', $date);?><h3><a href="<?=$page['url']?>" class="lien_ext"><?=$titre_page?></a></h3><p class="sous-titre"><?=$date_string?></p></div></div><br /><?php endforeach; ?><?php endforeach; ?></div><?php endif; ?></div><!-- SYNDICATION - FIN -->