Line 1: #pragma checksum "D:\InetPub\vhosts\rgroup.ae\arct.rgroup.ae\Views\Home\ProductList.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "6476CD8785AC484520F193627FE809F59E0A11BF"
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_ProductList_cshtml : System.Web.Mvc.WebViewPage<dynamic> {
Line 32:
Line 33: #line hidden
Line 34:
Line 35: public _Page_Views_Home_ProductList_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\ProductList.cshtml"
Line 47:
Line 48: Layout = "~/Views/Shared/_Layout.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=\"", 278), Tuple.Create("\"", 328)
Line 64:
Line 65: #line 7 "D:\InetPub\vhosts\rgroup.ae\arct.rgroup.ae\Views\Home\ProductList.cshtml"
Line 66: , Tuple.Create(Tuple.Create("", 285), Tuple.Create<System.Object, System.Int32>(Url.Content("~/Content/css/timepicki.css")
Line 67:
Line 68: #line default
Line 69: #line hidden
Line 70: , 285), 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:
Line 80: .div_hover {
Line 81: cursor: pointer;
Line 82: background-color: RGB(244, 176, 79);
Line 83: display: block;
Line 84: /*background:RGB(244, 176, 79) ;*/
Line 85: /*background: RGB(94, 160, 217);*/
Line 86: -webkit-border-radius: 5px;
Line 87: -moz-border-radius: 5px;
Line 88: border-radius: 5px;
Line 89: transition: background .5s ease;
Line 90: font-size: 14px;
Line 91: padding: 10px 15px;
Line 92: margin-bottom: 15px;
Line 93: color: black;
Line 94: -webkit-box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.1);
Line 95: -moz-box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.1);
Line 96: box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.1);
Line 97: text-align:right;
Line 98: }
Line 99:
Line 100: .div_selected {
Line 101: background-color: black;
Line 102: cursor: pointer;
Line 103: color:#fff;
Line 104: }
Line 105:
Line 106: .div_selected a{
Line 107: color: #fff;
Line 108: }
Line 109: </style>
Line 110:
Line 111: <script>
Line 112:
Line 113: //When the DOM is ready...
Line 114: $(document).ready(function () {
Line 115: var url = """);
Line 116:
Line 117:
Line 118: #line 45 "D:\InetPub\vhosts\rgroup.ae\arct.rgroup.ae\Views\Home\ProductList.cshtml"
Line 119: Write(Url.Action("ProductRow", new { productCategoryID = ViewBag.ProductCategoryID }));
Line 120:
Line 121:
Line 122: #line default
Line 123: #line hidden
Line 124: WriteLiteral(@""";
Line 125: var lastRow = 0;
Line 126: //When the user scrolls...
Line 127: $(window).scroll(function () {
Line 128: //var tolerance = 500,
Line 129:
Line 130: var scrollTop = $(window).scrollTop();
Line 131: var row = Math.ceil(parseInt(scrollTop) / 811);
Line 132: //document.title = scrollTop + "" - "" + row;
Line 133: if (row <= lastRow)
Line 134: return;
Line 135:
Line 136: lastRow = row;
Line 137: if ($(""#Row-"" + row).length == 0) {
Line 138: $.get(url, { row: row }, function (response) {
Line 139: $(""#More"").html($(""#More"").html() + response);
Line 140: });
Line 141: }
Line 142: //If the the distance to the top is greater than the tolerance...
Line 143:
Line 144: });
Line 145: });
Line 146: </script>
Line 147: <div");
Line 148:
Line 149: WriteLiteral(" class=\"row\"");
Line 150:
Line 151: WriteLiteral(" style=\"padding-bottom:60px;\"");
Line 152:
Line 153: WriteLiteral(">\r\n <div");
Line 154:
Line 155: WriteLiteral(" class=\"section-header\"");
Line 156:
Line 157: WriteLiteral(">\r\n\r\n <h3>مجالات التدريب</h3>\r\n </div>\r\n <sectio" +
Line 158: "n");
Line 159:
Line 160: WriteLiteral(" class=\"col-md-8 col-sm-8 col-xs-12\"");
Line 161:
Line 162: WriteLiteral(">\r\n <div");
Line 163:
Line 164: WriteLiteral(" class=\"col-right text-center\"");
Line 165:
Line 166: WriteLiteral(">\r\n <img");
Line 167:
Line 168: WriteAttribute("src", Tuple.Create(" src=\"", 2493), Tuple.Create("\"", 2529)
Line 169:
Line 170: #line 75 "D:\InetPub\vhosts\rgroup.ae\arct.rgroup.ae\Views\Home\ProductList.cshtml"
Line 171: , Tuple.Create(Tuple.Create("", 2499), Tuple.Create<System.Object, System.Int32>(Url.Content(Page.BannerImage)
Line 172:
Line 173: #line default
Line 174: #line hidden
Line 175: , 2499), false)
Line 176: );
Line 177:
Line 178: WriteLiteral(" />\r\n <div");
Line 179:
Line 180: WriteLiteral(" class=\"strip-courses\"");
Line 181:
Line 182: WriteLiteral(">\r\n <div");
Line 183:
Line 184: WriteLiteral(" class=\"row us-row\"");
Line 185:
Line 186: WriteLiteral(">\r\n <div");
Line 187:
Line 188: WriteLiteral(" class=\"\"");
Line 189:
Line 190: WriteLiteral(" id=\"MainDIV\"");
Line 191:
Line 192: WriteLiteral(">\r\n <div");
Line 193:
Line 194: WriteLiteral(" class=\"row text-center text-lg-left\"");
Line 195:
Line 196: WriteLiteral(">\r\n");
Line 197:
Line 198:
Line 199: #line 80 "D:\InetPub\vhosts\rgroup.ae\arct.rgroup.ae\Views\Home\ProductList.cshtml"
Line 200:
Line 201:
Line 202: #line default
Line 203: #line hidden
Line 204:
Line 205: #line 80 "D:\InetPub\vhosts\rgroup.ae\arct.rgroup.ae\Views\Home\ProductList.cshtml"
Line 206: foreach (ARCT.Models.Products Products in ViewBag.Products)
Line 207: {
Line 208:
Line 209:
Line 210: #line default
Line 211: #line hidden
Line 212:
Line 213: #line 82 "D:\InetPub\vhosts\rgroup.ae\arct.rgroup.ae\Views\Home\ProductList.cshtml"
Line 214: Write(Html.Partial("ProductDetails", Products));
Line 215:
Line 216:
Line 217: #line default
Line 218: #line hidden
Line 219:
Line 220: #line 82 "D:\InetPub\vhosts\rgroup.ae\arct.rgroup.ae\Views\Home\ProductList.cshtml"
Line 221:
Line 222: }
Line 223:
Line 224:
Line 225: #line default
Line 226: #line hidden
Line 227: WriteLiteral(" <div");
Line 228:
Line 229: WriteLiteral(" id=\"More\"");
Line 230:
Line 231: WriteLiteral(">\r\n </div>\r\n </" +
Line 232: "div>\r\n </div>\r\n </div>\r\n " +
Line 233: " </div>\r\n </div>\r\n </section>\r\n " +
Line 234: " <div");
Line 235:
Line 236: WriteLiteral(" class=\"col-md-4 col-sm-4 col-xs-12\"");
Line 237:
Line 238: WriteLiteral(">\r\n");
Line 239:
Line 240:
Line 241: #line 93 "D:\InetPub\vhosts\rgroup.ae\arct.rgroup.ae\Views\Home\ProductList.cshtml"
Line 242:
Line 243:
Line 244: #line default
Line 245: #line hidden
Line 246:
Line 247: #line 93 "D:\InetPub\vhosts\rgroup.ae\arct.rgroup.ae\Views\Home\ProductList.cshtml"
Line 248: foreach (ARCT.Models.ProductCategories ProductCategories in ViewBag.ProductCategories)
Line 249: {
Line 250:
Line 251:
Line 252: #line default
Line 253: #line hidden
Line 254: WriteLiteral(" <div");
Line 255:
Line 256: WriteAttribute("class", Tuple.Create(" class=\"", 3510), Tuple.Create("\"", 3615)
Line 257: , Tuple.Create(Tuple.Create("", 3518), Tuple.Create("row", 3518), true)
Line 258: , Tuple.Create(Tuple.Create(" ", 3521), Tuple.Create("div_hover", 3522), true)
Line 259:
Line 260: #line 95 "D:\InetPub\vhosts\rgroup.ae\arct.rgroup.ae\Views\Home\ProductList.cshtml"
Line 261: , Tuple.Create(Tuple.Create(" ", 3531), Tuple.Create<System.Object, System.Int32>(ViewBag.ProductCategoryID==ProductCategories.ProductCategoryID?"div_selected":""
Line 262:
Line 263: #line default
Line 264: #line hidden
Line 265: , 3532), false)
Line 266: );
Line 267:
Line 268: WriteLiteral(">\r\n <div");
Line 269:
Line 270: WriteLiteral(" class=\"col-md-10 col-xs-9\"");
Line 271:
Line 272: WriteLiteral(">\r\n\r\n <a");
Line 273:
Line 274: WriteAttribute("href", Tuple.Create(" href=\"", 3709), Tuple.Create("\"", 3829)
Line 275:
Line 276: #line 98 "D:\InetPub\vhosts\rgroup.ae\arct.rgroup.ae\Views\Home\ProductList.cshtml"
Line 277: , Tuple.Create(Tuple.Create("", 3716), Tuple.Create<System.Object, System.Int32>(Url.Action("ProductList", "Home", new { ProductCategoryID = ProductCategories.ProductCategoryID, id = "" },null)
Line 278:
Line 279: #line default
Line 280: #line hidden
Line 281: , 3716), false)
Line 282: );
Line 283:
Line 284: WriteLiteral(">");
Line 285:
Line 286:
Line 287: #line 98 "D:\InetPub\vhosts\rgroup.ae\arct.rgroup.ae\Views\Home\ProductList.cshtml"
Line 288: Write(ProductCategories.CategoryNameAr);
Line 289:
Line 290:
Line 291: #line default
Line 292: #line hidden
Line 293: WriteLiteral(" (");
Line 294:
Line 295:
Line 296: #line 98 "D:\InetPub\vhosts\rgroup.ae\arct.rgroup.ae\Views\Home\ProductList.cshtml"
Line 297: Write(ProductCategories.CategoryCode);
Line 298:
Line 299:
Line 300: #line default
Line 301: #line hidden
Line 302: WriteLiteral(")</a>\r\n ");
Line 303:
Line 304: WriteLiteral("\r\n </div>\r\n <div");
Line 305:
Line 306: WriteLiteral(" class=\"col-md-2 col-xs-3\"");
Line 307:
Line 308: WriteLiteral("><img");
Line 309:
Line 310: WriteLiteral(" src=\"http://arct.rgroup.ae/images/specialIcons/BookCategoryIcon.png\"");
Line 311:
Line 312: WriteLiteral(" /></div>\r\n\r\n </div>\r\n");
Line 313:
Line 314:
Line 315: #line 104 "D:\InetPub\vhosts\rgroup.ae\arct.rgroup.ae\Views\Home\ProductList.cshtml"
Line 316: }
Line 317:
Line 318:
Line 319: #line default
Line 320: #line hidden
Line 321: WriteLiteral(" </div>\r\n </div>\r\n \r\n");
Line 322:
Line 323: }
Line 324: }
Line 325: }
Line 326:
|