Error compiling template "Designs/Mobler/_parsed/FAQ-questions.parsed.cshtml"
Line 1048: 'Services' is obsolete: 'Use Dynamicweb.Content.Services instead.'
Line 1048: 'Services.Pages' is obsolete: 'Use Dynamicweb.Content.Services.Pages instead.'
Line 1049: The name 'MoblerHelpers' does not exist in the current context
Line 1118: 'Services' is obsolete: 'Use Dynamicweb.Content.Services instead.'
Line 1118: 'Services.Pages' is obsolete: 'Use Dynamicweb.Content.Services.Pages instead.'
Line 156: The variable 'FirstShopWithSameName' is assigned but its value is never used

1 //------------------------------------------------------------------------------ 2 // <auto-generated> 3 // This code was generated by a tool. 4 // Runtime Version:4.0.30319.42000 5 // 6 // Changes to this file may cause incorrect behavior and will be lost if 7 // the code is regenerated. 8 // </auto-generated> 9 //------------------------------------------------------------------------------ 10 11 namespace CompiledRazorTemplates.Dynamic { 12 using System; 13 using System.Collections.Generic; 14 using System.Linq; 15 16 #line 1 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 17 using System.Web; 18 19 #line default 20 #line hidden 21 22 #line 2 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 23 using System.Text.RegularExpressions; 24 25 #line default 26 #line hidden 27 28 #line 3 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 29 using Dynamicweb.Core.Helpers; 30 31 #line default 32 #line hidden 33 34 #line 4 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 35 using Dynamicweb.Frontend.Navigation; 36 37 #line default 38 #line hidden 39 40 #line 5 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 41 using Dynamicweb.Rendering.Translation; 42 43 #line default 44 #line hidden 45 46 #line 6 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 47 using Newtonsoft.Json; 48 49 #line default 50 #line hidden 51 52 #line 7 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 53 using NuGet; 54 55 #line default 56 #line hidden 57 58 #line 8 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 59 using Mobler.Website.CustomCode.Models; 60 61 #line default 62 #line hidden 63 64 #line 9 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 65 using Vite.Dw.Extensions; 66 67 #line default 68 #line hidden 69 70 #line 10 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 71 using HttpUtility = System.Web.HttpUtility; 72 73 #line default 74 #line hidden 75 76 #line 11 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 77 using Mobler.Website.CustomCode.Frontend.V2.Helpers; 78 79 #line default 80 #line hidden 81 82 #line 303 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 83 using Mobler.Website.CustomModules.MoblerHelpers; 84 85 #line default 86 #line hidden 87 88 #line 304 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 89 using Dynamicweb.Content.Items; 90 91 #line default 92 #line hidden 93 94 95 public class RazorEngine_cc520b126ce847c28e2589508c996ac5 : Dynamicweb.Rendering.RazorTemplateBase<Dynamicweb.Rendering.RazorTemplateModel<Dynamicweb.Rendering.Template>> { 96 97 #line hidden 98 99 public RazorEngine_cc520b126ce847c28e2589508c996ac5() { 100 } 101 102 public override void Execute() { 103 WriteLiteral("\r\n"); 104 105 106 #line 15 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 107 108 string CurrentEcomShopId = Dynamicweb.Frontend.PageView.Current().Area.EcomShopId; 109 string CurrentEcomLanguageId = Dynamicweb.Ecommerce.Common.Context.LanguageID; 110 string MainShopLink = Firstweb.Custom.CustomCode.Frontend.Helpers.AreaItems.GetString("MainShopLink"); 111 string shopname = Website.GetShopName(); 112 string shopnameEncoded = HttpUtility.UrlEncode(shopname); 113 var shopInfo = Website.ShopInfo(); 114 string globalAreaName = GetGlobalValue("Global:Area.Name"); 115 116 string culture = Dynamicweb.Frontend.PageView.Current().Area.Culture; 117 string designFolder = Dynamicweb.Frontend.PageView.Current().Area.Layout.Design.Name; 118 119 string logoSrc = ""; 120 string logoSrcMobile = ""; 121 122 if (shopname.ToLower() != "møblér" && shopname.ToLower() != "mobler" && shopname.ToLower() != "m%c3%b8bl%c3%a9r" && !string.IsNullOrEmpty(shopname)) 123 { 124 logoSrc = "/Files/Templates/Designs/Mobler/dist/logos/mobler-" + shopname.Replace(" ", "").ToLower() + ".svg"; 125 logoSrcMobile = "/Files/Templates/Designs/Mobler/dist/logos/mobler-" + shopname.Replace(" ", "").ToLower() + "-mobile.svg"; 126 } else { 127 logoSrc = "/Files/Templates/Designs/Mobler/dist/logos/mobler.svg"; 128 logoSrcMobile = "/Files/Templates/Designs/Mobler/dist/logos/mobler.svg"; 129 } 130 131 //this defines a shoppage 132 if (GetString("Item.SystemName") == "TextPage") 133 { 134 shopname = GetString("DwPageName_2"); 135 } 136 137 string imageName = shopname.Replace(" ", string.Empty) + "-owner.png"; 138 string localShopPage = Website.localshopPage(); 139 string FindDealerPage = GetString("Item.Area.FindDealerPage"); 140 string CartPage = Firstweb.Custom.CustomCode.Frontend.Helpers.AreaItems.GetString("CartPage"); 141 142 string SearchNoResults = Firstweb.Custom.CustomCode.Frontend.Helpers.AreaItems.GetString("NoResults"); 143 string SearchPagePageSize = Firstweb.Custom.CustomCode.Frontend.Helpers.AreaItems.GetString("SearchPagePageSize") != "0" ? Firstweb.Custom.CustomCode.Frontend.Helpers.AreaItems.GetString("SearchPagePageSize") : "20"; 144 string InstantSearchSize = Firstweb.Custom.CustomCode.Frontend.Helpers.AreaItems.GetString("InstantsearchPageSize") != "0" ? Firstweb.Custom.CustomCode.Frontend.Helpers.AreaItems.GetString("InstantsearchPageSize") : "10"; 145 146 string SearchResultPageId = ""; 147 if (Firstweb.Custom.CustomCode.Frontend.Helpers.AreaItems.GetString("SearchResultPage").Split('=').Length > 1) 148 { 149 SearchResultPageId = Firstweb.Custom.CustomCode.Frontend.Helpers.AreaItems.GetString("SearchResultPage").Split('=')[1]; 150 } 151 string FooterLinkDestination = Firstweb.Custom.CustomCode.Frontend.Helpers.AreaItems.GetString("Link"); 152 int ShopPageId = GetInteger("Item.Area.ShopPageId"); 153 string SearchBarPlaceholder = Translate("SearchbarPlaceholderText", "S&oslash;g.."); 154 int GlobalNewsletterParagraphId = Firstweb.Custom.CustomCode.Frontend.Helpers.AreaItems.GetInt("GlobalNewsletterParagraphId"); 155 int CartCount = GetLoop("OrderLines").Count; 156 bool FirstShopWithSameName = true; 157 string SelectPlaceholder = Translate("ShopSelectPlaceholder", "Indtast by, postnummer eller adresse"); 158 string SelectNoResult = Translate("ShopSelectNoResult", "No such shop found"); 159 int ProductPage = Firstweb.Custom.CustomCode.Frontend.Helpers.AreaItems.GetInt("PrimaryProductPage"); 160 161 DateTime today = DateTime.Today; 162 string currentYear = today.ToString("yyyy"); 163 164 string BannerBackgroundColor = GetString("Item.Area.BannerBackgroundColor"); 165 string BannerTextColor = GetString("Item.Area.BannerTextColor"); 166 var TopBarNav = GetLoop("Item.Area.TopBarNavigation"); 167 var TopbarHeaderContent = GetLoop("Item.Area.TopbarHeaderContent"); 168 string TilbudBgColor = !String.IsNullOrEmpty(GetString("Item.Area.TilbudBackgroundColor.Value")) ? GetString("Item.Area.TilbudBackgroundColor.Value") : "#00AB5D"; 169 string TilbudTextColor = !String.IsNullOrEmpty(GetString("Item.Area.TilbudTextColor.Value")) ? GetString("Item.Area.TilbudTextColor.Value") : "#FFFFFF"; 170 string StrongPriceBgColor = !String.IsNullOrEmpty(GetString("Item.Area.St_rkPrisBackgroundColor.Value")) ? GetString("Item.Area.St_rkPrisBackgroundColor.Value") : "#9d4778"; 171 string StrongPriceTextColor = !String.IsNullOrEmpty(GetString("Item.Area.St_rkPrisTextColor.Value")) ? GetString("Item.Area.St_rkPrisTextColor.Value") : "#FFFFFF"; 172 var uniqueSellingPoints = GetLoop("Item.Area.UniqueSellingPoints"); 173 string CookieText = Firstweb.Custom.CustomCode.Frontend.Helpers.AreaItems.GetString("CookieText"); 174 string CookieReadMore = Firstweb.Custom.CustomCode.Frontend.Helpers.AreaItems.GetString("CookieReadMoreText"); 175 var TopLevelGroups = Dynamicweb.Ecommerce.Services.ProductGroups.GetToplevelGroups().Where(g => g.ShopId == CurrentEcomShopId && g.LanguageId == CurrentEcomLanguageId && g.NavigationShowInMenu).ToList(); 176 string CurrentUri = HttpContext.Current.Request.Url.PathAndQuery.ToString().Replace("/Default.aspx", "Default.aspx"); 177 string convertedUri = Dynamicweb.Frontend.SearchEngineFriendlyURLs.GetFriendlyUrl(CurrentUri); 178 string CanonicalUri = Website.createCanonical(); 179 string CanonicalDomain = "mobler.dk"; 180 if (Website.IsLocalWebshop()) 181 { 182 CanonicalDomain = System.Web.HttpContext.Current.Request.Url.Host; 183 } 184 string CanonicalURL = "https://" + CanonicalDomain + CanonicalUri; 185 string AvisLink = Firstweb.Custom.CustomCode.Frontend.Helpers.AreaItems.GetString("Avis"); 186 string FindShopSearchPlaceholder = Translate("HeaderNav.FindShopPlaceholder", "Indtast postnr., by eller adresse"); 187 string SetBannerEndpoint = Firstweb.Custom.CustomCode.Frontend.Helpers.AreaItems.GetString("GetCartJson"); 188 bool ShowTopBanner = Mobler.Website.CustomCode.Frontend.V2.Helpers.MessageBanner.ShowMessageBanner(); 189 bool EnableTopBarHeader = GetBoolean("Item.Area.EnableTopBarHeader.Value"); 190 bool EnableTopBarNavigation = GetBoolean("Item.Area.EnableTopBarBanner.Value") && ShowTopBanner; 191 192 bool EnableGoogleShoppingScript = GetBoolean("Item.Area.EnableGoogleShoppingScript.Value"); 193 string GoogleShoppingContentKey = GetString("Item.Area.GoogleShoppingContentKey.Value"); 194 195 bool EnableFacebookScript = GetBoolean("Item.Area.EnableFacebookScript.Value"); 196 string FacebookScriptContentKey = GetString("Item.Area.FacebookScriptContentKey.Value"); 197 string PinterestDomainVerifyContentKey = GetString("Item.Area.PinterestDomainVerifyContentKey.Value"); 198 199 bool IsCheckoutStep = false || HttpContext.Current.Request.RawUrl.Contains("checkout"); 200 bool isCheckoutFirstStep = false || HttpContext.Current.Request.RawUrl.Contains("indkoebskurv"); 201 202 203 #line default 204 #line hidden 205 WriteLiteral("\r\n\r\n<!doctype html>\r\n<html"); 206 207 WriteLiteral(" lang=\"da\""); 208 209 WriteLiteral(" class=\"box-border w-screen\""); 210 211 WriteLiteral(@"> 212 213 <head> 214 <script> 215 // Temporary workaround for hiding the Cookiebot banner from Web Vitals scans 216 // https://support.cookiebot.com/hc/en-us/articles/360020501579-Google-Core-Web-Vitals-and-Cookiebot-CMP#h_01H05PZGDJ2TGTZBP5R1FC8EMH 217 window.addEventListener(""CookiebotOnDialogInit"", function() { 218 if (Cookiebot.getDomainUrlParam(""CookiebotScan"") === ""true"") 219 Cookiebot.setOutOfRegion(); 220 }); 221 </script> 222 <script"); 223 224 WriteLiteral(" id=\"Cookiebot\""); 225 226 WriteLiteral(" src=\"https://consent.cookiebot.com/uc.js\""); 227 228 WriteLiteral(" data-cbid=\"ec05aeab-ec7b-4d91-81fc-a8ebbcce1f2f\""); 229 230 WriteLiteral(" data-blockingmode=\"auto\""); 231 232 WriteLiteral(" type=\"text/javascript\""); 233 234 WriteLiteral("></script>\r\n\t<script"); 235 236 WriteLiteral(" data-cookieconsent=\"ignore\""); 237 238 WriteLiteral(@"> 239 window.domGaTrackingEvents = []; 240 window.domFbqTrackingEvents = []; 241 242 window.dataLayer = window.dataLayer || []; 243 function gtag() { 244 dataLayer.push(arguments); 245 } 246 gtag(""consent"", ""default"", { 247 ad_storage: ""denied"", 248 analytics_storage: ""denied"", 249 functionality_storage: ""denied"", 250 personalization_storage: ""denied"", 251 security_storage: ""granted"", 252 wait_for_update: 500, 253 }); 254 gtag(""set"", ""ads_data_redaction"", true); 255 gtag(""set"", ""url_passthrough"", true); 256 </script> 257 "); 258 259 WriteLiteral("\r\n\t<script>\r\n\t\tvar ecomm_pagetype = \"other\";\r\n\t\tvar ecomm_totalvalue = 0;\r\n\t\tvar " + 260 "ecomm_prodid = \"\";\r\n\t</script>\r\n"); 261 262 WriteLiteral("\t"); 263 264 265 #line 149 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 266 Write(RenderSnippet("DataLayerOverwrites")); 267 268 269 #line default 270 #line hidden 271 WriteLiteral("\r\n\r\n"); 272 273 WriteLiteral("\t"); 274 275 276 #line 151 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 277 Write(RenderSnippet("DataLayerOverwriteReceipt")); 278 279 280 #line default 281 #line hidden 282 WriteLiteral("\r\n\r\n\t<!-- Google Tag Manager -->\r\n\t<script"); 283 284 WriteLiteral(" data-cookieconsent=\"ignore\""); 285 286 WriteLiteral(">!function () { \"use strict\"; function e(e) { return function (e) { for (var t = " + 287 "0, r = document.cookie.split(\";\"); t < r.length; t++) { var n = r[t].split(\"=\");" + 288 " if (n[0].trim() === e) return n[1] } }(e) } function t(e) { return localStorage" + 289 ".getItem(e) } function r(e) { return window[e] } function n(e, t) { var r = docu" + 290 "ment.querySelector(e); return t ? null == r ? void 0 : r.getAttribute(t) : null " + 291 "== r ? void 0 : r.textContent } !function (o, i, a, c, u, l, s, v, d, f, g) { va" + 292 "r E, I, m, T; try { I = d && (m = navigator.userAgent, (T = new RegExp(\"Version/" + 293 "([0-9._]+)(.*Mobile)?.*Safari.*\").exec(m)) && parseFloat(T[1]) >= 16.4) ? functi" + 294 "on (o, i, a) { void 0 === i && (i = \"\"); var c = { cookie: e, localStorage: t, j" + 295 "sVariable: r, cssSelector: n }, u = Array.isArray(i) ? i : [i]; if (o && c[o]) f" + 296 "or (var l = c[o], s = 0, v = u; s < v.length; s++) { var d = v[s], f = a ? l(d, " + 297 "a) : l(d); if (f) return f } else console.warn(\"invalid uid source\", o) }(d, \"us" + 298 "er_id\", \"\") : void 0 } catch (e) { console.error(e) } var _ = o; _[c] = _[c] || " + 299 "[], _[c].push({ \"gtm.start\": (new Date).getTime(), event: \"gtm.js\" }); var p = i" + 300 ".getElementsByTagName(a)[0], A = I ? \"&bi=\" + encodeURIComponent(I) : \"\", N = i." + 301 "createElement(a), D = I ? \"kp\" + v : v, R = !I && s ? s : \"https://gtm.mobler.dk" + 302 "\"; N.async = !0, N.src = R + \"/\" + D + \".js?id=GTM-PN9ZSS\" + A, null === (E = p." + 303 "parentNode) || void 0 === E || E.insertBefore(N, p) }(window, document, \"script\"" + 304 ", \"dataLayer\", 0, 0, \"\", \"rcuxkqbl\", \"cookie\") }();</script>\r\n\t<!-- End Google T" + 305 "ag Manager -->\r\n\t<!-- Required meta tags -->\r\n\t<meta"); 306 307 WriteLiteral(" charset=\"utf-8\""); 308 309 WriteLiteral(">\r\n\t<meta"); 310 311 WriteLiteral(" name=\"viewport\""); 312 313 WriteLiteral(" content=\"width=device-width, initial-scale=1, shrink-to-fit=no\""); 314 315 WriteLiteral(">\r\n\t\r\n"); 316 317 318 #line 160 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 319 320 321 #line default 322 #line hidden 323 324 #line 160 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 325 if (string.IsNullOrEmpty(Dynamicweb.Context.Current.Request["productid"])) 326 { 327 328 329 330 331 #line default 332 #line hidden 333 WriteLiteral("\t\t<title>"); 334 335 336 #line 164 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 337 Write(GetValue("Title")); 338 339 340 #line default 341 #line hidden 342 WriteLiteral("</title>\r\n"); 343 344 345 #line 165 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 346 347 348 #line default 349 #line hidden 350 351 #line 165 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 352 Write(GetValue("MetaTags")); 353 354 355 #line default 356 #line hidden 357 358 #line 165 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 359 360 361 362 #line default 363 #line hidden 364 365 #line 166 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 366 Write(GetValue("CopyRightNotice")); 367 368 369 #line default 370 #line hidden 371 372 #line 166 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 373 374 375 } 376 else 377 { 378 379 380 #line default 381 #line hidden 382 383 #line 171 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 384 Write(RenderSnippet("ProductDetailsMeta")); 385 386 387 #line default 388 #line hidden 389 390 #line 171 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 391 392 } 393 394 395 #line default 396 #line hidden 397 WriteLiteral("\r\n"); 398 399 400 #line 174 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 401 402 403 #line default 404 #line hidden 405 406 #line 174 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 407 if ((Mobler.Website.CustomCode.Frontend.Helper.IsLocalWebshop() && !System.Web.HttpContext.Current.Request.RawUrl.ToLower().EndsWith("/om-os")) || (System.Web.HttpContext.Current.Request.Url.Host.ToLower().Contains("1stweb") && !System.Web.HttpContext.Current.Request.Url.PathAndQuery.ToLower().Contains("debug")) || System.Web.HttpContext.Current.Request.Url.AbsoluteUri.ToLower().Contains("groupid=pim-")) 408 { 409 410 411 #line default 412 #line hidden 413 WriteLiteral("\t\t<meta"); 414 415 WriteLiteral(" name=\"robots\""); 416 417 WriteLiteral(" content=\"noindex\""); 418 419 WriteLiteral(">\r\n"); 420 421 422 #line 177 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 423 } 424 425 426 #line default 427 #line hidden 428 WriteLiteral("\r\n"); 429 430 431 #line 179 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 432 433 434 #line default 435 #line hidden 436 437 #line 179 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 438 if (!Mobler.Website.CustomCode.Frontend.Helper.IsLocalWebshop()) 439 { 440 441 442 #line default 443 #line hidden 444 WriteLiteral("\t\t<link"); 445 446 WriteLiteral(" rel=\"canonical\""); 447 448 WriteAttribute("href", Tuple.Create(" href=\"", 10978), Tuple.Create("\"", 10998) 449 450 #line 181 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 451 , Tuple.Create(Tuple.Create("", 10985), Tuple.Create<System.Object, System.Int32>(CanonicalURL 452 453 #line default 454 #line hidden 455 , 10985), false) 456 ); 457 458 WriteLiteral(">\r\n"); 459 460 461 #line 182 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 462 } 463 464 465 #line default 466 #line hidden 467 WriteLiteral("\t<meta"); 468 469 WriteLiteral(" property=\"og:url\""); 470 471 WriteAttribute("content", Tuple.Create(" content=\"", 11030), Tuple.Create("\"", 11053) 472 473 #line 183 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 474 , Tuple.Create(Tuple.Create("", 11040), Tuple.Create<System.Object, System.Int32>(CanonicalURL 475 476 #line default 477 #line hidden 478 , 11040), false) 479 ); 480 481 WriteLiteral(">\r\n\t<meta"); 482 483 WriteLiteral(" property=\"og:title\""); 484 485 WriteAttribute("content", Tuple.Create(" content=\"", 11083), Tuple.Create("\"", 11112) 486 487 #line 184 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 488 , Tuple.Create(Tuple.Create("", 11093), Tuple.Create<System.Object, System.Int32>(GetValue(" title") 489 490 #line default 491 #line hidden 492 , 11093), false) 493 ); 494 495 WriteLiteral("=\"\">\r\n\r\n\t<link"); 496 497 WriteLiteral(" rel=\"shortcut icon\""); 498 499 WriteLiteral(" type=\"image/ico\""); 500 501 WriteLiteral(" href=\"/Files/Templates/Designs/Mobler2016/images/icons/favicon.ico\""); 502 503 WriteLiteral(">\r\n\r\n"); 504 505 506 #line 188 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 507 508 509 #line default 510 #line hidden 511 512 #line 188 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 513 if (GetString("Item.SystemName") == "BlogPost") 514 { 515 string imageMasterPage = GetString("Item.Billede.Value"); 516 string TeaserText = Regex.Replace(GetString("Item.TeaserTekst"), "<.*?>", String.Empty); 517 518 519 #line default 520 #line hidden 521 WriteLiteral("\t\t<meta"); 522 523 WriteLiteral(" property=\"og:type\""); 524 525 WriteLiteral(" content=\"article\""); 526 527 WriteLiteral(">\r\n"); 528 529 WriteLiteral("\t\t<meta"); 530 531 WriteLiteral(" property=\"og:description\""); 532 533 WriteAttribute("content", Tuple.Create(" content=\"", 11525), Tuple.Create("\"", 11546) 534 535 #line 193 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 536 , Tuple.Create(Tuple.Create("", 11535), Tuple.Create<System.Object, System.Int32>(TeaserText 537 538 #line default 539 #line hidden 540 , 11535), false) 541 ); 542 543 WriteLiteral(">\r\n"); 544 545 WriteLiteral("\t\t<meta"); 546 547 WriteLiteral(" property=\"og:image\""); 548 549 WriteAttribute("content", Tuple.Create(" content=\"", 11577), Tuple.Create("\"", 11603) 550 551 #line 194 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 552 , Tuple.Create(Tuple.Create("", 11587), Tuple.Create<System.Object, System.Int32>(imageMasterPage 553 554 #line default 555 #line hidden 556 , 11587), false) 557 ); 558 559 WriteLiteral(">\r\n"); 560 561 562 #line 195 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 563 } 564 else if (GetString("Item.SystemName") == "Brand") 565 { 566 string imageMasterPage = GetString("Item.Logo.Value"); 567 string TeaserText = GetString("Item.Navn"); 568 569 570 #line default 571 #line hidden 572 WriteLiteral("\t\t<meta"); 573 574 WriteLiteral(" property=\"og:type\""); 575 576 WriteLiteral(" content=\"article\""); 577 578 WriteLiteral(">\r\n"); 579 580 WriteLiteral("\t\t<meta"); 581 582 WriteLiteral(" property=\"og:description\""); 583 584 WriteAttribute("content", Tuple.Create(" content=\"", 11852), Tuple.Create("\"", 11873) 585 586 #line 201 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 587 , Tuple.Create(Tuple.Create("", 11862), Tuple.Create<System.Object, System.Int32>(TeaserText 588 589 #line default 590 #line hidden 591 , 11862), false) 592 ); 593 594 WriteLiteral(">\r\n"); 595 596 WriteLiteral("\t\t<meta"); 597 598 WriteLiteral(" property=\"og:image\""); 599 600 WriteAttribute("content", Tuple.Create(" content=\"", 11904), Tuple.Create("\"", 11930) 601 602 #line 202 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 603 , Tuple.Create(Tuple.Create("", 11914), Tuple.Create<System.Object, System.Int32>(imageMasterPage 604 605 #line default 606 #line hidden 607 , 11914), false) 608 ); 609 610 WriteLiteral(">\r\n"); 611 612 613 #line 203 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 614 } 615 else if (System.Web.HttpContext.Current.Items["OverrideOgTags"] != null) 616 { 617 618 619 #line default 620 #line hidden 621 622 #line 206 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 623 Write(RenderSnippet("OgTags")); 624 625 626 #line default 627 #line hidden 628 629 #line 206 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 630 631 } 632 else 633 { 634 635 636 #line default 637 #line hidden 638 WriteLiteral("\t\t<meta"); 639 640 WriteLiteral(" property=\"og:type\""); 641 642 WriteLiteral(" content=\"business.business\""); 643 644 WriteLiteral(">\r\n"); 645 646 WriteLiteral("\t\t<meta"); 647 648 WriteLiteral(" property=\"og:description\""); 649 650 WriteAttribute("content", Tuple.Create(" content=\"", 12150), Tuple.Create("\"", 12191) 651 652 #line 211 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 653 , Tuple.Create(Tuple.Create("", 12160), Tuple.Create<System.Object, System.Int32>(GetString(" meta.description") 654 655 #line default 656 #line hidden 657 , 12160), false) 658 ); 659 660 WriteLiteral("=\"\">\r\n"); 661 662 WriteLiteral("\t\t<meta"); 663 664 WriteLiteral(" property=\"og:image\""); 665 666 WriteLiteral(" content=\"https://mobler.dk/Files/Templates/Designs/Mobler2018/dist/logos/mobler." + 667 "svg\""); 668 669 WriteLiteral(">\r\n"); 670 671 672 #line 213 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 673 } 674 675 676 #line default 677 #line hidden 678 WriteLiteral("\r\n\r\n"); 679 680 681 #line 216 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 682 683 684 #line default 685 #line hidden 686 687 #line 216 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 688 if (EnableGoogleShoppingScript && !string.IsNullOrEmpty(GoogleShoppingContentKey)) 689 { 690 691 692 #line default 693 #line hidden 694 WriteLiteral("\t\t<meta"); 695 696 WriteLiteral(" name=\"google-site-verification\""); 697 698 WriteAttribute("content", Tuple.Create(" content=\"", 12450), Tuple.Create("\"", 12485) 699 700 #line 218 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 701 , Tuple.Create(Tuple.Create("", 12460), Tuple.Create<System.Object, System.Int32>(GoogleShoppingContentKey 702 703 #line default 704 #line hidden 705 , 12460), false) 706 ); 707 708 WriteLiteral(">\r\n"); 709 710 711 #line 219 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 712 } 713 714 715 #line default 716 #line hidden 717 WriteLiteral("\r\n"); 718 719 720 #line 221 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 721 722 723 #line default 724 #line hidden 725 726 #line 221 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 727 if (EnableFacebookScript && !string.IsNullOrEmpty(FacebookScriptContentKey)) 728 { 729 730 731 #line default 732 #line hidden 733 WriteLiteral("\t\t<meta"); 734 735 WriteLiteral(" name=\"facebook-domain-verification\""); 736 737 WriteAttribute("content", Tuple.Create(" content=\"", 12622), Tuple.Create("\"", 12657) 738 739 #line 223 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 740 , Tuple.Create(Tuple.Create("", 12632), Tuple.Create<System.Object, System.Int32>(FacebookScriptContentKey 741 742 #line default 743 #line hidden 744 , 12632), false) 745 ); 746 747 WriteLiteral(">\r\n"); 748 749 750 #line 224 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 751 } 752 753 754 #line default 755 #line hidden 756 WriteLiteral("\r\n"); 757 758 759 #line 226 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 760 761 762 #line default 763 #line hidden 764 765 #line 226 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 766 if (EnableFacebookScript && !string.IsNullOrEmpty(PinterestDomainVerifyContentKey)) 767 { 768 769 770 #line default 771 #line hidden 772 WriteLiteral("\t\t<meta"); 773 774 WriteLiteral(" name=\"p:domain_verify\""); 775 776 WriteAttribute("content", Tuple.Create(" content=\"", 12788), Tuple.Create("\"", 12830) 777 778 #line 228 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 779 , Tuple.Create(Tuple.Create("", 12798), Tuple.Create<System.Object, System.Int32>(PinterestDomainVerifyContentKey 780 781 #line default 782 #line hidden 783 , 12798), false) 784 ); 785 786 WriteLiteral(">\r\n"); 787 788 789 #line 229 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 790 } 791 792 793 #line default 794 #line hidden 795 WriteLiteral("\r\n"); 796 797 WriteLiteral("\t"); 798 799 800 #line 231 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 801 Write(Pageview.AddViteStyles()); 802 803 804 #line default 805 #line hidden 806 WriteLiteral("\r\n\r\n\t<link"); 807 808 WriteLiteral(" rel=\"preconnect\""); 809 810 WriteLiteral(" href=\"https://content.cylindo.com\""); 811 812 WriteLiteral(" crossorigin=\"\""); 813 814 WriteLiteral(">\r\n\r\n\r\n"); 815 816 817 #line 236 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 818 Write(GetValue("Stylesheets")); 819 820 821 #line default 822 #line hidden 823 WriteLiteral("\r\n"); 824 825 826 #line 237 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 827 Write(GetValue("Javascripts")); 828 829 830 #line default 831 #line hidden 832 WriteLiteral("\r\n</head>\r\n"); 833 834 835 #line 239 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 836 837 bool isBlackFriday = Firstweb.Custom.CustomCode.Frontend.Helpers.AreaItems.GetBoolean("BlackFridayTheme"); 838 string blackFridayThemeClass = isBlackFriday ? "theme--black-friday" : ""; 839 840 841 #line default 842 #line hidden 843 WriteLiteral("\r\n<body"); 844 845 WriteAttribute("class", Tuple.Create(" class=\"", 13209), Tuple.Create("\"", 13257) 846 847 #line 243 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 848 , Tuple.Create(Tuple.Create("", 13217), Tuple.Create<System.Object, System.Int32>(blackFridayThemeClass 849 850 #line default 851 #line hidden 852 , 13217), false) 853 , Tuple.Create(Tuple.Create(" ", 13239), Tuple.Create("overflow-x-hidden", 13240), true) 854 ); 855 856 WriteLiteral(" data-bind=\"viewModel: \'MasterViewModel\', Cookies\""); 857 858 WriteLiteral(" data-currentshopislocalwebshop=\""); 859 860 861 #line 243 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 862 Write(Mobler.Website.CustomCode.Frontend.Helper.IsLocalWebshop()); 863 864 865 #line default 866 #line hidden 867 WriteLiteral("\""); 868 869 WriteLiteral(" data-mainshoplink=\""); 870 871 872 #line 243 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 873 Write(MainShopLink); 874 875 876 #line default 877 #line hidden 878 WriteLiteral("\""); 879 880 WriteLiteral(" data-culture=\""); 881 882 883 #line 243 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 884 Write(culture); 885 886 887 #line default 888 #line hidden 889 WriteLiteral("\""); 890 891 WriteLiteral(" data-design=\""); 892 893 894 #line 243 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 895 Write(designFolder); 896 897 898 #line default 899 #line hidden 900 WriteLiteral("\""); 901 902 WriteLiteral(">\r\n\r\n\t<!-- Google Tag Manager (noscript) -->\r\n\t<noscript><iframe"); 903 904 WriteLiteral(" src=\"https://gtm.mobler.dk/ns.html?id=GTM-PN9ZSS\""); 905 906 WriteLiteral(" height=\"0\""); 907 908 WriteLiteral(" width=\"0\""); 909 910 WriteLiteral(" style=\"display:none;visibility:hidden\""); 911 912 WriteLiteral("></iframe></noscript>\r\n\t<!-- End Google Tag Manager (noscript) -->\r\n\r\n\t<siteheade" + 913 "r></siteheader>\r\n\r\n\t<div"); 914 915 WriteLiteral(" data-bind=\"viewModel: \'HeaderViewModel\'\""); 916 917 WriteLiteral(">\r\n\t\t<header"); 918 919 WriteLiteral(" class=\"js-header\""); 920 921 WriteLiteral(">\r\n\r\n\t\t\t<!-- TODO: Add logic to SiteHeader -->\r\n"); 922 923 924 #line 255 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 925 926 927 #line default 928 #line hidden 929 930 #line 255 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 931 if (EnableTopBarNavigation && !IsCheckoutStep && TopBarNav != null) 932 { 933 dynamic NotificationData = new 934 { 935 bannerStyle = new 936 { 937 backgroundColor = BannerBackgroundColor, 938 textColor = BannerTextColor 939 }, 940 bannerContent = TopBarNav.Select(item => new 941 { 942 link = item.GetString("Item.Area.TopBarNavigation.NavItemLink"), 943 text = item.GetString("Item.Area.TopBarNavigation.NavItemText") 944 }).ToList() 945 }; 946 object NotificationDataJson = HttpUtility.HtmlAttributeEncode(Newtonsoft.Json.JsonConvert.SerializeObject(NotificationData)); 947 948 949 #line default 950 #line hidden 951 WriteLiteral("\t\t\t\t<script>//console.log(\"%cNotificationDataJson\", \"color:white;background:rebec" + 952 "capurple;padding:5px;\", "); 953 954 955 #line 271 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 956 Write(Newtonsoft.Json.JsonConvert.SerializeObject(NotificationData, new Newtonsoft.Json.JsonSerializerSettings {ReferenceLoopHandling = Newtonsoft.Json.ReferenceLoopHandling.Ignore, PreserveReferencesHandling = Newtonsoft.Json.PreserveReferencesHandling.Objects})); 957 958 959 #line default 960 #line hidden 961 WriteLiteral(");</script>\r\n"); 962 963 964 #line 272 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 965 966 967 968 #line default 969 #line hidden 970 WriteLiteral("\t\t\t\t<notificationelement"); 971 972 WriteLiteral(" data-theme=\"info\""); 973 974 WriteLiteral(" data-content=\""); 975 976 977 #line 273 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 978 Write(NotificationDataJson); 979 980 981 #line default 982 #line hidden 983 WriteLiteral("\""); 984 985 WriteLiteral("></notificationelement>\r\n"); 986 987 988 #line 274 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 989 990 991 #line default 992 #line hidden 993 994 #line 297 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 995 996 } 997 998 999 #line default 1000 #line hidden 1001 WriteLiteral("\t\t</header>\r\n\t\t<localshopmodal"); 1002 1003 WriteLiteral(" data-show=\"false\""); 1004 1005 WriteLiteral(" data-text=\""); 1006 1007 1008 #line 300 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 1009 Write(GetString(" item.area.localwebshoptext")); 1010 1011 1012 #line default 1013 #line hidden 1014 WriteLiteral("\""); 1015 1016 WriteLiteral("=\"\" data-shop-name=\""); 1017 1018 1019 #line 300 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 1020 Write(shopnameEncoded); 1021 1022 1023 #line default 1024 #line hidden 1025 WriteLiteral("\" data-is-local-shop=\""); 1026 1027 1028 #line 300 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 1029 Write(Mobler.Website.CustomCode.Frontend.Helper.IsLocalWebshop().ToString().ToLower()); 1030 1031 1032 #line default 1033 #line hidden 1034 WriteLiteral("\"></localshopmodal>\r\n\t</div>\r\n\r\n"); 1035 1036 1037 #line 303 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 1038 1039 1040 #line default 1041 #line hidden 1042 WriteLiteral("\r\n"); 1043 1044 1045 #line 308 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 1046 1047 var CurrentPageView = Dynamicweb.Frontend.PageView.Current().Page; 1048 var CurrentPage = Dynamicweb.Services.Pages.GetPage(CurrentPageView.ID); 1049 var Questions = MoblerHelpers.GetFaqQuestions(CurrentPage); 1050 int QuestionCounter = 1; 1051 1052 1053 #line default 1054 #line hidden 1055 WriteLiteral("\r\n\r\n"); 1056 1057 1058 #line 315 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 1059 Write(RenderNavigation(new { ExpandMode = "All", Template = "breadcrumb.xslt" })); 1060 1061 1062 #line default 1063 #line hidden 1064 WriteLiteral("\r\n\r\n<div"); 1065 1066 WriteLiteral(" class=\"container my-3\""); 1067 1068 WriteLiteral(">\r\n <h1"); 1069 1070 WriteLiteral(" class=\"text-uppercase mb-5\""); 1071 1072 WriteLiteral(">"); 1073 1074 1075 #line 318 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 1076 Write(CurrentPage.MenuText); 1077 1078 1079 #line default 1080 #line hidden 1081 WriteLiteral("</h1>\r\n</div>\r\n\r\n<div"); 1082 1083 WriteLiteral(" class=\"box-shadow mb-5 mt-3\""); 1084 1085 WriteLiteral(">\r\n <div"); 1086 1087 WriteLiteral(" class=\"container py-5\""); 1088 1089 WriteLiteral(">\r\n <p"); 1090 1091 WriteLiteral(" class=\"font-bold\""); 1092 1093 WriteLiteral(">"); 1094 1095 1096 #line 323 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 1097 Write(Translate("FAQHeader", "Ofte stillede sp&oslash;rgsm&aring;l")); 1098 1099 1100 #line default 1101 #line hidden 1102 WriteLiteral("</p>\r\n <div"); 1103 1104 WriteLiteral(" class=\"row\""); 1105 1106 WriteLiteral(">\r\n"); 1107 1108 1109 #line 325 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 1110 1111 1112 #line default 1113 #line hidden 1114 1115 #line 325 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 1116 foreach (var Question in Questions) 1117 { 1118 Dynamicweb.Content.Page QuestionPage = Dynamicweb.Services.Pages.GetPageForItem(Question.SystemName, Question.Id); 1119 1120 string Url = Dynamicweb.Frontend.SearchEngineFriendlyURLs.GetFriendlyUrl(QuestionPage.Parent.ID); 1121 string CollapseId = "collapse-" + QuestionCounter; 1122 1123 1124 #line default 1125 #line hidden 1126 WriteLiteral(" <div"); 1127 1128 WriteLiteral(" class=\"col-12 col-md-6 faq-question\""); 1129 1130 WriteLiteral(">\r\n <div"); 1131 1132 WriteLiteral(" class=\"p-2 pointer\""); 1133 1134 WriteLiteral(" data-toggle=\"collapse\""); 1135 1136 WriteLiteral(" data-target=\"#"); 1137 1138 1139 #line 332 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 1140 Write(CollapseId); 1141 1142 1143 #line default 1144 #line hidden 1145 WriteLiteral("\""); 1146 1147 WriteLiteral(">\r\n <p"); 1148 1149 WriteLiteral(" class=\"flex-fill flex justify-content-between items-center mb-0 text-primary\""); 1150 1151 WriteLiteral(">"); 1152 1153 1154 #line 333 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 1155 Write(Question["Question"]); 1156 1157 1158 #line default 1159 #line hidden 1160 WriteLiteral(" <i"); 1161 1162 WriteLiteral(" class=\"fas fa-chevron-right\""); 1163 1164 WriteLiteral("></i></p>\r\n </div>\r\n <div"); 1165 1166 WriteLiteral(" class=\"collapse\""); 1167 1168 WriteAttribute("id", Tuple.Create(" id=\"", 17827), Tuple.Create("\"", 17843) 1169 1170 #line 335 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 1171 , Tuple.Create(Tuple.Create("", 17832), Tuple.Create<System.Object, System.Int32>(CollapseId 1172 1173 #line default 1174 #line hidden 1175 , 17832), false) 1176 ); 1177 1178 WriteLiteral(">\r\n <div"); 1179 1180 WriteLiteral(" class=\"p-2 answer\""); 1181 1182 WriteLiteral(">\r\n <div>"); 1183 1184 1185 #line 337 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 1186 Write(Question["Answer"]); 1187 1188 1189 #line default 1190 #line hidden 1191 WriteLiteral("</div>\r\n </div>\r\n </div>\r\n " + 1192 " </div>\r\n"); 1193 1194 1195 #line 341 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 1196 QuestionCounter++; 1197 } 1198 1199 1200 #line default 1201 #line hidden 1202 WriteLiteral(" </div>\r\n </div>\r\n</div>\r\n\r\n<div"); 1203 1204 WriteLiteral(" id=\"content1\""); 1205 1206 WriteLiteral(">"); 1207 1208 1209 #line 347 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 1210 Write(GetValue("DwContent(content1)")); 1211 1212 1213 #line default 1214 #line hidden 1215 WriteLiteral("</div>\r\n\r\n\r\n\r\n"); 1216 1217 1218 #line 351 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 1219 1220 1221 #line default 1222 #line hidden 1223 1224 #line 351 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 1225 if (!IsCheckoutStep) 1226 { 1227 if (!isCheckoutFirstStep) 1228 { 1229 var brandsLoop = @GetLoop("Item.Page.Brand_Icon.Value"); 1230 1231 1232 #line default 1233 #line hidden 1234 WriteLiteral("<!-- TODO: (Out of scope) Clean this up so we don\'t repeat -->\r\n"); 1235 1236 WriteLiteral("\t\t\t<section"); 1237 1238 WriteLiteral(" class=\"container py-8\""); 1239 1240 WriteLiteral(">\r\n\t\t\t\t<div"); 1241 1242 WriteLiteral(" class=\"grid grid-cols-3 md:grid-cols-6 gap-4\""); 1243 1244 WriteLiteral(">\r\n"); 1245 1246 1247 #line 359 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 1248 1249 1250 #line default 1251 #line hidden 1252 1253 #line 359 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 1254 if (brandsLoop.Count <= 0) 1255 { 1256 foreach (var item in GetLoop("Item.Area.Featured_Brands")) 1257 { 1258 string Link = item.GetString("Item.Area.Featured_Brands.Brand.Value"); 1259 var Brand = Firstweb.Custom.CustomCode.Frontend.Helpers.Brands.GetBrand(Link); 1260 1261 if (!String.IsNullOrEmpty(Brand.Name)) 1262 { 1263 1264 1265 #line default 1266 #line hidden 1267 WriteLiteral("\t\t\t\t\t\t\t\t<a"); 1268 1269 WriteAttribute("href", Tuple.Create(" href=\"", 18831), Tuple.Create("\"", 18849) 1270 1271 #line 368 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 1272 , Tuple.Create(Tuple.Create("", 18838), Tuple.Create<System.Object, System.Int32>(Brand.Link 1273 1274 #line default 1275 #line hidden 1276 , 18838), false) 1277 ); 1278 1279 WriteLiteral(">\r\n\t\t\t\t\t\t\t\t\t<img"); 1280 1281 WriteLiteral(" width=\"900\""); 1282 1283 WriteLiteral(" height=\"400\""); 1284 1285 WriteLiteral(" class=\"img-fit-contain-x\""); 1286 1287 WriteAttribute("src", Tuple.Create(" src=\"", 18917), Tuple.Create("\"", 19002) 1288 , Tuple.Create(Tuple.Create("", 18923), Tuple.Create("/Admin/Public/GetImage.ashx?Image=", 18923), true) 1289 1290 #line 369 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 1291 , Tuple.Create(Tuple.Create("", 18957), Tuple.Create<System.Object, System.Int32>(Brand.Logo 1292 1293 #line default 1294 #line hidden 1295 , 18957), false) 1296 , Tuple.Create(Tuple.Create("", 18968), Tuple.Create("&Format=webP&Quality=90&Height=400", 18968), true) 1297 ); 1298 1299 WriteAttribute("alt", Tuple.Create(" alt=\"", 19003), Tuple.Create("\"", 19020) 1300 1301 #line 369 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 1302 , Tuple.Create(Tuple.Create("", 19009), Tuple.Create<System.Object, System.Int32>(Brand.Name 1303 1304 #line default 1305 #line hidden 1306 , 19009), false) 1307 ); 1308 1309 WriteLiteral(">\r\n\t\t\t\t\t\t\t\t</a>\r\n"); 1310 1311 1312 #line 371 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 1313 } 1314 } 1315 } 1316 else 1317 { 1318 foreach (var item in brandsLoop) 1319 { 1320 string image = item.GetString("Item.Page.Brand_Icon.Value.Image.Value"); 1321 string link = item.GetString("Item.Page.Brand_Icon.Value.LinkDestination.Value"); 1322 1323 if (!String.IsNullOrEmpty(image)) 1324 { 1325 1326 1327 #line default 1328 #line hidden 1329 WriteLiteral("\t\t\t\t\t\t\t\t<a"); 1330 1331 WriteAttribute("href", Tuple.Create(" href=\"", 19368), Tuple.Create("\"", 19380) 1332 1333 #line 383 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 1334 , Tuple.Create(Tuple.Create("", 19375), Tuple.Create<System.Object, System.Int32>(link 1335 1336 #line default 1337 #line hidden 1338 , 19375), false) 1339 ); 1340 1341 WriteLiteral(">\r\n\t\t\t\t\t\t\t\t\t<img"); 1342 1343 WriteLiteral(" width=\"900\""); 1344 1345 WriteLiteral(" height=\"400\""); 1346 1347 WriteLiteral(" class=\"img-fluid\""); 1348 1349 WriteAttribute("src", Tuple.Create(" src=\"", 19440), Tuple.Create("\"", 19520) 1350 , Tuple.Create(Tuple.Create("", 19446), Tuple.Create("/Admin/Public/GetImage.ashx?Image=", 19446), true) 1351 1352 #line 384 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 1353 , Tuple.Create(Tuple.Create("", 19480), Tuple.Create<System.Object, System.Int32>(image 1354 1355 #line default 1356 #line hidden 1357 , 19480), false) 1358 , Tuple.Create(Tuple.Create("", 19486), Tuple.Create("&Format=webP&Quality=90&Height=400", 19486), true) 1359 ); 1360 1361 WriteLiteral(" alt=\"\""); 1362 1363 WriteLiteral(">\r\n\t\t\t\t\t\t\t\t</a>\r\n"); 1364 1365 1366 #line 386 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 1367 } 1368 } 1369 } 1370 1371 1372 #line default 1373 #line hidden 1374 WriteLiteral("\t\t\t\t</div>\r\n\t\t\t</section>\r\n"); 1375 1376 1377 #line 391 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 1378 } 1379 1380 1381 1382 #line default 1383 #line hidden 1384 WriteLiteral("\t\t<section"); 1385 1386 WriteLiteral(" class=\"bg-beige pt-14 lg:pt-28\""); 1387 1388 WriteLiteral(">\r\n\t\t\t<div"); 1389 1390 WriteLiteral(" class=\"container flex flex-wrap\""); 1391 1392 WriteLiteral(">\r\n\t\t\t\t<div"); 1393 1394 WriteLiteral(" class=\"w-full md:w-3/4 lg:w-1/2 flex flex-col md:items-start gap-y-4\""); 1395 1396 WriteLiteral(">\r\n\t\t\t\t\t<a"); 1397 1398 WriteLiteral(" href=\"/\""); 1399 1400 WriteLiteral(" class=\"flex flex-col md:items-center\""); 1401 1402 WriteLiteral(">\r\n\t\t\t\t\t\t<img"); 1403 1404 WriteLiteral(" width=\"400\""); 1405 1406 WriteLiteral(" height=\"46\""); 1407 1408 WriteLiteral(" class=\"max-h-[46px] hidden md:inline-block\""); 1409 1410 WriteAttribute("src", Tuple.Create(" src=\"", 19910), Tuple.Create("\"", 19924) 1411 1412 #line 397 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 1413 , Tuple.Create(Tuple.Create("", 19916), Tuple.Create<System.Object, System.Int32>(logoSrc 1414 1415 #line default 1416 #line hidden 1417 , 19916), false) 1418 ); 1419 1420 WriteAttribute("alt", Tuple.Create(" alt=\'", 19925), Tuple.Create("\'", 20006) 1421 1422 #line 397 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 1423 , Tuple.Create(Tuple.Create("", 19931), Tuple.Create<System.Object, System.Int32>(Translate("LogoAltText", "Møblér: Alt indenfor møbler og boligindretning") 1424 1425 #line default 1426 #line hidden 1427 , 19931), false) 1428 ); 1429 1430 WriteLiteral(">\r\n\t\t\t\t\t\t<img"); 1431 1432 WriteLiteral(" width=\"400\""); 1433 1434 WriteLiteral(" height=\"46\""); 1435 1436 WriteLiteral(" class=\"max-h-[46px] w-full object-contain object-left inline md:hidden\""); 1437 1438 WriteAttribute("src", Tuple.Create(" src=\"", 20116), Tuple.Create("\"", 20136) 1439 1440 #line 398 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 1441 , Tuple.Create(Tuple.Create("", 20122), Tuple.Create<System.Object, System.Int32>(logoSrcMobile 1442 1443 #line default 1444 #line hidden 1445 , 20122), false) 1446 ); 1447 1448 WriteAttribute("alt", Tuple.Create(" alt=\'", 20137), Tuple.Create("\'", 20218) 1449 1450 #line 398 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 1451 , Tuple.Create(Tuple.Create("", 20143), Tuple.Create<System.Object, System.Int32>(Translate("LogoAltText", "Møblér: Alt indenfor møbler og boligindretning") 1452 1453 #line default 1454 #line hidden 1455 , 20143), false) 1456 ); 1457 1458 WriteLiteral(">\r\n"); 1459 1460 1461 #line 399 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 1462 1463 1464 #line default 1465 #line hidden 1466 1467 #line 399 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 1468 if (shopname.ToLower() != "møblér") 1469 { 1470 1471 1472 #line default 1473 #line hidden 1474 WriteLiteral("\t\t\t\t\t\t<small"); 1475 1476 WriteLiteral(" class=\"text-xs text-grey-dark text-center hidden md:block\""); 1477 1478 WriteLiteral(">"); 1479 1480 1481 #line 401 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 1482 Write(Translate("LogoServiceText", "Ordren serviceres af Møbler.dk")); 1483 1484 1485 #line default 1486 #line hidden 1487 WriteLiteral("</small>\r\n"); 1488 1489 1490 #line 402 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 1491 } 1492 1493 1494 #line default 1495 #line hidden 1496 WriteLiteral("\t\t\t\t\t</a>\r\n\r\n\t\t\t\t\t<!-- TODO: This has not been tested and styled -->\r\n"); 1497 1498 1499 #line 406 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 1500 1501 1502 #line default 1503 #line hidden 1504 1505 #line 406 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 1506 if (shopnameEncoded == "M%c3%b8bl%c3%a9r") 1507 { 1508 1509 1510 #line default 1511 #line hidden 1512 WriteLiteral("\t\t\t\t\t\t<div>\r\n\t\t\t\t\t\t\t<p"); 1513 1514 WriteLiteral(" class=\"mb-0 font-bold\""); 1515 1516 WriteLiteral(">"); 1517 1518 1519 #line 409 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 1520 Write(GetString("Item.Area.Header")); 1521 1522 1523 #line default 1524 #line hidden 1525 WriteLiteral("</p>\r\n\t\t\t\t\t\t\t<p>\r\n"); 1526 1527 WriteLiteral("\t\t\t\t\t\t\t\t"); 1528 1529 1530 #line 411 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 1531 Write(GetString("Item.Area.About")); 1532 1533 1534 #line default 1535 #line hidden 1536 WriteLiteral("\r\n\t\t\t\t\t\t\t</p>\r\n\t\t\t\t\t\t\t<a"); 1537 1538 WriteAttribute("href", Tuple.Create(" href=\"", 20712), Tuple.Create("\"", 20741) 1539 1540 #line 413 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 1541 , Tuple.Create(Tuple.Create("", 20719), Tuple.Create<System.Object, System.Int32>(FooterLinkDestination 1542 1543 #line default 1544 #line hidden 1545 , 20719), false) 1546 ); 1547 1548 WriteLiteral("><u>"); 1549 1550 1551 #line 413 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 1552 Write(Translate("FooterAboutReadMore", "L&aelig;s mere om M&oslash;blér k&aelig;den her")); 1553 1554 1555 #line default 1556 #line hidden 1557 WriteLiteral("</u></a>\r\n\t\t\t\t\t\t</div>\r\n"); 1558 1559 1560 #line 415 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 1561 } 1562 else 1563 { 1564 if (GetString("Item.SystemName") == "TextPage") 1565 { 1566 string CurrentAboutUsShopName = GetString("DwPageName_2"); 1567 shopInfo = Website.ShopInfo(CurrentAboutUsShopName); 1568 shopname = CurrentAboutUsShopName; 1569 } 1570 1571 1572 1573 #line default 1574 #line hidden 1575 WriteLiteral("\t\t\t\t\t\t<div"); 1576 1577 WriteLiteral(" class=\"flex flex-wrap gap-y-4 w-full\""); 1578 1579 WriteLiteral(">\r\n\t\t\t\t\t\t\t<div"); 1580 1581 WriteLiteral(" class=\"w-full md:w-1/2\""); 1582 1583 WriteLiteral(">\r\n\t\t\t\t\t\t\t\t<ul"); 1584 1585 WriteLiteral(" class=\"list-none\""); 1586 1587 WriteLiteral(">\r\n\t\t\t\t\t\t\t\t\t<li"); 1588 1589 WriteLiteral(" class=\"mb-2\""); 1590 1591 WriteLiteral("><strong>"); 1592 1593 1594 #line 428 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 1595 Write(shopInfo.ShopName); 1596 1597 1598 #line default 1599 #line hidden 1600 WriteLiteral("</strong></li>\r\n\t\t\t\t\t\t\t\t\t<li>"); 1601 1602 1603 #line 429 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 1604 Write(shopInfo.Address); 1605 1606 1607 #line default 1608 #line hidden 1609 WriteLiteral("</li>\r\n\t\t\t\t\t\t\t\t\t<li>"); 1610 1611 1612 #line 430 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 1613 Write(shopInfo.PostalAndCity); 1614 1615 1616 #line default 1617 #line hidden 1618 WriteLiteral("</li>\r\n\t\t\t\t\t\t\t\t\t<li>\r\n\t\t\t\t\t\t\t\t\t\t<a"); 1619 1620 WriteAttribute("href", Tuple.Create(" href=\"", 21423), Tuple.Create("\"", 21444) 1621 1622 #line 432 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 1623 , Tuple.Create(Tuple.Create("", 21430), Tuple.Create<System.Object, System.Int32>(localShopPage 1624 1625 #line default 1626 #line hidden 1627 , 21430), false) 1628 ); 1629 1630 WriteLiteral(" class=\"underline text-black\""); 1631 1632 WriteLiteral(">"); 1633 1634 1635 #line 432 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 1636 Write(Translate("ShowOnMap", "Vis p&#229; kort")); 1637 1638 1639 #line default 1640 #line hidden 1641 WriteLiteral("</a>\r\n\t\t\t\t\t\t\t\t\t</li>\r\n\r\n"); 1642 1643 1644 #line 435 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 1645 1646 1647 #line default 1648 #line hidden 1649 1650 #line 435 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 1651 if (!String.IsNullOrEmpty(shopInfo.Address1)) 1652 { 1653 1654 1655 #line default 1656 #line hidden 1657 WriteLiteral("\t\t\t\t\t\t\t\t\t\t<li>"); 1658 1659 1660 #line 437 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 1661 Write(shopInfo.Address1); 1662 1663 1664 #line default 1665 #line hidden 1666 WriteLiteral(", "); 1667 1668 1669 #line 437 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 1670 Write(shopInfo.PostalAndCity1); 1671 1672 1673 #line default 1674 #line hidden 1675 WriteLiteral("</li>\r\n"); 1676 1677 1678 #line 438 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 1679 } 1680 1681 1682 #line default 1683 #line hidden 1684 WriteLiteral("\t\t\t\t\t\t\t\t\t"); 1685 1686 1687 #line 439 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 1688 if (!String.IsNullOrEmpty(shopInfo.Address2)) 1689 { 1690 1691 1692 #line default 1693 #line hidden 1694 WriteLiteral("\t\t\t\t\t\t\t\t\t\t<li>"); 1695 1696 1697 #line 441 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 1698 Write(shopInfo.Address2); 1699 1700 1701 #line default 1702 #line hidden 1703 WriteLiteral(", "); 1704 1705 1706 #line 441 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 1707 Write(shopInfo.PostalAndCity2); 1708 1709 1710 #line default 1711 #line hidden 1712 WriteLiteral("</li>\r\n"); 1713 1714 1715 #line 442 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 1716 } 1717 1718 1719 #line default 1720 #line hidden 1721 WriteLiteral("\t\t\t\t\t\t\t\t\t<li"); 1722 1723 WriteLiteral(" class=\"mt-4\""); 1724 1725 WriteLiteral(">"); 1726 1727 1728 #line 443 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 1729 Write(shopInfo.Phone); 1730 1731 1732 #line default 1733 #line hidden 1734 WriteLiteral("</li>\r\n\t\t\t\t\t\t\t\t\t<li>\r\n\t\t\t\t\t\t\t\t\t\t<a"); 1735 1736 WriteAttribute("href", Tuple.Create(" href=\"", 21909), Tuple.Create("\"", 21938) 1737 , Tuple.Create(Tuple.Create("", 21916), Tuple.Create("mailto:", 21916), true) 1738 1739 #line 445 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 1740 , Tuple.Create(Tuple.Create("", 21923), Tuple.Create<System.Object, System.Int32>(shopInfo.Email 1741 1742 #line default 1743 #line hidden 1744 , 21923), false) 1745 ); 1746 1747 WriteLiteral(" class=\"underline text-black\""); 1748 1749 WriteLiteral(">"); 1750 1751 1752 #line 445 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 1753 Write(shopInfo.Email); 1754 1755 1756 #line default 1757 #line hidden 1758 WriteLiteral("</a>\r\n\t\t\t\t\t\t\t\t\t</li>\r\n\t\t\t\t\t\t\t\t</ul>\r\n\t\t\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t\t\t<div"); 1759 1760 WriteLiteral(" class=\"w-full md:w-1/2\""); 1761 1762 WriteLiteral(">\r\n"); 1763 1764 1765 #line 451 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 1766 1767 1768 #line default 1769 #line hidden 1770 1771 #line 451 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 1772 if (shopInfo.ShopInformationList.Count > 0 || shopInfo.OpeningHours != null) 1773 { 1774 1775 1776 #line default 1777 #line hidden 1778 WriteLiteral("\t\t\t\t\t\t\t\t\t<p"); 1779 1780 WriteLiteral(" class=\"mb-2\""); 1781 1782 WriteLiteral("><strong>"); 1783 1784 1785 #line 453 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 1786 Write(Translate("openinghours", "&#197;bningstider")); 1787 1788 1789 #line default 1790 #line hidden 1791 WriteLiteral("</strong></p>\r\n"); 1792 1793 1794 #line 454 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 1795 } 1796 1797 1798 #line default 1799 #line hidden 1800 WriteLiteral("\t\t\t\t\t\t\t\t"); 1801 1802 1803 #line 455 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 1804 if (shopInfo.ShopInformationList.Count > 0) 1805 { 1806 foreach (var row in shopInfo.ShopInformationList) 1807 { 1808 var rowClass = !string.IsNullOrEmpty(row.columnTwo) ? "basis-1/2" : ""; 1809 1810 1811 #line default 1812 #line hidden 1813 WriteLiteral("\t\t\t\t\t\t\t\t\t\t<div"); 1814 1815 WriteLiteral(" class=\"flex gap-x-2\""); 1816 1817 WriteLiteral(">\r\n\t\t\t\t\t\t\t\t\t\t\t<div"); 1818 1819 WriteAttribute("class", Tuple.Create(" class=\"", 22553), Tuple.Create("\"", 22570) 1820 1821 #line 461 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 1822 , Tuple.Create(Tuple.Create("", 22561), Tuple.Create<System.Object, System.Int32>(rowClass 1823 1824 #line default 1825 #line hidden 1826 , 22561), false) 1827 ); 1828 1829 WriteLiteral(">\r\n"); 1830 1831 WriteLiteral("\t\t\t\t\t\t\t\t\t\t\t\t"); 1832 1833 1834 #line 462 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 1835 Write(row.columnOne); 1836 1837 1838 #line default 1839 #line hidden 1840 WriteLiteral("\r\n\t\t\t\t\t\t\t\t\t\t\t</div>\r\n"); 1841 1842 1843 #line 464 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 1844 1845 1846 #line default 1847 #line hidden 1848 1849 #line 464 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 1850 if (!string.IsNullOrEmpty(row.columnTwo)) 1851 { 1852 1853 1854 #line default 1855 #line hidden 1856 WriteLiteral("\t\t\t\t\t\t\t\t\t\t\t\t<div>"); 1857 1858 1859 #line 466 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 1860 Write(row.columnTwo); 1861 1862 1863 #line default 1864 #line hidden 1865 WriteLiteral("</div>\r\n"); 1866 1867 1868 #line 467 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 1869 } 1870 1871 1872 #line default 1873 #line hidden 1874 WriteLiteral("\t\t\t\t\t\t\t\t\t\t</div>\r\n"); 1875 1876 1877 #line 469 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 1878 } 1879 } 1880 else if (shopInfo.OpeningHours != null) 1881 { 1882 1883 1884 #line default 1885 #line hidden 1886 WriteLiteral("\t\t\t\t\t\t\t\t\t<div"); 1887 1888 WriteLiteral(" class=\"flex flex-col justify-content items-center gap-2 md:items-start\""); 1889 1890 WriteLiteral(">"); 1891 1892 1893 #line 473 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 1894 Write(shopInfo.OpeningHours); 1895 1896 1897 #line default 1898 #line hidden 1899 WriteLiteral("</div>\r\n"); 1900 1901 1902 #line 474 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 1903 } 1904 1905 1906 #line default 1907 #line hidden 1908 WriteLiteral("\t\t\t\t\t\t\t</div>\r\n\r\n\t\t\t\t\t\t</div>\r\n"); 1909 1910 1911 #line 478 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 1912 } 1913 1914 1915 #line default 1916 #line hidden 1917 WriteLiteral("\t\t\t\t\t<ul"); 1918 1919 WriteLiteral(" class=\"list-none flex gap-2 mb-8\""); 1920 1921 WriteLiteral(">\r\n"); 1922 1923 1924 #line 480 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 1925 1926 1927 #line default 1928 #line hidden 1929 1930 #line 480 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 1931 foreach (var Some in GetLoop("Item.Area.SocialMediaIcons")) 1932 { 1933 string Link = Some.GetString("Item.Area.SocialMediaIcons.Link"); 1934 string Icon = Some.GetString("Item.Area.SocialMediaIcons.Icon.Value"); 1935 1936 1937 #line default 1938 #line hidden 1939 WriteLiteral("\t\t\t\t\t\t\t<li>\r\n\t\t\t\t\t\t\t\t<a"); 1940 1941 WriteAttribute("href", Tuple.Create(" href=\"", 23307), Tuple.Create("\"", 23319) 1942 1943 #line 485 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 1944 , Tuple.Create(Tuple.Create("", 23314), Tuple.Create<System.Object, System.Int32>(Link 1945 1946 #line default 1947 #line hidden 1948 , 23314), false) 1949 ); 1950 1951 WriteLiteral(" target=\"_blank\""); 1952 1953 WriteLiteral(" class=\"text-black text-2xl hover:text-grey-dark\""); 1954 1955 WriteLiteral(">\r\n\t\t\t\t\t\t\t\t\t<img"); 1956 1957 WriteLiteral(" width=\"37\""); 1958 1959 WriteLiteral(" height=\"37\""); 1960 1961 WriteAttribute("src", Tuple.Create(" src=\"", 23424), Tuple.Create("\"", 23502) 1962 , Tuple.Create(Tuple.Create("", 23430), Tuple.Create("/Admin/Public/GetImage.ashx?Image=", 23430), true) 1963 1964 #line 486 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 1965 , Tuple.Create(Tuple.Create("", 23464), Tuple.Create<System.Object, System.Int32>(Icon 1966 1967 #line default 1968 #line hidden 1969 , 23464), false) 1970 , Tuple.Create(Tuple.Create("", 23469), Tuple.Create("&Format=webP&Quality=90&Height=40", 23469), true) 1971 ); 1972 1973 WriteLiteral(" alt=\"social icon\""); 1974 1975 WriteLiteral(">\r\n\t\t\t\t\t\t\t\t</a>\r\n\t\t\t\t\t\t\t</li>\r\n"); 1976 1977 1978 #line 489 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 1979 } 1980 1981 1982 #line default 1983 #line hidden 1984 WriteLiteral("\r\n"); 1985 1986 1987 #line 491 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 1988 1989 1990 #line default 1991 #line hidden 1992 1993 #line 491 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 1994 foreach (var Some in GetLoop("Item.Area.SocialMediaFontawesomeIcons")) 1995 { 1996 string Link = Some.GetString("Item.Area.SocialMediaFontawesomeIcons.Link"); 1997 string Icon = Some.GetString("Item.Area.SocialMediaFontawesomeIcons.FontawesomeClass"); 1998 1999 2000 #line default 2001 #line hidden 2002 WriteLiteral("\t\t\t\t\t\t\t<li>\r\n\t\t\t\t\t\t\t\t<a"); 2003 2004 WriteAttribute("href", Tuple.Create(" href=\"", 23854), Tuple.Create("\"", 23866) 2005 2006 #line 496 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 2007 , Tuple.Create(Tuple.Create("", 23861), Tuple.Create<System.Object, System.Int32>(Link 2008 2009 #line default 2010 #line hidden 2011 , 23861), false) 2012 ); 2013 2014 WriteLiteral(" target=\"_blank\""); 2015 2016 WriteLiteral(" class=\"text-black text-3xl hover:text-grey-dark\""); 2017 2018 WriteLiteral(">\r\n\t\t\t\t\t\t\t\t\t<i"); 2019 2020 WriteAttribute("class", Tuple.Create(" class=\"", 23946), Tuple.Create("\"", 23959) 2021 2022 #line 497 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 2023 , Tuple.Create(Tuple.Create("", 23954), Tuple.Create<System.Object, System.Int32>(Icon 2024 2025 #line default 2026 #line hidden 2027 , 23954), false) 2028 ); 2029 2030 WriteLiteral("></i>\r\n\t\t\t\t\t\t\t\t</a>\r\n\t\t\t\t\t\t\t</li>\r\n"); 2031 2032 2033 #line 500 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 2034 } 2035 2036 2037 #line default 2038 #line hidden 2039 WriteLiteral("\t\t\t\t\t</ul>\r\n\t\t\t\t</div>\r\n\t\t\t\t<div"); 2040 2041 WriteLiteral(" class=\"hidden lg:flex justify-center items-end w-full lg:w-2/4\""); 2042 2043 WriteLiteral(">\r\n"); 2044 2045 2046 #line 504 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 2047 2048 2049 #line default 2050 #line hidden 2051 2052 #line 504 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 2053 2054 string footerStaffImagePath = String.Format("/Files/Images/Owners/Large/{0}.png", shopname); 2055 string footerStaffGetImage = ""; 2056 if (!String.IsNullOrEmpty(footerStaffImagePath)) 2057 { 2058 footerStaffGetImage = "/Admin/Public/GetImage.ashx?Image=" + footerStaffImagePath + "&Format=webP&Quality=90&width=640&height=300"; 2059 } 2060 2061 2062 #line default 2063 #line hidden 2064 WriteLiteral("\r\n\t\t\t\t\t<img"); 2065 2066 WriteLiteral(" width=\"640\""); 2067 2068 WriteLiteral(" height=\"300\""); 2069 2070 WriteLiteral(" class=\"img-fit-contain-x\""); 2071 2072 WriteAttribute("src", Tuple.Create(" src=\"", 24534), Tuple.Create("\"", 24560) 2073 2074 #line 512 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 2075 , Tuple.Create(Tuple.Create("", 24540), Tuple.Create<System.Object, System.Int32>(footerStaffGetImage 2076 2077 #line default 2078 #line hidden 2079 , 24540), false) 2080 ); 2081 2082 WriteAttribute("alt", Tuple.Create(" alt=\"", 24561), Tuple.Create("\"", 24576) 2083 2084 #line 512 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 2085 , Tuple.Create(Tuple.Create("", 24567), Tuple.Create<System.Object, System.Int32>(shopname 2086 2087 #line default 2088 #line hidden 2089 , 24567), false) 2090 ); 2091 2092 WriteLiteral(">\r\n\t\t\t\t</div>\r\n\t\t\t</div>\r\n\t\t</section>\r\n"); 2093 2094 2095 #line 516 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 2096 2097 2098 2099 #line default 2100 #line hidden 2101 WriteLiteral("\t\t<section"); 2102 2103 WriteLiteral(" class=\"bg-beige-dark py-10\""); 2104 2105 WriteLiteral(">\r\n\t\t\t<div"); 2106 2107 WriteLiteral(" class=\"container\""); 2108 2109 WriteLiteral(">\r\n\t\t\t\t<div"); 2110 2111 WriteLiteral(" class=\"flex flex-wrap xl:flex-nowrap xl:flex-row gap-4 \""); 2112 2113 WriteLiteral(">\r\n\t\t\t\t\t<div"); 2114 2115 WriteLiteral(" class=\"w-full grid md:grid-cols-3 xl:grid-cols-6 gap-y-4 *:list-none *:text-cent" + 2116 "er *:md:text-left *:text-sm *:leading-8\""); 2117 2118 WriteLiteral(">\r\n\t\t\t\t\t\t<ul"); 2119 2120 WriteLiteral(" class=\"list-none col-span-3 md:col-span-1\""); 2121 2122 WriteLiteral(">\r\n\t\t\t\t\t\t\t<strong>"); 2123 2124 2125 #line 522 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 2126 Write(GetString("Item.Area.Footer_Column_1_Header")); 2127 2128 2129 #line default 2130 #line hidden 2131 WriteLiteral("</strong>\r\n"); 2132 2133 2134 #line 523 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 2135 2136 2137 #line default 2138 #line hidden 2139 2140 #line 523 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 2141 foreach (var Link in GetLoop("Item.Area.Footer_Column_1_Links")) 2142 { 2143 string LinkText = Link.GetString("Item.Area.Footer_Column_1_Links.LinkText"); 2144 string LinkDestination = "/Default.aspx?id=" + Link.GetString("Item.Area.Footer_Column_1_Links.Link"); 2145 2146 2147 #line default 2148 #line hidden 2149 WriteLiteral("\t\t\t\t\t\t\t\t<li>\r\n\t\t\t\t\t\t\t\t\t<a"); 2150 2151 WriteAttribute("href", Tuple.Create(" href=\"", 25325), Tuple.Create("\"", 25348) 2152 2153 #line 528 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 2154 , Tuple.Create(Tuple.Create("", 25332), Tuple.Create<System.Object, System.Int32>(LinkDestination 2155 2156 #line default 2157 #line hidden 2158 , 25332), false) 2159 ); 2160 2161 WriteLiteral(" class=\"text-black hover:underline hover:text-black\""); 2162 2163 WriteLiteral(">"); 2164 2165 2166 #line 528 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 2167 Write(LinkText); 2168 2169 2170 #line default 2171 #line hidden 2172 WriteLiteral("</a>\r\n\t\t\t\t\t\t\t\t</li>\r\n"); 2173 2174 2175 #line 530 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 2176 } 2177 2178 2179 #line default 2180 #line hidden 2181 WriteLiteral("\t\t\t\t\t\t</ul>\r\n\t\t\t\t\t\t<ul"); 2182 2183 WriteLiteral(" class=\"list-none col-span-3 md:col-span-1\""); 2184 2185 WriteLiteral(">\r\n\t\t\t\t\t\t\t<strong>"); 2186 2187 2188 #line 533 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 2189 Write(GetString("Item.Area.Footer_Column_2_Header")); 2190 2191 2192 #line default 2193 #line hidden 2194 WriteLiteral("</strong>\r\n"); 2195 2196 2197 #line 534 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 2198 2199 2200 #line default 2201 #line hidden 2202 2203 #line 534 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 2204 foreach (var Link in GetLoop("Item.Area.Footer_Column_2_Links")) 2205 { 2206 string LinkText = Link.GetString("Item.Area.Footer_Column_2_Links.LinkText"); 2207 string LinkDestination = "/Default.aspx?id=" + Link.GetString("Item.Area.Footer_Column_2_Links.Link"); 2208 2209 2210 #line default 2211 #line hidden 2212 WriteLiteral("\t\t\t\t\t\t\t\t<li>\r\n\t\t\t\t\t\t\t\t\t<a"); 2213 2214 WriteAttribute("href", Tuple.Create(" href=\"", 25890), Tuple.Create("\"", 25913) 2215 2216 #line 539 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 2217 , Tuple.Create(Tuple.Create("", 25897), Tuple.Create<System.Object, System.Int32>(LinkDestination 2218 2219 #line default 2220 #line hidden 2221 , 25897), false) 2222 ); 2223 2224 WriteLiteral(" class=\"text-sm text-black\""); 2225 2226 WriteLiteral(">"); 2227 2228 2229 #line 539 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 2230 Write(LinkText); 2231 2232 2233 #line default 2234 #line hidden 2235 WriteLiteral("</a>\r\n\t\t\t\t\t\t\t\t</li>\r\n"); 2236 2237 2238 #line 541 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 2239 } 2240 2241 2242 #line default 2243 #line hidden 2244 WriteLiteral("\t\t\t\t\t\t</ul>\r\n\t\t\t\t\t\t<ul"); 2245 2246 WriteLiteral(" class=\"list-none col-span-3 md:col-span-1\""); 2247 2248 WriteLiteral(">\r\n\t\t\t\t\t\t\t<strong>"); 2249 2250 2251 #line 544 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 2252 Write(GetString("Item.Area.Footer_Column_3_Header")); 2253 2254 2255 #line default 2256 #line hidden 2257 WriteLiteral("</strong>\r\n"); 2258 2259 2260 #line 545 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 2261 2262 2263 #line default 2264 #line hidden 2265 2266 #line 545 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 2267 foreach (var Link in GetLoop("Item.Area.Footer_Column_3_Links")) 2268 { 2269 string LinkText = Link.GetString("Item.Area.Footer_Column_3_Links.LinkText"); 2270 string LinkDestination = "/Default.aspx?id=" + Link.GetString("Item.Area.Footer_Column_3_Links.Link"); 2271 2272 2273 #line default 2274 #line hidden 2275 WriteLiteral("\t\t\t\t\t\t\t\t<li>\r\n\t\t\t\t\t\t\t\t\t<a"); 2276 2277 WriteAttribute("href", Tuple.Create(" href=\"", 26430), Tuple.Create("\"", 26453) 2278 2279 #line 550 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 2280 , Tuple.Create(Tuple.Create("", 26437), Tuple.Create<System.Object, System.Int32>(LinkDestination 2281 2282 #line default 2283 #line hidden 2284 , 26437), false) 2285 ); 2286 2287 WriteLiteral(" class=\"text-sm text-black\""); 2288 2289 WriteLiteral(">"); 2290 2291 2292 #line 550 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 2293 Write(LinkText); 2294 2295 2296 #line default 2297 #line hidden 2298 WriteLiteral("</a>\r\n\t\t\t\t\t\t\t\t</li>\r\n"); 2299 2300 2301 #line 552 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 2302 } 2303 2304 2305 #line default 2306 #line hidden 2307 WriteLiteral("\t\t\t\t\t\t</ul>\r\n\r\n\t\t\t\t\t\t<div"); 2308 2309 WriteLiteral(" class=\"col-span-3\""); 2310 2311 WriteLiteral(">\r\n\t\t\t\t\t\t\t<strong>"); 2312 2313 2314 #line 556 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 2315 Write(Translate("Co3.Newsletter.Headline.Text", "Møblérs nyhedsbrev")); 2316 2317 2318 #line default 2319 #line hidden 2320 WriteLiteral("</strong>\r\n\t\t\t\t\t\t\t<newsletter></newsletter>\r\n\t\t\t\t\t\t</div>\r\n\t\t\t\t\t</div>\r\n\t\t\t\t</div" + 2321 ">\r\n\t\t\t</div>\r\n\t\t</section>\r\n"); 2322 2323 2324 #line 563 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 2325 2326 2327 2328 #line default 2329 #line hidden 2330 WriteLiteral("\t\t<div"); 2331 2332 WriteLiteral(" class=\"py-4 bg-white\""); 2333 2334 WriteLiteral(">\r\n\t\t\t<div"); 2335 2336 WriteLiteral(" class=\"container flex flex-col md:flex-row gap-y-4\""); 2337 2338 WriteLiteral(">\r\n\t\t\t\t<div"); 2339 2340 WriteLiteral(" class=\"w-full xl:w-1/2 flex justify-center items-center md:justify-start text-xs" + 2341 "\""); 2342 2343 WriteLiteral(">\r\n\t\t\t\t\t© "); 2344 2345 2346 #line 567 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 2347 Write(currentYear); 2348 2349 2350 #line default 2351 #line hidden 2352 WriteLiteral(" "); 2353 2354 2355 #line 567 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 2356 Write(Translate("Copyright", "Møblér. All Rights Reserved.")); 2357 2358 2359 #line default 2360 #line hidden 2361 WriteLiteral("\r\n\t\t\t\t</div>\r\n\t\t\t\t<div"); 2362 2363 WriteLiteral(" class=\"w-full xl:w-1/2 flex items-center md:justify-end\""); 2364 2365 WriteLiteral(">\r\n\t\t\t\t\t<a"); 2366 2367 WriteAttribute("href", Tuple.Create(" href=\'", 27109), Tuple.Create("\'", 27152) 2368 2369 #line 570 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 2370 , Tuple.Create(Tuple.Create("", 27116), Tuple.Create<System.Object, System.Int32>(Translate("PersondataLink", "link") 2371 2372 #line default 2373 #line hidden 2374 , 27116), false) 2375 ); 2376 2377 WriteLiteral(" class=\"text-xs underline text-black mr-2\""); 2378 2379 WriteLiteral(">"); 2380 2381 2382 #line 570 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 2383 Write(Translate("PersondataText", "Persondatapolitik")); 2384 2385 2386 #line default 2387 #line hidden 2388 WriteLiteral("</a>\r\n\t\t\t\t\t<paymentmethodlogos"); 2389 2390 WriteLiteral(" data-all-payments=\"true\""); 2391 2392 WriteLiteral("></paymentmethodlogos>\r\n\t\t\t\t</div>\r\n\r\n\t\t\t</div>\r\n\t\t</div>\r\n"); 2393 2394 2395 #line 576 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 2396 } 2397 2398 2399 #line default 2400 #line hidden 2401 WriteLiteral("\r\n\t<script"); 2402 2403 WriteLiteral(" type=\"module\""); 2404 2405 WriteLiteral(" src=\"https://viewer-cdn.cylindo.com/v1/index.mjs\""); 2406 2407 WriteLiteral(" defer=\"\""); 2408 2409 WriteLiteral("></script>\r\n\r\n"); 2410 2411 WriteLiteral("\t"); 2412 2413 2414 #line 580 "D:\dynamicweb.net\Solutions\mobler.LIVE\Files\Templates\Designs\Mobler\_parsed\FAQ-questions.parsed.cshtml" 2415 Write(Pageview.AddViteScript()); 2416 2417 2418 #line default 2419 #line hidden 2420 WriteLiteral("\r\n</body>\r\n</html>\r\n"); 2421 2422 } 2423 } 2424 } 2425

1 @using System.Web; 2 @using System.Text.RegularExpressions 3 @using Dynamicweb.Core.Helpers 4 @using Dynamicweb.Frontend.Navigation 5 @using Dynamicweb.Rendering.Translation 6 @using Newtonsoft.Json 7 @using NuGet 8 @using Mobler.Website.CustomCode.Models 9 @using Vite.Dw.Extensions 10 @using HttpUtility = System.Web.HttpUtility 11 @using Mobler.Website.CustomCode.Frontend.V2.Helpers 12 13 @inherits Dynamicweb.Rendering.RazorTemplateBase<Dynamicweb.Rendering.RazorTemplateModel<Dynamicweb.Rendering.Template>> 14 15 @{ 16 string CurrentEcomShopId = Dynamicweb.Frontend.PageView.Current().Area.EcomShopId; 17 string CurrentEcomLanguageId = Dynamicweb.Ecommerce.Common.Context.LanguageID; 18 string MainShopLink = Firstweb.Custom.CustomCode.Frontend.Helpers.AreaItems.GetString("MainShopLink"); 19 string shopname = Website.GetShopName(); 20 string shopnameEncoded = HttpUtility.UrlEncode(shopname); 21 var shopInfo = Website.ShopInfo(); 22 string globalAreaName = GetGlobalValue("Global:Area.Name"); 23 24 string culture = Dynamicweb.Frontend.PageView.Current().Area.Culture; 25 string designFolder = Dynamicweb.Frontend.PageView.Current().Area.Layout.Design.Name; 26 27 string logoSrc = ""; 28 string logoSrcMobile = ""; 29 30 if (shopname.ToLower() != "møblér" && shopname.ToLower() != "mobler" && shopname.ToLower() != "m%c3%b8bl%c3%a9r" && !string.IsNullOrEmpty(shopname)) 31 { 32 logoSrc = "/Files/Templates/Designs/Mobler/dist/logos/mobler-" + shopname.Replace(" ", "").ToLower() + ".svg"; 33 logoSrcMobile = "/Files/Templates/Designs/Mobler/dist/logos/mobler-" + shopname.Replace(" ", "").ToLower() + "-mobile.svg"; 34 } else { 35 logoSrc = "/Files/Templates/Designs/Mobler/dist/logos/mobler.svg"; 36 logoSrcMobile = "/Files/Templates/Designs/Mobler/dist/logos/mobler.svg"; 37 } 38 39 //this defines a shoppage 40 if (GetString("Item.SystemName") == "TextPage") 41 { 42 shopname = GetString("DwPageName_2"); 43 } 44 45 string imageName = shopname.Replace(" ", string.Empty) + "-owner.png"; 46 string localShopPage = Website.localshopPage(); 47 string FindDealerPage = GetString("Item.Area.FindDealerPage"); 48 string CartPage = Firstweb.Custom.CustomCode.Frontend.Helpers.AreaItems.GetString("CartPage"); 49 50 string SearchNoResults = Firstweb.Custom.CustomCode.Frontend.Helpers.AreaItems.GetString("NoResults"); 51 string SearchPagePageSize = Firstweb.Custom.CustomCode.Frontend.Helpers.AreaItems.GetString("SearchPagePageSize") != "0" ? Firstweb.Custom.CustomCode.Frontend.Helpers.AreaItems.GetString("SearchPagePageSize") : "20"; 52 string InstantSearchSize = Firstweb.Custom.CustomCode.Frontend.Helpers.AreaItems.GetString("InstantsearchPageSize") != "0" ? Firstweb.Custom.CustomCode.Frontend.Helpers.AreaItems.GetString("InstantsearchPageSize") : "10"; 53 54 string SearchResultPageId = ""; 55 if (Firstweb.Custom.CustomCode.Frontend.Helpers.AreaItems.GetString("SearchResultPage").Split('=').Length > 1) 56 { 57 SearchResultPageId = Firstweb.Custom.CustomCode.Frontend.Helpers.AreaItems.GetString("SearchResultPage").Split('=')[1]; 58 } 59 string FooterLinkDestination = Firstweb.Custom.CustomCode.Frontend.Helpers.AreaItems.GetString("Link"); 60 int ShopPageId = GetInteger("Item.Area.ShopPageId"); 61 string SearchBarPlaceholder = Translate("SearchbarPlaceholderText", "S&oslash;g.."); 62 int GlobalNewsletterParagraphId = Firstweb.Custom.CustomCode.Frontend.Helpers.AreaItems.GetInt("GlobalNewsletterParagraphId"); 63 int CartCount = GetLoop("OrderLines").Count; 64 bool FirstShopWithSameName = true; 65 string SelectPlaceholder = Translate("ShopSelectPlaceholder", "Indtast by, postnummer eller adresse"); 66 string SelectNoResult = Translate("ShopSelectNoResult", "No such shop found"); 67 int ProductPage = Firstweb.Custom.CustomCode.Frontend.Helpers.AreaItems.GetInt("PrimaryProductPage"); 68 69 DateTime today = DateTime.Today; 70 string currentYear = today.ToString("yyyy"); 71 72 string BannerBackgroundColor = GetString("Item.Area.BannerBackgroundColor"); 73 string BannerTextColor = GetString("Item.Area.BannerTextColor"); 74 var TopBarNav = GetLoop("Item.Area.TopBarNavigation"); 75 var TopbarHeaderContent = GetLoop("Item.Area.TopbarHeaderContent"); 76 string TilbudBgColor = !String.IsNullOrEmpty(GetString("Item.Area.TilbudBackgroundColor.Value")) ? GetString("Item.Area.TilbudBackgroundColor.Value") : "#00AB5D"; 77 string TilbudTextColor = !String.IsNullOrEmpty(GetString("Item.Area.TilbudTextColor.Value")) ? GetString("Item.Area.TilbudTextColor.Value") : "#FFFFFF"; 78 string StrongPriceBgColor = !String.IsNullOrEmpty(GetString("Item.Area.St_rkPrisBackgroundColor.Value")) ? GetString("Item.Area.St_rkPrisBackgroundColor.Value") : "#9d4778"; 79 string StrongPriceTextColor = !String.IsNullOrEmpty(GetString("Item.Area.St_rkPrisTextColor.Value")) ? GetString("Item.Area.St_rkPrisTextColor.Value") : "#FFFFFF"; 80 var uniqueSellingPoints = GetLoop("Item.Area.UniqueSellingPoints"); 81 string CookieText = Firstweb.Custom.CustomCode.Frontend.Helpers.AreaItems.GetString("CookieText"); 82 string CookieReadMore = Firstweb.Custom.CustomCode.Frontend.Helpers.AreaItems.GetString("CookieReadMoreText"); 83 var TopLevelGroups = Dynamicweb.Ecommerce.Services.ProductGroups.GetToplevelGroups().Where(g => g.ShopId == CurrentEcomShopId && g.LanguageId == CurrentEcomLanguageId && g.NavigationShowInMenu).ToList(); 84 string CurrentUri = HttpContext.Current.Request.Url.PathAndQuery.ToString().Replace("/Default.aspx", "Default.aspx"); 85 string convertedUri = Dynamicweb.Frontend.SearchEngineFriendlyURLs.GetFriendlyUrl(CurrentUri); 86 string CanonicalUri = Website.createCanonical(); 87 string CanonicalDomain = "mobler.dk"; 88 if (Website.IsLocalWebshop()) 89 { 90 CanonicalDomain = System.Web.HttpContext.Current.Request.Url.Host; 91 } 92 string CanonicalURL = "https://" + CanonicalDomain + CanonicalUri; 93 string AvisLink = Firstweb.Custom.CustomCode.Frontend.Helpers.AreaItems.GetString("Avis"); 94 string FindShopSearchPlaceholder = Translate("HeaderNav.FindShopPlaceholder", "Indtast postnr., by eller adresse"); 95 string SetBannerEndpoint = Firstweb.Custom.CustomCode.Frontend.Helpers.AreaItems.GetString("GetCartJson"); 96 bool ShowTopBanner = Mobler.Website.CustomCode.Frontend.V2.Helpers.MessageBanner.ShowMessageBanner(); 97 bool EnableTopBarHeader = GetBoolean("Item.Area.EnableTopBarHeader.Value"); 98 bool EnableTopBarNavigation = GetBoolean("Item.Area.EnableTopBarBanner.Value") && ShowTopBanner; 99 100 bool EnableGoogleShoppingScript = GetBoolean("Item.Area.EnableGoogleShoppingScript.Value"); 101 string GoogleShoppingContentKey = GetString("Item.Area.GoogleShoppingContentKey.Value"); 102 103 bool EnableFacebookScript = GetBoolean("Item.Area.EnableFacebookScript.Value"); 104 string FacebookScriptContentKey = GetString("Item.Area.FacebookScriptContentKey.Value"); 105 string PinterestDomainVerifyContentKey = GetString("Item.Area.PinterestDomainVerifyContentKey.Value"); 106 107 bool IsCheckoutStep = false || HttpContext.Current.Request.RawUrl.Contains("checkout"); 108 bool isCheckoutFirstStep = false || HttpContext.Current.Request.RawUrl.Contains("indkoebskurv"); 109 } 110 111 <!doctype html> 112 <html lang="da" class="box-border w-screen"> 113 114 <head> 115 <script> 116 // Temporary workaround for hiding the Cookiebot banner from Web Vitals scans 117 // https://support.cookiebot.com/hc/en-us/articles/360020501579-Google-Core-Web-Vitals-and-Cookiebot-CMP#h_01H05PZGDJ2TGTZBP5R1FC8EMH 118 window.addEventListener("CookiebotOnDialogInit", function() { 119 if (Cookiebot.getDomainUrlParam("CookiebotScan") === "true") 120 Cookiebot.setOutOfRegion(); 121 }); 122 </script> 123 <script id="Cookiebot" src="https://consent.cookiebot.com/uc.js" data-cbid="ec05aeab-ec7b-4d91-81fc-a8ebbcce1f2f" data-blockingmode="auto" type="text/javascript"></script> 124 <script data-cookieconsent="ignore"> 125 window.domGaTrackingEvents = []; 126 window.domFbqTrackingEvents = []; 127 128 window.dataLayer = window.dataLayer || []; 129 function gtag() { 130 dataLayer.push(arguments); 131 } 132 gtag("consent", "default", { 133 ad_storage: "denied", 134 analytics_storage: "denied", 135 functionality_storage: "denied", 136 personalization_storage: "denied", 137 security_storage: "granted", 138 wait_for_update: 500, 139 }); 140 gtag("set", "ads_data_redaction", true); 141 gtag("set", "url_passthrough", true); 142 </script> 143 @*GTM*@ 144 <script> 145 var ecomm_pagetype = "other"; 146 var ecomm_totalvalue = 0; 147 var ecomm_prodid = ""; 148 </script> 149 @RenderSnippet("DataLayerOverwrites") 150 151 @RenderSnippet("DataLayerOverwriteReceipt") 152 153 <!-- Google Tag Manager --> 154 <script data-cookieconsent="ignore">!function () { "use strict"; function e(e) { return function (e) { for (var t = 0, r = document.cookie.split(";"); t < r.length; t++) { var n = r[t].split("="); if (n[0].trim() === e) return n[1] } }(e) } function t(e) { return localStorage.getItem(e) } function r(e) { return window[e] } function n(e, t) { var r = document.querySelector(e); return t ? null == r ? void 0 : r.getAttribute(t) : null == r ? void 0 : r.textContent } !function (o, i, a, c, u, l, s, v, d, f, g) { var E, I, m, T; try { I = d && (m = navigator.userAgent, (T = new RegExp("Version/([0-9._]+)(.*Mobile)?.*Safari.*").exec(m)) && parseFloat(T[1]) >= 16.4) ? function (o, i, a) { void 0 === i && (i = ""); var c = { cookie: e, localStorage: t, jsVariable: r, cssSelector: n }, u = Array.isArray(i) ? i : [i]; if (o && c[o]) for (var l = c[o], s = 0, v = u; s < v.length; s++) { var d = v[s], f = a ? l(d, a) : l(d); if (f) return f } else console.warn("invalid uid source", o) }(d, "user_id", "") : void 0 } catch (e) { console.error(e) } var _ = o; _[c] = _[c] || [], _[c].push({ "gtm.start": (new Date).getTime(), event: "gtm.js" }); var p = i.getElementsByTagName(a)[0], A = I ? "&bi=" + encodeURIComponent(I) : "", N = i.createElement(a), D = I ? "kp" + v : v, R = !I && s ? s : "https://gtm.mobler.dk"; N.async = !0, N.src = R + "/" + D + ".js?id=GTM-PN9ZSS" + A, null === (E = p.parentNode) || void 0 === E || E.insertBefore(N, p) }(window, document, "script", "dataLayer", 0, 0, "", "rcuxkqbl", "cookie") }();</script> 155 <!-- End Google Tag Manager --> 156 <!-- Required meta tags --> 157 <meta charset="utf-8"> 158 <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> 159 160 @if (string.IsNullOrEmpty(Dynamicweb.Context.Current.Request["productid"])) 161 { 162 163 164 <title>@GetValue("Title")</title> 165 @GetValue("MetaTags") 166 @GetValue("CopyRightNotice") 167 168 } 169 else 170 { 171 @RenderSnippet("ProductDetailsMeta") 172 } 173 174 @if ((Mobler.Website.CustomCode.Frontend.Helper.IsLocalWebshop() && !System.Web.HttpContext.Current.Request.RawUrl.ToLower().EndsWith("/om-os")) || (System.Web.HttpContext.Current.Request.Url.Host.ToLower().Contains("1stweb") && !System.Web.HttpContext.Current.Request.Url.PathAndQuery.ToLower().Contains("debug")) || System.Web.HttpContext.Current.Request.Url.AbsoluteUri.ToLower().Contains("groupid=pim-")) 175 { 176 <meta name="robots" content="noindex"> 177 } 178 179 @if (!Mobler.Website.CustomCode.Frontend.Helper.IsLocalWebshop()) 180 { 181 <link rel="canonical" href="@CanonicalURL"> 182 } 183 <meta property="og:url" content="@CanonicalURL"> 184 <meta property="og:title" content="@GetValue(" title")"=""> 185 186 <link rel="shortcut icon" type="image/ico" href="/Files/Templates/Designs/Mobler2016/images/icons/favicon.ico"> 187 188 @if (GetString("Item.SystemName") == "BlogPost") 189 { 190 string imageMasterPage = GetString("Item.Billede.Value"); 191 string TeaserText = Regex.Replace(GetString("Item.TeaserTekst"), "<.*?>", String.Empty); 192 <meta property="og:type" content="article"> 193 <meta property="og:description" content="@TeaserText"> 194 <meta property="og:image" content="@imageMasterPage"> 195 } 196 else if (GetString("Item.SystemName") == "Brand") 197 { 198 string imageMasterPage = GetString("Item.Logo.Value"); 199 string TeaserText = GetString("Item.Navn"); 200 <meta property="og:type" content="article"> 201 <meta property="og:description" content="@TeaserText"> 202 <meta property="og:image" content="@imageMasterPage"> 203 } 204 else if (System.Web.HttpContext.Current.Items["OverrideOgTags"] != null) 205 { 206 @RenderSnippet("OgTags") 207 } 208 else 209 { 210 <meta property="og:type" content="business.business"> 211 <meta property="og:description" content="@GetString(" meta.description")"=""> 212 <meta property="og:image" content="https://mobler.dk/Files/Templates/Designs/Mobler2018/dist/logos/mobler.svg"> 213 } 214 215 216 @if (EnableGoogleShoppingScript && !string.IsNullOrEmpty(GoogleShoppingContentKey)) 217 { 218 <meta name="google-site-verification" content="@GoogleShoppingContentKey"> 219 } 220 221 @if (EnableFacebookScript && !string.IsNullOrEmpty(FacebookScriptContentKey)) 222 { 223 <meta name="facebook-domain-verification" content="@FacebookScriptContentKey"> 224 } 225 226 @if (EnableFacebookScript && !string.IsNullOrEmpty(PinterestDomainVerifyContentKey)) 227 { 228 <meta name="p:domain_verify" content="@PinterestDomainVerifyContentKey"> 229 } 230 231 @Pageview.AddViteStyles() 232 233 <link rel="preconnect" href="https://content.cylindo.com" crossorigin=""> 234 235 236 @GetValue("Stylesheets") 237 @GetValue("Javascripts") 238 </head> 239 @{ 240 bool isBlackFriday = Firstweb.Custom.CustomCode.Frontend.Helpers.AreaItems.GetBoolean("BlackFridayTheme"); 241 string blackFridayThemeClass = isBlackFriday ? "theme--black-friday" : ""; 242 } 243 <body class="@blackFridayThemeClass overflow-x-hidden" data-bind="viewModel: 'MasterViewModel', Cookies" data-currentshopislocalwebshop="@Mobler.Website.CustomCode.Frontend.Helper.IsLocalWebshop()" data-mainshoplink="@MainShopLink" data-culture="@culture" data-design="@designFolder"> 244 245 <!-- Google Tag Manager (noscript) --> 246 <noscript><iframe src="https://gtm.mobler.dk/ns.html?id=GTM-PN9ZSS" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> 247 <!-- End Google Tag Manager (noscript) --> 248 249 <siteheader></siteheader> 250 251 <div data-bind="viewModel: 'HeaderViewModel'"> 252 <header class="js-header"> 253 254 <!-- TODO: Add logic to SiteHeader --> 255 @if (EnableTopBarNavigation && !IsCheckoutStep && TopBarNav != null) 256 { 257 dynamic NotificationData = new 258 { 259 bannerStyle = new 260 { 261 backgroundColor = BannerBackgroundColor, 262 textColor = BannerTextColor 263 }, 264 bannerContent = TopBarNav.Select(item => new 265 { 266 link = item.GetString("Item.Area.TopBarNavigation.NavItemLink"), 267 text = item.GetString("Item.Area.TopBarNavigation.NavItemText") 268 }).ToList() 269 }; 270 object NotificationDataJson = HttpUtility.HtmlAttributeEncode(Newtonsoft.Json.JsonConvert.SerializeObject(NotificationData)); 271 <script>//console.log("%cNotificationDataJson", "color:white;background:rebeccapurple;padding:5px;", @Newtonsoft.Json.JsonConvert.SerializeObject(NotificationData, new Newtonsoft.Json.JsonSerializerSettings {ReferenceLoopHandling = Newtonsoft.Json.ReferenceLoopHandling.Ignore, PreserveReferencesHandling = Newtonsoft.Json.PreserveReferencesHandling.Objects}));</script> 272 273 <notificationelement data-theme="info" data-content="@NotificationDataJson"></notificationelement> 274 @*<div class="container-fluid js-top-banner topbar-nav"> 275 276 <div class="text-center" style="background-color:@BannerBackgroundColor;"> 277 <div class="flex justify-center items- py-1"> 278 <ul class="list-none"> 279 @foreach (var navItem in TopBarNav) 280 { 281 string ItemLink = navItem.GetString("Item.Area.TopBarNavigation.NavItemLink"); 282 string ItemText = navItem.GetString("Item.Area.TopBarNavigation.NavItemText"); 283 <li> 284 <a class="nav-link p-1 rte-content" href='@ItemLink' style="color:@BannerTextColor;"> 285 @ItemText 286 </a> 287 </li> 288 } 289 </ul> 290 <div class="ml-2"> 291 <a href="#" data-bind="topBanner: { target: '.js-top-banner', endpoint: '@SetBannerEndpoint' }"> 292 <i class="fa-solid fa-xmark" style="color:@BannerTextColor;"></i> 293 </a> 294 </div> 295 </div> 296 </div> 297 </div>*@ 298 } 299 </header> 300 <localshopmodal data-show="false" data-text="@GetString(" item.area.localwebshoptext")"="" data-shop-name="@shopnameEncoded" data-is-local-shop="@Mobler.Website.CustomCode.Frontend.Helper.IsLocalWebshop().ToString().ToLower()"></localshopmodal> 301 </div> 302 303 @using Mobler.Website.CustomModules.MoblerHelpers; 304 @using Dynamicweb.Content.Items; 305 @inherits Dynamicweb.Rendering.RazorTemplateBase<Dynamicweb.Rendering.RazorTemplateModel<Dynamicweb.Rendering.Template>> 306 307 308 @{ 309 var CurrentPageView = Dynamicweb.Frontend.PageView.Current().Page; 310 var CurrentPage = Dynamicweb.Services.Pages.GetPage(CurrentPageView.ID); 311 var Questions = MoblerHelpers.GetFaqQuestions(CurrentPage); 312 int QuestionCounter = 1; 313 } 314 315 @RenderNavigation(new { ExpandMode = "All", Template = "breadcrumb.xslt" }) 316 317 <div class="container my-3"> 318 <h1 class="text-uppercase mb-5">@CurrentPage.MenuText</h1> 319 </div> 320 321 <div class="box-shadow mb-5 mt-3"> 322 <div class="container py-5"> 323 <p class="font-bold">@Translate("FAQHeader", "Ofte stillede sp&oslash;rgsm&aring;l")</p> 324 <div class="row"> 325 @foreach (var Question in Questions) 326 { 327 Dynamicweb.Content.Page QuestionPage = Dynamicweb.Services.Pages.GetPageForItem(Question.SystemName, Question.Id); 328 329 string Url = Dynamicweb.Frontend.SearchEngineFriendlyURLs.GetFriendlyUrl(QuestionPage.Parent.ID); 330 string CollapseId = "collapse-" + QuestionCounter; 331 <div class="col-12 col-md-6 faq-question"> 332 <div class="p-2 pointer" data-toggle="collapse" data-target="#@CollapseId"> 333 <p class="flex-fill flex justify-content-between items-center mb-0 text-primary">@Question["Question"] <i class="fas fa-chevron-right"></i></p> 334 </div> 335 <div class="collapse" id="@CollapseId"> 336 <div class="p-2 answer"> 337 <div>@Question["Answer"]</div> 338 </div> 339 </div> 340 </div> 341 QuestionCounter++; 342 } 343 </div> 344 </div> 345 </div> 346 347 <div id="content1">@GetValue("DwContent(content1)")</div> 348 349 350 351 @if (!IsCheckoutStep) 352 { 353 if (!isCheckoutFirstStep) 354 { 355 var brandsLoop = @GetLoop("Item.Page.Brand_Icon.Value"); 356 <!-- TODO: (Out of scope) Clean this up so we don't repeat --> 357 <section class="container py-8"> 358 <div class="grid grid-cols-3 md:grid-cols-6 gap-4"> 359 @if (brandsLoop.Count <= 0) 360 { 361 foreach (var item in GetLoop("Item.Area.Featured_Brands")) 362 { 363 string Link = item.GetString("Item.Area.Featured_Brands.Brand.Value"); 364 var Brand = Firstweb.Custom.CustomCode.Frontend.Helpers.Brands.GetBrand(Link); 365 366 if (!String.IsNullOrEmpty(Brand.Name)) 367 { 368 <a href="@Brand.Link"> 369 <img width="900" height="400" class="img-fit-contain-x" src="/Admin/Public/GetImage.ashx?Image=@Brand.Logo&Format=webP&Quality=90&Height=400" alt="@Brand.Name"> 370 </a> 371 } 372 } 373 } 374 else 375 { 376 foreach (var item in brandsLoop) 377 { 378 string image = item.GetString("Item.Page.Brand_Icon.Value.Image.Value"); 379 string link = item.GetString("Item.Page.Brand_Icon.Value.LinkDestination.Value"); 380 381 if (!String.IsNullOrEmpty(image)) 382 { 383 <a href="@link"> 384 <img width="900" height="400" class="img-fluid" src="/Admin/Public/GetImage.ashx?Image=@image&Format=webP&Quality=90&Height=400" alt=""> 385 </a> 386 } 387 } 388 } 389 </div> 390 </section> 391 } 392 393 <section class="bg-beige pt-14 lg:pt-28"> 394 <div class="container flex flex-wrap"> 395 <div class="w-full md:w-3/4 lg:w-1/2 flex flex-col md:items-start gap-y-4"> 396 <a href="/" class="flex flex-col md:items-center"> 397 <img width="400" height="46" class="max-h-[46px] hidden md:inline-block" src="@logoSrc" alt='@Translate("LogoAltText", "Møblér: Alt indenfor møbler og boligindretning")'> 398 <img width="400" height="46" class="max-h-[46px] w-full object-contain object-left inline md:hidden" src="@logoSrcMobile" alt='@Translate("LogoAltText", "Møblér: Alt indenfor møbler og boligindretning")'> 399 @if (shopname.ToLower() != "møblér") 400 { 401 <small class="text-xs text-grey-dark text-center hidden md:block">@Translate("LogoServiceText", "Ordren serviceres af Møbler.dk")</small> 402 } 403 </a> 404 405 <!-- TODO: This has not been tested and styled --> 406 @if (shopnameEncoded == "M%c3%b8bl%c3%a9r") 407 { 408 <div> 409 <p class="mb-0 font-bold">@GetString("Item.Area.Header")</p> 410 <p> 411 @GetString("Item.Area.About") 412 </p> 413 <a href="@FooterLinkDestination"><u>@Translate("FooterAboutReadMore", "L&aelig;s mere om M&oslash;blér k&aelig;den her")</u></a> 414 </div> 415 } 416 else 417 { 418 if (GetString("Item.SystemName") == "TextPage") 419 { 420 string CurrentAboutUsShopName = GetString("DwPageName_2"); 421 shopInfo = Website.ShopInfo(CurrentAboutUsShopName); 422 shopname = CurrentAboutUsShopName; 423 } 424 425 <div class="flex flex-wrap gap-y-4 w-full"> 426 <div class="w-full md:w-1/2"> 427 <ul class="list-none"> 428 <li class="mb-2"><strong>@shopInfo.ShopName</strong></li> 429 <li>@shopInfo.Address</li> 430 <li>@shopInfo.PostalAndCity</li> 431 <li> 432 <a href="@localShopPage" class="underline text-black">@Translate("ShowOnMap", "Vis p&#229; kort")</a> 433 </li> 434 435 @if (!String.IsNullOrEmpty(shopInfo.Address1)) 436 { 437 <li>@shopInfo.Address1, @shopInfo.PostalAndCity1</li> 438 } 439 @if (!String.IsNullOrEmpty(shopInfo.Address2)) 440 { 441 <li>@shopInfo.Address2, @shopInfo.PostalAndCity2</li> 442 } 443 <li class="mt-4">@shopInfo.Phone</li> 444 <li> 445 <a href="mailto:@shopInfo.Email" class="underline text-black">@shopInfo.Email</a> 446 </li> 447 </ul> 448 </div> 449 450 <div class="w-full md:w-1/2"> 451 @if (shopInfo.ShopInformationList.Count > 0 || shopInfo.OpeningHours != null) 452 { 453 <p class="mb-2"><strong>@Translate("openinghours", "&#197;bningstider")</strong></p> 454 } 455 @if (shopInfo.ShopInformationList.Count > 0) 456 { 457 foreach (var row in shopInfo.ShopInformationList) 458 { 459 var rowClass = !string.IsNullOrEmpty(row.columnTwo) ? "basis-1/2" : ""; 460 <div class="flex gap-x-2"> 461 <div class="@rowClass"> 462 @row.columnOne 463 </div> 464 @if (!string.IsNullOrEmpty(row.columnTwo)) 465 { 466 <div>@row.columnTwo</div> 467 } 468 </div> 469 } 470 } 471 else if (shopInfo.OpeningHours != null) 472 { 473 <div class="flex flex-col justify-content items-center gap-2 md:items-start">@shopInfo.OpeningHours</div> 474 } 475 </div> 476 477 </div> 478 } 479 <ul class="list-none flex gap-2 mb-8"> 480 @foreach (var Some in GetLoop("Item.Area.SocialMediaIcons")) 481 { 482 string Link = Some.GetString("Item.Area.SocialMediaIcons.Link"); 483 string Icon = Some.GetString("Item.Area.SocialMediaIcons.Icon.Value"); 484 <li> 485 <a href="@Link" target="_blank" class="text-black text-2xl hover:text-grey-dark"> 486 <img width="37" height="37" src="/Admin/Public/GetImage.ashx?Image=@Icon&Format=webP&Quality=90&Height=40" alt="social icon"> 487 </a> 488 </li> 489 } 490 491 @foreach (var Some in GetLoop("Item.Area.SocialMediaFontawesomeIcons")) 492 { 493 string Link = Some.GetString("Item.Area.SocialMediaFontawesomeIcons.Link"); 494 string Icon = Some.GetString("Item.Area.SocialMediaFontawesomeIcons.FontawesomeClass"); 495 <li> 496 <a href="@Link" target="_blank" class="text-black text-3xl hover:text-grey-dark"> 497 <i class="@Icon"></i> 498 </a> 499 </li> 500 } 501 </ul> 502 </div> 503 <div class="hidden lg:flex justify-center items-end w-full lg:w-2/4"> 504 @{ 505 string footerStaffImagePath = String.Format("/Files/Images/Owners/Large/{0}.png", shopname); 506 string footerStaffGetImage = ""; 507 if (!String.IsNullOrEmpty(footerStaffImagePath)) 508 { 509 footerStaffGetImage = "/Admin/Public/GetImage.ashx?Image=" + footerStaffImagePath + "&Format=webP&Quality=90&width=640&height=300"; 510 } 511 } 512 <img width="640" height="300" class="img-fit-contain-x" src="@footerStaffGetImage" alt="@shopname"> 513 </div> 514 </div> 515 </section> 516 517 <section class="bg-beige-dark py-10"> 518 <div class="container"> 519 <div class="flex flex-wrap xl:flex-nowrap xl:flex-row gap-4 "> 520 <div class="w-full grid md:grid-cols-3 xl:grid-cols-6 gap-y-4 *:list-none *:text-center *:md:text-left *:text-sm *:leading-8"> 521 <ul class="list-none col-span-3 md:col-span-1"> 522 <strong>@GetString("Item.Area.Footer_Column_1_Header")</strong> 523 @foreach (var Link in GetLoop("Item.Area.Footer_Column_1_Links")) 524 { 525 string LinkText = Link.GetString("Item.Area.Footer_Column_1_Links.LinkText"); 526 string LinkDestination = "/Default.aspx?id=" + Link.GetString("Item.Area.Footer_Column_1_Links.Link"); 527 <li> 528 <a href="@LinkDestination" class="text-black hover:underline hover:text-black">@LinkText</a> 529 </li> 530 } 531 </ul> 532 <ul class="list-none col-span-3 md:col-span-1"> 533 <strong>@GetString("Item.Area.Footer_Column_2_Header")</strong> 534 @foreach (var Link in GetLoop("Item.Area.Footer_Column_2_Links")) 535 { 536 string LinkText = Link.GetString("Item.Area.Footer_Column_2_Links.LinkText"); 537 string LinkDestination = "/Default.aspx?id=" + Link.GetString("Item.Area.Footer_Column_2_Links.Link"); 538 <li> 539 <a href="@LinkDestination" class="text-sm text-black">@LinkText</a> 540 </li> 541 } 542 </ul> 543 <ul class="list-none col-span-3 md:col-span-1"> 544 <strong>@GetString("Item.Area.Footer_Column_3_Header")</strong> 545 @foreach (var Link in GetLoop("Item.Area.Footer_Column_3_Links")) 546 { 547 string LinkText = Link.GetString("Item.Area.Footer_Column_3_Links.LinkText"); 548 string LinkDestination = "/Default.aspx?id=" + Link.GetString("Item.Area.Footer_Column_3_Links.Link"); 549 <li> 550 <a href="@LinkDestination" class="text-sm text-black">@LinkText</a> 551 </li> 552 } 553 </ul> 554 555 <div class="col-span-3"> 556 <strong>@Translate("Co3.Newsletter.Headline.Text", "Møblérs nyhedsbrev")</strong> 557 <newsletter></newsletter> 558 </div> 559 </div> 560 </div> 561 </div> 562 </section> 563 564 <div class="py-4 bg-white"> 565 <div class="container flex flex-col md:flex-row gap-y-4"> 566 <div class="w-full xl:w-1/2 flex justify-center items-center md:justify-start text-xs"> 567 © @currentYear @Translate("Copyright", "Møblér. All Rights Reserved.") 568 </div> 569 <div class="w-full xl:w-1/2 flex items-center md:justify-end"> 570 <a href='@Translate("PersondataLink", "link")' class="text-xs underline text-black mr-2">@Translate("PersondataText", "Persondatapolitik")</a> 571 <paymentmethodlogos data-all-payments="true"></paymentmethodlogos> 572 </div> 573 574 </div> 575 </div> 576 } 577 578 <script type="module" src="https://viewer-cdn.cylindo.com/v1/index.mjs" defer=""></script> 579 580 @Pageview.AddViteScript() 581 </body> 582 </html> 583