Line 22... |
Line 22... |
22 |
<!-- Affichage du flux RSS -->
|
22 |
<!-- Affichage du flux RSS -->
|
23 |
<?php $flux = array(); ?>
|
23 |
<?php $flux = array(); ?>
|
24 |
<?php foreach ($sites as $site) : ?>
|
24 |
<?php foreach ($sites as $site) : ?>
|
25 |
<h1><?=$site['titre']?></h1>
|
25 |
<h1><?=$site['titre']?></h1>
|
26 |
<div class="contenu_RSS" id="<?=$site['id']?>">
|
26 |
<div class="contenu_RSS" id="<?=$site['id']?>">
|
27 |
<a href="http://www.tela-botanica.org/eflore/cel2/jrest/CelSyndicationObservation/par-defaut/rss2" class="suivre-observations" title="Suivre les observations" target="_blank">Suivre les observations</a>
|
27 |
<a href="http://www.tela-botanica.org/eflore/cel2/jrest/CelSyndicationImage/Simple/rss2/S" class="suivre-observations" title="Suivre les observations" target="_blank">Suivre les observations</a>
|
28 |
<?php foreach ($site['pages'] as $page) : ?>
|
28 |
<?php foreach ($site['pages'] as $page) : ?>
|
29 |
<?php
|
29 |
<?php
|
30 |
$date = strtotime($page['date']);
|
30 |
$date = strtotime($page['date']);
|
31 |
$titre_page = preg_replace('/^\d+-\d+ :/', '', $page['titre']);
|
31 |
$titre_page = preg_replace('/^\d+-\d+ :/', '', $page['titre']);
|
32 |
?>
|
32 |
?>
|