Subversion Repositories Applications.referentiel

Rev

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

Rev 113 Rev 114
Line 22... Line 22...
22
	<div id="ref-ref-nomenclature">
22
	<div id="ref-ref-nomenclature">
23
		<h2>Nomenclature</h2>
23
		<h2>Nomenclature</h2>
24
		<table>
24
		<table>
25
			<thead>
25
			<thead>
26
				<tr>
26
				<tr>
27
					<th>&nbsp;</th>
27
					<th class="largeur-03 vide">&nbsp;</th>
28
					<th>Nom scientifique</th>
28
					<th>Nom scientifique</th>
29
					<th>Auteur</th>
29
					<th>Auteur</th>
30
					<th>Année</th>
30
					<th>Année</th>
31
					<th>Référence bibliographique</th>
31
					<th>Référence bibliographique</th>
32
					<th>Nom addendum</th>
32
					<th>Nom addendum</th>
Line 308... Line 308...
308
	<div id="ref-ref-classification">
308
	<div id="ref-ref-classification">
309
		<h2>Classification</h2>
309
		<h2>Classification</h2>
Line 310... Line 310...
310
		
310
		
311
		<?php if (isset($classification)) : ?>
311
		<?php if (isset($classification)) : ?>
312
			<? foreach ($classification as $type=>$class) : ?>
-
 
313
			<h3>Taxons <?=$type;?></h3>
312
			<? foreach ($classification as $type=>$class) : ?>
314
				<table>
313
				<table>
315
					<thead>
314
					<thead>
-
 
315
						<tr>
-
 
316
							<th <?=($type == 'inférieurs') ? 'colspan="'.$niveau.'"' : '' ?>>Taxons <?=$type;?></th>
-
 
317
							<th class="vide" colspan="6">&nbsp;</th>
-
 
318
						</tr>
316
						<tr>
319
						<tr>
317
							<th <?=($type == 'inférieurs') ? 'colspan="'.$niveau.'"' : '' ?>>Rang</th>
320
							<th <?=($type == 'inférieurs') ? 'colspan="'.$niveau.'"' : '' ?>>Rang</th>
318
							<th>Nom scientifique</th>
321
							<th>Nom scientifique</th>
319
							<th>Auteur</th>
322
							<th>Auteur</th>
320
							<th>Année</th>
323
							<th>Année</th>
Line 328... Line 331...
328
							<? foreach ($class as $rang => $taxon) : ?>
331
							<? foreach ($class as $rang => $taxon) : ?>
329
								<tr>
332
								<tr>
330
									<? if ($type == 'inférieurs') : ?>
333
									<? if ($type == 'inférieurs') : ?>
331
										<? for ($i = 1; $i <= $niveau; $i++) : ?>
334
										<? for ($i = 1; $i <= $niveau; $i++) : ?>
332
											<? if ($i == $taxon['niveau']) :  ?>
335
											<? if ($i == $taxon['niveau']) :  ?>
333
												<td><?=$taxon['rang'];?></td>
336
												<td><?=$valeur_rang[$taxon['rang']].' ('.$taxon['rang'].')';?></td>
334
											<? else : ?>
337
											<? else : ?>
335
												<td></td>	
338
												<td></td>	
336
											<? endif; ?>	
339
											<? endif; ?>	
337
										<? endfor; ?>
340
										<? endfor; ?>
338
									<? else : ?>
341
									<? else : ?>