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

<?php if (empty($this->_vars['v_fav_favorite'])):?>
	<?php _e('Sorry, no results found.'); ?><br><br>
	<?php loadPlugin::callFunc('hitsuji_banner', POSITION_MOBILE); ?><br>
<?php else: ?>
<?php if (!empty($this->_vars['tagCloud'])):?>
<table border="0" width="<?php Theme::exec()->mainWidth(); ?>">
	<tr><td bgcolor="<?php Theme::exec()->bgColor(); ?>" align="center"><?php e($this->_vars['tagCloud']); ?></td></tr>
</table>
<?php endif; ?>
<?php HTML::mobilePager($this->_vars['p_fav_favorite']); ?>
<table border="0" width="<?php Theme::exec()->mainWidth(); ?>">
<?php foreach ($this->_vars['v_fav_favorite'] as $_row): ?>
	<tr><td bgcolor="<?php Theme::exec()->bgColor(); ?>" align="center"><font size="<?php Theme::exec()->fontSize(); ?>">
		<?php loadPlugin::callFunc('hitsuji_profile', $_row['ref_target'], 'nickname,vSmall'); ?>
		<?php loadPlugin::callFunc('hitsuji_lastLogin', $_row['ref_target']); ?><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_target']); ?>/"><?php _e('View'); ?></a>/
		<img src="<?php e(BASE_URL); ?>resource/img/icons/trash.gif" width="16" height="16" alt="&gt;">&nbsp;<a href="<?php e(HTTP_ACTION); ?>member/contact/favorite/<?php e($_row['ref_target']); ?>/delete/"><?php _e('Delete'); ?></a></font></div>
	<hr color="<?php Theme::exec()->borderColor(); ?>" noshade="noshade"></td></tr>
<?php endforeach; ?>
</table>
<?php HTML::mobilePager($this->_vars['p_fav_favorite']); ?>
<?php endif; ?>
