query.html 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  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}>
  52. <{if $item.status==3}>style="color:green;"<{/if}>><{$status_array[$item.status]}></td>
  53. <td <{if $item.send_type==2}><{/if}>><{$send_array[$item.send_type]}></td>
  54. <td>
  55. <a href="/?a=send_sms_admin&m=query&id=<{$item.log_id}>">取消</a>
  56. <a href="/?a=send_sms_admin&m=querylists&id=<{$item.log_id}>">查看</a>
  57. </td>
  58. </tr>
  59. <{/foreach}>
  60. </table>
  61. <{$show}>
  62. </div>
  63. </div>
  64. </section><!-- /.content -->
  65. </aside><!-- /.right-side -->
  66. </div><!-- ./wrapper -->
  67. <style>
  68. select{height:30px;}
  69. </style>
  70. <script>
  71. $('#treeview11').addClass('active');
  72. $(".send_sms_admin").addClass('active');
  73. </script>
  74. </body>
  75. </html>