<p id="page_breadcrumb">
<?php if ($tpl['members']['group']['name']) : ?>
	<?php printf(__('Membres du groupe %s'), '<span>' . $tpl['members']['group']['name'] . '</span>'); ?>
<?php else : ?>
	<?php printf(__('Membres de %s'), '<a href="' . $tpl['link']() . '">' . __('la galerie') . '</a>'); ?>
<?php endif; ?>
	[<?php echo $tpl['members']['count']; ?>]
</p>

<?php if ($tpl['pages']['count'] > 1) : ?>
<div id="pages_top">
<?php include('pagination.tpl.php'); ?>
</div>
<?php endif; ?>

<div id="members_list" class="table_default_container">
	<table class="default">
		<tr>
			<th><?php echo __('Avatar'); ?></th>
			<th><?php echo __('Nom d\'utilisateur'); ?></th>
<?php if ($tpl['members']['show']['group_title']) : ?>
			<th class="group_title"><?php echo __('Titre'); ?></th>
<?php endif; ?>
<?php if ($tpl['members']['show']['date_created']) : ?>
			<th class="date_created"><?php echo __('Date d\'inscription'); ?></th>
<?php endif; ?>
<?php if ($tpl['members']['show']['date_lastvisited']) : ?>
			<th class="date_lastvisited"><?php echo __('Dernière visite'); ?></th>
<?php endif; ?>
		</tr>
<?php foreach ($tpl['members']['list'] as &$i) : ?>
		<tr>
			<td class="avatar"><?php if ($i['link']) : ?><a href="<?php echo $i['link']; ?>"><?php endif; ?><img alt="<?php printf(__('Avatar de %s'), $i['login']); ?>" src="<?php echo $i['avatar_src']; ?>"><?php if ($i['link']) : ?></a><?php endif; ?></td>
			<td><?php if ($i['link']) : ?><a href="<?php echo $i['link']; ?>"><?php echo $i['login']; ?></a><?php else : ?><?php echo $i['login']; ?><?php endif; ?></td>
<?php if ($tpl['members']['show']['group_title']) : ?>
			<td class="group_title"><a href="<?php echo $i['group']['link']; ?>"><?php echo $i['group']['title']; ?></a></td>
<?php endif; ?>
<?php if ($tpl['members']['show']['date_created']) : ?>
			<td class="date_created"><?php echo $i['date_created']; ?></td>
<?php endif; ?>
<?php if ($tpl['members']['show']['date_lastvisited']) : ?>
			<td class="date_lastvisited"><?php echo $i['date_lastvisited']; ?></td>
<?php endif; ?>
		</tr>
<?php endforeach; ?>
	</table>
</div>

<?php if ($tpl['pages']['count'] > 1) : ?>
<div id="pages_bottom">
<?php include('pagination.tpl.php'); ?>
</div>
<?php endif; ?>