Error compiling template "Designs/Scanpan/_parsed/blocks.parsed.cshtml"
Line 910: The name 'firstPageId' does not exist in the current context

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 3 "E:\dynamicweb.net\Solutions\scanpan-live\Files\Templates\Designs\Scanpan\_parsed\blocks.parsed.cshtml" 17 using NoZebra.S_DW_Scanpan.CustomCode.Model; 18 19 #line default 20 #line hidden 21 22 23 public class RazorEngine_8475d5393bd04374a260fda89636fe8f : Dynamicweb.Rendering.RazorTemplateBase<Dynamicweb.Rendering.RazorTemplateModel<Dynamicweb.Rendering.Template>> { 24 25 #line hidden 26 27 public RazorEngine_8475d5393bd04374a260fda89636fe8f() { 28 } 29 30 public override void Execute() { 31 32 #line 4 "E:\dynamicweb.net\Solutions\scanpan-live\Files\Templates\Designs\Scanpan\_parsed\blocks.parsed.cshtml" 33 34 var requestHost = GetGlobalValue("Global:Request.Host"); 35 36 var googleTagManagerToken = Pageview.Area.Item["GoogleTagManagerToken"].ToString(); 37 var googleAnalyticsToken = Pageview.Area.Item["GoogleAnalyticsToken"].ToString(); 38 var googleSiteVerificationToken = Pageview.Area.Item["GoogleSiteVerificationToken"].ToString(); 39 var pinterestSiteVerificationToken = Pageview.Area.Item["PinterestSiteVerificationToken"].ToString(); 40 var visualWebsiteOptimizerToken = Pageview.Area.Item["VisualWebsiteOptimizerToken"].ToString(); 41 var newsletterReceipt = Pageview.Area.Item["NewsletterReceiptPageId"].ToString(); 42 var footerScript = Pageview.Area.Item["FooterScript"].ToString(); 43 var assetsVersion = Pageview.Area.Item["AssetsVersion"].ToString(); 44 var longLang = GetString("LongLang").ToLower(); 45 string pageUrl = Pageview.SearchFriendlyUrl; 46 bool pageUrlHasQuery = pageUrl.IndexOf("?") > -1; 47 var pageLanguageLinks = GetLoop("Item.Page.LanguageVersions"); 48 List<HrefLangLink> hrefLangLinks = new List<HrefLangLink>(); 49 if (!pageUrlHasQuery) 50 { 51 if (pageLanguageLinks.Any()) 52 { 53 hrefLangLinks.Add(new HrefLangLink 54 { 55 Url = System.Web.HttpContext.Current.Request.Url.GetLeftPart(System.UriPartial.Authority) + (Pageview.Page.Sort > 1 ? Dynamicweb.Frontend.SearchEngineFriendlyURLs.GetFriendlyUrl(Pageview.ID) : "/" + Pageview.Area.Culture.ToLower()), 56 LanguageCode = Pageview.Area.Culture.ToLower() 57 }); 58 foreach (var link in pageLanguageLinks) 59 { 60 int pageId = link.GetInteger("Item.Page.LanguageVersions.Page"); 61 var page = Dynamicweb.Services.Pages.GetPage(pageId); 62 if (page != null) 63 { 64 string url = System.Web.HttpContext.Current.Request.Url.GetLeftPart(System.UriPartial.Authority); 65 string languageCode = page.Area.Culture.ToLower(); 66 if (page.Sort == 1 && languageCode.ToLower() != "en-gb") 67 { 68 url += "/" + languageCode; 69 } 70 else 71 { 72 url += Dynamicweb.Frontend.SearchEngineFriendlyURLs.GetFriendlyUrl(pageId); 73 } 74 75 var hrefLangLink = new HrefLangLink 76 { 77 Url = url, 78 LanguageCode = languageCode 79 }; 80 hrefLangLinks.Add(hrefLangLink); 81 } 82 } 83 } 84 else 85 { 86 hrefLangLinks = NoZebra.S_DW_Scanpan.CustomCode.Helpers.NavigationHelper.GetLanguageLinks(Pageview.ID); 87 } 88 } 89 90 91 #line default 92 #line hidden 93 WriteLiteral("\r\n\r\n<!DOCTYPE html>\r\n<!--[if lte IE 8]> <html id=\"scanpan\" class=\"no-js lt-ie" + 94 "9 lt-ie10\" lang=\""); 95 96 97 #line 63 "E:\dynamicweb.net\Solutions\scanpan-live\Files\Templates\Designs\Scanpan\_parsed\blocks.parsed.cshtml" 98 Write(longLang); 99 100 101 #line default 102 #line hidden 103 WriteLiteral("\"> <![endif]-->\r\n<!--[if lte IE 9]> <html id=\"scanpan\" class=\"no-js lt-ie10\" " + 104 "lang=\""); 105 106 107 #line 64 "E:\dynamicweb.net\Solutions\scanpan-live\Files\Templates\Designs\Scanpan\_parsed\blocks.parsed.cshtml" 108 Write(longLang); 109 110 111 #line default 112 #line hidden 113 WriteLiteral("\"> <![endif]-->\r\n<!--[if gt IE 9]><!--> <html"); 114 115 WriteLiteral(" id=\"scanpan\""); 116 117 WriteLiteral(" class=\"no-js\""); 118 119 WriteAttribute("lang", Tuple.Create(" lang=\"", 3268), Tuple.Create("\"", 3284) 120 121 #line 65 "E:\dynamicweb.net\Solutions\scanpan-live\Files\Templates\Designs\Scanpan\_parsed\blocks.parsed.cshtml" 122 , Tuple.Create(Tuple.Create("", 3275), Tuple.Create<System.Object, System.Int32>(longLang 123 124 #line default 125 #line hidden 126 , 3275), false) 127 ); 128 129 WriteLiteral("> <!--<![endif]-->\r\n <head>\r\n <meta"); 130 131 WriteLiteral(" charset=\"utf-8\""); 132 133 WriteLiteral(">\r\n\r\n <title>"); 134 135 136 #line 69 "E:\dynamicweb.net\Solutions\scanpan-live\Files\Templates\Designs\Scanpan\_parsed\blocks.parsed.cshtml" 137 Write(GetValue("Title")); 138 139 140 #line default 141 #line hidden 142 WriteLiteral("</title>\r\n"); 143 144 145 #line 70 "E:\dynamicweb.net\Solutions\scanpan-live\Files\Templates\Designs\Scanpan\_parsed\blocks.parsed.cshtml" 146 Write(GetValue("MetaTags")); 147 148 149 #line default 150 #line hidden 151 WriteLiteral("\r\n"); 152 153 154 #line 71 "E:\dynamicweb.net\Solutions\scanpan-live\Files\Templates\Designs\Scanpan\_parsed\blocks.parsed.cshtml" 155 Write(GetValue("CopyRightNotice")); 156 157 158 #line default 159 #line hidden 160 WriteLiteral("\r\n\r\n"); 161 162 163 #line 73 "E:\dynamicweb.net\Solutions\scanpan-live\Files\Templates\Designs\Scanpan\_parsed\blocks.parsed.cshtml" 164 165 166 #line default 167 #line hidden 168 169 #line 73 "E:\dynamicweb.net\Solutions\scanpan-live\Files\Templates\Designs\Scanpan\_parsed\blocks.parsed.cshtml" 170 if (String.IsNullOrWhiteSpace(System.Web.HttpContext.Current.Items["MetaTags"]?.ToString())) 171 { 172 string url = Dynamicweb.Frontend.SearchEngineFriendlyURLs.GetFriendlyUrl($"Default.aspx?ID={GetString("DwPageID")}"); 173 string lang = GetString("LongLang"); 174 } 175 else 176 { 177 178 179 #line default 180 #line hidden 181 182 #line 80 "E:\dynamicweb.net\Solutions\scanpan-live\Files\Templates\Designs\Scanpan\_parsed\blocks.parsed.cshtml" 183 Write(System.Web.HttpContext.Current.Items["MetaTags"]); 184 185 186 #line default 187 #line hidden 188 189 #line 80 "E:\dynamicweb.net\Solutions\scanpan-live\Files\Templates\Designs\Scanpan\_parsed\blocks.parsed.cshtml" 190 191 } 192 193 194 #line default 195 #line hidden 196 WriteLiteral("\r\n"); 197 198 199 #line 83 "E:\dynamicweb.net\Solutions\scanpan-live\Files\Templates\Designs\Scanpan\_parsed\blocks.parsed.cshtml" 200 201 202 #line default 203 #line hidden 204 205 #line 83 "E:\dynamicweb.net\Solutions\scanpan-live\Files\Templates\Designs\Scanpan\_parsed\blocks.parsed.cshtml" 206 if (!GetString("MetaTags").Contains("canonical")) 207 { 208 string domainUrl = Dynamicweb.Context.Current.Request.Url.Scheme + "://" + Dynamicweb.Context.Current.Request.Url.Host; 209 string canonical = domainUrl + Dynamicweb.Frontend.SearchEngineFriendlyURLs.GetFriendlyUrl(Dynamicweb.Context.Current.Request.Url.ToString().Replace(domainUrl + "/", "")); 210 string canonicalWithoutParameters = canonical.Split('?')[0]; 211 if(Dynamicweb.Context.Current.Request.Url.ToString().ToLower().Contains("areaid=")) { 212 canonicalWithoutParameters += "/" + longLang; 213 } 214 215 216 #line default 217 #line hidden 218 WriteLiteral(" <link"); 219 220 WriteLiteral(" rel=\"canonical\""); 221 222 WriteAttribute("href", Tuple.Create(" href=\"", 4432), Tuple.Create("\"", 4466) 223 224 #line 91 "E:\dynamicweb.net\Solutions\scanpan-live\Files\Templates\Designs\Scanpan\_parsed\blocks.parsed.cshtml" 225 , Tuple.Create(Tuple.Create("", 4439), Tuple.Create<System.Object, System.Int32>(canonicalWithoutParameters 226 227 #line default 228 #line hidden 229 , 4439), false) 230 ); 231 232 WriteLiteral(">\r\n"); 233 234 235 #line 92 "E:\dynamicweb.net\Solutions\scanpan-live\Files\Templates\Designs\Scanpan\_parsed\blocks.parsed.cshtml" 236 } 237 238 239 #line default 240 #line hidden 241 WriteLiteral("\r\n \r\n <meta"); 242 243 WriteLiteral(" name=\"viewport\""); 244 245 WriteLiteral(" content=\"width=device-width\""); 246 247 WriteLiteral(">\r\n <meta"); 248 249 WriteLiteral(" name=\"globalsign-domain-verification\""); 250 251 WriteLiteral(" content=\"EWGav1RwWcMsTp8Fx4t9bGNw_r7PQ6cRVx7_udeJiC\""); 252 253 WriteLiteral(">\r\n <meta"); 254 255 WriteLiteral(" name=\"globalsign-domain-verification\""); 256 257 WriteLiteral(" content=\"Gd4KzAVKV-VBSUdl8V45WUiwRoDU4XYc2XotXeF5_J\""); 258 259 WriteLiteral(">\r\n <meta"); 260 261 WriteLiteral(" name=\"facebook-domain-verification\""); 262 263 WriteLiteral(" content=\"xqdqh65mx5rkyrjk1k5ni3mi6rpa17\""); 264 265 WriteLiteral(">\r\n\r\n "); 266 267 WriteLiteral("\r\n"); 268 269 270 #line 101 "E:\dynamicweb.net\Solutions\scanpan-live\Files\Templates\Designs\Scanpan\_parsed\blocks.parsed.cshtml" 271 272 273 #line default 274 #line hidden 275 276 #line 101 "E:\dynamicweb.net\Solutions\scanpan-live\Files\Templates\Designs\Scanpan\_parsed\blocks.parsed.cshtml" 277 if (requestHost.Contains("staging") || requestHost.Contains("nozebrahosting")) 278 { 279 280 281 #line default 282 #line hidden 283 WriteLiteral(" <meta"); 284 285 WriteLiteral(" name=\"robots\""); 286 287 WriteLiteral(" content=\"noindex, nofollow\""); 288 289 WriteLiteral(">\r\n"); 290 291 292 #line 104 "E:\dynamicweb.net\Solutions\scanpan-live\Files\Templates\Designs\Scanpan\_parsed\blocks.parsed.cshtml" 293 } 294 295 296 #line default 297 #line hidden 298 WriteLiteral("\r\n"); 299 300 301 #line 106 "E:\dynamicweb.net\Solutions\scanpan-live\Files\Templates\Designs\Scanpan\_parsed\blocks.parsed.cshtml" 302 303 304 #line default 305 #line hidden 306 307 #line 106 "E:\dynamicweb.net\Solutions\scanpan-live\Files\Templates\Designs\Scanpan\_parsed\blocks.parsed.cshtml" 308 if (!string.IsNullOrWhiteSpace(googleSiteVerificationToken)) 309 { 310 311 312 #line default 313 #line hidden 314 WriteLiteral(" <meta"); 315 316 WriteLiteral(" name=\"google-site-verification\""); 317 318 WriteAttribute("content", Tuple.Create(" content=\"", 5187), Tuple.Create("\"", 5225) 319 320 #line 108 "E:\dynamicweb.net\Solutions\scanpan-live\Files\Templates\Designs\Scanpan\_parsed\blocks.parsed.cshtml" 321 , Tuple.Create(Tuple.Create("", 5197), Tuple.Create<System.Object, System.Int32>(googleSiteVerificationToken 322 323 #line default 324 #line hidden 325 , 5197), false) 326 ); 327 328 WriteLiteral(">\r\n"); 329 330 331 #line 109 "E:\dynamicweb.net\Solutions\scanpan-live\Files\Templates\Designs\Scanpan\_parsed\blocks.parsed.cshtml" 332 } 333 334 335 #line default 336 #line hidden 337 WriteLiteral(" "); 338 339 340 #line 110 "E:\dynamicweb.net\Solutions\scanpan-live\Files\Templates\Designs\Scanpan\_parsed\blocks.parsed.cshtml" 341 if (!string.IsNullOrWhiteSpace(pinterestSiteVerificationToken)) 342 { 343 344 345 #line default 346 #line hidden 347 WriteLiteral(" <meta"); 348 349 WriteLiteral(" name=\"p:domain_verify\""); 350 351 WriteAttribute("content", Tuple.Create(" content=\"", 5349), Tuple.Create("\"", 5390) 352 353 #line 112 "E:\dynamicweb.net\Solutions\scanpan-live\Files\Templates\Designs\Scanpan\_parsed\blocks.parsed.cshtml" 354 , Tuple.Create(Tuple.Create("", 5359), Tuple.Create<System.Object, System.Int32>(pinterestSiteVerificationToken 355 356 #line default 357 #line hidden 358 , 5359), false) 359 ); 360 361 WriteLiteral(">\r\n"); 362 363 364 #line 113 "E:\dynamicweb.net\Solutions\scanpan-live\Files\Templates\Designs\Scanpan\_parsed\blocks.parsed.cshtml" 365 } 366 367 368 #line default 369 #line hidden 370 WriteLiteral("\r\n <link"); 371 372 WriteAttribute("href", Tuple.Create(" href=\"", 5412), Tuple.Create("\"", 5502) 373 , Tuple.Create(Tuple.Create("", 5419), Tuple.Create("/Files/Templates/Designs/Scanpan/assets/stylesheets/main.css?nocache=", 5419), true) 374 375 #line 115 "E:\dynamicweb.net\Solutions\scanpan-live\Files\Templates\Designs\Scanpan\_parsed\blocks.parsed.cshtml" 376 , Tuple.Create(Tuple.Create("", 5488), Tuple.Create<System.Object, System.Int32>(assetsVersion 377 378 #line default 379 #line hidden 380 , 5488), false) 381 ); 382 383 WriteLiteral(" rel=\"stylesheet\""); 384 385 WriteLiteral(">\r\n <link"); 386 387 WriteAttribute("href", Tuple.Create(" href=\"", 5532), Tuple.Create("\"", 5623) 388 , Tuple.Create(Tuple.Create("", 5539), Tuple.Create("/Files/Templates/Designs/Scanpan/assets/stylesheets/print.css?nocache=", 5539), true) 389 390 #line 116 "E:\dynamicweb.net\Solutions\scanpan-live\Files\Templates\Designs\Scanpan\_parsed\blocks.parsed.cshtml" 391 , Tuple.Create(Tuple.Create("", 5609), Tuple.Create<System.Object, System.Int32>(assetsVersion 392 393 #line default 394 #line hidden 395 , 5609), false) 396 ); 397 398 WriteLiteral(" rel=\"stylesheet\""); 399 400 WriteLiteral(" media=\"print\""); 401 402 WriteLiteral(">\r\n\r\n <link"); 403 404 WriteLiteral(" rel=\"shortcut icon\""); 405 406 WriteLiteral(" href=\"/Files/Templates/Designs/Scanpan/favicon.ico\""); 407 408 WriteLiteral(">\r\n\r\n <script"); 409 410 WriteLiteral(" type=\"application/ld+json\""); 411 412 WriteLiteral(">\r\n {\r\n \""); 413 414 WriteLiteral("@context\": \"http://schema.org\",\r\n \""); 415 416 WriteLiteral("@type\": \"LocalBusiness\",\r\n \"address\": {\r\n \""); 417 418 WriteLiteral(@"@type"": ""PostalAddress"", 419 ""addressLocality"": ""DK-8550 Ryomgård"", 420 ""streetAddress"": ""Industrivej 49"" 421 }, 422 ""description"": ""Scanpan"", 423 ""name"": ""Scanpan"", 424 ""image"": ""https://www.scanpan.dk/Files/Templates/Designs/Scanpan/assets/images/logo.png"", 425 ""telephone"": ""+45 87 74 14 00"" 426 } 427 </script> 428 429 <script> 430 // Replace no-js css class with js css class 431 document.documentElement.className = document.documentElement.className.replace(/\bno-js\b/g, 'js'); 432 </script> 433 434 <!--[if IE]> 435 <link href=""/Files/Templates/Designs/Scanpan/assets/stylesheets/ie.css"" rel=""stylesheet""> 436 <![endif]--> 437 <!--[if lt IE 9]> 438 <script src=""/Files/Templates/Designs/Scanpan/assets/javascripts/lib/html5shiv-3.7.2.min.js""></script> 439 <![endif]--> 440 441 "); 442 443 WriteLiteral(" "); 444 445 446 #line 148 "E:\dynamicweb.net\Solutions\scanpan-live\Files\Templates\Designs\Scanpan\_parsed\blocks.parsed.cshtml" 447 Write(RenderSnippet("HeadClose")); 448 449 450 #line default 451 #line hidden 452 WriteLiteral("\r\n\r\n"); 453 454 455 #line 150 "E:\dynamicweb.net\Solutions\scanpan-live\Files\Templates\Designs\Scanpan\_parsed\blocks.parsed.cshtml" 456 457 458 #line default 459 #line hidden 460 461 #line 150 "E:\dynamicweb.net\Solutions\scanpan-live\Files\Templates\Designs\Scanpan\_parsed\blocks.parsed.cshtml" 462 if (!string.IsNullOrWhiteSpace(googleTagManagerToken)) 463 { 464 465 466 #line default 467 #line hidden 468 WriteLiteral(@" <script> 469 (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': 470 new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], 471 j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= 472 '//www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f); 473 })(window,document,'script','dataLayer','"); 474 475 476 #line 157 "E:\dynamicweb.net\Solutions\scanpan-live\Files\Templates\Designs\Scanpan\_parsed\blocks.parsed.cshtml" 477 Write(googleTagManagerToken); 478 479 480 #line default 481 #line hidden 482 WriteLiteral("\');</script>\r\n"); 483 484 485 #line 158 "E:\dynamicweb.net\Solutions\scanpan-live\Files\Templates\Designs\Scanpan\_parsed\blocks.parsed.cshtml" 486 } 487 488 489 #line default 490 #line hidden 491 WriteLiteral(@" 492 <!-- Anti-flicker snippet (recommended)  --> 493 <style> 494 .async-hide { 495 opacity: 0 !important 496 } 497 </style> 498 <script> 499 (function (a, s, y, n, c, h, i, d, e) { 500 s.className += ' ' + y; h.start = 1 * new Date; 501 h.end = i = function () { s.className = s.className.replace(RegExp(' ?' + y), '') }; 502 (a[n] = a[n] || []).hide = h; setTimeout(function () { i(); h.end = null }, c); h.timeout = c; 503 })(window, document.documentElement, 'async-hide', 'dataLayer', 4000, 504 { 'GTM-58J3SP8': true });</script> 505 <!-- Modified Analytics tracking code with Optimize plugin --> 506 <script> 507 (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ 508 (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), 509 m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) 510 })(window,document,'script','https://www.google-analytics.com/analytics.js','ga'); 511 512 ga('create', '"); 513 514 515 #line 180 "E:\dynamicweb.net\Solutions\scanpan-live\Files\Templates\Designs\Scanpan\_parsed\blocks.parsed.cshtml" 516 Write(googleAnalyticsToken); 517 518 519 #line default 520 #line hidden 521 WriteLiteral("\', \'auto\');\r\n ga(\'require\', \'GTM-58J3SP8\');\r\n ga(\'send\', \'pageview\');\r\n " + 522 "</script>\r\n"); 523 524 525 #line 184 "E:\dynamicweb.net\Solutions\scanpan-live\Files\Templates\Designs\Scanpan\_parsed\blocks.parsed.cshtml" 526 527 528 #line default 529 #line hidden 530 531 #line 184 "E:\dynamicweb.net\Solutions\scanpan-live\Files\Templates\Designs\Scanpan\_parsed\blocks.parsed.cshtml" 532 foreach (HrefLangLink alternateLink in hrefLangLinks.Where(h => !h.Url.EndsWith("/shop"))) 533 { 534 string alternateUrl = alternateLink.Url.ToLower().EndsWith("en-gb") ? alternateLink.Url.ToLower().Replace("/en-gb", "") : alternateLink.Url; 535 536 537 #line default 538 #line hidden 539 WriteLiteral(" <link"); 540 541 WriteLiteral(" rel=\"alternate\""); 542 543 WriteAttribute("hreflang", Tuple.Create(" hreflang=\"", 8704), Tuple.Create("\"", 8742) 544 545 #line 187 "E:\dynamicweb.net\Solutions\scanpan-live\Files\Templates\Designs\Scanpan\_parsed\blocks.parsed.cshtml" 546 , Tuple.Create(Tuple.Create("", 8715), Tuple.Create<System.Object, System.Int32>(alternateLink.LanguageCode 547 548 #line default 549 #line hidden 550 , 8715), false) 551 ); 552 553 WriteAttribute("href", Tuple.Create(" href=\"", 8743), Tuple.Create("\"", 8763) 554 555 #line 187 "E:\dynamicweb.net\Solutions\scanpan-live\Files\Templates\Designs\Scanpan\_parsed\blocks.parsed.cshtml" 556 , Tuple.Create(Tuple.Create("", 8750), Tuple.Create<System.Object, System.Int32>(alternateUrl 557 558 #line default 559 #line hidden 560 , 8750), false) 561 ); 562 563 WriteLiteral(">\r\n"); 564 565 566 #line 188 "E:\dynamicweb.net\Solutions\scanpan-live\Files\Templates\Designs\Scanpan\_parsed\blocks.parsed.cshtml" 567 } 568 569 570 #line default 571 #line hidden 572 573 #line 189 "E:\dynamicweb.net\Solutions\scanpan-live\Files\Templates\Designs\Scanpan\_parsed\blocks.parsed.cshtml" 574 Write(GetValue("Stylesheets")); 575 576 577 #line default 578 #line hidden 579 WriteLiteral("\r\n"); 580 581 582 #line 190 "E:\dynamicweb.net\Solutions\scanpan-live\Files\Templates\Designs\Scanpan\_parsed\blocks.parsed.cshtml" 583 Write(GetValue("Javascripts")); 584 585 586 #line default 587 #line hidden 588 WriteLiteral("\r\n</head>\r\n"); 589 590 591 #line 192 "E:\dynamicweb.net\Solutions\scanpan-live\Files\Templates\Designs\Scanpan\_parsed\blocks.parsed.cshtml" 592 593 string bodyClass = GetGlobalValue("Global:Device.IsTablet") == "True" ? "tablet" : ""; 594 595 596 #line default 597 #line hidden 598 WriteLiteral("\r\n<body"); 599 600 WriteAttribute("class", Tuple.Create(" class=\"", 8939), Tuple.Create("\"", 8957) 601 602 #line 195 "E:\dynamicweb.net\Solutions\scanpan-live\Files\Templates\Designs\Scanpan\_parsed\blocks.parsed.cshtml" 603 , Tuple.Create(Tuple.Create("", 8947), Tuple.Create<System.Object, System.Int32>(bodyClass 604 605 #line default 606 #line hidden 607 , 8947), false) 608 ); 609 610 WriteLiteral(">\r\n "); 611 612 WriteLiteral("\r\n"); 613 614 615 #line 197 "E:\dynamicweb.net\Solutions\scanpan-live\Files\Templates\Designs\Scanpan\_parsed\blocks.parsed.cshtml" 616 617 618 #line default 619 #line hidden 620 621 #line 197 "E:\dynamicweb.net\Solutions\scanpan-live\Files\Templates\Designs\Scanpan\_parsed\blocks.parsed.cshtml" 622 if (!string.IsNullOrWhiteSpace(googleTagManagerToken)) 623 { 624 625 626 #line default 627 #line hidden 628 WriteLiteral(" <noscript>\r\n <iframe"); 629 630 WriteAttribute("src", Tuple.Create(" src=\"", 9098), Tuple.Create("\"", 9164) 631 , Tuple.Create(Tuple.Create("", 9104), Tuple.Create("//www.googletagmanager.com/ns.html?id=", 9104), true) 632 633 #line 200 "E:\dynamicweb.net\Solutions\scanpan-live\Files\Templates\Designs\Scanpan\_parsed\blocks.parsed.cshtml" 634 , Tuple.Create(Tuple.Create("", 9142), Tuple.Create<System.Object, System.Int32>(googleTagManagerToken 635 636 #line default 637 #line hidden 638 , 9142), false) 639 ); 640 641 WriteLiteral(" height=\"0\""); 642 643 WriteLiteral(" width=\"0\""); 644 645 WriteLiteral(" style=\"display:none;visibility:hidden\""); 646 647 WriteLiteral("></iframe>\r\n </noscript>\r\n"); 648 649 650 #line 202 "E:\dynamicweb.net\Solutions\scanpan-live\Files\Templates\Designs\Scanpan\_parsed\blocks.parsed.cshtml" 651 } 652 653 654 655 #line default 656 #line hidden 657 658 #line 204 "E:\dynamicweb.net\Solutions\scanpan-live\Files\Templates\Designs\Scanpan\_parsed\blocks.parsed.cshtml" 659 660 661 662 #line default 663 #line hidden 664 WriteLiteral(" "); 665 666 667 #line 205 "E:\dynamicweb.net\Solutions\scanpan-live\Files\Templates\Designs\Scanpan\_parsed\blocks.parsed.cshtml" 668 if (!string.IsNullOrWhiteSpace(newsletterReceipt)) 669 { 670 if (newsletterReceipt == GetString("Global:Page.ID")) 671 { 672 673 674 #line default 675 #line hidden 676 WriteLiteral(@" <script> 677 (function () { 678 var _fbq = window._fbq || (window._fbq = []); 679 if (!_fbq.loaded) { 680 var fbds = document.createElement('script'); 681 fbds.async = true; 682 fbds.src = '//connect.facebook.net/en_US/fbds.js'; 683 var s = document.getElementsByTagName('script')[0]; 684 s.parentNode.insertBefore(fbds, s); 685 _fbq.loaded = true; 686 } 687 })(); 688 window._fbq = window._fbq || []; 689 window._fbq.push(['track', '6028091289621', { 'value': '0.01', 'currency': 'DKK' }]); 690 </script> 691 "); 692 693 WriteLiteral(" <noscript><img"); 694 695 WriteLiteral(" height=\"1\""); 696 697 WriteLiteral(" width=\"1\""); 698 699 WriteLiteral(" alt=\"\""); 700 701 WriteLiteral(" style=\"display:none\""); 702 703 WriteLiteral(" src=\"https://www.facebook.com/tr?ev=6028091289621&amp;cd%5Bvalue%5D=0.01&amp;cd%" + 704 "5Bcurrency%5D=DKK&amp;noscript=1\""); 705 706 WriteLiteral("></noscript>\r\n"); 707 708 709 #line 225 "E:\dynamicweb.net\Solutions\scanpan-live\Files\Templates\Designs\Scanpan\_parsed\blocks.parsed.cshtml" 710 } 711 } 712 713 714 #line default 715 #line hidden 716 WriteLiteral(@" 717 <!-- Facebook Pixel Code --> 718 <script> 719 !function (f, b, e, v, n, t, s) { 720 if (f.fbq) return; n = f.fbq = function () { 721 n.callMethod ? 722 n.callMethod.apply(n, arguments) : n.queue.push(arguments) 723 }; if (!f._fbq) f._fbq = n; 724 n.push = n; n.loaded = !0; n.version = '2.0'; n.queue = []; t = b.createElement(e); t.async = !0; 725 t.src = v; s = b.getElementsByTagName(e)[0]; s.parentNode.insertBefore(t, s) 726 }(window, 727 document, 'script', '//connect.facebook.net/en_US/fbevents.js'); 728 729 fbq('init', '187845994920748'); 730 fbq('track', ""PageView"");</script> 731 <noscript> 732 <img"); 733 734 WriteLiteral(" height=\"1\""); 735 736 WriteLiteral(" width=\"1\""); 737 738 WriteLiteral(" style=\"display:none\""); 739 740 WriteLiteral(" src=\"https://www.facebook.com/tr?id=187845994920748&ev=PageView&noscript=1\""); 741 742 WriteLiteral(">\r\n </noscript>\r\n <!-- End Facebook Pixel Code -->\r\n\r\n [Include file \'pa" + 743 "rtials/header.cshtml\' not found in \'Templates/Designs/Scanpan/master/main.cshtml" + 744 "\']\r\n <div"); 745 746 WriteLiteral(" class=\"page\""); 747 748 WriteLiteral(">\r\n"); 749 750 751 #line 249 "E:\dynamicweb.net\Solutions\scanpan-live\Files\Templates\Designs\Scanpan\_parsed\blocks.parsed.cshtml" 752 753 754 #line default 755 #line hidden 756 757 #line 249 "E:\dynamicweb.net\Solutions\scanpan-live\Files\Templates\Designs\Scanpan\_parsed\blocks.parsed.cshtml" 758 if(!string.IsNullOrWhiteSpace(GetString("DwNavigation(breadcrumb)"))) { 759 760 761 #line default 762 #line hidden 763 WriteLiteral(" <div"); 764 765 WriteLiteral(" class=\"breadcrumb\""); 766 767 WriteLiteral(">\r\n <div"); 768 769 WriteLiteral(" class=\"breadcrumb__inside\""); 770 771 WriteLiteral(">\r\n <span"); 772 773 WriteLiteral(" class=\"breadcrumb__prefix\""); 774 775 WriteLiteral(">Du er her: </span>\r\n"); 776 777 WriteLiteral(" "); 778 779 780 #line 253 "E:\dynamicweb.net\Solutions\scanpan-live\Files\Templates\Designs\Scanpan\_parsed\blocks.parsed.cshtml" 781 Write(GetValue("DwNavigation(breadcrumb)")); 782 783 784 #line default 785 #line hidden 786 WriteLiteral("\r\n </div>\r\n </div>"); 787 788 WriteLiteral("<!-- .breadcrumb -->\r\n"); 789 790 791 #line 256 "E:\dynamicweb.net\Solutions\scanpan-live\Files\Templates\Designs\Scanpan\_parsed\blocks.parsed.cshtml" 792 } 793 794 795 #line default 796 #line hidden 797 WriteLiteral("\r\n \r\n\r\n<div"); 798 799 WriteLiteral(" class=\"blocks\""); 800 801 WriteLiteral(" id=\"blocks\""); 802 803 WriteLiteral(">"); 804 805 806 #line 260 "E:\dynamicweb.net\Solutions\scanpan-live\Files\Templates\Designs\Scanpan\_parsed\blocks.parsed.cshtml" 807 Write(GetValue("DwContent(blocks)")); 808 809 810 #line default 811 #line hidden 812 WriteLiteral("</div>\r\n\r\n"); 813 814 WriteLiteral("\r\n"); 815 816 817 #line 263 "E:\dynamicweb.net\Solutions\scanpan-live\Files\Templates\Designs\Scanpan\_parsed\blocks.parsed.cshtml" 818 if( Pageview.Area.ID == 1 && !GetGlobalValue("Global:Pageview.Url").Contains("shop") ) { 819 820 821 #line default 822 #line hidden 823 824 #line 264 "E:\dynamicweb.net\Solutions\scanpan-live\Files\Templates\Designs\Scanpan\_parsed\blocks.parsed.cshtml" 825 Write(SnippetStart("raptorScript")); 826 827 828 #line default 829 #line hidden 830 831 #line 264 "E:\dynamicweb.net\Solutions\scanpan-live\Files\Templates\Designs\Scanpan\_parsed\blocks.parsed.cshtml" 832 833 // Only track content pages 834 835 836 #line default 837 #line hidden 838 WriteLiteral(" "); 839 840 WriteLiteral("raptor.trackEvent(\'Visit\');"); 841 842 WriteLiteral("\r\n"); 843 844 845 #line 267 "E:\dynamicweb.net\Solutions\scanpan-live\Files\Templates\Designs\Scanpan\_parsed\blocks.parsed.cshtml" 846 847 848 #line default 849 #line hidden 850 851 #line 267 "E:\dynamicweb.net\Solutions\scanpan-live\Files\Templates\Designs\Scanpan\_parsed\blocks.parsed.cshtml" 852 Write(SnippetEnd("raptorScript")); 853 854 855 #line default 856 #line hidden 857 858 #line 267 "E:\dynamicweb.net\Solutions\scanpan-live\Files\Templates\Designs\Scanpan\_parsed\blocks.parsed.cshtml" 859 860 } 861 862 #line default 863 #line hidden 864 WriteLiteral("\r\n\r\n </div>\r\n <button"); 865 866 WriteLiteral(" class=\"nav-panel__mobile-button js-nav__button\""); 867 868 WriteLiteral(">\r\n <div"); 869 870 WriteLiteral(" class=\"nav-panel__mobile-button-wrapper\""); 871 872 WriteLiteral(">\r\n <span"); 873 874 WriteLiteral(" class=\"nav-panel__mobile-button-burger\""); 875 876 WriteLiteral("> </span>\r\n <span"); 877 878 WriteLiteral(" class=\"nav-panel__mobile-button-open\""); 879 880 WriteLiteral(">Menu</span>\r\n <span"); 881 882 WriteLiteral(" class=\"nav-panel__mobile-button-close\""); 883 884 WriteLiteral(">Luk</span>\r\n </div>\r\n</button>\r\n\r\n<div"); 885 886 WriteLiteral(" class=\"nav-panel js-nav-panel\""); 887 888 WriteLiteral(" id=\"nav-panel\""); 889 890 WriteLiteral(">\r\n <div"); 891 892 WriteLiteral(" class=\"nav-panel__layout\""); 893 894 WriteLiteral(">\r\n <div"); 895 896 WriteLiteral(" class=\"nav-panel__header\""); 897 898 WriteLiteral(">\r\n <div"); 899 900 WriteLiteral(" class=\"header__logo\""); 901 902 WriteLiteral(">\r\n <a"); 903 904 WriteLiteral(" class=\"header__logo-link\""); 905 906 WriteAttribute("href", Tuple.Create(" href=\"", 12658), Tuple.Create("\"", 12694) 907 , Tuple.Create(Tuple.Create("", 12665), Tuple.Create("/default.aspx?id=", 12665), true) 908 909 #line 283 "E:\dynamicweb.net\Solutions\scanpan-live\Files\Templates\Designs\Scanpan\_parsed\blocks.parsed.cshtml" 910 , Tuple.Create(Tuple.Create("", 12682), Tuple.Create<System.Object, System.Int32>(firstPageId 911 912 #line default 913 #line hidden 914 , 12682), false) 915 ); 916 917 WriteLiteral(" title=\"Scanpan\""); 918 919 WriteLiteral(">\r\n <img"); 920 921 WriteLiteral(" class=\"header__logo-image\""); 922 923 WriteLiteral(" src=\"/Files/Templates/Designs/Scanpan/assets/images/scanpan-logo.svg\""); 924 925 WriteLiteral(" alt=\"Scanpan\""); 926 927 WriteLiteral(">\r\n </a>\r\n </div>\r\n \r\n"); 928 929 930 #line 288 "E:\dynamicweb.net\Solutions\scanpan-live\Files\Templates\Designs\Scanpan\_parsed\blocks.parsed.cshtml" 931 932 933 #line default 934 #line hidden 935 936 #line 288 "E:\dynamicweb.net\Solutions\scanpan-live\Files\Templates\Designs\Scanpan\_parsed\blocks.parsed.cshtml" 937 if (GetLoop("Item.Area.Languages").Any()) 938 { 939 940 941 #line default 942 #line hidden 943 WriteLiteral(" <div"); 944 945 WriteLiteral(" class=\"header__flags\""); 946 947 WriteLiteral(">\r\n"); 948 949 950 #line 291 "E:\dynamicweb.net\Solutions\scanpan-live\Files\Templates\Designs\Scanpan\_parsed\blocks.parsed.cshtml" 951 952 953 #line default 954 #line hidden 955 956 #line 291 "E:\dynamicweb.net\Solutions\scanpan-live\Files\Templates\Designs\Scanpan\_parsed\blocks.parsed.cshtml" 957 foreach (var language in GetLoop("Item.Area.Languages")) 958 { 959 var link = language.GetString("Item.Area.Languages.Link.Value"); 960 var image = language.GetString("Item.Area.Languages.Image.Value"); 961 var linkName = language.GetString("Item.Area.Languages.Name.Value"); 962 963 964 965 #line default 966 #line hidden 967 WriteLiteral(" <a"); 968 969 WriteLiteral(" class=\"header__flag\""); 970 971 WriteAttribute("href", Tuple.Create(" href=\"", 13399), Tuple.Create("\"", 13411) 972 973 #line 297 "E:\dynamicweb.net\Solutions\scanpan-live\Files\Templates\Designs\Scanpan\_parsed\blocks.parsed.cshtml" 974 , Tuple.Create(Tuple.Create("", 13406), Tuple.Create<System.Object, System.Int32>(link 975 976 #line default 977 #line hidden 978 , 13406), false) 979 ); 980 981 WriteLiteral(">\r\n <img"); 982 983 WriteLiteral(" width=\"20\""); 984 985 WriteAttribute("alt", Tuple.Create(" alt=\"", 13454), Tuple.Create("\"", 13469) 986 987 #line 298 "E:\dynamicweb.net\Solutions\scanpan-live\Files\Templates\Designs\Scanpan\_parsed\blocks.parsed.cshtml" 988 , Tuple.Create(Tuple.Create("", 13460), Tuple.Create<System.Object, System.Int32>(linkName 989 990 #line default 991 #line hidden 992 , 13460), false) 993 ); 994 995 WriteAttribute("title", Tuple.Create(" title=\"", 13470), Tuple.Create("\"", 13487) 996 997 #line 298 "E:\dynamicweb.net\Solutions\scanpan-live\Files\Templates\Designs\Scanpan\_parsed\blocks.parsed.cshtml" 998 , Tuple.Create(Tuple.Create("", 13478), Tuple.Create<System.Object, System.Int32>(linkName 999 1000 #line default 1001 #line hidden 1002 , 13478), false) 1003 ); 1004 1005 WriteAttribute("src", Tuple.Create(" src=\"", 13488), Tuple.Create("\"", 13500) 1006 1007 #line 298 "E:\dynamicweb.net\Solutions\scanpan-live\Files\Templates\Designs\Scanpan\_parsed\blocks.parsed.cshtml" 1008 , Tuple.Create(Tuple.Create("", 13494), Tuple.Create<System.Object, System.Int32>(image 1009 1010 #line default 1011 #line hidden 1012 , 13494), false) 1013 ); 1014 1015 WriteLiteral(">\r\n </a>\r\n"); 1016 1017 1018 #line 300 "E:\dynamicweb.net\Solutions\scanpan-live\Files\Templates\Designs\Scanpan\_parsed\blocks.parsed.cshtml" 1019 } 1020 1021 1022 #line default 1023 #line hidden 1024 WriteLiteral(" </div>\r\n"); 1025 1026 1027 #line 302 "E:\dynamicweb.net\Solutions\scanpan-live\Files\Templates\Designs\Scanpan\_parsed\blocks.parsed.cshtml" 1028 } 1029 1030 1031 #line default 1032 #line hidden 1033 WriteLiteral(" </div>\r\n <div"); 1034 1035 WriteLiteral(" class=\"nav-panel__body js-nav-panel-body\""); 1036 1037 WriteLiteral(">\r\n <nav"); 1038 1039 WriteLiteral(" class=\"nav-panel__list-container js-accordion\""); 1040 1041 WriteLiteral(" role=\"navigation\""); 1042 1043 WriteLiteral(">\r\n"); 1044 1045 WriteLiteral(" "); 1046 1047 1048 #line 306 "E:\dynamicweb.net\Solutions\scanpan-live\Files\Templates\Designs\Scanpan\_parsed\blocks.parsed.cshtml" 1049 Write(RenderNavigation(new 1050 { 1051 StartLevel = 1, 1052 EndLevel = 3, 1053 expandmode = "all", 1054 Template = "MobileNavigation.xslt", 1055 Id = "mobile-nav" 1056 })); 1057 1058 1059 #line default 1060 #line hidden 1061 WriteLiteral("\r\n </nav>\r\n </div>\r\n </div>\r\n</div>\r\n"); 1062 1063 1064 #line 318 "E:\dynamicweb.net\Solutions\scanpan-live\Files\Templates\Designs\Scanpan\_parsed\blocks.parsed.cshtml" 1065 1066 1067 #line default 1068 #line hidden 1069 1070 #line 318 "E:\dynamicweb.net\Solutions\scanpan-live\Files\Templates\Designs\Scanpan\_parsed\blocks.parsed.cshtml" 1071 1072 var phoneNumber = GetString("Item.Area.FooterColumn4Phone"); 1073 var businessHours = GetString("Item.Area.FooterColumn4BusinessHours").Split(',').ToList(); 1074 1075 // Footer links 1076 var policyLink = GetString("Item.Area.FooterPrivacyPolicyLink"); 1077 var facebookLink = GetString("Item.Area.FooterFacebookLink"); 1078 var instragramLink = GetString("Item.Area.FooterInstagramLink"); 1079 1080 1081 #line default 1082 #line hidden 1083 WriteLiteral("\r\n<footer"); 1084 1085 WriteLiteral(" id=\"footer\""); 1086 1087 WriteLiteral(" class=\"footer\""); 1088 1089 WriteLiteral(">\r\n <div"); 1090 1091 WriteLiteral(" class=\"footer__section--top\""); 1092 1093 WriteLiteral(">\r\n <div"); 1094 1095 WriteLiteral(" class=\"footer__container--top\""); 1096 1097 WriteLiteral(">\r\n <p"); 1098 1099 WriteLiteral(" class=\"footer__copyright\""); 1100 1101 WriteLiteral(">\r\n <span"); 1102 1103 WriteLiteral(" class=\"footer__copyright-text\""); 1104 1105 WriteLiteral(">Copyright &copy; SCANPAN</span>\r\n\r\n"); 1106 1107 1108 #line 333 "E:\dynamicweb.net\Solutions\scanpan-live\Files\Templates\Designs\Scanpan\_parsed\blocks.parsed.cshtml" 1109 1110 1111 #line default 1112 #line hidden 1113 1114 #line 333 "E:\dynamicweb.net\Solutions\scanpan-live\Files\Templates\Designs\Scanpan\_parsed\blocks.parsed.cshtml" 1115 if(!string.IsNullOrWhiteSpace(policyLink)) { 1116 1117 1118 #line default 1119 #line hidden 1120 WriteLiteral(" <a"); 1121 1122 WriteLiteral(" class=\"footer__copyright-link\""); 1123 1124 WriteAttribute("href", Tuple.Create(" href=\"", 14710), Tuple.Create("\"", 14728) 1125 1126 #line 334 "E:\dynamicweb.net\Solutions\scanpan-live\Files\Templates\Designs\Scanpan\_parsed\blocks.parsed.cshtml" 1127 , Tuple.Create(Tuple.Create("", 14717), Tuple.Create<System.Object, System.Int32>(policyLink 1128 1129 #line default 1130 #line hidden 1131 , 14717), false) 1132 ); 1133 1134 WriteLiteral(">Privacy Policy</a>\r\n"); 1135 1136 1137 #line 335 "E:\dynamicweb.net\Solutions\scanpan-live\Files\Templates\Designs\Scanpan\_parsed\blocks.parsed.cshtml" 1138 } 1139 1140 1141 #line default 1142 #line hidden 1143 WriteLiteral(" </p>\r\n\r\n <span"); 1144 1145 WriteLiteral(" class=\"footer__motto\""); 1146 1147 WriteLiteral(">"); 1148 1149 1150 #line 338 "E:\dynamicweb.net\Solutions\scanpan-live\Files\Templates\Designs\Scanpan\_parsed\blocks.parsed.cshtml" 1151 Write(GetString("Item.Area.FooterPayoff")); 1152 1153 1154 #line default 1155 #line hidden 1156 WriteLiteral("</span>\r\n\r\n"); 1157 1158 1159 #line 340 "E:\dynamicweb.net\Solutions\scanpan-live\Files\Templates\Designs\Scanpan\_parsed\blocks.parsed.cshtml" 1160 1161 1162 #line default 1163 #line hidden 1164 1165 #line 340 "E:\dynamicweb.net\Solutions\scanpan-live\Files\Templates\Designs\Scanpan\_parsed\blocks.parsed.cshtml" 1166 if(!string.IsNullOrWhiteSpace(facebookLink) || !string.IsNullOrWhiteSpace(instragramLink)) { 1167 1168 1169 #line default 1170 #line hidden 1171 WriteLiteral(" <div"); 1172 1173 WriteLiteral(" class=\"footer__share\""); 1174 1175 WriteLiteral(">\r\n <p"); 1176 1177 WriteLiteral(" class=\"footer__share-header\""); 1178 1179 WriteLiteral(">Følg os på</p>\r\n"); 1180 1181 1182 #line 343 "E:\dynamicweb.net\Solutions\scanpan-live\Files\Templates\Designs\Scanpan\_parsed\blocks.parsed.cshtml" 1183 1184 1185 #line default 1186 #line hidden 1187 1188 #line 343 "E:\dynamicweb.net\Solutions\scanpan-live\Files\Templates\Designs\Scanpan\_parsed\blocks.parsed.cshtml" 1189 if(!string.IsNullOrWhiteSpace(facebookLink)) { 1190 1191 1192 #line default 1193 #line hidden 1194 WriteLiteral(" <a"); 1195 1196 WriteLiteral(" class=\"footer__share-link--facebook\""); 1197 1198 WriteAttribute("href", Tuple.Create(" href=\"", 15166), Tuple.Create("\"", 15186) 1199 1200 #line 344 "E:\dynamicweb.net\Solutions\scanpan-live\Files\Templates\Designs\Scanpan\_parsed\blocks.parsed.cshtml" 1201 , Tuple.Create(Tuple.Create("", 15173), Tuple.Create<System.Object, System.Int32>(facebookLink 1202 1203 #line default 1204 #line hidden 1205 , 15173), false) 1206 ); 1207 1208 WriteLiteral(">Facebook</a>\r\n"); 1209 1210 1211 #line 345 "E:\dynamicweb.net\Solutions\scanpan-live\Files\Templates\Designs\Scanpan\_parsed\blocks.parsed.cshtml" 1212 } 1213 1214 1215 #line default 1216 #line hidden 1217 WriteLiteral("\r\n"); 1218 1219 1220 #line 347 "E:\dynamicweb.net\Solutions\scanpan-live\Files\Templates\Designs\Scanpan\_parsed\blocks.parsed.cshtml" 1221 1222 1223 #line default 1224 #line hidden 1225 1226 #line 347 "E:\dynamicweb.net\Solutions\scanpan-live\Files\Templates\Designs\Scanpan\_parsed\blocks.parsed.cshtml" 1227 if(!string.IsNullOrWhiteSpace(instragramLink)) { 1228 1229 1230 #line default 1231 #line hidden 1232 WriteLiteral(" <a"); 1233 1234 WriteLiteral(" class=\"footer__share-link--instagram\""); 1235 1236 WriteAttribute("href", Tuple.Create(" href=\"", 15336), Tuple.Create("\"", 15358) 1237 1238 #line 348 "E:\dynamicweb.net\Solutions\scanpan-live\Files\Templates\Designs\Scanpan\_parsed\blocks.parsed.cshtml" 1239 , Tuple.Create(Tuple.Create("", 15343), Tuple.Create<System.Object, System.Int32>(instragramLink 1240 1241 #line default 1242 #line hidden 1243 , 15343), false) 1244 ); 1245 1246 WriteLiteral(">Instagram</a>\r\n"); 1247 1248 1249 #line 349 "E:\dynamicweb.net\Solutions\scanpan-live\Files\Templates\Designs\Scanpan\_parsed\blocks.parsed.cshtml" 1250 } 1251 1252 1253 #line default 1254 #line hidden 1255 WriteLiteral(" </div>\r\n"); 1256 1257 1258 #line 351 "E:\dynamicweb.net\Solutions\scanpan-live\Files\Templates\Designs\Scanpan\_parsed\blocks.parsed.cshtml" 1259 } 1260 1261 1262 #line default 1263 #line hidden 1264 WriteLiteral(" </div><!-- .footer__container--top -->\r\n </div><!-- .footer__section--top --" + 1265 ">\r\n\r\n <div"); 1266 1267 WriteLiteral(" class=\"footer__section js-accordion\""); 1268 1269 WriteLiteral(">\r\n <div"); 1270 1271 WriteLiteral(" class=\"footer__container\""); 1272 1273 WriteLiteral(">\r\n <div"); 1274 1275 WriteLiteral(" class=\"footer__column--outer\""); 1276 1277 WriteLiteral(">\r\n <div"); 1278 1279 WriteLiteral(" class=\"footer__column\""); 1280 1281 WriteLiteral(">\r\n <div"); 1282 1283 WriteLiteral(" class=\"footer__column-header--nav js-accordion-button\""); 1284 1285 WriteLiteral(" data-maxwidth=\"480\""); 1286 1287 WriteLiteral(" data-target=\"#footer-list-1\""); 1288 1289 WriteLiteral(">"); 1290 1291 1292 #line 359 "E:\dynamicweb.net\Solutions\scanpan-live\Files\Templates\Designs\Scanpan\_parsed\blocks.parsed.cshtml" 1293 Write(GetString("Item.Area.FooterColumn1Heading")); 1294 1295 1296 #line default 1297 #line hidden 1298 WriteLiteral("</div>\r\n <ul"); 1299 1300 WriteLiteral(" class=\"footer__link-list\""); 1301 1302 WriteLiteral(" id=\"footer-list-1\""); 1303 1304 WriteLiteral(">\r\n"); 1305 1306 1307 #line 361 "E:\dynamicweb.net\Solutions\scanpan-live\Files\Templates\Designs\Scanpan\_parsed\blocks.parsed.cshtml" 1308 1309 1310 #line default 1311 #line hidden 1312 1313 #line 361 "E:\dynamicweb.net\Solutions\scanpan-live\Files\Templates\Designs\Scanpan\_parsed\blocks.parsed.cshtml" 1314 foreach(LoopItem l in GetLoop("Item.Area.FooterColumn1Links")) { 1315 var link = l.GetString("Item.Area.FooterColumn1Links.Link"); 1316 1317 1318 #line default 1319 #line hidden 1320 WriteLiteral(" <li"); 1321 1322 WriteLiteral(" class=\"footer__link-list-item\""); 1323 1324 WriteLiteral(">\r\n <a"); 1325 1326 WriteLiteral(" class=\"footer__link\""); 1327 1328 WriteAttribute("href", Tuple.Create(" href=\"", 16142), Tuple.Create("\"", 16154) 1329 1330 #line 364 "E:\dynamicweb.net\Solutions\scanpan-live\Files\Templates\Designs\Scanpan\_parsed\blocks.parsed.cshtml" 1331 , Tuple.Create(Tuple.Create("", 16149), Tuple.Create<System.Object, System.Int32>(link 1332 1333 #line default 1334 #line hidden 1335 , 16149), false) 1336 ); 1337 1338 WriteLiteral(">"); 1339 1340 1341 #line 364 "E:\dynamicweb.net\Solutions\scanpan-live\Files\Templates\Designs\Scanpan\_parsed\blocks.parsed.cshtml" 1342 Write(l.GetString("Item.Area.FooterColumn1Links.Text")); 1343 1344 1345 #line default 1346 #line hidden 1347 WriteLiteral("</a>\r\n </li>\r\n"); 1348 1349 1350 #line 366 "E:\dynamicweb.net\Solutions\scanpan-live\Files\Templates\Designs\Scanpan\_parsed\blocks.parsed.cshtml" 1351 } 1352 1353 1354 #line default 1355 #line hidden 1356 WriteLiteral(" </ul>\r\n </div>\r\n <div"); 1357 1358 WriteLiteral(" class=\"footer__column\""); 1359 1360 WriteLiteral(">\r\n <div"); 1361 1362 WriteLiteral(" class=\"footer__column-header--nav js-accordion-button\""); 1363 1364 WriteLiteral(" data-maxwidth=\"480\""); 1365 1366 WriteLiteral(" data-target=\"#footer-list-2\""); 1367 1368 WriteLiteral(">"); 1369 1370 1371 #line 370 "E:\dynamicweb.net\Solutions\scanpan-live\Files\Templates\Designs\Scanpan\_parsed\blocks.parsed.cshtml" 1372 Write(GetString("Item.Area.FooterColumn2Heading")); 1373 1374 1375 #line default 1376 #line hidden 1377 WriteLiteral("</div>\r\n <ul"); 1378 1379 WriteLiteral(" class=\"footer__link-list\""); 1380 1381 WriteLiteral(" id=\"footer-list-2\""); 1382 1383 WriteLiteral(">\r\n"); 1384 1385 1386 #line 372 "E:\dynamicweb.net\Solutions\scanpan-live\Files\Templates\Designs\Scanpan\_parsed\blocks.parsed.cshtml" 1387 1388 1389 #line default 1390 #line hidden 1391 1392 #line 372 "E:\dynamicweb.net\Solutions\scanpan-live\Files\Templates\Designs\Scanpan\_parsed\blocks.parsed.cshtml" 1393 foreach(LoopItem l in GetLoop("Item.Area.FooterColumn2Links")) { 1394 var link = l.GetString("Item.Area.FooterColumn2Links.Link"); 1395 1396 1397 #line default 1398 #line hidden 1399 WriteLiteral(" <li"); 1400 1401 WriteLiteral(" class=\"footer__link-list-item\""); 1402 1403 WriteLiteral(">\r\n <a"); 1404 1405 WriteLiteral(" class=\"footer__link\""); 1406 1407 WriteAttribute("href", Tuple.Create(" href=\"", 16795), Tuple.Create("\"", 16807) 1408 1409 #line 375 "E:\dynamicweb.net\Solutions\scanpan-live\Files\Templates\Designs\Scanpan\_parsed\blocks.parsed.cshtml" 1410 , Tuple.Create(Tuple.Create("", 16802), Tuple.Create<System.Object, System.Int32>(link 1411 1412 #line default 1413 #line hidden 1414 , 16802), false) 1415 ); 1416 1417 WriteLiteral(">"); 1418 1419 1420 #line 375 "E:\dynamicweb.net\Solutions\scanpan-live\Files\Templates\Designs\Scanpan\_parsed\blocks.parsed.cshtml" 1421 Write(l.GetString("Item.Area.FooterColumn2Links.Text")); 1422 1423 1424 #line default 1425 #line hidden 1426 WriteLiteral("</a>\r\n </li>\r\n"); 1427 1428 1429 #line 377 "E:\dynamicweb.net\Solutions\scanpan-live\Files\Templates\Designs\Scanpan\_parsed\blocks.parsed.cshtml" 1430 } 1431 1432 1433 #line default 1434 #line hidden 1435 WriteLiteral(" </ul>\r\n </div>\r\n </div>\r\n <div"); 1436 1437 WriteLiteral(" class=\"footer__column--outer\""); 1438 1439 WriteLiteral(">\r\n <div"); 1440 1441 WriteLiteral(" class=\"footer__column\""); 1442 1443 WriteLiteral(">\r\n <div"); 1444 1445 WriteLiteral(" class=\"footer__column-header--nav js-accordion-button\""); 1446 1447 WriteLiteral(" data-maxwidth=\"480\""); 1448 1449 WriteLiteral(" data-target=\"#footer-list-3\""); 1450 1451 WriteLiteral(">"); 1452 1453 1454 #line 383 "E:\dynamicweb.net\Solutions\scanpan-live\Files\Templates\Designs\Scanpan\_parsed\blocks.parsed.cshtml" 1455 Write(GetString("Item.Area.FooterColumn3Heading")); 1456 1457 1458 #line default 1459 #line hidden 1460 WriteLiteral("</div>\r\n <ul"); 1461 1462 WriteLiteral(" class=\"footer__link-list\""); 1463 1464 WriteLiteral(" id=\"footer-list-3\""); 1465 1466 WriteLiteral(">\r\n"); 1467 1468 1469 #line 385 "E:\dynamicweb.net\Solutions\scanpan-live\Files\Templates\Designs\Scanpan\_parsed\blocks.parsed.cshtml" 1470 1471 1472 #line default 1473 #line hidden 1474 1475 #line 385 "E:\dynamicweb.net\Solutions\scanpan-live\Files\Templates\Designs\Scanpan\_parsed\blocks.parsed.cshtml" 1476 foreach(LoopItem l in GetLoop("Item.Area.FooterColumn3Links")) { 1477 var link = l.GetString("Item.Area.FooterColumn3Links.Link"); 1478 1479 1480 #line default 1481 #line hidden 1482 WriteLiteral(" <li"); 1483 1484 WriteLiteral(" class=\"footer__link-list-item\""); 1485 1486 WriteLiteral(">\r\n <a"); 1487 1488 WriteLiteral(" class=\"footer__link\""); 1489 1490 WriteAttribute("href", Tuple.Create(" href=\"", 17505), Tuple.Create("\"", 17517) 1491 1492 #line 388 "E:\dynamicweb.net\Solutions\scanpan-live\Files\Templates\Designs\Scanpan\_parsed\blocks.parsed.cshtml" 1493 , Tuple.Create(Tuple.Create("", 17512), Tuple.Create<System.Object, System.Int32>(link 1494 1495 #line default 1496 #line hidden 1497 , 17512), false) 1498 ); 1499 1500 WriteLiteral(">"); 1501 1502 1503 #line 388 "E:\dynamicweb.net\Solutions\scanpan-live\Files\Templates\Designs\Scanpan\_parsed\blocks.parsed.cshtml" 1504 Write(l.GetString("Item.Area.FooterColumn3Links.Text")); 1505 1506 1507 #line default 1508 #line hidden 1509 WriteLiteral("</a>\r\n </li>\r\n"); 1510 1511 1512 #line 390 "E:\dynamicweb.net\Solutions\scanpan-live\Files\Templates\Designs\Scanpan\_parsed\blocks.parsed.cshtml" 1513 } 1514 1515 1516 #line default 1517 #line hidden 1518 WriteLiteral(" </ul>\r\n </div>\r\n\r\n <div"); 1519 1520 WriteLiteral(" class=\"footer__column--contact\""); 1521 1522 WriteLiteral(">\r\n <div"); 1523 1524 WriteLiteral(" class=\"footer__column-header--contact\""); 1525 1526 WriteLiteral(">"); 1527 1528 1529 #line 395 "E:\dynamicweb.net\Solutions\scanpan-live\Files\Templates\Designs\Scanpan\_parsed\blocks.parsed.cshtml" 1530 Write(GetString("Item.Area.FooterColumn4Heading")); 1531 1532 1533 #line default 1534 #line hidden 1535 WriteLiteral("</div>\r\n <div"); 1536 1537 WriteLiteral(" class=\"footer__contact-text\""); 1538 1539 WriteLiteral(">\r\n <a"); 1540 1541 WriteLiteral(" class=\"footer__phone\""); 1542 1543 WriteAttribute("href", Tuple.Create(" href=\"", 17880), Tuple.Create("\"", 17903) 1544 , Tuple.Create(Tuple.Create("", 17887), Tuple.Create("tel:", 17887), true) 1545 1546 #line 397 "E:\dynamicweb.net\Solutions\scanpan-live\Files\Templates\Designs\Scanpan\_parsed\blocks.parsed.cshtml" 1547 , Tuple.Create(Tuple.Create("", 17891), Tuple.Create<System.Object, System.Int32>(phoneNumber 1548 1549 #line default 1550 #line hidden 1551 , 17891), false) 1552 ); 1553 1554 WriteLiteral(">"); 1555 1556 1557 #line 397 "E:\dynamicweb.net\Solutions\scanpan-live\Files\Templates\Designs\Scanpan\_parsed\blocks.parsed.cshtml" 1558 Write(phoneNumber); 1559 1560 1561 #line default 1562 #line hidden 1563 WriteLiteral("</a>\r\n"); 1564 1565 1566 #line 398 "E:\dynamicweb.net\Solutions\scanpan-live\Files\Templates\Designs\Scanpan\_parsed\blocks.parsed.cshtml" 1567 1568 1569 #line default 1570 #line hidden 1571 1572 #line 398 "E:\dynamicweb.net\Solutions\scanpan-live\Files\Templates\Designs\Scanpan\_parsed\blocks.parsed.cshtml" 1573 foreach(var item in businessHours) { 1574 1575 1576 #line default 1577 #line hidden 1578 WriteLiteral(" <p"); 1579 1580 WriteLiteral(" class=\"footer__opening\""); 1581 1582 WriteLiteral(">"); 1583 1584 1585 #line 399 "E:\dynamicweb.net\Solutions\scanpan-live\Files\Templates\Designs\Scanpan\_parsed\blocks.parsed.cshtml" 1586 Write(item); 1587 1588 1589 #line default 1590 #line hidden 1591 WriteLiteral("</p>\r\n"); 1592 1593 1594 #line 400 "E:\dynamicweb.net\Solutions\scanpan-live\Files\Templates\Designs\Scanpan\_parsed\blocks.parsed.cshtml" 1595 } 1596 1597 1598 #line default 1599 #line hidden 1600 WriteLiteral(" </div>\r\n </div>\r\n </div>\r\n </div><!-- .footer__container" + 1601 " -->\r\n </div><!-- .footer__section -->\r\n</footer><!-- .footer -->\r\n\r\n"); 1602 1603 1604 #line 408 "E:\dynamicweb.net\Solutions\scanpan-live\Files\Templates\Designs\Scanpan\_parsed\blocks.parsed.cshtml" 1605 1606 1607 #line default 1608 #line hidden 1609 1610 #line 408 "E:\dynamicweb.net\Solutions\scanpan-live\Files\Templates\Designs\Scanpan\_parsed\blocks.parsed.cshtml" 1611 1612 string formAction = GetString("Item.Area.PermissionBarFormAction"); 1613 bool isActive = GetBoolean("Item.Area.PermissionBarIsActive"); 1614 1615 if( isActive && !string.IsNullOrWhiteSpace(formAction) ) { 1616 string headline = GetString("Item.Area.PermissionBarHeadline"); 1617 string text = GetString("Item.Area.PermissionBarText"); 1618 string nameLabel = "Skriv dit navn"; 1619 string emailLabel = "Skriv din e-mail"; 1620 string buttonText = "Tilmeld nyhedsbrev"; 1621 1622 1623 1624 #line default 1625 #line hidden 1626 WriteLiteral(" <div"); 1627 1628 WriteLiteral(" class=\"permission-bar js-permission-bar-target\""); 1629 1630 WriteLiteral(">\r\n <button"); 1631 1632 WriteLiteral(" class=\"permission-bar__close js-permission-bar-button\""); 1633 1634 WriteLiteral(">X</button>\r\n <a"); 1635 1636 WriteLiteral(" class=\"permission-bar__headline js-permission-bar-button\""); 1637 1638 WriteLiteral(">"); 1639 1640 1641 #line 421 "E:\dynamicweb.net\Solutions\scanpan-live\Files\Templates\Designs\Scanpan\_parsed\blocks.parsed.cshtml" 1642 Write(headline); 1643 1644 1645 #line default 1646 #line hidden 1647 WriteLiteral("</a>\r\n <div"); 1648 1649 WriteLiteral(" class=\"permission-bar__text\""); 1650 1651 WriteLiteral(">"); 1652 1653 1654 #line 422 "E:\dynamicweb.net\Solutions\scanpan-live\Files\Templates\Designs\Scanpan\_parsed\blocks.parsed.cshtml" 1655 Write(text); 1656 1657 1658 #line default 1659 #line hidden 1660 WriteLiteral("</div>\r\n <form"); 1661 1662 WriteAttribute("action", Tuple.Create(" action=\"", 18953), Tuple.Create("\"", 18973) 1663 1664 #line 423 "E:\dynamicweb.net\Solutions\scanpan-live\Files\Templates\Designs\Scanpan\_parsed\blocks.parsed.cshtml" 1665 , Tuple.Create(Tuple.Create("", 18962), Tuple.Create<System.Object, System.Int32>(formAction 1666 1667 #line default 1668 #line hidden 1669 , 18962), false) 1670 ); 1671 1672 WriteLiteral(" method=\"post\""); 1673 1674 WriteLiteral(">\r\n <label"); 1675 1676 WriteLiteral(" class=\"permission-bar__label\""); 1677 1678 WriteLiteral(" for=\"permission-bar-name\""); 1679 1680 WriteLiteral(">"); 1681 1682 1683 #line 424 "E:\dynamicweb.net\Solutions\scanpan-live\Files\Templates\Designs\Scanpan\_parsed\blocks.parsed.cshtml" 1684 Write(nameLabel); 1685 1686 1687 #line default 1688 #line hidden 1689 WriteLiteral("</label>\r\n <input"); 1690 1691 WriteLiteral(" class=\"permission-bar__input\""); 1692 1693 WriteLiteral(" id=\"permission-bar-name\""); 1694 1695 WriteLiteral(" name=\"cm-name\""); 1696 1697 WriteLiteral(" type=\"text\""); 1698 1699 WriteAttribute("placeholder", Tuple.Create(" placeholder=\"", 19178), Tuple.Create("\"", 19202) 1700 1701 #line 425 "E:\dynamicweb.net\Solutions\scanpan-live\Files\Templates\Designs\Scanpan\_parsed\blocks.parsed.cshtml" 1702 , Tuple.Create(Tuple.Create("", 19192), Tuple.Create<System.Object, System.Int32>(nameLabel 1703 1704 #line default 1705 #line hidden 1706 , 19192), false) 1707 ); 1708 1709 WriteLiteral(" required=\"\""); 1710 1711 WriteLiteral(">\r\n <label"); 1712 1713 WriteLiteral(" class=\"permission-bar__label\""); 1714 1715 WriteLiteral(" for=\"permission-bar-email\""); 1716 1717 WriteLiteral(">"); 1718 1719 1720 #line 426 "E:\dynamicweb.net\Solutions\scanpan-live\Files\Templates\Designs\Scanpan\_parsed\blocks.parsed.cshtml" 1721 Write(emailLabel); 1722 1723 1724 #line default 1725 #line hidden 1726 WriteLiteral("</label>\r\n <input"); 1727 1728 WriteLiteral(" class=\"permission-bar__input\""); 1729 1730 WriteLiteral(" id=\"permission-bar-email\""); 1731 1732 WriteLiteral(" name=\"cm-jkiib-jkiib\""); 1733 1734 WriteLiteral(" type=\"email\""); 1735 1736 WriteAttribute("placeholder", Tuple.Create(" placeholder=\"", 19416), Tuple.Create("\"", 19441) 1737 1738 #line 427 "E:\dynamicweb.net\Solutions\scanpan-live\Files\Templates\Designs\Scanpan\_parsed\blocks.parsed.cshtml" 1739 , Tuple.Create(Tuple.Create("", 19430), Tuple.Create<System.Object, System.Int32>(emailLabel 1740 1741 #line default 1742 #line hidden 1743 , 19430), false) 1744 ); 1745 1746 WriteLiteral(" required=\"\""); 1747 1748 WriteLiteral(">\r\n <button"); 1749 1750 WriteLiteral(" class=\"permission-bar__button\""); 1751 1752 WriteLiteral(" name=\"subscribe\""); 1753 1754 WriteLiteral(">"); 1755 1756 1757 #line 428 "E:\dynamicweb.net\Solutions\scanpan-live\Files\Templates\Designs\Scanpan\_parsed\blocks.parsed.cshtml" 1758 Write(buttonText); 1759 1760 1761 #line default 1762 #line hidden 1763 WriteLiteral("</button>\r\n </form>\r\n </div>\r\n"); 1764 1765 1766 #line 431 "E:\dynamicweb.net\Solutions\scanpan-live\Files\Templates\Designs\Scanpan\_parsed\blocks.parsed.cshtml" 1767 } 1768 1769 1770 #line default 1771 #line hidden 1772 WriteLiteral("\r\n\r\n\r\n <!-- JavaScript at the bottom for fast page loading -->\r\n <script"); 1773 1774 WriteLiteral(" async=\"\""); 1775 1776 WriteLiteral(" src=\"https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js\""); 1777 1778 WriteLiteral("></script>\r\n <script>window.jQuery || document.write(\'<script src=\"/Files/Temp" + 1779 "lates/Designs/Scanpan/assets/javascripts/lib/jquery-2.2.4.js\"><\\/script>\')</scri" + 1780 "pt>\r\n\r\n <script"); 1781 1782 WriteLiteral(" src=\"/Files/Templates/Designs/Scanpan/assets/javascripts/main-min.js?nocache=050" + 1783 "218\""); 1784 1785 WriteLiteral(" async=\"\""); 1786 1787 WriteLiteral("></script>\r\n\r\n"); 1788 1789 WriteLiteral(" "); 1790 1791 1792 #line 441 "E:\dynamicweb.net\Solutions\scanpan-live\Files\Templates\Designs\Scanpan\_parsed\blocks.parsed.cshtml" 1793 Write(RenderSnippet("BodyClose")); 1794 1795 1796 #line default 1797 #line hidden 1798 WriteLiteral("\r\n"); 1799 1800 WriteLiteral(" "); 1801 1802 1803 #line 442 "E:\dynamicweb.net\Solutions\scanpan-live\Files\Templates\Designs\Scanpan\_parsed\blocks.parsed.cshtml" 1804 Write(RenderSnippet("Tracking")); 1805 1806 1807 #line default 1808 #line hidden 1809 WriteLiteral("\r\n\r\n "); 1810 1811 WriteLiteral("\r\n"); 1812 1813 1814 #line 445 "E:\dynamicweb.net\Solutions\scanpan-live\Files\Templates\Designs\Scanpan\_parsed\blocks.parsed.cshtml" 1815 1816 1817 #line default 1818 #line hidden 1819 1820 #line 445 "E:\dynamicweb.net\Solutions\scanpan-live\Files\Templates\Designs\Scanpan\_parsed\blocks.parsed.cshtml" 1821 if (!string.IsNullOrWhiteSpace(visualWebsiteOptimizerToken)) 1822 { 1823 1824 1825 #line default 1826 #line hidden 1827 WriteLiteral(" <!-- Start Visual Website Optimizer Asynchronous Code -->\r\n"); 1828 1829 WriteLiteral(" <script"); 1830 1831 WriteLiteral(" type=\'text/javascript\'"); 1832 1833 WriteLiteral(">\r\n var _vwo_code=(function(){\r\n var account_id="); 1834 1835 1836 #line 450 "E:\dynamicweb.net\Solutions\scanpan-live\Files\Templates\Designs\Scanpan\_parsed\blocks.parsed.cshtml" 1837 Write(visualWebsiteOptimizerToken); 1838 1839 1840 #line default 1841 #line hidden 1842 WriteLiteral(@", 1843 settings_tolerance=2000, 1844 library_tolerance=2500, 1845 use_existing_jquery=false, 1846 // DO NOT EDIT BELOW THIS LINE 1847 f=false,d=document;return{use_existing_jquery:function(){return use_existing_jquery;},library_tolerance:function(){return library_tolerance;},finish:function(){if(!f){f=true;var a=d.getElementById('_vis_opt_path_hides');if(a)a.parentNode.removeChild(a);}},finished:function(){return f;},load:function(a){var b=d.createElement('script');b.src=a;b.type='text/javascript';b.innerText;b.onerror=function(){_vwo_code.finish();};d.getElementsByTagName('head')[0].appendChild(b);},init:function(){settings_timer=setTimeout('_vwo_code.finish()',settings_tolerance);this.load('//dev.visualwebsiteoptimizer.com/j.php?a='+account_id+'&u='+encodeURIComponent(d.URL)+'&r='+Math.random());var a=d.createElement('style'),b='body{opacity:0 !important;filter:alpha(opacity=0) !important;background:none !important;}',h=d.getElementsByTagName('head')[0];a.setAttribute('id','_vis_opt_path_hides');a.setAttribute('type','text/css');if(a.styleSheet)a.styleSheet.cssText=b;else a.appendChild(d.createTextNode(b));h.appendChild(a);return settings_timer;}};}());_vwo_settings_timer=_vwo_code.init(); 1848 </script> 1849 "); 1850 1851 WriteLiteral(" <!-- End Visual Website Optimizer Asynchronous Code -->\r\n"); 1852 1853 1854 #line 458 "E:\dynamicweb.net\Solutions\scanpan-live\Files\Templates\Designs\Scanpan\_parsed\blocks.parsed.cshtml" 1855 } 1856 1857 1858 1859 1860 #line default 1861 #line hidden 1862 1863 #line 461 "E:\dynamicweb.net\Solutions\scanpan-live\Files\Templates\Designs\Scanpan\_parsed\blocks.parsed.cshtml" 1864 1865 1866 1867 #line default 1868 #line hidden 1869 1870 #line 462 "E:\dynamicweb.net\Solutions\scanpan-live\Files\Templates\Designs\Scanpan\_parsed\blocks.parsed.cshtml" 1871 1872 1873 1874 #line default 1875 #line hidden 1876 WriteLiteral(" "); 1877 1878 1879 #line 463 "E:\dynamicweb.net\Solutions\scanpan-live\Files\Templates\Designs\Scanpan\_parsed\blocks.parsed.cshtml" 1880 if (Pageview.Area.ID == 1) 1881 { 1882 1883 1884 #line default 1885 #line hidden 1886 WriteLiteral(" <script"); 1887 1888 WriteLiteral(" type=\"text/javascript\""); 1889 1890 WriteLiteral(" language=\"javascript\""); 1891 1892 WriteLiteral(">\r\n var rsa; //A global object for use outside the raptorLoaded function\r\n" + 1893 " var raptorLoaded = function (raptor) {\r\n rsa=raptor;\r\n " + 1894 " raptor.initialize({ customerID: \"5187\", productIdParamIndex: 2, eventTypeParamI" + 1895 "ndex: 1 });\r\n"); 1896 1897 WriteLiteral(" "); 1898 1899 1900 #line 470 "E:\dynamicweb.net\Solutions\scanpan-live\Files\Templates\Designs\Scanpan\_parsed\blocks.parsed.cshtml" 1901 Write(RenderSnippet("raptorScript")); 1902 1903 1904 #line default 1905 #line hidden 1906 WriteLiteral("\r\n }\r\n </script>\r\n"); 1907 1908 WriteLiteral(@" <script> 1909 (function (d, t) { 1910 var g = d.createElement(t), 1911 s = d.getElementsByTagName(t)[0]; 1912 g.src = '//az19942.vo.msecnd.net/script/raptor-2.1.0.js'; 1913 s.parentNode.insertBefore(g, s); 1914 }(document, 'script')); 1915 </script> 1916 "); 1917 1918 1919 #line 481 "E:\dynamicweb.net\Solutions\scanpan-live\Files\Templates\Designs\Scanpan\_parsed\blocks.parsed.cshtml" 1920 } 1921 1922 1923 #line default 1924 #line hidden 1925 WriteLiteral("\r\n"); 1926 1927 WriteLiteral(" "); 1928 1929 1930 #line 483 "E:\dynamicweb.net\Solutions\scanpan-live\Files\Templates\Designs\Scanpan\_parsed\blocks.parsed.cshtml" 1931 Write(footerScript); 1932 1933 1934 #line default 1935 #line hidden 1936 WriteLiteral("\r\n\r\n</body>\r\n</html>\r\n"); 1937 1938 } 1939 } 1940 } 1941

1 @inherits Dynamicweb.Rendering.RazorTemplateBase<Dynamicweb.Rendering.RazorTemplateModel<Dynamicweb.Rendering.Template>> 2 3 @using NoZebra.S_DW_Scanpan.CustomCode.Model 4 @{ 5 var requestHost = GetGlobalValue("Global:Request.Host"); 6 7 var googleTagManagerToken = Pageview.Area.Item["GoogleTagManagerToken"].ToString(); 8 var googleAnalyticsToken = Pageview.Area.Item["GoogleAnalyticsToken"].ToString(); 9 var googleSiteVerificationToken = Pageview.Area.Item["GoogleSiteVerificationToken"].ToString(); 10 var pinterestSiteVerificationToken = Pageview.Area.Item["PinterestSiteVerificationToken"].ToString(); 11 var visualWebsiteOptimizerToken = Pageview.Area.Item["VisualWebsiteOptimizerToken"].ToString(); 12 var newsletterReceipt = Pageview.Area.Item["NewsletterReceiptPageId"].ToString(); 13 var footerScript = Pageview.Area.Item["FooterScript"].ToString(); 14 var assetsVersion = Pageview.Area.Item["AssetsVersion"].ToString(); 15 var longLang = GetString("LongLang").ToLower(); 16 string pageUrl = Pageview.SearchFriendlyUrl; 17 bool pageUrlHasQuery = pageUrl.IndexOf("?") > -1; 18 var pageLanguageLinks = GetLoop("Item.Page.LanguageVersions"); 19 List<HrefLangLink> hrefLangLinks = new List<HrefLangLink>(); 20 if (!pageUrlHasQuery) 21 { 22 if (pageLanguageLinks.Any()) 23 { 24 hrefLangLinks.Add(new HrefLangLink 25 { 26 Url = System.Web.HttpContext.Current.Request.Url.GetLeftPart(System.UriPartial.Authority) + (Pageview.Page.Sort > 1 ? Dynamicweb.Frontend.SearchEngineFriendlyURLs.GetFriendlyUrl(Pageview.ID) : "/" + Pageview.Area.Culture.ToLower()), 27 LanguageCode = Pageview.Area.Culture.ToLower() 28 }); 29 foreach (var link in pageLanguageLinks) 30 { 31 int pageId = link.GetInteger("Item.Page.LanguageVersions.Page"); 32 var page = Dynamicweb.Services.Pages.GetPage(pageId); 33 if (page != null) 34 { 35 string url = System.Web.HttpContext.Current.Request.Url.GetLeftPart(System.UriPartial.Authority); 36 string languageCode = page.Area.Culture.ToLower(); 37 if (page.Sort == 1 && languageCode.ToLower() != "en-gb") 38 { 39 url += "/" + languageCode; 40 } 41 else 42 { 43 url += Dynamicweb.Frontend.SearchEngineFriendlyURLs.GetFriendlyUrl(pageId); 44 } 45 46 var hrefLangLink = new HrefLangLink 47 { 48 Url = url, 49 LanguageCode = languageCode 50 }; 51 hrefLangLinks.Add(hrefLangLink); 52 } 53 } 54 } 55 else 56 { 57 hrefLangLinks = NoZebra.S_DW_Scanpan.CustomCode.Helpers.NavigationHelper.GetLanguageLinks(Pageview.ID); 58 } 59 } 60 } 61 62 <!DOCTYPE html> 63 <!--[if lte IE 8]> <html id="scanpan" class="no-js lt-ie9 lt-ie10" lang="@longLang"> <![endif]--> 64 <!--[if lte IE 9]> <html id="scanpan" class="no-js lt-ie10" lang="@longLang"> <![endif]--> 65 <!--[if gt IE 9]><!--> <html id="scanpan" class="no-js" lang="@longLang"> <!--<![endif]--> 66 <head> 67 <meta charset="utf-8"> 68 69 <title>@GetValue("Title")</title> 70 @GetValue("MetaTags") 71 @GetValue("CopyRightNotice") 72 73 @if (String.IsNullOrWhiteSpace(System.Web.HttpContext.Current.Items["MetaTags"]?.ToString())) 74 { 75 string url = Dynamicweb.Frontend.SearchEngineFriendlyURLs.GetFriendlyUrl($"Default.aspx?ID={GetString("DwPageID")}"); 76 string lang = GetString("LongLang"); 77 } 78 else 79 { 80 @System.Web.HttpContext.Current.Items["MetaTags"] 81 } 82 83 @if (!GetString("MetaTags").Contains("canonical")) 84 { 85 string domainUrl = Dynamicweb.Context.Current.Request.Url.Scheme + "://" + Dynamicweb.Context.Current.Request.Url.Host; 86 string canonical = domainUrl + Dynamicweb.Frontend.SearchEngineFriendlyURLs.GetFriendlyUrl(Dynamicweb.Context.Current.Request.Url.ToString().Replace(domainUrl + "/", "")); 87 string canonicalWithoutParameters = canonical.Split('?')[0]; 88 if(Dynamicweb.Context.Current.Request.Url.ToString().ToLower().Contains("areaid=")) { 89 canonicalWithoutParameters += "/" + longLang; 90 } 91 <link rel="canonical" href="@canonicalWithoutParameters"> 92 } 93 94 95 <meta name="viewport" content="width=device-width"> 96 <meta name="globalsign-domain-verification" content="EWGav1RwWcMsTp8Fx4t9bGNw_r7PQ6cRVx7_udeJiC"> 97 <meta name="globalsign-domain-verification" content="Gd4KzAVKV-VBSUdl8V45WUiwRoDU4XYc2XotXeF5_J"> 98 <meta name="facebook-domain-verification" content="xqdqh65mx5rkyrjk1k5ni3mi6rpa17"> 99 100 @* Disable robots/indexing for staging/nozebrahosting domains *@ 101 @if (requestHost.Contains("staging") || requestHost.Contains("nozebrahosting")) 102 { 103 <meta name="robots" content="noindex, nofollow"> 104 } 105 106 @if (!string.IsNullOrWhiteSpace(googleSiteVerificationToken)) 107 { 108 <meta name="google-site-verification" content="@googleSiteVerificationToken"> 109 } 110 @if (!string.IsNullOrWhiteSpace(pinterestSiteVerificationToken)) 111 { 112 <meta name="p:domain_verify" content="@pinterestSiteVerificationToken"> 113 } 114 115 <link href="/Files/Templates/Designs/Scanpan/assets/stylesheets/main.css?nocache=@assetsVersion" rel="stylesheet"> 116 <link href="/Files/Templates/Designs/Scanpan/assets/stylesheets/print.css?nocache=@assetsVersion" rel="stylesheet" media="print"> 117 118 <link rel="shortcut icon" href="/Files/Templates/Designs/Scanpan/favicon.ico"> 119 120 <script type="application/ld+json"> 121 { 122 "@@context": "http://schema.org", 123 "@@type": "LocalBusiness", 124 "address": { 125 "@@type": "PostalAddress", 126 "addressLocality": "DK-8550 Ryomgård", 127 "streetAddress": "Industrivej 49" 128 }, 129 "description": "Scanpan", 130 "name": "Scanpan", 131 "image": "https://www.scanpan.dk/Files/Templates/Designs/Scanpan/assets/images/logo.png", 132 "telephone": "+45 87 74 14 00" 133 } 134 </script> 135 136 <script> 137 // Replace no-js css class with js css class 138 document.documentElement.className = document.documentElement.className.replace(/\bno-js\b/g, 'js'); 139 </script> 140 141 <!--[if IE]> 142 <link href="/Files/Templates/Designs/Scanpan/assets/stylesheets/ie.css" rel="stylesheet"> 143 <![endif]--> 144 <!--[if lt IE 9]> 145 <script src="/Files/Templates/Designs/Scanpan/assets/javascripts/lib/html5shiv-3.7.2.min.js"></script> 146 <![endif]--> 147 148 @RenderSnippet("HeadClose") 149 150 @if (!string.IsNullOrWhiteSpace(googleTagManagerToken)) 151 { 152 <script> 153 (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': 154 new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], 155 j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= 156 '//www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f); 157 })(window,document,'script','dataLayer','@googleTagManagerToken');</script> 158 } 159 160 <!-- Anti-flicker snippet (recommended)  --> 161 <style> 162 .async-hide { 163 opacity: 0 !important 164 } 165 </style> 166 <script> 167 (function (a, s, y, n, c, h, i, d, e) { 168 s.className += ' ' + y; h.start = 1 * new Date; 169 h.end = i = function () { s.className = s.className.replace(RegExp(' ?' + y), '') }; 170 (a[n] = a[n] || []).hide = h; setTimeout(function () { i(); h.end = null }, c); h.timeout = c; 171 })(window, document.documentElement, 'async-hide', 'dataLayer', 4000, 172 { 'GTM-58J3SP8': true });</script> 173 <!-- Modified Analytics tracking code with Optimize plugin --> 174 <script> 175 (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ 176 (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), 177 m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) 178 })(window,document,'script','https://www.google-analytics.com/analytics.js','ga'); 179 180 ga('create', '@googleAnalyticsToken', 'auto'); 181 ga('require', 'GTM-58J3SP8'); 182 ga('send', 'pageview'); 183 </script> 184 @foreach (HrefLangLink alternateLink in hrefLangLinks.Where(h => !h.Url.EndsWith("/shop"))) 185 { 186 string alternateUrl = alternateLink.Url.ToLower().EndsWith("en-gb") ? alternateLink.Url.ToLower().Replace("/en-gb", "") : alternateLink.Url; 187 <link rel="alternate" hreflang="@alternateLink.LanguageCode" href="@alternateUrl"> 188 } 189 @GetValue("Stylesheets") 190 @GetValue("Javascripts") 191 </head> 192 @{ 193 string bodyClass = GetGlobalValue("Global:Device.IsTablet") == "True" ? "tablet" : ""; 194 } 195 <body class="@bodyClass"> 196 @* Google Tag Manager *@ 197 @if (!string.IsNullOrWhiteSpace(googleTagManagerToken)) 198 { 199 <noscript> 200 <iframe src="//www.googletagmanager.com/ns.html?id=@googleTagManagerToken" height="0" width="0" style="display:none;visibility:hidden"></iframe> 201 </noscript> 202 } 203 204 @* Facebook Conversion Code for Signup to newsletter *@ 205 @if (!string.IsNullOrWhiteSpace(newsletterReceipt)) 206 { 207 if (newsletterReceipt == GetString("Global:Page.ID")) 208 { 209 <script> 210 (function () { 211 var _fbq = window._fbq || (window._fbq = []); 212 if (!_fbq.loaded) { 213 var fbds = document.createElement('script'); 214 fbds.async = true; 215 fbds.src = '//connect.facebook.net/en_US/fbds.js'; 216 var s = document.getElementsByTagName('script')[0]; 217 s.parentNode.insertBefore(fbds, s); 218 _fbq.loaded = true; 219 } 220 })(); 221 window._fbq = window._fbq || []; 222 window._fbq.push(['track', '6028091289621', { 'value': '0.01', 'currency': 'DKK' }]); 223 </script> 224 <noscript><img height="1" width="1" alt="" style="display:none" src="https://www.facebook.com/tr?ev=6028091289621&amp;cd%5Bvalue%5D=0.01&amp;cd%5Bcurrency%5D=DKK&amp;noscript=1"></noscript> 225 } 226 } 227 228 <!-- Facebook Pixel Code --> 229 <script> 230 !function (f, b, e, v, n, t, s) { 231 if (f.fbq) return; n = f.fbq = function () { 232 n.callMethod ? 233 n.callMethod.apply(n, arguments) : n.queue.push(arguments) 234 }; if (!f._fbq) f._fbq = n; 235 n.push = n; n.loaded = !0; n.version = '2.0'; n.queue = []; t = b.createElement(e); t.async = !0; 236 t.src = v; s = b.getElementsByTagName(e)[0]; s.parentNode.insertBefore(t, s) 237 }(window, 238 document, 'script', '//connect.facebook.net/en_US/fbevents.js'); 239 240 fbq('init', '187845994920748'); 241 fbq('track', "PageView");</script> 242 <noscript> 243 <img height="1" width="1" style="display:none" src="https://www.facebook.com/tr?id=187845994920748&ev=PageView&noscript=1"> 244 </noscript> 245 <!-- End Facebook Pixel Code --> 246 247 [Include file 'partials/header.cshtml' not found in 'Templates/Designs/Scanpan/master/main.cshtml'] 248 <div class="page"> 249 @if(!string.IsNullOrWhiteSpace(GetString("DwNavigation(breadcrumb)"))) { 250 <div class="breadcrumb"> 251 <div class="breadcrumb__inside"> 252 <span class="breadcrumb__prefix">Du er her: </span> 253 @GetValue("DwNavigation(breadcrumb)") 254 </div> 255 </div><!-- .breadcrumb --> 256 } 257 258 259 260 <div class="blocks" id="blocks">@GetValue("DwContent(blocks)")</div> 261 262 @* Only on Denmark ( area id 1 ) *@ 263 @if( Pageview.Area.ID == 1 && !GetGlobalValue("Global:Pageview.Url").Contains("shop") ) { 264 @SnippetStart("raptorScript") 265 // Only track content pages 266 <text>raptor.trackEvent('Visit');</text> 267 @SnippetEnd("raptorScript") 268 } 269 270 </div> 271 <button class="nav-panel__mobile-button js-nav__button"> 272 <div class="nav-panel__mobile-button-wrapper"> 273 <span class="nav-panel__mobile-button-burger"> </span> 274 <span class="nav-panel__mobile-button-open">Menu</span> 275 <span class="nav-panel__mobile-button-close">Luk</span> 276 </div> 277 </button> 278 279 <div class="nav-panel js-nav-panel" id="nav-panel"> 280 <div class="nav-panel__layout"> 281 <div class="nav-panel__header"> 282 <div class="header__logo"> 283 <a class="header__logo-link" href="/default.aspx?id=@firstPageId" title="Scanpan"> 284 <img class="header__logo-image" src="/Files/Templates/Designs/Scanpan/assets/images/scanpan-logo.svg" alt="Scanpan"> 285 </a> 286 </div> 287 288 @if (GetLoop("Item.Area.Languages").Any()) 289 { 290 <div class="header__flags"> 291 @foreach (var language in GetLoop("Item.Area.Languages")) 292 { 293 var link = language.GetString("Item.Area.Languages.Link.Value"); 294 var image = language.GetString("Item.Area.Languages.Image.Value"); 295 var linkName = language.GetString("Item.Area.Languages.Name.Value"); 296 297 <a class="header__flag" href="@link"> 298 <img width="20" alt="@linkName" title="@linkName" src="@image"> 299 </a> 300 } 301 </div> 302 } 303 </div> 304 <div class="nav-panel__body js-nav-panel-body"> 305 <nav class="nav-panel__list-container js-accordion" role="navigation"> 306 @RenderNavigation(new 307 { 308 StartLevel = 1, 309 EndLevel = 3, 310 expandmode = "all", 311 Template = "MobileNavigation.xslt", 312 Id = "mobile-nav" 313 }) 314 </nav> 315 </div> 316 </div> 317 </div> 318 @{ 319 var phoneNumber = GetString("Item.Area.FooterColumn4Phone"); 320 var businessHours = GetString("Item.Area.FooterColumn4BusinessHours").Split(',').ToList(); 321 322 // Footer links 323 var policyLink = GetString("Item.Area.FooterPrivacyPolicyLink"); 324 var facebookLink = GetString("Item.Area.FooterFacebookLink"); 325 var instragramLink = GetString("Item.Area.FooterInstagramLink"); 326 } 327 <footer id="footer" class="footer"> 328 <div class="footer__section--top"> 329 <div class="footer__container--top"> 330 <p class="footer__copyright"> 331 <span class="footer__copyright-text">Copyright &copy; SCANPAN</span> 332 333 @if(!string.IsNullOrWhiteSpace(policyLink)) { 334 <a class="footer__copyright-link" href="@policyLink">Privacy Policy</a> 335 } 336 </p> 337 338 <span class="footer__motto">@GetString("Item.Area.FooterPayoff")</span> 339 340 @if(!string.IsNullOrWhiteSpace(facebookLink) || !string.IsNullOrWhiteSpace(instragramLink)) { 341 <div class="footer__share"> 342 <p class="footer__share-header">Følg os på</p> 343 @if(!string.IsNullOrWhiteSpace(facebookLink)) { 344 <a class="footer__share-link--facebook" href="@facebookLink">Facebook</a> 345 } 346 347 @if(!string.IsNullOrWhiteSpace(instragramLink)) { 348 <a class="footer__share-link--instagram" href="@instragramLink">Instagram</a> 349 } 350 </div> 351 } 352 </div><!-- .footer__container--top --> 353 </div><!-- .footer__section--top --> 354 355 <div class="footer__section js-accordion"> 356 <div class="footer__container"> 357 <div class="footer__column--outer"> 358 <div class="footer__column"> 359 <div class="footer__column-header--nav js-accordion-button" data-maxwidth="480" data-target="#footer-list-1">@GetString("Item.Area.FooterColumn1Heading")</div> 360 <ul class="footer__link-list" id="footer-list-1"> 361 @foreach(LoopItem l in GetLoop("Item.Area.FooterColumn1Links")) { 362 var link = l.GetString("Item.Area.FooterColumn1Links.Link"); 363 <li class="footer__link-list-item"> 364 <a class="footer__link" href="@link">@l.GetString("Item.Area.FooterColumn1Links.Text")</a> 365 </li> 366 } 367 </ul> 368 </div> 369 <div class="footer__column"> 370 <div class="footer__column-header--nav js-accordion-button" data-maxwidth="480" data-target="#footer-list-2">@GetString("Item.Area.FooterColumn2Heading")</div> 371 <ul class="footer__link-list" id="footer-list-2"> 372 @foreach(LoopItem l in GetLoop("Item.Area.FooterColumn2Links")) { 373 var link = l.GetString("Item.Area.FooterColumn2Links.Link"); 374 <li class="footer__link-list-item"> 375 <a class="footer__link" href="@link">@l.GetString("Item.Area.FooterColumn2Links.Text")</a> 376 </li> 377 } 378 </ul> 379 </div> 380 </div> 381 <div class="footer__column--outer"> 382 <div class="footer__column"> 383 <div class="footer__column-header--nav js-accordion-button" data-maxwidth="480" data-target="#footer-list-3">@GetString("Item.Area.FooterColumn3Heading")</div> 384 <ul class="footer__link-list" id="footer-list-3"> 385 @foreach(LoopItem l in GetLoop("Item.Area.FooterColumn3Links")) { 386 var link = l.GetString("Item.Area.FooterColumn3Links.Link"); 387 <li class="footer__link-list-item"> 388 <a class="footer__link" href="@link">@l.GetString("Item.Area.FooterColumn3Links.Text")</a> 389 </li> 390 } 391 </ul> 392 </div> 393 394 <div class="footer__column--contact"> 395 <div class="footer__column-header--contact">@GetString("Item.Area.FooterColumn4Heading")</div> 396 <div class="footer__contact-text"> 397 <a class="footer__phone" href="tel:@phoneNumber">@phoneNumber</a> 398 @foreach(var item in businessHours) { 399 <p class="footer__opening">@item</p> 400 } 401 </div> 402 </div> 403 </div> 404 </div><!-- .footer__container --> 405 </div><!-- .footer__section --> 406 </footer><!-- .footer --> 407 408 @{ 409 string formAction = GetString("Item.Area.PermissionBarFormAction"); 410 bool isActive = GetBoolean("Item.Area.PermissionBarIsActive"); 411 412 if( isActive && !string.IsNullOrWhiteSpace(formAction) ) { 413 string headline = GetString("Item.Area.PermissionBarHeadline"); 414 string text = GetString("Item.Area.PermissionBarText"); 415 string nameLabel = "Skriv dit navn"; 416 string emailLabel = "Skriv din e-mail"; 417 string buttonText = "Tilmeld nyhedsbrev"; 418 419 <div class="permission-bar js-permission-bar-target"> 420 <button class="permission-bar__close js-permission-bar-button">X</button> 421 <a class="permission-bar__headline js-permission-bar-button">@headline</a> 422 <div class="permission-bar__text">@text</div> 423 <form action="@formAction" method="post"> 424 <label class="permission-bar__label" for="permission-bar-name">@nameLabel</label> 425 <input class="permission-bar__input" id="permission-bar-name" name="cm-name" type="text" placeholder="@nameLabel" required=""> 426 <label class="permission-bar__label" for="permission-bar-email">@emailLabel</label> 427 <input class="permission-bar__input" id="permission-bar-email" name="cm-jkiib-jkiib" type="email" placeholder="@emailLabel" required=""> 428 <button class="permission-bar__button" name="subscribe">@buttonText</button> 429 </form> 430 </div> 431 } 432 } 433 434 435 <!-- JavaScript at the bottom for fast page loading --> 436 <script async="" src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js"></script> 437 <script>window.jQuery || document.write('<script src="/Files/Templates/Designs/Scanpan/assets/javascripts/lib/jquery-2.2.4.js"><\/script>')</script> 438 439 <script src="/Files/Templates/Designs/Scanpan/assets/javascripts/main-min.js?nocache=050218" async=""></script> 440 441 @RenderSnippet("BodyClose") 442 @RenderSnippet("Tracking") 443 444 @* Visual Website Optimizer Asynchronous Code *@ 445 @if (!string.IsNullOrWhiteSpace(visualWebsiteOptimizerToken)) 446 { 447 <!-- Start Visual Website Optimizer Asynchronous Code --> 448 <script type='text/javascript'> 449 var _vwo_code=(function(){ 450 var account_id=@visualWebsiteOptimizerToken, 451 settings_tolerance=2000, 452 library_tolerance=2500, 453 use_existing_jquery=false, 454 // DO NOT EDIT BELOW THIS LINE 455 f=false,d=document;return{use_existing_jquery:function(){return use_existing_jquery;},library_tolerance:function(){return library_tolerance;},finish:function(){if(!f){f=true;var a=d.getElementById('_vis_opt_path_hides');if(a)a.parentNode.removeChild(a);}},finished:function(){return f;},load:function(a){var b=d.createElement('script');b.src=a;b.type='text/javascript';b.innerText;b.onerror=function(){_vwo_code.finish();};d.getElementsByTagName('head')[0].appendChild(b);},init:function(){settings_timer=setTimeout('_vwo_code.finish()',settings_tolerance);this.load('//dev.visualwebsiteoptimizer.com/j.php?a='+account_id+'&u='+encodeURIComponent(d.URL)+'&r='+Math.random());var a=d.createElement('style'),b='body{opacity:0 !important;filter:alpha(opacity=0) !important;background:none !important;}',h=d.getElementsByTagName('head')[0];a.setAttribute('id','_vis_opt_path_hides');a.setAttribute('type','text/css');if(a.styleSheet)a.styleSheet.cssText=b;else a.appendChild(d.createTextNode(b));h.appendChild(a);return settings_timer;}};}());_vwo_settings_timer=_vwo_code.init(); 456 </script> 457 <!-- End Visual Website Optimizer Asynchronous Code --> 458 } 459 460 461 @* Raptor tracking script *@ 462 @* Only on Denmark ( area id 1 ) *@ 463 @if (Pageview.Area.ID == 1) 464 { 465 <script type="text/javascript" language="javascript"> 466 var rsa; //A global object for use outside the raptorLoaded function 467 var raptorLoaded = function (raptor) { 468 rsa=raptor; 469 raptor.initialize({ customerID: "5187", productIdParamIndex: 2, eventTypeParamIndex: 1 }); 470 @RenderSnippet("raptorScript") 471 } 472 </script> 473 <script> 474 (function (d, t) { 475 var g = d.createElement(t), 476 s = d.getElementsByTagName(t)[0]; 477 g.src = '//az19942.vo.msecnd.net/script/raptor-2.1.0.js'; 478 s.parentNode.insertBefore(g, s); 479 }(document, 'script')); 480 </script> 481 } 482 483 @footerScript 484 485 </body> 486 </html> 487