行 1: #pragma checksum "E:\ToHi\ToHi.Qx.EIP.GRP\unite_eip\aspx\tohi\clientcases.aspx" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "51E19B13090AFBDE10D8F50CD25DFAEA6A0BB1BD"
行 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\clientcases.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\clientcases.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\clientcases.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\clientcases.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_clientcases_aspx : global::ToHi.Qx.EIP.WebUI.Page.article_show, 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\clientcases.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 ");
行 168: string category_title = get_category_title(category_id,"客户案例");
行 169:
行 170: templateBuilder.Append("\r\n <title>");
行 171: templateBuilder.Append(Utils.ObjectToStr(category_title));
行 172: templateBuilder.Append(" - ");
行 173: templateBuilder.Append(Utils.ObjectToStr(config.webname));
行 174: templateBuilder.Append("</title>\r\n <link rel=\"shortcut icon\" href=\"");
行 175: templateBuilder.Append("/unite_eip/templates/tohi");
行 176: templateBuilder.Append("/images/A001.png\" type=\"image/x-icon\" />\r\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\" />\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=\"");
行 177: templateBuilder.Append(Utils.ObjectToStr(config.webkeyword));
行 178: templateBuilder.Append("\" name=\"keywords\" />\r\n <meta content=\"");
行 179: templateBuilder.Append(Utils.ObjectToStr(config.webdescription));
行 180: templateBuilder.Append("\" name=\"description\" />\r\n\r\n <script type=\"text/javascript\" src=\"");
行 181: templateBuilder.Append("/unite_eip/templates/tohi");
行 182: templateBuilder.Append("/js/jquery.js\"></");
行 183: templateBuilder.Append("script>\r\n <script type=\"text/javascript\" src=\"");
行 184: templateBuilder.Append("/unite_eip/templates/tohi");
行 185: templateBuilder.Append("/js/jquery.SuperSlide.2.1.js\"></");
行 186: templateBuilder.Append("script>\r\n <script type=\"text/javascript\" src=\"");
行 187: templateBuilder.Append("/unite_eip/templates/tohi");
行 188: templateBuilder.Append("/js/lib.js\"></");
行 189: templateBuilder.Append("script>\r\n <script type=\"text/javascript\" src=\"");
行 190: templateBuilder.Append("/unite_eip/templates/tohi");
行 191: templateBuilder.Append("/js/scrolltopcontrol.js\"></");
行 192: templateBuilder.Append("script>\r\n <script type=\"text/javascript\" src=\"");
行 193: templateBuilder.Append("/unite_eip/templates/tohi");
行 194: templateBuilder.Append("/js/jquery-1.8.3.min.js\"></");
行 195: templateBuilder.Append("script>\r\n <script type=\"text/javascript\" src=\"");
行 196: templateBuilder.Append("/unite_eip/templates/tohi");
行 197: templateBuilder.Append("/js/jquery.cookie.js\"></");
行 198: templateBuilder.Append("script>\r\n <script type=\"text/javascript\" src=\"");
行 199: templateBuilder.Append("/unite_eip/templates/tohi");
行 200: templateBuilder.Append("/js/base.js\"></");
行 201: templateBuilder.Append("script>\r\n <script type=\"text/javascript\" src=\"");
行 202: templateBuilder.Append("/unite_eip/templates/tohi");
行 203: templateBuilder.Append("/js/index.js\"></");
行 204: templateBuilder.Append("script>\r\n <script type=\"text/javascript\" src=\"");
行 205: templateBuilder.Append("/unite_eip/templates/tohi");
行 206: templateBuilder.Append("/js/swiper.min.js\"></");
行 207: templateBuilder.Append("script>\r\n\r\n <link rel=\"stylesheet\" href=\"");
行 208: templateBuilder.Append("/unite_eip/templates/tohi");
行 209: templateBuilder.Append("/css/footer.css\" />\r\n <link rel=\"stylesheet\" href=\"");
行 210: templateBuilder.Append("/unite_eip/templates/tohi");
行 211: templateBuilder.Append("/css/home.css\" />\r\n <link rel=\"stylesheet\" href=\"");
行 212: templateBuilder.Append("/unite_eip/templates/tohi");
行 213: templateBuilder.Append("/css/cui.css\" />\r\n <link rel=\"stylesheet\" href=\"");
行 214: templateBuilder.Append("/unite_eip/templates/tohi");
行 215: templateBuilder.Append("/css/lib.css\" />\r\n <link rel=\"stylesheet\" href=\"");
行 216: templateBuilder.Append("/unite_eip/templates/tohi");
行 217: templateBuilder.Append("/css/index.css\" />\r\n <link rel=\"stylesheet\" href=\"");
行 218: templateBuilder.Append("/unite_eip/templates/tohi");
行 219: templateBuilder.Append("/css/style.css\" />\r\n <link rel=\"stylesheet\" href=\"");
行 220: templateBuilder.Append("/unite_eip/templates/tohi");
行 221: templateBuilder.Append("/css/yx_rotaion.css\" />\r\n <link rel=\"stylesheet\" href=\"");
行 222: templateBuilder.Append("/unite_eip/templates/tohi");
行 223: templateBuilder.Append("/css/swiper.min.css\" />\r\n <style type=\"text/css\">\r\n div.flickr span.current{\r\n width:28px;\r\n height:28px;\r\n color:#999999;\r\n line-height: 28px;\r\n border-radius:3px;\r\n font-size: 18px;\r\n font-weight:initial;\r\n margin: 14px 8px;\r\n vertical-align: middle;\r\n cursor:pointer;\r\n }\r\n .flickr{\r\n height:inherit;\r\n }\r\n </style>\r\n <script type=\"text/javascript\">\r\n $(function () {\r\n var set = ");
行 224: templateBuilder.Append(Utils.ObjectToStr(category_id));
行 225: templateBuilder.Append("\r\n if (set == \"0\") {\r\n $(\".tabs a:first-child\").eq(0).addClass(\"tabsa\");\r\n } else {\r\n $(\"#subNav_\" + set).addClass(\"tabsa\");\r\n }\r\n })\r\n </");
行 226: templateBuilder.Append("script>\r\n</head>\r\n<body>\r\n <!--Header-->\r\n ");
行 227:
行 228:
行 229: 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=\"");
行 230: templateBuilder.Append(Utils.ObjectToStr(config.weblogo));
行 231: templateBuilder.Append("\" /></a></div>\r\n <div class=\"ai-nav-bar-inner\" id=\"navlist\">\r\n ");
行 232: DataTable channel_list = get_channel_list(81);
行 233:
行 234: foreach(DataRow _chennl in channel_list.Rows)
行 235: {
行 236:
行 237: string targets=string.Empty;
行 238: if(Utils.ObjectToStr(_chennl["Is_target"])=="1")
行 239: {
行 240: targets="_blank";
行 241: }else{
行 242: targets="_self";
行 243: }
行 244:
行 245:
行 246: if (Utils.ObjectToStr(_chennl["HPURL"])!="")
行 247: {
行 248:
行 249: templateBuilder.Append("\r\n <div class=\"ai-nav-item\">\r\n <a target=\"");
行 250: templateBuilder.Append(Utils.ObjectToStr(targets));
行 251: templateBuilder.Append("\" href=\"" + Utils.ObjectToStr(_chennl["HPURL"]) + "\">\r\n " + Utils.ObjectToStr(_chennl["TITLE"]) + "\r\n </a>\r\n </div> \r\n ");
行 252: }
行 253: else
行 254: {
行 255:
行 256: templateBuilder.Append("\r\n <div class=\"ai-nav-item\">\r\n <a target=\"");
行 257: templateBuilder.Append(Utils.ObjectToStr(targets));
行 258: templateBuilder.Append("\" href='");
行 259: templateBuilder.Append(linkurl(Utils.ObjectToStr(_chennl["name"])));
行 260:
行 261: templateBuilder.Append("?channel_id=" + Utils.ObjectToStr(_chennl["id"]) + "'>\r\n " + Utils.ObjectToStr(_chennl["TITLE"]) + "\r\n </a>\r\n </div>\r\n ");
行 262: } //end for if
行 263:
行 264: } //end for if
行 265:
行 266: 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 ");
行 267: ToHi.Qx.EIP.BLL.article_category _article_category=new ToHi.Qx.EIP.BLL.article_category();
行 268: DataTable categorylist=_article_category.GetAllList();
行 269:
行 270:
行 271: foreach(DataRow _chennllist in channel_list.Rows)
行 272: {
行 273:
行 274: DataRow[] drArr=categorylist.Select(" channel_id='"+Utils.ObjectToStr(_chennllist["ID"])+"' AND parent_id=0 and is_YC=1 ");
行 275:
行 276:
行 277:
行 278: if (drArr.Length>0)
行 279: {
行 280:
行 281: templateBuilder.Append("\r\n <div class=\"cont\" style=\"display:none;\">\r\n ");
行 282: for(int i = 0; i < drArr.Length; i++)
行 283: {
行 284:
行 285: int nsdrid = Convert.ToInt32(drArr[i]["ID"]);
行 286:
行 287: string title = drArr[i]["title"].ToString();
行 288:
行 289: DataRow[] drArr2=categorylist.Select(" channel_id='"+Utils.ObjectToStr(_chennllist["ID"])+"' AND parent_id="+nsdrid+" and is_YC=1 ");
行 290:
行 291:
行 292: if (i==0)
行 293: {
行 294:
行 295: if (drArr2.Length>0)
行 296: {
行 297:
行 298: templateBuilder.Append("\r\n <ul class=\"sublist clearfix\">\r\n ");
行 299: }
行 300: else
行 301: {
行 302:
行 303: templateBuilder.Append("\r\n <ul class=\"sublistc\">\r\n ");
行 304: } //end for if
行 305:
行 306: } //end for if
行 307:
行 308: if (drArr2.Length>0)
行 309: {
行 310:
行 311: templateBuilder.Append("\r\n <li>\r\n <h3 class=\"mcate-item-hd\"><span>");
行 312: templateBuilder.Append(Utils.ObjectToStr(title));
行 313: templateBuilder.Append("</span></h3>\r\n ");
行 314: for(int j = 0; j < drArr2.Length; j++)
行 315: {
行 316:
行 317: string title2 = drArr2[j]["title"].ToString();
行 318:
行 319: string categoryid = drArr2[j]["ID"].ToString();
行 320:
行 321: templateBuilder.Append("\r\n <p class=\"mcate-item-bd\"><a href=\"");
行 322: templateBuilder.Append(linkurl("content_details",categoryid));
行 323:
行 324: templateBuilder.Append("\">");
行 325: templateBuilder.Append(Utils.ObjectToStr(title2));
行 326: templateBuilder.Append("</a></p>\r\n ");
行 327: } //end for if
行 328:
行 329: templateBuilder.Append("\r\n </li>\r\n ");
行 330: }
行 331: else
行 332: {
行 333:
行 334: templateBuilder.Append("\r\n <li>\r\n ");
行 335: string call_index=string.Empty;
行 336: if(!string.IsNullOrEmpty(drArr[i]["call_index"].ToString()))
行 337: {
行 338: call_index=drArr[i]["call_index"].ToString();
行 339: }
行 340: else{
行 341: call_index="content_details";
行 342: }
行 343:
行 344:
行 345: templateBuilder.Append("\r\n <h3 class=\"\"><a href=\"");
行 346: templateBuilder.Append(linkurl(call_index,nsdrid));
行 347:
行 348: templateBuilder.Append("\">");
行 349: templateBuilder.Append(Utils.ObjectToStr(title));
行 350: templateBuilder.Append("</a></h3>\r\n ");
行 351: for(int j = 0; j < drArr2.Length; j++)
行 352: {
行 353:
行 354: string title2 = drArr2[j]["title"].ToString();
行 355:
行 356: string categoryid = drArr2[j]["ID"].ToString();
行 357:
行 358: templateBuilder.Append("\r\n <p class=\"mcate-item-bd\"><a href=\"");
行 359: templateBuilder.Append(linkurl("content_details",categoryid));
行 360:
行 361: templateBuilder.Append("\">");
行 362: templateBuilder.Append(Utils.ObjectToStr(title2));
行 363: templateBuilder.Append("</a></p>\r\n ");
行 364: } //end for if
行 365:
行 366: templateBuilder.Append("\r\n </li>\r\n ");
行 367: } //end for if
行 368:
行 369: } //end for if
行 370:
行 371: templateBuilder.Append("\r\n </ul>\r\n\r\n </div>\r\n ");
行 372: }
行 373: else
行 374: {
行 375:
行 376: templateBuilder.Append("\r\n <div class=\"cont\" style=\"display:none;\"></div>\r\n ");
行 377: } //end for if
行 378:
行 379: } //end for if
行 380:
行 381: 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</");
行 382: templateBuilder.Append("script>");
行 383:
行 384:
行 385: 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 ");
行 386: DataTable topPic = get_article_list("index", 980, 0, "status=0 and is_top=1 and img_url is not null"," sort_id asc");
行 387:
行 388: foreach(DataRow picdr in topPic.Rows)
行 389: {
行 390:
行 391: 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 ");
行 392: } //end for if
行 393:
行 394: 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</");
行 395: 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>");
行 396:
行 397:
行 398: templateBuilder.Append("\r\n <!--/Header-->\r\n <div class=\"main-col\">\r\n <div class=\"clientcases\">\r\n <div class=\"top paddingbto\">\r\n <div class=\"m1200\">\r\n <div class=\"crumbs\">\r\n <em></em>您所在的位置:<a href=\"/index.aspx\">首页</a> > ");
行 399: templateBuilder.Append(Utils.ObjectToStr(category_title));
行 400: templateBuilder.Append("\r\n </div>\r\n <div class=\"tabs\">\r\n ");
行 401: DataTable ntype_list = get_category_child_list("clientcases",0);
行 402:
行 403: DataRow[] ntype_listRow=ntype_list.Select(" is_YC=1 ");
行 404:
行 405:
行 406: for(int j = 0; j < ntype_listRow.Length; j++)
行 407: {
行 408:
行 409: string title = ntype_listRow[j]["title"].ToString();
行 410:
行 411: string ntypeid = ntype_listRow[j]["id"].ToString();
行 412:
行 413: string ntypeurl = ntype_listRow[j]["link_url"].ToString();
行 414:
行 415: if (ntypeurl!="")
行 416: {
行 417:
行 418: templateBuilder.Append(" <!--如果URL链接不为空,直接跳转到URL链接-->\r\n <a id=\"subNav_");
行 419: templateBuilder.Append(Utils.ObjectToStr(ntypeid));
行 420: templateBuilder.Append("\" title=\"");
行 421: templateBuilder.Append(Utils.ObjectToStr(title));
行 422: templateBuilder.Append("\" href=\"");
行 423: templateBuilder.Append(Utils.ObjectToStr(ntypeurl));
行 424: templateBuilder.Append("\">");
行 425: templateBuilder.Append(Utils.ObjectToStr(title));
行 426: templateBuilder.Append("</a>\r\n ");
行 427: }
行 428: else
行 429: {
行 430:
行 431: templateBuilder.Append("\r\n <a id=\"subNav_");
行 432: templateBuilder.Append(Utils.ObjectToStr(ntypeid));
行 433: templateBuilder.Append("\" href=\"");
行 434: templateBuilder.Append(linkurl("clientcases",ntypeid));
行 435:
行 436: templateBuilder.Append("\">");
行 437: templateBuilder.Append(Utils.ObjectToStr(title));
行 438: templateBuilder.Append("</a>\r\n ");
行 439: } //end for if
行 440:
行 441: } //end for if
行 442:
行 443: templateBuilder.Append("\r\n </div>\r\n </div>\r\n </div>\r\n\r\n <div class=\"list\">\r\n <div class=\"filter js_scr ani\" style=\"display:none\">\r\n <div class=\"right\">\r\n <div class=\"tits\">\r\n <span>按年限筛选</span>\r\n <em></em>\r\n </div>\r\n <div class=\"r_con\">\r\n <a href=\"https://www.sciyon.com/index.php/news/index/9/2010/1.html\">2010年</a>\r\n <a href=\"https://www.sciyon.com/index.php/news/index/9/2011/1.html\">2011年</a>\r\n <a href=\"https://www.sciyon.com/index.php/news/index/9/2012/1.html\">2012年</a>\r\n <a href=\"https://www.sciyon.com/index.php/news/index/9/2013/1.html\">2013年</a>\r\n <a href=\"https://www.sciyon.com/index.php/news/index/9/2014/1.html\">2014年</a>\r\n <a href=\"https://www.sciyon.com/index.php/news/index/9/2015/1.html\">2015年</a>\r\n <a href=\"https://www.sciyon.com/index.php/news/index/9/2016/1.html\">2016年</a>\r\n <a href=\"https://www.sciyon.com/index.php/news/index/9/2017/1.html\">2017年</a>\r\n <a href=\"https://www.sciyon.com/index.php/news/index/9/2018/1.html\">2018年</a>\r\n <a href=\"https://www.sciyon.com/index.php/news/index/9/2019/1.html\">2019年</a>\r\n <a href=\"https://www.sciyon.com/index.php/news/index/9/2020/1.html\">2020年</a>\r\n </div>\r\n </div>\r\n </div>\r\n ");
行 444: DataTable clientcasesList = get_article_list("clientcases", category_id, page, "status=0", out totalcount, out pagelist, "clientcases", category_id, "__id__");
行 445:
行 446: templateBuilder.Append("<!--取得一个分页DataTable--> \r\n <ul>\r\n ");
行 447: foreach(DataRow dr in clientcasesList.Rows)
行 448: {
行 449:
行 450: templateBuilder.Append(" \r\n <li class=\"js_scr ani\">\r\n ");
行 451: if (Utils.ObjectToStr(dr["link_url"])!="")
行 452: {
行 453:
行 454: templateBuilder.Append(" \r\n <a target=\"_blank\" href=\"" + Utils.ObjectToStr(dr["link_url"]) + "\">\r\n <div class=\"pic\" >\r\n <img src=\"");
行 455: if (Utils.ObjectToStr(dr["img_url"])!="")
行 456: {
行 457:
行 458: templateBuilder.Append("" + Utils.ObjectToStr(dr["img_url"]) + "");
行 459: }
行 460: else
行 461: {
行 462:
行 463: templateBuilder.Append("/unite_eip/templates/tohi");
行 464: templateBuilder.Append("/images/nopropic.png ");
行 465: } //end for if
行 466:
行 467: templateBuilder.Append("\" alt=\"\" />\r\n </div>\r\n <div class=\"li_con\">\r\n \r\n <h5>" + Utils.ObjectToStr(dr["title"]) + "</h5>\r\n <div class=\"text\">\r\n ");
行 468: templateBuilder.Append(Utils.DropHTML(Utils.ObjectToStr(dr["zhaiyao"]),100));
行 469:
行 470: templateBuilder.Append("\r\n </div>\r\n </div>\r\n </a>\r\n ");
行 471: }
行 472: else
行 473: {
行 474:
行 475: templateBuilder.Append("\r\n <a target=\"_blank\" href=\"");
行 476: templateBuilder.Append(linkurl("clientcases_details",Utils.ObjectToStr(dr["id"])));
行 477:
行 478: templateBuilder.Append("\">\r\n <div class=\"pic\">\r\n <img src=\"");
行 479: if (Utils.ObjectToStr(dr["img_url"])!="")
行 480: {
行 481:
行 482: templateBuilder.Append("" + Utils.ObjectToStr(dr["img_url"]) + "");
行 483: }
行 484: else
行 485: {
行 486:
行 487: templateBuilder.Append("/unite_eip/templates/tohi");
行 488: templateBuilder.Append("/images/nopropic.png ");
行 489: } //end for if
行 490:
行 491: templateBuilder.Append("\" alt=\"\" />\r\n </div>\r\n <div class=\"li_con\">\r\n \r\n <h5>" + Utils.ObjectToStr(dr["title"]) + "</h5>\r\n <div class=\"text\">\r\n ");
行 492: templateBuilder.Append(Utils.DropHTML(Utils.ObjectToStr(dr["zhaiyao"]),100));
行 493:
行 494: templateBuilder.Append("\r\n </div>\r\n </div>\r\n </a>\r\n ");
行 495: } //end for if
行 496:
行 497: templateBuilder.Append(" \r\n </li>\r\n ");
行 498: } //end for if
行 499:
行 500: templateBuilder.Append(" \r\n </ul>\r\n <div class=\"page\" style=\"margin-bottom:40px;\">\r\n <div class=\"flickr pagination\">");
行 501: templateBuilder.Append(Utils.ObjectToStr(pagelist));
行 502: templateBuilder.Append("</div><!--放置页码列表-->\r\n </div> \r\n \r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"c\"></div>\r\n\r\n <!--Footer-->\r\n ");
行 503:
行 504: templateBuilder.Append("<div class=\"footer-cover\">\r\n <div class=\"footer-cover-margin\">\r\n ");
行 505: DataRow[] footerList=categorylist.Select(" channel_id='54' AND parent_id=1149"," sort_id asc ");
行 506:
行 507:
行 508: for(int i = 0; i < footerList.Length; i++)
行 509: {
行 510:
行 511: int nsdrid = Convert.ToInt32(footerList[i]["ID"]);
行 512:
行 513: string title = footerList[i]["title"].ToString();
行 514:
行 515: DataRow[] footerList2=categorylist.Select(" channel_id='54' AND parent_id="+nsdrid+" "," sort_id asc ");
行 516:
行 517:
行 518: templateBuilder.Append("\r\n <div class=\"footer-cover-column\">\r\n <div class=\"footer-cover-H1\">");
行 519: templateBuilder.Append(Utils.ObjectToStr(title));
行 520: templateBuilder.Append("</div>\r\n ");
行 521: for(int j = 0; j < footerList2.Length; j++)
行 522: {
行 523:
行 524: string title2 = footerList2[j]["title"].ToString();
行 525:
行 526: string link_url = footerList2[j]["link_url"].ToString();
行 527:
行 528: templateBuilder.Append("\r\n <p><a href=\"");
行 529: templateBuilder.Append(Utils.ObjectToStr(link_url));
行 530: templateBuilder.Append("\">");
行 531: templateBuilder.Append(Utils.ObjectToStr(title2));
行 532: templateBuilder.Append("</a></p>\r\n ");
行 533: } //end for if
行 534:
行 535: templateBuilder.Append("\r\n </div>\r\n ");
行 536: } //end for if
行 537:
行 538: templateBuilder.Append("\r\n\r\n <div class=\"footer-cover-br\" ></div>\r\n <div class=\"footer-contain-ewm\" >\r\n <div><img src=\"");
行 539: templateBuilder.Append("/unite_eip/templates/tohi");
行 540: 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\">");
行 541: templateBuilder.Append(Utils.ObjectToStr(config.webtel));
行 542: templateBuilder.Append("</li>\r\n <li class=\"footer-cover-yx\">");
行 543: templateBuilder.Append(Utils.ObjectToStr(config.webmail));
行 544: templateBuilder.Append("</li>\r\n ");
行 545: if (config.webaddress.Split('|').Length>1)
行 546: {
行 547:
行 548: 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 ");
行 549: }
行 550: else
行 551: {
行 552:
行 553: templateBuilder.Append("\r\n <li class=\"footer-cover-dz\">");
行 554: templateBuilder.Append(Utils.ObjectToStr(config.webaddress));
行 555: templateBuilder.Append("</li>\r\n ");
行 556: } //end for if
行 557:
行 558: 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>");
行 559: templateBuilder.Append(Utils.ObjectToStr(config.webcopyright));
行 560: 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\"></");
行 561: templateBuilder.Append("script>\r\n<script src=\"http://static.bshare.cn/b/bshareC0.js\" type=\"text/javascript\" charset=\"utf-8\"></");
行 562: templateBuilder.Append("script>");
行 563:
行 564:
行 565: templateBuilder.Append("\r\n <!--/Footer-->\r\n</body>\r\n</html>");
行 566: Response.Write(templateBuilder.ToString());
行 567: }
行 568:
行 569: #line default
行 570: #line hidden
行 571:
行 572:
行 573: [System.Diagnostics.DebuggerNonUserCodeAttribute()]
行 574: public unite_eip_aspx_tohi_clientcases_aspx() {
行 575: string[] dependencies;
行 576: ((global::ToHi.Qx.EIP.WebUI.Page.article_show)(this)).AppRelativeVirtualPath = "~/unite_eip/aspx/tohi/clientcases.aspx";
行 577: if ((global::ASP.unite_eip_aspx_tohi_clientcases_aspx.@__initialized == false)) {
行 578: dependencies = new string[1];
行 579: dependencies[0] = "~/unite_eip/aspx/tohi/clientcases.aspx";
行 580: global::ASP.unite_eip_aspx_tohi_clientcases_aspx.@__fileDependencies = this.GetWrappedFileDependencies(dependencies);
行 581: global::ASP.unite_eip_aspx_tohi_clientcases_aspx.@__initialized = true;
行 582: }
行 583: this.Server.ScriptTimeout = 30000000;
行 584: }
行 585:
行 586: protected System.Web.Profile.DefaultProfile Profile {
行 587: get {
行 588: return ((System.Web.Profile.DefaultProfile)(this.Context.Profile));
行 589: }
行 590: }
行 591:
行 592: protected System.Web.HttpApplication ApplicationInstance {
行 593: get {
行 594: return ((System.Web.HttpApplication)(this.Context.ApplicationInstance));
行 595: }
行 596: }
行 597:
行 598: [System.Diagnostics.DebuggerNonUserCodeAttribute()]
行 599: private void @__BuildControlTree(unite_eip_aspx_tohi_clientcases_aspx @__ctrl) {
行 600:
行 601: #line 1 "E:\ToHi\ToHi.Qx.EIP.GRP\unite_eip\aspx\tohi\clientcases.aspx"
行 602: this.InitializeCulture();
行 603:
行 604: #line default
行 605: #line hidden
行 606: }
行 607:
行 608: [System.Diagnostics.DebuggerNonUserCodeAttribute()]
行 609: protected override void FrameworkInitialize() {
行 610: base.FrameworkInitialize();
行 611: this.@__BuildControlTree(this);
行 612: this.AddWrappedFileDependencies(global::ASP.unite_eip_aspx_tohi_clientcases_aspx.@__fileDependencies);
行 613: }
行 614:
行 615: [System.Diagnostics.DebuggerNonUserCodeAttribute()]
行 616: public override int GetTypeHashCode() {
行 617: return 5381;
行 618: }
行 619:
行 620: [System.Diagnostics.DebuggerNonUserCodeAttribute()]
行 621: public override void ProcessRequest(System.Web.HttpContext context) {
行 622: base.ProcessRequest(context);
行 623: }
行 624: }
行 625: }
行 626:
|