query.html 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. <{include file='../public/admin_header.html'}>
  2. <{include file='../public/admin_navi.html'}>
  3. <!-- Right side column. Contains the navbar and content of the page -->
  4. <aside class="right-side">
  5. <!-- Content Header (Page header) -->
  6. <section class="content-header">
  7. <h1>
  8. 短信发送列表
  9. <small>Control panel</small>
  10. </h1>
  11. <ol class="breadcrumb">
  12. <li><a href="#"><i class="fa fa-dashboard"></i> Home</a></li>
  13. <li class="active">Blank page</li>
  14. </ol>
  15. </section>
  16. <!-- Main content -->
  17. <section class="content">
  18. <div class="span9">
  19. <{if $info}>
  20. <div class="alert alert-success "><{$info}></div>
  21. <{/if}>
  22. <div class="alert alert-success ">未发送的短信数量:<{$wnums}></div>
  23. <{if $error}>
  24. <div class="alert alert-danger alert-dismissable"><{$error}></div>
  25. <{/if}>
  26. <div id='main' class="form-actions">
  27. <!--<a href="/?a=sms_template_admin&m=add" style="font-weight:bold;text-decoration:underline;">添加短信模板</a>-->
  28. <div style="height:20px;"></div>
  29. <table class="table table-striped" style="margin-top:15px;">
  30. <tr>
  31. <th>ID</th>
  32. <th>创建人</th>
  33. <th >发送标题</th>
  34. <th>客户分组</th>
  35. <th>发送数量</th>
  36. <th>添加时间</th>
  37. <th >定时发送时间</th>
  38. <th>发送状态</th>
  39. <th>发送方式</th>
  40. <th>操作</th>
  41. </tr>
  42. <{foreach from=$list item=item}>
  43. <tr>
  44. <td><{$item.log_id}></td>
  45. <td><{$item.uname}></td>
  46. <td><{$item.template_body}></td>
  47. <td><{$item.group_name}></td>
  48. <td><{$item.count}></td>
  49. <td><{$item.addtime}></td>
  50. <td><{$item.sendtime}></td>
  51. <td <{if $item.status==2}>style="color:red;"<{/if}>><{$status_array[$item.status]}></td>
  52. <td <{if $item.send_type==2}><{/if}>><{$send_array[$item.send_type]}></td>
  53. <td>
  54. <a href="/?a=send_sms_admin&m=query&id=<{$item.log_id}>">取消</a>
  55. <a href="/?a=send_sms_admin&m=querylists&id=<{$item.log_id}>">查看</a>
  56. </td>
  57. </tr>
  58. <{/foreach}>
  59. </table>
  60. <{$show}>
  61. </div>
  62. </div>
  63. </section><!-- /.content -->
  64. </aside><!-- /.right-side -->
  65. </div><!-- ./wrapper -->
  66. <style>
  67. select{height:30px;}
  68. </style>
  69. <script>
  70. $('#treeview11').addClass('active');
  71. $(".send_sms_admin").addClass('active');
  72. </script>
  73. </body>
  74. </html>