Subversion Repositories Applications.annuaire

Rev

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

Rev Author Line No. Line
174 aurelien 1
<script src="<?= $base_url_styles ?>squelettes/scripts/jquery.js" type="text/javascript"></script>
2
<script src="<?= $base_url_styles ?>squelettes/scripts/desinscription.js" type="text/javascript"></script>
3
 
4
<div id="navigation_annuaire"> <?=$navigation ?> </div>
5
 
54 aurelien 6
<div id="resume">
7
	<?= $carte_id ?>
8
 
9
	<hr style="clear:both;visibility:hidden" />
174 aurelien 10
 
11
	<div class="resume">
12
		<h2> Mon inscription au reseau </h2>
13
		<table class="resume_conteneur">
14
			<tbody >
15
				<tr class="gestion">
16
					<td><b><a href="<?php $url_form = clone($base_url);
17
									$url_form->setVariableRequete('m','annuaire_fiche_utilisateur_consultation');
18
									$url_form->setVariableRequete('id_annuaire',$id_annuaire);
19
									$url_form->setVariableRequete('id_utilisateur',$id_utilisateur);
20
									echo $url_form; ?>" > Vous êtes inscrit au réseau Tela Botanica </a></b>
21
					</td>
22
					<td>
23
						<form method="post" id="suppression" action="<?php $url_form = clone($base_url);
24
									$url_form->setVariableRequete('m','annuaire_formulaire_suppression_inscription');
25
									$url_form->setVariableRequete('id_annuaire',$id_annuaire);
26
									$url_form->setVariableRequete('id_utilisateur',$id_utilisateur);
27
									echo $url_form; ?>" >
28
						<input type="hidden" name="mail_suppression" id="mail_suppression" value="<?= $champs['mail']['amv_valeur'] ?>"
29
						<input id="bouton_suppression" type="submit" name="bouton_suppression" value="Se desinscrire" />
30
						</form>
31
					</td>
32
				</tr>
33
			</tbody>
34
		</table>
35
	</div>
54 aurelien 36
 
37
	<?php foreach($resumes as $resume) : ?>
174 aurelien 38
		<div class="resume">
54 aurelien 39
			<h2> <?= $resume['titre'] ?></h2>
174 aurelien 40
			<table class="resume_conteneur">
54 aurelien 41
				<tbody >
174 aurelien 42
					<?php if(!empty($resume['elements'])) { ?>
43
						<?php foreach($resume['elements'] as $element) : ?>
44
							<tr class="gestion">
45
								<td><b><a href="<?= $element['lien']?>" > <?=$element['element'] ?> </a></b></td>
46
								<?php if(isset($element['lien_desinscrire'])) { ?>
47
									<td>
48
										<form class="form_bouton" action="<?= $base_url_application.'/jrest/ExecuteurLien'.'/'.str_replace('/', '_', base64_encode($element['lien_desinscrire'])).'/'.str_replace('/', '_', base64_encode($url_cette_page)) ?>">
49
											<input type="submit" value="<?= $element['intitule_lien'] ?>" />
50
										</form>
51
									</td>
52
								<? } ?>
53
							</tr>
54
						<?php endforeach ?>
55
					<?php } else { ?>
56
						<tr class="gestion"><td> <?= $resume['message'] ?> </td> </tr>
57
					<?php } ?>
54 aurelien 58
				</tbody>
174 aurelien 59
			</table>
193 aurelien 60
 
61
			<?php if(isset($resume['info'])) { ?>
62
				<span class="info_application"><?= $resume['info'] ?></span>
63
			<? } ?>
64
 
174 aurelien 65
		</div>
54 aurelien 66
	<?php endforeach ?>
67
 
68
</div>