Subversion Repositories eFlore/Applications.eflore-consultation

Rev

Rev 671 | Blame | Last modification | View Log | RSS feed

<!-- Classification -->
<div class="bloc <? if ($premier == 'classification'): echo 'allow-break'; else : echo 'no-break'; endif; ?>">
        <div class="categorie">Classification</div>
        <div class="no-break">
                <?php if ($classification['taxons_sup'] != array()) : ?>
                <h2> Place du taxon dans la classification </h2>
                <span class="citation"><?= $classification['meta']['titre']?></span>
                <table class="allow-break">
                        <tr>
                                <th>Rang</th><th>Nom Scientifique</th><th>Num Nom</th>
                        </tr>
                        
                                <?php foreach ($classification['taxons_sup']  as $taxon) : ?>
                                        <tr>
                                                <td><?= $taxon['rang.libelle'] ?></td>
                                                <td><?= $taxon['nom_sci'] ?></td>
                                                <td><?= $taxon['num_nom'] ?></td>
                                        </tr>
                                <?php endforeach; ?>
                        
                        <tr class='surlignage'>
                                <td><?= $classification['taxon_courant']['rang.libelle'] ?></td>
                                <td><?= $classification['taxon_courant']['nom_sci'] ?></td>
                                <td><?= $classification['taxon_courant']['num_nom'] ?></td>
                        </tr>
                        
                        <?php if ($classification['taxons_inf'] != array()) : ?>        
                                <?php foreach($classification['taxons_inf'] as $taxon) : ?>
                                        <tr>
                                                <td><?= $taxon['rang.libelle'] ?></td>
                                                <td><?= $taxon['nom_sci'] ?></td>
                                                <td><?= $taxon['num_nom'] ?></td>
                                        </tr>
                                <?php endforeach; ?>
                        <?php endif; ?>
                </table>
                <?php endif; ?>
                </div>
                
                <!-- VIDE DE DONNEES -->
        <?php if ( empty($classification['taxons_sup']) && empty($classification['taxon_inf'] ) ) : ?>
        Aucune donnée.
        <?php endif; ?>
        </div>
<br/>
<br/>