72 |
delphine |
1 |
<!-- REF - DEBUT RESULTAT -->
|
|
|
2 |
<div id="ref-resultat-recherche">
|
125 |
delphine |
3 |
<br /><br />
|
72 |
delphine |
4 |
<?=$fragmenteur;?>
|
125 |
delphine |
5 |
<p><em>Le nombre de résultats correspond au nombre de nom retenu retourné.</em></p>
|
72 |
delphine |
6 |
<? if (isset($resultats)) : ?>
|
|
|
7 |
<table>
|
|
|
8 |
<thead>
|
|
|
9 |
<tr>
|
112 |
delphine |
10 |
<th title="Identifiant numérique du nom scientifique retenu">Id du nom retenu</th>
|
|
|
11 |
<th title="Identifiant numérique du nom scientifique">Id</th>
|
72 |
delphine |
12 |
<th>Nom scientifique</th>
|
|
|
13 |
<th>Auteur</th>
|
|
|
14 |
<th>Année</th>
|
|
|
15 |
<th>Référence bibliographique</th>
|
|
|
16 |
<th>Nom addendum</th>
|
|
|
17 |
</tr>
|
|
|
18 |
</thead>
|
|
|
19 |
<tbody>
|
|
|
20 |
<?if (isset($resultats['nom_retenu'])) :
|
|
|
21 |
foreach ($resultats['nom_retenu'] as $id => $retenu) : ?>
|
|
|
22 |
<tr class='nom_retenu'>
|
|
|
23 |
<td></td>
|
74 |
delphine |
24 |
<td><a href="<?=Recherche::getUrlFicheTaxon($retenu)?>"><?=$retenu['num_nom']?></a></td>
|
149 |
jpm |
25 |
<td><a href="<?=Recherche::getUrlFicheTaxon($retenu)?>"><?=$retenu['nom_sci'];?></a></td>
|
72 |
delphine |
26 |
<td><?=$retenu['auteur'];?></td>
|
|
|
27 |
<td><?=$retenu['annee'];?></td>
|
|
|
28 |
<td><?=$retenu['biblio_origine'];?></td>
|
|
|
29 |
<td><?=$retenu['nom_addendum'];?></td>
|
|
|
30 |
</tr>
|
|
|
31 |
|
|
|
32 |
<?if (isset($resultats[$id])) :
|
|
|
33 |
foreach ($resultats[$id] as $synonyme) : ?>
|
|
|
34 |
<tr>
|
|
|
35 |
<td><?=$synonyme['num_nom_retenu'];?></td>
|
74 |
delphine |
36 |
<td><a href="<?=Recherche::getUrlFicheTaxon($synonyme)?>"><?=$synonyme['num_nom']?></a></td>
|
149 |
jpm |
37 |
<td><a href="<?=Recherche::getUrlFicheTaxon($synonyme)?>"><?=$synonyme['nom_sci'];?></a></td>
|
72 |
delphine |
38 |
<td><?=$synonyme['auteur'];?></td>
|
|
|
39 |
<td><?=$synonyme['annee'];?></td>
|
|
|
40 |
<td><?=$synonyme['biblio_origine'];?></td>
|
|
|
41 |
<td><?=$synonyme['nom_addendum'];?></td>
|
|
|
42 |
</tr>
|
|
|
43 |
<? endforeach;
|
|
|
44 |
endif;
|
|
|
45 |
endforeach;
|
|
|
46 |
else :
|
|
|
47 |
foreach ($resultats as $res) :
|
|
|
48 |
foreach ($res as $synonyme) : ?>
|
|
|
49 |
<tr>
|
|
|
50 |
<td><?=$synonyme['num_nom_retenu'];?></td>
|
74 |
delphine |
51 |
<td><a href="<?=Recherche::getUrlFicheTaxon($synonyme)?>"><?=$synonyme['num_nom']?></a></td>
|
149 |
jpm |
52 |
<td><a href="<?=Recherche::getUrlFicheTaxon($synonyme)?>"><?=$synonyme['nom_sci'];?></a></td>
|
72 |
delphine |
53 |
<td><?=$synonyme['auteur'];?></td>
|
|
|
54 |
<td><?=$synonyme['annee'];?></td>
|
|
|
55 |
<td><?=$synonyme['biblio_origine'];?></td>
|
|
|
56 |
<td><?=$synonyme['nom_addendum'];?></td>
|
|
|
57 |
</tr>
|
|
|
58 |
<? endforeach;
|
|
|
59 |
endforeach;
|
|
|
60 |
endif;?>
|
|
|
61 |
</tbody>
|
|
|
62 |
</table>
|
|
|
63 |
<? endif; ?>
|
|
|
64 |
</div>
|
|
|
65 |
<!-- REF - FIN RESULTAT -->
|