Subversion Repositories eFlore/Applications.eflore-consultation

Rev

Rev 668 | Rev 690 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

<!-- DESCRIPTION -->
<div class="bloc <?if ($premier == 'description') : echo 'allow-break'; else : echo 'no-break' ; endif; ?>">

        <div class="categorie">Description</div>
                <!-- COSTE -->
                <? if (!empty($description['coste']['description'])) :  ?>
                <div class="no-break">
                        <h2> Description de Coste  </h2>
                        <span class="citation"><?=$description['coste']['meta']['citation']?></span>
                        <div>
                                <table class="desc">
                                                 <tr>
                                                        <td>
                                                                <?if ($description['coste']['description']['nom_scientifique'] != '') : ?>
                                                                        <span class="gras"> 
                                                                        <?=$description['coste']['description']['nom_scientifique']; ?>
                                                                        </span> 
                                                                <? endif; ?>
                                                                <?if ($description['coste']['description']['nom_commun'] != '') : ?>
                                                                        <span class="italique">
                                                                        <?=$description['coste']['description']['nom_commun']; ?>
                                                                        </span>
                                                                <? endif; ?>
                                                        </td>
                                                 </tr>
                                                 <?if ($description['coste']['description']['synonymes'] != '') : ?>
                                                        <tr>
                                                                <td>
                                                                        <span class="titre">Synonymes </span>
                                                                        <?=$description['coste']['description']['synonymes']; ?> 
                                                                </td>
                                                        </tr>
                                                <? endif; ?>
                                                 <tr>
                                                        <td>
                                                                <?if ($description['coste']['description']['texte'] != '') : ?>
                                                                        <?=$description['coste']['description']['texte']; ?> 
                                                                <? endif; ?>
                                                        </td>
                                                </tr>
                                                <?if ($description['coste']['description']['ecologie'] != '') : ?>
                                                         <tr>
                                                                <td>
                                                                        <span class="titre">Écologie </span>
                                                                        <?=$description['coste']['description']['ecologie']; ?>
                                                                </td>
                                                        </tr>
                                                <? endif; ?>
                                                <?if ($description['coste']['description']['repartition'] != '') : ?>
                                                        <tr>
                                                                <td>
                                                                        <span class="titre">Répartition </span>
                                                                        <?=$description['coste']['description']['repartition']; ?> 
                                                                </td>
                                                        </tr>
                                                <? endif; ?>
                                                <?if ($description['coste']['description']['floraison'] != '') : ?>                             
                                                         <tr>
                                                                 <td>
                                                                        <span class="titre">Floraison </span>
                                                                        <?=$description['coste']['description']['floraison']; ?>
                                                                        <?if ($description['coste']['description']['fructification'] != '') : ?>
                                                                                <span class="titre">Fructification </span>
                                                                                <?=$description['coste']['description']['fructification']; ?>
                                                                        <? endif; ?>
                                                                </td>
                                                        </tr>
                                                <? endif; ?>
                                                <?if ($description['coste']['description']['usages'] != '') : ?>                                                
                                                 <tr>
                                                        <td>
                                                                <span class="titre">Usages</span>
                                                                <?=$description['coste']['description']['usages']; ?>
                                                        </td>
                                                </tr>
                                                <? endif;?>
                                        </table>
                        </div>
                </div>
                <br/>
                <? endif; ?>
                
                
                <!-- BASEFLOR -->
                <? if (!empty($description['baseflor'])) : ?>
                <div class="no-break"> 
                <h2>Description Baseflor </h2>
                <span class="citation"><?=$description['baseflor']['meta']['citation']?> </span>
                        <div>
                                <table class="desc">
                                        <tr> 
                                                <td colspan="2">
                                                        <?if ($description['baseflor']['type_bio'] != '') : ?>
                                                                <span class="titre">Type Biologique : </span>
                                                                <?=$description['baseflor']['type_bio']; ?> 
                                                        <? endif; ?>    
                                                </td>
                                        </tr>
                                        <tr>
                                                <td colspan="2">
                                                        <?if ($description['baseflor']['form_vegetale'] != '') :?>
                                                                <span class="titre">Forme végétale : </span> 
                                                                <?=$description['baseflor']['form_vegetale']; ?> 
                                                        <? endif; ?>
                                                </td>
                                        </tr>
                                        <tr>
                                                <td colspan="2">
                                                        <?if ($description['baseflor']['chorologie'] != '') :?>
                                                                <span class="titre">Chorologie : </span>
                                                                <?=$description['baseflor']['chorologie'] ?> 
                                                        <? endif; ?>
                                                </td>
                                        </tr>
                                        <tr>
                                                <td >           
                                                        <?if ($description['baseflor']['inflorescence'] != '') :?>
                                                                <span class="titre">Inflorescence :</span> 
                                                                <?=$description['baseflor']['inflorescence'];?> <br/>
                                                        <? endif; ?>
                                                        <?if ($description['baseflor']['fruit'] != '') :?>
                                                                <span class="titre">Fruit :</span>
                                                                <?=$description['baseflor']['fruit']; ?> <br/>
                                                        <? endif; ?>                    
                                                        <?if ($description['baseflor']['couleur_fleur'] != '') :?>
                                                                <span class="titre">Couleur de la fleur : </span>
                                                                <?=$description['baseflor']['couleur_fleur'];?>  <br/>
                                                        <? endif; ?>
                                                        <?if ($description['baseflor']['macule'] != '') :?>
                                                                <span class="titre">Macule : </span>
                                                                <?=$description['baseflor']['macule']; ?> <br/>
                                                        <? endif; ?>            
                                                        <?if ($description['baseflor']['floraison'] != '') :?>
                                                                <span class="titre">Floraison : </span>
                                                                <?=$description['baseflor']['floraison']; ?> <br/>
                                                        <? endif; ?>
                                                </td>
                                                <td>    
                                                        <?if ($description['baseflor']['sexualite'] != '') :?>
                                                                <span class="titre">sexualité : </span>
                                                                <?=$description['baseflor']['sexualite'] ; ?> <br/>
                                                        <? endif; ?>
                                                        <?if ($description['baseflor']['ordre_maturation'] != '') :?>
                                                                <span class="titre">Ordre de maturation : </span>
                                                                <?=$description['baseflor']['ordre_maturation']; ?> <br/>
                                                        <? endif; ?>
                                                        <?if ($description['baseflor']['pollinisation'] != '') :?>
                                                                <span class="titre">Pollinisation : </span>
                                                                <?=$description['baseflor']['pollinisation'] ; ?> <br/>
                                                        <? endif; ?>
                                                        <?if ($description['baseflor']['dissemination'] != '') :?>
                                                                <span class="titre">Dissémination : </span>
                                                                <?=$description['baseflor']['dissemination'] ;?> <br/>
                                                        <? endif; ?>
                                                </td>   
                                        </tr>           
                                </table>
                        </div>
                </div>  
                                <br/>
                <? endif; ?>
                
                <!-- WIKI -->
                <? if (!empty($description['wikini']['description'])) :  ?>
                <div class="no-break">
                        <h2> Description collaborative  </h2>
                                <div  class="wiki allow-break" title="description">
                                        <?=$description['wikini']['description']?>
                                </div>
                </div>
                <? endif; ?>
                <hr class="nettoyage"/>
                
                <!-- VIDE DE DONNEES -->
                <? if (empty($description['wikini']['description']) && empty($description['coste']['description']) && empty($description['baseflor']) ) : ?>
                        Aucune Donnée.
                <? endif; ?>
        </div>
        <br/>
<br/>