					<img src="<?php Theme::Path(); ?>itemTop.png" width="530" height="10" alt="__" align="absbottom" />
<?php if (!empty($this->_vars['cnt_contact'])): ?>
						<div class="listplain">
							<table class="list" align="center" style="width:480px;" cellpadding="4" cellspacing="0"><tbody>
								<tr>
									<td rowspan="3" style="width:120px; text-align:center;"><?php loadPlugin::callFunc('hitsuji_profile', $this->_vars['cnt_contact']['ref_account'], 'thumbnail'); ?></td>
									<td class="column" style="width:80px;"><?php _e('Name'); ?></td>
									<td>
<?php if (empty($this->_vars['cnt_contact']['ref_account'])): ?>
									<?php e($this->_vars['cnt_contact']['name']); ?>)
<?php else : ?>
									<?php loadPlugin::callFunc('hitsuji_profile', $this->_vars['cnt_contact']['ref_account'], 'nickname'); ?>(<?php loadPlugin::callFunc('hitsuji_lastLogin', $this->_vars['cnt_contact']['ref_account']); ?>)
<?php endif; ?>
									</td>
								</tr>
								<tr>
									<td class="column" style="width:80px;"><?php _e('Date'); ?></td>
									<td><?php eDate($this->_vars['cnt_contact']['regist_date'], _('Y-m-d H:i')); ?></td>
								</tr>
								<tr>
									<td class="column" style="width:80px;"><?php _e('Category'); ?></td>
									<td><?php e($this->_vars['cnt_category'][$this->_vars['cnt_contact']['ref_category']]); ?></td>
								</tr>
								<tr>
									<td colspan="3" height="100"><?php HTML::nl2br($this->_vars['cnt_contact']['comment']); ?></td>
								</tr>
							</tbody></table>
<?php if ($this->_vars['action']['complete'] || $this->_vars['action']['deleted']): ?>
							<br />
							<ul class="horizontal">
								<li style="width:166px; text-align:left;"><br /></li>
								<li style="width:344px; text-align:right;">
									<form name="edit" method="post" action="<?php e(HTTP_ACTION); ?>admin/contact/list/<?php e($this->_vars['cnt_contact']['status']); ?>/">
										<?php HTML::requires(); ?>
										<input name="contacts[]" type="hidden" value="<?php e($this->_vars['request']['ref_contact']); ?>" />
										<select name="chenge"><option value=""><?php _e('- Select One -'); ?></option><?php HTML::options($this->_vars['statuses']); ?></select>
										<input type="submit" name="manips" value="<?php _e('Move'); ?>" />
<?php if($this->_vars['status'] == MESSAGE_TRASH): ?>
										&nbsp;&nbsp;<input type="submit" name="delete" value="<?php _e('Delete'); ?>" />
<?php endif; ?>
									</form>
								</li>
							</ul>
<?php endif; ?>
						</div>
<?php else: ?>
						<div class="listplain">
							<?php e(sprintf('There are no messages in your %s folder.', $this->_vars['statuses'][$this->_vars['status']])); ?><br /><br />
							<?php loadPlugin::callFunc('hitsuji_banner', POSITION_MIDDLE); ?><br />
						</div>
<?php endif; ?>
					<img src="<?php Theme::Path(); ?>itemBottom.png" width="530" height="10" alt="__" align="top" />
					<br />


					<img src="<?php Theme::Path(); ?>itemTop.png" width="530" height="10" alt="---" align="absbottom" />
					<form name="edit" method="post" action="<?php e($this->_vars['action']['url']); ?>">
						<?php HTML::requires(); ?>
						<div class="listrow"><h2><img src="<?php e(BASE_URL); ?>resource/img/icons/sent.gif" width="16" height="16" align="absmiddle" alt="&gt;" />&nbsp;<?php _e('Response'); ?></h2></div>
<?php if ($this->_vars['action']['complete'] || $this->_vars['action']['deleted']): ?>
						<div class="listplain">
							<?php e($this->_vars['action']['complete']? _('Updated'):_('Deleted')); ?><br /><br /><?php loadPlugin::callFunc('hitsuji_banner', POSITION_MIDDLE); ?><br />
						</div>
<?php elseif ($this->_vars['action']['confirm'] || $this->_vars['action']['delete']): ?>
						<div class="listrow">
							<label class="column"><?php _e('Subject'); ?>:</label>
							<div class="fdata"><?php e($this->_vars['cnt_response']['subject']); ?></div>
						</div>
						<div class="listrow">
							<label class="column"><?php _e('Body'); ?>:</label>
							<div class="fdata"><?php HTML::nl2br($this->_vars['cnt_response']['body']); ?></div>
						</div>
						<div class="listplain">
    					    <input type="hidden" name="send" value="<?php e(RESPONSE_POST) ?>" />
							<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="manip" value="<?php _e('Send Mail'); ?>" style="width:120px;" onclick="document.edit.send.value=<?php e(RESPONSE_SEND) ?>;" />&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('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['cnt_response']['subject']); ?>" size="32" />
							</div>
						</div>
						<div class="listrow">
							<label class="column"><?php _e('Body'); ?>:</label>
							<div class="fdata">
								<?php if (!empty($this->_vars['alert']['body'])): ?><span class="alert"><?php _e('Please enter.'); ?></span><br /><?php endif; ?>
								<textarea name="body" cols="40" rows="6"><?php e($this->_vars['cnt_response']['body']); ?></textarea>
							</div>
						</div>
						<div class="listplain"><input type="submit" name="confirm" value="<?php _e('Confirm'); ?>" style="width:120px;" /></div>
<?php endif; ?>
					</form>
					<img src="<?php Theme::Path(); ?>itemBottom.png" width="530" height="10" alt="___" align="top" />