<h3 class="page"><a href="<?php echo $tpl['link']($_GET['q_pageless']); ?>"><?php echo __('Statistiques des catégories'); ?></a></h3>

<?php include('object_select.tpl.php'); ?>

<form id="obj_mini_form" action="<?php echo $tpl['current_url_pageless']; ?>" method="post">
	<div>
<?php foreach ($tpl['categories_stats'] as &$i) : ?>
		<div id="i_<?php echo $i['id']; ?>" class="obj_mini <?php if ($i['status']) : ?>selected<?php endif; ?> selectable_class">
			<div class="obj_mini_body">
				<p class="obj_mini_selectable selectable_zone">
					<input class="selectable" name="items[<?php echo $i['name']; ?>][activated]" type="checkbox"<?php if ($i['status']) : ?> checked="checked"<?php endif; ?>>
				</p>
				<p class="obj_mini_sortable">
					<img src="<?php echo $tpl['admin']['style']['path']; ?>/icons/16x16/move-up-down.png" height="16" width="16">
				</p>
				<p class="obj_mini_title">
					<span><?php echo $i['title']; ?></span>
				</p>
			</div>
		</div>
<?php endforeach; ?>
	</div>
	<div id="submit">
		<div>
			<input name="anticsrf" type="hidden" value="<?php echo $tpl['anticsrf'](); ?>">
			<input name="serial" type="hidden">
			<input type="submit" value="<?php echo __('Enregistrer'); ?>">
		</div>
	</div>
</form>
