<?php /* Smarty version 2.6.17, created on 2018-04-18 10:22:15
         compiled from admin/activity/activity_del_list.html */ ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "./admin/header.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "./admin/left.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "./admin/nav.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "get_kindeditor.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>

<script type="text/javascript" src="<?php echo $this->_tpl_vars['web_cfg']['cdn']; ?>
/public/static/js/jquery-1.7.2.min.js"></script>
<link rel="stylesheet" href="<?php echo $this->_tpl_vars['web_cfg']['cdn']; ?>
/public/static/js/jquery.minicolors.css" />
<script type="text/javascript" src="<?php echo $this->_tpl_vars['web_cfg']['cdn']; ?>
/public/static/js/jquery.minicolors.js"></script>

<style>
.set-nav {
	margin: 0 auto;
}
.set-nav-hr {
	background-color: #ddd;
    height: 1px;
    position: relative;
}
.form-group label {
	font-weight: 600;
}
.checkbox-inline, .radio-inline {
	font-weight: 400!important;
}
.rowlabel {
	font-weight: 300!important;
}
.music_play_hide {
	display:none;
}
</style>




<div class="panel panel-default">
	<div class="panel-body">
		<div class="row">
		<?php if ($this->_tpl_vars['eventsData']): ?>
		<div class="col-md-2">暂无信息</div>
		<?php endif; ?>
		
			<?php $_from = $this->_tpl_vars['allEventsData']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['index'] => $this->_tpl_vars['item']):
?>
			<div class="col-md-2">
				<div class="thumbnail">
					<div style="height: 20px;width:100%;background-color:#666; text-align: right;"><a  id="<?php echo $this->_tpl_vars['item']['id']; ?>
" class="menu-list memberinfo ReductionDel" href="javascript:;" style="margin-right: 10px;">恢复</a></div>
					<img src="<?php echo $this->_tpl_vars['item']['img_url']; ?>
" alt="<?php echo $this->_tpl_vars['item']['events_name']; ?>
" >
					<div class="caption">
						<a class="ks-overflow" title="<?php echo $this->_tpl_vars['item']['events_name']; ?>
" href="<?php echo $this->_tpl_vars['web_cfg']['domain']; ?>
?c=Admin_Activity_SetBasics&a=PageShow&events_id=<?php echo $this->_tpl_vars['index']; ?>
" >[<?php echo $this->_tpl_vars['allTypeData'][$this->_tpl_vars['item']['type']]['desc']; ?>
] <?php echo $this->_tpl_vars['item']['events_name']; ?>
</a>
					</div>
				</div>
			</div>
			<?php endforeach; endif; unset($_from); ?>
		</div>
		<div class="page"><?php echo $this->_tpl_vars['page_html']; ?>
</div>
	</div>
</div>



<script>
KISSY.use('node, io', function (S, Node, IO) {
	var $ = S.all;
	
	// 恢复删除活动
	$(".ReductionDel").on('click', function() {
		var id = $(this).attr('id');
		
			new IO({
				type: "post"
				, url: VG.conf.root_domain + '/?c=Admin_Activity_ActivityList&a=ReqReductionDel'//恢复操作
				, data: {'id':id}
				, success: function (data) {
					alert('恢复成功');
					location.reload();
				}
				, error: function (NULL, textStatus) {
					alert("请求服务器失败,原因:"+textStatus);
				}
				, dataType: "json"
			});
		
	});

		
	var width = $(".col-md-2 img").width();
	$(".col-md-2 img").height(width/2);
	
});
</script>

<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "./admin/bottom.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>