Subversion Repositories Applications.referentiel

Rev

Rev 69 | Rev 83 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
69 delphine 1
<!-- REF - DEBUT RESULTAT -->
2
<div id="ref-resultat-recherche">
3
	<?=$fragmenteur;?>
74 delphine 4
	<? if (isset($resultats)) : ?>
69 delphine 5
		<table>
6
			<thead>
7
				<tr>
8
					<th>Identifiant numérique du nom scientifique</th>
9
					<th>Nom scientifique</th>
10
					<th>Auteur</th>
11
					<th>Année</th>
12
					<th>Référence bibliographique</th>
13
					<th>Nom addendum</th>
14
				</tr>
15
			</thead>
16
			<tbody>
74 delphine 17
				<? foreach ($resultats as $resultat) :
18
					if ($resultat['num_nom'] == $resultat['num_nom_retenu']) : ?>
69 delphine 19
						<tr class='nom_retenu'>
74 delphine 20
							<td><a href="<?=Recherche::getUrlFicheTaxon($resultat)?>"><?=$resultat['num_nom']?></a></td>
21
							<td><a href="<?=Recherche::getUrlFicheTaxon($resultat)?>"><?=$resultat['nom_complet']?></a></td>
69 delphine 22
							<td><?=$resultat['auteur'];?></td>
23
							<td><?=$resultat['annee'];?></td>
24
							<td><?=$resultat['biblio_origine'];?></td>
25
							<td><?=$resultat['nom_addendum'];?></td>
26
						</tr>
27
					<? else : ?>
28
						<tr>
74 delphine 29
							<td><a href="<?=Recherche::getUrlFicheTaxon($resultat)?>"><?=$resultat['num_nom']?></a></td>
30
							<td><a href="<?=Recherche::getUrlFicheTaxon($resultat)?>"><?=$resultat['nom_complet']?></a></td>
69 delphine 31
							<td><?=$resultat['auteur'];?></td>
32
							<td><?=$resultat['annee'];?></td>
33
							<td><?=$resultat['biblio_origine'];?></td>
34
							<td><?=$resultat['nom_addendum'];?></td>
35
						</tr>
74 delphine 36
					<?endif;
37
				endforeach; ?>
38
			</tbody>
69 delphine 39
		</table>
74 delphine 40
	<? endif; ?>
69 delphine 41
</div>
42
<!-- REF - FIN RESULTAT -->