Line 1: #pragma checksum "G:\malayalam.krishijagran.com\Views\Events.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "236FB7B5EF847E8278A51DA0D9CC6EFA8B5F1946"
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 2 "G:\malayalam.krishijagran.com\Views\Events.cshtml"
Line 36: using ContentModels = Umbraco.Web.PublishedContentModels;
Line 37:
Line 38: #line default
Line 39: #line hidden
Line 40:
Line 41:
Line 42: public class _Page_Views_Events_cshtml : Umbraco.Web.Mvc.UmbracoTemplatePage<ContentModels.Events> {
Line 43:
Line 44: #line hidden
Line 45:
Line 46: public _Page_Views_Events_cshtml() {
Line 47: }
Line 48:
Line 49: protected ASP.global_asax ApplicationInstance {
Line 50: get {
Line 51: return ((ASP.global_asax)(Context.ApplicationInstance));
Line 52: }
Line 53: }
Line 54:
Line 55: public override void Execute() {
Line 56:
Line 57: #line 3 "G:\malayalam.krishijagran.com\Views\Events.cshtml"
Line 58:
Line 59: Layout = "Master.cshtml";
Line 60: Page.Title = CurrentPage.Name;
Line 61: var events = new KJ_Regional.App_Code.KrishiJagranData.Service.NewsService(UmbracoContext).GetEvents(100);
Line 62:
Line 63:
Line 64: #line default
Line 65: #line hidden
Line 66: WriteLiteral("\r\n\r\n<div");
Line 67:
Line 68: WriteLiteral(" class=\"container\"");
Line 69:
Line 70: WriteLiteral(" id=\"page\"");
Line 71:
Line 72: WriteLiteral(">\r\n\r\n <div");
Line 73:
Line 74: WriteLiteral(" class=\"col-xs-12 col-sm-7 col-md-7 col-lg-7\"");
Line 75:
Line 76: WriteLiteral(">\r\n <h1>");
Line 77:
Line 78:
Line 79: #line 12 "G:\malayalam.krishijagran.com\Views\Events.cshtml"
Line 80: Write(CurrentPage.Name);
Line 81:
Line 82:
Line 83: #line default
Line 84: #line hidden
Line 85: WriteLiteral("</h1>\r\n <p>");
Line 86:
Line 87:
Line 88: #line 13 "G:\malayalam.krishijagran.com\Views\Events.cshtml"
Line 89: Write(CurrentPage._description);
Line 90:
Line 91:
Line 92: #line default
Line 93: #line hidden
Line 94: WriteLiteral("</p>\r\n <hr />\r\n\r\n <div");
Line 95:
Line 96: WriteLiteral(" class=\"k-list\"");
Line 97:
Line 98: WriteLiteral(">\r\n\r\n");
Line 99:
Line 100:
Line 101: #line 18 "G:\malayalam.krishijagran.com\Views\Events.cshtml"
Line 102:
Line 103:
Line 104: #line default
Line 105: #line hidden
Line 106:
Line 107: #line 18 "G:\malayalam.krishijagran.com\Views\Events.cshtml"
Line 108: foreach (var item in events)
Line 109: {
Line 110:
Line 111:
Line 112: #line default
Line 113: #line hidden
Line 114: WriteLiteral(" <div");
Line 115:
Line 116: WriteLiteral(" class=\"k-list-item evt\"");
Line 117:
Line 118: WriteLiteral(">\r\n <h3");
Line 119:
Line 120: WriteAttribute("title", Tuple.Create(" title=\"", 666), Tuple.Create("\"", 685)
Line 121:
Line 122: #line 21 "G:\malayalam.krishijagran.com\Views\Events.cshtml"
Line 123: , Tuple.Create(Tuple.Create("", 674), Tuple.Create<System.Object, System.Int32>(item.Title
Line 124:
Line 125: #line default
Line 126: #line hidden
Line 127: , 674), false)
Line 128: );
Line 129:
Line 130: WriteLiteral(">\r\n <a");
Line 131:
Line 132: WriteAttribute("href", Tuple.Create(" href=\"", 715), Tuple.Create("\"", 731)
Line 133:
Line 134: #line 22 "G:\malayalam.krishijagran.com\Views\Events.cshtml"
Line 135: , Tuple.Create(Tuple.Create("", 722), Tuple.Create<System.Object, System.Int32>(item.Url
Line 136:
Line 137: #line default
Line 138: #line hidden
Line 139: , 722), false)
Line 140: );
Line 141:
Line 142: WriteLiteral(">");
Line 143:
Line 144:
Line 145: #line 22 "G:\malayalam.krishijagran.com\Views\Events.cshtml"
Line 146: Write(item.Title);
Line 147:
Line 148:
Line 149: #line default
Line 150: #line hidden
Line 151: WriteLiteral("</a>\r\n </h3>\r\n \r\n <span");
Line 152:
Line 153: WriteLiteral(" class=\"\"");
Line 154:
Line 155: WriteLiteral(">");
Line 156:
Line 157:
Line 158: #line 25 "G:\malayalam.krishijagran.com\Views\Events.cshtml"
Line 159: Write(item.StartDate.ToString("dd, MMMM yyyy"));
Line 160:
Line 161:
Line 162: #line default
Line 163: #line hidden
Line 164: WriteLiteral("</span> - <span");
Line 165:
Line 166: WriteLiteral(" class=\"\"");
Line 167:
Line 168: WriteLiteral(">");
Line 169:
Line 170:
Line 171: #line 25 "G:\malayalam.krishijagran.com\Views\Events.cshtml"
Line 172: Write(item.EndDate.ToString("dd, MMMM yyyy"));
Line 173:
Line 174:
Line 175: #line default
Line 176: #line hidden
Line 177: WriteLiteral("</span>\r\n <p");
Line 178:
Line 179: WriteLiteral(" class=\"evt-desc\"");
Line 180:
Line 181: WriteLiteral(">");
Line 182:
Line 183:
Line 184: #line 26 "G:\malayalam.krishijagran.com\Views\Events.cshtml"
Line 185: Write(item.Location);
Line 186:
Line 187:
Line 188: #line default
Line 189: #line hidden
Line 190: WriteLiteral("</p>\r\n \r\n </div>\r\n");
Line 191:
Line 192:
Line 193: #line 29 "G:\malayalam.krishijagran.com\Views\Events.cshtml"
Line 194: }
Line 195:
Line 196:
Line 197: #line default
Line 198: #line hidden
Line 199: WriteLiteral(" </div>\r\n\r\n </div>\r\n <div");
Line 200:
Line 201: WriteLiteral(" class=\"col-xs-12 col-sm-5 col-md-5 col-lg-5 no-padding-right\"");
Line 202:
Line 203: WriteLiteral(">\r\n\r\n <img");
Line 204:
Line 205: WriteAttribute("src", Tuple.Create(" src=\"", 1188), Tuple.Create("\"", 1226)
Line 206: , Tuple.Create(Tuple.Create("", 1194), Tuple.Create<System.Object, System.Int32>(Href("~/assets/images/ad-315x410px.jpg")
Line 207: , 1194), false)
Line 208: );
Line 209:
Line 210: WriteLiteral(" />\r\n\r\n");
Line 211:
Line 212: WriteLiteral(" ");
Line 213:
Line 214:
Line 215: #line 37 "G:\malayalam.krishijagran.com\Views\Events.cshtml"
Line 216: Write(Html.Partial("Shared/FarmTips"));
Line 217:
Line 218:
Line 219: #line default
Line 220: #line hidden
Line 221: WriteLiteral("\r\n\r\n <div");
Line 222:
Line 223: WriteLiteral(" class=\"clearfix\"");
Line 224:
Line 225: WriteLiteral("></div>\r\n");
Line 226:
Line 227: WriteLiteral(" ");
Line 228:
Line 229:
Line 230: #line 40 "G:\malayalam.krishijagran.com\Views\Events.cshtml"
Line 231: Write(Html.Partial("Homepage/Videos"));
Line 232:
Line 233:
Line 234: #line default
Line 235: #line hidden
Line 236: WriteLiteral("\r\n </div>\r\n</div>");
Line 237:
Line 238: }
Line 239: }
Line 240: }
Line 241:
|