行 1: #pragma checksum "E:\ToHi\ToHi.Qx.EIP.GRP\unite_eip\aspx\tohi\news_video.aspx" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "639DD587D4F679CCC382636E1D46706B62949533"
行 2: //------------------------------------------------------------------------------
行 3: // <auto-generated>
行 4: // 此代码由工具生成。
行 5: // 运行时版本:4.0.30319.42000
行 6: //
行 7: // 对此文件的更改可能会导致不正确的行为,并且如果
行 8: // 重新生成代码,这些更改将会丢失。
行 9: // </auto-generated>
行 10: //------------------------------------------------------------------------------
行 11:
行 12: namespace ASP {
行 13:
行 14: #line 389 "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\web.config"
行 15: using System.Linq;
行 16:
行 17: #line default
行 18: #line hidden
行 19:
行 20: #line 396 "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\web.config"
行 21: using System.Web.Security;
行 22:
行 23: #line default
行 24: #line hidden
行 25:
行 26: #line 2 "E:\ToHi\ToHi.Qx.EIP.GRP\unite_eip\aspx\tohi\news_video.aspx"
行 27: using System.Collections.Generic;
行 28:
行 29: #line default
行 30: #line hidden
行 31:
行 32: #line 391 "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\web.config"
行 33: using System.Text.RegularExpressions;
行 34:
行 35: #line default
行 36: #line hidden
行 37:
行 38: #line 5 "E:\ToHi\ToHi.Qx.EIP.GRP\unite_eip\aspx\tohi\news_video.aspx"
行 39: using ToHi.Qx.EIP.Common;
行 40:
行 41: #line default
行 42: #line hidden
行 43:
行 44: #line 399 "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\web.config"
行 45: using System.Web.UI.WebControls;
行 46:
行 47: #line default
行 48: #line hidden
行 49:
行 50: #line 402 "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\web.config"
行 51: using System.Xml.Linq;
行 52:
行 53: #line default
行 54: #line hidden
行 55:
行 56: #line 398 "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\web.config"
行 57: using System.Web.UI;
行 58:
行 59: #line default
行 60: #line hidden
行 61:
行 62: #line 383 "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\web.config"
行 63: using System;
行 64:
行 65: #line default
行 66: #line hidden
行 67:
行 68: #line 401 "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\web.config"
行 69: using System.Web.UI.HtmlControls;
行 70:
行 71: #line default
行 72: #line hidden
行 73:
行 74: #line 392 "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\web.config"
行 75: using System.Web;
行 76:
行 77: #line default
行 78: #line hidden
行 79:
行 80: #line 384 "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\web.config"
行 81: using System.Collections;
行 82:
行 83: #line default
行 84: #line hidden
行 85:
行 86: #line 388 "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\web.config"
行 87: using System.Configuration;
行 88:
行 89: #line default
行 90: #line hidden
行 91:
行 92: #line 387 "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\web.config"
行 93: using System.ComponentModel.DataAnnotations;
行 94:
行 95: #line default
行 96: #line hidden
行 97:
行 98: #line 3 "E:\ToHi\ToHi.Qx.EIP.GRP\unite_eip\aspx\tohi\news_video.aspx"
行 99: using System.Text;
行 100:
行 101: #line default
行 102: #line hidden
行 103:
行 104: #line 397 "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\web.config"
行 105: using System.Web.Profile;
行 106:
行 107: #line default
行 108: #line hidden
行 109:
行 110: #line 393 "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\web.config"
行 111: using System.Web.Caching;
行 112:
行 113: #line default
行 114: #line hidden
行 115:
行 116: #line 4 "E:\ToHi\ToHi.Qx.EIP.GRP\unite_eip\aspx\tohi\news_video.aspx"
行 117: using System.Data;
行 118:
行 119: #line default
行 120: #line hidden
行 121:
行 122: #line 400 "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\web.config"
行 123: using System.Web.UI.WebControls.WebParts;
行 124:
行 125: #line default
行 126: #line hidden
行 127:
行 128: #line 386 "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\web.config"
行 129: using System.Collections.Specialized;
行 130:
行 131: #line default
行 132: #line hidden
行 133:
行 134: #line 395 "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\web.config"
行 135: using System.Web.SessionState;
行 136:
行 137: #line default
行 138: #line hidden
行 139:
行 140: #line 394 "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\web.config"
行 141: using System.Web.DynamicData;
行 142:
行 143: #line default
行 144: #line hidden
行 145:
行 146:
行 147: [System.Runtime.CompilerServices.CompilerGlobalScopeAttribute()]
行 148: public class unite_eip_aspx_tohi_news_video_aspx : global::ToHi.Qx.EIP.WebUI.Page.article_list, System.Web.SessionState.IRequiresSessionState, System.Web.IHttpHandler {
行 149:
行 150: private static bool @__initialized;
行 151:
行 152: private static object @__fileDependencies;
行 153:
行 154:
行 155: #line 7 "E:\ToHi\ToHi.Qx.EIP.GRP\unite_eip\aspx\tohi\news_video.aspx"
行 156:
行 157: override protected void OnInit(EventArgs e)
行 158: {
行 159:
行 160: /*
行 161: This page was created by ToHi.Qx.EIP Template Engine at 2022/5/26 10:43:06.
行 162: 本页面代码由ToHi.Qx.EIP模板引擎生成于 2022/5/26 10:43:06.
行 163: */
行 164:
行 165: base.OnInit(e);
行 166: StringBuilder templateBuilder = new StringBuilder(220000);
行 167: templateBuilder.Append("<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\r\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\r\n<head>\r\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\" />\r\n <title>");
行 168: templateBuilder.Append(Utils.ObjectToStr(model_channel.title));
行 169: templateBuilder.Append("</title>\r\n <link rel=\"shortcut icon\" href=\"");
行 170: templateBuilder.Append("/unite_eip/templates/tohi");
行 171: templateBuilder.Append("/images/A001.png\" type=\"image/x-icon\" />\r\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=EmulateIE8\" />\r\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge,chrome=1\" />\r\n <meta content=\"");
行 172: templateBuilder.Append(Utils.ObjectToStr(config.webkeyword));
行 173: templateBuilder.Append("\" name=\"keywords\" />\r\n <meta content=\"");
行 174: templateBuilder.Append(Utils.ObjectToStr(config.webdescription));
行 175: templateBuilder.Append("\" name=\"description\" />\r\n <script type=\"text/javascript\" src=\"");
行 176: templateBuilder.Append("/unite_eip/templates/tohi");
行 177: templateBuilder.Append("/js/jquery.js\"></");
行 178: templateBuilder.Append("script>\r\n <script type=\"text/javascript\" src=\"");
行 179: templateBuilder.Append("/unite_eip/templates/tohi");
行 180: templateBuilder.Append("/js/jquery.SuperSlide.2.1.js\"></");
行 181: templateBuilder.Append("script>\r\n <script type=\"text/javascript\" src=\"");
行 182: templateBuilder.Append("/unite_eip/templates/tohi");
行 183: templateBuilder.Append("/js/lib.js\"></");
行 184: templateBuilder.Append("script>\r\n <script type=\"text/javascript\" src=\"");
行 185: templateBuilder.Append("/unite_eip/templates/tohi");
行 186: templateBuilder.Append("/js/clickState.js\"></");
行 187: templateBuilder.Append("script>\r\n <!-- <script type=\"text/javascript\" src=\"");
行 188: templateBuilder.Append("/unite_eip/templates/tohi");
行 189: templateBuilder.Append("/js/index.js\"></");
行 190: templateBuilder.Append("script> -->\r\n <script type=\"text/javascript\" src=\"");
行 191: templateBuilder.Append("/unite_eip/templates/tohi");
行 192: templateBuilder.Append("/js/scrolltopcontrol.js\"></");
行 193: templateBuilder.Append("script>\r\n <script type=\"text/javascript\" src=\"");
行 194: templateBuilder.Append("/unite_eip/templates/tohi");
行 195: templateBuilder.Append("/js/base.js\"></");
行 196: templateBuilder.Append("script>\r\n <link rel=\"stylesheet\" href=\"");
行 197: templateBuilder.Append("/unite_eip/templates/tohi");
行 198: templateBuilder.Append("/css/cui.css\" />\r\n <link rel=\"stylesheet\" href=\"");
行 199: templateBuilder.Append("/unite_eip/templates/tohi");
行 200: templateBuilder.Append("/css/lib.css\" />\r\n <link rel=\"stylesheet\" href=\"");
行 201: templateBuilder.Append("/unite_eip/templates/tohi");
行 202: templateBuilder.Append("/css/index.css\" />\r\n <link rel=\"stylesheet\" href=\"");
行 203: templateBuilder.Append("/unite_eip/templates/tohi");
行 204: templateBuilder.Append("/css/style.css\" />\r\n <link rel=\"stylesheet\" href=\"");
行 205: templateBuilder.Append("/unite_eip/templates/tohi");
行 206: templateBuilder.Append("/css/yx_rotaion.css\" />\r\n</head>\r\n\r\n<body>\r\n<!--Header-->\r\n");
行 207:
行 208:
行 209: templateBuilder.Append("<meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge,chrome=1\" /> \r\n <div class=\"nav_menu\">\r\n <div id=\"ai-nav-contain\" class=\"ai-nav\">\r\n <div class=\"ai-nav-bar\">\r\n <div class=\"ai-nav-logo\"><a href=\"/index.aspx\"><img src=\"");
行 210: templateBuilder.Append(Utils.ObjectToStr(config.weblogo));
行 211: templateBuilder.Append("\" /></a></div>\r\n <div class=\"ai-nav-bar-inner\" id=\"navlist\">\r\n ");
行 212: DataTable channel_list = get_channel_list(81);
行 213:
行 214: foreach(DataRow _chennl in channel_list.Rows)
行 215: {
行 216:
行 217: string targets=string.Empty;
行 218: if(Utils.ObjectToStr(_chennl["Is_target"])=="1")
行 219: {
行 220: targets="_blank";
行 221: }else{
行 222: targets="_self";
行 223: }
行 224:
行 225:
行 226: if (Utils.ObjectToStr(_chennl["HPURL"])!="")
行 227: {
行 228:
行 229: templateBuilder.Append("\r\n <div class=\"ai-nav-item\">\r\n <a target=\"");
行 230: templateBuilder.Append(Utils.ObjectToStr(targets));
行 231: templateBuilder.Append("\" href=\"" + Utils.ObjectToStr(_chennl["HPURL"]) + "\">\r\n " + Utils.ObjectToStr(_chennl["TITLE"]) + "\r\n </a>\r\n </div> \r\n ");
行 232: }
行 233: else
行 234: {
行 235:
行 236: templateBuilder.Append("\r\n <div class=\"ai-nav-item\">\r\n <a target=\"");
行 237: templateBuilder.Append(Utils.ObjectToStr(targets));
行 238: templateBuilder.Append("\" href='");
行 239: templateBuilder.Append(linkurl(Utils.ObjectToStr(_chennl["name"])));
行 240:
行 241: templateBuilder.Append("?channel_id=" + Utils.ObjectToStr(_chennl["id"]) + "'>\r\n " + Utils.ObjectToStr(_chennl["TITLE"]) + "\r\n </a>\r\n </div>\r\n ");
行 242: } //end for if
行 243:
行 244: } //end for if
行 245:
行 246: templateBuilder.Append("\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"box\" id=\"navbox\" style=\"height:0px;opacity:0;overflow:hidden;\">\r\n <div class=\"list_box\">\r\n ");
行 247: ToHi.Qx.EIP.BLL.article_category _article_category=new ToHi.Qx.EIP.BLL.article_category();
行 248: DataTable categorylist=_article_category.GetAllList();
行 249:
行 250:
行 251: foreach(DataRow _chennllist in channel_list.Rows)
行 252: {
行 253:
行 254: DataRow[] drArr=categorylist.Select(" channel_id='"+Utils.ObjectToStr(_chennllist["ID"])+"' AND parent_id=0 and is_YC=1 ");
行 255:
行 256:
行 257:
行 258: if (drArr.Length>0)
行 259: {
行 260:
行 261: templateBuilder.Append("\r\n <div class=\"cont\" style=\"display:none;\">\r\n ");
行 262: for(int i = 0; i < drArr.Length; i++)
行 263: {
行 264:
行 265: int nsdrid = Convert.ToInt32(drArr[i]["ID"]);
行 266:
行 267: string title = drArr[i]["title"].ToString();
行 268:
行 269: DataRow[] drArr2=categorylist.Select(" channel_id='"+Utils.ObjectToStr(_chennllist["ID"])+"' AND parent_id="+nsdrid+" and is_YC=1 ");
行 270:
行 271:
行 272: if (i==0)
行 273: {
行 274:
行 275: if (drArr2.Length>0)
行 276: {
行 277:
行 278: templateBuilder.Append("\r\n <ul class=\"sublist clearfix\">\r\n ");
行 279: }
行 280: else
行 281: {
行 282:
行 283: templateBuilder.Append("\r\n <ul class=\"sublistc\">\r\n ");
行 284: } //end for if
行 285:
行 286: } //end for if
行 287:
行 288: if (drArr2.Length>0)
行 289: {
行 290:
行 291: templateBuilder.Append("\r\n <li>\r\n <h3 class=\"mcate-item-hd\"><span>");
行 292: templateBuilder.Append(Utils.ObjectToStr(title));
行 293: templateBuilder.Append("</span></h3>\r\n ");
行 294: for(int j = 0; j < drArr2.Length; j++)
行 295: {
行 296:
行 297: string title2 = drArr2[j]["title"].ToString();
行 298:
行 299: string categoryid = drArr2[j]["ID"].ToString();
行 300:
行 301: templateBuilder.Append("\r\n <p class=\"mcate-item-bd\"><a href=\"");
行 302: templateBuilder.Append(linkurl("content_details",categoryid));
行 303:
行 304: templateBuilder.Append("\">");
行 305: templateBuilder.Append(Utils.ObjectToStr(title2));
行 306: templateBuilder.Append("</a></p>\r\n ");
行 307: } //end for if
行 308:
行 309: templateBuilder.Append("\r\n </li>\r\n ");
行 310: }
行 311: else
行 312: {
行 313:
行 314: templateBuilder.Append("\r\n <li>\r\n ");
行 315: string call_index=string.Empty;
行 316: if(!string.IsNullOrEmpty(drArr[i]["call_index"].ToString()))
行 317: {
行 318: call_index=drArr[i]["call_index"].ToString();
行 319: }
行 320: else{
行 321: call_index="content_details";
行 322: }
行 323:
行 324:
行 325: templateBuilder.Append("\r\n <h3 class=\"\"><a href=\"");
行 326: templateBuilder.Append(linkurl(call_index,nsdrid));
行 327:
行 328: templateBuilder.Append("\">");
行 329: templateBuilder.Append(Utils.ObjectToStr(title));
行 330: templateBuilder.Append("</a></h3>\r\n ");
行 331: for(int j = 0; j < drArr2.Length; j++)
行 332: {
行 333:
行 334: string title2 = drArr2[j]["title"].ToString();
行 335:
行 336: string categoryid = drArr2[j]["ID"].ToString();
行 337:
行 338: templateBuilder.Append("\r\n <p class=\"mcate-item-bd\"><a href=\"");
行 339: templateBuilder.Append(linkurl("content_details",categoryid));
行 340:
行 341: templateBuilder.Append("\">");
行 342: templateBuilder.Append(Utils.ObjectToStr(title2));
行 343: templateBuilder.Append("</a></p>\r\n ");
行 344: } //end for if
行 345:
行 346: templateBuilder.Append("\r\n </li>\r\n ");
行 347: } //end for if
行 348:
行 349: } //end for if
行 350:
行 351: templateBuilder.Append("\r\n </ul>\r\n\r\n </div>\r\n ");
行 352: }
行 353: else
行 354: {
行 355:
行 356: templateBuilder.Append("\r\n <div class=\"cont\" style=\"display:none;\"></div>\r\n ");
行 357: } //end for if
行 358:
行 359: } //end for if
行 360:
行 361: templateBuilder.Append("\r\n\r\n\r\n </div>\r\n </div>\r\n\r\n </div>\r\n\r\n<script type=\"text/javascript\">\r\n\r\n(function(){\r\n\r\n\r\n\r\n var time = null;\r\n\r\n var list = $(\"#navlist\");\r\n\r\n var box = $(\"#navbox\");\r\n\r\n var lista = list.find(\"div\");\r\n\r\n\r\n\r\n for(var i=0,j=lista.length;i<j;i++){\r\n\r\n if(lista[i].className == \"now\"){\r\n\r\n var olda = i;\r\n\r\n }\r\n\r\n }\r\n\r\n\r\n var box_show = function (hei, show) {\r\n console.log(show)\r\n if (show == 'yes') {\r\n box.stop().animate({\r\n\r\n height: hei,\r\n\r\n opacity: 1\r\n }, 400);\r\n\r\n box.css(\"box-shadow\", \"0px 1px 3px #DFDFDF\")\r\n } else if('no'){\r\n box.stop().animate({\r\n\r\n height: hei,\r\n\r\n opacity: 1\r\n }, 400);\r\n\r\n box.css(\"box-shadow\", \"none\")\r\n }\r\n\r\n }\r\n\r\n\r\n\r\n var box_hide = function(){\r\n\r\n box.stop().animate({\r\n\r\n height:0,\r\n\r\n opacity:0\r\n },400);\r\n box.css(\"box-shadow\", \"none\")\r\n }\r\n\r\n\r\n\r\n lista.hover(function(){\r\n\r\n lista.removeClass(\"now\");\r\n\r\n $(this).addClass(\"now\");\r\n\r\n clearTimeout(time);\r\n\r\n var index = list.find(\"div\").index($(this));\r\n\r\n box.find(\".cont\").hide().eq(index).show();\r\n var htmlc = box.find(\".cont\").eq(index).html();\r\n var _height = box.find(\".cont\").eq(index).height() + 20;\r\n if (htmlc == '' || htmlc.length == 0) {\r\n box_show(0,'no')\r\n } else {\r\n box_show(_height,'yes')\r\n }\r\n },function(){\r\n\r\n time = setTimeout(function(){\r\n\r\n box.find(\".cont\").hide();\r\n\r\n box_hide();\r\n\r\n },50);\r\n\r\n lista.removeClass(\"now\");\r\n\r\n lista.eq(olda).addClass(\"now\");\r\n\r\n });\r\n\r\n\r\n\r\n box.find(\".cont\").hover(function(){\r\n\r\n var _index = box.find(\".cont\").index($(this));\r\n\r\n lista.removeClass(\"now\");\r\n\r\n lista.eq(_index).addClass(\"now\");\r\n\r\n clearTimeout(time);\r\n\r\n $(this).show();\r\n\r\n var _height = $(this).height() +20;\r\n box_show(_height,'yes');\r\n\r\n },function(){\r\n\r\n time = setTimeout(function(){\r\n\r\n $(this).hide();\r\n\r\n box_hide();\r\n\r\n },50);\r\n\r\n lista.removeClass(\"now\");\r\n\r\n lista.eq(olda).addClass(\"now\");\r\n\r\n });\r\n\r\n\r\n\r\n})();\r\n\r\n</");
行 362: templateBuilder.Append("script>");
行 363:
行 364:
行 365: templateBuilder.Append("\r\n<!-- Swiper -->\r\n<div class=\"swiper-box\" style=\"height:420px;\">\r\n <div class=\"swiper-container\">\r\n <div class=\"swiper-wrapper\">\r\n ");
行 366: DataTable topPic = get_article_list("index", 980, 0, "status=0 and is_top=1 and img_url is not null"," sort_id asc");
行 367:
行 368: foreach(DataRow picdr in topPic.Rows)
行 369: {
行 370:
行 371: templateBuilder.Append("\r\n <div class=\"swiper-slide\" style=\"background:url('" + Utils.ObjectToStr(picdr["img_url"]) + "')\"><a class=\"disp\" target=\"_blank\" href=\"" + Utils.ObjectToStr(picdr["link_url"]) + "\"></a></div>\r\n ");
行 372: } //end for if
行 373:
行 374: templateBuilder.Append("\r\n </div>\r\n <!-- Add Scrollbar -->\r\n <div class=\"swiper-pagination\"></div>\r\n </div>\r\n</div>\r\n<script type=\"text/javascript\">\r\n var swiper = new Swiper('.swiper-box .swiper-container', {\r\n pagination: {\r\n el: '.swiper-pagination',\r\n clickable: true,\r\n renderBullet: function (index, className) {\r\n return '<span class=\"' + className + '\">' + (index + 1) + '</span>';\r\n }\r\n },\r\n autoplay: true,\r\n });\r\n</");
行 375: templateBuilder.Append("script>\r\n<style>\r\n .swiper-pagination-bullet {\r\n width: 20px;\r\n height: 20px;\r\n text-align: center;\r\n line-height: 20px;\r\n font-size: 12px;\r\n color:#007aff;\r\n opacity: 1;\r\n background: #fff;\r\n }\r\n .swiper-pagination-bullet-active {\r\n color:#fff;\r\n background: #007aff;\r\n }\r\n</style>");
行 376:
行 377:
行 378: templateBuilder.Append("\r\n<!--/Header-->\r\n\r\n<div id=\"bd\">\r\n <div class=\"wrapper\">\r\n <div class=\"h\"></div> \r\n <div class=\"side-col\">\r\n <h2 class=\"tit3\">");
行 379: templateBuilder.Append(Utils.ObjectToStr(model_channel.title));
行 380: templateBuilder.Append("</h2>\r\n <ul class=\"side-nav\">\r\n ");
行 381: DataTable dt = GetList(0, model_channel.name);
行 382:
行 383: templateBuilder.Append("\r\n ");
行 384: foreach(DataRow dr in dt.Rows)
行 385: {
行 386:
行 387: templateBuilder.Append("\r\n ");行 388: string Id = dr["id"].ToString();行 389: int ClassLayer = int.Parse(dr["class_layer"].ToString());行 390: string Title2 = "";行 391: string Title1 = dr["title"].ToString().Trim();行 392: Title2 = Utils.StringOfChar(ClassLayer - 1, " ") + Title1;行 393:
行 394:
行 395: templateBuilder.Append("\r\n ");
行 396: if (Utils.ObjectToStr(dr["call_index"])=="notClick")
行 397: {
行 398:
行 399: templateBuilder.Append("\r\n <li><span style=\"padding-left: 20px; color: #2bd6ff\" title=\"");
行 400: templateBuilder.Append(Utils.ObjectToStr(Title1));
行 401: templateBuilder.Append("\">");
行 402: templateBuilder.Append(Utils.ObjectToStr(Title2));
行 403: templateBuilder.Append("</span></li>\r\n ");
行 404: }
行 405: else if (Utils.ObjectToStr(dr["link_url"])!="")
行 406: {
行 407:
行 408: templateBuilder.Append("\r\n <li><a class=\"sv1\" title=\"");
行 409: templateBuilder.Append(Utils.ObjectToStr(Title1));
行 410: templateBuilder.Append("\" href=\"" + Utils.ObjectToStr(dr["link_url"]) + "\">");
行 411: templateBuilder.Append(Utils.ObjectToStr(Title2));
行 412: templateBuilder.Append("</a></li>\r\n ");
行 413: }
行 414: else if (Utils.ObjectToStr(dr["call_index"])!="")
行 415: {
行 416:
行 417: templateBuilder.Append("\r\n <li id=\"" + Utils.ObjectToStr(dr["id"]) + "\"><a class=\"sv1\" title=\"");
行 418: templateBuilder.Append(Utils.ObjectToStr(Title1));
行 419: templateBuilder.Append("\" href=\"");
行 420: templateBuilder.Append(linkurl(Utils.ObjectToStr(dr["call_index"]),Utils.ObjectToStr(dr["id"])));
行 421:
行 422: templateBuilder.Append("\">");
行 423: templateBuilder.Append(Utils.ObjectToStr(Title2));
行 424: templateBuilder.Append("</a></li>\r\n ");
行 425: }
行 426: else
行 427: {
行 428:
行 429: templateBuilder.Append("\r\n <li id=\"" + Utils.ObjectToStr(dr["id"]) + "\"><a class=\"sv1\" href='");
行 430: templateBuilder.Append(linkurl("tohi_news_list",Utils.ObjectToStr(dr["id"])));
行 431:
行 432: templateBuilder.Append("'>");
行 433: templateBuilder.Append(Utils.ObjectToStr(Title2));
行 434: templateBuilder.Append("</a></li>\r\n ");
行 435: } //end for if
行 436:
行 437: templateBuilder.Append("\r\n ");
行 438: } //end for if
行 439:
行 440: templateBuilder.Append("\r\n </ul>\r\n </div>\r\n <div class=\"main-col\">\r\n <div class=\"filter fix\">\r\n <div class=\"soso\">\r\n <input class=\"so-inp\" title=\"按内容标题和摘要过滤\" id=\"txtfind\" name=\"txtfind\" type=\"text\" onkeydown=\"if(event.keyCode==13){SiteSearch('");
行 441: templateBuilder.Append(linkurl("search"));
行 442:
行 443: templateBuilder.Append("', '#txtfind','tohinews');return false};\" />\r\n <input class=\"so-sub\" title=\"按内容标题和摘要过滤\" type=\"submit\" value=\"\" onclick=\"SiteSearch('");
行 444: templateBuilder.Append(linkurl("search"));
行 445:
行 446: templateBuilder.Append("', '#txtfind','tohinews');\" /> \r\n </div>\r\n </div>\r\n <div class=\"chapter\">\r\n <div class=\"wrapper-cont\"> \r\n <ul class=\"ul-txt txt-list4\">\r\n ");
行 447: DataTable down = get_article_list("tohinews", category_id, page, "status=0", out totalcount, out pagelist, "news_video", category_id, "__id__");
行 448:
行 449: templateBuilder.Append("<!--取得一个分页DataTable--> \r\n ");
行 450: foreach(DataRow dr in down.Rows)
行 451: {
行 452:
行 453: templateBuilder.Append("\r\n ");
行 454: if (Utils.ObjectToStr(dr["link_url"])!="")
行 455: {
行 456:
行 457: templateBuilder.Append("\r\n <li><span>["); templateBuilder.Append(Utils.ObjectToDateTime(Utils.ObjectToStr(dr["add_time"])).ToString("yyyy-MM-dd"));
行 458:
行 459: templateBuilder.Append("]</span><a target=\"_blank\" href='" + Utils.ObjectToStr(dr["link_url"]) + "'>" + Utils.ObjectToStr(dr["title"]) + "</a></li>\r\n ");
行 460: }
行 461: else
行 462: {
行 463:
行 464: templateBuilder.Append("\r\n <li><span>["); templateBuilder.Append(Utils.ObjectToDateTime(Utils.ObjectToStr(dr["add_time"])).ToString("yyyy-MM-dd"));
行 465:
行 466: templateBuilder.Append("]</span><a target=\"_blank\" href='");
行 467: templateBuilder.Append(linkurl("news_video_show",Utils.ObjectToStr(dr["id"])));
行 468:
行 469: templateBuilder.Append("'>" + Utils.ObjectToStr(dr["title"]) + "</a></li>\r\n ");
行 470: } //end for if
行 471:
行 472: templateBuilder.Append("\r\n ");
行 473: } //end for if
行 474:
行 475: templateBuilder.Append(" \r\n </ul>\r\n <div class=\"h20\"></div>\r\n <div class=\"page\" style=\"width:100%\">\r\n <div class=\"flickr\" style=\"text-align:center; margin:0 auto; margin-top:20px;padding-top:10px;\">");
行 476: templateBuilder.Append(Utils.ObjectToStr(pagelist));
行 477: templateBuilder.Append("</div><!--放置页码列表-->\r\n </div> \r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"c\"></div>\r\n </div>\r\n </div>\r\n\r\n \r\n<!--Footer-->\r\n");
行 478:
行 479: templateBuilder.Append("<div class=\"footer-cover\">\r\n <div class=\"footer-cover-margin\">\r\n ");
行 480: DataRow[] footerList=categorylist.Select(" channel_id='54' AND parent_id=1149"," sort_id asc ");
行 481:
行 482:
行 483: for(int i = 0; i < footerList.Length; i++)
行 484: {
行 485:
行 486: int nsdrid = Convert.ToInt32(footerList[i]["ID"]);
行 487:
行 488: string title = footerList[i]["title"].ToString();
行 489:
行 490: DataRow[] footerList2=categorylist.Select(" channel_id='54' AND parent_id="+nsdrid+" "," sort_id asc ");
行 491:
行 492:
行 493: templateBuilder.Append("\r\n <div class=\"footer-cover-column\">\r\n <div class=\"footer-cover-H1\">");
行 494: templateBuilder.Append(Utils.ObjectToStr(title));
行 495: templateBuilder.Append("</div>\r\n ");
行 496: for(int j = 0; j < footerList2.Length; j++)
行 497: {
行 498:
行 499: string title2 = footerList2[j]["title"].ToString();
行 500:
行 501: string link_url = footerList2[j]["link_url"].ToString();
行 502:
行 503: templateBuilder.Append("\r\n <p><a href=\"");
行 504: templateBuilder.Append(Utils.ObjectToStr(link_url));
行 505: templateBuilder.Append("\">");
行 506: templateBuilder.Append(Utils.ObjectToStr(title2));
行 507: templateBuilder.Append("</a></p>\r\n ");
行 508: } //end for if
行 509:
行 510: templateBuilder.Append("\r\n </div>\r\n ");
行 511: } //end for if
行 512:
行 513: templateBuilder.Append("\r\n\r\n <div class=\"footer-cover-br\" ></div>\r\n <div class=\"footer-contain-ewm\" >\r\n <div><img src=\"");
行 514: templateBuilder.Append("/unite_eip/templates/tohi");
行 515: templateBuilder.Append("/images/tohiweixin.jpg\" /></div>\r\n <p><a>扫一扫 关注我们</a></p>\r\n </div>\r\n <div class=\"footer-cover-right\" >\r\n <ul>\r\n <li class=\"footer-cover-crk\"><a target=\"_blank\" href=\"https://grp.tohi.cn/\">员工入口</a></li>\r\n <li class=\"footer-cover-kf\">");
行 516: templateBuilder.Append(Utils.ObjectToStr(config.webtel));
行 517: templateBuilder.Append("</li>\r\n <li class=\"footer-cover-yx\">");
行 518: templateBuilder.Append(Utils.ObjectToStr(config.webmail));
行 519: templateBuilder.Append("</li>\r\n ");
行 520: if (config.webaddress.Split('|').Length>1)
行 521: {
行 522:
行 523: templateBuilder.Append("\r\n <li class=\"footer-cover-dz\">" + Utils.ObjectToStr(config.webaddress.Split('|')[0]) + "</li>\r\n <li class=\"footer-cover-dz\">" + Utils.ObjectToStr(config.webaddress.Split('|')[1]) + "</li>\r\n ");
行 524: }
行 525: else
行 526: {
行 527:
行 528: templateBuilder.Append("\r\n <li class=\"footer-cover-dz\">");
行 529: templateBuilder.Append(Utils.ObjectToStr(config.webaddress));
行 530: templateBuilder.Append("</li>\r\n ");
行 531: } //end for if
行 532:
行 533: templateBuilder.Append("\r\n </ul>\r\n </div>\r\n \r\n </div>\r\n</div>\r\n<div class=\"footer-contain\">\r\n <div class=\"footer-contain-margin\"><p>");
行 534: templateBuilder.Append(Utils.ObjectToStr(config.webcopyright));
行 535: templateBuilder.Append("</p></div>\r\n</div>\r\n<script src=\"http://static.bshare.cn/b/button.js#style=-1&uuid=&pophcol=2&lang=zh\" type=\"text/javascript\" charset=\"utf-8\"></");
行 536: templateBuilder.Append("script>\r\n<script src=\"http://static.bshare.cn/b/bshareC0.js\" type=\"text/javascript\" charset=\"utf-8\"></");
行 537: templateBuilder.Append("script>");
行 538:
行 539:
行 540: templateBuilder.Append("\r\n<!--/Footer-->\r\n</body>\r\n</html>\r\n");
行 541: Response.Write(templateBuilder.ToString());
行 542: }
行 543:
行 544: #line default
行 545: #line hidden
行 546:
行 547:
行 548: [System.Diagnostics.DebuggerNonUserCodeAttribute()]
行 549: public unite_eip_aspx_tohi_news_video_aspx() {
行 550: string[] dependencies;
行 551: ((global::ToHi.Qx.EIP.WebUI.Page.article_list)(this)).AppRelativeVirtualPath = "~/unite_eip/aspx/tohi/news_video.aspx";
行 552: if ((global::ASP.unite_eip_aspx_tohi_news_video_aspx.@__initialized == false)) {
行 553: dependencies = new string[1];
行 554: dependencies[0] = "~/unite_eip/aspx/tohi/news_video.aspx";
行 555: global::ASP.unite_eip_aspx_tohi_news_video_aspx.@__fileDependencies = this.GetWrappedFileDependencies(dependencies);
行 556: global::ASP.unite_eip_aspx_tohi_news_video_aspx.@__initialized = true;
行 557: }
行 558: this.Server.ScriptTimeout = 30000000;
行 559: }
行 560:
行 561: protected System.Web.Profile.DefaultProfile Profile {
行 562: get {
行 563: return ((System.Web.Profile.DefaultProfile)(this.Context.Profile));
行 564: }
行 565: }
行 566:
行 567: protected System.Web.HttpApplication ApplicationInstance {
行 568: get {
行 569: return ((System.Web.HttpApplication)(this.Context.ApplicationInstance));
行 570: }
行 571: }
行 572:
行 573: [System.Diagnostics.DebuggerNonUserCodeAttribute()]
行 574: private void @__BuildControlTree(unite_eip_aspx_tohi_news_video_aspx @__ctrl) {
行 575:
行 576: #line 1 "E:\ToHi\ToHi.Qx.EIP.GRP\unite_eip\aspx\tohi\news_video.aspx"
行 577: this.InitializeCulture();
行 578:
行 579: #line default
行 580: #line hidden
行 581: }
行 582:
行 583: [System.Diagnostics.DebuggerNonUserCodeAttribute()]
行 584: protected override void FrameworkInitialize() {
行 585: base.FrameworkInitialize();
行 586: this.@__BuildControlTree(this);
行 587: this.AddWrappedFileDependencies(global::ASP.unite_eip_aspx_tohi_news_video_aspx.@__fileDependencies);
行 588: }
行 589:
行 590: [System.Diagnostics.DebuggerNonUserCodeAttribute()]
行 591: public override int GetTypeHashCode() {
行 592: return 5381;
行 593: }
行 594:
行 595: [System.Diagnostics.DebuggerNonUserCodeAttribute()]
行 596: public override void ProcessRequest(System.Web.HttpContext context) {
行 597: base.ProcessRequest(context);
行 598: }
行 599: }
行 600: }
行 601:
|