Rev 705 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed
<!-- ILLUSTRATIONS -->
<div class="bloc no-break">
<div class="categorie">Illustrations</div>
<!-- COSTE toutes -->
<?php if (empty($illustrations['coste']['images']) == false) :?>
<div class="deux-colonnes">
<h2>Illustration de la flore de Coste</h2>
<span class="citation"><?= $illustrations['coste']['meta']['titre']?></span><br/>
<div id="illustrations">
<ul class="liste-illustrations allow-break">
<?php foreach($illustrations['coste']['images'] as $url) : ?>
<li>
<img src="<?= $url; ?>" alt="illustration de la flore de coste" />
</li>
<?php endforeach; ?>
</ul>
<hr class="nettoyage" />
</div>
</div>
<?php endif;?>
<!-- CEL la première image -->
<?php if (isset($illustrations['cel']['images'])) : ?>
<div class="deux-colonnes">
<h2>Carnet En Ligne (CEL)</h2>
<span class="citation"><?= $illustrations['cel']['meta']['titre']?></span><br/>
<div id="illustrations">
<? $image = reset($illustrations['cel']['images']);?>
<ul class="liste-illustrations allow-break">
<li>
<img src="<?= $image['src']; ?>" />
<p>
à <strong class="localisation"><?= $image['commune']; ?></strong><br />
observée le <strong class="date-creation"><?= $image['date']; ?></strong><br />
par <strong class="auteur"><?= $image['auteur']; ?></strong>
</p>
</li>
</ul>
<hr class="nettoyage" />
</div>
</div>
<?php endif; ?>
<hr class="nettoyage" />
<!-- VIDE DE DONNEES -->
<?php if (!isset($illustrations['cel']['images']) && empty($illustrations['coste']['images']) ) : ?>
Auncune donnée.
<?php endif; ?>
</div>
<br/>
<br/>