<?php if ($tpl['category']['id'] > 1) : ?>
<div id="obj_thumb" class="<?php if ($tpl['category']['activated']) : ?>activate<?php else : ?>deactivate<?php endif; ?>">
	<a<?php if (!$tpl['category']['is_empty']) : ?> href="<?php echo $tpl['category']['thumb_file']; ?>" class="viewer"<?php endif; ?>>
		<img alt="<?php echo __('Aperçu'); ?>"
<?php if ($tpl['category']['stats']['t_items'] > 0) : ?>
<?php if ($tpl['category']['thumb_type'] == 'video') : ?>
			data-video-id="<?php echo $tpl['category']['thumb_id']; ?>"
<?php endif; ?>
			src="<?php echo $tpl['category']['thumb_src'](); ?>"
<?php else : ?>
			src="<?php echo $tpl['admin']['style']['path']; ?>/cat-empty.png"
<?php endif; ?>
		>
	</a>
</div>
<?php endif; ?>