{php define('MUI', true);} {template 'common/header'}
{if $do == 'index'} {if !empty($mcFields['avatar'])} {php echo tpl_app_form_field_avatar('avatar', $profile['avatar']);} {/if}
{if !empty($mcFields['nickname'])}
{$mcFields['nickname']['title']} {php echo tpl_app_fans_form('nickname', $profile['nickname'], $mcFields['nickname']['title']);}
{/if} {if !empty($mcFields['realname'])}
{$mcFields['realname']['title']} {php echo tpl_app_fans_form('realname', $profile['realname'], $mcFields['realname']['title']);}
{/if} {if !empty($mcFields['gender'])}
{$mcFields['gender']['title']} {php echo tpl_app_fans_form('gender', $profile['gender'], $mcFields['gender']['title']);}
{/if} {if !empty($mcFields['birthyear'])}
{$mcFields['birthyear']['title']} {php echo tpl_app_fans_form('birth', array('year' => $profile['birthyear'], 'month' => $profile['birthmonth'], 'day' => $profile['birthday']), $mcFields['birthyear']['title']);}
{/if} {if !empty($mcFields['resideprovince'])}
{$mcFields['resideprovince']['title']} {php echo tpl_app_fans_form('reside', array('province' => $profile['resideprovince'], 'city' => $profile['residecity'], 'district' => $profile['residedist']), $mcFields['resideprovince']['title']);}
{/if}

{if empty($personal_info_hide)}
- 个人信息
{/if} {if empty($contact_method_hide)}
- 联系方式
{/if} {if empty($education_info_hide)}
- 教育信息
{/if} {if empty($jobedit_hide)}
- 工作信息
{/if}

{/if} {if $do == 'personal_info'}
请完善您的个人信息
{if !empty($mcFields['idcard'])}
{$mcFields['idcard']['title']} {php echo tpl_app_fans_form('idcard', $profile['idcard'], $mcFields['idcard']['title']);}
{/if} {if !empty($mcFields['height'])}
{$mcFields['height']['title']} {php echo tpl_app_fans_form('height', $profile['height'], $mcFields['height']['title']);}
{/if} {if !empty($mcFields['weight'])}
{$mcFields['weight']['title']} {php echo tpl_app_fans_form('weight', $profile['weight'], $mcFields['weight']['title']);}
{/if} {if !empty($mcFields['bloodtype'])}
{$mcFields['bloodtype']['title']} {php echo tpl_app_fans_form('bloodtype', $profile['bloodtype'], $mcFields['bloodtype']['title']);}
{/if} {if !empty($mcFields['zodiac'])}
{$mcFields['zodiac']['title']} {php echo tpl_app_fans_form('zodiac', $profile['zodiac'], $mcFields['zodiac']['title']);}
{/if} {if !empty($mcFields['constellation'])}
{$mcFields['constellation']['title']} {php echo tpl_app_fans_form('constellation', $profile['constellation'], $mcFields['constellation']['title']);}
{/if} {if !empty($mcFields['site'])}
{$mcFields['site']['title']} {php echo tpl_app_fans_form('site', $profile['site'], $mcFields['site']['title']);}
{/if} {if !empty($mcFields['affectivestatus'])}
{$mcFields['affectivestatus']['title']} {php echo tpl_app_fans_form('affectivestatus', $profile['affectivestatus'], $mcFields['affectivestatus']['title']);}
{/if} {if !empty($mcFields['lookingfor'])}
{$mcFields['lookingfor']['title']} {php echo tpl_app_fans_form('lookingfor', $profile['lookingfor'], $mcFields['lookingfor']['title']);}
{/if} {if !empty($mcFields['bio'])}
{$mcFields['bio']['title']} {php echo tpl_app_fans_form('bio', $profile['bio'], $mcFields['bio']['title']);}
{/if} {if !empty($mcFields['interest'])}
{$mcFields['interest']['title']} {php echo tpl_app_fans_form('interest', $profile['interest'], $mcFields['interest']['title']);}
{/if}
{/if} {if $do == 'contact_method'}
请完善您的联系方式
{if !empty($mcFields['telephone'])}
{$mcFields['telephone']['title']} {php echo tpl_app_fans_form('telephone', $profile['telephone'], $mcFields['telephone']['title']);}
{/if} {if !empty($mcFields['qq'])}
{$mcFields['qq']['title']} {php echo tpl_app_fans_form('qq', $profile['qq'], $mcFields['qq']['title']);}
{/if} {if !empty($mcFields['msn'])}
{$mcFields['msn']['title']} {php echo tpl_app_fans_form('msn', $profile['msn'], $mcFields['msn']['title']);}
{/if} {if !empty($mcFields['taobao'])}
{$mcFields['taobao']['title']} {php echo tpl_app_fans_form('taobao', $profile['taobao'], $mcFields['taobao']['title']);}
{/if} {if !empty($mcFields['alipay'])}
{$mcFields['alipay']['title']} {php echo tpl_app_fans_form('alipay', $profile['alipay'], $mcFields['alipay']['title']);}
{/if}
{/if} {if $do == 'education_info'}
请完善您的教育信息
{if !empty($mcFields['education'])}
{$mcFields['education']['title']} {php echo tpl_app_fans_form('education', $profile['education'],$mcFields['education']['title']);}
{/if} {if !empty($mcFields['graduateschool'])}
{$mcFields['graduateschool']['title']} {php echo tpl_app_fans_form('graduateschool', $profile['graduateschool'], $mcFields['graduateschool']['title']);}
{/if} {if !empty($mcFields['studentid'])}
{$mcFields['studentid']['title']} {php echo tpl_app_fans_form('studentid', $profile['studentid'], $mcFields['studentid']['title']);}
{/if}
{/if} {if $do == 'jobedit'}
请完善您的工作信息
{if !empty($mcFields['company'])}
{$mcFields['company']['title']} {php echo tpl_app_fans_form('company', $profile['company'], $mcFields['company']['title']);}
{/if} {if !empty($mcFields['occupation'])}
{$mcFields['occupation']['title']} {php echo tpl_app_fans_form('occupation', $profile['occupation'], $mcFields['occupation']['title']);}
{/if} {if !empty($mcFields['position'])}
{$mcFields['position']['title']} {php echo tpl_app_fans_form('position', $profile['position'], $mcFields['position']['title']);}
{/if} {if !empty($mcFields['revenue'])}
{$mcFields['revenue']['title']} {php echo tpl_app_fans_form('revenue', $profile['revenue'], $mcFields['revenue']['title']);}
{/if}
{/if}
{if $do == 'address' && empty($_GPC['addid'])}

{if empty($addresses)}
- 暂无收货地址,请点击新增收货地址.
{/if} {loop $addresses $address}
- {if !$address['isdefault']} 设为默认 {/if} 删除
  {$address['username']}{$address['mobile']}
  {$address['province']} {$address['city']} {$address['district']} {$address['address']}
  {if $address['isdefault'] > 0} 默认 {/if}
{/loop}
- 新增收货地址

{/if} {if $do == 'addressadd'}
请您填写收货地址
姓名
手机号码
邮政编码
选择地区 {php echo tpl_app_form_field_district('address',array('province' => $address['province'],'city' => $address['city'],'district' => $address['district']));}
详细地址
{/if} {template 'common/footer'}