<?php include VIEW_DIR.'mobile/common/menu/private.tpl'; ?>
<?php if (SID !== ''): ?>
<img src="<?php e(BASE_URL); ?>resource/img/icons/accept.gif" width="16" height="16" alt="&gt;"><a href="<?php e(HTTP_ACTION); ?>private/setting/autologin/<?php e(US); ?>_mpnnc=<?php e($this->_vars['base']['nonce']); ?>" utn><?php _e('Keep me signed in'); ?></a><br>
<?php endif; ?>
<form method="post" action="<?php e($this->_vars['action']['url']); ?>"><?php HTML::requires(); ?>
<?php if ($this->_vars['action']['complete']): ?>
	<?php _e('Updated'); ?><br><br>
	<?php loadPlugin::callFunc('hitsuji_banner', POSITION_MOBILE); ?><br>
<?php elseif ($this->_vars['action']['confirm']): ?>
<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/wrench.gif" width="16" height="16" alt="&gt;">&nbsp;<?php _e('Basic Info'); ?></td></tr>
	<tr><td bgcolor="<?php Theme::exec()->bgColumnColor(); ?>"><?php _e('E-mail'); ?>:<br></td></tr>
	<tr><td><?php echo empty($this->_vars['changed_email'])? _('You can leave your E-mail address.'):_("Change one's E-mail address."); ?><br></td></tr>

	<tr><td bgcolor="<?php Theme::exec()->bgColumnColor(); ?>"><?php _e('Password'); ?>:<br></td></tr>
	<tr><td><?php echo empty($this->_vars['changed_password'])? _('You can leave your password.'):_("Change one's password."); ?><br></td></tr>

	<tr><td bgcolor="<?php Theme::exec()->bgColumnColor(); ?>"><?php _e('Newsletter'); ?>:<br></td></tr>
	<tr><td><?php e($this->_vars['deliveries'][$this->_vars['act_account']['news']]); ?><br></td></tr>

	<tr><td bgcolor="<?php Theme::exec()->bgColumnColor(); ?>"><?php _e('Email Notifications'); ?>:<br></td></tr>
	<tr><td><?php e($this->_vars['mailings'][$this->_vars['act_account']['mailing']]); ?><br></td></tr>

	<tr><td bgcolor="<?php Theme::exec()->bgColumnColor(); ?>"><?php _e('footprint'); ?>:<br></td></tr>
	<tr><td><?php e($this->_vars['act_account']['footprint']); ?><br></td></tr>

	<tr><td bgcolor="<?php Theme::exec()->bgColumnColor(); ?>"><?php _e('Block Users'); ?>:<br></td></tr>
	<tr><td><?php HTML::htmlBody($this->_vars['act_account']['block']); ?><br></td></tr>

	<tr><td bgcolor="<?php Theme::exec()->bgColor(); ?>" align="center">
		<input type="submit" name="manip" value="<?php _e('Submit'); ?>">
		<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/wrench.gif" width="16" height="16" alt="&gt;">&nbsp;<?php _e('Basic Info'); ?></td></tr>
	<tr><td bgcolor="<?php Theme::exec()->bgColumnColor(); ?>"><?php _e('E-mail'); ?>:<br></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['alert']['unmatched_email'])): ?><font color="<?php Theme::exec()->alertColor(); ?>"><?php _e('The E-mail does not match'); ?></font><br><?php endif; ?>
		<input type="text" name="email" value="<?php e($this->_vars['request']['email']); ?>">
	<br></td></tr>

	<tr><td bgcolor="<?php Theme::exec()->bgColumnColor(); ?>"><?php _e('Verify E-mail'); ?>:<br></td></tr>
	<tr><td>
		<?php if (!empty($this->_vars['alert']['verify_email'])): ?><font color="<?php Theme::exec()->alertColor(); ?>"><?php _e('Please enter.'); ?></font><br><?php endif; ?>
		<input type="text" name="verify_email" value="<?php e($this->_vars['request']['verify_email']); ?>">
	<br></td></tr>

	<tr><td bgcolor="<?php Theme::exec()->bgColumnColor(); ?>"><?php _e('Password'); ?>:<br></td></tr>
	<tr><td>
		<?php if (!empty($this->_vars['alert']['password'])): ?><font color="<?php Theme::exec()->alertColor(); ?>"><?php _e('Please enter.'); ?></font><br><?php endif; ?>
		<?php if (!empty($this->_vars['alert']['unmatched_password'])): ?><font color="<?php Theme::exec()->alertColor(); ?>"><?php _e('The password does not match'); ?></font><br><?php endif; ?>

		<input type="password" name="password" value="<?php e($this->_vars['request']['password']); ?>">
	<br></td></tr>

	<tr><td bgcolor="<?php Theme::exec()->bgColumnColor(); ?>"><?php _e('Verify Password'); ?>:<br></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="password" name="verification" value="<?php e($this->_vars['request']['verification']); ?>">
	<br></td></tr>

	<tr><td bgcolor="<?php Theme::exec()->bgColumnColor(); ?>"><?php _e('Mobile'); ?>:<br></td></tr>
	<tr><td><img src="<?php e(BASE_URL); ?>resource/img/icons/phone.gif" width="16" height="16" alt="&gt;"><a href="<?php e(HTTP_ACTION); ?>private/setting/mobile/"><?php _e('Click Here'); ?></a><br></td></tr>

	<tr><td bgcolor="<?php Theme::exec()->bgColumnColor(); ?>"><?php _e('Newsletter'); ?>:<br></td></tr>
	<tr><td>
		<font color="<?php Theme::exec()->alertColor(); ?>"><?php echo empty($this->_vars['alert']['news'])? '':_('Please select.').'<br>'; ?></font>
		<?php HTML::radio('news', $this->_vars['deliveries'], $this->_vars['act_account']['news'], '<br>'); ?>
	</td></tr>

	<tr><td bgcolor="<?php Theme::exec()->bgColumnColor(); ?>"><?php _e('Email Notifications'); ?>:<br></td></tr>
	<tr><td>
		<font color="<?php Theme::exec()->alertColor(); ?>"><?php echo empty($this->_vars['alert']['mailing'])? '':_('Please select.').'<br>'; ?></font>
		<?php HTML::radio('mailing', $this->_vars['mailings'], $this->_vars['act_account']['mailing'], '<br>'); ?>
	</td></tr>

	<tr><td bgcolor="<?php Theme::exec()->bgColumnColor(); ?>"><?php _e('Alert Footprint'); ?>:<br></td></tr>
	<tr><td>
		<?php if (!empty($this->_vars['alert']['footprint'])): ?><font color="<?php Theme::exec()->alertColor(); ?>"><?php _e('Please enter.'); ?></font><br><?php endif; ?>
		<input type="text" name="footprint" value="<?php e($this->_vars['act_account']['footprint']); ?>">
	<br></td></tr>

	<tr><td bgcolor="<?php Theme::exec()->bgColumnColor(); ?>"><?php _e('Block Users'); ?>:<br></td></tr>
	<tr><td>
		<?php if (!empty($this->_vars['alert']['block'])): ?><font color="<?php Theme::exec()->alertColor(); ?>"><?php _e('Please enter.'); ?></font><br><?php endif; ?>
		<textarea name="block"><?php e($this->_vars['act_account']['block']); ?></textarea>
	<br></td></tr>

	<tr><td bgcolor="<?php Theme::exec()->bgColumnColor(); ?>"><?php _e('Cancel Account'); ?>:<br></td></tr>
	<tr><td><a href="<?php e(HTTP_ACTION); ?>private/setting/cancel/"><img src="<?php e(BASE_URL); ?>resource/img/icons/user_cancel.gif" width="16" height="16" alt="&gt;"><?php _e('Click Here'); ?></a><br></td></tr>

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