<!--#include file="../checkLogin.asp"-->
<html>
<head>
<title>论坛贴子</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">


<link rel="stylesheet" type="text/css" href="../images/<%=request.cookies("imgdir")%>/css/style.css" media="all"/>
<style type="text/css">
<!--
.STYLE2 {color: #000000}
-->
</style>
<body>

</head>


<link rel="stylesheet" href="../kindeditor3/themes/default/default.css" />
<script charset="utf-8" src="../kindeditor3/kindeditor.js"></script>
<script charset="utf-8" src="../kindeditor3/lang/zh_CN.js"></script>
<script>
		
			KindEditor.ready(function(K) {
			var editor = K.create('textarea[name="content"]', {
				cssPath : '../kindeditor3/plugins/code/prettify.css',
				uploadJson : '../kindeditor3/asp/upload_json.asp',
				fileManagerJson : '../kindeditor3/asp/file_manager_json.asp',
				allowFileManager : true,
				afterCreate : function() {
					var self = this;
					K.ctrl(document, 13, function() {
						self.sync();
						K('form[name=example]')[0].submit();
					});
					K.ctrl(self.edit.doc, 13, function() {
						self.sync();
						K('form[name=example]')[0].submit();
					});
				}
			});
		});
	</script>
		

   <% '登陆控制，放置未登录查看
    if request.cookies("tname")="" then
        response.redirect("../Index.asp")
     end if
    %>

<%
tname=request.cookies("tname")
strId=request("id")
curpage=Request.QueryString("curpage") 
 Set MyOAASPObj = Server.CreateObject("YFSchoolOApro3.YFSchoolDll3")
  call    MyOAASPObj.RiZhi_AddDetail(tname,strId,curpage)
           set MyOAASPObj=nothing
%>


</body>
</html>