Subversion Repositories eFlore/Applications.coel-consultation

Rev

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

Rev Author Line No. Line
25 jpm 1
<!-- COL - DEBUT RESULTAT -->
7 jpm 2
<div id="col_resultat">
3
	<?=$fragmenteur;?>
19 jpm 4
	<?php if (isset($infos)) : ?>
7 jpm 5
	<ul>
180 mathias 6
	<!-- recherche de collections -->
181 mathias 7
	<?php if ($masque['cible'] == 'collections'): ?>
180 mathias 8
		<?php foreach ($infos as $info) : ?>
9
			<li><?=$info['structure']['ville']?> - <a href="<?=$info['structure']['url']?>"><?=$info['structure']['nom']?></a>
10
				<?php if (isset($info['collections'])) : ?>
11
				<ul>
12
				<?php foreach ($info['collections'] as $collection) : ?>
13
					<li><a href="<?=$collection['url']?>"><?=$collection['nom']?></a></li>
14
				<?php endforeach; ?>
15
				</ul>
16
				<?php endif; ?>
17
			</li>
18
		<?php endforeach; ?>
19
	<!-- recherche de personnes -->
181 mathias 20
	<?php elseif ($masque['cible'] == 'personnes'): ?>
180 mathias 21
		<?php foreach ($infos['personnes'] as $personne) : ?>
22
			<li>
23
				<a href="<?=$personne['url']?>">
24
					<?php if($personne['nomcomplet']): ?>
25
						<?=$personne['nomcomplet']?>
26
					<?php else: ?>
27
						<?=$personne['prenom']?> <?=$personne['nom']?>
28
					<?php endif; ?>
29
				</a>
30
				<?php if($personne['surnom']): ?>
31
					(<?=$personne['surnom']?>)
32
				<?php endif; ?>
33
			</li>
34
		<?php endforeach; ?>
35
	<?php endif; ?>
7 jpm 36
	</ul>
19 jpm 37
	<?php endif; ?>
25 jpm 38
</div>
39
<!-- COL - FIN RESULTAT -->