<h3 class="page"><a href="<?php echo $tpl['link']($_GET['q_pageless']); ?>"><?php echo $tpl['gallery_page']['members']['title']; ?></a></h3>

<form action="<?php echo $tpl['current_url_pageless']; ?>" method="post">
	<p class="field">
		<label for="nb_per_page"><?php echo __('Nombre de membres par page :'); ?></label>
		<input required class="autofocus" value="<?php echo $tpl['gallery_page']['members']['nb_per_page']; ?>" maxlength="3" id="nb_per_page" name="nb_per_page" size="3" type="text">
	</p>
	<p class="field">
		<label for="order_by_column"><?php echo __('Trier par :'); ?></label>
		<select id="order_by_column" name="order_by_column">
<?php foreach ($tpl['gallery_page']['members']['order_by_column']['values'] as $value => &$text) : ?>
			<option<?php if ($tpl['gallery_page']['members']['order_by_column']['selected'] == $value) : ?> selected<?php endif; ?> value="<?php echo $value; ?>"><?php echo $text; ?></option>
<?php endforeach; ?>
		</select>
		<select name="order_by_order">
<?php foreach ($tpl['gallery_page']['members']['order_by_order']['values'] as $value => &$text) : ?>
			<option<?php if ($tpl['gallery_page']['members']['order_by_order']['selected'] == $value) : ?> selected<?php endif; ?> value="<?php echo $value; ?>"><?php echo $text; ?></option>
<?php endforeach; ?>
		</select>
	</p>
	<p class="field">
		<?php echo __('Afficher :'); ?>
	</p>
	<div class="field_sublvl">
		<p class="field">
			<input<?php if ($tpl['gallery_page']['members']['show_title']) : ?> checked="checked"<?php endif; ?> id="show_title" name="show_title" type="checkbox">
			<label for="show_title"><?php echo __('Titre du membre'); ?></label>
		</p>
		<p class="field">
			<input<?php if ($tpl['gallery_page']['members']['show_lastvstdt']) : ?> checked="checked"<?php endif; ?> id="show_lastvstdt" name="show_lastvstdt" type="checkbox">
			<label for="show_lastvstdt"><?php echo __('Date de dernière visite'); ?></label>
		</p>
		<p class="field">
			<input<?php if ($tpl['gallery_page']['members']['show_crtdt']) : ?> checked="checked"<?php endif; ?> id="show_crtdt" name="show_crtdt" type="checkbox">
			<label for="show_crtdt"><?php echo __('Date d\'inscription'); ?></label>
		</p>
	</div>
	<div id="submit">
		<div>
			<input name="anticsrf" type="hidden" value="<?php echo $tpl['anticsrf'](); ?>">
			<input type="submit" value="<?php echo __('Enregistrer'); ?>">
		</div>
	</div>
</form>