>

<{t}>用户名<{/t}> | <{$mem.account.local}>
<{t}>邮箱<{/t}> | <{$mem.account.email}>
<{t}>手机号码<{/t}> | <{$mem.account.mobile}>
<{t}>会员等级<{/t}> | <{input type='select' name='member_lv[member_group_id]' options=$mem.lv.options required=true value=$mem.lv.value }> [<{t}>修改密码<{/t}>]
<{foreach from=$attr item=item name="item" key='row'}>
<{if $item.attr_required eq 'true'}>*<{/if}><{$item.attr_name|t:'b2c'}> | <{if $item.attr_type =='date'}> <{if $item.attr_value != '0-0-0' && $item.attr_value != '--'}> <{if $item.attr_required eq 'true'}> <{input class="cal" type='date' vtype="required&&date" name=$item.attr_column value=$item.attr_value}> <{else}> <{input class="cal" type='date' name=$item.attr_column value=$item.attr_value}> <{/if}> <{else}> <{if $item.attr_required eq 'true'}> <{input class="cal" type="date" vtype="required&&date" name=$item.attr_column}> <{else}> <{input class="cal" type="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 value=$item.attr_value vtype="area" }> <{else}> <{input app=ectools type="region" name=$item.attr_column value=$item.attr_value vtype="" }> <{/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}>' <{foreach from=$item.attr_value item=checkboxvalue name="checkboxvalue" }> <{if $checkboxvalue==$checkbox}> checked ='true' <{/if}> <{/foreach}>><{$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_valtype}>' /> <{/if}>
<{/foreach}>

<{button type="submit" label=$___b2c="保存"|t:'b2c' }>