{template 'common/header'}
{if $do != 'credit_record' && $do != 'credit_stat'}
{else}
{/if} {if $do=='display'}
筛选
注册时间
{php echo tpl_form_field_daterange('createtime', array('starttime' => date('Y-m-d', $starttime), 'endtime' => date('Y-m-d', $endtime),));}
昵称/姓名/手机号码/openid
所属用户组
当前会员总数:{$stat['total']}。今日新增会员:{$stat['today']}。昨日新增会员:{$stat['yesterday']}。
会员的总积分 = 账户积分 + 账户贡献. 会员所在的会员组是根据 "总积分的多少" 和 "会员组的变更规则" (<根据总积分多少自动升价> 或 <根据总积分多少只升不降>) 自动匹配.

删? | 会员编号 | 昵称/真实姓名 | 手机 | 邮箱 | 余额/积分 | 注册时间 | 操作
--- | --- | --- | --- | --- | --- | --- | ---
{loop $list $li}
| {$li['uid']} | {if $li['nickname']}{$li['nickname']}{else}未完善{/if} {if $li['realname']}{$li['realname']}{else}未完善{/if} | {if $li['mobile']}{$li['mobile']}{else}未完善{/if} | {if $li['email_effective'] == 1}{$li['email']}{else}未完善{/if} | 余额：{$li['credit2']} 积分：{$li['credit1']} | {php echo date('Y-m-d H:i',$li['createtime'])} | 积分 余额 消费 编辑 日志
{/loop}

{$pager}
{/if} {if $do=='post'}
{if !empty($profile)}
修改密码
新密码
重复新密码
修改密码
{/if}
基本资料
头像
{php echo tpl_fans_form('avatar', $profile['avatar']);}
用户UID
所在会员组
昵称
{php echo tpl_fans_form('nickname',$profile['nickname']);}
真实姓名
{php echo tpl_fans_form('realname',$profile['realname']);}
性别
{php echo tpl_fans_form('gender',$profile['gender']);}
生日
{php echo tpl_fans_form('birth',array('year' => $profile['birthyear'],'month' => $profile['birthmonth'],'day' => $profile['birthday']));}
户籍
{php echo tpl_fans_form('reside',array('province' => $profile['resideprovince'],'city' => $profile['residecity'],'district' => $profile['residedist']));}
详细地址
{php echo tpl_fans_form('address',$profile['address']);}
手机
{php echo tpl_fans_form('mobile',$profile['mobile']);}
QQ
{php echo tpl_fans_form('qq',$profile['qq']);}
Email
{php echo tpl_fans_form('email',$profile['email']);}
联系方式
固定电话
{php echo tpl_fans_form('telephone',$profile['telephone']);}
MSN
{php echo tpl_fans_form('msn',$profile['msn']);}
阿里旺旺
{php echo tpl_fans_form('taobao',$profile['taobao']);}
支付宝帐号
{php echo tpl_fans_form('alipay',$profile['alipay']);}
收货地址
{loop $addresss $address}
{$address['province']}-{$address['city']}-{$address['district']}-{$address['address']}{if !empty($address['isdefault'])}【默认收货地址】{/if} {if !$address['isdefault']}设为默认{/if} 编辑 删除
{/loop}

#### 添加收货地址

姓名
手机号
邮编
收货地址
{php echo tpl_form_field_district("addaddress", array('province' => $_GPC['record']['province'], 'city' => $_GPC['record']['city'], 'district' => $_GPC['record']['district']));}
详细地址
提交
教育情况
学号
{php echo tpl_fans_form('studentid',$profile['studentid']);}
班级
{php echo tpl_fans_form('grade',$profile['grade']);}
毕业学校
{php echo tpl_fans_form('graduateschool',$profile['graduateschool']);}
学历
{php echo tpl_fans_form('education',$profile['education']);}
工作情况
公司
{php echo tpl_fans_form('company',$profile['company']);}
职业
{php echo tpl_fans_form('occupation',$profile['occupation']);}
职位
{php echo tpl_fans_form('position',$profile['position']);}
年收入
{php echo tpl_fans_form('revenue',$profile['revenue']);}
个人情况
星座
{php echo tpl_fans_form('constellation',$profile['constellation']);}
生肖
{php echo tpl_fans_form('zodiac',$profile['zodiac']);}
国籍
{php echo tpl_fans_form('nationality',$profile['nationality']);}
身高
{php echo tpl_fans_form('height',$profile['height']);}
体重
{php echo tpl_fans_form('weight',$profile['weight']);}
血型
{php echo tpl_fans_form('bloodtype',$profile['bloodtype']);}
身份证号
{php echo tpl_fans_form('idcard',$profile['idcard']);}
邮编
{php echo tpl_fans_form('zipcode',$profile['zipcode']);}
个人主页
{php echo tpl_fans_form('site',$profile['site']);}
情感状态
{php echo tpl_fans_form('affectivestatus',$profile['affectivestatus']);}
交友目的
{php echo tpl_fans_form('lookingfor',$profile['lookingfor']);}
自我介绍
{php echo tpl_fans_form('bio',$profile['bio']);}
兴趣爱好
{php echo tpl_fans_form('interest',$profile['interest']);}
{/if} {if $do == 'add'}
添加会员
会员姓名
手机号
登陆密码
邮箱
积分
余额
会员组
{/if} {if $do == 'credit_record'}

账户类型 | 操作员 {if $type == 'credit2'} | 消费金额 | 实收金额 {/if} | 数量 | 模块 | 操作时间 | 备注
--- | --- | --- | --- | --- | --- | --- | ---
{loop $data $da}
{$credits[$type]} | {if $da['username']}{$da['username']}{else}本人{/if} {if $type == 'credit2'} | {php echo abs($da['num'])}元 | {php echo abs($da['final_num'])}元 {/if} | {$da['num']} | {if !empty($da['module']) && !empty($modules[$da['module']]['title'])} {$modules[$da['module']]['title']} {else} 未知 {/if} | {php echo date('Y-m-d H:i:s', $da['createtime'])} | {$da['remark']}
{/loop}

{$pager} {/if} {if $do == 'credit_stat'}
{loop $credits $key $li}
{$li}
增加 {$data[$key]['add']}
减少 {$data[$key]['del']}
{/loop}
{/if} {template 'common/footer'}