26,20 → 26,8 |
<?php foreach ($flux as $key=>$news) : ?> |
<h2 class="rss_titre_article"><a href="<?=$news[0];?>" class="lien_ext"><?php echo preg_replace('/^\d+-\d+ :/', '', $news[1]);?></a></h2> |
<h1 class="rss_titre_site"><?= $news[2]; ?> - <span class="date"><?php echo $GLOBALS['jours'][date ('w', $news[3])].' '.date('d',$news[3]). |
' '.$GLOBALS['mois'][date('n', $news[3])].' '.date ('Y', strtotime ($news[3])); ?></span></h1> |
|
' '.$GLOBALS['mois'][date('n', $news[3])].' '.date ('Y', $news[3]); ?></span></h1> |
<?php endforeach; ?> |
|
<!-- |
<?php foreach ($sites as $site) : ?> |
<?php foreach ($site['pages'] as $page) : ?> |
<h2 class="rss_titre_article"><a href="<?=$page['url'];?>" class="lien_ext"><?php echo preg_replace('/^\d+-\d+ :/', '', $page['titre']);?></a></h2> |
<h1 class="rss_titre_site"><?= $site['titre']; ?> - <span class="date"><?php echo $GLOBALS['jours'][date ('w', strtotime ($page['date']))].' '.date('d', strtotime($page['date'])). |
' '.$GLOBALS['mois'][date('n', strtotime ($page['date']))].' '.date('Y'); ?></span></h1> |
|
<?php endforeach; ?> |
<?php endforeach; ?> |
--> |
</div> |
<?php endif; ?> |
<!-- SYNDICATION - FIN --> |