119 lines
6.7 KiB
HTML
119 lines
6.7 KiB
HTML
{template "header.html"}
|
|
<div class="note note-danger">
|
|
<p><a href="https://developers.weixin.qq.com/doc/offiaccount/User_Management/Get_users_basic_information_UnionID.html" target="_blank">2021年12月27日之后,微信关注后回调接口不再获取微信头像和昵称</a></p>
|
|
</div>
|
|
<div class="right-card-box">
|
|
<div class="row table-search-tool">
|
|
<form action="{SELF}" method="get">
|
|
{dr_form_search_hidden()}
|
|
<div class="col-md-12 col-sm-12">
|
|
<label>
|
|
<select name="groupid" class="form-control">
|
|
<option value=""> {dr_lang('全部')} </option>
|
|
{loop $group $t}
|
|
<option value="{$t.tag}" {if $param.groupid==$t.tag}selected{/if}>{$t.name}</option>
|
|
{/loop}
|
|
</select>
|
|
</label>
|
|
</div>
|
|
<div class="col-md-12 col-sm-12">
|
|
<label>
|
|
<select name="field" class="form-control">
|
|
{loop $field $t}
|
|
{if $t.ismain}
|
|
<option value="{$t.fieldname}" {if $param.field==$t.fieldname}selected{/if}>{$t.name}</option>
|
|
{/if}
|
|
{/loop}
|
|
</select>
|
|
</label>
|
|
<label><i class="fa fa-caret-right"></i></label>
|
|
<label><input type="text" class="form-control" placeholder="" value="{$param['keyword']}" name="keyword" /></label>
|
|
</div>
|
|
|
|
<div class="col-md-12 col-sm-12">
|
|
<label><button type="submit" class="btn blue btn-sm onloading" name="submit" > <i class="fa fa-search"></i> {dr_lang('搜索')}</button></label>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
|
|
<form class="form-horizontal" role="form" id="myform">
|
|
{dr_form_hidden()}
|
|
<div class="table-scrollable">
|
|
<table class="table table-striped table-bordered table-hover table-checkable dataTable">
|
|
<thead>
|
|
<tr class="heading">
|
|
<th class="myselect">
|
|
<label class="mt-table mt-checkbox mt-checkbox-single mt-checkbox-outline">
|
|
<input type="checkbox" class="group-checkable" data-set=".checkboxes" />
|
|
<span></span>
|
|
</label>
|
|
</th>
|
|
<th style="text-align:center" width="70" class="{dr_sorting('id')}" name="id">Id</th>
|
|
<th width="80" style="text-align:center" class="{dr_sorting('id')}" name="id">{dr_lang('头像')}</th>
|
|
<th width="180" class="{dr_sorting('nickname')}" name="nickname">{dr_lang('昵称')}</th>
|
|
<th width="210" class="{dr_sorting('openid')}" name="openid">{dr_lang('OID')}</th>
|
|
<th style="text-align:center" class="{dr_sorting('groupids')}" name="groupids">{dr_lang('标签组')}</th>
|
|
<th width="200" style="text-align:center" class="{dr_sorting('uid')}" name="uid">{dr_lang('绑定账号')}</th>
|
|
<th width="170" class="{dr_sorting('subscribe')}" name="subscribe">{dr_lang('关注时间')}</th>
|
|
<th>{dr_lang('操作')}</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{loop $list $t}
|
|
<tr class="odd gradeX" id="dr_row_{$t.id}">
|
|
<td class="myselect">
|
|
<label class="mt-table mt-checkbox mt-checkbox-single mt-checkbox-outline">
|
|
<input type="checkbox" class="checkboxes" name="ids[]" value="{$t.id}" />
|
|
<span></span>
|
|
</label>
|
|
</td>
|
|
<td style="text-align:center"> {$t.id} </td>
|
|
<td style="text-align:center"> <img width="30" class="img-circle" src="{if $t.headimgurl}{$t.headimgurl}{else}{dr_avatar(0)}{/if}"> </td>
|
|
<td>{dr_html2emoji($t.nickname)}</td>
|
|
<td>{trim($t.openid)}</td>
|
|
<td style="text-align:center">{if !$t.groupids}--{else}
|
|
{php $gids=dr_string2array($t.groupids);}
|
|
{loop $gids $i}
|
|
<span class="label label-sm label-success" id="{$i}">{$group[$i]['name']}</span>
|
|
{/loop}
|
|
{/if}</td>
|
|
<td style="text-align:center">{if !$t.uid}--{else}<a href="javascript:;" member="{$t.username}" class="fc_member_show"> {$t.username} </a>{/if}</td>
|
|
|
|
<td>{dr_date($t.subscribe, '', 'red')}</td>
|
|
<td>
|
|
{if $ci->_is_admin_auth('weixin/send/add')}
|
|
<label><a href="{dr_url('weixin/send/index', ['uid'=>$t.id])}" class="btn btn-xs green"> <i class="fa fa-send"></i> {dr_lang('发送消息')}</a></label>
|
|
{/if}
|
|
</td>
|
|
</tr>
|
|
{/loop}
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="row fc-list-footer table-checkable ">
|
|
<div class="col-md-5 fc-list-select">
|
|
<label class="mt-table mt-checkbox mt-checkbox-single mt-checkbox-outline">
|
|
<input type="checkbox" class="group-checkable" data-set=".checkboxes" />
|
|
<span></span>
|
|
</label>
|
|
<button type="button" onclick="dr_ajax_option('{dr_url($uriprefix.'/del')}', '{dr_lang('你确定要删除它们吗?')}', 1)" class="btn red btn-sm"> <i class="fa fa-trash"></i> {dr_lang('删除')}</button>
|
|
<label>
|
|
<select name="groupid" class="form-control">
|
|
<option value=""> -- </option>
|
|
{loop $group $t}
|
|
<option value="{$t.tag}" {if $param.groupid==$t.id}selected{/if}>{$t.name}</option>
|
|
{/loop}
|
|
</select>
|
|
</label>
|
|
<label><button type="button" onclick="dr_ajax_option('{dr_url($uriprefix.'/move_edit')}', '{dr_lang('你确定要操作它们吗?')}', 1)" class="btn green btn-sm"> <i class="fa fa-edit"></i> {dr_lang('设置分组')}</button></label>
|
|
<label><button type="button" onclick="dr_ajax_option('{dr_url($uriprefix.'/move_del')}', '{dr_lang('你确定要操作它们吗?')}', 1)" class="btn red btn-sm"> <i class="fa fa-trash"></i> {dr_lang('取消分组')}</button></label>
|
|
</div>
|
|
<div class="col-md-7 fc-list-page">
|
|
{$mypages}
|
|
</div>
|
|
</div>
|
|
</form>
|
|
|
|
|
|
{template "footer.html"} |