*<{t}>用户名：<{/t}> | <{input type="text" name="pam_account[login_name]" onchange="nameCheck(this)" size="20" vtype="required"}>
*<{t}>密码：<{/t}> | <{input type="password" name="pam_account[login_password]" size="20" vtype="required"}>
*<{t}>确认密码：<{/t}> | <{input type="password" name="pam_account[psw_confirm]" size="20" vtype="required"}>
*<{t}>会员等级：<{/t}> | <{input type='select' name='member_lv[member_group_id]' vtype="required" options=$mem.lv.options value=$mem.lv.value }>

<{foreach from=$attr item=item name="item" key='row'}>
<{if $item.attr_required eq 'true'}>*<{/if}><{$item.attr_name}>： | <{if $item.attr_type =='date'}> <{if $item.attr_value != '0-0-0'}> <{if $item.attr_required eq 'true'}> <{input type='date' vtype="required&&date" name=$item.attr_column value=$item.attr_value}> <{else}> <{input type='date' name=$item.attr_column value=$item.attr_value}> <{/if}> <{else}> <{if $item.attr_required eq 'true'}> <{input type="date" vtype="required&&date" name=$item.attr_column}> <{else}> <{input type="date" vtype="date" name=$item.attr_column}> <{/if}> <{/if}> <{/if}> <{if $item.attr_type =='region'}> <{if $item.attr_required eq 'true'}> <{input app=ectools type="region" name=$item.attr_column vtype='area' }> <{else}> <{input app=ectools type="region" name=$item.attr_column }> <{/if}> <{/if}> <{if $item.attr_type =='gender'}> <{input type='gender' name=$item.attr_column value=$item.attr_value }> <{/if}> <{if $item.attr_type =='select'}> <{/if}> <{if $item.attr_type =='checkbox'}> <{foreach from=$item.attr_option item=checkbox name="checkbox" }> [] value='<{$checkbox}>'><{$checkbox}> <{/foreach}> <{if $item.attr_required eq 'true'}> <{/if}> <{/if}> <{if $item.attr_type == 'text'}> value='<{$item.attr_value}>' vtype='<{if $item.attr_required eq 'true'}>required&&<{/if}><{$item.attr_valtype}>' /> <{/if}> <{if $item.attr_type == 'number'}> value='<{$item.attr_value}>' vtype='<{if $item.attr_required eq 'true'}>required&&<{/if}><{$item.attr_valtype}>' /> <{/if}> <{if $item.attr_type == 'alpha'}> value='<{$item.attr_value}>' vtype='<{if $item.attr_required eq 'true'}>required&&<{/if}><{$item.attr_type}>' /> <{/if}>
<{/foreach}>

<{area inject='.mainFoot'}>
<{button type="submit" label=$___b2c="保存"|t:'b2c' id='newmember-edit-form-submit'}>
<{/area}>