<{include file="../admin/header.html"}>
<{include file="../admin/get_kindeditor.html"}>
<style>
<!--
.container, .container5 {
width:720px;
margin: 0 auto;
padding-top: 20px;
padding-left:20px;
padding-right:20px;
}
.containerBox {
border-radius: 5px;
box-shadow: 0 2px 2px rgba(0,0,0,0.1);
moz-border-radius: 5px;
moz-box-shadow: 0 2px 2px rgba(0,0,0,0.1);
padding: 14px 22px 20px 20px;
webkit-border-radius: 5px;
webkit-box-shadow: 0 2px 2px rgba(0,0,0,0.1);
background-color: #f8f8f8;
border: 1px solid #b8b8b8;
padding:15px 20px 20px 20px;
margin-top:10px;
}
input[type="text"] {
	background-color: #fff;
border: 1px solid #d3d3d3;
color: #666;
max-width: 480px;
padding: 2px 8px;
width: 480px;
	display: inline-block;
}
.fileUpload {
	display:none!important;
}
.container .block, .container5 .block {
cursor: default;
padding-bottom: 4px;
padding-top: 10px;
display: block;
font-size: 14px;
}
.upload-tip {
	color: #666;
font-size: 12px;
margin-top: 2px;
float: right;
cursor: default;
line-height: 1.5;
}
.desctextarea{
	width: 480px;
	height: 50px;
	outline: 0;
	overflow: auto;
	vertical-align: top;
	padding: 2px 8px;
	background-color: #fff;
	border: 1px solid #d3d3d3;
}
.sub-add-btn {
line-height: 30px;
color: red;
border: 2px dotted #b8b8b8;
border-radius: 3px;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
display: block;
margin-top: 10px;
text-align: center;
background-color: #f8f8f8;
}
a:visited, a:link {
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
.msg-btn {
padding: 12px 0 20px;
text-align: center;
font-size: 14px;
}

a.btnGreen:link {
text-decoration: none;
margin: 0 20px;
text-align: center;
overflow: visible;
border-radius: 3px;
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
border: 1px solid #3d810c;
padding: 5px 20px;
cursor: pointer;
display: inline-block;
text-align: center;
overflow: visible;
border-radius: 3px;
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
color: #fff;
border: 1px solid #3d810c;
background-color: #5aaa4b;
background-image: -moz-linear-gradient(top,#60b452 0,#56a447 100%);
background-image: -webkit-gradient(linear,0 0,0 100%,from(#60b452),to(#56a447));
background-image: -webkit-linear-gradient(top,#60b452 0,#56a447 100%);
background-image: -o-linear-gradient(top,#60b452 0,#56a447 100%);
background-image: linear-gradient(to bottom,#60b452 0,#56a447 100%);
}
a.btnGreen:hover {
background-color: #53a046;
background-image: -moz-linear-gradient(top,#5aab4d 0,#4f9841 100%);
background-image: -webkit-gradient(linear,0 0,0 100%,from(#5aab4d),to(#4f9841));
background-image: -webkit-linear-gradient(top,#5aab4d 0,#4f9841 100%);
background-image: -o-linear-gradient(top,#5aab4d 0,#4f9841 100%);
background-image: linear-gradient(to bottom,#5aab4d 0,#4f9841 100%);
color: #fff;
color: #fff;
box-shadow: 0 1px 1px #aaa;
-moz-box-shadow: 0 1px 1px #aaa;
-webkit-box-shadow: 0 1px 1px #aaa;
}
.imgPreview {
	 display:none;
}
.b {width:320px; height:160px;}
.s {width:100px; height:100px;}
.ke-container {
	width:100%!important;
}
textarea[name="content"] {
	height:320px;
}
-->
</style>

<script type="text/javascript">
TMJF(function ($) {
	var ROOT_DOMAIN = '<{$smarty.const.ROOT_DOMAIN}>';
	KindEditor.ready(function(K) {
		var editor = K.create('textarea[name=content]', {
			allowFileManager : true,
			uploadJson : ROOT_DOMAIN + '/kindeditor/upload_json.php',
			fileManagerJson : ROOT_DOMAIN + '/kindeditor/file_manager_json.php',
			themesPath : ROOT_DOMAIN + '/statics/c/themes/'
		});
	});
	
	$("#preview").click(function () {
		this.form.target = '_blank';
		this.form.action = '<{$smarty.const.ROOT_DOMAIN}>/admin/weixin/preview_more_module.php';
	});
	$("#save").click(function () {
		this.form.target = '';
		this.form.action = '';
	});
});

</script>

<{include file="../admin/nav.html"}>

<form method="post">
<div class="container">
	<div class="containerBox">
		<label class="block">更多活动模块内容</label>
		<textarea name="content"><{$article.content}></textarea>
	</div>
</div>

<div class="msg-btn">
<input type="submit" id="preview" value="预览"><input type="submit" id="save" onClick="return(confirm('确认保存修改?'))" value="提交">
</div>
</form>

</body>
</html>