Subversion Repositories Applications.annuaire

Rev

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

Rev Author Line No. Line
8 aurelien 1
<?php if($pagination['page_precedente']) { ?>
2
<a class="premiere_page" href="<?=$url_pagination = clone($base_url_pagination);
3
				$url_pagination->setVariableRequete('numero_page',($pagination['page_precedente']));
4
				$url_pagination->setVariableRequete('taille_page',($pagination['taille_page']));
5
				echo $url_pagination; ?>" title="Page précédente"> Page précédente </a>
6
<?php } ?>
7
 
8
<?php if($pagination['page_suivante']) { ?>
9
<a class="derniere_page" href="<?=$url_pagination = clone($base_url_pagination);
10
				$url_pagination->setVariableRequete('numero_page',($pagination['page_suivante']));
11
				$url_pagination->setVariableRequete('taille_page',($pagination['taille_page']));
12
				echo $url_pagination; ?>" title="Page suivante"> Page suivante </a>
13
<?php } ?>
14
 
15
<div id="pages">
21 aurelien 16
<?php for($i = 1; $i <= $pagination['nombre_pages'] + 1 ; $i++) : ?>
8 aurelien 17
		<?php if($i == $pagination['numero_page']) { ?>
18
			<span id="page_courante">
19
		<?php } else { ?>
20
			<span>
21
		<?php } ?>
22
				<a class="premiere_page" href="<?=$url_pagination = clone($base_url_pagination);
23
				$url_pagination->setVariableRequete('numero_page',($i));
24
				$url_pagination->setVariableRequete('taille_page',($pagination['taille_page']));
21 aurelien 25
				echo $url_pagination; ?>" title="Page numéro <?=$i ?>"> <?=$i ?> </a>
8 aurelien 26
			</span>
27
<?php endfor; ?>
28
</div>
29
 
30
<hr style="clear:both;visibility:hidden;" />