					<form id="feditor" name="edit" method="post" action="<?php e($this->_vars['action']['url']); ?>">
					<img src="<?php Theme::Path(); ?>itemTop.png" width="530" height="10" alt="---" align="absbottom" />
						<?php HTML::requires(); ?>
						<div class="listrow"><h2><img src="<?php e(BASE_URL); ?>resource/img/icons/book_edit.gif" width="16" height="16" align="absmiddle" alt="&gt;" />&nbsp;<?php _e('Write a Blog'); ?></h2></div>
<?php if ($this->_vars['action']['complete'] || $this->_vars['action']['deleted']): ?>
						<div class="listplain">
							<?php e($this->_vars['action']['complete']? _('Updated'):_('Deleted')); ?><br />
							<img src="<?php e(BASE_URL); ?>resource/img/icons/book_open.gif" width="16" height="16" align="absmiddle" alt="&gt;" />&nbsp;<a href="<?php e(HTTP_ACTION); ?>member/blog/list/<?php e($this->_vars['base']['account']['id']); ?>/"><?php _e('View Blog'); ?></a>
							<br /><br /><?php loadPlugin::callFunc('hitsuji_banner', POSITION_MIDDLE); ?><br />
						</div>
<?php elseif ($this->_vars['action']['confirm'] || $this->_vars['action']['delete']): ?>
					<img src="<?php Theme::Path(); ?>itemBottom.png" width="530" height="10" alt="___" align="top" />

					<img src="<?php Theme::Path(); ?>itemTop.png" width="530" height="10" alt="__" align="absbottom" />
						<div class="listrow"><h2><img src="<?php e(BASE_URL); ?>resource/img/icons/script.gif" width="16" height="16" align="absmiddle" alt="&gt;" />&nbsp;<?php e($this->_vars['blg_entry']['subject']); ?></h2></div>
						<div class="listrow">
							<div class="rdata"><?php HTML::htmlBody($this->_vars['blg_entry']['body']); ?></div>
						</div>
						<div class="listplain">
							<ul class="horizontal">
								<li style="width:140px; text-align:center;">
									<?php eDate($this->_vars['blg_entry']['regist_date'], _('Y-m-d H:i')); ?>
								</li>
								<li style="width:364px; text-align:right;">
									<img src="<?php e(BASE_URL); ?>resource/img/icons/comment.gif" width="16" height="16" align="absmiddle" alt="&gt;" />&nbsp;<?php _e('Comments'); ?>&nbsp;&nbsp;
									<img src="<?php e(BASE_URL); ?>resource/img/icons/book_olink.gif" width="16" height="16" align="absmiddle" alt="&gt;" />&nbsp;<?php _e('Trackbacks'); ?>&nbsp;&nbsp;
								</li>
							</ul>
						</div>
					<img src="<?php Theme::Path(); ?>itemBottom.png" width="530" height="10" alt="__" align="top" />

					<img src="<?php Theme::Path(); ?>itemTop.png" width="530" height="10" alt="__" align="absbottom" />
						<div class="listrow">
							<label class="column"><?php _e('Visibility'); ?>:</label>
							<div class="fdata"><?php e($this->_vars['visibility'][$this->_vars['blg_entry']['visibility']]); ?></div>
						</div>
						<div class="listrow">
							<label class="column"><?php _e('Tag'); ?>:</label>
							<div class="fdata"><?php e($this->_vars['blg_entry']['tag']); ?></div>
						</div>
						<div class="listrow">
							<label class="column"><?php _e('TrackBack URL'); ?>:</label>
							<div class="fdata"><?php e($this->_vars['blg_entry']['tb_url']); ?></div>
						</div>
						<div class="listplain">
							<input type="submit" name="manip" value="<?php e($this->_vars['action']['confirm']? _('Submit'):_('Delete')); ?>" style="width:120px;" />&nbsp;&nbsp;&nbsp;&nbsp;
							<input type="submit" name="<?php e($this->_vars['action']['goback']); ?>" value="<?php _e('Go back'); ?>" style="width:100px;" />
						</div>
<?php else: ?>
						<div class="listrow">
							<label class="column"><?php _e('Regist Date'); ?>:</label>
							<div class="fdata">
								<?php if (!empty($this->_vars['alert']['regist_date'])): ?><span class="alert"><?php _e('Please choose it in a range until the present.'); ?></span><br /><?php endif; ?>
								<?php HTML::dateSelect('regist_date', ifNull($this->_vars['blg_entry']['regist_date'], 'now')); ?>
								<?php HTML::timeHidden('regist_date', $this->_vars['blg_entry']['regist_date']); ?>
							</div>
						</div>
						<div class="listrow">
							<label class="column"><?php _e('Subject'); ?>:</label>
							<div class="fdata">
								<?php if (!empty($this->_vars['alert']['subject'])): ?><span class="alert"><?php _e('Please enter.'); ?></span><br /><?php endif; ?>
 
								<input type="text" name="subject" value="<?php e($this->_vars['blg_entry']['subject']); ?>" size="40" />
							</div>
						</div>
						<div class="listrow">
							<div class="rdata">
								<?php if (!empty($this->_vars['alert']['body'])): ?><span class="alert"><?php _e('Please enter.'); ?></span><br /><?php endif; ?>
								<?php HTML::richEditor('body', ifNull($this->_vars['blg_entry']['body'], $this->_vars['related']), _('Body')); ?>
								<?php loadPlugin::callFunc('hitsuji_attaches', $this->_vars['base']['account']['id']); ?>
							</div>
						</div>
						<div class="listrow">
							<label class="column"><?php _e('Visibility'); ?>:</label>
							<div class="fdata">
								<?php if (!empty($this->_vars['alert']['visibility'])): ?><span class="alert"><?php _e('Please select.'); ?></span><br /><?php endif; ?>
								<select name="visibility"><?php HTML::options($this->_vars['visibility'], $this->_vars['blg_entry']['visibility']); ?></select>
							</div>
						</div>
						<div class="listrow">
							<label class="column"><?php _e('Tag'); ?>:</label>
							<div class="fdata">
								<?php if (!empty($this->_vars['alert']['tag'])): ?><span class="alert"><?php _e('Please enter.'); ?></span><br /><?php endif; ?> 
								<input type="text" name="tag" value="<?php e($this->_vars['blg_entry']['tag']); ?>" size="50" />
							</div>
						</div>
						<div class="listrow">
							<label class="column"><?php _e('TrackBack URL'); ?>:</label>
							<div class="fdata">
								<?php if (!empty($this->_vars['alert']['tb_url'])): ?><span class="alert"><?php _e('Please enter.'); ?></span><br /><?php endif; ?>
								<input type="text" name="tb_url" value="<?php e(ifNull($this->_vars['blg_entry']['tb_url'], $this->_vars['tb_url'])); ?>" size="50" />
							</div>
						</div>
						<div class="listplain"><input type="submit" name="confirm" value="<?php _e('Confirm'); ?>" style="width:120px;" /></div>
<?php endif; ?>
					<img src="<?php Theme::Path(); ?>itemBottom.png" width="530" height="10" alt="___" align="top" />
					</form>
