<?php include VIEW_DIR.'mobile/common/menu/community.tpl'; ?>

<?php if (empty($this->_vars['v_log_footprint'])):?>
	<?php _e('Sorry, no results found.'); ?><br><br><?php loadPlugin::callFunc('hitsuji_banner', POSITION_MOBILE); ?><br>
<?php else: ?>
<table border="0" width="<?php Theme::exec()->mainWidth(); ?>"><tr><td bgcolor="<?php Theme::exec()->bgColor(); ?>" align="center"><font size="<?php Theme::exec()->fontSize(); ?>"><?php printf(_('Accessed %s times'), $this->_vars['total']); ?></font></td></tr></table>
<?php HTML::mobilePager($this->_vars['p_log_footprint']); ?>
<table border="0" width="<?php Theme::exec()->mainWidth(); ?>">
<?php foreach ($this->_vars['v_log_footprint'] as $_row): ?>
	<tr><td bgcolor="<?php Theme::exec()->bgColor(); ?>" align="center">
		<?php loadPlugin::callFunc('hitsuji_profile', $_row['ref_audience'], 'vSmall'); ?>
	</td><td bgcolor="<?php Theme::exec()->bgColor(); ?>"><font size="<?php Theme::exec()->fontSize(); ?>">
		<?php loadPlugin::callFunc('hitsuji_profile', $_row['ref_audience'], 'nickname'); ?>
		<?php eDate($_row['modified'], _('Y-m-d H:i')); ?><br></font>
		<div align="right"><font size="<?php Theme::exec()->fontSize(); ?>"><img src="<?php e(BASE_URL); ?>resource/img/icons/vcard.gif" width="16" height="16" alt="&gt;">&nbsp;<a href="<?php e(HTTP_ACTION); ?>member/personal/profile/<?php e($_row['ref_audience']); ?>/"><?php _e('View'); ?></a></font></div>
	<hr color="<?php Theme::exec()->bgColor(); ?>" noshade="noshade"></td></tr>
<?php endforeach; ?>
</table>
<?php HTML::mobilePager($this->_vars['p_log_footprint']); ?>
<?php endif; ?>

