Subversion Repositories Applications.referentiel

Rev

Rev 74 | Rev 112 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

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