override protected void OnInit(EventArgs e) { /* This page was created by DTcms Template Engine at 2018/1/11 15:34:44. 本页面代码由DTcms模板引擎生成于 2018/1/11 15:34:44. */ base.OnInit(e); StringBuilder templateBuilder = new StringBuilder(220000); templateBuilder.Append("\r\n\r\n\r\n \r\n 在线咨询建议 - "); templateBuilder.Append(Utils.ObjectToStr(site.name)); templateBuilder.Append("\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n $(function () {\r\n //初始化发表评论表单\r\n AjaxInitForm('#feedback_form', '#btnSubmit', 1);\r\n });\r\n\r\n function testQQAndEmail() {\r\n var email = $(\"#txtUserEmail\").val();\r\n var reg2 = /^\\w+([-+.']\\w+)*@\\w+([-.]\\w+)*\\.\\w+([-.]\\w+)*$/;\r\n if (email != \"\" && email != null) {\r\n if (!reg2.test(email)) {\r\n document.getElementById(\"emailError\").innerHTML = \"电子邮箱格式不正确!请重新填写。\";\r\n $(\"#btnSubmit\").attr(\"disabled\", \"disabled\");\r\n }\r\n else {\r\n document.getElementById(\"emailError\").innerHTML = \"\";\r\n }\r\n }\r\n\r\n if (document.getElementById(\"emailError\").innerHTML == \"\" && document.getElementById(\"qqError\").innerHTML) {\r\n $(\"#btnSubmit\").removeAttr(\"disabled\");\r\n }\r\n }\r\n \r\n\r\n\r\n \r\n "); templateBuilder.Append("\r\n\r\n\r\n\r\n\r\n\r\n\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n
\r\n
\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("\r\n \r\n
\r\n
\r\n 当前位置: 首页 > \r\n 咨询建议\r\n
\r\n
\r\n
\r\n
\r\n

\r\n 在线咨询建议

\r\n
\r\n \r\n
\r\n
    \r\n "); DataTable feedbackList = new DTcms.Web.Plugin.Feedback.feedback().get_feedback_list(10, page, "", out totalcount); string pagelist = get_page_link(10, page, totalcount, "feedback", "__id__"); foreach(DataRow dr in feedbackList.Rows) { templateBuilder.Append("\r\n
  • \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n " + Utils.ObjectToStr(dr["user_name"]) + " "); templateBuilder.Append(Utils.ObjectToDateTime(Utils.ObjectToStr(dr["add_time"])).ToString("yyyy-MM-dd HH:mm")); templateBuilder.Append(" \r\n
    \r\n

    \r\n " + Utils.ObjectToStr(dr["title"]) + "

    \r\n
    \r\n "); if (Utils.ObjectToStr(dr["reply_content"])!="") { templateBuilder.Append("\r\n
    \r\n
    \r\n " + Utils.ObjectToStr(dr["reply_time"]) + " 管理员回复:\r\n
    \r\n

    \r\n " + Utils.ObjectToStr(dr["reply_content"]) + "

    \r\n
    \r\n "); } //end for if templateBuilder.Append("\r\n
  • \r\n "); } //end for if if (totalcount==0) { templateBuilder.Append("\r\n

    \r\n 暂无留言,快来发表留言吧!

    \r\n "); } //end for if templateBuilder.Append("\r\n
\r\n \r\n
\r\n
\r\n "); templateBuilder.Append(Utils.ObjectToStr(pagelist)); templateBuilder.Append("
\r\n
\r\n \r\n

\r\n 发表留言\r\n

\r\n
\r\n
\r\n
\r\n
*用户昵称:
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
联系电话:
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
在线QQ:
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
电子邮箱:
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
*留言标题:
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
*留言内容:
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
*验 证 码:
\r\n
\r\n \r\n \r\n \r\n 看不清楚? \r\n
\r\n
\r\n
\r\n
\r\n \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("
\r\n
\r\n
\r\n 友情链接:\r\n
\r\n "); DataTable linkTxt = get_plugin_method("DTcms.Web.Plugin.Link", "link", "get_link_list", 0, "site_id="+site.id+" and is_lock=0 and is_red=1 and parent_id=0"); foreach(DataRow dr in linkTxt.Rows) { templateBuilder.Append("\r\n
\r\n " + Utils.ObjectToStr(dr["title"]) + "\r\n "); DataTable linkChildTxt = get_plugin_method("DTcms.Web.Plugin.Link", "link", "get_child_link_list", Utils.ObjectToStr(dr["id"]), "site_id="+site.id+" and is_lock=0 and is_red=1"); if (linkChildTxt.Rows.Count>0) { templateBuilder.Append("\r\n
\r\n "); foreach(DataRow drChild in linkChildTxt.Rows) { templateBuilder.Append("\r\n " + Utils.ObjectToStr(drChild["title"]) + "\r\n "); } //end for if templateBuilder.Append("\r\n
\r\n "); } //end for if templateBuilder.Append("\r\n
\r\n "); } //end for if templateBuilder.Append("\r\n
\r\n
\r\n
\r\n
\r\n

\r\n 站点地图\r\n 隐私声明\r\n 联系我们\r\n 关于我们\r\n

\r\n

Copyright(c)2017 "); templateBuilder.Append(Utils.ObjectToStr(site.company)); templateBuilder.Append("

\r\n

地址: "); templateBuilder.Append(Utils.ObjectToStr(site.address)); templateBuilder.Append("   电话: "); templateBuilder.Append(Utils.ObjectToStr(site.tel)); templateBuilder.Append("

\r\n

"); templateBuilder.Append(Utils.ObjectToStr(site.company)); templateBuilder.Append("版权所有,未经授权禁止复制或建立镜像

\r\n

备案编号:"); templateBuilder.Append(Utils.ObjectToStr(site.crod)); templateBuilder.Append(" 网站标识码:1400000046\r\n

\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n document.write(unescape(\"%3Cspan id='_ideConac' %3E%3C/span%3E%3Cscript src='http://dcs.conac.cn/js/06/000/0000/40458944/CA060000000404589440001.js' type='text/javascript'%3E%3C/script%3E\"));\r\n \r\n
\r\n
\r\n
\r\n

\r\n 晋公网安备 14010502050226号 \r\n

\r\n
\r\n

"); templateBuilder.Append(Utils.ObjectToStr(site.company)); templateBuilder.Append("提示:IE8.0或以上浏览器可以体验最佳浏览效果!

\r\n
\r\n\r\n $(function() {\r\n $(\".in_oh ul li\").click(function() {\r\n $(this).parents(\".in_oh\").find(\"li\").removeClass(\"click\");\r\n $(this).addClass(\"click\");\r\n });\r\n $(\".in_on_rg li\").hover(function() {\r\n $(\".r_hid\").hide();\r\n $(this).find(\".r_hid\").show();\r\n }, function() {\r\n $(\".r_hid\").hide();\r\n });\r\n $(\".ewm\").hover(function() {\r\n $(\".ewm_no\").show();\r\n }, function() {\r\n $(\".ewm_no\").hide();\r\n });\r\n })\r\n\r\n\r\n\r\n \r\n var visits = "); templateBuilder.Append(statistics_visitor.ToString()); templateBuilder.Append(";\r\n if (visits!=0) {\r\n visits = 1;\r\n }\r\n else {\r\n visits = visits + 1;\r\n }\r\n var ii ="); templateBuilder.Append(UpdateStatistics().ToString()); templateBuilder.Append(";\r\n// alert(\"您是第\"+visits+\"个浏览该页面的用户,执行操作后:\"+ii);\r\n\r\n\r\n"); templateBuilder.Append("\r\n \r\n\r\n\r\n"); Response.Write(templateBuilder.ToString()); }