<?php if ($this->_vars['delete']): ?>
<?php if (!empty($this->_vars['article'])):?>
<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/page.gif" width="16" height="16" alt="&gt;">&nbsp;<?php e($this->_vars['article']['article']); ?></td></tr>
	<tr><td bgcolor="<?php Theme::exec()->bgColor(); ?>"><font size="<?php Theme::exec()->fontSize(); ?>">
		<?php eDate($this->_vars['article']['regist_date'], _('Y-m-d H:i')); ?>&nbsp;
		<img src="<?php e(BASE_URL); ?>resource/img/icons/<?php e($this->_vars['base']['visibility_icon'][$this->_vars['article']['visibility']]); ?>" width="16" height="16" alt="&gt;"><br>
		<img src="<?php e(BASE_URL); ?>resource/img/icons/book_edit.gif" width="16" height="16" alt="&gt;"><a href="<?php e(HTTP_ACTION);?>private/post/blog/0/<?php e(US); ?>ref_article=<?php e($this->_vars['article']['id']); ?>"><?php _e('Write an article related'); ?></a><br></font>
<?php if ($this->_vars['base']['account']['id'] == $this->_vars['article']['ref_author']): ?>
		<div align="right"><font size="<?php Theme::exec()->fontSize(); ?>"><img src="<?php e(BASE_URL); ?>resource/img/icons/edit.gif" width="16" height="16" alt="&gt;">&nbsp;<a href="<?php e(HTTP_ACTION); ?>community/article/post/<?php e($this->_vars['base']['community']['id']); ?>/<?php e($this->_vars['article']['id']); ?>/"><?php _e('Edit'); ?></a>
		<img src="<?php e(BASE_URL); ?>resource/img/icons/trash.gif" width="16" height="16" alt="&gt;">&nbsp;<a href="<?php e(HTTP_ACTION); ?>community/article/post/<?php e($this->_vars['base']['community']['id']); ?>/<?php e($this->_vars['article']['id']); ?>/delete/"><?php _e('Delete'); ?></a></font></div>
<?php endif; ?>
	<br></td></tr>
</table>
<hr color="<?php Theme::exec()->borderColor(); ?>" noshade="noshade">
<?php endif; ?>

<form method="post" action="<?php e($this->_vars['action']['url']); ?>"><?php HTML::requires(); ?>
<?php if ($this->_vars['action']['deleted']): ?>
	<?php _e('Deleted'); ?><br><br>
	<?php loadPlugin::callFunc('hitsuji_banner', POSITION_MOBILE); ?><br>
<?php else: ?>
<table border="0" width="<?php Theme::exec()->mainWidth(); ?>">
	<tr><td bgcolor="<?php Theme::exec()->bgColor(); ?>" align="center">
		<?php loadPlugin::callFunc('hitsuji_profile', $this->_vars['base']['account']['id'], 'vSmall,nickname'); ?>
	</td></tr>
	<tr><td bgcolor="<?php Theme::exec()->bgColor(); ?>" align="center">
		<?php HTML::htmlBody($this->_vars['com_trackback']['excerpt']); ?>
	<br></td></tr>
	<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; ?>