

	<?php if ($first_page !== FALSE): ?>
		<a href="<?php echo HTML::chars($page->url($first_page)) ?>" rel="first" class="button_pagination"><?php echo '  <<  '  ?></a>
	<?php else: ?>
		<?php echo '  <<  ' ?>
	<?php endif ?>

	<?php if ($previous_page !== FALSE): ?>
		<a href="<?php echo HTML::chars($page->url($previous_page)) ?>" rel="prev" class="button_pagination"><?php echo '  <  ' ?></a>
	<?php else: ?>
		<?php echo '  <  ' ?>
	<?php endif ?>

	<?php for ($i = 1; $i <= $total_pages; $i++): ?>

		<?php if ($i == $current_page): ?>
			<strong class="button_pagination"><?php echo $i ?></strong>
		<?php else: ?>
			<a href="<?php echo HTML::chars($page->url($i)) ?>" class="button_pagination_actuelle"><?php echo $i ?></a>
		<?php endif ?>

	<?php endfor ?>

	<?php if ($next_page !== FALSE): ?>
		<a href="<?php echo HTML::chars($page->url($next_page)) ?>" rel="next" class="button_pagination"><?php echo '  >  ' ?></a>
	<?php else: ?>
		<?php echo '  >  ' ?>
	<?php endif ?>

	<?php if ($last_page !== FALSE): ?>
		<a href="<?php echo HTML::chars($page->url($last_page)) ?>" rel="last" class="button_pagination"><?php echo '  >>  ' ?></a>
	<?php else: ?>
		<?php echo ' >>  ' ?>
	<?php endif ?>
<!-- .pagination -->