123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166 |
- {template 'common/header'}
-
- </style>
- <ul class="nav nav-tabs">
- <li class="{$active8}"><a href="{php echo $this->createWebUrl('Getuserlist');}">用户列表</a></li>
- <li class="{$active7}"><a href="{php echo $this->createWebUrl('xiaoxilist');}">消息记录</a></li>
- </ul>
-
-
- {if $active7 == 'active'}
- <div class="clearfix" ng-controller="memberProperty" id="memberProperty">
- <form action="{php echo $this->createWebUrl('xiaoxilist');}" method="post" class="form-horizontal">
- <div class="we7-page-search cut-header">
- <div class="cut-search">
- <div class="input-group pull-left">
- <input class="form-control ng-pristine ng-valid ng-empty ng-touched" name="search" ng-model="searchKeyword" type="text" placeholder="请要查询的关键词" ng-keypress="searchKeywordModule()" style="">
- <span class="input-group-btn"><button class="btn btn-default button" ng-click="searchKeywordModule()"><i class="fa fa-search"></i></button></span>
- </div>
- </div>
- </div>
-
- </form>
- <div> </div>
- <div class="panel panel-default">
- <div class="panel-heading">
- 记录 总数:{$count} 当前显示 {php echo $page*$pagelist}-{php echo $page*$pagelist+$pagelist}
- </div>
- <div class="panel-body">
- <div class="form-group">
-
- <table class="table table-hover">
- <tr><th>客服 </th><th> 内容 </th> <th> 客户 </th><th> 时间 </th> <th> 状态 </th>
- {loop $alllist $indexid $nav}
- <tr>
-
- <th style="color:DodgerBlue;" width=20%> {$nav['kfname']}</th>
- <th {if $nav['kfname']<>'' } style="color:Sienna; text-align:left;"
- {else}
- style="color:ForestGreen; text-align:right;"
- {/if} width=40%>
- {if $nav['type']=='image'}
- <a target="_blank" href="{$nav['keyword']}"> 图片[微信内可见] </a>
- {else}
- {$nav['keyword']}
- {/if}
- </th>
- <th width=20%> {$nav['khname']}</th>
- <th width=20%> {php echo date('Y-m-d h:i:s',($nav['updatetime']));}</th>
- <th width=20%>
- {if $nav['zhuangtai']==0} 送达 {else} 失败{/if}</th>
- </tr>
- {/loop}
-
- </table>
-
- <div class="form-controls col-sm-3 help-block"> </div>
- </div>
-
-
-
-
- </div>
-
-
-
-
- </div>
- {if $_GPC['search']==''}
- <div class="text-right we7-margin-top">
- <div><ul class="pagination pagination-centered">
- {if $page>1}
- <li><a href="{php echo $this->createWebUrl('xiaoxilist');}&search={$_GPC['search']}&khopenid={$_GPC['khopenid']}&page={php echo $page-1;}" class="pager-nav">«上一页</a></li>
- {/if}
- {loop $pages $indexid $nav}
- <li {if $nav==$page} class="active" {/if}><a href="{php echo $this->createWebUrl('xiaoxilist');}&search={$_GPC['search']}&khopenid={$_GPC['khopenid']}&page={$nav}">{$nav}</a></li>
- {/loop}
-
- {if $pagecount>$page}
- <li><a href="{php echo $this->createWebUrl('xiaoxilist');}&search={$_GPC['search']}&khopenid={$_GPC['khopenid']}&page={php echo $page+1;}" class="pager-nav">下一页»</a></li>
- <li><a href="{php echo $this->createWebUrl('xiaoxilist');}&search={$_GPC['search']}&khopenid={$_GPC['khopenid']}&page={php echo $pagecount;}" class="pager-nav">尾页</a></li>
- {/if}
- </ul></div> </div>
- {/if}
- </div>
-
- {else}
- {/if}
-
-
- {if $active8 == 'active'}
- <div class="clearfix" ng-controller="memberProperty" id="memberProperty">
- <div class="panel panel-default">
- <div class="panel-heading">
-
- 用户总数:{$alluser} <span class="label label-success"> <a href="?c=site&a=entry&do=Getuserlist&m=qidong_app&isall=1">查看</a> </span> 可群发客户: {$count_hc} <span class="label label-success"> <a href="?c=site&a=entry&do=Getuserlist&m=qidong_app&isall=0">查看</a> </span>
- <br> <a class="label label-info" href="{php echo $this->createWebUrl('finduidwx');}">一键更新公众号用户信息[时间较长,仅限对接公众号使用]</a>
-   <a class="label label-warning" href="{php echo $this->createWebUrl('findtableuid');}">一键更新小程序用户信息[时间较长,仅限已设置数据源的使用]</a>
- </div>
- <div class="panel-body">
- <table class="table table-hover">
- <thead>
- <tr>
- <th>id</th>
- <th>昵称</th>
- <th>openid</th>
- <th>下线时间</th>
- <th>客服</th>
- <th>消息记录</th>
- </tr>
- </thead>
- <tbody id="list">
-
- {loop $wxapp_list $indexid $nav}
- <tr>
- <th>{$nav['id']}
- {if $nav['avartar']<>''}<img src='{$nav['avartar']}' width=50>{/if}
- </th>
- <th> {$nav['nickname']} [{$nav['zhuangtai']}] </th>
-
-
- <th>{$nav['openid']}</th>
-
- <th> {php echo date("Y-m-d H:i:s",$nav['lasttime']);}</th>
- <th>{$nav['lastliao']} </th> <th>
- <a href="{php echo $this->createWebUrl('xiaoxilist');}&khopenid={$nav['openid']}">查看</a>
- </th> </tr>
-
-
-
-
- {/loop}
- </tbody>
- </table>
-
- </div>
-
- </div>
- <div class="text-right we7-margin-top"> <div><ul class="pagination pagination-centered">
- {if $page>1}
- <li><a href="{php echo $this->createWebUrl('Getuserlist');}&isall=1&page={php echo $page-1;}" class="pager-nav">«上一页</a></li>
- {/if}
- {loop $pages $indexid $nav}
- <li {if $nav==$page} class="active" {/if}><a href="{php echo $this->createWebUrl('Getuserlist');}&isall=1&page={$nav}">{$nav}</a></li>
- {/loop}
-
- {if $pagecount>$page}
- <li><a href="{php echo $this->createWebUrl('Getuserlist');}&isall=1&page={php echo $page+1;}" class="pager-nav">下一页»</a></li>
- <li><a href="{php echo $this->createWebUrl('Getuserlist');}&isall=1&page={php echo $pagecount;}" class="pager-nav">尾页</a></li>
- {/if}
- </ul></div> </div>
- </form>
- </div>
-
- {else}
- {/if}
- {template 'common/footer'}
|