Subversion Repositories eFlore/Applications.eflore-consultation

Rev

Rev 1130 | 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']['citation']?></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']['citation']?></span><br/>
                <div id="illustrations">
                        <ul class="liste-illustrations allow-break">
                                <li>   
                                        <img src="<?= $illustrations['cel']['images']['src']; ?>" />
                                        <p>
                                                à <strong class="localisation"><?= $illustrations['cel']['images']['commune']; ?></strong><br />
                                                observée le <strong class="date-creation"><?= $illustrations['cel']['images']['date']; ?></strong><br/> 
                                                par <strong class="auteur"><?= $illustrations['cel']['images']['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']) ) : ?>
        Aucune donnée.
        <?php endif; ?>
</div>
<br/>
<br/>