Line 1: #pragma checksum "d:\inetpub\wwwroot\bimekscelik.com\wwwroot\Views\Kurumsal\Urunler.cshtml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "605A91075532C0E9905DE20BD136CB40D4E5453A71595956229EEEFF4656B1A8"
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 BimeksCelik;
Line 29:
Line 30: #line 1 "d:\inetpub\wwwroot\bimekscelik.com\wwwroot\Views\Kurumsal\Urunler.cshtml"
Line 31: using BimeksCelik.Service;
Line 32:
Line 33: #line default
Line 34: #line hidden
Line 35:
Line 36: #line 2 "d:\inetpub\wwwroot\bimekscelik.com\wwwroot\Views\Kurumsal\Urunler.cshtml"
Line 37: using BimeksCelik.Models;
Line 38:
Line 39: #line default
Line 40: #line hidden
Line 41:
Line 42:
Line 43: public class _Page_Views_Kurumsal_Urunler_cshtml : System.Web.Mvc.WebViewPage<(List <M_Sayfalar> sayfalar, M_Sayfalar sayfa)> {
Line 44:
Line 45: #line hidden
Line 46:
Line 47: public _Page_Views_Kurumsal_Urunler_cshtml() {
Line 48: }
Line 49:
Line 50: protected ASP.global_asax ApplicationInstance {
Line 51: get {
Line 52: return ((ASP.global_asax)(Context.ApplicationInstance));
Line 53: }
Line 54: }
Line 55:
Line 56: public override void Execute() {
Line 57:
Line 58: #line 4 "d:\inetpub\wwwroot\bimekscelik.com\wwwroot\Views\Kurumsal\Urunler.cshtml"
Line 59:
Line 60: Layout = "~/Views/Shared/_Layout.cshtml";
Line 61: MethodClass method = new MethodClass();
Line 62: var routeValues = this.ViewContext.RouteData.Values;
Line 63: var dil = ViewContext.RouteData.Values.ContainsKey("culture") ? ViewContext.RouteData.Values["culture"].ToString() : "tr";
Line 64: ViewBag.Title = Model.sayfa.SayfaBaslik;
Line 65: ViewBag.Description = Model.sayfa.SayfaAciklama;
Line 66: ViewBag.Keywords = Model.sayfa.SayfaAnahtarKelime;
Line 67:
Line 68:
Line 69: string UrunlerUrl = "";
Line 70: if (dil == "tr")
Line 71: {
Line 72: UrunlerUrl = "UrunDetay";
Line 73: }
Line 74: else
Line 75: {
Line 76: UrunlerUrl = "ProductDetail";
Line 77: }
Line 78:
Line 79:
Line 80: #line default
Line 81: #line hidden
Line 82: WriteLiteral("\r\n<div");
Line 83:
Line 84: WriteLiteral(" class=\"kartela-banner\"");
Line 85:
Line 86: WriteLiteral(">\r\n <div");
Line 87:
Line 88: WriteLiteral(" class=\"urun-banner\"");
Line 89:
Line 90: WriteLiteral(">\r\n <div");
Line 91:
Line 92: WriteLiteral(" class=\"hero-nav urun1banner\"");
Line 93:
Line 94: WriteAttribute("style", Tuple.Create(" style=\"", 819), Tuple.Create("\"", 906)
Line 95: , Tuple.Create(Tuple.Create("", 827), Tuple.Create("background-image:url(", 827), true)
Line 96:
Line 97: #line 26 "d:\inetpub\wwwroot\bimekscelik.com\wwwroot\Views\Kurumsal\Urunler.cshtml"
Line 98: , Tuple.Create(Tuple.Create("", 848), Tuple.Create<System.Object, System.Int32>(Global.ResimYolu
Line 99:
Line 100: #line default
Line 101: #line hidden
Line 102: , 848), false)
Line 103: , Tuple.Create(Tuple.Create("", 865), Tuple.Create("/", 865), true)
Line 104:
Line 105: #line 26 "d:\inetpub\wwwroot\bimekscelik.com\wwwroot\Views\Kurumsal\Urunler.cshtml"
Line 106: , Tuple.Create(Tuple.Create("", 866), Tuple.Create<System.Object, System.Int32>(Model.sayfalar.FirstOrDefault().Banner
Line 107:
Line 108: #line default
Line 109: #line hidden
Line 110: , 866), false)
Line 111: , Tuple.Create(Tuple.Create("", 905), Tuple.Create(")", 905), true)
Line 112: );
Line 113:
Line 114: WriteLiteral(">\r\n <div");
Line 115:
Line 116: WriteLiteral(" class=\"hero-nav__inner\"");
Line 117:
Line 118: WriteLiteral(">\r\n <h1>");
Line 119:
Line 120:
Line 121: #line 28 "d:\inetpub\wwwroot\bimekscelik.com\wwwroot\Views\Kurumsal\Urunler.cshtml"
Line 122: Write(method.GetSabitByParametre(dil, "UrunGruplarımız"));
Line 123:
Line 124:
Line 125: #line default
Line 126: #line hidden
Line 127: WriteLiteral("</h1>\r\n <div");
Line 128:
Line 129: WriteLiteral(" class=\"headbar w-100 d-flex justify-content-center\"");
Line 130:
Line 131: WriteLiteral(">\r\n <nav");
Line 132:
Line 133: WriteLiteral(" style=\"--bs-breadcrumb-divider: url("data:image/svg+xml,%3Csvg xmlns=\'http:/" +
Line 134: "/www.w3.org/2000/svg\' width=\'8\' height=\'8\'%3E%3Cpath d=\'M2.5 0L1 1.5 3.5 4 1 6.5" +
Line 135: " 2.5 8l4-4-4-4z\' fill=\'currentColor\'/%3E%3C/svg%3E");\"");
Line 136:
Line 137: WriteLiteral(" aria-label=\"breadcrumb\"");
Line 138:
Line 139: WriteLiteral(">\r\n <ol");
Line 140:
Line 141: WriteLiteral(" class=\"breadcrumb\"");
Line 142:
Line 143: WriteLiteral(">\r\n <li");
Line 144:
Line 145: WriteLiteral(" class=\"breadcrumb-item\"");
Line 146:
Line 147: WriteLiteral("><a");
Line 148:
Line 149: WriteAttribute("href", Tuple.Create(" href=\"", 1483), Tuple.Create("\"", 1506)
Line 150: , Tuple.Create(Tuple.Create("", 1490), Tuple.Create("/", 1490), true)
Line 151:
Line 152: #line 32 "d:\inetpub\wwwroot\bimekscelik.com\wwwroot\Views\Kurumsal\Urunler.cshtml"
Line 153: , Tuple.Create(Tuple.Create("", 1491), Tuple.Create<System.Object, System.Int32>(dil
Line 154:
Line 155: #line default
Line 156: #line hidden
Line 157: , 1491), false)
Line 158: , Tuple.Create(Tuple.Create("", 1495), Tuple.Create("/Home/Index", 1495), true)
Line 159: );
Line 160:
Line 161: WriteLiteral(">");
Line 162:
Line 163:
Line 164: #line 32 "d:\inetpub\wwwroot\bimekscelik.com\wwwroot\Views\Kurumsal\Urunler.cshtml"
Line 165: Write(method.GetSabitByParametre(dil, "Anasayfa"));
Line 166:
Line 167:
Line 168: #line default
Line 169: #line hidden
Line 170: WriteLiteral("</a></li>\r\n <li");
Line 171:
Line 172: WriteLiteral(" class=\"breadcrumb-item active\"");
Line 173:
Line 174: WriteLiteral(" aria-current=\"page\"");
Line 175:
Line 176: WriteLiteral(">");
Line 177:
Line 178:
Line 179: #line 33 "d:\inetpub\wwwroot\bimekscelik.com\wwwroot\Views\Kurumsal\Urunler.cshtml"
Line 180: Write(method.GetSabitByParametre(dil, "UrunGruplarımız"));
Line 181:
Line 182:
Line 183: #line default
Line 184: #line hidden
Line 185: WriteLiteral("</li>\r\n </ol>\r\n </nav>\r\n " +
Line 186: " </div>\r\n </div>\r\n </div>\r\n </div>\r\n</div>\r\n\r\n<div");
Line 187:
Line 188: WriteLiteral(" class=\"hakkimizda\"");
Line 189:
Line 190: WriteLiteral(">\r\n <div");
Line 191:
Line 192: WriteLiteral(" class=\"container\"");
Line 193:
Line 194: WriteLiteral(">\r\n <div");
Line 195:
Line 196: WriteLiteral(" class=\"row mt-5\"");
Line 197:
Line 198: WriteLiteral(">\r\n\r\n <div");
Line 199:
Line 200: WriteLiteral(" class=\"col-xl-12 col-12\"");
Line 201:
Line 202: WriteLiteral(">\r\n");
Line 203:
Line 204: WriteLiteral(" ");
Line 205:
Line 206:
Line 207: #line 47 "d:\inetpub\wwwroot\bimekscelik.com\wwwroot\Views\Kurumsal\Urunler.cshtml"
Line 208: Write(Html.Action("Arama", "Shared"));
Line 209:
Line 210:
Line 211: #line default
Line 212: #line hidden
Line 213: WriteLiteral("\r\n </div>\r\n");
Line 214:
Line 215:
Line 216: #line 49 "d:\inetpub\wwwroot\bimekscelik.com\wwwroot\Views\Kurumsal\Urunler.cshtml"
Line 217:
Line 218:
Line 219: #line default
Line 220: #line hidden
Line 221:
Line 222: #line 49 "d:\inetpub\wwwroot\bimekscelik.com\wwwroot\Views\Kurumsal\Urunler.cshtml"
Line 223: foreach (var item in Model)
Line 224: {
Line 225:
Line 226:
Line 227: #line default
Line 228: #line hidden
Line 229: WriteLiteral(" <div");
Line 230:
Line 231: WriteLiteral(" class=\"col-xl-3 col-lg-3 col-md-6 col-sm-6 col-12 my-2\"");
Line 232:
Line 233: WriteLiteral(">\r\n <a");
Line 234:
Line 235: WriteAttribute("href", Tuple.Create(" href=\"", 2205), Tuple.Create("\"", 2239)
Line 236: , Tuple.Create(Tuple.Create("", 2212), Tuple.Create("/", 2212), true)
Line 237:
Line 238: #line 52 "d:\inetpub\wwwroot\bimekscelik.com\wwwroot\Views\Kurumsal\Urunler.cshtml"
Line 239: , Tuple.Create(Tuple.Create("", 2213), Tuple.Create<System.Object, System.Int32>(dil
Line 240:
Line 241: #line default
Line 242: #line hidden
Line 243: , 2213), false)
Line 244: , Tuple.Create(Tuple.Create("", 2217), Tuple.Create("/", 2217), true)
Line 245:
Line 246: #line 52 "d:\inetpub\wwwroot\bimekscelik.com\wwwroot\Views\Kurumsal\Urunler.cshtml"
Line 247: , Tuple.Create(Tuple.Create("", 2218), Tuple.Create<System.Object, System.Int32>(UrunlerUrl
Line 248:
Line 249: #line default
Line 250: #line hidden
Line 251: , 2218), false)
Line 252: , Tuple.Create(Tuple.Create("", 2229), Tuple.Create("/", 2229), true)
Line 253:
Line 254: #line 52 "d:\inetpub\wwwroot\bimekscelik.com\wwwroot\Views\Kurumsal\Urunler.cshtml"
Line 255: , Tuple.Create(Tuple.Create("", 2230), Tuple.Create<System.Object, System.Int32>(item.Url
Line 256:
Line 257: #line default
Line 258: #line hidden
Line 259: , 2230), false)
Line 260: );
Line 261:
Line 262: WriteLiteral(" class=\"urun-btn\"");
Line 263:
Line 264: WriteLiteral(">\r\n <div");
Line 265:
Line 266: WriteLiteral(" class=\"product-div shadow\"");
Line 267:
Line 268: WriteLiteral(">\r\n <img");
Line 269:
Line 270: WriteAttribute("src", Tuple.Create(" src=\"", 2350), Tuple.Create("\"", 2385)
Line 271:
Line 272: #line 54 "d:\inetpub\wwwroot\bimekscelik.com\wwwroot\Views\Kurumsal\Urunler.cshtml"
Line 273: , Tuple.Create(Tuple.Create("", 2356), Tuple.Create<System.Object, System.Int32>(Global.ResimYolu
Line 274:
Line 275: #line default
Line 276: #line hidden
Line 277: , 2356), false)
Line 278: , Tuple.Create(Tuple.Create("", 2373), Tuple.Create("/", 2373), true)
Line 279:
Line 280: #line 54 "d:\inetpub\wwwroot\bimekscelik.com\wwwroot\Views\Kurumsal\Urunler.cshtml"
Line 281: , Tuple.Create(Tuple.Create("", 2374), Tuple.Create<System.Object, System.Int32>(item.Resim
Line 282:
Line 283: #line default
Line 284: #line hidden
Line 285: , 2374), false)
Line 286: );
Line 287:
Line 288: WriteLiteral(" width=\"100%\"");
Line 289:
Line 290: WriteAttribute("alt", Tuple.Create(" alt=\"", 2399), Tuple.Create("\"", 2417)
Line 291:
Line 292: #line 54 "d:\inetpub\wwwroot\bimekscelik.com\wwwroot\Views\Kurumsal\Urunler.cshtml"
Line 293: , Tuple.Create(Tuple.Create("", 2405), Tuple.Create<System.Object, System.Int32>(item.Baslik
Line 294:
Line 295: #line default
Line 296: #line hidden
Line 297: , 2405), false)
Line 298: );
Line 299:
Line 300: WriteLiteral(" class=\"img-fluid\"");
Line 301:
Line 302: WriteLiteral(">\r\n </div>\r\n <div");
Line 303:
Line 304: WriteLiteral(" class=\"product-title\"");
Line 305:
Line 306: WriteLiteral(">");
Line 307:
Line 308:
Line 309: #line 56 "d:\inetpub\wwwroot\bimekscelik.com\wwwroot\Views\Kurumsal\Urunler.cshtml"
Line 310: Write(item.Baslik);
Line 311:
Line 312:
Line 313: #line default
Line 314: #line hidden
Line 315: WriteLiteral("</div>\r\n </a>\r\n </div>\r\n");
Line 316:
Line 317:
Line 318: #line 59 "d:\inetpub\wwwroot\bimekscelik.com\wwwroot\Views\Kurumsal\Urunler.cshtml"
Line 319: }
Line 320:
Line 321:
Line 322: #line default
Line 323: #line hidden
Line 324: WriteLiteral(" </div>\r\n </div>\r\n</div>\r\n");
Line 325:
Line 326:
Line 327: #line 63 "d:\inetpub\wwwroot\bimekscelik.com\wwwroot\Views\Kurumsal\Urunler.cshtml"
Line 328: Write(Html.Action("AnasayfaIletisim", "Shared"));
Line 329:
Line 330:
Line 331: #line default
Line 332: #line hidden
Line 333: WriteLiteral("\r\n");
Line 334:
Line 335: DefineSection("scripts", () => {
Line 336:
Line 337: WriteLiteral(@"
Line 338: <script>document.documentElement.className = ""js""; var supportsCssVars = function () { var e, t = document.createElement(""style""); return t.innerHTML = ""root: { --tmp-var: bold; }"", document.head.appendChild(t), e = !!(window.CSS && window.CSS.supports && window.CSS.supports(""font-weight"", ""var(--tmp-var)"")), t.parentNode.removeChild(t), e }; supportsCssVars() || alert(""Please view this demo in a modern browser that supports CSS Variables."");</script>
Line 339: <script");
Line 340:
Line 341: WriteLiteral(" type=\"text/javascript\"");
Line 342:
Line 343: WriteLiteral(@">
Line 344: function scrollBanner() {
Line 345: $(document).scroll(function () {
Line 346: var scrollPos = $(this).scrollTop();
Line 347: $('#banner-text').css({
Line 348: 'top': (scrollPos / 3) + 'px',
Line 349: 'opacity': 1 - (scrollPos / 510)
Line 350: });
Line 351: $('#banner').css({
Line 352: 'background-position': 'center ' + (-scrollPos / 2) + 'px'
Line 353: });
Line 354: });
Line 355: }
Line 356: scrollBanner();
Line 357:
Line 358: window.onscroll = function () { scrollFunction() };
Line 359:
Line 360: var navbar = document.getElementById(""navbar"");
Line 361: var sticky = navbar.offsetTop;
Line 362:
Line 363: function scrollFunction() {
Line 364: if (document.body.scrollTop > 80 || document.documentElement.scrollTop > 80) {
Line 365: navbar.classList.add(""sticky"")
Line 366: } else {
Line 367: navbar.classList.remove(""sticky"");
Line 368: }
Line 369: }
Line 370: </script>
Line 371:
Line 372: <script");
Line 373:
Line 374: WriteLiteral(" type=\"text/javascript\"");
Line 375:
Line 376: WriteLiteral(@">
Line 377: var heroShinker = function () {
Line 378: var hero = $('.hero-nav'),
Line 379: heroHeight = $('.hero-nav').outerHeight(true);
Line 380: $(hero).parent().css('padding-top', heroHeight);
Line 381: $(window).scroll(function () {
Line 382: var scrollOffset = $(window).scrollTop();
Line 383: if (scrollOffset < heroHeight) {
Line 384: $(hero).css('height', (heroHeight - scrollOffset));
Line 385: }
Line 386: if (scrollOffset > (heroHeight - 215)) {
Line 387: hero.addClass('fixme');
Line 388: } else {
Line 389: hero.removeClass('fixme');
Line 390: };
Line 391: });
Line 392: }
Line 393: heroShinker();
Line 394: </script>
Line 395:
Line 396:
Line 397: <script");
Line 398:
Line 399: WriteLiteral(" type=\"text/javascript\"");
Line 400:
Line 401: WriteLiteral(@">
Line 402: $(document).ready(function () {
Line 403: var qsp = 'UID',
Line 404: para = getUrlParameter(qsp);
Line 405: var scroll = 200 + (Number(para) * 200);
Line 406: $(window).scrollTop(scroll);
Line 407: });
Line 408:
Line 409:
Line 410:
Line 411:
Line 412: function getUrlParameter(name) {
Line 413: name = name.replace(/[\[]/, ""\\["").replace(/[\]]/, ""\\]"");
Line 414: var regex = new RegExp(""[\\?&]"" + name + ""=([^&#]*)""),
Line 415: results = regex.exec(location.search);
Line 416: return results === null ? """" : decodeURIComponent(results[1].replace(/\+/g, "" ""));
Line 417: }
Line 418:
Line 419: </script>
Line 420:
Line 421:
Line 422: ");
Line 423:
Line 424: });
Line 425:
Line 426: WriteLiteral("\r\n");
Line 427:
Line 428: }
Line 429: }
Line 430: }
Line 431:
|