override protected void OnInit(EventArgs e) { /* This page was created by Cnge!NT Template Engine at 2016/2/29 19:38:46. 本页面代码由Cnge!NT模板引擎生成于 2016/2/29 19:38:46. */ base.OnInit(e); SiteBiaoName="index"; SiteId=1; ShowSiteInfo=SiteById(1); SiteTempet="/Templet/default"; NewsclassInfo tde = ClassListById(classid); NewsclassInfo tdeparent = ClassListById(tde.Parent); NewsContentInfo ncontent = newslistById(Id); templateBuilder.Append("\r\n"); templateBuilder.Append("\r\n"); templateBuilder.Append("\r\n"); templateBuilder.Append("\r\n"); templateBuilder.Append("\r\n"); templateBuilder.Append("\r\n"); templateBuilder.Append(" \r\n"); templateBuilder.Append("" + ShowSiteInfo.Title.ToString().Trim() + "\r\n"); if(ncontent.Keyword!=""&&ncontent.Keyword!=null){ templateBuilder.Append(" \r\n"); } else if(tde.Keyword!=""){ templateBuilder.Append(" \r\n"); } else{ templateBuilder.Append(" \r\n"); } if(tde.Description!=""){ templateBuilder.Append(" \r\n"); } else if(tdeparent.Description!=""){ templateBuilder.Append(" \r\n"); } else{ templateBuilder.Append(" \r\n"); } templateBuilder.Append("\r\n"); templateBuilder.Append("\r\n"); templateBuilder.Append("\r\n"); templateBuilder.Append(" \r\n"); templateBuilder.Append("\r\n"); templateBuilder.Append("\r\n"); string url="http://" + HttpContext.Current.Request.ServerVariables["HTTP_HOST"].ToString(); int rinkid=0;//取得当前用户的权限级别ID try { rinkid=Randindex(Convert.ToInt32(((MemberInfo)Session["model"]).classpower)).id; } catch { rinkid=0; } templateBuilder.Append("\r\n"); templateBuilder.Append(" \r\n"); templateBuilder.Append("
\r\n"); templateBuilder.Append("
\r\n"); templateBuilder.Append("
\r\n"); templateBuilder.Append("

欢迎访问重庆市企业文化研究会官方网站!

\r\n"); templateBuilder.Append("
\r\n"); templateBuilder.Append(" \r\n"); templateBuilder.Append("\r\n"); templateBuilder.Append("function showtime()\r\n"); templateBuilder.Append("{\r\n"); templateBuilder.Append("var today,hour,second,minute,year,month,date;\r\n"); templateBuilder.Append("var strDate ;\r\n"); templateBuilder.Append("today=new Date();\r\n"); templateBuilder.Append("var n_day = today.getDay();\r\n"); templateBuilder.Append("switch (n_day)\r\n"); templateBuilder.Append("{\r\n"); templateBuilder.Append(" case 0:{\r\n"); templateBuilder.Append(" strDate = \"星期日\"\r\n"); templateBuilder.Append(" }break;\r\n"); templateBuilder.Append(" case 1:{\r\n"); templateBuilder.Append(" strDate = \"星期一\"\r\n"); templateBuilder.Append(" }break;\r\n"); templateBuilder.Append(" case 2:{\r\n"); templateBuilder.Append(" strDate =\"星期二\"\r\n"); templateBuilder.Append(" }break;\r\n"); templateBuilder.Append(" case 3:{\r\n"); templateBuilder.Append(" strDate = \"星期三\"\r\n"); templateBuilder.Append(" }break;\r\n"); templateBuilder.Append(" case 4:{\r\n"); templateBuilder.Append(" strDate = \"星期四\"\r\n"); templateBuilder.Append(" }break;\r\n"); templateBuilder.Append(" case 5:{\r\n"); templateBuilder.Append(" strDate = \"星期五\"\r\n"); templateBuilder.Append(" }break;\r\n"); templateBuilder.Append(" case 6:{\r\n"); templateBuilder.Append(" strDate = \"星期六\"\r\n"); templateBuilder.Append(" }break;\r\n"); templateBuilder.Append(" case 7:{\r\n"); templateBuilder.Append(" strDate = \"星期日\"\r\n"); templateBuilder.Append(" }break;\r\n"); templateBuilder.Append("}\r\n"); templateBuilder.Append("year = today.getFullYear();\r\n"); templateBuilder.Append("month = today.getMonth()+1;\r\n"); templateBuilder.Append("date = today.getDate();\r\n"); templateBuilder.Append("hour = today.getHours();\r\n"); templateBuilder.Append("minute =today.getMinutes();\r\n"); templateBuilder.Append("second = today.getSeconds();\r\n"); templateBuilder.Append("document.getElementById('time').innerHTML = year + \"年\" + month + \"月\" + date + \"日\" + strDate +\" \" + hour + \":\" + minute + \":\" + second; //显示时间\r\n"); templateBuilder.Append("setTimeout(\"showtime();\", 1000); //设定函数自动执行时间为 1000 ms(1 s)\r\n"); templateBuilder.Append("}\r\n"); templateBuilder.Append("\r\n"); templateBuilder.Append(" showtime();\r\n"); templateBuilder.Append(" \r\n"); templateBuilder.Append(" /* function showTime() {\r\n"); templateBuilder.Append(" $.post(\"/aspx/default/getime.aspx\",{},function(result){\r\n"); templateBuilder.Append(" $(\"#time\").html(result);\r\n"); templateBuilder.Append(" });\r\n"); templateBuilder.Append(" t = setTimeout('showTime()', 1000);\r\n"); templateBuilder.Append(" }\r\n"); templateBuilder.Append(" showTime();*/\r\n"); templateBuilder.Append(" \r\n"); templateBuilder.Append(" 关注我们\r\n"); templateBuilder.Append(" \r\n"); templateBuilder.Append(" \r\n"); templateBuilder.Append(" 设为首页\r\n"); templateBuilder.Append(" 加入收藏\r\n"); templateBuilder.Append("
\r\n"); templateBuilder.Append("
\r\n"); templateBuilder.Append(" \r\n"); templateBuilder.Append(" \r\n"); templateBuilder.Append(" \r\n"); templateBuilder.Append(" \r\n"); templateBuilder.Append(" \r\n"); templateBuilder.Append(" \r\n"); templateBuilder.Append(" \r\n"); templateBuilder.Append(" \r\n"); templateBuilder.Append(" \r\n"); templateBuilder.Append(" \r\n"); templateBuilder.Append(" \r\n"); templateBuilder.Append(" \r\n"); templateBuilder.Append(" \r\n"); templateBuilder.Append(" \r\n"); templateBuilder.Append(" \r\n"); templateBuilder.Append(" \r\n"); templateBuilder.Append("
\r\n"); templateBuilder.Append("

此页面上的内容需要较新版本的 Adobe Flash Player。

\r\n"); templateBuilder.Append("

\"获取

\r\n"); templateBuilder.Append("
\r\n"); templateBuilder.Append(" \r\n"); templateBuilder.Append("
\r\n"); templateBuilder.Append(" \r\n"); templateBuilder.Append("
\r\n"); templateBuilder.Append("
\r\n"); templateBuilder.Append("
\r\n"); templateBuilder.Append(" \r\n"); templateBuilder.Append(" \r\n"); templateBuilder.Append("
\r\n"); templateBuilder.Append(" \r\n"); templateBuilder.Append("
\r\n"); templateBuilder.Append("
\r\n"); templateBuilder.Append("
\r\n"); templateBuilder.Append("
\r\n"); templateBuilder.Append("
    \r\n"); string liacss=""; int ptopid=TopClassParent(classid); if(ptopid<=0){liacss="class='mN-on'";} templateBuilder.Append("
  • 首  页
  • \r\n"); int type_top__loop__id=0; foreach(NewsclassInfo type_top in TopClassListByStr(10,0,1)) { type_top__loop__id++; string fgacss=""; if(ptopid==type_top.Id){fgacss="class='mN-on'";} string endcss=""; if(type_top__loop__id==10){endcss="class='mN-last'";} templateBuilder.Append("
  • " + type_top.Typename.ToString().Trim() + "
  • \r\n"); } //end loop templateBuilder.Append("
\r\n"); templateBuilder.Append("
\r\n"); templateBuilder.Append("

\r\n"); int type_topone__loop__id=0; foreach(NewsclassInfo type_topone in TopClassListByStr(10,0,1)) { type_topone__loop__id++; string ercss=""; if(ptopid==type_topone.Id){ercss="style='display:block;'";} templateBuilder.Append("

\r\n"); int type_topchild__loop__id=0; foreach(NewsclassInfo type_topchild in ClassListByStr(type_topone.Id,1)) { type_topchild__loop__id++; if ((type_topchild.Ispower<=rinkid)) { templateBuilder.Append(" |" + type_topchild.Typename.ToString().Trim() + "\r\n"); if(type_topchild__loop__id==ClassListByStr(type_topone.Id,1).Count){ templateBuilder.Append(" |\r\n"); } } //end if } //end loop templateBuilder.Append("

\r\n"); } //end loop templateBuilder.Append("
\r\n"); templateBuilder.Append("
\r\n"); templateBuilder.Append("
\r\n"); templateBuilder.Append("
\r\n"); templateBuilder.Append("
\r\n"); templateBuilder.Append(" \r\n"); templateBuilder.Append("\r\n"); templateBuilder.Append(" \r\n"); templateBuilder.Append("
\r\n"); templateBuilder.Append(" \r\n"); templateBuilder.Append(" \r\n"); templateBuilder.Append("
\r\n"); templateBuilder.Append("
\r\n"); templateBuilder.Append("

\r\n"); templateBuilder.Append("

\r\n"); string rmztname=""; DataTable dt = DataListByStr("cnge_Form_rmzt ", " ztname "," ",""); foreach(DataRow dr in dt.Rows){ rmztname=dr["ztname"].ToString(); templateBuilder.Append(" " + rmztname.ToString() + "\r\n"); } dt.Dispose(); dt.Clear(); templateBuilder.Append("

\r\n"); templateBuilder.Append("
\r\n"); templateBuilder.Append("
\r\n"); templateBuilder.Append("
\r\n"); templateBuilder.Append(" \r\n"); templateBuilder.Append(" \r\n"); templateBuilder.Append("
\r\n"); templateBuilder.Append("
\r\n"); templateBuilder.Append("
\r\n"); templateBuilder.Append("
\r\n"); templateBuilder.Append("\r\n"); templateBuilder.Append("\r\n"); templateBuilder.Append("
\r\n"); templateBuilder.Append(" \r\n"); templateBuilder.Append("
\r\n"); templateBuilder.Append(" \r\n"); templateBuilder.Append("
\r\n"); templateBuilder.Append("

\r\n"); templateBuilder.Append("
\r\n"); int topnewsconet2__loop__id=0; foreach(NewsContentInfo topnewsconet2 in newslistByStr(3,109,17,1)) { topnewsconet2__loop__id++; templateBuilder.Append(" " + topnewsconet2__loop__id.ToString() + "\r\n"); } //end loop templateBuilder.Append("
\r\n"); templateBuilder.Append("
\r\n"); templateBuilder.Append(" \r\n"); templateBuilder.Append(" \r\n"); templateBuilder.Append("
\r\n"); templateBuilder.Append("
\r\n"); templateBuilder.Append("

实时要闻

\r\n"); templateBuilder.Append(" 更多>>\r\n"); templateBuilder.Append("
\r\n"); templateBuilder.Append("
\r\n"); int newsconet1__loop__id=0; foreach(NewsContentInfo newsconet1 in newslistByStr(1,109,16,1)) { newsconet1__loop__id++; templateBuilder.Append("

\r\n"); templateBuilder.Append(Utils.GetUnicodeSubString(newsconet1.Topic,25,"...")); templateBuilder.Append("

\r\n"); templateBuilder.Append("

\r\n"); templateBuilder.Append(Utils.GetUnicodeSubString(newsconet1.Daodu,64,"...")); templateBuilder.Append("[详细]

\r\n"); } //end loop templateBuilder.Append(" \r\n"); templateBuilder.Append("
\r\n"); templateBuilder.Append("
\r\n"); templateBuilder.Append(" \r\n"); templateBuilder.Append("

\r\n"); templateBuilder.Append(" \r\n"); templateBuilder.Append("
\r\n"); templateBuilder.Append(" \r\n"); templateBuilder.Append("
\r\n"); templateBuilder.Append("
\r\n"); templateBuilder.Append("

通知公告

\r\n"); templateBuilder.Append(" 更多>>\r\n"); templateBuilder.Append("
\r\n"); templateBuilder.Append("
\r\n"); templateBuilder.Append("
\r\n"); templateBuilder.Append("
\r\n"); templateBuilder.Append(" \r\n"); templateBuilder.Append(" \r\n"); templateBuilder.Append("
\r\n"); templateBuilder.Append("
\r\n"); templateBuilder.Append("

会员·示范单位风采

\r\n"); templateBuilder.Append(" 更多>>\r\n"); templateBuilder.Append("
\r\n"); templateBuilder.Append("
\r\n"); templateBuilder.Append("
\r\n"); templateBuilder.Append("
\r\n"); templateBuilder.Append(" \r\n"); templateBuilder.Append("
\r\n"); int Adlj__loop__id=0; foreach(LinkInfo Adlj in LinkByStr(1,2,2)) { Adlj__loop__id++; templateBuilder.Append("\""\r\n"); } //end loop templateBuilder.Append("
\r\n"); templateBuilder.Append("

\r\n"); templateBuilder.Append(" \r\n"); templateBuilder.Append("
\r\n"); templateBuilder.Append("
\r\n"); templateBuilder.Append("

企业文化知识及案例

\r\n"); templateBuilder.Append(" 更多>>\r\n"); templateBuilder.Append("
\r\n"); templateBuilder.Append("
\r\n"); int sfjd1__loop__id=0; foreach(NewsContentInfo sfjd1 in newslistByStr(1,154,16,1)) { sfjd1__loop__id++; templateBuilder.Append("

\r\n"); templateBuilder.Append(Utils.GetUnicodeSubString(sfjd1.Topic,20,"...")); templateBuilder.Append("

\r\n"); templateBuilder.Append("
\"\"
\r\n"); templateBuilder.Append("

\r\n"); templateBuilder.Append(Utils.GetUnicodeSubString(sfjd1.Daodu,54,"...")); templateBuilder.Append(" [详细]

\r\n"); } //end loop templateBuilder.Append("

\r\n"); templateBuilder.Append("
\r\n"); templateBuilder.Append("
\r\n"); templateBuilder.Append(" \r\n"); templateBuilder.Append(" \r\n"); templateBuilder.Append("
\r\n"); templateBuilder.Append("
\r\n"); templateBuilder.Append("

要闻摘录

\r\n"); templateBuilder.Append(" 更多>>\r\n"); templateBuilder.Append("
\r\n"); templateBuilder.Append("
\r\n"); int sfdw1__loop__id=0; foreach(NewsContentInfo sfdw1 in newslistByStr(1,153,16,1)) { sfdw1__loop__id++; templateBuilder.Append("

\r\n"); templateBuilder.Append(Utils.GetUnicodeSubString(sfdw1.Topic,20,"...")); templateBuilder.Append("

\r\n"); templateBuilder.Append("
\"\"
\r\n"); templateBuilder.Append("

\r\n"); templateBuilder.Append(Utils.GetUnicodeSubString(sfdw1.Daodu,54,"...")); templateBuilder.Append(" [详细]

\r\n"); } //end loop templateBuilder.Append("

\r\n"); templateBuilder.Append("
\r\n"); templateBuilder.Append("
\r\n"); templateBuilder.Append(" \r\n"); templateBuilder.Append("

\r\n"); templateBuilder.Append(" \r\n"); templateBuilder.Append("
\r\n"); templateBuilder.Append("
\r\n"); templateBuilder.Append("

专家团队

\r\n"); templateBuilder.Append(" 更多>>\r\n"); templateBuilder.Append("
\r\n"); templateBuilder.Append("
\r\n"); templateBuilder.Append("
    \r\n"); int tream__loop__id=0; foreach(NewsContentInfo tream in newslistByStr(48,38,16,1)) { tream__loop__id++; templateBuilder.Append("
  • \r\n"); templateBuilder.Append("
    \"\"
    \r\n"); templateBuilder.Append("

    \r\n"); templateBuilder.Append(Utils.GetUnicodeSubString(tream.Topic,20,"...")); templateBuilder.Append("

    \r\n"); templateBuilder.Append("

    \r\n"); templateBuilder.Append(Utils.GetUnicodeSubString(tream.Topic_new,25,"...")); templateBuilder.Append("

    \r\n"); templateBuilder.Append("
  • \r\n"); } //end loop templateBuilder.Append("
\r\n"); templateBuilder.Append("
\r\n"); templateBuilder.Append("
\r\n"); templateBuilder.Append(" \r\n"); templateBuilder.Append(" new Marquee(\"IBUL\",\"left\",1,727,147,30,0,0,52);\r\n"); templateBuilder.Append("
\r\n"); templateBuilder.Append(" \r\n"); templateBuilder.Append("
\r\n"); templateBuilder.Append(" \r\n"); templateBuilder.Append("
\r\n"); templateBuilder.Append(" \r\n"); string acct=DNTRequest.GetQueryString("acct"); if(acct=="yes") { string suname =Request.Form["uname"].Trim(); string spowrd = Request.Form["upw"].Trim(); MemberInfo model = new MemberInfo(); model=GetMemberLoion(suname,spowrd); if (model!=null) { Session["model"] = model; Response.Write(""); Response.Write("alert('登录成功!');window.location.href='/aspx/default/index.aspx';"); Response.Write(""); Response.End(); } else { Response.Write(""); Response.Write("alert('账号或密码错误,请重新新登录!');history.go(-1);"); Response.Write(""); Response.End(); } } templateBuilder.Append("
\r\n"); if(Session["model"]==null){ templateBuilder.Append("

会员登录

\r\n"); templateBuilder.Append("
\r\n"); templateBuilder.Append("
\r\n"); templateBuilder.Append("
\r\n"); templateBuilder.Append("
\r\n"); templateBuilder.Append("
\r\n"); templateBuilder.Append("
\r\n"); templateBuilder.Append(" 注册\r\n"); templateBuilder.Append(" \r\n"); templateBuilder.Append(" \r\n"); templateBuilder.Append("
\r\n"); templateBuilder.Append("
\r\n"); templateBuilder.Append("
\r\n"); }else{ string rname=""; try { rname=Randindex(Convert.ToInt32(((MemberInfo)Session["model"]).classpower)).rankname; } catch { rname="匿名用户注册"; } string names=((MemberInfo)Session["model"]).mname; string adss=((MemberInfo)Session["model"]).maddress; string texx=((MemberInfo)Session["model"]).mtell; string mphone=((MemberInfo)Session["model"]).mphone; string memail=((MemberInfo)Session["model"]).memail; templateBuilder.Append("

会员在线

\r\n"); templateBuilder.Append("
\r\n"); templateBuilder.Append("

会员等级:" + rname.ToString() + "

\r\n"); templateBuilder.Append("

会  员  名:" + names.ToString() + "

\r\n"); templateBuilder.Append("

电话码号:" + texx.ToString() + "

\r\n"); templateBuilder.Append("

电子邮箱:" + memail.ToString() + "

\r\n"); templateBuilder.Append(" \r\n"); templateBuilder.Append("

退出

\r\n"); templateBuilder.Append("
\r\n"); } templateBuilder.Append("
\r\n"); templateBuilder.Append(" \r\n"); templateBuilder.Append("
\r\n"); templateBuilder.Append("

地址: 重庆市渝中区上清寺中山四路名流公馆2栋1楼(市政府北门)邮编:400015

电话:023-63899012

\r\n"); templateBuilder.Append("
\r\n"); templateBuilder.Append(" \r\n"); templateBuilder.Append("

\r\n"); templateBuilder.Append(" \r\n"); templateBuilder.Append("
\r\n"); templateBuilder.Append("
\r\n"); int voide__loop__id=0; foreach(NewsContentInfo voide in newslistByStr(1,161,16,1)) { voide__loop__id++; templateBuilder.Append(" \r\n"); templateBuilder.Append(" \r\n"); } //end loop templateBuilder.Append("
\r\n"); templateBuilder.Append("
\r\n"); templateBuilder.Append(" \r\n"); templateBuilder.Append(" \r\n"); templateBuilder.Append("
\r\n"); templateBuilder.Append(" \r\n"); templateBuilder.Append("
\r\n"); templateBuilder.Append("
\r\n"); templateBuilder.Append("

会刊·专辑

\r\n"); templateBuilder.Append(" 更多>>\r\n"); templateBuilder.Append("
\r\n"); int hukan__loop__id=0; foreach(NewsContentInfo hukan in newslistByStr(1,166,16,1)) { hukan__loop__id++; templateBuilder.Append("
\"\"
\r\n"); templateBuilder.Append("

\r\n"); templateBuilder.Append(Utils.GetUnicodeSubString(hukan.Topic,16,"...")); templateBuilder.Append("

\r\n"); templateBuilder.Append("

\r\n"); templateBuilder.Append(Utils.GetUnicodeSubString(hukan.Daodu,34,"...")); templateBuilder.Append("

\r\n"); } //end loop templateBuilder.Append("
\r\n"); templateBuilder.Append(" \r\n"); templateBuilder.Append("
    \r\n"); templateBuilder.Append("
  • \"\"
  • \r\n"); templateBuilder.Append("
  • \"\"
  • \r\n"); templateBuilder.Append("
  • \"\"
  • \r\n"); templateBuilder.Append("
  • \"\"
  • \r\n"); templateBuilder.Append("
\r\n"); templateBuilder.Append("
\r\n"); templateBuilder.Append(" \r\n"); templateBuilder.Append("
\r\n"); templateBuilder.Append(" \r\n"); templateBuilder.Append("
\r\n"); templateBuilder.Append("

\r\n"); templateBuilder.Append("

\r\n"); templateBuilder.Append(" \r\n"); templateBuilder.Append("
\r\n"); templateBuilder.Append("
\r\n"); templateBuilder.Append("
\"\"
\r\n"); templateBuilder.Append("
\r\n"); templateBuilder.Append("

Copyright © 2012 重庆市企业文化研究会  All Rights Reserved. 渝ICP备15010732号-1

\r\n"); templateBuilder.Append("

地址:重庆市渝中区上清寺中山四路名流公馆2栋1楼(市政府北门)  邮编:400015

\r\n"); templateBuilder.Append("

电话:023-63899012   63899213   63899015(传真)

\r\n"); templateBuilder.Append("

QQ:2577889262    邮箱:cqccci@126.com

\r\n"); templateBuilder.Append("
\r\n"); templateBuilder.Append("
\r\n"); templateBuilder.Append(" \r\n"); templateBuilder.Append("

技术支持:中国政企网

\r\n"); templateBuilder.Append("
\r\n"); templateBuilder.Append("
\r\n"); templateBuilder.Append("
\r\n"); templateBuilder.Append("
\r\n"); templateBuilder.Append(" \r\n"); templateBuilder.Append("\r\n"); templateBuilder.Append(" function closediv(obj) {\r\n"); templateBuilder.Append(" document.getElementById(obj).style.display = \"none\";\r\n"); templateBuilder.Append(" }\r\n"); templateBuilder.Append(" function closediv1(obj) {\r\n"); templateBuilder.Append(" document.getElementById(obj).style.display = \"none\";\r\n"); templateBuilder.Append(" }\r\n"); templateBuilder.Append(" function onoepntwindow(objj) {\r\n"); templateBuilder.Append(" window.open(objj);\r\n"); templateBuilder.Append(" }\r\n"); templateBuilder.Append("\r\n"); int adflotlj__loop__id=0; foreach(LinkInfo adflotlj in LinkByStr(1,3,2)) { adflotlj__loop__id++; templateBuilder.Append("
\r\n"); templateBuilder.Append("
\r\n"); templateBuilder.Append(" \r\n"); templateBuilder.Append("
\r\n"); templateBuilder.Append("
\r\n"); templateBuilder.Append("   
\r\n"); templateBuilder.Append("
\r\n"); } //end loop int adflotlj1__loop__id=0; foreach(LinkInfo adflotlj1 in LinkByStr(2,3,2)) { adflotlj1__loop__id++; if(adflotlj1__loop__id!=1){ templateBuilder.Append("
\r\n"); templateBuilder.Append("
  
\r\n"); } } //end loop templateBuilder.Append("\r\n"); templateBuilder.Append("\r\n"); Response.Write(templateBuilder.ToString()); }