| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207 | 
							- <?php /* Smarty version Smarty-3.1.11, created on 2017-06-28 10:02:03
 
-          compiled from "/www/wwwroot/edm.alipearl.net/application/module/view/unsubscribe_admin/index.html" */ ?>
 
- <?php /*%%SmartyHeaderCode:13557108315948e0e3b581c6-79651392%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
 
- $_valid = $_smarty_tpl->decodeProperties(array (
 
-   'file_dependency' => 
 
-   array (
 
-     '79f48f2d77278f9f09aad3509c114e0e4f2014c6' => 
 
-     array (
 
-       0 => '/www/wwwroot/edm.alipearl.net/application/module/view/unsubscribe_admin/index.html',
 
-       1 => 1498615288,
 
-       2 => 'file',
 
-     ),
 
-   ),
 
-   'nocache_hash' => '13557108315948e0e3b581c6-79651392',
 
-   'function' => 
 
-   array (
 
-   ),
 
-   'version' => 'Smarty-3.1.11',
 
-   'unifunc' => 'content_5948e0e3bb47e3_76741981',
 
-   'variables' => 
 
-   array (
 
-     'info' => 0,
 
-     'date_show' => 0,
 
-     'list' => 0,
 
-     'item' => 0,
 
-     'show' => 0,
 
-   ),
 
-   'has_nocache_code' => false,
 
- ),false); /*/%%SmartyHeaderCode%%*/?>
 
- <?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);?>
 
- <?php echo $_smarty_tpl->getSubTemplate ('../public/admin_navi.html', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
 
- <!-- Right side column. Contains the navbar and content of the page -->
 
- <aside class="right-side">
 
- 	<!-- Content Header (Page header) -->
 
- 	<section class="content-header">
 
- 		<h1>
 
- 			取消订阅管理之用户邮箱列表
 
- 			<small>Control panel</small>
 
- 		</h1>
 
- 		<ol class="breadcrumb">
 
- 			<li><a href="#"><i class="fa fa-dashboard"></i> Home</a></li>
 
- 			<li class="active">Blank page</li>
 
- 		</ol>
 
- 	</section>
 
- 	<!-- Main content -->
 
- 	<section class="content">
 
- 		<div class="span9">
 
- 			<?php if ($_smarty_tpl->tpl_vars['info']->value){?>
 
- 			<div   class="alert alert-success  nodisplay"><?php echo $_smarty_tpl->tpl_vars['info']->value;?>
 
- </div>
 
- 			<?php }?>
 
- 			<div id='main' class="form-actions">
 
- 				<form method="post" action="" >
 
- 					<div style="width:400px;float:left;margin-left:15px;">
 
- 						<div style="float:left;">搜索时间范围:</div>
 
- 						<div class="input-group" style="width:300px;margin-bottom:10px;">
 
- 							<div class="input-group-addon">
 
- 								<i class="fa fa-calendar"></i>
 
- 							</div>
 
- 							<input type="text" name="date_show" class="form-control pull-right" id="reservation" value="<?php echo $_smarty_tpl->tpl_vars['date_show']->value;?>
 
- ">
 
- 						</div><!-- /.input group -->
 
- 					</div>
 
- 					<div style="color:red;">
 
- 						搜索的时间范围不能超过90天
 
- 					</div>
 
- 					<div style="clear:both;margin-left:20px;">
 
- 						<input type="submit" class="btn btn-info" value="查询" style="clear:both;height: 30px; width: 600px; "/>
 
- 					</div>
 
- 				</form>
 
- 				<br/><br/>
 
- 				<div>
 
- 					<p>补充说明:</p>
 
- 					<p>
 
- 						当用户选择退订邮件时, 他的邮件地址就会被添加到此列表中.<br/>
 
- 						在此列表中的邮件地址, 都不会再被发送邮件.<br/>
 
- 						<span style="color:red;">默认返回前100条数据,若想查看更多请去<a href="http://www.sendcloud.net" target="_blank">sendcloud</a>的后台查看</span><br/>
 
- 						<span style="color:red;">若想让其继续接收我们发送的邮件,点击删除操作</span>就可以了,只要不在这个列表里便能接收到我们的邮件!
 
- 					</p>
 
- 				</div>
 
- 				<input  class="btn btn-success"   value="删除" onclick="to_delete();"  />
 
- 					<table class="table table-mailbox" style="margin-top:15px;">
 
- 						<tr>
 
- 							<!--<th style="width:80px;"><input type="checkbox"  id="check-all" />  全选</th>-->
 
- 							<th>客户邮箱</th>
 
- 							<th>取消订阅时间</th>
 
- 						</tr>
 
- 						<?php  $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['item']->_loop = false;
 
-  $_from = $_smarty_tpl->tpl_vars['list']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
 
- foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value){
 
- $_smarty_tpl->tpl_vars['item']->_loop = true;
 
- ?>
 
- 						<tr>
 
- 							<!--<td>-->
 
- 								<!--<input type="checkbox"   name="user_info_array[]" value="<?php echo $_smarty_tpl->tpl_vars['item']->value['buyerName'];?>
 
- ,<?php echo $_smarty_tpl->tpl_vars['item']->value['buyerLoginId'];?>
 
- " />-->
 
- 							<!--</td>-->
 
- 							<td><?php echo $_smarty_tpl->tpl_vars['item']->value['email'];?>
 
- </td>
 
- 							<td><?php echo $_smarty_tpl->tpl_vars['item']->value['unsubscribeTime'];?>
 
- </td>
 
- 						</tr>
 
- 						<?php } ?>
 
- 					</table>
 
- 				<?php echo $_smarty_tpl->tpl_vars['show']->value;?>
 
- 			<script src="static/AdminLTE/js/plugins/bootstrap-wysihtml5/bootstrap3-wysihtml5.all.min.js" type="text/javascript"></script>
 
- 			<script src="static/AdminLTE/js/plugins/iCheck/icheck.min.js" type="text/javascript"></script>
 
- 			<link href="static/AdminLTE/css/iCheck/minimal/blue.css" rel="stylesheet" type="text/css" />
 
- 			<link href="static/AdminLTE/css/daterangepicker/daterangepicker-bs3.css" rel="stylesheet" type="text/css" />
 
- 			<script src="static/AdminLTE/js/plugins/daterangepicker/daterangepicker.js" type="text/javascript"></script>
 
- 			<script type="text/javascript">
 
- 				$(function() {
 
- 					"use strict";
 
- 					//iCheck for checkbox and radio inputs
 
- 					$('input[type="checkbox"]').iCheck({
 
- 						checkboxClass: 'icheckbox_minimal-blue',
 
- 						radioClass: 'iradio_minimal-blue'
 
- 					});
 
- 					//When unchecking the checkbox
 
- 					$("#check-all").on('ifUnchecked', function(event) {
 
- 						//Uncheck all checkboxes
 
- 						$("input[type='checkbox']", ".table-mailbox").iCheck("uncheck");
 
- 					});
 
- 					//When checking the checkbox
 
- 					$("#check-all").on('ifChecked', function(event) {
 
- 						//Check all checkboxes
 
- 						$("input[type='checkbox']", ".table-mailbox").iCheck("check");
 
- 					});
 
- 				});
 
- 			</script>
 
- 			<script>
 
- 				function to_delete(){
 
- 					if(confirm("确定要删除?")){
 
- 						window.location.href = "/?a=unsubscribe_admin&m=delete";
 
- 					}
 
- 				}
 
- 			</script>
 
- 			<!--<script>-->
 
- 				<!--function group_toSubmit(){-->
 
- 					<!--var n = $("input:checked").length;-->
 
- 					<!--//var msg_type = $('#msg_type').val();-->
 
- 					<!--if (n<=1) {-->
 
- 						<!--alert("请选择要批量设置用户分组的买家");-->
 
- 					<!--}else{-->
 
- 						<!--$('#batch_user_group').submit();-->
 
- 					<!--}-->
 
- 				<!--}-->
 
- 			<!--</script>-->
 
- 		</div>
 
- 	</section><!-- /.content -->
 
- </aside><!-- /.right-side -->
 
- </div><!-- ./wrapper -->
 
- <style>
 
- 	select{height:30px;}
 
- </style>
 
- <script>
 
- 	$('#treeview7').addClass('active');
 
- 	$(".unsubscribe_left").addClass('active');
 
- 	$(function() {
 
- 		//Date range picker
 
- 		$('#reservation').daterangepicker();
 
- 	});
 
- </script>
 
- </body>
 
- </html><?php }} ?>
 
 
  |