Subversion Repositories eFlore/Applications.coel-consultation

Rev

Rev 246 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
25 jpm 1
<!-- COL - DEBUT RESULTAT -->
230 jpm 2
<div id="col_resultat" class="coel-consultation">
7 jpm 3
	<?=$fragmenteur;?>
19 jpm 4
	<?php if (isset($infos)) : ?>
246 mathias 5
		<ul>
6
		<!-- recherche de collections -->
7
		<?php if ($masque['cible'] == 'collections'): ?>
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>
180 mathias 16
					<?php endif; ?>
246 mathias 17
				</li>
18
			<?php endforeach; ?>
19
		<!-- recherche de personnes -->
20
		<?php elseif ($masque['cible'] == 'personnes'): ?>
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
		<!-- recherche de publications -->
36
		<?php elseif ($masque['cible'] == 'publications'): ?>
37
			<?php foreach ($infos['publications'] as $publication) : ?>
38
				<li>
39
					<!-- <a href="<?=$publication['url']?>"> -->
40
						<?php if($publication['nomcomplet']): ?>
41
							<?=$publication['nomcomplet']?>
42
						<?php else: ?>
43
							<?=$publication['auteur']?> - <?=$publication['date']?> - <?=$publication['titre']?> - <?=$publication['editeur']?> - <?=$publication['nb_pages']?>
44
						<?php endif; ?>
45
					<!-- </a> -->
46
				</li>
47
			<?php endforeach; ?>
48
		<?php endif; ?>
49
		</ul>
180 mathias 50
	<?php endif; ?>
25 jpm 51
</div>
52
<!-- COL - FIN RESULTAT -->