人人商城

credit.html 4.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. {template '_header'}
  2. <div class="page-heading"> <h2>{if $type=='credit1'}积分{else}余额{/if}明细</h2> </div>
  3. <form action="./index.php" method="get" class="form-horizontal" role="form" id="form1">
  4. <input type="hidden" name="c" value="site" />
  5. <input type="hidden" name="a" value="entry" />
  6. <input type="hidden" name="m" value="ewei_shopv2" />
  7. <input type="hidden" name="do" value="web" />
  8. <input type="hidden" name="r" value="finance.credit.{$type}" />
  9. <div class="page-toolbar row m-b-sm m-t-sm">
  10. <div class="col-sm-5">
  11. <div class="btn-group btn-group-sm" style='float:left'>
  12. <button class="btn btn-default btn-sm" type="button" data-toggle='refresh'><i class='fa fa-refresh'></i></button>
  13. </div>
  14. <div class='input-group input-group-sm' >
  15. {php echo tpl_daterange('time', array('sm'=>true,'placeholder'=>'操作时间'),true);}
  16. </div>
  17. </div>
  18. <div class="col-sm-7 pull-right">
  19. <select name='groupid' class='form-control input-sm select-md' style="width:100px;float: left;" >
  20. <option value=''>会员分组</option>
  21. {loop $groups $group}
  22. <option value='{$group['id']}' {if $_GPC['groupid']==$group['id']}selected{/if}>{$group['groupname']}</option>
  23. {/loop}
  24. </select>
  25. <select name='level' class='form-control input-sm select-md' style="width:100px;float: left;" >
  26. <option value=''>会员等级</option>
  27. {loop $levels $level}
  28. <option value='{$level['id']}' {if $_GPC['level']==$level['id']}selected{/if}>{$level['levelname']}</option>
  29. {/loop}
  30. </select>
  31. <div class="input-group">
  32. <input type="text" class="form-control input-sm" name="keyword" value="{$_GPC['keyword']}" placeholder="请输入会员信息/操作人信息" />
  33. <span class="input-group-btn">
  34. <button class="btn btn-sm btn-primary" type="submit"> 搜索</button>
  35. {if $type=='credit'}
  36. {ifp 'finance.credit.credit1.export'}
  37. <button type="submit" name="export" value="1" class="btn btn-success btn-sm">导出 Excel</button>
  38. {/if}
  39. {else}
  40. {ifp 'finance.credit.credit2.export'}
  41. <button type="submit" name="export" value="1" class="btn btn-success btn-sm">导出 Excel</button>
  42. {/if}
  43. {/if}
  44. </span>
  45. </div>
  46. </div>
  47. </div>
  48. </form>
  49. <table class="table table-hover table-responsive">
  50. <thead class="navbar-inner">
  51. <tr>
  52. <th style='width:120px;'>粉丝</th>
  53. <th style='width:100px;'>会员信息</th>
  54. <th style='width:80px;'>{if $type=='credit1'}积分{else}余额{/if}变化</th>
  55. <th style='width:80px;'>备注</th>
  56. <th style='width:80px;'>操作人</th>
  57. <th style='width:100px;'>操作时间</th>
  58. </tr>
  59. </thead>
  60. <tbody>
  61. {loop $list $row}
  62. <tr >
  63. <td data-toggle='tooltip' title='{$row['nickname']}'>
  64. {ifp 'member.list.detail'}
  65. <a href="{php echo webUrl('member/list/detail',array('id' => $row['mid']));}" target='_blank'>
  66. <img src='{php echo tomedia($row['avatar'])}' style='width:30px;height:30px;padding1px;border:1px solid #ccc' /> {$row['nickname']}
  67. </a>
  68. {else}
  69. <img src='{php echo tomedia($row['avatar'])}' style='width:30px;height:30px;padding1px;border:1px solid #ccc' /> {$row['nickname']}
  70. {/if}
  71. </td>
  72. <td>{$row['realname']}<br/>{$row['mobile']}</td>
  73. <td>{$row['num']}</td>
  74. <td data-toggle='popover' data-html='true' data-placement='top' data-trigger='hover' data-content='{$row['remark']}'>{$row['remark']}</td>
  75. <td>{if empty($row['username'])}本人{else}{$row['username']}{/if}</td>
  76. <td>{php echo date('Y-m-d H:i:s',$row['createtime'])}</td>
  77. </tr>
  78. {/loop}
  79. </tbody>
  80. </table>
  81. {$pager}
  82. {template '_footer'}