{template 'common/header'} {template 'web/nav'}
筛选
时间筛选
{php echo tpl_form_field_daterange('time', $time);}
统计报表
{if empty($time)}用户总数{else}新增用户{/if}
{php echo $geren+$xuni;} 人
详情
{if empty($time)}个人用户总数{else}新增个人用户{/if}
{$geren} 人
详情
{if empty($time)}虚拟用户总数{else}新增虚拟用户{/if}
{$xuni} 人
详情
{if empty($time)}工作人员总数{else}新增工作人员{/if}
{$dy} 人
详情
{if empty($time)}相册图片总数{else}新增相册图片{/if}
{$thumb} 个
详情
{if empty($time)}收入总数{else}新增收入{/if}
{$pay} 元
详情
{if empty($time)}管理员发信总数{else}新增管理员发信数{/if}
{$admin} 次
详情
{if empty($time)}客服消息总数{else}新增客服消息数{/if}
{$kefu} 次
详情
{if empty($time)}聊天信息总数{else}新增聊天信息数{/if}
{$chat} 次
详情
{if empty($time)}消息总数{else}新增消息数{/if}
{$xinxi} 次
详情
{if empty($time)}客户反馈总数{else}新增客户反馈数{/if}
{$fk} 次
详情
{if empty($sitem['doubi'])}{php $sitem['doubi']='豆币'}{/if} {if $op=='all'}
用户详细数据 | 总数:{$all_total}

选择 | 会员ID | 会员昵称 | 性别 | 手机账号 | {$sitem['doubi']} | 包月到期 | 区域 | 类型 | 注册时间 | 操作
--- | --- | --- | --- | --- | --- | --- | --- | --- | --- | ---
{loop $all_list $row}
| {$row['id']} | {$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=='geren'}
个人用户详细数据 | 总数:{$geren_total}

选择 | 会员ID | 会员昵称 | 性别 | 手机账号 | {$sitem['doubi']} | 包月到期 | 区域 | 类型 | 注册时间 | 操作
--- | --- | --- | --- | --- | --- | --- | --- | --- | --- | ---
{php $time = time();} {loop $geren_list $row}
| {$row['id']} | {$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=='xuni'}
虚拟用户详细数据 | 总数:{$xuni_total}

会员ID | 会员昵称 | 性别 | 生日 | 手机账号 | 区域 | 所属店员 | 注册时间 | 操作
--- | --- | --- | --- | --- | --- | --- | --- | ---
{loop $xuni_list $row}
{$row['id']} | {$row['nicheng']} | {if $row['sex']==1}男{else}女{/if} | {php echo date('Y-m-d',$row['brith'])} | {$row['mobile']} | {$province[$row['province']]} | {$row['username']} | {php echo date('Y年n月j日 G:i', $row['createtime']);} | 用户详情 {if !empty($row['dyid'])} 工作人员 {/if} 删除
{/loop}

{$pager}
{/if} {if $op=='dy'}
工作人员详细数据 | 总数:{$dy_total}

编号 | 用户名 | 微信昵称 | 微信头像 | 拥有用户 | 手机 | 操作
--- | --- | --- | --- | --- | --- | ---
{loop $dy_list $item}
{$item['id']} | {$item['username']} | {$item['nickname']} |  | {$item['num']} | {$item['mobile']} | {if empty($item['uid'])} 绑定 {else} 解绑 {/if} 编辑店员 删除
{/loop}

{$pager}
{/if} {if $op=='thumb'}
相册图片详细数据 | 总数:{$thumb_total}

ID | 昵称 | 账户 | 绑定微信 | 上传图片 | 提交时间 | 图片状态 | 操作
--- | --- | --- | --- | --- | --- | --- | ---
{loop $thumb_list $row}
{$row['id']} | {$row['nicheng']} | {$row['mobile2']}{if !empty($row['mobile_auth'])}(认证){/if} | {$row['nickname']} |  | {php echo date('n月j日 G:i', $row['createtime']);} | {if $row['type']==0}未审核{/if}{if $row['type']==1}审核为头像{/if}{if $row['type']==2}审核为非头像{/if}{if $row['type']==3}审核不通过{/if} | {if $row['type']==0} 审核为头像 审核为非头像 审核不通过 {else} 重新审核 {/if} 删除
{/loop}

{$pager}
{/if} {if $op=='pay'}
收入详细数据 | 总数:{$pay_total}

ID | 昵称 | 账户 | 绑定微信 | 收入金额 | 收入类型 | 提交时间 | 支付时间
--- | --- | --- | --- | --- | --- | --- | ---
{loop $pay_list $row}
{$row['id']} | {$row['nicheng']} | {$row['mobile2']}{if !empty($row['mobile_auth'])}(认证){/if} | {$row['nickname']} | {$row['fee']} 元 | {if $row['log']==1}购买虚拟货币{/if}{if $row['log']==2}购买包月服务{/if}{if $row['log']==3}购买收信宝{/if} | {php echo date('Y年n月j日 G:i', $row['createtime']);} | {php echo date('Y年n月j日 G:i', $row['paytime']);}
{/loop}

{$pager}
{/if} {if $op=='admin'}
管理员发信详细数据 | 总数:{$admin}

ID | 昵称 | 账户 | 绑定微信 | 信件内容 | 阅读状态 | 发信时间 | 阅读时间
--- | --- | --- | --- | --- | --- | --- | ---
{loop $admin_list $row}
{$row['id']} | {$row['nicheng']} | {$row['mobile2']}{if !empty($row['mobile_auth'])}(认证){/if} | {$row['nickname']} | {$row['content']} | {if $row['yuedu']==1}已阅读{/if}{if $row['yuedu']==0}未阅读{/if} | {php echo date('Y年n月j日 G:i', $row['createtime']);} | {if !empty($row['yuedutime'])}{php echo date('Y年n月j日 G:i', $row['yuedutime']);}{/if}
{/loop}

{$pager}
{/if} {if $op=='kefu'}
客服消息详细数据 | 总数:{$kefu}

ID | 昵称 | 账户 | 绑定微信 | 消息内容 | 消息类型 | 发送状态 | 发信时间
--- | --- | --- | --- | --- | --- | --- | ---
{loop $kefu_list $row}
{$row['id']} | {$row['nicheng']} | {$row['mobile2']}{if !empty($row['mobile_auth'])}(认证){/if} | {$row['nickname']} | {$row['content']} | {if $row['type']=='text'}文本{/if}{if $row['type']=='image'}图片{/if}{if $row['type']=='voice'}语音{/if}{if $row['type']=='video'}视频{/if}{if $row['type']=='music'}音乐{/if}{if $row['type']=='news'}图文{/if}{if $row['type']=='mpnews'}图文{/if} | {if $row['status']==0}发送成功{/if}{if $row['status']!=0}发送失败{/if} | {php echo date('Y年n月j日 G:i', $row['createtime']);}
{/loop}

{$pager}
{/if} {if $op=='chat'}
聊天消息细数据 | 总数:{$chat}

ID | 收信账户 | 收信微信 | 发信账户 | 发信微信 | 信件内容 | 阅读状态 | 发信时间 | 阅读时间
--- | --- | --- | --- | --- | --- | --- | --- | ---
{loop $chat_list $row}
{$row['id']} | {$row['mobile2']}{if !empty($row['mobile_auth'])}(认证){/if} | {$row['nickname']} | {$row['mobile3']}{if !empty($row['mobile_auth2'])}(认证){/if} | {$row['nickname2']} | {$row['content']} | {if $row['yuedu']==1}已阅读{/if}{if $row['yuedu']==0}未阅读{/if} | {php echo date('Y年n月j日 G:i', $row['createtime']);} | {if !empty($row['yuedutime'])}{php echo date('Y年n月j日 G:i', $row['yuedutime']);}{/if}
{/loop}

{$pager}
{/if} {if $op=='xinxi'}
消息详细数据 | 总数:{$xinxi}

ID | 收信账户 | 收信微信 | 发信账户 | 发信微信 | 信件内容 | 信件内容 | 消息类型 | 发信时间 | 阅读时间
--- | --- | --- | --- | --- | --- | --- | --- | --- | ---
{loop $xinxi_list $row}
{$row['id']} | {$row['mobile2']}{if !empty($row['mobile_auth'])}(认证){/if} | {$row['nickname']} | {if $row['type']!=3}{$row['mobile3']}{if !empty($row['mobile_auth2'])}(认证){/if}{else}管理员{/if} | {if $row['type']!=3} {$row['nickname2']} {else} {if !empty($sitem['adminthumb'])} {else} {/if} {/if} | {$row['content']} | {if $row['yuedu']==1}已阅读{/if}{if $row['yuedu']==0}未阅读{/if} | {if $row['type']==3}管理员{/if}{if $row['type']==2}最新回信{/if}{if $row['type']==1}会员推荐{/if}{if $row['type']==0}打招呼{/if} | {php echo date('Y年n月j日 G:i', $row['createtime']);} | {if !empty($row['yuedutime'])}{php echo date('Y年n月j日 G:i', $row['yuedutime']);}{/if}
{/loop}

{$pager}
{/if} {if $op=='fk'}
用户反馈详细数据 | 总数:{$fk_total}

ID | 昵称 | 账户 | 绑定微信 | 联系手机 | 问题内容 | 提交时间 | 操作
--- | --- | --- | --- | --- | --- | --- | ---
{loop $fk_list $row}
{$row['id']} | {$row['nicheng']} | {$row['mobile2']}{if !empty($row['mobile_auth'])}(认证){/if} | {$row['nickname']} | {$row['mobile']} | {$row['feedback']} | {php echo date('n月j日 G:i:s', $row['createtime']);} | 用户详情 删除
{/loop}

{$pager}
{/if}
{template 'common/footer'}