Line 1: #pragma checksum "G:\malayalam.krishijagran.com\Views\Partials\InnerPages\MoreEvents.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "D2502CC77F1BE836DFD0DCA5F92EEA0F0AB2876F"
Line 2: //------------------------------------------------------------------------------
Line 3: // <auto-generated>
Line 4: // This code was generated by a tool.
Line 5: // Runtime Version:4.0.30319.42000
Line 6: //
Line 7: // Changes to this file may cause incorrect behavior and will be lost if
Line 8: // the code is regenerated.
Line 9: // </auto-generated>
Line 10: //------------------------------------------------------------------------------
Line 11:
Line 12: namespace ASP {
Line 13: using System;
Line 14: using System.Collections.Generic;
Line 15: using System.IO;
Line 16: using System.Linq;
Line 17: using System.Net;
Line 18: using System.Web;
Line 19: using System.Web.Helpers;
Line 20: using System.Web.Security;
Line 21: using System.Web.UI;
Line 22: using System.Web.WebPages;
Line 23: using System.Web.Mvc;
Line 24: using System.Web.Mvc.Ajax;
Line 25: using System.Web.Mvc.Html;
Line 26: using System.Web.Routing;
Line 27: using Umbraco.Web;
Line 28: using Umbraco.Core;
Line 29: using Umbraco.Core.Models;
Line 30: using Umbraco.Web.Mvc;
Line 31: using umbraco;
Line 32: using Examine;
Line 33: using Umbraco.Web.PublishedContentModels;
Line 34:
Line 35:
Line 36: public class _Page_Views_Partials_InnerPages_MoreEvents_cshtml : Umbraco.Web.Mvc.UmbracoTemplatePage {
Line 37:
Line 38: #line hidden
Line 39:
Line 40: public _Page_Views_Partials_InnerPages_MoreEvents_cshtml() {
Line 41: }
Line 42:
Line 43: protected ASP.global_asax ApplicationInstance {
Line 44: get {
Line 45: return ((ASP.global_asax)(Context.ApplicationInstance));
Line 46: }
Line 47: }
Line 48:
Line 49: public override void Execute() {
Line 50:
Line 51: #line 2 "G:\malayalam.krishijagran.com\Views\Partials\InnerPages\MoreEvents.cshtml"
Line 52:
Line 53: var events = new KJ_Regional.App_Code.KrishiJagranData.Service.NewsService(UmbracoContext).GetEvents(5);
Line 54:
Line 55:
Line 56: #line default
Line 57: #line hidden
Line 58: WriteLiteral("\r\n\r\n<h4>More Events</h4>\r\n\r\n<div");
Line 59:
Line 60: WriteLiteral(" class=\"k-list\"");
Line 61:
Line 62: WriteLiteral(">\r\n\r\n");
Line 63:
Line 64:
Line 65: #line 10 "G:\malayalam.krishijagran.com\Views\Partials\InnerPages\MoreEvents.cshtml"
Line 66:
Line 67:
Line 68: #line default
Line 69: #line hidden
Line 70:
Line 71: #line 10 "G:\malayalam.krishijagran.com\Views\Partials\InnerPages\MoreEvents.cshtml"
Line 72: foreach (var item in events)
Line 73: {
Line 74:
Line 75:
Line 76: #line default
Line 77: #line hidden
Line 78: WriteLiteral(" <div");
Line 79:
Line 80: WriteLiteral(" class=\"k-list-item evt\"");
Line 81:
Line 82: WriteLiteral(">\r\n <h3");
Line 83:
Line 84: WriteAttribute("title", Tuple.Create(" title=\"", 318), Tuple.Create("\"", 337)
Line 85:
Line 86: #line 13 "G:\malayalam.krishijagran.com\Views\Partials\InnerPages\MoreEvents.cshtml"
Line 87: , Tuple.Create(Tuple.Create("", 326), Tuple.Create<System.Object, System.Int32>(item.Title
Line 88:
Line 89: #line default
Line 90: #line hidden
Line 91: , 326), false)
Line 92: );
Line 93:
Line 94: WriteLiteral(">\r\n <a");
Line 95:
Line 96: WriteAttribute("href", Tuple.Create(" href=\"", 359), Tuple.Create("\"", 375)
Line 97:
Line 98: #line 14 "G:\malayalam.krishijagran.com\Views\Partials\InnerPages\MoreEvents.cshtml"
Line 99: , Tuple.Create(Tuple.Create("", 366), Tuple.Create<System.Object, System.Int32>(item.Url
Line 100:
Line 101: #line default
Line 102: #line hidden
Line 103: , 366), false)
Line 104: );
Line 105:
Line 106: WriteLiteral(">");
Line 107:
Line 108:
Line 109: #line 14 "G:\malayalam.krishijagran.com\Views\Partials\InnerPages\MoreEvents.cshtml"
Line 110: Write(item.Title);
Line 111:
Line 112:
Line 113: #line default
Line 114: #line hidden
Line 115: WriteLiteral("</a>\r\n </h3>\r\n\r\n <span");
Line 116:
Line 117: WriteLiteral(" class=\"\"");
Line 118:
Line 119: WriteLiteral(">");
Line 120:
Line 121:
Line 122: #line 17 "G:\malayalam.krishijagran.com\Views\Partials\InnerPages\MoreEvents.cshtml"
Line 123: Write(item.StartDate.ToString("dd, MMMM yyyy"));
Line 124:
Line 125:
Line 126: #line default
Line 127: #line hidden
Line 128: WriteLiteral("</span> - <span");
Line 129:
Line 130: WriteLiteral(" class=\"\"");
Line 131:
Line 132: WriteLiteral(">");
Line 133:
Line 134:
Line 135: #line 17 "G:\malayalam.krishijagran.com\Views\Partials\InnerPages\MoreEvents.cshtml"
Line 136: Write(item.EndDate.ToString("dd, MMMM yyyy"));
Line 137:
Line 138:
Line 139: #line default
Line 140: #line hidden
Line 141: WriteLiteral("</span>\r\n <p");
Line 142:
Line 143: WriteLiteral(" class=\"evt-desc\"");
Line 144:
Line 145: WriteLiteral(">");
Line 146:
Line 147:
Line 148: #line 18 "G:\malayalam.krishijagran.com\Views\Partials\InnerPages\MoreEvents.cshtml"
Line 149: Write(item.Location);
Line 150:
Line 151:
Line 152: #line default
Line 153: #line hidden
Line 154: WriteLiteral("</p>\r\n\r\n </div>\r\n");
Line 155:
Line 156:
Line 157: #line 21 "G:\malayalam.krishijagran.com\Views\Partials\InnerPages\MoreEvents.cshtml"
Line 158: }
Line 159:
Line 160:
Line 161: #line default
Line 162: #line hidden
Line 163: WriteLiteral("</div>\r\n\r\n");
Line 164:
Line 165: }
Line 166: }
Line 167: }
Line 168:
|