| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192 | 
							- <{include file="./admin/header.html"}>
 
- <{include file="./admin/left.html"}>
 
- <{include file="./admin/nav.html"}>
 
- <{include file="get_kindeditor.html"}>
 
- <script type="text/javascript" src="<{$web_cfg.cdn}>/public/static/js/jquery-1.7.2.min.js"></script>
 
- <link rel="stylesheet" href="<{$web_cfg.cdn}>/public/static/js/jquery.minicolors.css" />
 
- <script type="text/javascript" src="<{$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">
 
- 		<{if $eventsData}>
 
- 		<div class="col-md-2">暂无信息</div>
 
- 		<{/if}>
 
- 		
 
- 			<{foreach from=$allEventsData  key=index  item=item}>
 
- 			<div class="col-md-2">
 
- 				<div class="thumbnail">
 
- 					<div style="height: 20px;width:100%;background-color:#666; text-align: right;"><a  id="<{$item.id}>" class="menu-list memberinfo del" href="javascript:;" style="margin-right: 10px;">删除</a></div>
 
- 					<img src="<{$item.img_url}>" alt="<{$item.events_name}>" >
 
- 					<div class="caption">
 
- 						<a class="ks-overflow" title="<{$item.events_name}>" href="<{$web_cfg.domain}>?c=Admin_Activity_SetBasics&a=PageShow&events_id=<{$index}>" >[<{$allTypeData[$item.type].desc}>] <{$item.events_name}></a>
 
- 					</div>
 
- 				</div>
 
- 			</div>
 
- 			<{/foreach}>
 
- 		</div>
 
- 		<div class="page"><{$page_html}></div>
 
- 	</div>
 
- </div>
 
- <script>
 
- KISSY.use('node, io', function (S, Node, IO) {
 
- 	var $ = S.all;
 
- 	
 
- 	// 删除活动
 
- 	$(".del").on('click', function() {
 
- 		var id = $(this).attr('id');
 
- 		var ck = window.confirm("您确定删除吗?");
 
- 		if(ck){
 
- 			new IO({
 
- 				type: "post"
 
- 				, url: VG.conf.root_domain + '/?c=Admin_Activity_ActivityList&a=ReqDel'//删除操作
 
- 				, 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>
 
- <{include file="./admin/bottom.html"}>
 
 
  |