Subversion Repositories Applications.annuaire

Rev

Rev 54 | Rev 193 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 54 Rev 174
Line -... Line 1...
-
 
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
 
1
<div id="resume">
6
<div id="resume">
2
	<?= $carte_id ?>
7
	<?= $carte_id ?>
Line 3... Line 8...
3
	
8
	
-
 
9
	<hr style="clear:both;visibility:hidden" />
-
 
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>
Line 4... Line 35...
4
	<hr style="clear:both;visibility:hidden" />
35
	</div>
-
 
36
 
5
 
37
	<?php foreach($resumes as $resume) : ?>
6
	<?php foreach($resumes as $resume) : ?>
38
		<div class="resume">
7
			<h2> <?= $resume['titre'] ?></h2> 
39
			<h2> <?= $resume['titre'] ?></h2> 
-
 
40
			<table class="resume_conteneur">
8
			<table class="gestion_conteneur">
41
				<tbody >
9
				<tbody >
42
					<?php if(!empty($resume['elements'])) { ?>
10
					<?php foreach($resume['elements'] as $element) : ?>
43
						<?php foreach($resume['elements'] as $element) : ?>
11
						<tr class="gestion">
44
							<tr class="gestion">
12
							<td><b><a href="<?= $element['lien']?>" > <?=$element['element'] ?> </a></b></td>
45
								<td><b><a href="<?= $element['lien']?>" > <?=$element['element'] ?> </a></b></td>
13
							<?php if(isset($element['lien_desinscrire'])) { ?>
46
								<?php if(isset($element['lien_desinscrire'])) { ?>
14
								<td>
47
									<td>
15
									<form class="form_bouton" action="<?='http://162.38.234.9/annuaire/jrest/ExecuteurLien'.'/'.base64_encode($element['lien']).'/'.base64_encode($url_cette_page) ?>">
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)) ?>">
16
										<input type="submit" value="Se desinscrire" /> 
49
											<input type="submit" value="<?= $element['intitule_lien'] ?>" /> 
17
									</form>
50
										</form>
18
								</td>
51
									</td>
19
							<? } ?>
52
								<? } ?>
-
 
53
							</tr>
-
 
54
						<?php endforeach ?>
-
 
55
					<?php } else { ?>
20
						</tr>
56
						<tr class="gestion"><td> <?= $resume['message'] ?> </td> </tr>
21
					<?php endforeach ?>
57
					<?php } ?>
-
 
58
				</tbody>	
22
				</tbody>	
59
			</table>
Line 23... Line 60...
23
		</table>
60
		</div>