{template 'common/header'} {template 'web/nav'}
{if empty($sitem['doubi'])}{php $sitem['doubi']='豆币'}{/if} {if empty($sitem['unit'])}{php $sitem['unit']='豆'}{/if} {if $op =="display"}
筛选
关键字
时间筛选
{php echo tpl_form_field_daterange('time', $time);}
排序
排序
性别筛选
{/if} {if $op=='display'}
用户详细数据 | 总数:{$total}

选择 | 会员ID | 推荐人ID | 会员昵称 | 性别 | 手机账号 | {$sitem['doubi']} | 包月到期 | 区域 | 类型 | 注册时间 | 操作
--- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | ---
{php $time = time();} {loop $list $row}
| {$row['id']} | {$row['tjr1']} | {$row['nicheng']} | {if $row['sex']==1}男{else}女{/if} | {$row['mobile']} | {$row['credit']} {$sitem['unit']} | {if $row['baoyue']>$time}{php echo date('Y年n月j日 G:i', $row['baoyue']);}{/if} | {$province[$row['province']]} | {if $row['type']==0}账户{/if}{if $row['type']==1}微信{/if}{if $row['type']==3}虚拟{/if} | {php echo date('n月j日 G:i', $row['createtime']);} | 用户详情 {if $row['status']==1} 封号 {else} 解封 {/if} 删除
{/loop}

{$pager}
{/if} {if $op=='mingxi'}
[{$row['nicheng']}]用户详细数据

ID | 用户名 | 手机账号 | 昵称 | 头像 | 性别 | {$sitem['doubi']} | 包月到期 | 类型 | 注册时间 | 操作
--- | --- | --- | --- | --- | --- | --- | --- | --- | --- | ---
{$row['id']} | {$row['nicheng']} | {$row['mobile']} | {$row['nicheng']} | {if !empty($row['avatar'])} {else} {if $row['sex']==1} {else} {/if} {/if} | {if $row['sex']==1}男{else}女{/if} | {$row['credit']} {$sitem['unit']} | {if $row['baoyue']>$time}{php echo date('Y年n月j日 G:i', $row['baoyue']);}{/if} | {if $row['type']==0}账户{/if}{if $row['type']==1}微信{/if}{if $row['type']==3}虚拟{/if} | {php echo date('n月j日 G:i:s', $row['createtime']);} | {if $row['status']==1} 封号 {else} 解封 {/if} 删除

{if $row['type']==3}
用户账户信息编辑
用户昵称
修改密码
用户密码
用户微信
{if !empty($row['avatar2'])} {/if} {if empty($row['nickname'])}未绑定微信{else}{$row['nickname']}{/if} 绑定微信
用户生日
{php echo tpl_form_field_calendar('brith', array('year'=>$year, 'month'=>$month, 'day'=>$day));}
用户头像
{php echo tpl_form_field_image('avatar', $row['avatar']);}
用户相册
{php echo tpl_form_field_multi_image('thumb', $thumb);}
出生地
不选择则是默认随机为一个省,选择了省未选择市的则默认为那个省的省会
用户自我描述
{$row['beizhu']}
请用微信扫一扫该二维码！
{else}
用户{$sitem['doubi']}变更设置(谨慎操作)
修改{$sitem['doubi']}
用户{$sitem['doubi']}
{/if}

#### {$row['nicheng']}的详细数据

{if count($basic)>0}
用户基本信息
生日
{$year}年 {$month}月 {$day}日
居住地
{if empty($row['province'])}未填写{else}{$province[$row['province']]}{/if}
身高
{if empty($basic['height'])}未填写{else}{$basic['height']} cm{/if}
体重
{if empty($basic['weight'])}未填写{else}{$basic['weight']} 斤{/if}
血型
{if empty($basic['blood'])}未填写{else}{$basic['blood']} {/if}
学历
{if empty($basic['education'])}未填写{else}{$basic['education']} {/if}
职业
{if empty($basic['job'])}未填写{else}{$basic['job']} {/if}
收入
{if empty($basic['income'])}未填写{else}{$basic['income']} {/if}
婚姻状况
{if empty($basic['marriage'])}未填写{else}{$basic['marriage']} {/if}
是否有房
{if empty($basic['house'])}未填写{else}{$basic['house']} {/if}
{/if} {if count($desc)>0}
用户详细资料
是否想要小孩
{if empty($desc['child'])}未填写{else}{$desc['child']}{/if}
能否接受异地恋
{if empty($desc['yidi'])}未填写{else}{$desc['yidi']}{/if}
喜欢的异性类型
{if empty($desc['leixin'])}未填写{else}{$desc['leixin']}{/if}
能否接受婚前性行为
{if empty($desc['sex'])}未填写{else}{$desc['sex']}{/if}
是否愿意与父母同住
{if empty($desc['fumu'])}未填写{else}{$desc['fumu']}{/if}
魅力部位
{if empty($desc['meili'])}未填写{else}{$desc['meili']}{/if}
爱好
{if empty($desc['aihao'])}未填写{else} {loop $desc['aihao'] $a} {$a['aihao']} {/loop} {/if}
特征
{if empty($desc['tezheng'])}未填写{else} {loop $desc['tezheng'] $a} {$a['tezheng']} {/loop} {/if}
{/if} {if !empty($match)}
用户征友条件
年龄范围
{if empty($match['age'])}未填写{else}{if $match['age']==0}不限{/if}{if $match['age']==1}18-25岁{/if}{if $match['age']==2}26-35岁{/if}{if $match['age']==3}36-45岁{/if}{if $match['age']==4}46-55岁{/if}{if $match['age']==5}55岁以上{/if}{/if}
身高范围
{if empty($match['height'])}未填写{else}{if $match['height']==0}不限{/if}{if $match['height']==1}160cm以下{/if}{if $match['height']==2}161-165cm{/if}{if $match['height']==3}166-170cm{/if}{if $match['height']==4}170以上{/if}{/if}
最低学历
{if empty($match['education'])}未填写{else}{if $match['education']==0}不限{/if}{if $match['education']==1}高中,中专及以上{/if}{if $match['education']==2}大专及以上{/if}{if $match['education']==3}本科及以上{/if}{/if}
收入范围
{if empty($match['income'])}未填写{else}{if $match['income']==0}不限{/if}{if $match['income']==1}2000元以上{/if}{if $match['income']==2}5000元以上{/if}{if $match['income']==3}10000元以上{/if}{/if}
居住地
{if empty($match['province'])}未填写{else}{$province[$match['province']]}{/if}
{/if} {if count($item['feedback'])>0}
用户客服反馈数据 | 总数:{php echo count($item['feedback'])}

选择 | 昵称 | 头像 | 用户名 | 手机 | 反馈内容 | 提交时间 | 操作
--- | --- | --- | --- | --- | --- | --- | ---
{loop $item['feedback'] $row}
| {$row['nicheng']} | {if !empty($row['avatar'])} {else} {if $row['sex']==1} {else} {/if} {/if} | {$row['nicheng']} | {$row['mobile']} | {$row['feedback']} | {php echo date('n月j日 G:i:s', $row['createtime']);} | 删除
{/loop}

{/if} {if count($item['jf'])>0}
用户充值日志数据 | 总数:{php echo count($item['pay'])}

充值原因 | 充值金额 | 充值状态 | 充值时间
--- | --- | --- | ---
{loop $item['pay'] $row}
{if $row['log']==1}充值虚拟货币{/if}{if $row['log']==2}购买包月服务{/if}{if $row['log']==3}购买收信宝{/if} | {$row['fee']} | {if $row['status']==1}已付款{php $yipay+=$row['fee']}{else}未付款{/if} | {php echo date('n月j日 G:i:s', $row['createtime']);}
{/loop}
|  |  | 实付款:{$yipay}

{/if} {if count($item['jf'])>0}
用户{$sitem['doubi']}日志数据 | 总数:{php echo count($item['jf'])}

变更原因 | 变更积分 | 变更时间
--- | --- | ---
{loop $item['jf'] $row}
{$row['name']} | {if $row['type']=='add'}+{$row['credit']}{else}-{$row['credit']}{/if} | {php echo date('n月j日 G:i:s', $row['createtime']);}
{/loop}
|  | 总计:{$count}

{/if} {if count($item['baoyue'])>0}
用户包月日志数据 | 总数:{php echo count($item['baoyue'])}

包月开始时间 | 包月结束时间 | 充值时间
--- | --- | ---
{loop $item['baoyue'] $row}
{php echo date('Y年n月j日 G:i', $row['starttime']);} | {php echo date('Y年n月j日 G:i', $row['endtime']);} | {php echo date('Y年n月j日 G:i', $row['createtime']);}
{/loop}

{/if} {if count($item['baoyue'])>0}
用户收信宝日志数据 | 总数:{php echo count($item['shouxin'])}

收信宝开始时间 | 收信宝结束时间 | 充值时间
--- | --- | ---
{loop $item['shouxin'] $row}
{php echo date('Y年n月j日 G:i', $row['starttime']);} | {php echo date('Y年n月j日 G:i', $row['endtime']);} | {php echo date('Y年n月j日 G:i', $row['createtime']);}
{/loop}

{/if} {if count($item['login'])>0}
用户登陆日志数据 | 总数:{php echo count($item['login'])}
{/if} {if $row['type']==3}
{else}
{/if} {/if}
{template 'common/footer'}