Subversion Repositories eFlore/Applications.coel-consultation

Rev

Rev 180 | Rev 230 | Go to most recent revision | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

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