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

<form method="post" action="<?php e($this->_vars['action']['url']); ?>"><?php HTML::requires(); ?>
<?php if ($this->_vars['action']['complete']): ?>
<table border="0" width="<?php Theme::exec()->mainWidth(); ?>">
	<tr><td align="center" bgcolor="<?php Theme::exec()->bgTitleColor(); ?>"><img src="<?php e(BASE_URL); ?>resource/img/icons/user_cancel.gif" width="16" height="16" alt="&gt;">&nbsp;<?php _e('Add Friend'); ?></td></tr>
	<tr><td bgcolor="<?php Theme::exec()->bgColor(); ?>" align="center">
		<?php _e('Add Friend'); ?><br><br><?php loadPlugin::callFunc('hitsuji_banner', POSITION_MOBILE); ?><br>
	<br></td></tr>
</table>
<?php elseif ($this->_vars['action']['deleted']): ?>
<table border="0" width="<?php Theme::exec()->mainWidth(); ?>">
	<tr><td align="center" bgcolor="<?php Theme::exec()->bgTitleColor(); ?>"><img src="<?php e(BASE_URL); ?>resource/img/icons/user_cancel.gif" width="16" height="16" alt="&gt;">&nbsp;<?php _e('Delete Friend'); ?></td></tr>
	<tr><td bgcolor="<?php Theme::exec()->bgColor(); ?>" align="center">
		<?php _e('Deleted Friend'); ?><br><br><?php loadPlugin::callFunc('hitsuji_banner', POSITION_MOBILE); ?><br>
	<br></td></tr>
</table>
<?php elseif ($this->_vars['action']['delete']): ?>
<table border="0" width="<?php Theme::exec()->mainWidth(); ?>">
	<tr><td align="center" bgcolor="<?php Theme::exec()->bgTitleColor(); ?>"><img src="<?php e(BASE_URL); ?>resource/img/icons/user_cancel.gif" width="16" height="16" alt="&gt;">&nbsp;<?php _e('Delete Friend'); ?></td></tr>
	<tr><td bgcolor="<?php Theme::exec()->bgColor(); ?>" align="center">
		<?php loadPlugin::callFunc('hitsuji_profile', $this->_vars['fri_friends']['ref_friend'], 'vSmall,nickname'); ?>
	</td></tr>
	<tr><td bgcolor="<?php Theme::exec()->bgColor(); ?>" align="center">
		<?php loadPlugin::callFunc('hitsuji_profile', $this->_vars['fri_friends']['ref_friend'], 'comment'); ?>
	</td></tr>
	<tr><td bgcolor="<?php Theme::exec()->bgColor(); ?>" align="center">
		<input type="submit" name="manip" value="<?php _e('Delete Friends'); ?>">
		<input type="submit" name="<?php e($this->_vars['action']['goback']); ?>" value="<?php _e('Go back'); ?>">
	<br></td></tr>
</table>
<?php else: ?>
<table border="0" width="<?php Theme::exec()->mainWidth(); ?>">
	<tr><td align="center" bgcolor="<?php Theme::exec()->bgTitleColor(); ?>"><img src="<?php e(BASE_URL); ?>resource/img/icons/user_add.gif" width="16" height="16" alt="&gt;">&nbsp;<?php _e('Add Friend'); ?></td></tr>
	<tr><td bgcolor="<?php Theme::exec()->bgColor(); ?>" align="center">
		<?php loadPlugin::callFunc('hitsuji_profile', $this->_vars['fri_friends']['ref_friend'], 'vSmall,nickname'); ?>
	</td></tr>
	<tr><td bgcolor="<?php Theme::exec()->bgColor(); ?>" align="center">
		<?php loadPlugin::callFunc('hitsuji_profile', $this->_vars['fri_friends']['ref_friend'], 'comment'); ?>
	</td></tr>
	<tr><td bgcolor="<?php Theme::exec()->bgColor(); ?>" align="center">
		<input type="submit" name="manip" value="<?php _e('Add Friends'); ?>">
		<input name="back" type="submit" value="<?php _e('Go back'); ?>">
	<br></td></tr>
</table>
<?php endif; ?>
</form>
