行 1: #pragma checksum "C:\Webapplication\茂名技师学院招生网站\aspx\main\photo_list.aspx" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "14F7FE17AE8E4EF6EC9018D307C79D633EEDCD00"
行 2: //------------------------------------------------------------------------------
行 3: // <auto-generated>
行 4: // 此代码由工具生成。
行 5: // 运行时版本:4.0.30319.34014
行 6: //
行 7: // 对此文件的更改可能会导致不正确的行为,并且如果
行 8: // 重新生成代码,这些更改将会丢失。
行 9: // </auto-generated>
行 10: //------------------------------------------------------------------------------
行 11:
行 12: namespace ASP {
行 13:
行 14: #line 389 "C:\Windows\Microsoft.NET\Framework64\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\Framework64\v4.0.30319\Config\web.config"
行 21: using System.Web.Security;
行 22:
行 23: #line default
行 24: #line hidden
行 25:
行 26: #line 2 "C:\Webapplication\茂名技师学院招生网站\aspx\main\photo_list.aspx"
行 27: using System.Collections.Generic;
行 28:
行 29: #line default
行 30: #line hidden
行 31:
行 32: #line 391 "C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Config\web.config"
行 33: using System.Text.RegularExpressions;
行 34:
行 35: #line default
行 36: #line hidden
行 37:
行 38: #line 399 "C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Config\web.config"
行 39: using System.Web.UI.WebControls;
行 40:
行 41: #line default
行 42: #line hidden
行 43:
行 44: #line 402 "C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Config\web.config"
行 45: using System.Xml.Linq;
行 46:
行 47: #line default
行 48: #line hidden
行 49:
行 50: #line 398 "C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Config\web.config"
行 51: using System.Web.UI;
行 52:
行 53: #line default
行 54: #line hidden
行 55:
行 56: #line 5 "C:\Webapplication\茂名技师学院招生网站\aspx\main\photo_list.aspx"
行 57: using DTcms.Common;
行 58:
行 59: #line default
行 60: #line hidden
行 61:
行 62: #line 383 "C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Config\web.config"
行 63: using System;
行 64:
行 65: #line default
行 66: #line hidden
行 67:
行 68: #line 401 "C:\Windows\Microsoft.NET\Framework64\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\Framework64\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\Framework64\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\Framework64\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\Framework64\v4.0.30319\Config\web.config"
行 93: using System.ComponentModel.DataAnnotations;
行 94:
行 95: #line default
行 96: #line hidden
行 97:
行 98: #line 3 "C:\Webapplication\茂名技师学院招生网站\aspx\main\photo_list.aspx"
行 99: using System.Text;
行 100:
行 101: #line default
行 102: #line hidden
行 103:
行 104: #line 397 "C:\Windows\Microsoft.NET\Framework64\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\Framework64\v4.0.30319\Config\web.config"
行 111: using System.Web.Caching;
行 112:
行 113: #line default
行 114: #line hidden
行 115:
行 116: #line 4 "C:\Webapplication\茂名技师学院招生网站\aspx\main\photo_list.aspx"
行 117: using System.Data;
行 118:
行 119: #line default
行 120: #line hidden
行 121:
行 122: #line 400 "C:\Windows\Microsoft.NET\Framework64\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\Framework64\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\Framework64\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\Framework64\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 aspx_main_photo_list_aspx : global::DTcms.Web.UI.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 "C:\Webapplication\茂名技师学院招生网站\aspx\main\photo_list.aspx"
行 156:
行 157: override protected void OnInit(EventArgs e)
行 158: {
行 159:
行 160: /*
行 161: This page was created by DTcms Template Engine at 2018/10/25 15:59:06.
行 162: 本页面代码由DTcms模板引擎生成于 2018/10/25 15:59: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<title>校园风光-");
行 168: templateBuilder.Append(Utils.ObjectToStr(config.webname));
行 169: templateBuilder.Append("</title>\r\n<meta http-equiv=Content-Type content=\"text/html; charset=gb2312\">\r\n<meta name=\"keywords\" content=\"");
行 170: templateBuilder.Append(Utils.ObjectToStr(config.webkeyword));
行 171: templateBuilder.Append("\">\r\n<meta name=\"description\" content=\"");
行 172: templateBuilder.Append(Utils.ObjectToStr(config.webdescription));
行 173: templateBuilder.Append("\">\r\n<link href=\"");
行 174: templateBuilder.Append("/templates/blue");
行 175: templateBuilder.Append("/css/css.css\" rel=\"stylesheet\" type=\"text/css\">\r\n<link href=\"");
行 176: templateBuilder.Append("/templates/blue");
行 177: templateBuilder.Append("/css/nav.css\" rel=\"stylesheet\" type=\"text/css\">\r\n<link href=\"");
行 178: templateBuilder.Append("/templates/blue");
行 179: templateBuilder.Append("/css/tab.css\" rel=\"stylesheet\" type=\"text/css\">\r\n<script type=\"text/javascript\" src=\"/scripts/jquery/jquery-1.10.2.min.js\"></");
行 180: templateBuilder.Append("script>\r\n<script type=\"text/javascript\" src=\"/scripts/lhgdialog/lhgdialog.js?skin=idialog\"></");
行 181: templateBuilder.Append("script>\r\n<script language=\"javascript\" type=\"text/javascript\">\r\n function showPicture(title, imgUrl) {\r\n $.dialog({\r\n title: title,\r\n fixed: true,\r\n lock: true,\r\n min: false,\r\n max: false,\r\n padding: 0,\r\n content: \"<img src='\" + imgUrl + \"' border='0'/>\",\r\n ok: true,\r\n resize: false,\r\n okVal: \"关闭\"\r\n });\r\n }\r\n</");
行 182: templateBuilder.Append("script>\r\n<script>\r\nvar _hmt = _hmt || [];\r\n(function() {\r\nvar hm = document.createElement(\"script\");\r\nhm.src = \"//hm.baidu.com/hm.js?a2ea31f01f7a51ce8b38039516e203c8\";\r\nvar s = document.getElementsByTagName(\"script\")[0];\r\ns.parentNode.insertBefore(hm, s);\r\n})();\r\n</");
行 183: templateBuilder.Append("script>\r\n</head>\r\n<body>\r\n");
行 184:
行 185: templateBuilder.Append("<table width=\"1255\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\">\r\n <tr>\r\n <td height=\"34\"><table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\r\n <tr>\r\n <td width=\"77%\" align=\"left\" class=\"fona03\">欢迎您,进入");
行 186: templateBuilder.Append(config.webname.ToString());
行 187:
行 188: templateBuilder.Append("! 今天是:");
行 189: templateBuilder.Append(CurrentDate().ToString());
行 190:
行 191: templateBuilder.Append("</td>\r\n <td width=\"21%\" align=\"right\" class=\"fona05\">茂名技师学院招生网址:<span class=\"fona222\"><a href=\"http://www.mmjsxyzs.cn\" target=\"_blank\" class=\"fona222\">www.mmjsxyzs.cn</a></span></td>\r\n <td width=\"2%\" align=\"center\"><img src=\"");
行 192: templateBuilder.Append("/templates/blue");
行 193: templateBuilder.Append("/image/006.jpg\" width=\"12\" height=\"12\" /></td>\r\n </tr>\r\n </table></td>\r\n </tr>\r\n</table>\r\n<table width=\"1255\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\">\r\n <tr>\r\n <td valign=\"top\" style=\" background-color:#f5f7f7;background:url('");
行 194: templateBuilder.Append("/templates/blue");
行 195: templateBuilder.Append("/image/003.jpg');background-position:0px -1px; background-repeat:no-repeat;\">\r\n <table width=\"1255\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\r\n <tr>\r\n <td height=\"106\" align=\"left\" valign=\"bottom\"><img src=\"");
行 196: templateBuilder.Append("/templates/blue");
行 197: templateBuilder.Append("/image/002.jpg\" title=\"茂名技师学院招生网首页\" width=\"803\" height=\"106\" border=\"0\" /></td>\r\n </tr>\r\n </table>\r\n <table width=\"1244\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\r\n <tr>\r\n <td height=\"15\"></td>\r\n </tr>\r\n </table> \r\n <table width=\"1244\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\r\n <tr>\r\n <td width=\"1138\" height=\"54\" align=\"center\"> \r\n <div id=\"nav\">\r\n <ul>\r\n <li id=");
行 198: if (GetCurrentPageChannelName()=="网站首页")
行 199: {
行 200:
行 201: templateBuilder.Append("\"nav_02\"");
行 202: }
行 203: else
行 204: {
行 205:
行 206: templateBuilder.Append("\"nav_01\"");
行 207: } //end for if
行 208:
行 209: templateBuilder.Append("><a href=\"");
行 210: templateBuilder.Append(linkurl("index"));
行 211:
行 212: templateBuilder.Append("\">网站首页</a></li>\r\n <li id=");
行 213: if (GetCurrentPageChannelName()=="学校概况")
行 214: {
行 215:
行 216: templateBuilder.Append("\"nav_02\"");
行 217: }
行 218: else
行 219: {
行 220:
行 221: templateBuilder.Append("\"nav_01\"");
行 222: } //end for if
行 223:
行 224: templateBuilder.Append("><a href=\"");
行 225: templateBuilder.Append(linkurl("summary","Introduction"));
行 226:
行 227: templateBuilder.Append("\">学校概况</a></li>\r\n <li id=");
行 228: if (GetCurrentPageChannelName()=="校园快讯")
行 229: {
行 230:
行 231: templateBuilder.Append("\"nav_02\"");
行 232: }
行 233: else
行 234: {
行 235:
行 236: templateBuilder.Append("\"nav_01\"");
行 237: } //end for if
行 238:
行 239: templateBuilder.Append("><a href=\"");
行 240: templateBuilder.Append(linkurl("news_list",0));
行 241:
行 242: templateBuilder.Append("\">校园快讯</a></li>\r\n <li id=");
行 243: if (GetCurrentPageChannelName()=="校园风光")
行 244: {
行 245:
行 246: templateBuilder.Append("\"nav_02\"");
行 247: }
行 248: else
行 249: {
行 250:
行 251: templateBuilder.Append("\"nav_01\"");
行 252: } //end for if
行 253:
行 254: templateBuilder.Append("><a href=\"");
行 255: templateBuilder.Append(linkurl("photo_list",0));
行 256:
行 257: templateBuilder.Append("\">校园风光</a></li>\r\n <li id=");
行 258: if (GetCurrentPageChannelName()=="专业设置")
行 259: {
行 260:
行 261: templateBuilder.Append("\"nav_02\"");
行 262: }
行 263: else
行 264: {
行 265:
行 266: templateBuilder.Append("\"nav_01\"");
行 267: } //end for if
行 268:
行 269: templateBuilder.Append("><a href=\"");
行 270: templateBuilder.Append(linkurl("professional_list",0));
行 271:
行 272: templateBuilder.Append("\">专业设置</a></li>\r\n <li id=");
行 273: if (GetCurrentPageChannelName()=="政策待遇")
行 274: {
行 275:
行 276: templateBuilder.Append("\"nav_02\"");
行 277: }
行 278: else
行 279: {
行 280:
行 281: templateBuilder.Append("\"nav_01\"");
行 282: } //end for if
行 283:
行 284: templateBuilder.Append("><a href=\"");
行 285: templateBuilder.Append(linkurl("policy","10"));
行 286:
行 287: templateBuilder.Append("\">政策待遇</a></li>\r\n <li id=");
行 288: if (GetCurrentPageChannelName()=="校企合作")
行 289: {
行 290:
行 291: templateBuilder.Append("\"nav_02\"");
行 292: }
行 293: else
行 294: {
行 295:
行 296: templateBuilder.Append("\"nav_01\"");
行 297: } //end for if
行 298:
行 299: templateBuilder.Append("><a href=\"");
行 300: templateBuilder.Append(linkurl("work_list",0));
行 301:
行 302: templateBuilder.Append("\">校企合作</a></li>\r\n <li id=");
行 303: if (GetCurrentPageChannelName()=="网上报名")
行 304: {
行 305:
行 306: templateBuilder.Append("\"nav_02\"");
行 307: }
行 308: else
行 309: {
行 310:
行 311: templateBuilder.Append("\"nav_01\"");
行 312: } //end for if
行 313:
行 314: templateBuilder.Append("><a href=\"");
行 315: templateBuilder.Append(linkurl("registration"));
行 316:
行 317: templateBuilder.Append("\">网上报名</a></li>\r\n <li id=");
行 318: if (GetCurrentPageChannelName()=="联系我们")
行 319: {
行 320:
行 321: templateBuilder.Append("\"nav_02\"");
行 322: }
行 323: else
行 324: {
行 325:
行 326: templateBuilder.Append("\"nav_01\"");
行 327: } //end for if
行 328:
行 329: templateBuilder.Append("><a href=\"");
行 330: templateBuilder.Append(linkurl("summary","contact"));
行 331:
行 332: templateBuilder.Append("\">联系我们</a></li>\r\n </ul>\r\n </div>\r\n </td>\r\n <td width=\"106\" align=\"right\"><table width=\"81\" height=\"39\" border=\"0\" align=\"right\" cellpadding=\"0\" cellspacing=\"0\">\r\n <tr>\r\n <td width=\"81\" height=\"39\" align=\"left\" valign=\"top\" class=\"fonf04\"><a href=\"");
行 333: templateBuilder.Append(linkurl("recruit","info"));
行 334:
行 335: templateBuilder.Append("\" class=\"fonf04\">招生在线</a></td>\r\n </tr>\r\n </table></td>\r\n </tr>\r\n </table>\r\n </td>\r\n </tr>\r\n</table>\r\n<table width=\"1255\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\">\r\n <tr>\r\n <td height=\"8\"></td>\r\n </tr>\r\n</table>");
行 336:
行 337:
行 338: templateBuilder.Append("\r\n<table width=\"1255\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\">\r\n <tbody>\r\n <tr>\r\n <td width=\"224\" height=\"439\" align=\"left\" valign=\"top\">\r\n <div id=\"box\">\r\n <div id=\"float\">\r\n <table width=\"210\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\r\n <tbody>\r\n <tr>\r\n <td height=\"76\" valign=\"top\" background=\"");
行 339: templateBuilder.Append("/templates/blue");
行 340: templateBuilder.Append("/image/046.jpg\">\r\n <table width=\"210\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\r\n <tbody><tr>\r\n <td height=\"22\"> </td>\r\n </tr>\r\n </tbody>\r\n </table>\r\n <table width=\"210\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\r\n <tbody>\r\n <tr>\r\n <td width=\"35\"> </td>\r\n <td width=\"175\">\r\n <div style=\"font-size:34; font-weight:bold; color:White; margin-top:6px;\">学校概况</div> \r\n </td>\r\n </tr>\r\n </tbody>\r\n </table>\r\n </td>\r\n </tr>\r\n <tr>\r\n <td height=\"280\" align=\"center\" valign=\"top\" background=\"");
行 341: templateBuilder.Append("/templates/blue");
行 342: templateBuilder.Append("/image/047.jpg\">\r\n <table width=\"200\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\r\n <tbody><tr>\r\n <td height=\"8\"></td>\r\n </tr>\r\n </tbody>\r\n </table>\r\n <div id=\"nav_about\">\r\n <ul>\r\n <li id=\"nav_about_01\"><a href=\"");
行 343: templateBuilder.Append(linkurl("summary","Introduction"));
行 344:
行 345: templateBuilder.Append("\">学校简介</a></li>\r\n <li id=\"nav_about_01\"><a href=\"");
行 346: templateBuilder.Append(linkurl("summary","honor"));
行 347:
行 348: templateBuilder.Append("\">学校荣誉</a></li>\r\n <li id=\"nav_about_02\"><a href=\"");
行 349: templateBuilder.Append(linkurl("photo"));
行 350:
行 351: templateBuilder.Append("\">校园风光</a></li>\r\n <li id=\"nav_about_01\"><a href=\"");
行 352: templateBuilder.Append(linkurl("summary","contact"));
行 353:
行 354: templateBuilder.Append("\">联系我们</a></li>\r\n </ul>\r\n </div>\r\n </td>\r\n </tr>\r\n <tr>\r\n <td><img src=\"");
行 355: templateBuilder.Append("/templates/blue");
行 356: templateBuilder.Append("/image/048.jpg\" width=\"210\" height=\"12\"></td>\r\n </tr>\r\n </tbody>\r\n </table>\r\n <table width=\"210\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\r\n <tbody>\r\n <tr>\r\n <td height=\"6\"></td>\r\n </tr>\r\n </tbody>\r\n </table>\r\n <table width=\"210\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\r\n <tbody>\r\n <tr>\r\n <td height=\"33\" background=\"");
行 357: templateBuilder.Append("/templates/blue");
行 358: templateBuilder.Append("/image/050.jpg\">\r\n <table width=\"210\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\r\n <tbody>\r\n <tr>\r\n <td width=\"23\"> </td>\r\n <td width=\"117\" align=\"left\" class=\"fonc04\">最新快讯</td>\r\n <td width=\"70\"> </td>\r\n </tr>\r\n </tbody>\r\n </table>\r\n </td>\r\n </tr>\r\n <tr>\r\n <td height=\"200\" align=\"center\" valign=\"top\" background=\"");
行 359: templateBuilder.Append("/templates/blue");
行 360: templateBuilder.Append("/image/051.jpg\">\r\n <table width=\"200\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\r\n <tbody><tr>\r\n <td height=\"12\"></td>\r\n </tr>\r\n </tbody>\r\n </table>\r\n <table width=\"200\" height=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\r\n <tbody>\r\n <tr>\r\n <td valign=\"top\">\r\n <table width=\"200\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\r\n <tbody>\r\n ");
行 361: DataTable focusNews = get_article_list("news", 0, 8, "status=0");
行 362:
行 363: foreach(DataRow dr in focusNews.Rows)
行 364: {
行 365:
行 366: templateBuilder.Append("\r\n <tr>\r\n <td width=\"21\" align=\"center\"><img src=\"");
行 367: templateBuilder.Append("/templates/blue");
行 368: templateBuilder.Append("/image/036.jpg\" width=\"4\" height=\"5\"></td>\r\n <td width=\"179\" height=\"26\" align=\"left\" class=\"fona222\"><a href=\"");
行 369: templateBuilder.Append(linkurl("news_show",Utils.ObjectToStr(dr["id"])));
行 370:
行 371: templateBuilder.Append("\" class=\"fona222\">" + Utils.ObjectToStr(dr["title"]) + "</a></td>\r\n </tr>\r\n ");
行 372: } //end for if
行 373:
行 374: templateBuilder.Append("\r\n </tbody>\r\n </table>\r\n </td>\r\n </tr>\r\n </tbody>\r\n </table>\r\n <table width=\"200\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\r\n <tbody>\r\n <tr>\r\n <td height=\"12\"></td>\r\n </tr>\r\n </tbody>\r\n </table>\r\n </td>\r\n </tr>\r\n <tr>\r\n <td height=\"1\" bgcolor=\"#C9C9C9\"></td>\r\n </tr>\r\n </tbody>\r\n </table> \r\n </div>\r\n </div>\r\n </td>\r\n <td width=\"1031\" align=\"left\" valign=\"top\" bgcolor=\"#FFFFFF\">\r\n <table width=\"1031\" border=\"0\" cellpadding=\"0\" cellspacing=\"1\" bgcolor=\"#DFDFDF\">\r\n <tbody>\r\n <tr>\r\n <td height=\"870\" align=\"center\" valign=\"top\" style=\"background:url(http://www.mmjsxy.cn/pic/078.jpg) repeat-x; background-color:White;\">\r\n <table width=\"1029\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\r\n <tbody>\r\n <tr>\r\n <td height=\"37\" bgcolor=\"#F2F2F2\">\r\n <div class=\"fonf03\" style=\"text-align:center;\">校园风光</div>\r\n </td>\r\n </tr>\r\n </tbody>\r\n </table>\r\n <table width=\"932\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\r\n <tr>\r\n ");
行 375: DataTable category_list = get_category_child_list("photo", 0);
行 376:
行 377: int cdr__loop__id=0;
行 378: foreach(DataRow cdr in category_list.Rows)
行 379: {
行 380: cdr__loop__id++;
行 381:
行 382:
行 383: templateBuilder.Append("\r\n <td width=\"138\" height=\"81\" align=\"left\" valign=\"middle\">\r\n <table width=\"108\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\r\n <tr>\r\n <td height=\"39\" align=\"center\" background=\"");
行 384: templateBuilder.Append("/templates/blue");
行 385: templateBuilder.Append("/image/");
行 386: if (Utils.StrToInt(Utils.ObjectToStr(cdr["id"]), 0)==category_id)
行 387: {
行 388:
行 389: templateBuilder.Append("084.jpg");
行 390: }
行 391: else
行 392: {
行 393:
行 394: templateBuilder.Append("085.jpg");
行 395: } //end for if
行 396:
行 397: templateBuilder.Append("\" ><a href=\"");
行 398: templateBuilder.Append(linkurl("photo_list",Utils.ObjectToStr(cdr["id"])));
行 399:
行 400: templateBuilder.Append("\" class=\"fond05\">" + Utils.ObjectToStr(cdr["title"]) + "</a></td>\r\n </tr>\r\n </table>\r\n </td>\r\n ");
行 401: } //end for if
行 402:
行 403: templateBuilder.Append("\r\n <td></td>\r\n </tr>\r\n </table>\r\n <table width=\"950\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" id=\"picture\">\r\n <tr>\r\n <td>\r\n ");
行 404: DataTable picList = get_article_list("photo", category_id, page, "status=0", out totalcount, out pagelist, "news_list", category_id, "__id__");
行 405:
行 406: int dr__loop__id=0;
行 407: foreach(DataRow dr in picList.Rows)
行 408: {
行 409: dr__loop__id++;
行 410:
行 411:
行 412: templateBuilder.Append("\r\n <div style=\"width:288px; float:left; margin-left:20px; position:relative;\">\r\n <div style=\"width:288px; height:194px; border:1px solid #C4D2DC; padding-top:6px;text-align:center;\">\r\n <a title=\"" + Utils.ObjectToStr(dr["title"]) + "\" target=\"_blank\" onclick=\"showPicture('" + Utils.ObjectToStr(dr["title"]) + "','" + Utils.ObjectToStr(dr["img_url"]) + "')\"><img src=\"" + Utils.ObjectToStr(dr["img_url"]) + "\" border=\"0\" width=\"278\" height=\"184\" /></a>\r\n </div>\r\n <div style=\"line-height:30px; text-align:center; font-size:13px; color:#40a4ea;\">" + Utils.ObjectToStr(dr["title"]) + "</div>\r\n </div>\r\n ");
行 413: } //end for if
行 414:
行 415: templateBuilder.Append("\r\n </td>\r\n </tr>\r\n <tr>\r\n <td><div class=\"flickr\">");
行 416: templateBuilder.Append(Utils.ObjectToStr(pagelist));
行 417: templateBuilder.Append("</div></td>\r\n </tr>\r\n </table>\r\n </td>\r\n </tr>\r\n </tbody>\r\n </table>\r\n </td>\r\n </tr>\r\n </tbody>\r\n</table>\r\n");
行 418:
行 419: templateBuilder.Append("<table width=\"1255\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\">\r\n <tr>\r\n <td height=\"10\"></td>\r\n </tr>\r\n</table>\r\n<table width=\"1255\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\">\r\n <tr>\r\n <td width=\"4\" height=\"10\" align=\"left\"><img src=\"");
行 420: templateBuilder.Append("/templates/blue");
行 421: templateBuilder.Append("/image/018.jpg\" width=\"4\" height=\"99\" /></td>\r\n <td align=\"center\" valign=\"top\" background=\"");
行 422: templateBuilder.Append("/templates/blue");
行 423: templateBuilder.Append("/image/020.jpg\">\r\n <table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\r\n <tr>\r\n <td width=\"2%\" height=\"38\"> </td>\r\n <td width=\"98%\" align=\"left\" class=\"fona555\">友情链接</td>\r\n </tr>\r\n </table>\r\n <table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\r\n <tr>\r\n <td height=\"16\">\r\n </td>\r\n </tr>\r\n </table>\r\n<div style=\"width:100%\">\r\n");
行 424: DataTable list = get_plugin_method("DTcms.Web.Plugin.Link", "link", "get_link_list", 40, "");
行 425:
行 426: int dr__loop__id=0;
行 427: foreach(DataRow dr in list.Rows)
行 428: {
行 429: dr__loop__id++;
行 430:
行 431:
行 432: templateBuilder.Append("\r\n <div style=\"float:left; padding-left:40px;\">\r\n <a target=\"_blank\" href=\"" + Utils.ObjectToStr(dr["title"]) + "\">" + Utils.ObjectToStr(dr["title"]) + "</a>\r\n </div>\r\n");
行 433: } //end for if
行 434:
行 435: templateBuilder.Append("\r\n</div>\r\n </td>\r\n <td width=\"4\" align=\"right\"><img src=\"");
行 436: templateBuilder.Append("/templates/blue");
行 437: templateBuilder.Append("/image/019.jpg\" width=\"4\" height=\"99\" /></td>\r\n </tr>\r\n</table>\r\n<table width=\"1255\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\">\r\n <tr>\r\n <td height=\"10\"></td>\r\n </tr>\r\n</table>\r\n<table width=\"100%\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\">\r\n <tbody>\r\n <tr>\r\n <td height=\"5\" background=\"");
行 438: templateBuilder.Append("/templates/blue");
行 439: templateBuilder.Append("/image/021.jpg\"></td>\r\n </tr>\r\n </tbody>\r\n</table>\r\n<table width=\"1255\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\">\r\n <tr>\r\n <td height=\"80\" align=\"center\" class=\"fona0992\" id=\"main_contentf\">\r\n<P>版权所有 @ <a href=\"http://www.mmjsxyzs.cn/index.aspx\">茂名技师学院招生</a> (<a href=\"http://www.mmjsxyzs.cn/index.aspx\">茂名二技</a>) <a href=\"http://www.miitbeian.gov.cn\">粤ICP备16067994号-1</a></P>\r\n<P align=center>报名电话:14778682514(覃老师)、联系QQ:277158187 地址:广东省茂名市环市北路26号 邮编:525000 <BR>乘车路线:乘坐出租车或3路、6路、18路、303路公共汽车到市二技总站<BR></P>\r\n<p>技术支持:<a href=\"http://www.mmbosi.net\" target=\"_blank\" style=\"color:#999999;\">茂名博思朗科技有限公司</a></p>\r\n </tr>\r\n</table>");
行 440:
行 441:
行 442: templateBuilder.Append("\r\n</body>\r\n</html>");
行 443: Response.Write(templateBuilder.ToString());
行 444: }
行 445:
行 446: #line default
行 447: #line hidden
行 448:
行 449:
行 450: [System.Diagnostics.DebuggerNonUserCodeAttribute()]
行 451: public aspx_main_photo_list_aspx() {
行 452: string[] dependencies;
行 453: ((global::DTcms.Web.UI.Page.article_list)(this)).AppRelativeVirtualPath = "~/aspx/main/photo_list.aspx";
行 454: if ((global::ASP.aspx_main_photo_list_aspx.@__initialized == false)) {
行 455: dependencies = new string[1];
行 456: dependencies[0] = "~/aspx/main/photo_list.aspx";
行 457: global::ASP.aspx_main_photo_list_aspx.@__fileDependencies = this.GetWrappedFileDependencies(dependencies);
行 458: global::ASP.aspx_main_photo_list_aspx.@__initialized = true;
行 459: }
行 460: this.Server.ScriptTimeout = 30000000;
行 461: }
行 462:
行 463: protected System.Web.Profile.DefaultProfile Profile {
行 464: get {
行 465: return ((System.Web.Profile.DefaultProfile)(this.Context.Profile));
行 466: }
行 467: }
行 468:
行 469: protected System.Web.HttpApplication ApplicationInstance {
行 470: get {
行 471: return ((System.Web.HttpApplication)(this.Context.ApplicationInstance));
行 472: }
行 473: }
行 474:
行 475: [System.Diagnostics.DebuggerNonUserCodeAttribute()]
行 476: private void @__BuildControlTree(aspx_main_photo_list_aspx @__ctrl) {
行 477:
行 478: #line 1 "C:\Webapplication\茂名技师学院招生网站\aspx\main\photo_list.aspx"
行 479: this.InitializeCulture();
行 480:
行 481: #line default
行 482: #line hidden
行 483: }
行 484:
行 485: [System.Diagnostics.DebuggerNonUserCodeAttribute()]
行 486: protected override void FrameworkInitialize() {
行 487: base.FrameworkInitialize();
行 488: this.@__BuildControlTree(this);
行 489: this.AddWrappedFileDependencies(global::ASP.aspx_main_photo_list_aspx.@__fileDependencies);
行 490: }
行 491:
行 492: [System.Diagnostics.DebuggerNonUserCodeAttribute()]
行 493: public override int GetTypeHashCode() {
行 494: return 5381;
行 495: }
行 496:
行 497: [System.Diagnostics.DebuggerNonUserCodeAttribute()]
行 498: public override void ProcessRequest(System.Web.HttpContext context) {
行 499: base.ProcessRequest(context);
行 500: }
行 501: }
行 502: }
行 503:
|