1165 |
jp_milcent |
1 |
<!-- SYNDICATION - DEBUT -->
|
|
|
2 |
<?php if ($erreurs) : ?>
|
|
|
3 |
<?php foreach ($erreurs as $erreur) : ?>
|
|
|
4 |
<p class="pap_erreur"><?=$erreur;?></p>
|
|
|
5 |
<?php endforeach; ?>
|
|
|
6 |
<?php elseif ($informations) : ?>
|
|
|
7 |
<?php foreach ($informations as $information) : ?>
|
|
|
8 |
<p class="pap_info"><?=$information;?></p>
|
|
|
9 |
<?php endforeach; ?>
|
|
|
10 |
<?php else : ?>
|
|
|
11 |
<ul class="rss_liste">
|
|
|
12 |
<?php foreach ($pages as $page) : ?>
|
|
|
13 |
<li class="rss_page">
|
|
|
14 |
<h1 class="rss_titre_site"><a href="<?=$page['site']['url'];?>"><?=$page['site']['titre'];?></a> - <span class="rss_date"><?=$page['date'];?></span></h1>
|
|
|
15 |
<h2 class="rss_titre_article"><a href="<?=$page['url'];?>" <?=($page['ext'])? 'onclick="window.open(this.href); return false;" title="S\'ouvre dans une nouvelle fenĂȘtre"':'';?> ><?=$page['titre'];?></a></h2>
|
|
|
16 |
</li>
|
|
|
17 |
<?php endforeach; ?>
|
|
|
18 |
</ul>
|
|
|
19 |
<?php endif; ?>
|
|
|
20 |
<!-- SYNDICATION - FIN -->
|