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

<form method="post" action="<?php e(HTTP_ACTION); ?>public/login/reissue/"><?php HTML::requires(); ?>
<table border="0" width="<?php Theme::exec()->mainWidth(); ?>">
	<tr><td align="center" bgcolor="<?php Theme::exec()->bgTitleColor(); ?>"><font size="<?php Theme::exec()->fontSize(); ?>"><img src="<?php e(BASE_URL); ?>resource/img/icons/lock.gif" width="16" height="16" alt="&gt;">&nbsp;<?php _e('Please enter email address.'); ?></font></td></tr>
<?php if (!empty($this->_vars['sent'])): ?>
	<tr><td align="center" bgcolor="<?php Theme::exec()->bgTitleColor(); ?>"><font size="<?php Theme::exec()->fontSize(); ?>"><img src="<?php e(BASE_URL); ?>resource/img/icons/sent.gif" width="16" height="16" alt="&gt;">&nbsp;<?php _e('Your password was sent to your email address.'); ?></font></td></tr>
	<tr><td><?php loadPlugin::callFunc('hitsuji_banner', POSITION_MOBILE); ?><br></td></tr>
<?php else: ?>
	<tr><td align="center" bgcolor="<?php Theme::exec()->bgTitleColor(); ?>"><img src="<?php e(BASE_URL); ?>resource/img/icons/wrench.gif" width="16" height="16" alt="&gt;">&nbsp;<?php _e('Email'); ?></td></tr>
	<tr><td>
		<?php if (!empty($this->_vars['alert']['email'])): ?><font color="<?php Theme::exec()->alertColor(); ?>"><?php _e('Please enter.'); ?></font><br><?php endif; ?>
		<?php if (!empty($this->_vars['unmatched'])): ?><font color="<?php Theme::exec()->alertColor(); ?>"><?php _e('The Email does not match.'); ?></font><br><?php endif; ?>
		<?php if (!empty($this->_vars['nosuch'])): ?><font color="<?php Theme::exec()->alertColor(); ?>"><?php _e(' No such email address was found.'); ?></font><br><?php endif; ?>
		<input type="text" name="email" value="<?php e($this->_vars['request']['email']); ?>">
	<br></td></tr>

	<tr><td align="center" bgcolor="<?php Theme::exec()->bgTitleColor(); ?>"><img src="<?php e(BASE_URL); ?>resource/img/icons/wrench.gif" width="16" height="16" alt="&gt;">&nbsp;<?php _e('Verify Email'); ?></td></tr>
	<tr><td>
		<?php if (!empty($this->_vars['alert']['verification'])): ?><font color="<?php Theme::exec()->alertColor(); ?>"><?php _e('Please enter.'); ?></font><br><?php endif; ?>
		<input type="text" name="verification" value="<?php e($this->_vars['request']['verification']); ?>">
	<br></td></tr>

	<tr><td bgcolor="<?php Theme::exec()->bgColor(); ?>" align="center"><input name="reissue" type="submit" value="<?php _e('Reissue');?>"><br></td></tr>
<?php endif; ?>
</table>
</form>
