79f48f2d77278f9f09aad3509c114e0e4f2014c6.file.index.html.php 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207
  1. <?php /* Smarty version Smarty-3.1.11, created on 2017-06-28 10:02:03
  2. compiled from "/www/wwwroot/edm.alipearl.net/application/module/view/unsubscribe_admin/index.html" */ ?>
  3. <?php /*%%SmartyHeaderCode:13557108315948e0e3b581c6-79651392%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
  4. $_valid = $_smarty_tpl->decodeProperties(array (
  5. 'file_dependency' =>
  6. array (
  7. '79f48f2d77278f9f09aad3509c114e0e4f2014c6' =>
  8. array (
  9. 0 => '/www/wwwroot/edm.alipearl.net/application/module/view/unsubscribe_admin/index.html',
  10. 1 => 1498615288,
  11. 2 => 'file',
  12. ),
  13. ),
  14. 'nocache_hash' => '13557108315948e0e3b581c6-79651392',
  15. 'function' =>
  16. array (
  17. ),
  18. 'version' => 'Smarty-3.1.11',
  19. 'unifunc' => 'content_5948e0e3bb47e3_76741981',
  20. 'variables' =>
  21. array (
  22. 'info' => 0,
  23. 'date_show' => 0,
  24. 'list' => 0,
  25. 'item' => 0,
  26. 'show' => 0,
  27. ),
  28. 'has_nocache_code' => false,
  29. ),false); /*/%%SmartyHeaderCode%%*/?>
  30. <?php if ($_valid && !is_callable('content_5948e0e3bb47e3_76741981')) {function content_5948e0e3bb47e3_76741981($_smarty_tpl) {?><?php echo $_smarty_tpl->getSubTemplate ('../public/admin_header.html', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
  31. <?php echo $_smarty_tpl->getSubTemplate ('../public/admin_navi.html', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
  32. <!-- Right side column. Contains the navbar and content of the page -->
  33. <aside class="right-side">
  34. <!-- Content Header (Page header) -->
  35. <section class="content-header">
  36. <h1>
  37. 取消订阅管理之用户邮箱列表
  38. <small>Control panel</small>
  39. </h1>
  40. <ol class="breadcrumb">
  41. <li><a href="#"><i class="fa fa-dashboard"></i> Home</a></li>
  42. <li class="active">Blank page</li>
  43. </ol>
  44. </section>
  45. <!-- Main content -->
  46. <section class="content">
  47. <div class="span9">
  48. <?php if ($_smarty_tpl->tpl_vars['info']->value){?>
  49. <div class="alert alert-success nodisplay"><?php echo $_smarty_tpl->tpl_vars['info']->value;?>
  50. </div>
  51. <?php }?>
  52. <div id='main' class="form-actions">
  53. <form method="post" action="" >
  54. <div style="width:400px;float:left;margin-left:15px;">
  55. <div style="float:left;">搜索时间范围:</div>
  56. <div class="input-group" style="width:300px;margin-bottom:10px;">
  57. <div class="input-group-addon">
  58. <i class="fa fa-calendar"></i>
  59. </div>
  60. <input type="text" name="date_show" class="form-control pull-right" id="reservation" value="<?php echo $_smarty_tpl->tpl_vars['date_show']->value;?>
  61. ">
  62. </div><!-- /.input group -->
  63. </div>
  64. <div style="color:red;">
  65. 搜索的时间范围不能超过90天
  66. </div>
  67. <div style="clear:both;margin-left:20px;">
  68. <input type="submit" class="btn btn-info" value="查询" style="clear:both;height: 30px; width: 600px; "/>
  69. </div>
  70. </form>
  71. <br/><br/>
  72. <div>
  73. <p>补充说明:</p>
  74. <p>
  75. 当用户选择退订邮件时, 他的邮件地址就会被添加到此列表中.<br/>
  76. 在此列表中的邮件地址, 都不会再被发送邮件.<br/>
  77. <span style="color:red;">默认返回前100条数据,若想查看更多请去<a href="http://www.sendcloud.net" target="_blank">sendcloud</a>的后台查看</span><br/>
  78. <span style="color:red;">若想让其继续接收我们发送的邮件,点击删除操作</span>就可以了,只要不在这个列表里便能接收到我们的邮件!
  79. </p>
  80. </div>
  81. <input class="btn btn-success" value="删除" onclick="to_delete();" />
  82. <table class="table table-mailbox" style="margin-top:15px;">
  83. <tr>
  84. <!--<th style="width:80px;"><input type="checkbox" id="check-all" />&nbsp;&nbsp;全选</th>-->
  85. <th>客户邮箱</th>
  86. <th>取消订阅时间</th>
  87. </tr>
  88. <?php $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['item']->_loop = false;
  89. $_from = $_smarty_tpl->tpl_vars['list']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
  90. foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value){
  91. $_smarty_tpl->tpl_vars['item']->_loop = true;
  92. ?>
  93. <tr>
  94. <!--<td>-->
  95. <!--<input type="checkbox" name="user_info_array[]" value="<?php echo $_smarty_tpl->tpl_vars['item']->value['buyerName'];?>
  96. ,<?php echo $_smarty_tpl->tpl_vars['item']->value['buyerLoginId'];?>
  97. " />-->
  98. <!--</td>-->
  99. <td><?php echo $_smarty_tpl->tpl_vars['item']->value['email'];?>
  100. </td>
  101. <td><?php echo $_smarty_tpl->tpl_vars['item']->value['unsubscribeTime'];?>
  102. </td>
  103. </tr>
  104. <?php } ?>
  105. </table>
  106. <?php echo $_smarty_tpl->tpl_vars['show']->value;?>
  107. <script src="static/AdminLTE/js/plugins/bootstrap-wysihtml5/bootstrap3-wysihtml5.all.min.js" type="text/javascript"></script>
  108. <script src="static/AdminLTE/js/plugins/iCheck/icheck.min.js" type="text/javascript"></script>
  109. <link href="static/AdminLTE/css/iCheck/minimal/blue.css" rel="stylesheet" type="text/css" />
  110. <link href="static/AdminLTE/css/daterangepicker/daterangepicker-bs3.css" rel="stylesheet" type="text/css" />
  111. <script src="static/AdminLTE/js/plugins/daterangepicker/daterangepicker.js" type="text/javascript"></script>
  112. <script type="text/javascript">
  113. $(function() {
  114. "use strict";
  115. //iCheck for checkbox and radio inputs
  116. $('input[type="checkbox"]').iCheck({
  117. checkboxClass: 'icheckbox_minimal-blue',
  118. radioClass: 'iradio_minimal-blue'
  119. });
  120. //When unchecking the checkbox
  121. $("#check-all").on('ifUnchecked', function(event) {
  122. //Uncheck all checkboxes
  123. $("input[type='checkbox']", ".table-mailbox").iCheck("uncheck");
  124. });
  125. //When checking the checkbox
  126. $("#check-all").on('ifChecked', function(event) {
  127. //Check all checkboxes
  128. $("input[type='checkbox']", ".table-mailbox").iCheck("check");
  129. });
  130. });
  131. </script>
  132. <script>
  133. function to_delete(){
  134. if(confirm("确定要删除?")){
  135. window.location.href = "/?a=unsubscribe_admin&m=delete";
  136. }
  137. }
  138. </script>
  139. <!--<script>-->
  140. <!--function group_toSubmit(){-->
  141. <!--var n = $("input:checked").length;-->
  142. <!--//var msg_type = $('#msg_type').val();-->
  143. <!--if (n<=1) {-->
  144. <!--alert("请选择要批量设置用户分组的买家");-->
  145. <!--}else{-->
  146. <!--$('#batch_user_group').submit();-->
  147. <!--}-->
  148. <!--}-->
  149. <!--</script>-->
  150. </div>
  151. </section><!-- /.content -->
  152. </aside><!-- /.right-side -->
  153. </div><!-- ./wrapper -->
  154. <style>
  155. select{height:30px;}
  156. </style>
  157. <script>
  158. $('#treeview7').addClass('active');
  159. $(".unsubscribe_left").addClass('active');
  160. $(function() {
  161. //Date range picker
  162. $('#reservation').daterangepicker();
  163. });
  164. </script>
  165. </body>
  166. </html><?php }} ?>