前臺頁面模板發生錯誤。

共有 1 個錯誤發生

第 1 個錯誤
Message: 'Sorke.Projects.MOCNewFront.Models.Movy' 不包含 'Content' 的定義,也找不到擴充方法 'Content' 來接受類型 'Sorke.Projects.MOCNewFront.Models.Movy' 的第一個引數 (您是否遺漏 using 指示詞或組件參考?)
位置: 667 行, 69 列


1://------------------------------------------------------------------------------
2:// <auto-generated>
3:// 這段程式碼是由工具產生的。
4:// 執行階段版本:4.0.30319.42000
5://
6:// 對這個檔案所做的變更可能會造成錯誤的行為,而且如果重新產生程式碼,
7:// 變更將會遺失。
8:// </auto-generated>
9://------------------------------------------------------------------------------
10:
11:namespace Sorke.Projects.StaticFront {
12: using System;
13: using System.Linq;
14: using System.Web;
15: using System.Web.Mvc;
16: using System.Web.WebPages;
17: using Sorke.Projects.StaticFront.Helpers;
18: using Sorke.Projects.StaticFront.PagedList;
19: using EntityFramework.Extensions;
20: using EntityFramework.Caching;
21:
22:
23: public class CEACF331F0FFC35D4B482F1D15A887D3B : Sorke.Projects.StaticFront.Helpers.TemplateBase<System.Web.Routing.RouteValueDictionary> {
24:
25:#line hidden
26:
27: public CEACF331F0FFC35D4B482F1D15A887D3B() {
28: }
29:
30: public override void Execute() {
31:WriteLiteral("<!doctype html>\r\n<html");
32:
33:WriteLiteral(" lang=\"en\"");
34:
35:WriteLiteral(">\r\n<head>\r\n <meta");
36:
37:WriteLiteral(" charset=\"utf-8\"");
38:
39:WriteLiteral(">\r\n <meta");
40:
41:WriteLiteral(" name=\"viewport\"");
42:
43:WriteLiteral(" content=\"width=device-width, initial-scale=1.0\"");
44:
45:WriteLiteral(">\r\n <meta");
46:
47:WriteLiteral(" http-equiv=\"X-UA-Compatible\"");
48:
49:WriteLiteral(" content=\"IE=edge\"");
50:
51:WriteLiteral(">\r\n");
52:
53:
54: var titleDescKey = SKData.GetTitleDescKey();
55:WriteLiteral("\r\n <title>");
56:
57: Write(titleDescKey.Title);
58:
59:WriteLiteral("</title>\r\n <link");
60:
61:WriteLiteral(" rel=\"stylesheet\"");
62:
63:WriteLiteral(" href=\"https://www.yatsen.gov.tw/en/themes/83/css/owl.carousel.css\"");
64:
65:WriteLiteral(">\r\n <link");
66:
67:WriteLiteral(" rel=\"stylesheet\"");
68:
69:WriteLiteral(" href=\"https://www.yatsen.gov.tw/en/themes/83/css/index.css?v=2\"");
70:
71:WriteLiteral(">\r\n <link");
72:
73:WriteLiteral(" rel=\"stylesheet\"");
74:
75:WriteLiteral(" href=\"https://www.yatsen.gov.tw/en/themes/83/css/fancybox/jquery.fancybox.css\"");
76:
77:WriteLiteral(">\r\n <script");
78:
79:WriteLiteral(" src=\"https://www.yatsen.gov.tw/en/themes/83/js/jquery.min.js\"");
80:
81:WriteLiteral("></script>\r\n <script");
82:
83:WriteLiteral(" src=\"https://www.yatsen.gov.tw/en/themes/83/js/index.js\"");
84:
85:WriteLiteral("></script>\r\n <script");
86:
87:WriteLiteral(" src=\"https://www.yatsen.gov.tw/en/themes/83/js/owl.carousel.js\"");
88:
89:WriteLiteral("></script>\r\n <script");
90:
91:WriteLiteral(" src=\"https://www.yatsen.gov.tw/en/themes/83/js/jquery.fancybox.js\"");
92:
93:WriteLiteral(@"></script>
94: <script>
95: $(function () {
96: $('.fancybox').fancybox();
97:
98: $('.banner ul').owlCarousel({
99: autoPlay: 5000,
100: navigation: true,
101: slideSpeed: 600,
102: autoHeight: true,
103: singleItem: true
104: });
105: $("".banner .owl-buttons a"").attr(""href"", ""javascript:void(0);"");
106: $('.directorylist ul').owlCarousel({
107: navigation: true,
108: slideSpeed: 600,
109: autoHeight: true,
110: items: 3,
111: itemsDesktop: [1920, 3],
112: itemsDesktopSmall: [1200, 2],
113: itemsTablet: [767, 1],
114: });
115: });
116: </script>
117: <link");
118:
119:WriteLiteral(" rel=\"icon\"");
120:
121:WriteLiteral(" type=\"image/png\"");
122:
123:WriteLiteral(" href=\"https://mocfile.moc.gov.tw/files/201904/97fb8fba-b55a-4cb2-87d8-9c1a2a4e92" +
124:"9d.png\"");
125:
126:WriteLiteral(">\r\n</head>\r\n<body>\r\n <nav>\r \r <div");
127:
128:WriteLiteral(" class=\"wrap\"");
129:
130:WriteLiteral(">\r <a");
131:
132:WriteLiteral(" href=\"/en\"");
133:
134:WriteLiteral(" class=\"logo\"");
135:
136:WriteLiteral(">\r <img");
137:
138:WriteLiteral(" alt=\"National Dr.Sun Yat-sen Memorial Hall – Origin - National Dr.Sun Yat-sen Me" +
139:"morial Hall\"");
140:
141:WriteLiteral(" src=\"https://www.yatsen.gov.tw/en/themes/83/images/logo.png\"");
142:
143:WriteLiteral(">\r </a>\r <a");
144:
145:WriteLiteral(" id=\"mobi-btn\"");
146:
147:WriteLiteral(">\r <span");
148:
149:WriteLiteral(" class=\"threeline\"");
150:
151:WriteLiteral(">\r </span>\r </a>\r <ul");
152:
153:WriteLiteral(" class=\"toplink\"");
154:
155:WriteLiteral(">\r <li>\r <a");
156:
157:WriteLiteral(" href=\"/en\"");
158:
159:WriteLiteral(">\r Home\r </a>\r <span>\r |\r " +
160:" </span>\r </li>\r <li>\r <a");
161:
162:WriteLiteral(" href=\"sitemap.html\"");
163:
164:WriteLiteral(">\r Sitemap\r </a>\r <span>\r |\r " +
165:" </span>\r </li>\r <li>\r <a");
166:
167:WriteAttribute("href", Tuple.Create(" href=\"", 2571), Tuple.Create("\"", 2603)
168:, Tuple.Create(Tuple.Create("", 2578), Tuple.Create<System.Object, System.Int32>(SKData.GetMenuUrl(114)
169:, 2578), false)
170:);
171:
172:WriteLiteral(">\r Contact Us\r </a>\r <span>\r |\r " +
173:" </span>\r </li>\r <li>\r <a");
174:
175:WriteAttribute("href", Tuple.Create(" href=\"", 2748), Tuple.Create("\"", 2780)
176:, Tuple.Create(Tuple.Create("", 2755), Tuple.Create<System.Object, System.Int32>(SKData.GetMenuUrl(115)
177:, 2755), false)
178:);
179:
180:WriteLiteral(">\r FAQs\r </a>\r <span>\r |\r " +
181:" </span>\r </li>\r <li>\r <a");
182:
183:WriteAttribute("href", Tuple.Create(" href=\"", 2919), Tuple.Create("\"", 2951)
184:, Tuple.Create(Tuple.Create("", 2926), Tuple.Create<System.Object, System.Int32>(SKData.GetMenuUrl(116)
185:, 2926), false)
186:);
187:
188:WriteLiteral(@">
189: Links
190: </a>
191: <span>
192: |
193: </span>
194: <!--<span>
195: |
196: </span>-->
197: </li>
198: <!--<li>
199: <a href=""https://www.yatsen.gov.tw/kid/"" target=""_blank"">
200: children
201: </a>
202: </li>-->
203: <li>
204: <a");
205:
206:WriteLiteral(" href=\"/\"");
207:
208:WriteLiteral(" target=\"_blank\"");
209:
210:WriteLiteral(">\r Chinese\r </a>\r </li>\r </ul>\r <u" +
211:"l");
212:
213:WriteLiteral(" class=\"rig_link\"");
214:
215:WriteLiteral(">\r <li");
216:
217:WriteLiteral(" class=\"share\"");
218:
219:WriteLiteral(">\r <a");
220:
221:WriteLiteral(" href=\"javascript:void(0);\"");
222:
223:WriteLiteral(">\r share\r </a>\r <ul>\r <li>\r " +
224:" <a");
225:
226:WriteLiteral(" class=\"blogger\"");
227:
228:WriteLiteral(" href=\"#\"");
229:
230:WriteLiteral(" target=\"_blank\"");
231:
232:WriteLiteral(" title=\"Blogger[Open a new window]\"");
233:
234:WriteLiteral(">\r Blogger\r </a>\r </li>\r " +
235:" <li>\r <a");
236:
237:WriteLiteral(" class=\"fb\"");
238:
239:WriteLiteral(" href=\"https://www.facebook.com/sunyatsengov\"");
240:
241:WriteLiteral(" target=\"_blank\"");
242:
243:WriteLiteral(" title=\"facebook[Open a new window]\"");
244:
245:WriteLiteral(">\r facebook\r </a>\r </li>\r " +
246:" <li>\r <a");
247:
248:WriteLiteral(" class=\"youtube\"");
249:
250:WriteLiteral(" href=\"https://www.youtube.com/user/mysunyatsen\"");
251:
252:WriteLiteral(" target=\"_blank\"");
253:
254:WriteLiteral(" title=\"youtube[Open a new window]\"");
255:
256:WriteLiteral(">\r youtube\r </a>\r </li>\r " +
257:" <li>\r <a");
258:
259:WriteLiteral(" class=\"tripadvisor\"");
260:
261:WriteLiteral(" href=\"#\"");
262:
263:WriteLiteral(" target=\"_blank\"");
264:
265:WriteLiteral(" title=\"tripadvisor[Open a new window]\"");
266:
267:WriteLiteral(">\r tripadvisor\r </a>\r </li>\r " +
268:" <li>\r <a");
269:
270:WriteLiteral(" class=\"twitter\"");
271:
272:WriteLiteral(" href=\"#\"");
273:
274:WriteLiteral(" target=\"_blank\"");
275:
276:WriteLiteral(" title=\"twitter[Open a new window]\"");
277:
278:WriteLiteral(">\r twitter\r </a>\r </li>\r " +
279:" <li>\r <a");
280:
281:WriteLiteral(" class=\"flickr\"");
282:
283:WriteLiteral(" href=\"#\"");
284:
285:WriteLiteral(" target=\"_blank\"");
286:
287:WriteLiteral(" title=\"flickr[Open a new window]\"");
288:
289:WriteLiteral(">\r flickr\r </a>\r </li>\r " +
290:" <li>\r <a");
291:
292:WriteLiteral(" class=\"ins\"");
293:
294:WriteLiteral(" href=\"#\"");
295:
296:WriteLiteral(" target=\"_blank\"");
297:
298:WriteLiteral(" title=\"ins[Open a new window]\"");
299:
300:WriteLiteral(">\r ins\r </a>\r </li>\r </ul" +
301:">\r </li>\r <li");
302:
303:WriteLiteral(" class=\"zd\"");
304:
305:WriteLiteral(">\r <a");
306:
307:WriteLiteral(" href=\"javascript:void(0);\"");
308:
309:WriteLiteral(">\r zd\r </a>\r <ul>\r <li>\r " +
310:" <a");
311:
312:WriteLiteral(" href=\"/\"");
313:
314:WriteLiteral(" target=\"_blank\"");
315:
316:WriteLiteral(">\r 中文版\r </a>\r </li>\r <l" +
317:"i>\r <a");
318:
319:WriteLiteral(" href=\"/en\"");
320:
321:WriteLiteral(">\r English\r </a>\r </li>\r " +
322:"</ul>\r </li>\r <li");
323:
324:WriteLiteral(" class=\"search\"");
325:
326:WriteLiteral(">\r <a");
327:
328:WriteLiteral(" href=\"javascript:void(0);\"");
329:
330:WriteLiteral(">\r search\r </a>\r <div");
331:
332:WriteLiteral(" class=\"searchbox\"");
333:
334:WriteLiteral(">\r <form");
335:
336:WriteLiteral(" action=\"searchall.html\"");
337:
338:WriteLiteral(" method=\"post\"");
339:
340:WriteLiteral(">\r <input");
341:
342:WriteLiteral(" type=\"hidden\"");
343:
344:WriteLiteral(" name=\"csrfkey\"");
345:
346:WriteAttribute("value", Tuple.Create(" value=\"", 5583), Tuple.Create("\"", 5610)
347:, Tuple.Create(Tuple.Create("", 5591), Tuple.Create<System.Object, System.Int32>(SKData.GetCode()
348:, 5591), false)
349:);
350:
351:WriteLiteral(">\r <div");
352:
353:WriteLiteral(" class=\"t\"");
354:
355:WriteLiteral(">\r Full Search\r </div>\r <div");
356:
357:WriteLiteral(" class=\"input\"");
358:
359:WriteLiteral(">\r <input");
360:
361:WriteLiteral(" type=\"text\"");
362:
363:WriteLiteral(" name=\"q\"");
364:
365:WriteLiteral(" accesskey=\"S\"");
366:
367:WriteLiteral(" placeholder=\"searchkey\"");
368:
369:WriteLiteral(">\r <button");
370:
371:WriteLiteral(" type=\"submit\"");
372:
373:WriteLiteral(">\r GO\r </button>\r </div>\r " +
374:" <div");
375:
376:WriteLiteral(" class=\"btn\"");
377:
378:WriteLiteral(">\r <a");
379:
380:WriteLiteral(" href=\"searchall.html\"");
381:
382:WriteLiteral(@">
383: Advanced Search
384: </a>
385: </div>
386: </form>
387: </div>
388: </li>
389: </ul>
390: </div>
391: <script>
392: $(function(){
393: $(""#mobile ul.navbar-nav > li.sub_ul > a"").attr(""href"",""javascript:void(0);"");
394: });
395: </script>
396: </nav>
397: <main>
398: <div");
399:
400:WriteLiteral(" class=\"navigation\"");
401:
402:WriteLiteral("> ");
403:
404: var modelsc2e0c33915f61476aa0e5ece23d1ef47e = SKData.GetTopMenus();
405:WriteLiteral("\r\n<ul> ");
406:
407: foreach(var modelc2e0c33915f61476aa0e5ece23d1ef47e in modelsc2e0c33915f61476aa0e5ece23d1ef47e)
408:{
409:
410:
411:WriteLiteral("<li> ");
412:
413: var id = Convert.ToInt32(modelc2e0c33915f61476aa0e5ece23d1ef47e.Id);
414:WriteLiteral(" <a");
415:
416:WriteAttribute("href", Tuple.Create(" href=\"", 6703), Tuple.Create("\"", 6755)
417: , Tuple.Create(Tuple.Create("", 6710), Tuple.Create<System.Object, System.Int32>(modelc2e0c33915f61476aa0e5ece23d1ef47e.Url
418:, 6710), false)
419:);
420:
421:WriteLiteral(" ");
422:
423: Write(modelc2e0c33915f61476aa0e5ece23d1ef47e.Istarget ?" target=\"_blank\" ":"");
424:
425:WriteLiteral("> ");
426:
427: Write(modelc2e0c33915f61476aa0e5ece23d1ef47e.Name);
428:
429:WriteLiteral(" </a> ");
430:
431: var modelsc2c90e0672cc442cd8458395866521783 = SKData.GetCurrentMenuChild(modelc2e0c33915f61476aa0e5ece23d1ef47e.Id);
432:WriteLiteral("\r\n<ul");
433:
434:WriteLiteral(" class=\"sub-menu\"");
435:
436:WriteLiteral("> ");
437:
438: foreach(var modelc2c90e0672cc442cd8458395866521783 in modelsc2c90e0672cc442cd8458395866521783)
439:{
440:
441:
442:WriteLiteral("<li> <a");
443:
444:WriteAttribute("href", Tuple.Create(" href=\"", 7192), Tuple.Create("\"", 7244)
445:, Tuple.Create(Tuple.Create("", 7199), Tuple.Create<System.Object, System.Int32>(modelc2c90e0672cc442cd8458395866521783.Url
446:, 7199), false)
447:);
448:
449:WriteLiteral(" ");
450:
451: Write(modelc2c90e0672cc442cd8458395866521783.Istarget ?" target=\"_blank\" ":"");
452:
453:WriteLiteral("> ");
454:
455: Write(modelc2c90e0672cc442cd8458395866521783.Name);
456:
457:WriteLiteral(" </a> </li>\r\n");
458:
459:}
460:
461:WriteLiteral(" </ul> ");
462:
463:WriteLiteral(" </li>\r\n");
464:
465:}
466:
467:WriteLiteral(" </ul> </div>\r\n");
468:
469:
470: var modelscb3a6a901062a4ca08409276b15679f6a = SKData.GetShowBanner(117);
471:WriteLiteral("\r\n<div");
472:
473:WriteLiteral(" class=\"banner\"");
474:
475:WriteLiteral(">\r\n");
476:
477:
478: if(Utils.CheckNotNullOrEmpty(modelscb3a6a901062a4ca08409276b15679f6a)==true){
479:WriteLiteral("<ul");
480:
481:WriteLiteral(" sk-check=\"\"");
482:
483:WriteLiteral(">\r\n");
484:
485:
486: foreach(var modelcb3a6a901062a4ca08409276b15679f6a in modelscb3a6a901062a4ca08409276b15679f6a)
487:{
488:
489:
490:WriteLiteral("<li>\r\n <a");
491:
492:WriteAttribute("href", Tuple.Create(" href=\"", 8432), Tuple.Create("\"", 8484)
493:, Tuple.Create(Tuple.Create("", 8439), Tuple.Create<System.Object, System.Int32>(modelcb3a6a901062a4ca08409276b15679f6a.Url
494:, 8439), false)
495:);
496:
497:WriteLiteral(" ");
498:
499: Write(modelcb3a6a901062a4ca08409276b15679f6a.Target ? " target=\"_blank\" ":"" );
500:
501:WriteLiteral(" title=\"");
502:
503: Write(modelcb3a6a901062a4ca08409276b15679f6a.Title);
504:
505:WriteLiteral("\" onclick=\"goCount(");
506:
507: Write(modelcb3a6a901062a4ca08409276b15679f6a.Id);
508:
509:WriteLiteral(",\'");
510:
511: Write(modelcb3a6a901062a4ca08409276b15679f6a.TableName);
512:
513:WriteLiteral("\');\" onkeypress=\"goCount(");
514:
515: Write(modelcb3a6a901062a4ca08409276b15679f6a.Id);
516:
517:WriteLiteral(",\'");
518:
519: Write(modelcb3a6a901062a4ca08409276b15679f6a.TableName);
520:
521:WriteLiteral("\');\">\r\n <img");
522:
523:WriteAttribute("alt", Tuple.Create(" alt=\"", 8890), Tuple.Create("\"", 8943)
524:, Tuple.Create(Tuple.Create("", 8896), Tuple.Create<System.Object, System.Int32>(modelcb3a6a901062a4ca08409276b15679f6a.Title
525:, 8896), false)
526:);
527:
528:WriteAttribute("src", Tuple.Create(" src=\"", 8944), Tuple.Create("\"", 9041)
529: , Tuple.Create(Tuple.Create("", 8950), Tuple.Create<System.Object, System.Int32>(FrontUtils.FileServer
530:, 8950), false)
531:, Tuple.Create(Tuple.Create("", 8974), Tuple.Create("banner/Small/", 8974), true)
532: , Tuple.Create(Tuple.Create("", 8987), Tuple.Create<System.Object, System.Int32>(modelcb3a6a901062a4ca08409276b15679f6a.ImageNameBig
533:, 8987), false)
534:);
535:
536:WriteLiteral(">\r\n </a>\r\n </li>\r\n");
537:
538:}
539:
540:WriteLiteral("\r\n </ul>");
541:
542: }
543:
544:WriteLiteral("\r\n </div>\r\n <div");
545:
546:WriteLiteral(" class=\"news_intrud\"");
547:
548:WriteLiteral(">\r\n <div");
549:
550:WriteLiteral(" class=\"wrap\"");
551:
552:WriteLiteral(">\r\n <div");
553:
554:WriteLiteral(" class=\"left\"");
555:
556:WriteLiteral(">\r\n <div");
557:
558:WriteLiteral(" class=\"tit\"");
559:
560:WriteLiteral("><span>Hot News</span></div>\r\n");
561:
562:
563: var modelsc21a25ed5d3b1483e884f0ecf7ef69790 = SKData.GetInformationList(105,null,false,true,true).Take(6).ToList();
564:WriteLiteral("\r\n<div");
565:
566:WriteLiteral(" class=\"news\"");
567:
568:WriteLiteral(">\r\n");
569:
570:
571: if(Utils.CheckNotNullOrEmpty(modelsc21a25ed5d3b1483e884f0ecf7ef69790)==true){
572:WriteLiteral("<ul>\r\n");
573:
574:
575: foreach(var modelc21a25ed5d3b1483e884f0ecf7ef69790 in modelsc21a25ed5d3b1483e884f0ecf7ef69790)
576:{
577:
578:
579:WriteLiteral("<li>");
580:
581: var modelc01aae2359d2c49c983796bf9d375d269 = SKData.GetShowDataInfo(modelc21a25ed5d3b1483e884f0ecf7ef69790);
582:if (modelc01aae2359d2c49c983796bf9d375d269 == null){
583:throw (new Exception("GetShowDataInfo返回的訊息不存在"));
584:}
585:
586:WriteLiteral("\r\n <a");
587:
588:WriteAttribute("href", Tuple.Create(" href=\"", 9965), Tuple.Create("\"", 10017)
589:, Tuple.Create(Tuple.Create("", 9972), Tuple.Create<System.Object, System.Int32>(modelc01aae2359d2c49c983796bf9d375d269.Url
590:, 9972), false)
591:);
592:
593:WriteAttribute("title", Tuple.Create(" title=\"", 10018), Tuple.Create("\"", 10075)
594: , Tuple.Create(Tuple.Create("", 10026), Tuple.Create<System.Object, System.Int32>(modelc01aae2359d2c49c983796bf9d375d269.Subject
595:, 10026), false)
596:);
597:
598:WriteLiteral(">");
599:
600: Write(modelc01aae2359d2c49c983796bf9d375d269.Subject);
601:
602:WriteLiteral("</a>\r\n </li>\r\n");
603:
604:}
605:
606:WriteLiteral("\r\n </ul>");
607:
608: }
609:
610:WriteLiteral("\r\n <div");
611:
612:WriteLiteral(" class=\"more\"");
613:
614:WriteLiteral(">\r\n <a");
615:
616:WriteLiteral(" href=\"informationlist_105.html\"");
617:
618:WriteLiteral(" title=\"more new\"");
619:
620:WriteLiteral(">More</a>\r\n </div>\r\n </div>\r\n " +
621:" </div>\r\n");
622:
623:
624: var modelscb01e95ad28b34858b9d544d565bddca0 = SKData.GetYatsenIndexMovieList(false,true,94).Take(1);
625:WriteLiteral("\r\n<div");
626:
627:WriteLiteral(" class=\"right\"");
628:
629:WriteLiteral(">\r\n <div");
630:
631:WriteLiteral(" class=\"tit\"");
632:
633:WriteLiteral("><span>Introducitions of the hall</span></div>\r\n");
634:
635:
636: foreach(var modelcb01e95ad28b34858b9d544d565bddca0 in modelscb01e95ad28b34858b9d544d565bddca0)
637:{
638:
639:
640:WriteLiteral("<div>\r\n <div");
641:
642:WriteLiteral(" class=\"img\"");
643:
644:WriteLiteral(">\r\n <iframe");
645:
646:WriteLiteral(" style=\"width:100%;height:350px;\"");
647:
648:WriteAttribute("title", Tuple.Create(" title=\"", 10886), Tuple.Create("\"", 10941)
649:, Tuple.Create(Tuple.Create("", 10894), Tuple.Create<System.Object, System.Int32>(modelcb01e95ad28b34858b9d544d565bddca0.Title
650:, 10894), false)
651:);
652:
653:WriteAttribute("src", Tuple.Create(" src=\"", 10942), Tuple.Create("\"", 11030)
654:, Tuple.Create(Tuple.Create("", 10948), Tuple.Create("https://www.youtube.com/embed/", 10948), true)
655: , Tuple.Create(Tuple.Create("", 10978), Tuple.Create<System.Object, System.Int32>(modelcb01e95ad28b34858b9d544d565bddca0.YoutobeUrl
656:, 10978), false)
657:);
658:
659:WriteLiteral(" frameborder=\"0\"");
660:
661:WriteLiteral(" allow=\"autoplay; encrypted-media\"");
662:
663:WriteLiteral(" allowfullscreen=\"\"");
664:
665:WriteLiteral("></iframe> \r\n </div>\r\n <div>");
666:
667: Write(modelcb01e95ad28b34858b9d544d565bddca0.Content);
668:
669:WriteLiteral("</div>\r\n <div");
670:
671:WriteLiteral(" class=\"v_tit\"");
672:
673:WriteLiteral(">\r\n <a");
674:
675:WriteAttribute("href", Tuple.Create(" href=\"", 11299), Tuple.Create("\"", 11410)
676:, Tuple.Create(Tuple.Create("", 11306), Tuple.Create("movie_", 11306), true)
677:, Tuple.Create(Tuple.Create("", 11312), Tuple.Create<System.Object, System.Int32>(modelcb01e95ad28b34858b9d544d565bddca0.UnitId
678:, 11312), false)
679:, Tuple.Create(Tuple.Create("", 11360), Tuple.Create("_", 11360), true)
680: , Tuple.Create(Tuple.Create("", 11361), Tuple.Create<System.Object, System.Int32>(modelcb01e95ad28b34858b9d544d565bddca0.Id
681:, 11361), false)
682:, Tuple.Create(Tuple.Create("", 11405), Tuple.Create(".html", 11405), true)
683:);
684:
685:WriteAttribute("title", Tuple.Create(" title=\"", 11411), Tuple.Create("\"", 11466)
686: , Tuple.Create(Tuple.Create("", 11419), Tuple.Create<System.Object, System.Int32>(modelcb01e95ad28b34858b9d544d565bddca0.Title
687:, 11419), false)
688:);
689:
690:WriteLiteral(">");
691:
692: Write(modelcb01e95ad28b34858b9d544d565bddca0.Title);
693:
694:WriteLiteral("</a>\r\n </div>\r\n </div>\r\n");
695:
696:}
697:
698:WriteLiteral("\r\n </div>\r\n </div>\r\n </div>\r\n <div");
699:
700:WriteLiteral(" class=\"directory\"");
701:
702:WriteLiteral(">\r\n <div");
703:
704:WriteLiteral(" class=\"wrap\"");
705:
706:WriteLiteral(">\r\n <div");
707:
708:WriteLiteral(" class=\"tit\"");
709:
710:WriteLiteral("><span>Directory of memorial hall attractions</span></div>\r\n");
711:
712:
713: var modelscba49fd53612444ed8a4c4177d1b4b59f = SKData.GetCctpImageInfoesList(118,true).ToList();
714:WriteLiteral("\r\n<div");
715:
716:WriteLiteral(" class=\"directorylist\"");
717:
718:WriteLiteral(">\r\n");
719:
720:
721: if(Utils.CheckNotNullOrEmpty(modelscba49fd53612444ed8a4c4177d1b4b59f)==true){
722:WriteLiteral("<ul>\r\n");
723:
724:
725: foreach(var modelcba49fd53612444ed8a4c4177d1b4b59f in modelscba49fd53612444ed8a4c4177d1b4b59f)
726:{
727:
728:
729:WriteLiteral("<li>\r\n <a");
730:
731:WriteAttribute("href", Tuple.Create(" href=\"", 12212), Tuple.Create("\"", 12311)
732:, Tuple.Create(Tuple.Create("", 12219), Tuple.Create<System.Object, System.Int32>(FrontUtils.FileServer
733:, 12219), false)
734:, Tuple.Create(Tuple.Create("", 12243), Tuple.Create("imageinfos/large/", 12243), true)
735:, Tuple.Create(Tuple.Create("", 12260), Tuple.Create<System.Object, System.Int32>(modelcba49fd53612444ed8a4c4177d1b4b59f.ImageName
736:, 12260), false)
737:);
738:
739:WriteAttribute("title", Tuple.Create(" title=\"", 12312), Tuple.Create("\"", 12369)
740: , Tuple.Create(Tuple.Create("", 12320), Tuple.Create<System.Object, System.Int32>(modelcba49fd53612444ed8a4c4177d1b4b59f.Subject
741:, 12320), false)
742:);
743:
744:WriteLiteral(" class=\"fancybox\"");
745:
746:WriteLiteral(" data-fancybox-group=\"gallery\"");
747:
748:WriteLiteral(">\r\n <img");
749:
750:WriteAttribute("src", Tuple.Create(" src=\"", 12456), Tuple.Create("\"", 12554)
751:, Tuple.Create(Tuple.Create("", 12462), Tuple.Create<System.Object, System.Int32>(FrontUtils.FileServer
752:, 12462), false)
753:, Tuple.Create(Tuple.Create("", 12486), Tuple.Create("imageinfos/large/", 12486), true)
754: , Tuple.Create(Tuple.Create("", 12503), Tuple.Create<System.Object, System.Int32>(modelcba49fd53612444ed8a4c4177d1b4b59f.ImageName
755:, 12503), false)
756:);
757:
758:WriteAttribute("title", Tuple.Create(" title=\"", 12555), Tuple.Create("\"", 12612)
759: , Tuple.Create(Tuple.Create("", 12563), Tuple.Create<System.Object, System.Int32>(modelcba49fd53612444ed8a4c4177d1b4b59f.Subject
760:, 12563), false)
761:);
762:
763:WriteAttribute("alt", Tuple.Create(" alt=\"", 12613), Tuple.Create("\"", 12668)
764: , Tuple.Create(Tuple.Create("", 12619), Tuple.Create<System.Object, System.Int32>(modelcba49fd53612444ed8a4c4177d1b4b59f.Subject
765:, 12619), false)
766:);
767:
768:WriteLiteral(">\r\n </a>\r\n </li>\r\n");
769:
770:}
771:
772:WriteLiteral("\r\n </ul>");
773:
774: }
775:
776:WriteLiteral("\r\n </div>\r\n </div>\r\n </div>\r\n <!-- mobile" +
777:" -->\r\n <div");
778:
779:WriteLiteral(" id=\"mask\"");
780:
781:WriteLiteral("></div>\r\n <div");
782:
783:WriteLiteral(" id=\"mobile\"");
784:
785:WriteLiteral("></div>\r\n </main>\r\n <footer> <div");
786:
787:WriteLiteral(" class=\"bol_bg_a\"");
788:
789:WriteLiteral("> </div> <div");
790:
791:WriteLiteral(" class=\"wrap\"");
792:
793:WriteLiteral("> <div");
794:
795:WriteLiteral(" class=\"left\"");
796:
797:WriteLiteral("> <a");
798:
799:WriteLiteral(" href=\"https://en.yatsen.gov.tw/\"");
800:
801:WriteLiteral(" class=\"f_logo\"");
802:
803:WriteLiteral("> <img");
804:
805:WriteLiteral(" src=\"https://www.yatsen.gov.tw/en/themes/83/images/logo.png\"");
806:
807:WriteLiteral("> </a> </div> <div");
808:
809:WriteLiteral(" class=\"center\"");
810:
811:WriteLiteral("> <div> <span> <a");
812:
813:WriteAttribute("href", Tuple.Create(" href=\"", 13280), Tuple.Create("\"", 13312)
814: , Tuple.Create(Tuple.Create("", 13287), Tuple.Create<System.Object, System.Int32>(SKData.GetMenuUrl(121)
815:, 13287), false)
816:);
817:
818:WriteLiteral("> Bilingual Glossary </a> <label> " +
819:" | </label> </span> <span> " +
820:" <a");
821:
822:WriteAttribute("href", Tuple.Create(" href=\"", 13479), Tuple.Create("\"", 13511)
823: , Tuple.Create(Tuple.Create("", 13486), Tuple.Create<System.Object, System.Int32>(SKData.GetMenuUrl(123)
824:, 13486), false)
825:);
826:
827:WriteLiteral("> Privacy Policy & Security Policy <label> " +
828:" | </label> </a></span> <span> " +
829:" <a");
830:
831:WriteAttribute("href", Tuple.Create(" href=\"", 13678), Tuple.Create("\"", 13710)
832: , Tuple.Create(Tuple.Create("", 13685), Tuple.Create<System.Object, System.Int32>(SKData.GetMenuUrl(120)
833:, 13685), false)
834:);
835:
836:WriteLiteral("> Open Government Declaration </a> <labe" +
837:"l> | </label> </span> <span> " +
838:" 瀏覽人數:");
839:
840: Write(SKData.GetAnalytics(1));
841:
842:WriteLiteral(@" </span> </div> <div> <span> National Dr. Sun Yat-sen Memorial Hall Address: </span> <span> No.505, Sec.4, Ren-ai Rd., </span> <span> Taipei (Zip code 11073) </span> </div> <div> <span> E-mail: sun@yatsen.gov.tw <label> | </label> </span> <span> Tel:886-02-27588008 <label> | </label> </span> <span> Fax:886-02-27584847 </span> </div> <div> The Best View at IE11.0 or later browser 1920*1080 </div> <div> Copyright © 2013 National Dr. Sun Yat-sen Memorial Hall. All rights reserved. </div> </div> <li");
843:
844:WriteLiteral(" class=\"right\"");
845:
846:WriteLiteral("> <a");
847:
848:WriteLiteral(" href=\"https://www.gov.tw/\"");
849:
850:WriteLiteral(" title=\"我的E政府[新開視窗]\"");
851:
852:WriteLiteral(" target=\"_blank\"");
853:
854:WriteLiteral("> <img");
855:
856:WriteLiteral(" src=\"https://www.yatsen.gov.tw/en/themes/83/images/11.png\"");
857:
858:WriteLiteral(" alt=\"我的E政府\"");
859:
860:WriteLiteral("></a> </li> </div> </footer>\r\n</body>\r\n</html>\r\n");
861:
862: }
863: }
864:}

Razor Source:

        
1:<!doctype html>

2:<html lang="en">
3:<head>
4: <meta charset="utf-8">
5: <meta name="viewport" content="width=device-width, initial-scale=1.0">
6: <meta http-equiv="X-UA-Compatible" content="IE=edge">
7: @{var titleDescKey = SKData.GetTitleDescKey();}
8: <title>@(titleDescKey.Title)</title>
9: <link rel="stylesheet" href="https://www.yatsen.gov.tw/en/themes/83/css/owl.carousel.css">
10: <link rel="stylesheet" href="https://www.yatsen.gov.tw/en/themes/83/css/index.css?v=2">
11: <link rel="stylesheet" href="https://www.yatsen.gov.tw/en/themes/83/css/fancybox/jquery.fancybox.css">
12: <script src="https://www.yatsen.gov.tw/en/themes/83/js/jquery.min.js"></script>
13: <script src="https://www.yatsen.gov.tw/en/themes/83/js/index.js"></script>
14: <script src="https://www.yatsen.gov.tw/en/themes/83/js/owl.carousel.js"></script>
15: <script src="https://www.yatsen.gov.tw/en/themes/83/js/jquery.fancybox.js"></script>
16: <script>
17: $(function () {
18: $('.fancybox').fancybox();
19:
20: $('.banner ul').owlCarousel({
21: autoPlay: 5000,
22: navigation: true,
23: slideSpeed: 600,
24: autoHeight: true,
25: singleItem: true
26: });
27: $(".banner .owl-buttons a").attr("href", "javascript:void(0);");
28: $('.directorylist ul').owlCarousel({
29: navigation: true,
30: slideSpeed: 600,
31: autoHeight: true,
32: items: 3,
33: itemsDesktop: [1920, 3],
34: itemsDesktopSmall: [1200, 2],
35: itemsTablet: [767, 1],
36: });
37: });
38: </script>
39: <link rel="icon" type="image/png" href="https://mocfile.moc.gov.tw/files/201904/97fb8fba-b55a-4cb2-87d8-9c1a2a4e929d.png">
40:</head>
41:<body>
42: <nav> <div class="wrap"> <a href="/en" class="logo"> <img alt="National Dr.Sun Yat-sen Memorial Hall – Origin - National Dr.Sun Yat-sen Memorial Hall" src="https://www.yatsen.gov.tw/en/themes/83/images/logo.png"> </a> <a id="mobi-btn"> <span class="threeline"> </span> </a> <ul class="toplink"> <li> <a href="/en"> Home </a> <span> | </span> </li> <li> <a href="sitemap.html"> Sitemap </a> <span> | </span> </li> <li> <a href="@(SKData.GetMenuUrl(114))"> Contact Us </a> <span> | </span> </li> <li> <a href="@(SKData.GetMenuUrl(115))"> FAQs </a> <span> | </span> </li> <li> <a href="@(SKData.GetMenuUrl(116))"> Links </a> <span> | </span> <!--<span> | </span>--> </li> <!--<li> <a href="https://www.yatsen.gov.tw/kid/" target="_blank"> children </a> </li>--> <li> <a href="/" target="_blank"> Chinese </a> </li> </ul> <ul class="rig_link"> <li class="share"> <a href="javascript:void(0);"> share </a> <ul> <li> <a class="blogger" href="#" target="_blank" title="Blogger[Open a new window]"> Blogger </a> </li> <li> <a class="fb" href="https://www.facebook.com/sunyatsengov" target="_blank" title="facebook[Open a new window]"> facebook </a> </li> <li> <a class="youtube" href="https://www.youtube.com/user/mysunyatsen" target="_blank" title="youtube[Open a new window]"> youtube </a> </li> <li> <a class="tripadvisor" href="#" target="_blank" title="tripadvisor[Open a new window]"> tripadvisor </a> </li> <li> <a class="twitter" href="#" target="_blank" title="twitter[Open a new window]"> twitter </a> </li> <li> <a class="flickr" href="#" target="_blank" title="flickr[Open a new window]"> flickr </a> </li> <li> <a class="ins" href="#" target="_blank" title="ins[Open a new window]"> ins </a> </li> </ul> </li> <li class="zd"> <a href="javascript:void(0);"> zd </a> <ul> <li> <a href="/" target="_blank"> 中文版 </a> </li> <li> <a href="/en"> English </a> </li> </ul> </li> <li class="search"> <a href="javascript:void(0);"> search </a> <div class="searchbox"> <form action="searchall.html" method="post"> <input type="hidden" name="csrfkey" value="@(SKData.GetCode())"> <div class="t"> Full Search </div> <div class="input"> <input type="text" name="q" accesskey="S" placeholder="searchkey"> <button type="submit"> GO </button> </div> <div class="btn"> <a href="searchall.html"> Advanced Search </a> </div> </form> </div> </li> </ul> </div> <script> $(function(){ $("#mobile ul.navbar-nav > li.sub_ul > a").attr("href","javascript:void(0);"); }); </script> </nav>
43: <main>
44: <div class="navigation"> @{var modelsc2e0c33915f61476aa0e5ece23d1ef47e = SKData.GetTopMenus();}
45:<ul> @foreach(var modelc2e0c33915f61476aa0e5ece23d1ef47e in modelsc2e0c33915f61476aa0e5ece23d1ef47e)
46:{
47:
48:<li> @{ var id = Convert.ToInt32(modelc2e0c33915f61476aa0e5ece23d1ef47e.Id); } <a href="@(modelc2e0c33915f61476aa0e5ece23d1ef47e.Url)" @(modelc2e0c33915f61476aa0e5ece23d1ef47e.Istarget ?" target=\"_blank\" ":"")> @(modelc2e0c33915f61476aa0e5ece23d1ef47e.Name) </a> @{var modelsc2c90e0672cc442cd8458395866521783 = SKData.GetCurrentMenuChild(modelc2e0c33915f61476aa0e5ece23d1ef47e.Id);}
49:<ul class="sub-menu"> @foreach(var modelc2c90e0672cc442cd8458395866521783 in modelsc2c90e0672cc442cd8458395866521783)
50:{
51:
52:<li> <a href="@(modelc2c90e0672cc442cd8458395866521783.Url)" @(modelc2c90e0672cc442cd8458395866521783.Istarget ?" target=\"_blank\" ":"")> @(modelc2c90e0672cc442cd8458395866521783.Name) </a> </li>
53:}
54: </ul> @* @if(id==107){@{var modelsc54343a410daf4bce91f3ac57c22a8bfa = SKData.GetBaseCategoryList(modelc2e0c33915f61476aa0e5ece23d1ef47e.Id).Where(e=>e.IsSubCategory==null).ToList();}
55:<ul class="sub-menu"> @foreach(var modelc54343a410daf4bce91f3ac57c22a8bfa in modelsc54343a410daf4bce91f3ac57c22a8bfa)
56:{
57:
58:<li> <a href="activitysoonlist_@(modelc2e0c33915f61476aa0e5ece23d1ef47e.Id)_@(modelc54343a410daf4bce91f3ac57c22a8bfa.Id)_1.html">@(modelc54343a410daf4bce91f3ac57c22a8bfa.Name)</a> </li>
59:}
60: </ul>}
61: *@ </li>
62:}
63: </ul> </div>
64: @{var modelscb3a6a901062a4ca08409276b15679f6a = SKData.GetShowBanner(117);}
65:<div class="banner">
66: @if(Utils.CheckNotNullOrEmpty(modelscb3a6a901062a4ca08409276b15679f6a)==true){<ul sk-check="">
67: @foreach(var modelcb3a6a901062a4ca08409276b15679f6a in modelscb3a6a901062a4ca08409276b15679f6a)
68:{
69:
70:<li>
71: <a href="@(modelcb3a6a901062a4ca08409276b15679f6a.Url)" @(modelcb3a6a901062a4ca08409276b15679f6a.Target ? " target=\"_blank\" ":"" ) title="@(modelcb3a6a901062a4ca08409276b15679f6a.Title)" onclick="goCount(@(modelcb3a6a901062a4ca08409276b15679f6a.Id),'@(modelcb3a6a901062a4ca08409276b15679f6a.TableName)');" onkeypress="goCount(@(modelcb3a6a901062a4ca08409276b15679f6a.Id),'@(modelcb3a6a901062a4ca08409276b15679f6a.TableName)');">
72: <img alt="@(modelcb3a6a901062a4ca08409276b15679f6a.Title)" src="@(FrontUtils.FileServer)banner/Small/@(modelcb3a6a901062a4ca08409276b15679f6a.ImageNameBig)">
73: </a>
74: </li>
75:}
76:
77: </ul>}
78:
79: </div>
80: <div class="news_intrud">
81: <div class="wrap">
82: <div class="left">
83: <div class="tit"><span>Hot News</span></div>
84: @{var modelsc21a25ed5d3b1483e884f0ecf7ef69790 = SKData.GetInformationList(105,null,false,true,true).Take(6).ToList();}
85:<div class="news">
86: @if(Utils.CheckNotNullOrEmpty(modelsc21a25ed5d3b1483e884f0ecf7ef69790)==true){<ul>
87: @foreach(var modelc21a25ed5d3b1483e884f0ecf7ef69790 in modelsc21a25ed5d3b1483e884f0ecf7ef69790)
88:{
89:
90:<li>@{var modelc01aae2359d2c49c983796bf9d375d269 = SKData.GetShowDataInfo(modelc21a25ed5d3b1483e884f0ecf7ef69790);
91:if (modelc01aae2359d2c49c983796bf9d375d269 == null){
92:throw (new Exception("GetShowDataInfo返回的訊息不存在"));
93:}
94:}
95: <a href="@(modelc01aae2359d2c49c983796bf9d375d269.Url)" title="@(modelc01aae2359d2c49c983796bf9d375d269.Subject)">@(modelc01aae2359d2c49c983796bf9d375d269.Subject)</a>
96: </li>
97:}
98:
99: </ul>}
100:
101: <div class="more">
102: <a href="informationlist_105.html" title="more new">More</a>
103: </div>
104: </div>
105: </div>
106: @{var modelscb01e95ad28b34858b9d544d565bddca0 = SKData.GetYatsenIndexMovieList(false,true,94).Take(1);}
107:<div class="right">
108: <div class="tit"><span>Introducitions of the hall</span></div>
109: @foreach(var modelcb01e95ad28b34858b9d544d565bddca0 in modelscb01e95ad28b34858b9d544d565bddca0)
110:{
111:
112:<div>
113: <div class="img">
114: <iframe style="width:100%;height:350px;" title="@(modelcb01e95ad28b34858b9d544d565bddca0.Title)" src="https://www.youtube.com/embed/@(modelcb01e95ad28b34858b9d544d565bddca0.YoutobeUrl)" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen=""></iframe>
115: </div>
116: <div>@(modelcb01e95ad28b34858b9d544d565bddca0.Content)</div>
117: <div class="v_tit">
118: <a href="movie_@(modelcb01e95ad28b34858b9d544d565bddca0.UnitId)_@(modelcb01e95ad28b34858b9d544d565bddca0.Id).html" title="@(modelcb01e95ad28b34858b9d544d565bddca0.Title)">@(modelcb01e95ad28b34858b9d544d565bddca0.Title)</a>
119: </div>
120: </div>
121:}
122:
123: </div>
124: </div>
125: </div>
126: <div class="directory">
127: <div class="wrap">
128: <div class="tit"><span>Directory of memorial hall attractions</span></div>
129: @{var modelscba49fd53612444ed8a4c4177d1b4b59f = SKData.GetCctpImageInfoesList(118,true).ToList();}
130:<div class="directorylist">
131: @if(Utils.CheckNotNullOrEmpty(modelscba49fd53612444ed8a4c4177d1b4b59f)==true){<ul>
132: @foreach(var modelcba49fd53612444ed8a4c4177d1b4b59f in modelscba49fd53612444ed8a4c4177d1b4b59f)
133:{
134:
135:<li>
136: <a href="@(FrontUtils.FileServer)imageinfos/large/@(modelcba49fd53612444ed8a4c4177d1b4b59f.ImageName)" title="@(modelcba49fd53612444ed8a4c4177d1b4b59f.Subject)" class="fancybox" data-fancybox-group="gallery">
137: <img src="@(FrontUtils.FileServer)imageinfos/large/@(modelcba49fd53612444ed8a4c4177d1b4b59f.ImageName)" title="@(modelcba49fd53612444ed8a4c4177d1b4b59f.Subject)" alt="@(modelcba49fd53612444ed8a4c4177d1b4b59f.Subject)">
138: </a>
139: </li>
140:}
141:
142: </ul>}
143:
144: </div>
145: </div>
146: </div>
147: <!-- mobile -->
148: <div id="mask"></div>
149: <div id="mobile"></div>
150: </main>
151: <footer> <div class="bol_bg_a"> </div> <div class="wrap"> <div class="left"> <a href="https://en.yatsen.gov.tw/" class="f_logo"> <img src="https://www.yatsen.gov.tw/en/themes/83/images/logo.png"> </a> </div> <div class="center"> <div> <span> <a href="@(SKData.GetMenuUrl(121))"> Bilingual Glossary </a> <label> | </label> </span> <span> <a href="@(SKData.GetMenuUrl(123))"> Privacy Policy & Security Policy <label> | </label> </a></span> <span> <a href="@(SKData.GetMenuUrl(120))"> Open Government Declaration </a> <label> | </label> </span> <span> 瀏覽人數:@(SKData.GetAnalytics(1)) </span> </div> <div> <span> National Dr. Sun Yat-sen Memorial Hall Address: </span> <span> No.505, Sec.4, Ren-ai Rd., </span> <span> Taipei (Zip code 11073) </span> </div> <div> <span> E-mail: sun@yatsen.gov.tw <label> | </label> </span> <span> Tel:886-02-27588008 <label> | </label> </span> <span> Fax:886-02-27584847 </span> </div> <div> The Best View at IE11.0 or later browser 1920*1080 </div> <div> Copyright © 2013 National Dr. Sun Yat-sen Memorial Hall. All rights reserved. </div> </div> <li class="right"> <a href="https://www.gov.tw/" title="我的E政府[新開視窗]" target="_blank"> <img src="https://www.yatsen.gov.tw/en/themes/83/images/11.png" alt="我的E政府"></a> </li> </div> </footer>
152:</body>
153:</html>
154: