<?php if ($tpl['nb_pages'] > 1) : ?>
<nav class="pages pages_<?php $pagination = isset($pagination) ? 2 : 1; echo $pagination; ?>">
	<div class="pages_inner">
<?php if ($_GET['page'] > 1) : ?>
		<div class="first"><a title="<?php echo __('Première page'); ?>" href="<?php echo $tpl['current_url_pageless']; ?>/page/1">&lt;&lt;</a></div>
		<div class="prev"><a title="<?php echo __('Page précédente'); ?>" href="<?php echo $tpl['current_url_pageless']; ?>/page/<?php echo $_GET['page'] - 1; ?>">&lt;</a></div>
<?php else : ?>
		<div class="first"><span>&lt;&lt;</span></div>
		<div class="prev"><span>&lt;</span></div>
<?php endif; ?>
		<form action="<?php echo $tpl['current_url_pageless']; ?>" method="post">
			<?php echo __('Page'); ?>
			<input name="anticsrf" type="hidden" value="<?php echo $tpl['anticsrf'](); ?>">
			<input name="page" type="text" value="<?php echo $_GET['page']; ?>" maxlength="12" size="6">
			/
			<span class="count"><?php echo $tpl['nb_pages']; ?></span>
		</form>
<?php if ($tpl['nb_pages'] > $_GET['page']) : ?>
		<div class="next"><a title="<?php echo __('Page suivante'); ?>" href="<?php echo $tpl['current_url_pageless']; ?>/page/<?php echo $_GET['page'] + 1; ?>">&gt;</a></div>
		<div class="last"><a title="<?php echo __('Dernière page'); ?>" href="<?php echo $tpl['current_url_pageless']; ?>/page/<?php echo $tpl['nb_pages']; ?>">&gt;&gt;</a></div>
<?php else : ?>
		<div class="next"><span>&gt;</span></div>
		<div class="last"><span>&gt;&gt;</span></div>
<?php endif; ?>
	</div>
</nav>
<?php endif; ?>