Subversion Repositories Applications.annuaire

Rev

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

Rev 8 Rev 21
Line 11... Line 11...
11
				$url_pagination->setVariableRequete('taille_page',($pagination['taille_page'])); 
11
				$url_pagination->setVariableRequete('taille_page',($pagination['taille_page'])); 
12
				echo $url_pagination; ?>" title="Page suivante"> Page suivante </a>				
12
				echo $url_pagination; ?>" title="Page suivante"> Page suivante </a>				
13
<?php } ?>	
13
<?php } ?>	
Line 14... Line 14...
14
 
14
 
15
<div id="pages">
15
<div id="pages">
16
<?php for($i = 1; $i <= $pagination['nombre_pages'] ; $i++) : ?>
16
<?php for($i = 1; $i <= $pagination['nombre_pages'] + 1 ; $i++) : ?>
17
		<?php if($i == $pagination['numero_page']) { ?>
17
		<?php if($i == $pagination['numero_page']) { ?>
18
			<span id="page_courante">
18
			<span id="page_courante">
19
		<?php } else { ?>
19
		<?php } else { ?>
20
			<span>
20
			<span>
21
		<?php } ?>
21
		<?php } ?>
22
				<a class="premiere_page" href="<?=$url_pagination = clone($base_url_pagination); 
22
				<a class="premiere_page" href="<?=$url_pagination = clone($base_url_pagination); 
23
				$url_pagination->setVariableRequete('numero_page',($i)); 
23
				$url_pagination->setVariableRequete('numero_page',($i)); 
24
				$url_pagination->setVariableRequete('taille_page',($pagination['taille_page'])); 
24
				$url_pagination->setVariableRequete('taille_page',($pagination['taille_page'])); 
25
				echo $url_pagination; ?>" title="Page numéro <?=$i+1 ?>"> <?=$i ?> </a>
25
				echo $url_pagination; ?>" title="Page numéro <?=$i ?>"> <?=$i ?> </a>
26
			</span>
26
			</span>
27
<?php endfor; ?>
27
<?php endfor; ?>
Line 28... Line 28...
28
</div>
28
</div>
29
 
29