New file |
0,0 → 1,23 |
<!-- SYNDICATION - DEBUT --> |
<?php if ($erreurs) : ?> |
<?php foreach ($erreurs as $erreur) : ?> |
<p class="pap_erreur"><?=$erreur;?></p> |
<?php endforeach; ?> |
<?php elseif ($informations) : ?> |
<?php foreach ($informations as $information) : ?> |
<p class="pap_info"><?=$information;?></p> |
<?php endforeach; ?> |
<?php else : ?> |
<?php foreach ($sites as $site) : ?> |
<?php foreach ($site['pages'] as $page) : ?> |
<div class="menu_titre"> |
<h1 class="intituler_rubrique"><a class="lien_rss" href="<?=$page['url'];?>" <?=($site['ext'])? 'onclick="window.open(this.href); return false;"':'';?>><?=$page['titre'];?></a></h1> |
<p class="date"><?php echo $page['category']; ?> début le <?php echo $GLOBALS['jours'][date ('w', strtotime ($page['date']))].' '.date('d', strtotime($page['date'])). |
' '.$GLOBALS['mois'][date('n', strtotime ($page['date']))].' '.date ('Y', strtotime ($page['date'])); ?> par <?php echo $page['author']; ?></p> |
<p class="descriptif_contenu"><?php echo substr($page['description'], 0, 400); ?></p> |
</div> |
<hr /> |
<?php endforeach; ?> |
<?php endforeach; ?> |
<?php endif; ?> |
<!-- SYNDICATION - FIN --> |