96 lines
3.4 KiB
HTML
96 lines
3.4 KiB
HTML
{template '_header'}
|
|
|
|
|
|
<div class="page-heading"> <h2>关注记录 <small>人数: <span class='text-danger'>{$total}</span></small></h2> </div>
|
|
|
|
<form action="./index.php" method="get" class="form-horizontal table-search" 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="postera.log" />
|
|
<input type="hidden" name="id" value="{$_GPC['id']}" />
|
|
<div class="page-toolbar row m-b-sm m-t-sm">
|
|
<div class="col-sm-5">
|
|
|
|
<div class="btn-group btn-group-sm" style='float:left'>
|
|
<button class="btn btn-default btn-sm" type="button" data-toggle='refresh'><i class='fa fa-refresh'></i></button>
|
|
|
|
</div>
|
|
<div class='input-group input-group-sm' >
|
|
{php echo tpl_daterange('time', array('placeholder'=>'关注时间'),true);}
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="col-sm-6 pull-right">
|
|
|
|
<select name='searchfield' class='form-control input-sm select-md' style="width:100px;" >
|
|
|
|
<option value='rec' {if $_GPC['searchfield']=='rec'}selected{/if}>推荐人</option>
|
|
<option value='sub' {if $_GPC['searchfield']=='sub'}selected{/if}>扫码人</option>
|
|
|
|
|
|
</select>
|
|
<div class="input-group">
|
|
<input type="text" class="input-sm form-control" name='keyword' value="{$_GPC['keyword']}" placeholder="昵称/姓名/手机号"> <span class="input-group-btn">
|
|
|
|
<button class="btn btn-sm btn-primary" type="submit"> 搜索</button> </span>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
</form>
|
|
|
|
|
|
<form action="" method="post" onsubmit="return formcheck(this)">
|
|
|
|
{if count($list)>0}
|
|
<table class="table table-responsive">
|
|
<thead>
|
|
<tr>
|
|
<th style='width:80px;'>推荐人</th>
|
|
<th style='width:100px;'></th>
|
|
<th style='width:80px;'>推荐数</th>
|
|
|
|
<th style='width:80px;'>奖励</th>
|
|
<th style='width:100px;'>关注者</th>
|
|
<th style='width:100px;'></th>
|
|
<th style='width:80px;'>奖励</th>
|
|
<th>关注时间</th>
|
|
<th>操作</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{loop $list $row}
|
|
<tr>
|
|
<td><span data-toggle='tooltip' title='{$row['nickname']}'><img src='{php echo tomedia($row['avatar'])}' style='width:20px;height:20px;padding1px;border:1px solid #ccc' /> {$row['nickname']}</span>
|
|
<td>{$row['realname']}<br/>{$row['mobile']}</td>
|
|
<td>{$row['times']}</td>
|
|
<td>
|
|
{if !empty($row['reccredit'])}+积分: {$row['reccredit']}<br/>{/if}
|
|
{if $row['recmoney']>0}+余额: {$row['recmoney']}<br/>{/if}
|
|
</td>
|
|
<td><span data-toggle='tooltip' title='{$row['nickname1']}'><img src='{$row['avatar1']}' style='width:20px;height:20px;padding1px;border:1px solid #ccc' /> {$row['nickname1']}</span></td>
|
|
<td>{$row['realname1']}<br/>{$row['mobile1']}</td>
|
|
<td> {if !empty($row['subcredit'])}+积分: {$row['subcredit']}<br/>{/if}
|
|
{if $row['submoney']>0}+余额: {$row['submoney']}<br/>{/if}
|
|
</td>
|
|
<td>{php echo date('Y-m-d H:i',$row['createtime'])}</td>
|
|
<td><a class='btn btn-default' href="{php echo webUrl('postera/log',array('id'=>$row['posterid'],'searchfield'=>'rec','keyword'=>$row['nickname']))}" title='吸引关注列表'><i class='fa fa-users'></i></a></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'}
|