					<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/vcard.gif" width="16" height="16" align="absmiddle" alt="&gt;" />&nbsp;<?php _e('Add Profile'); ?></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('Item'); ?>:</label>
							<div class="fdata"><?php e($this->_vars['act_item']['item']); ?></div>
						</div>
						<div class="listrow">
							<label class="column"><?php _e('Required'); ?>:</label>
							<div class="fdata"><?php e($this->_vars['required'][$this->_vars['act_item']['required']]); ?></div>
						</div>
						<div class="listrow">
							<label class="column"><?php _e('Visibility'); ?>:</label>
							<div class="fdata"><?php e($this->_vars['visible'][$this->_vars['act_item']['visible']]); ?></div>
						</div>
						<div class="listrow">
							<label class="column"><?php _e('Type'); ?>:</label>
							<div class="fdata"><?php e($this->_vars['type'][$this->_vars['act_item']['type']]); ?></div>
						</div>
						<div class="listrow">
							<label class="column"><?php _e('Answers'); ?>:</label>
							<div class="fdata"><?php foreach ($this->_vars['answers'] as $_value): ?><?php if(!empty($_value)): ?><?php e($_value); ?><input type="hidden" name="answers[]" value="<?php e($_value); ?>" /><br /><?php endif; ?><?php endforeach; ?></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('Item'); ?>:</label>
							<div class="fdata">
								<?php if (!empty($this->_vars['alert']['item'])): ?><span class="alert"><?php _e('Please enter.'); ?></span><br /><?php endif; ?>
								<input type="text" name="item" value="<?php e($this->_vars['act_item']['item']); ?>" size="32" />
							</div>
						</div>
						<div class="listrow">
							<label class="column"><?php _e('Required'); ?>:</label>
							<div class="fdata">
								<?php if (!empty($this->_vars['alert']['required'])): ?><span class="alert"><?php _e('Please select.'); ?></span><br /><?php endif; ?>
								<?php HTML::radio('required', $this->_vars['required'], $this->_vars['act_item']['required']); ?>
							</div>
						</div>
						<div class="listrow">
							<label class="column"><?php _e('Visibility'); ?>:</label>
							<div class="fdata">
								<?php if (!empty($this->_vars['alert']['visible'])): ?><span class="alert"><?php _e('Please select.'); ?></span><br /><?php endif; ?>
								<?php HTML::radio('visible', $this->_vars['visible'], $this->_vars['act_item']['visible']); ?>
							</div>
						</div>
						<div class="listrow">
							<label class="column"><?php _e('Type'); ?>:</label>
							<div class="fdata">
								<?php if (!empty($this->_vars['alert']['type'])): ?><span class="alert"><?php _e('Please select.'); ?></span><br /><?php endif; ?>
								<?php HTML::radio('type', $this->_vars['type'], $this->_vars['act_item']['type'], '<br />'); ?>
							</div>
						</div>
						<div class="listrow">
							<label class="column"><?php _e('Select List'); ?>:</label>
							<div class="fdata">
								<ul id="Answers" style="margin:0;padding:0;">
<?php foreach ($this->_vars['answers'] as $_value): ?>
									<li style="margin-bottom:8px;"><input type="text" name="answers[]" value="<?php e($_value); ?>" size="42" onfocus="addAnswer();" /></li>
<?php endforeach; ?>
									<li style="margin-bottom:8px;"><input type="text" name="answers[]" value="" size="42" onfocus="addAnswer();" /></li>
								</ul>
							</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" />