<!-- includes/user_input_form.inc -->
<div class="input-form">
{if !$user_form}{assign var="user_form" value=$input_form}{/if}
<form {$user_form.attributes}>
{$user_form.hidden}
{if $user_form.information }
<div class="information">
	{$user_form.information}
</div>
{/if}
<table cellspacing="0">
	<tr>
		<th>{$user_form.handle.label}</th>
		<td>{$user_form.handle.html}{if $user_form.handle.error}<br>{$user_form.handle.error}{/if}</td>
	</tr>
	<tr>
		<th>{$user_form.login_id.label}</th>
		<td>{$user_form.login_id.html}{if $user_form.login_id.error}<br>{$user_form.login_id.error}{/if}</td>
	</tr>
{if $user_form.qt_status=='EDIT' or $user_form.qt_status=='UPDATE_CONFIRM' or $user_form.qt_status=='UPDATE' }
	<tr>
		<th>{$user_form.old_password.label}</th>
		<td>{$user_form.old_password.html}{if $user_form.old_password.error}<br>{$user_form.old_password.error}{/if}</td>
	</tr>
{/if}
{if $user_form.qt_status!='BROWSE' }
	<tr>
		<th>{$user_form.password.label}</th>
		<td>{$user_form.password.html}{if $user_form.password.error}<br>{$user_form.password.error}{/if}</td>
	</tr>
	<tr>
		<th>{$user_form.password_check.label}</th>
		<td>{$user_form.password_check.html}{if $user_form.password_check.error}<br>{$user_form.password_check.error}{/if}</td>
	</tr>
{/if}
	<tr>
		<th>{$user_form.email.label}</th>
		<td>{$user_form.email.html}{if $user_form.email.error}<br>{$user_form.email.error}{/if}</td>
	</tr>
	<tr>
		<th>{$user_form.family_name.label}</th>
		<td>{$user_form.family_name.html}{if $user_form.family_name.error}<br>{$user_form.family_name.error}{/if}</td>
	</tr>
	<tr>
		<th>{$user_form.given_name.label}</th>
		<td>{$user_form.given_name.html}{if $user_form.given_name.error}<br>{$user_form.given_name.error}{/if}</td>
	</tr>
	<tr>
		<th>{$user_form.zipcode.label}</th>
		<td>{$user_form.zipcode.html}{if $user_form.zipcode.error}<br>{$user_form.zipcode.error}{/if}</td>
	</tr>
	<tr>
		<th>{$user_form.gender.label}</th>
		<td>{$user_form.gender.html}{if $user_form.gender.error}<br>{$user_form.gender.error}{/if}</td>
	</tr>
	<tr>
		<th>{$user_form.birthday.label}</th>
		<td>{$user_form.birthday.html}{if $user_form.birthday.error}<br>{$user_form.birthday.error}{/if}</td>
	</tr>
	<tr>
		<th>{$user_form.acceptmail.label}</th>
		<td>{$user_form.acceptmail.html}{if $user_form.acceptmail.error}<br>{$user_form.acceptmail.error}{/if}</td>
	</tr>
	<tr>
		<th>{$user_form.entry_datetime.label}</th>
		<td>{$user_form.entry_datetime.html}{if $user_form.entry_datetime.error}<br>{$user_form.entry_datetime.error}{/if}</td>
	</tr>
	<tr>
		<th>{$user_form.update_datetime.label}</th>
		<td>{$user_form.update_datetime.html}{if $user_form.update_datetime.error}<br>{$user_form.update_datetime.error}{/if}</td>
	</tr>
{if $user.level>=10}
	<tr>
		<th>{$user_form.level.label}</th>
		<td>{$user_form.level.html}{if $user_form.level.error}<br>{$user_form.level.error}{/if}</td>
	</tr>
{else}
	<input type="hidden" name="level" value="{if $user.level}{$user.level}{else}1{/if}" />
{/if}
</table>
<div class="submit">{if $user_form.qt_status=='BROWSE'}<a href="{$b}/user/edit/{if $smarty.request.id}?id={$smarty.request.id}{/if}">{$W.do_edit}</a>{else}{$user_form.submit.html}{/if}</div>
</form>
</div>
<!-- end of includes/user_input_form.inc -->