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

<form method="post" action="<?php e($this->_vars['action']['url']); ?>"><?php HTML::requires(); ?>
<table border="0" width="<?php Theme::exec()->mainWidth(); ?>">
<?php if ($this->_vars['accepted']): ?>
	<tr><td align="center" bgcolor="<?php Theme::exec()->bgTitleColor(); ?>"><img src="<?php e(BASE_URL); ?>resource/img/icons/leader_change.gif" width="16" height="16" alt="&gt;">&nbsp;<?php _e('Becomes a leader'); ?></td></tr>
	<tr><td bgcolor="<?php Theme::exec()->bgColor(); ?>" align="center">
		<?php _e('Accepted'); ?><br><br><?php loadPlugin::callFunc('hitsuji_banner', POSITION_MOBILE); ?><br>
	<br></td></tr>
<?php elseif ($this->_vars['denied']): ?>
	<tr><td align="center" bgcolor="<?php Theme::exec()->bgTitleColor(); ?>"><img src="<?php e(BASE_URL); ?>resource/img/icons/cross.gif" width="16" height="16" alt="&gt;">&nbsp;<?php _e('Becomes a leader'); ?></td></tr>
	<tr><td bgcolor="<?php Theme::exec()->bgColor(); ?>" align="center">
		<?php _e('Denied'); ?><br><br><?php loadPlugin::callFunc('hitsuji_banner', POSITION_MOBILE); ?><br>
	<br></td></tr>
<?php elseif ($this->_vars['accept']): ?>
	<tr><td align="center" bgcolor="<?php Theme::exec()->bgTitleColor(); ?>"><img src="<?php e(BASE_URL); ?>resource/img/icons/leader_change.gif" width="16" height="16" alt="&gt;">&nbsp;<?php _e('Becomes a leader'); ?></td></tr>
	<tr><td bgcolor="<?php Theme::exec()->bgColor(); ?>" align="center">
		<input name="accept" type="submit" value="<?php _e('Accept'); ?>">
		<input name="back" type="submit" value="<?php _e('Go back'); ?>">
	<br></td></tr>
	<tr><td bgcolor="<?php Theme::exec()->bgColor(); ?>" align="center">
		<?php loadPlugin::callFunc('hitsuji_community', $this->_vars['com_names']['ref_community'], 'community,vSmall'); ?>
	</td></tr>
	<tr><td bgcolor="<?php Theme::exec()->bgColor(); ?>"><font size="<?php Theme::exec()->fontSize(); ?>">
		<?php loadPlugin::callFunc('hitsuji_community', $this->_vars['com_names']['ref_community'], 'comment'); ?></font>
	<br></td></tr>
<?php else: ?>
	<tr><td align="center" bgcolor="<?php Theme::exec()->bgTitleColor(); ?>"><img src="<?php e(BASE_URL); ?>resource/img/icons/cross.gif" width="16" height="16" alt="&gt;">&nbsp;<?php _e('Becomes a leader'); ?></td></tr>
	<tr><td bgcolor="<?php Theme::exec()->bgColor(); ?>" align="center">
		<input name="deny" type="submit" value="<?php _e('Deny'); ?>">
		<input name="back" type="submit" value="<?php _e('Go back'); ?>">
	<br></td></tr>
	<tr><td bgcolor="<?php Theme::exec()->bgColor(); ?>" align="center">
		<?php loadPlugin::callFunc('hitsuji_community', $this->_vars['com_names']['ref_community'], 'community,vSmall'); ?>
	</td></tr>
	<tr><td bgcolor="<?php Theme::exec()->bgColor(); ?>"><font size="<?php Theme::exec()->fontSize(); ?>">
		<?php loadPlugin::callFunc('hitsuji_community', $this->_vars['com_names']['ref_community'], 'comment'); ?></font>
	<br></td></tr>
<?php endif; ?>
</table>
</form>
