<?php if ($this->_vars['base']['account']['status'] != STATUS_GUEST): ?>
<?php include VIEW_DIR.'mobile/common/menu/private.tpl'; ?><?php else : ?>
<?php include VIEW_DIR.'mobile/common/menu/public.tpl'; ?><?php endif; ?>

<?php if ($this->_vars['delete']): ?>
<form method="post" action="<?php e($this->_vars['action']['url']); ?>"><?php HTML::requires(); ?>
<?php if ($this->_vars['action']['deleted']): ?>
	<?php e($this->_vars['action']['complete']? _('Updated'):_('Deleted')); ?><br><br>
	<?php loadPlugin::callFunc('hitsuji_banner', POSITION_MOBILE); ?><br>
<?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/script.gif" width="16" height="16" alt="&gt;">&nbsp;<?php _e($this->_vars['entry']['subject']); ?></td></tr>
	<tr><td align="center" bgcolor="<?php Theme::exec()->bgColor(); ?>"><?php loadPlugin::callFunc('hitsuji_profile', $this->_vars['base']['account']['id'], 'vSmall,nickname'); ?><br></td>
		<td bgcolor="<?php Theme::exec()->bgColor(); ?>"><font size="<?php Theme::exec()->fontSize(); ?>">
			<?php HTML::htmlBody($this->_vars['blg_comment']['comment']); ?><br></font>
	</td></tr>
</table>

<table border="0" width="<?php Theme::exec()->mainWidth(); ?>">
	<tr><td bgcolor="<?php Theme::exec()->bgColor(); ?>" align="center">
		<input type="submit" name="manip" value="<?php e($this->_vars['action']['confirm']? _('Submit'):_('Delete')); ?>">
		<input type="submit" name="<?php e($this->_vars['action']['goback']); ?>" value="<?php _e('Go back'); ?>">
	<br></td></tr>
</table>
<?php endif; ?>
</form>
<?php else: ?>
<response>
<?php if ($this->_vars['error_code'] == 0): ?>
<error>0</error>
<?php else: ?>
<error>1</error>
<message>Sorry, trackbacks are closed for this item.</message>
<?php endif; ?>
</response>
<?php endif; ?>