67 lines
2.2 KiB
HTML
67 lines
2.2 KiB
HTML
{template '_header'}
|
|
<div class="page-heading">
|
|
<h2>消息群发日志 <small>总数: {$total}</small></h2>
|
|
</div>
|
|
|
|
<form action="./index.php" method="get" class="form-horizontal" role="form">
|
|
<input type="hidden" name="c" value="site" />
|
|
<input type="hidden" name="a" value="entry" />
|
|
<input type="hidden" name="m" value="{EWEI_SHOP_V2_MODULE_NAME}" />
|
|
<input type="hidden" name="do" value="web" />
|
|
<input type="hidden" name="r" value="messages.showsign" />
|
|
<input type="hidden" name='id' value="{$_GPC['id']}" >
|
|
|
|
<div class="page-toolbar row m-b-sm m-t-sm">
|
|
<div class="col-sm-7 pull-right">
|
|
<select name="status" class='form-control input-sm select-sm select2' style="width:200px;" data-placeholder="发送状态">
|
|
<option value="" {if empty($_GPC['status'])}selected{/if} >全部</option>
|
|
<option value="1" {if $_GPC['status']==1}selected{/if} >未发送</option>
|
|
<option value="3" {if $_GPC['status']==3}selected{/if} >发送成功</option>
|
|
<option value="4" {if $_GPC['status']==4}selected{/if} >发送失败</option>
|
|
|
|
</select>
|
|
|
|
<div class="input-group">
|
|
<input type="text" class="input-sm form-control" name='keyword' value="{$_GPC['keyword']}" placeholder="请输入openid"> <span class="input-group-btn">
|
|
<button class="btn btn-sm btn-primary" type="submit"> 搜索</button> </span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</form>
|
|
|
|
{if count($list)>0}
|
|
|
|
<form action="" method="post" >
|
|
|
|
<table class="table table-hover table-responsive">
|
|
<thead>
|
|
<tr>
|
|
<th style="width:150px">openid</th>
|
|
<th style="width:80px">用户昵称</th>
|
|
<th style="width:70px">状态</th>
|
|
<th>日志记录</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{loop $list $row}
|
|
<tr>
|
|
<td>{$row['openid']}</td>
|
|
<td>{$row['nickname']}</td>
|
|
<td>{if $row['status']==1}未发送 {else if $row['status']==3}发送成功 {else if $row['status']==4}发送失败{/if}</td>
|
|
<td style="word-break:break-all">{$row['log']}</td>
|
|
</tr>
|
|
{/loop}
|
|
</tbody>
|
|
</table>
|
|
{$pager}
|
|
{else}
|
|
<div class='panel panel-default'>
|
|
<div class='panel-body' style='text-align: center;padding:30px;'>
|
|
暂时没有任何任务!
|
|
</div>
|
|
</div>
|
|
{/if}
|
|
</form>
|
|
|
|
{template '_footer'}
|