Line 1: #pragma checksum "D:\InetPub\vhosts\rgroup.ae\arct.rgroup.ae\Views\Home\ProductListEn.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "9B68475BDD7FC235E4D59737EB40383B55F02A81"
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.Optimization;
Line 27: using System.Web.Routing;
Line 28: using ARCT;
Line 29:
Line 30:
Line 31: public class _Page_Views_Home_ProductListEn_cshtml : System.Web.Mvc.WebViewPage<dynamic> {
Line 32:
Line 33: #line hidden
Line 34:
Line 35: public _Page_Views_Home_ProductListEn_cshtml() {
Line 36: }
Line 37:
Line 38: protected ASP.global_asax ApplicationInstance {
Line 39: get {
Line 40: return ((ASP.global_asax)(Context.ApplicationInstance));
Line 41: }
Line 42: }
Line 43:
Line 44: public override void Execute() {
Line 45:
Line 46: #line 1 "D:\InetPub\vhosts\rgroup.ae\arct.rgroup.ae\Views\Home\ProductListEn.cshtml"
Line 47:
Line 48: Layout = "~/Views/Shared/_LayoutEn.cshtml";
Line 49: ARCT.Models.Pages Page = ViewBag.Page;
Line 50: //ARCT.Models.ProductCategories ProductCategories = ViewBag.ProductCategories;
Line 51:
Line 52:
Line 53: #line default
Line 54: #line hidden
Line 55: WriteLiteral("\r\n<link");
Line 56:
Line 57: WriteLiteral(" rel=\"stylesheet\"");
Line 58:
Line 59: WriteLiteral(" href=\"http://code.jquery.com/ui/1.12.1/themes/base/jquery-ui.css\"");
Line 60:
Line 61: WriteLiteral(">\r\n<link");
Line 62:
Line 63: WriteAttribute("href", Tuple.Create(" href=\"", 280), Tuple.Create("\"", 330)
Line 64:
Line 65: #line 7 "D:\InetPub\vhosts\rgroup.ae\arct.rgroup.ae\Views\Home\ProductListEn.cshtml"
Line 66: , Tuple.Create(Tuple.Create("", 287), Tuple.Create<System.Object, System.Int32>(Url.Content("~/Content/css/timepicki.css")
Line 67:
Line 68: #line default
Line 69: #line hidden
Line 70: , 287), false)
Line 71: );
Line 72:
Line 73: WriteLiteral(" rel=\"stylesheet\"");
Line 74:
Line 75: WriteLiteral(" type=\"text/css\"");
Line 76:
Line 77: WriteLiteral(@">
Line 78: <style>
Line 79: .div_hover {
Line 80: cursor: pointer;
Line 81: background-color: RGB(244, 176, 79);
Line 82: display: block;
Line 83: /*background:RGB(244, 176, 79) ;*/
Line 84: /*background: RGB(94, 160, 217);*/
Line 85: -webkit-border-radius: 5px;
Line 86: -moz-border-radius: 5px;
Line 87: border-radius: 5px;
Line 88: transition: background .5s ease;
Line 89: font-size: 14px;
Line 90: padding: 10px 15px;
Line 91: margin-bottom: 15px;
Line 92: color: black;
Line 93: -webkit-box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.1);
Line 94: -moz-box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.1);
Line 95: box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.1);
Line 96: text-align: left;
Line 97: }
Line 98:
Line 99: .div_selected {
Line 100: background-color: black;
Line 101: cursor: pointer;
Line 102: color: #fff;
Line 103: }
Line 104:
Line 105: .div_selected a {
Line 106: color: #fff;
Line 107: }
Line 108:
Line 109: </style>
Line 110: <script>
Line 111: //When the DOM is ready...
Line 112: $(document).ready(function () {
Line 113: var url = """);
Line 114:
Line 115:
Line 116: #line 43 "D:\InetPub\vhosts\rgroup.ae\arct.rgroup.ae\Views\Home\ProductListEn.cshtml"
Line 117: Write(Url.Action("ProductRowEn", new { productCategoryID = ViewBag.ProductCategoryID }));
Line 118:
Line 119:
Line 120: #line default
Line 121: #line hidden
Line 122: WriteLiteral(@""";
Line 123: var lastRow = 0;
Line 124: //When the user scrolls...
Line 125: $(window).scroll(function () {
Line 126: //var tolerance = 500,
Line 127:
Line 128: var scrollTop = $(window).scrollTop();
Line 129: var row = Math.ceil(parseInt(scrollTop) / 311);
Line 130: //document.title = scrollTop + "" - "" + row;
Line 131: if (row <= lastRow)
Line 132: return;
Line 133:
Line 134: lastRow = row;
Line 135: if ($(""#Row-"" + row).length == 0) {
Line 136: $.get(url, { row: row }, function (response) {
Line 137: $(""#More"").html($(""#More"").html() + response);
Line 138: });
Line 139: }
Line 140: //If the the distance to the top is greater than the tolerance...
Line 141: });
Line 142: });
Line 143: </script>
Line 144: <div");
Line 145:
Line 146: WriteLiteral(" class=\"row\"");
Line 147:
Line 148: WriteLiteral(" style=\"padding-bottom:60px;\"");
Line 149:
Line 150: WriteLiteral(">\r\n <div");
Line 151:
Line 152: WriteLiteral(" class=\"section-header\"");
Line 153:
Line 154: WriteLiteral(">\r\n\r\n <h3>Training Categories</h3>\r\n </div>\r\n <d" +
Line 155: "iv");
Line 156:
Line 157: WriteLiteral(" class=\"col-md-4 col-sm-4 col-xs-12\"");
Line 158:
Line 159: WriteLiteral(">\r\n");
Line 160:
Line 161:
Line 162: #line 71 "D:\InetPub\vhosts\rgroup.ae\arct.rgroup.ae\Views\Home\ProductListEn.cshtml"
Line 163:
Line 164:
Line 165: #line default
Line 166: #line hidden
Line 167:
Line 168: #line 71 "D:\InetPub\vhosts\rgroup.ae\arct.rgroup.ae\Views\Home\ProductListEn.cshtml"
Line 169: foreach (ARCT.Models.ProductCategories ProductCategories in ViewBag.ProductCategories)
Line 170: {
Line 171:
Line 172:
Line 173: #line default
Line 174: #line hidden
Line 175: WriteLiteral(" <div");
Line 176:
Line 177: WriteAttribute("class", Tuple.Create(" class=\"", 2549), Tuple.Create("\"", 2654)
Line 178: , Tuple.Create(Tuple.Create("", 2557), Tuple.Create("row", 2557), true)
Line 179: , Tuple.Create(Tuple.Create(" ", 2560), Tuple.Create("div_hover", 2561), true)
Line 180:
Line 181: #line 73 "D:\InetPub\vhosts\rgroup.ae\arct.rgroup.ae\Views\Home\ProductListEn.cshtml"
Line 182: , Tuple.Create(Tuple.Create(" ", 2570), Tuple.Create<System.Object, System.Int32>(ViewBag.ProductCategoryID==ProductCategories.ProductCategoryID?"div_selected":""
Line 183:
Line 184: #line default
Line 185: #line hidden
Line 186: , 2571), false)
Line 187: );
Line 188:
Line 189: WriteLiteral(">\r\n <div");
Line 190:
Line 191: WriteLiteral(" class=\"col-md-2 col-xs-3\"");
Line 192:
Line 193: WriteLiteral("><img");
Line 194:
Line 195: WriteLiteral(" src=\"http://arct.rgroup.ae/images/specialIcons/BookCategoryIcon.png\"");
Line 196:
Line 197: WriteLiteral(" /></div>\r\n <div");
Line 198:
Line 199: WriteLiteral(" class=\"col-md-10 col-xs-9\"");
Line 200:
Line 201: WriteLiteral(">\r\n <a");
Line 202:
Line 203: WriteLiteral(" class=\"\"");
Line 204:
Line 205: WriteAttribute("href", Tuple.Create(" href=\"", 2894), Tuple.Create("\"", 3016)
Line 206:
Line 207: #line 76 "D:\InetPub\vhosts\rgroup.ae\arct.rgroup.ae\Views\Home\ProductListEn.cshtml"
Line 208: , Tuple.Create(Tuple.Create("", 2901), Tuple.Create<System.Object, System.Int32>(Url.Action("ProductList", "Home", new { ProductCategoryID = ProductCategories.ProductCategoryID, id = "En" },null)
Line 209:
Line 210: #line default
Line 211: #line hidden
Line 212: , 2901), false)
Line 213: );
Line 214:
Line 215: WriteLiteral(">");
Line 216:
Line 217:
Line 218: #line 76 "D:\InetPub\vhosts\rgroup.ae\arct.rgroup.ae\Views\Home\ProductListEn.cshtml"
Line 219: Write(ProductCategories.CategoryNameEn);
Line 220:
Line 221:
Line 222: #line default
Line 223: #line hidden
Line 224: WriteLiteral(" (");
Line 225:
Line 226:
Line 227: #line 76 "D:\InetPub\vhosts\rgroup.ae\arct.rgroup.ae\Views\Home\ProductListEn.cshtml"
Line 228: Write(ProductCategories.CategoryCode);
Line 229:
Line 230:
Line 231: #line default
Line 232: #line hidden
Line 233: WriteLiteral(")</a>\r\n </div>\r\n </div>\r\n");
Line 234:
Line 235:
Line 236: #line 79 "D:\InetPub\vhosts\rgroup.ae\arct.rgroup.ae\Views\Home\ProductListEn.cshtml"
Line 237: }
Line 238:
Line 239:
Line 240: #line default
Line 241: #line hidden
Line 242: WriteLiteral(" </div>\r\n <section");
Line 243:
Line 244: WriteLiteral(" class=\"col-md-8 col-sm-8 col-xs-12\"");
Line 245:
Line 246: WriteLiteral(">\r\n <div");
Line 247:
Line 248: WriteLiteral(" class=\"col-right text-center\"");
Line 249:
Line 250: WriteLiteral(">\r\n <img");
Line 251:
Line 252: WriteAttribute("src", Tuple.Create(" src=\"", 3326), Tuple.Create("\"", 3362)
Line 253:
Line 254: #line 83 "D:\InetPub\vhosts\rgroup.ae\arct.rgroup.ae\Views\Home\ProductListEn.cshtml"
Line 255: , Tuple.Create(Tuple.Create("", 3332), Tuple.Create<System.Object, System.Int32>(Url.Content(Page.BannerImage)
Line 256:
Line 257: #line default
Line 258: #line hidden
Line 259: , 3332), false)
Line 260: );
Line 261:
Line 262: WriteLiteral(" />\r\n <div");
Line 263:
Line 264: WriteLiteral(" class=\"strip-courses\"");
Line 265:
Line 266: WriteLiteral(">\r\n <div");
Line 267:
Line 268: WriteLiteral(" class=\"row us-row\"");
Line 269:
Line 270: WriteLiteral(">\r\n <div");
Line 271:
Line 272: WriteLiteral(" class=\"\"");
Line 273:
Line 274: WriteLiteral(" id=\"MainDIV\"");
Line 275:
Line 276: WriteLiteral(">\r\n <div");
Line 277:
Line 278: WriteLiteral(" class=\"row text-center text-lg-left\"");
Line 279:
Line 280: WriteLiteral(">\r\n");
Line 281:
Line 282:
Line 283: #line 88 "D:\InetPub\vhosts\rgroup.ae\arct.rgroup.ae\Views\Home\ProductListEn.cshtml"
Line 284:
Line 285:
Line 286: #line default
Line 287: #line hidden
Line 288:
Line 289: #line 88 "D:\InetPub\vhosts\rgroup.ae\arct.rgroup.ae\Views\Home\ProductListEn.cshtml"
Line 290: foreach (ARCT.Models.Products Products in ViewBag.Products)
Line 291: {
Line 292:
Line 293:
Line 294: #line default
Line 295: #line hidden
Line 296:
Line 297: #line 90 "D:\InetPub\vhosts\rgroup.ae\arct.rgroup.ae\Views\Home\ProductListEn.cshtml"
Line 298: Write(Html.Partial("ProductDetailsEn", Products));
Line 299:
Line 300:
Line 301: #line default
Line 302: #line hidden
Line 303:
Line 304: #line 90 "D:\InetPub\vhosts\rgroup.ae\arct.rgroup.ae\Views\Home\ProductListEn.cshtml"
Line 305:
Line 306: }
Line 307:
Line 308:
Line 309: #line default
Line 310: #line hidden
Line 311: WriteLiteral(" <div");
Line 312:
Line 313: WriteLiteral(" id=\"More\"");
Line 314:
Line 315: WriteLiteral(">\r\n </div>\r\n </" +
Line 316: "div>\r\n </div>\r\n </div>\r\n " +
Line 317: " </div>\r\n </div>\r\n </section>\r\n </" +
Line 318: "div>\r\n\r\n\r\n");
Line 319:
Line 320: }
Line 321: }
Line 322: }
Line 323:
|