Subversion Repositories Applications.annuaire

Rev

Rev 154 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 154 Rev 428
Line 1... Line 1...
1
<h2>Résultat de la recherche</h2>
1
<h2>Résultat de la recherche</h2>
2
 
2
 
3
<?php if(count($nb_resultats) >= 1) { ?>
3
<?php if(count($nb_resultats) >= 1) { ?>
4
<h3>Il y a <?= $nb_resultats ?> inscrit<?php if($nb_resultats > 1) echo 's' ?> correspondant<?php if($nb_resultats > 1) echo 's' ?> aux critères : </h3>
4
<h3>Il y a <?= $nb_resultats ?> inscrit<?php if($nb_resultats > 1) echo 's' ?> correspondant<?php if($nb_resultats > 1) echo 's' ?> aux critères : </h3>
5
<?php if(isset($pagination)) { echo $pagination; } ?>		
5
<?php if(isset($pagination)) { echo $pagination; } ?>		
6
	<table class="liste">
6
	<table class="liste">
7
		<?php foreach ($resultats_recherche as $id => $resultat) : ?>
7
		<?php foreach ($resultats_recherche as $id => $resultat) : ?>
8
			<tr>
8
			<tr>
9
				<td><a href="<?php $url_detail = clone($base_url); 
9
				<td><a href="<?php $url_detail = clone($base_url); 
10
						$url_detail->setVariableRequete('m','annuaire_fiche_utilisateur_consultation'); 
10
						$url_detail->setVariableRequete('m','annuaire_fiche_utilisateur_consultation'); 
11
						$url_detail->setVariableRequete('id_annuaire',$id_annuaire); 
11
						$url_detail->setVariableRequete('id_annuaire',$id_annuaire); 
12
						$url_detail->setVariableRequete('id_utilisateur',$id); 
12
						$url_detail->setVariableRequete('id_utilisateur',$id); 
13
						echo $url_detail; ?>" title="Voir la fiche"> <img class="icone_moyenne" src="<?=$base_url_styles ?>squelettes/images/voir_fiche.png"/> </a>
13
						echo $url_detail; ?>" title="Voir la fiche"> <img class="icone_moyenne" src="<?=$base_url_styles ?>squelettes/images/voir_fiche.png"/> </a>
14
				</td>
14
				</td>
15
				<td> <?=$resultat[$mappage_nom_champs['champ_nom']]['amv_valeur'] ?></td> 
15
				<td> <?=$resultat[$mappage_nom_champs['champ_nom']]['amv_valeur'] ?></td> 
16
			</tr>
16
			</tr>
17
		<?php endforeach; ?>
17
		<?php endforeach; ?>
18
	</table>
18
	</table>
19
<?php } else { ?>
19
<?php } else { ?>
20
	<div> <h3> Aucun inscrit ne correspond aux critères de la recherche </h3></div>
20
	<div> <h3> Aucun inscrit ne correspond aux critères de la recherche </h3></div>
21
<?php } ?>
21
<?php } ?>