					<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/disconnect.gif" width="16" height="16" align="absmiddle" alt="&gt;" />&nbsp;<?php _e('Contact us'); ?></h2></div>
<?php if ($this->_vars['action']['complete']): ?>
						<div class="listplain">
							<?php _e('Thank you for contacting us.'); ?><br /><br /><?php loadPlugin::callFunc('hitsuji_banner', POSITION_MIDDLE); ?><br />
						</div>
<?php elseif ($this->_vars['action']['confirm']): ?>
						<div class="listrow">
							<label class="column"><?php _e('Category'); ?>:</label>
							<div class="fdata"><?php e($this->_vars['reference']['cnt_category'][$this->_vars['cnt_contact']['ref_category']]); ?></div>
						</div>
						<div class="listrow">
							<label class="column"><?php _e('name'); ?>:</label>
							<div class="fdata"><?php e($this->_vars['cnt_contact']['name']); ?></div>
						</div>
						<div class="listrow">
							<label class="column"><?php _e('url'); ?>:</label>
							<div class="fdata"><?php e($this->_vars['cnt_contact']['url']); ?></div>
						</div>
						<div class="listrow">
							<label class="column"><?php _e('E-mail'); ?>:</label>
							<div class="fdata"><?php e($this->_vars['cnt_contact']['email']); ?></div>
						</div>
						<div class="listrow">
							<label class="column"><?php _e('Comment'); ?>:</label>
							<div class="fdata"><?php HTML::nl2br($this->_vars['cnt_contact']['comment']); ?></div>
						</div>
						<div class="listplain">
							<input type="submit" name="manip" value="<?php _e('Submit'); ?>" 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('Category'); ?>:</label>
							<div class="fdata">
								<?php if (!empty($this->_vars['alert']['ref_category'])): ?><span class="alert"><?php _e('Please select.'); ?></span><br /><?php endif; ?>
								<select name="ref_category"><?php HTML::options($this->_vars['reference']['cnt_category'], $this->_vars['cnt_contact']['ref_category']); ?></select>
							</div>
						</div>
						<div class="listrow">
							<label class="column"><?php _e('name'); ?>:</label>
							<div class="fdata">
								<?php if (!empty($this->_vars['alert']['name'])): ?><span class="alert"><?php _e('Please enter.'); ?></span><br /><?php endif; ?>
 
								<input type="text" name="name" value="<?php e($this->_vars['cnt_contact']['name']); ?>" size="32" />
							</div>
						</div>
						<div class="listrow">
							<label class="column"><?php _e('url'); ?>:</label>
							<div class="fdata">
								<?php if (!empty($this->_vars['alert']['url'])): ?><span class="alert"><?php _e('Please enter.'); ?></span><br /><?php endif; ?>
 
								<input type="text" name="url" value="<?php e($this->_vars['cnt_contact']['url']); ?>" size="32" />
							</div>
						</div>
						<div class="listrow">
							<label class="column"><?php _e('E-mail'); ?>:</label>
							<div class="fdata">
								<?php if (!empty($this->_vars['alert']['email'])): ?><span class="alert"><?php _e('Please enter.'); ?></span><br /><?php endif; ?>
 
								<input type="text" name="email" value="<?php e($this->_vars['cnt_contact']['email']); ?>" size="32" />
							</div>
						</div>
						<div class="listrow">
							<label class="column"><?php _e('Comment'); ?>:</label>
							<div class="fdata">
								<?php if (!empty($this->_vars['alert']['comment'])): ?><span class="alert"><?php _e('Please enter.'); ?></span><br /><?php endif; ?>
								<textarea name="comment" cols="40" rows="6"><?php e($this->_vars['cnt_contact']['comment']); ?></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" />