<%@ Page Language="C#" AutoEventWireup="true" Inherits="ui.page.sitemap" ValidateRequest="false" %>
<%@ Import namespace="System.Collections.Generic" %>
<%@ Import namespace="System.Text" %>
<%@ Import namespace="System.Data" %>
<%@ Import namespace="Common" %>

<script runat="server">
override protected void OnInit(EventArgs e)
{

	/* 
		This page was created by WJDHcms Template Engine at 2019/5/22 17:04:21.
		本页面代码由XPMOF模板引擎生成于 2019/5/22 17:04:21. 
	*/

	base.OnInit(e);
	StringBuilder templateBuilder = new StringBuilder(220000);

	templateBuilder.Append("<script type=\"text/javascript\" src=\"");
	templateBuilder.Append("/templates/m_temp");
	templateBuilder.Append("/script/Jquery.js\"></");
	templateBuilder.Append("script>\r\n\r\n\r\n<script type=\"text/javascript\">\r\n\r\n\r\n    $(function () {\r\n\r\n\r\n        //初始化发表评论表单\r\n\r\n\r\n        AjaxInitForm('feedback_form', 'btnSubmit', 1);\r\n\r\n\r\n    }); \r\n\r\n\r\n</");
	templateBuilder.Append("script>\r\n\r\n\r\n\r\n\r\n\r\n<div class=\"formbox\" id=\"zixun\">\r\n\r\n\r\n<dl>\r\n\r\n\r\n<script type=\"text/javascript\">\r\n\r\n\r\n            function commSubmit() {\r\n\r\n\r\n                var kcontent = $('#kcontent').val();\r\n\r\n\r\n                var kuser = $('#kuser').val();\r\n\r\n\r\n                var kphone = $('#kphone').val();\r\n\r\n\r\n                var kqq = $('#kqq').val();\r\n\r\n\r\n                var kemail = $('#kemail').val();\r\n\r\n\r\n                var ktitle = $('#ktitle').val();\r\n\r\n\r\n                $.post(\"/api/message.ashx\", {\r\n\r\n\r\n                    \"kcontent\": kcontent,\r\n\r\n\r\n                    \"kuser\": kuser,\r\n\r\n\r\n                    \"kphone\": kphone,\r\n\r\n\r\n                    \"kqq\": kqq,\r\n\r\n\r\n                    \"kemail\": kemail,\r\n\r\n\r\n                    \"ktitle\": ktitle\r\n\r\n\r\n                }, function (d) {\r\n\r\n\r\n                    if (d == \"1\") {\r\n\r\n\r\n                        alert(\"评论提交成功\");\r\n\r\n\r\n                        $('#kcontent').val(\"\");\r\n\r\n\r\n                        $('#kuser').val(\"\");\r\n\r\n\r\n                        $('#kphone').val(\"\");\r\n\r\n\r\n                        $('#kqq').val(\"\");\r\n\r\n\r\n                        $('#kemail').val(\"\");\r\n\r\n\r\n                        $('#ktitle').val(\"\"); \r\n\r\n\r\n                    } else {\r\n\r\n\r\n                        alert(\"评论提交失败:\");\r\n\r\n\r\n                    }\r\n\r\n\r\n                });\r\n\r\n\r\n            }\r\n\r\n\r\n        </");
	templateBuilder.Append("script>\r\n\r\n\r\n<table width=\"100%\" border=\"0\" cellpadding=\"4\" cellspacing=\"10\" cellpadding=\"10\" style=\"padding: 10px 0px 0px  10px;\">\r\n\r\n\r\n<tr>\r\n\r\n\r\n  <td class=\"style1\"> 用户名： </td>\r\n\r\n\r\n  <td><input id=\"kuser\" name=\"txtUserName\" type=\"text\" class=\"input txt\" datatype=\"*\" sucmsg=\" \" />\r\n\r\n\r\n  </td>\r\n\r\n\r\n</tr>\r\n\r\n\r\n<tr>\r\n\r\n\r\n  <td class=\"style1\"> 联系电话： </td>\r\n\r\n\r\n  <td><input id=\"kphone\" name=\"txtUserTel\" type=\"text\" class=\"input txt\" datatype=\"*0-20\" sucmsg=\" \" />\r\n\r\n\r\n  </td>\r\n\r\n\r\n</tr>\r\n\r\n\r\n<tr>\r\n\r\n\r\n  <td class=\"style1\"> 在线QQ： </td>\r\n\r\n\r\n  <td><input id=\"kqq\" name=\"txtUserQQ\" type=\"text\" class=\"input txt\" datatype=\"*0-20\" sucmsg=\" \" />\r\n\r\n\r\n  </td>\r\n\r\n\r\n</tr>\r\n\r\n\r\n<tr>\r\n\r\n\r\n  <td class=\"style1\"> 电子邮箱： </td>\r\n\r\n\r\n  <td><input id=\"kemail\" name=\"txtUserEmail\" type=\"text\" class=\"input txt\" />\r\n\r\n\r\n  </td>\r\n\r\n\r\n</tr>\r\n\r\n\r\n<input id=\"ktitle\" name=\"txtTitle\" type=\"hidden\" class=\"input txt\" datatype=\"*2-100\" sucmsg=\" \" value=\"{show:name}\" />\r\n\r\n\r\n<tr>\r\n\r\n\r\n  <td class=\"style1\"> 内容： </td>\r\n\r\n\r\n  <td><textarea id=\"kcontent\" name=\"txtContent\" class=\"input txt\" datatype=\"*\" sucmsg=\" \" style=\"width: 300px; height: 80px;\">\r\n\r\n\r\n");
	Response.Write(templateBuilder.ToString());
}
</script>
