override protected void OnInit(EventArgs e) { /* This page was created by DTcms Template Engine at 2017/5/18 16:41:46. 本页面代码由DTcms模板引擎生成于 2017/5/18 16:41:46. */ base.OnInit(e); StringBuilder templateBuilder = new StringBuilder(220000); templateBuilder.Append("\r\n \r\n \r\n \r\n "); templateBuilder.Append(Utils.ObjectToStr(config.webtitle)); 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 "); if (config.baidustatus==1) { templateBuilder.Append("\r\n function gowhere1(formname) {\r\n var url;\r\n if (formname.myselectvalue.value == \"0\") {\r\n url = \"http://www.baidu.com/baidu\";\r\n document.search_form1.tn.value = \"baidu\";\r\n formname.method = \"get\";\r\n }\r\n if (formname.myselectvalue.value == \"1\") {\r\n url = \"http://mp3.baidu.com/m\";\r\n document.search_form1.tn.value = \"baidump3\";\r\n document.search_form1.ct.value = \"134217728\";\r\n document.search_form1.lm.value = \"-1\";\r\n }\r\n\r\n if (formname.myselectvalue.value == \"4\") {\r\n document.search_form1.tn.value = \"news\";\r\n document.search_form1.cl.value = \"2\";\r\n document.search_form1.rn.value = \"20\";\r\n url = \"http://news.baidu.com/ns\";\r\n }\r\n if (formname.myselectvalue.value == \"5\") {\r\n document.search_form1.tn.value = \"baiduiamge\";\r\n document.search_form1.ct.value = \"201326592\";\r\n document.search_form1.cl.value = \"2\";\r\n document.search_form1.lm.value = \"-1\";\r\n url = \"http://image.baidu.com/i\";\r\n }\r\n if (formname.myselectvalue.value == \"6\") {\r\n url = \"http://post.baidu.com/f\";\r\n document.search_form1.tn.value = \"baiduPostSearch\";\r\n document.search_form1.ct.value = \"352321536\";\r\n document.search_form1.rn.value = \"10\";\r\n document.search_form1.lm.value = \"65536\";\r\n }\r\n\r\n formname.action = url;\r\n return true;\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 \"Baidu\"
\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"); } //end if templateBuilder.Append("\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n\r\n

\r\n "); DataTable contentlist = get_content_list(5, 0, 0, "is_lock=0 and id=3"); int condr1__loop__id=0; foreach(DataRow condr1 in contentlist.Rows) { condr1__loop__id++; templateBuilder.Append("\r\n " + Utils.ObjectToStr(condr1["content"]) + "\r\n "); } //end loop templateBuilder.Append("

\r\n
\r\n
\r\n
\r\n "); DataTable news_list = get_news_list(4, 0, config.pagecount, page, "", out totalcount); string pagelist = get_page_link2(config.pagecount, page, totalcount, "message_list", "__id__"); int listdr__loop__id=0; foreach(DataRow listdr in news_list.Rows) { listdr__loop__id++; templateBuilder.Append("\r\n
\r\n
\r\n

\"");" + Utils.ObjectToStr(listdr["author"]) + "

\r\n
" + Utils.ObjectToStr(listdr["add_time"]) + " / IP:" + Utils.ObjectToStr(listdr["zhaiyao"]) + " / 浏览:3 /
\r\n
\r\n

" + Utils.ObjectToStr(listdr["content"]) + "

\r\n
\r\n"); } //end loop templateBuilder.Append("\r\n
"); if (config.pagestatus==1) { templateBuilder.Append(Utils.ObjectToStr(pagelist)); } //end if templateBuilder.Append("
\r\n

"); if (config.baidustatus==2) { templateBuilder.Append("\r\n function gowhere1(formname) {\r\n var url;\r\n if (formname.myselectvalue.value == \"0\") {\r\n url = \"http://www.baidu.com/baidu\";\r\n document.search_form1.tn.value = \"baidu\";\r\n formname.method = \"get\";\r\n }\r\n if (formname.myselectvalue.value == \"1\") {\r\n url = \"http://mp3.baidu.com/m\";\r\n document.search_form1.tn.value = \"baidump3\";\r\n document.search_form1.ct.value = \"134217728\";\r\n document.search_form1.lm.value = \"-1\";\r\n }\r\n\r\n if (formname.myselectvalue.value == \"4\") {\r\n document.search_form1.tn.value = \"news\";\r\n document.search_form1.cl.value = \"2\";\r\n document.search_form1.rn.value = \"20\";\r\n url = \"http://news.baidu.com/ns\";\r\n }\r\n if (formname.myselectvalue.value == \"5\") {\r\n document.search_form1.tn.value = \"baiduiamge\";\r\n document.search_form1.ct.value = \"201326592\";\r\n document.search_form1.cl.value = \"2\";\r\n document.search_form1.lm.value = \"-1\";\r\n url = \"http://image.baidu.com/i\";\r\n }\r\n if (formname.myselectvalue.value == \"6\") {\r\n url = \"http://post.baidu.com/f\";\r\n document.search_form1.tn.value = \"baiduPostSearch\";\r\n document.search_form1.ct.value = \"352321536\";\r\n document.search_form1.rn.value = \"10\";\r\n document.search_form1.lm.value = \"65536\";\r\n }\r\n\r\n formname.action = url;\r\n return true;\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 \"Baidu\"
\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"); } //end if templateBuilder.Append("

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n

Powered By "); templateBuilder.Append(Utils.ObjectToStr(config.webtitle)); templateBuilder.Append("

\r\n

"); templateBuilder.Append(Utils.ObjectToStr(config.webcopyright)); templateBuilder.Append("

\r\n
\r\n
\r\n返回顶部 \r\n\r\nwindow._bd_share_config={\"common\":{\"bdSnsKey\":{},\"bdText\":\"\",\"bdMini\":\"2\",\"bdMiniList\":false,\"bdPic\":\"\",\"bdStyle\":\"0\",\"bdSize\":\"32\"},\"share\":{}};with(document)0[(getElementsByTagName('head')[0]||body).appendChild(createElement('script')).src='http://bdimg.share.baidu.com/static/api/js/share.js?v=89860593.js?cdnversion='+~(-new Date()/36e5)];\r\n\r\n\r\n\r\n \r\n"); Response.Write(templateBuilder.ToString()); }