145,7 → 145,8 |
</tr> |
<? endif; |
endif; |
if ($selectionne['nom_francais'] != '' || (isset($retenu['nom_francais']) && $retenu['nom_francais'] != '')) : ?> |
if ((isset($selectionne['nom_francais']) && $selectionne['nom_francais'] != '') || |
(isset($retenu['nom_francais']) && $retenu['nom_francais'] != '')) : ?> |
<tr><td colspan="7"></td></tr> |
<tr> |
<td>Nom français</td> |
224,53 → 225,38 |
<div id="ref-ref-synonymie"> |
<h2>Synonymie</h2> |
<? if (isset($fiche_synonymie)) : |
foreach ($fiche_synonymie as $type => $synonymes) {?> |
<table> |
<thead> |
<tr><th colspan="3">Synonymie <?=$type;?></th></tr> |
<tr> |
<th>Nom scientifique</th> |
<th>Auteur</th> |
<th>Année</th> |
<th>Référence bibliographique</th> |
<th>Nom addendum</th> |
<th>Identifiant numérique du nom scientifique</th> |
</tr> |
</thead><tbody> |
<? foreach ($synonymes as $synonyme) {?> |
<?=($synonyme['num_nom'] == $synonyme['num_nom_retenu'])? "<tr class='nom_retenu'>" : "<tr>";?> |
<td><?=$synonyme['nom_complet'];?></td> |
<td><?=$synonyme['auteur'];?></td> |
<td><?=$synonyme['annee'];?></td> |
<td><?=$synonyme['biblio_origine'];?></td> |
<td><?=$synonyme['nom_addendum'];?></td> |
<td><?=$synonyme['num_nom'];?></td> |
</tr> |
<? } ?> |
</tbody> |
</table> |
<br/> |
<? } endif;?> |
|
<? if (isset($homonyme)) : ?> |
<table> |
<thead> |
<tr><th colspan="3">Homonyme (sensu)</th></tr> |
<tr> |
<th>Nom scientifique</th> |
<th>Auteur</th> |
<th>Année</th> |
<th>Référence bibliographique</th> |
<th>Nom addendum</th> |
<th>Identifiant numérique du nom scientifique</th> |
</tr> |
</thead> |
<tbody> |
|
</tbody> |
</table> |
<br/> |
<? endif; ?> |
foreach($fiche_synonymie as $ordre => $fiche) { |
foreach ($fiche as $type => $synonymes) {?> |
<table> |
<thead> |
<tr><th colspan="3"><?=($type == 'Homonymie (sensu)') ? $type : "Synonymie ".$type;?></th></tr> |
<tr> |
<?=($type == 'Homonymie (sensu)') ? "<th>Homonyme</th>" : "";?> |
<?=($type == 'mal appliquée') ? "<th></th>" : "";?> |
<th>Nom scientifique</th> |
<th>Auteur</th> |
<th>Année</th> |
<th>Référence bibliographique</th> |
<th>Nom addendum</th> |
<th>Identifiant numérique du nom scientifique</th> |
</tr> |
</thead><tbody> |
<? foreach ($synonymes as $synonyme) {?> |
<?=($synonyme['num_nom'] == $synonyme['num_nom_retenu'])? "<tr class='nom_retenu'>" : "<tr>";?> |
<?=($type == 'Homonymie (sensu)') ? "<td>".$synonyme['homonyme']."</td>" : "";?> |
<?=($type == 'mal appliquée') ? "<td>".$synonyme['statut']."</td>" : "";?> |
<td><?=$synonyme['nom_complet'];?></td> |
<td><?=$synonyme['auteur'];?></td> |
<td><?=$synonyme['annee'];?></td> |
<td><?=$synonyme['biblio_origine'];?></td> |
<td><?=$synonyme['nom_addendum'];?></td> |
<td><?=$synonyme['num_nom'];?></td> |
</tr> |
<? } ?> |
</tbody> |
</table> |
<br/> |
<? } } endif;?> |
</div> |
|
<div id="ref-ref-classification"> |
332,7 → 318,7 |
|
<div id="ref-ref-chorologie"> |
<h2>Chorologie</h2> |
<? if ($chorologie) : ?> |
<? if (isset($chorologie)) : ?> |
<table> |
<tr><th></th> |
<? foreach ($chorologie['Présence'] as $lieu=>$valeur) {?> |
353,7 → 339,7 |
|
<div id="ref-ref-complement"> |
<h2>Compléments</h2> |
<?php if ($complement) : ?> |
<?php if (isset($complement)) : ?> |
<table> |
<? foreach ($complement as $champ=>$valeur) {?> |
<tr> |