Error compiling template "Designs/barhandel2017/_parsed/Dokumentside.parsed.cshtml"
Line 582: The name 'Global' does not exist in the current context
Line 592: The name 'Global' 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 1 "D:\dynamicweb.net\Solutions\bfahandel.cloud.dynamicweb-cms.com\Files\Templates\Designs\barhandel2017\_parsed\Dokumentside.parsed.cshtml" 17 using System.IO; 18 19 #line default 20 #line hidden 21 22 23 public class RazorEngine_eeb63e8f36414d1d9a4ae165dd6cf502 : Dynamicweb.Rendering.RazorTemplateBase<Dynamicweb.Rendering.RazorTemplateModel<Dynamicweb.Rendering.Template>> { 24 25 #line hidden 26 27 public RazorEngine_eeb63e8f36414d1d9a4ae165dd6cf502() { 28 } 29 30 public override void Execute() { 31 32 #line 3 "D:\dynamicweb.net\Solutions\bfahandel.cloud.dynamicweb-cms.com\Files\Templates\Designs\barhandel2017\_parsed\Dokumentside.parsed.cshtml" 33 34 string openBlank = ((GetBoolean("Item.OpenInNewWindow"))) ? "_blank" : ""; 35 bool myList = ((GetBoolean("Item.ActivateAddToList"))) ? GetBoolean("Item.ActivateAddToList") : false; 36 string tooltipClass = (myList) ? "has-tooltip" : "no-tooltip"; 37 string link = GetString("Item.Link"); 38 39 string pageName = (!string.IsNullOrWhiteSpace(GetString("Item.Titel"))) ? GetString("Item.Titel") : GetString("Item.PageName"); 40 41 char[] invalidFileNameChars = Path.GetInvalidFileNameChars(); 42 bool isFaktaark = (GetString("Item.Dokumenttype") == "faktaark") ? true:false; 43 bool LinkTilSide = GetBoolean("Item.LinkTilSide"); 44 string dokumentlink = GetString("Item.Link"); 45 bool AutogenererPDF = (GetBoolean("Item.Autogenerer_PDF") == true) ? true : false; 46 47 48 49 #line default 50 #line hidden 51 WriteLiteral(@" 52 <!DOCTYPE html> 53 <!--[if lt IE 7]> <html class=""no-js lt-ie9 lt-ie8 lt-ie7""> <![endif]--> 54 <!--[if IE 7]> <html class=""no-js lt-ie9 lt-ie8""> <![endif]--> 55 <!--[if IE 8]> <html class=""no-js lt-ie9""> <![endif]--> 56 <!--[if gt IE 8]><!--> <html"); 57 58 WriteLiteral(" class=\"no-js\""); 59 60 WriteLiteral("> <!--<![endif]-->\r\n <head>\r\n <meta"); 61 62 WriteLiteral(" charset=\"utf-8\""); 63 64 WriteLiteral(">\r\n <meta"); 65 66 WriteLiteral(" http-equiv=\"X-UA-Compatible\""); 67 68 WriteLiteral(" content=\"IE=edge,chrome=1\""); 69 70 WriteLiteral(">\r\n <title>"); 71 72 73 #line 26 "D:\dynamicweb.net\Solutions\bfahandel.cloud.dynamicweb-cms.com\Files\Templates\Designs\barhandel2017\_parsed\Dokumentside.parsed.cshtml" 74 Write(GetValue("Title")); 75 76 77 #line default 78 #line hidden 79 WriteLiteral("</title>\r\n"); 80 81 82 #line 27 "D:\dynamicweb.net\Solutions\bfahandel.cloud.dynamicweb-cms.com\Files\Templates\Designs\barhandel2017\_parsed\Dokumentside.parsed.cshtml" 83 Write(GetValue("MetaTags")); 84 85 86 #line default 87 #line hidden 88 WriteLiteral("\r\n"); 89 90 91 #line 28 "D:\dynamicweb.net\Solutions\bfahandel.cloud.dynamicweb-cms.com\Files\Templates\Designs\barhandel2017\_parsed\Dokumentside.parsed.cshtml" 92 Write(GetValue("CopyRightNotice")); 93 94 95 #line default 96 #line hidden 97 WriteLiteral("\r\n\r\n \r\n <meta"); 98 99 WriteLiteral(" name=\"apple-mobile-web-app-capable\""); 100 101 WriteLiteral(" content=\"yes\""); 102 103 WriteLiteral(">\r\n <meta"); 104 105 WriteLiteral(" name=\"viewport\""); 106 107 WriteLiteral(" content=\"width=device-width, initial-scale=1, user-scalable=no\""); 108 109 WriteLiteral(">\r\n\t\t<link"); 110 111 WriteLiteral(" href=\'http://fonts.googleapis.com/css?family=Play\'"); 112 113 WriteLiteral(" rel=\'stylesheet\'"); 114 115 WriteLiteral(" type=\'text/css\'"); 116 117 WriteLiteral(">\r\n <link"); 118 119 WriteLiteral(" href=\'http://fonts.googleapis.com/css?family=Play:700\'"); 120 121 WriteLiteral(" rel=\'stylesheet\'"); 122 123 WriteLiteral(" type=\'text/css\'"); 124 125 WriteLiteral(">\r\n <link"); 126 127 WriteLiteral(" href=\'http://fonts.googleapis.com/css?family=Economica:700\'"); 128 129 WriteLiteral(" rel=\'stylesheet\'"); 130 131 WriteLiteral(" type=\'text/css\'"); 132 133 WriteLiteral(">\r\n <link"); 134 135 WriteLiteral(" rel=\"stylesheet\""); 136 137 WriteLiteral(" href=\"/Files/Templates/Designs/barhandel2017/css/normalize.min.css\""); 138 139 WriteLiteral(">\r\n <link"); 140 141 WriteLiteral(" rel=\"stylesheet\""); 142 143 WriteLiteral(" href=\"/Files/Templates/Designs/barhandel2017/css/main.css?v=20210121b\""); 144 145 WriteLiteral(">\r\n <link"); 146 147 WriteLiteral(" rel=\"stylesheet\""); 148 149 WriteLiteral(" href=\"/Files/Templates/Designs/barhandel2017/css/bfa2017.css?v=20170424\""); 150 151 WriteLiteral(">\r\n\r\n <script"); 152 153 WriteLiteral(" src=\"/Files/Templates/Designs/barhandel2017/js/vendor/modernizr-2.6.2-respond-1." + 154 "1.0.min.js\""); 155 156 WriteLiteral(@"></script> 157 158 <!-- Google Tag Manager --> 159 <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': 160 new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], 161 j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= 162 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f); 163 })(window,document,'script','dataLayer','GTM-T9RDCGS');</script> 164 <!-- End Google Tag Manager --> 165 166 <script"); 167 168 WriteLiteral(" src=\"//ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js\""); 169 170 WriteLiteral("></script>\r\n <script>window.jQuery || document.write(\'<script src=\"js/vend" + 171 "or/jquery-1.11.0.min.js\"><\\/script>\')</script>\r\n <script"); 172 173 WriteLiteral(" src=\"https://cdnjs.cloudflare.com/ajax/libs/jquery-cookie/1.4.1/jquery.cookie.js" + 174 "\""); 175 176 WriteLiteral("></script>\r\n\r\n <!-- Oxford Research script\r\n\t\t<script type=\"text/javascrip" + 177 "t\">\r\n var wid = \"BH\";\r\n </script>\r\n <script src=\"http:/" + 178 "/roiagency.dk/resources/oxford/ox.js\"></script>\r\n /Oxford Research script" + 179 " -->\r\n"); 180 181 WriteLiteral(" "); 182 183 184 #line 60 "D:\dynamicweb.net\Solutions\bfahandel.cloud.dynamicweb-cms.com\Files\Templates\Designs\barhandel2017\_parsed\Dokumentside.parsed.cshtml" 185 Write(GetValue("Stylesheets")); 186 187 188 #line default 189 #line hidden 190 WriteLiteral("\r\n"); 191 192 193 #line 61 "D:\dynamicweb.net\Solutions\bfahandel.cloud.dynamicweb-cms.com\Files\Templates\Designs\barhandel2017\_parsed\Dokumentside.parsed.cshtml" 194 Write(GetValue("Javascripts")); 195 196 197 #line default 198 #line hidden 199 WriteLiteral("\r\n</head>\r\n\r\n <body"); 200 201 WriteLiteral(" class=\"document-page\""); 202 203 WriteLiteral(">\r\n <!-- Google Tag Manager (noscript) -->\r\n <noscript><iframe"); 204 205 WriteLiteral(" src=\"https://www.googletagmanager.com/ns.html?id=GTM-T9RDCGS\""); 206 207 WriteLiteral(" height=\"0\""); 208 209 WriteLiteral(" width=\"0\""); 210 211 WriteLiteral(" style=\"display:none;visibility:hidden\""); 212 213 WriteLiteral("></iframe></noscript>\r\n <!-- End Google Tag Manager (noscript) -->\r\n " + 214 " \r\n <header>\r\n \t<div"); 215 216 WriteLiteral(" class=\"wrapper\""); 217 218 WriteLiteral(">\r\n <a"); 219 220 WriteLiteral(" id=\"logo\""); 221 222 WriteLiteral(" href=\"/Default.aspx?ID=15443\""); 223 224 WriteLiteral("></a>\r\n <div"); 225 226 WriteLiteral(" class=\"search\""); 227 228 WriteLiteral(">\r\n <form"); 229 230 WriteLiteral(" method=\"get\""); 231 232 WriteLiteral(" action=\"/Default.aspx\""); 233 234 WriteLiteral(">\r\n <input"); 235 236 WriteLiteral(" type=\"hidden\""); 237 238 WriteLiteral(" name=\"ID\""); 239 240 WriteLiteral(" value=\"10266\""); 241 242 WriteLiteral(">\r\n <div"); 243 244 WriteLiteral(" class=\"searchfield\""); 245 246 WriteLiteral("><input"); 247 248 WriteLiteral(" class=\"\""); 249 250 WriteLiteral(" type=\"text\""); 251 252 WriteLiteral(" name=\"q\""); 253 254 WriteLiteral(" autocomplete=\"off\""); 255 256 WriteLiteral(" data-placeholder=\"Skriv søgeord\""); 257 258 WriteLiteral("></div>\r\n <div"); 259 260 WriteLiteral(" class=\"search-toggle\""); 261 262 WriteLiteral("></div>\r\n </form>\r\n </div>\r\n <bu" + 263 "tton"); 264 265 WriteLiteral(" id=\"top-nav-button\""); 266 267 WriteLiteral(">\r\n <div></div>\r\n <div></div>\r\n " + 268 " <div></div>\r\n </button>\r\n </div>\r\n </he" + 269 "ader>\r\n <nav"); 270 271 WriteLiteral(" id=\"top-nav\""); 272 273 WriteLiteral(" class=\"awesome-menu\""); 274 275 WriteLiteral(">\r\n"); 276 277 WriteLiteral(" "); 278 279 280 #line 87 "D:\dynamicweb.net\Solutions\bfahandel.cloud.dynamicweb-cms.com\Files\Templates\Designs\barhandel2017\_parsed\Dokumentside.parsed.cshtml" 281 Write(GetValue("DwNavigation(topnavigation)")); 282 283 284 #line default 285 #line hidden 286 WriteLiteral("\r\n </nav>\r\n <div"); 287 288 WriteLiteral(" id=\"content\""); 289 290 WriteLiteral(" class=\"\""); 291 292 WriteLiteral(">\r\n \t<div"); 293 294 WriteLiteral(" id=\"ajaxer\""); 295 296 WriteLiteral(" class=\"clearfix\""); 297 298 WriteLiteral(">\r\n <section"); 299 300 WriteLiteral(" class=\"article\""); 301 302 WriteLiteral(">\r\n <!--$$If Defined(DwTopGraphic)-->\r\n <di" + 303 "v"); 304 305 WriteLiteral(" id=\"topgrafik\""); 306 307 WriteLiteral("><img"); 308 309 WriteLiteral(" src=\"<!--$$DwTopGraphicClean-->\""); 310 311 WriteLiteral(@"></div> 312 <!--$$EndIf(DwTopGraphic)--> 313 <!--<nav id=""legend""> 314 <ul id=""legendnavigation"" class=""dwnavigation"" settings=""startlevel:1;endlevel:9;expandmode:pathonly;template:navigation.xslt;""> 315 <li></li> 316 </ul> 317 </nav>--> 318 <div"); 319 320 WriteLiteral(" class=\"document-page-type\""); 321 322 WriteLiteral(">"); 323 324 325 #line 100 "D:\dynamicweb.net\Solutions\bfahandel.cloud.dynamicweb-cms.com\Files\Templates\Designs\barhandel2017\_parsed\Dokumentside.parsed.cshtml" 326 Write(GetString("Item.Dokumenttype")); 327 328 329 #line default 330 #line hidden 331 WriteLiteral("</div>\r\n <h1"); 332 333 WriteLiteral(" class=\"article-title\""); 334 335 WriteLiteral(">"); 336 337 338 #line 101 "D:\dynamicweb.net\Solutions\bfahandel.cloud.dynamicweb-cms.com\Files\Templates\Designs\barhandel2017\_parsed\Dokumentside.parsed.cshtml" 339 Write(GetString("Item.PageName")); 340 341 342 #line default 343 #line hidden 344 WriteLiteral("</h1>\r\n <div"); 345 346 WriteAttribute("class", Tuple.Create(" class=\"", 5466), Tuple.Create("\"", 5509) 347 , Tuple.Create(Tuple.Create("", 5474), Tuple.Create("document-list-buttons", 5474), true) 348 349 #line 102 "D:\dynamicweb.net\Solutions\bfahandel.cloud.dynamicweb-cms.com\Files\Templates\Designs\barhandel2017\_parsed\Dokumentside.parsed.cshtml" 350 , Tuple.Create(Tuple.Create(" ", 5495), Tuple.Create<System.Object, System.Int32>(tooltipClass 351 352 #line default 353 #line hidden 354 , 5496), false) 355 ); 356 357 WriteLiteral(">\r\n"); 358 359 360 #line 103 "D:\dynamicweb.net\Solutions\bfahandel.cloud.dynamicweb-cms.com\Files\Templates\Designs\barhandel2017\_parsed\Dokumentside.parsed.cshtml" 361 362 363 #line default 364 #line hidden 365 366 #line 103 "D:\dynamicweb.net\Solutions\bfahandel.cloud.dynamicweb-cms.com\Files\Templates\Designs\barhandel2017\_parsed\Dokumentside.parsed.cshtml" 367 if (isFaktaark || AutogenererPDF) 368 { 369 var validFilename = pageName; 370 foreach (char c in invalidFileNameChars) 371 { 372 validFilename = validFilename.Replace(c, '-'); 373 } 374 validFilename = validFilename + "_" + @GetString("Item.ID"); 375 string pdflink = "/Files/Filer/BARhandel/pdf_auto/" + validFilename + ".pdf"; 376 link = pdflink; 377 } 378 379 380 #line default 381 #line hidden 382 WriteLiteral("\r\n\r\n"); 383 384 385 #line 116 "D:\dynamicweb.net\Solutions\bfahandel.cloud.dynamicweb-cms.com\Files\Templates\Designs\barhandel2017\_parsed\Dokumentside.parsed.cshtml" 386 387 388 #line default 389 #line hidden 390 391 #line 116 "D:\dynamicweb.net\Solutions\bfahandel.cloud.dynamicweb-cms.com\Files\Templates\Designs\barhandel2017\_parsed\Dokumentside.parsed.cshtml" 392 if (!string.IsNullOrWhiteSpace(link) && AutogenererPDF == false) 393 { 394 395 396 #line default 397 #line hidden 398 WriteLiteral(" <a"); 399 400 WriteAttribute("href", Tuple.Create(" href=\'", 6271), Tuple.Create("\'", 6283) 401 402 #line 118 "D:\dynamicweb.net\Solutions\bfahandel.cloud.dynamicweb-cms.com\Files\Templates\Designs\barhandel2017\_parsed\Dokumentside.parsed.cshtml" 403 , Tuple.Create(Tuple.Create("", 6278), Tuple.Create<System.Object, System.Int32>(link 404 405 #line default 406 #line hidden 407 , 6278), false) 408 ); 409 410 WriteLiteral(" class=\"main-button\""); 411 412 WriteAttribute("target", Tuple.Create(" target=\"", 6304), Tuple.Create("\"", 6323) 413 414 #line 118 "D:\dynamicweb.net\Solutions\bfahandel.cloud.dynamicweb-cms.com\Files\Templates\Designs\barhandel2017\_parsed\Dokumentside.parsed.cshtml" 415 , Tuple.Create(Tuple.Create("", 6313), Tuple.Create<System.Object, System.Int32>(openBlank 416 417 #line default 418 #line hidden 419 , 6313), false) 420 ); 421 422 WriteLiteral(">"); 423 424 425 #line 118 "D:\dynamicweb.net\Solutions\bfahandel.cloud.dynamicweb-cms.com\Files\Templates\Designs\barhandel2017\_parsed\Dokumentside.parsed.cshtml" 426 Write(GetString("Item.LinkTekst")); 427 428 429 #line default 430 #line hidden 431 WriteLiteral("</a>\r\n"); 432 433 434 #line 119 "D:\dynamicweb.net\Solutions\bfahandel.cloud.dynamicweb-cms.com\Files\Templates\Designs\barhandel2017\_parsed\Dokumentside.parsed.cshtml" 435 } 436 else if (!string.IsNullOrWhiteSpace(link) && AutogenererPDF == true) 437 { 438 439 440 #line default 441 #line hidden 442 WriteLiteral(" <a"); 443 444 WriteAttribute("href", Tuple.Create(" href=\'", 6537), Tuple.Create("\'", 6549) 445 446 #line 122 "D:\dynamicweb.net\Solutions\bfahandel.cloud.dynamicweb-cms.com\Files\Templates\Designs\barhandel2017\_parsed\Dokumentside.parsed.cshtml" 447 , Tuple.Create(Tuple.Create("", 6544), Tuple.Create<System.Object, System.Int32>(link 448 449 #line default 450 #line hidden 451 , 6544), false) 452 ); 453 454 WriteLiteral(" class=\"main-button\""); 455 456 WriteAttribute("target", Tuple.Create(" target=\"", 6570), Tuple.Create("\"", 6589) 457 458 #line 122 "D:\dynamicweb.net\Solutions\bfahandel.cloud.dynamicweb-cms.com\Files\Templates\Designs\barhandel2017\_parsed\Dokumentside.parsed.cshtml" 459 , Tuple.Create(Tuple.Create("", 6579), Tuple.Create<System.Object, System.Int32>(openBlank 460 461 #line default 462 #line hidden 463 , 6579), false) 464 ); 465 466 WriteLiteral(">Hent PDF</a>\r\n"); 467 468 469 #line 123 "D:\dynamicweb.net\Solutions\bfahandel.cloud.dynamicweb-cms.com\Files\Templates\Designs\barhandel2017\_parsed\Dokumentside.parsed.cshtml" 470 } 471 472 473 #line default 474 #line hidden 475 WriteLiteral("\r\n"); 476 477 478 #line 125 "D:\dynamicweb.net\Solutions\bfahandel.cloud.dynamicweb-cms.com\Files\Templates\Designs\barhandel2017\_parsed\Dokumentside.parsed.cshtml" 479 480 481 #line default 482 #line hidden 483 484 #line 125 "D:\dynamicweb.net\Solutions\bfahandel.cloud.dynamicweb-cms.com\Files\Templates\Designs\barhandel2017\_parsed\Dokumentside.parsed.cshtml" 485 if (myList && !string.IsNullOrWhiteSpace(link)) 486 { 487 488 489 #line default 490 #line hidden 491 WriteLiteral(" <button"); 492 493 WriteLiteral(" class=\"add-to-my-list\""); 494 495 WriteLiteral(" data-url=\""); 496 497 498 #line 127 "D:\dynamicweb.net\Solutions\bfahandel.cloud.dynamicweb-cms.com\Files\Templates\Designs\barhandel2017\_parsed\Dokumentside.parsed.cshtml" 499 Write(link); 500 501 502 #line default 503 #line hidden 504 WriteLiteral("\""); 505 506 WriteLiteral(" data-name=\""); 507 508 509 #line 127 "D:\dynamicweb.net\Solutions\bfahandel.cloud.dynamicweb-cms.com\Files\Templates\Designs\barhandel2017\_parsed\Dokumentside.parsed.cshtml" 510 Write(pageName); 511 512 513 #line default 514 #line hidden 515 WriteLiteral("\""); 516 517 WriteLiteral(" data-type=\""); 518 519 520 #line 127 "D:\dynamicweb.net\Solutions\bfahandel.cloud.dynamicweb-cms.com\Files\Templates\Designs\barhandel2017\_parsed\Dokumentside.parsed.cshtml" 521 Write(GetString(" item.dokumenttype")); 522 523 524 #line default 525 #line hidden 526 WriteLiteral("\""); 527 528 WriteLiteral("=\"\">Tilføj \"min liste\"</button>\r\n"); 529 530 WriteLiteral(" <span"); 531 532 WriteLiteral(" class=\"tooltip\""); 533 534 WriteLiteral("></span>\r\n"); 535 536 537 #line 129 "D:\dynamicweb.net\Solutions\bfahandel.cloud.dynamicweb-cms.com\Files\Templates\Designs\barhandel2017\_parsed\Dokumentside.parsed.cshtml" 538 } 539 540 541 #line default 542 #line hidden 543 WriteLiteral("\r\n </div>\r\n\t\t\t\t\t<div"); 544 545 WriteLiteral(" class=\"divider\""); 546 547 WriteLiteral("></div>\r\n <article"); 548 549 WriteLiteral(" id=\"contentholder\""); 550 551 WriteLiteral(">"); 552 553 554 #line 133 "D:\dynamicweb.net\Solutions\bfahandel.cloud.dynamicweb-cms.com\Files\Templates\Designs\barhandel2017\_parsed\Dokumentside.parsed.cshtml" 555 Write(GetValue("DwContent(contentholder)")); 556 557 558 #line default 559 #line hidden 560 WriteLiteral("</article>\r\n </section>\r\n </div>\r\n </div>\r\n\r\n " + 561 " <footer>\r\n <div"); 562 563 WriteLiteral(" class=\"inner\""); 564 565 WriteLiteral(">\r\n <div"); 566 567 WriteLiteral(" class=\"contact\""); 568 569 WriteLiteral("><span"); 570 571 WriteLiteral(" class=\"email\""); 572 573 WriteLiteral("><a"); 574 575 WriteLiteral(" href=\"mailto:info@bfahandelfinanskontor.dk\""); 576 577 WriteLiteral(">info@bfahandelfinanskontor.dk</a> </span></div>\r\n\t <!--div class=" + 578 "\"contact\"><span class=\"email\"><!-"); 579 580 581 #line 141 "D:\dynamicweb.net\Solutions\bfahandel.cloud.dynamicweb-cms.com\Files\Templates\Designs\barhandel2017\_parsed\Dokumentside.parsed.cshtml" 582 Write(Global); 583 584 585 #line default 586 #line hidden 587 WriteLiteral(":Paragraph.Content(20910)-></span></div>\r\n\t <div class=\"contact\"><" + 588 "span class=\"phone\"><!-"); 589 590 591 #line 142 "D:\dynamicweb.net\Solutions\bfahandel.cloud.dynamicweb-cms.com\Files\Templates\Designs\barhandel2017\_parsed\Dokumentside.parsed.cshtml" 592 Write(Global); 593 594 595 #line default 596 #line hidden 597 WriteLiteral(":Paragraph.Content(20911)-></span></div-->\r\n <div"); 598 599 WriteLiteral(" class=\"share\""); 600 601 WriteLiteral(" title=\"Send denne side via mail til en ven.\""); 602 603 WriteLiteral(">Tip en ven</div>\r\n <div"); 604 605 WriteLiteral(" class=\"nyhedsbrev\""); 606 607 WriteLiteral(" title=\"Tilmeld nyhedsbrev\""); 608 609 WriteLiteral("><a"); 610 611 WriteLiteral(" href=\"https://bfahandel.us2.list-manage.com/subscribe?u=392b0cbb6bf34b47495058df" + 612 "3&id=f7e2b0d982\""); 613 614 WriteLiteral(" target=\"_blank\""); 615 616 WriteLiteral(">Tilmeld nyhedsbrev</a></div>\r\n </div>\r\n\t\t\t\t<div"); 617 618 WriteLiteral(" class=\"inner footer-text\""); 619 620 WriteLiteral(@"> 621 <p><b>Branchefællesskabet for arbejdsmiljø (BFA) Handel</b> er et samarbejde mellem 622 arbejdsgivere og arbejdstagere om at sikre et godt fysisk og psykisk arbejdsmiljø i 623 detailbranchen.</p><p> 624 BFA handel udvikler vejledninger, værktøjer og inspirationsmateriale til brug for 625 ledere, ansatte og medlemmer af arbejdsmiljøorganisationen i butikkerne. BFA 626 Handel er en del af BFA Handel, Finans og Kontor: <a"); 627 628 WriteLiteral(" href=\"https://www.bfahandelfinanskontor.dk\""); 629 630 WriteLiteral(" target=\"_blank\""); 631 632 WriteLiteral(">www.bfahandelfinanskontor.dk</a>\r\n </p><p>\r\n<b>BFA Handel, Fællessekretariatet <" + 633 "/b> Børsen, 1217 København K, Tlf. 33 74 63 39. Mail: <a"); 634 635 WriteLiteral(" href=\"mailto:info@bfahandel.dk\""); 636 637 WriteLiteral(">info@bfahandel.dk</a>, www.bfahandel.dk\r\n\t\t\t\t\t</p>\r\n\t\t\t\t</div>\r\n </footer" + 638 ">\r\n <div"); 639 640 WriteLiteral(" id=\"search-container\""); 641 642 WriteLiteral(">\r\n \t<div"); 643 644 WriteLiteral(" class=\"status\""); 645 646 WriteLiteral(">Søger, vent venligst...</div>\r\n \t<div"); 647 648 WriteLiteral(" class=\"results\""); 649 650 WriteLiteral("></div>\r\n <div"); 651 652 WriteLiteral(" class=\"no-results\""); 653 654 WriteLiteral(">Ingen resultater...</div>\r\n </div>\r\n <div"); 655 656 WriteLiteral(" id=\"nyhedsbrev-popup\""); 657 658 WriteLiteral(">\r\n <div"); 659 660 WriteLiteral(" class=\"close\""); 661 662 WriteLiteral("></div>\r\n <!--$$Global:Paragraph.Content(38858)-->\r\n </div>\r\n " + 663 " <div"); 664 665 WriteLiteral(" id=\"share-popup\""); 666 667 WriteLiteral(">\r\n \t<div"); 668 669 WriteLiteral(" class=\"close\""); 670 671 WriteLiteral("></div>\r\n <form"); 672 673 WriteLiteral(" action=\"/Admin/Public/FormMailer.aspx\""); 674 675 WriteLiteral(" method=\"post\""); 676 677 WriteLiteral(">\r\n <input"); 678 679 WriteLiteral(" type=\"hidden\""); 680 681 WriteLiteral(" name=\"FM_Charset\""); 682 683 WriteLiteral(" value=\"iso-8859-1\""); 684 685 WriteLiteral(">\r\n <input"); 686 687 WriteLiteral(" type=\"hidden\""); 688 689 WriteLiteral(" name=\"FM_html\""); 690 691 WriteLiteral(" value=\"true\""); 692 693 WriteLiteral(">\r\n <input"); 694 695 WriteLiteral(" type=\"hidden\""); 696 697 WriteLiteral(" name=\"FM_Subject\""); 698 699 WriteLiteral(" value=\"BAR Handel tip!\""); 700 701 WriteLiteral(">\r\n <input"); 702 703 WriteLiteral(" type=\"hidden\""); 704 705 WriteLiteral(" name=\"FM_Template\""); 706 707 WriteLiteral(" value=\"barhandel2014_tip.html\""); 708 709 WriteLiteral(">\r\n <input"); 710 711 WriteLiteral(" type=\"hidden\""); 712 713 WriteLiteral(" name=\"FM_page_url\""); 714 715 WriteLiteral(" value=\"<!--$$Global:Request.AbsoluteUri-->\""); 716 717 WriteLiteral(">\r\n <input"); 718 719 WriteLiteral(" type=\"hidden\""); 720 721 WriteLiteral(" name=\"FM_page_name\""); 722 723 WriteLiteral(" value=\"<!--$$Title-->\""); 724 725 WriteLiteral(">\r\n\r\n <!--Redirect after successful submit-->\r\n <!-- input " + 726 "type=\"hidden\" name=\"FM_Redirect\" value=\"http://www.dynamicweb.dk\" -->\r\n\r\n " + 727 " <table><tr><td>\r\n <div"); 728 729 WriteLiteral(" class=\"description\""); 730 731 WriteLiteral(">Send denne side til en ven eller kollega.</div>\r\n <div><input"); 732 733 WriteLiteral(" type=\"text\""); 734 735 WriteLiteral(" name=\"FM_FromName\""); 736 737 WriteLiteral(" data-placeholder=\"Dit navn\""); 738 739 WriteLiteral("></div>\r\n <div><input"); 740 741 WriteLiteral(" type=\"text\""); 742 743 WriteLiteral(" name=\"FM_FromEmail\""); 744 745 WriteLiteral(" data-placeholder=\"Din email\""); 746 747 WriteLiteral("></div>\r\n <div><input"); 748 749 WriteLiteral(" type=\"text\""); 750 751 WriteLiteral(" name=\"FM_ToName\""); 752 753 WriteLiteral(" data-placeholder=\"Modtagers navn\""); 754 755 WriteLiteral("></div>\r\n <div><input"); 756 757 WriteLiteral(" type=\"text\""); 758 759 WriteLiteral(" name=\"FM_ToEmail\""); 760 761 WriteLiteral(" data-placeholder=\"Modtagers email\""); 762 763 WriteLiteral("></div>\r\n <div><input"); 764 765 WriteLiteral(" type=\"submit\""); 766 767 WriteLiteral(" value=\"Send link\""); 768 769 WriteLiteral("></div>\r\n </td></tr></table>\r\n\r\n </form>\r\n </div>\r\n " + 770 " <div"); 771 772 WriteLiteral(" id=\"download-liste\""); 773 774 WriteLiteral(">\r\n <div"); 775 776 WriteLiteral(" class=\"close-btn\""); 777 778 WriteLiteral("><a"); 779 780 WriteLiteral(" href=\"#\""); 781 782 WriteLiteral("><img"); 783 784 WriteLiteral(" src=\"/Files/Templates/Designs/barhandel2017/images/close-x.png\""); 785 786 WriteLiteral("></a></div>\r\n <div"); 787 788 WriteLiteral(" class=\"text\""); 789 790 WriteLiteral(">Du har <span"); 791 792 WriteLiteral(" class=\"document-count\""); 793 794 WriteLiteral(">0 dokumenter</span><br>på din download-liste</div>\r\n <div"); 795 796 WriteLiteral(" class=\"show-list\""); 797 798 WriteLiteral("><a"); 799 800 WriteLiteral(" href=\"#\""); 801 802 WriteLiteral(">Vis liste</a></div>\r\n <div"); 803 804 WriteLiteral(" class=\"list\""); 805 806 WriteLiteral("></div>\r\n <div"); 807 808 WriteLiteral(" class=\"download-button\""); 809 810 WriteLiteral("><form"); 811 812 WriteLiteral(" id=\"downloadform\""); 813 814 WriteLiteral(" action=\"/Default.aspx?ID=16052\""); 815 816 WriteLiteral(" method=\"post\""); 817 818 WriteLiteral(" target=\"downloadframe\""); 819 820 WriteLiteral("><input"); 821 822 WriteLiteral(" name=\"ID\""); 823 824 WriteLiteral(" value=\"16052\""); 825 826 WriteLiteral(" type=\"hidden\""); 827 828 WriteLiteral("><input"); 829 830 WriteLiteral(" id=\"downloadfiles\""); 831 832 WriteLiteral(" name=\"downloadfiles\""); 833 834 WriteLiteral(" type=\"hidden\""); 835 836 WriteLiteral("><a"); 837 838 WriteLiteral(" href=\"#\""); 839 840 WriteLiteral(" class=\"main-button\""); 841 842 WriteLiteral(">Hent dokumenter</a></form></div>\r\n <div"); 843 844 WriteLiteral(" style=\"display:none\""); 845 846 WriteLiteral("><iframe"); 847 848 WriteLiteral(" id=\"downloadframe\""); 849 850 WriteLiteral(" name=\"downloadframe\""); 851 852 WriteLiteral(" src=\"\""); 853 854 WriteLiteral("></iframe></div>\r\n </div>\r\n\t\t<!-- Tooltip -->\r\n\t\t<!--$$Global:Paragraph.Co" + 855 "ntent(35143)-->\r\n <script"); 856 857 WriteLiteral(" src=\"/Files/Templates/Designs/barhandel2017/js/vendor/fastclick.js\""); 858 859 WriteLiteral("></script>\r\n\r\n <script"); 860 861 WriteLiteral(" src=\"/Files/Templates/Designs/barhandel2017/js/vendor/jquery.velocity.min.js\""); 862 863 WriteLiteral("></script>\r\n <script"); 864 865 WriteLiteral(" src=\"/Files/Templates/Designs/barhandel2017/js/vendor/velocity.ui.js\""); 866 867 WriteLiteral("></script>\r\n\r\n <script"); 868 869 WriteLiteral(" src=\"/Files/Templates/Designs/barhandel2017/js/awesome-menu.js\""); 870 871 WriteLiteral("></script>\r\n <script"); 872 873 WriteLiteral(" src=\"/Files/Templates/Designs/barhandel2017/js/main.js?v=20210121b\""); 874 875 WriteLiteral("></script>\r\n\t\t<script"); 876 877 WriteLiteral(" src=\"/Files/Templates/Designs/barhandel2017/js/jquery.google-analytics.reading-t" + 878 "racker.js\""); 879 880 WriteLiteral("></script>\r\n\r\n <!-- Google Analytics: change UA-XXXXX-X to be your site\'s " + 881 "ID. -->\r\n "); 882 883 WriteLiteral("\r\n </body>\r\n</html>"); 884 885 } 886 } 887 } 888

1 @using System.IO; 2 @inherits Dynamicweb.Rendering.RazorTemplateBase<Dynamicweb.Rendering.RazorTemplateModel<Dynamicweb.Rendering.Template>> 3 @{ 4 string openBlank = ((GetBoolean("Item.OpenInNewWindow"))) ? "_blank" : ""; 5 bool myList = ((GetBoolean("Item.ActivateAddToList"))) ? GetBoolean("Item.ActivateAddToList") : false; 6 string tooltipClass = (myList) ? "has-tooltip" : "no-tooltip"; 7 string link = GetString("Item.Link"); 8 9 string pageName = (!string.IsNullOrWhiteSpace(GetString("Item.Titel"))) ? GetString("Item.Titel") : GetString("Item.PageName"); 10 11 char[] invalidFileNameChars = Path.GetInvalidFileNameChars(); 12 bool isFaktaark = (GetString("Item.Dokumenttype") == "faktaark") ? true:false; 13 bool LinkTilSide = GetBoolean("Item.LinkTilSide"); 14 string dokumentlink = GetString("Item.Link"); 15 bool AutogenererPDF = (GetBoolean("Item.Autogenerer_PDF") == true) ? true : false; 16 17 } 18 <!DOCTYPE html> 19 <!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]--> 20 <!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]--> 21 <!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]--> 22 <!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]--> 23 <head> 24 <meta charset="utf-8"> 25 <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> 26 <title>@GetValue("Title")</title> 27 @GetValue("MetaTags") 28 @GetValue("CopyRightNotice") 29 30 31 <meta name="apple-mobile-web-app-capable" content="yes"> 32 <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no"> 33 <link href='http://fonts.googleapis.com/css?family=Play' rel='stylesheet' type='text/css'> 34 <link href='http://fonts.googleapis.com/css?family=Play:700' rel='stylesheet' type='text/css'> 35 <link href='http://fonts.googleapis.com/css?family=Economica:700' rel='stylesheet' type='text/css'> 36 <link rel="stylesheet" href="/Files/Templates/Designs/barhandel2017/css/normalize.min.css"> 37 <link rel="stylesheet" href="/Files/Templates/Designs/barhandel2017/css/main.css?v=20210121b"> 38 <link rel="stylesheet" href="/Files/Templates/Designs/barhandel2017/css/bfa2017.css?v=20170424"> 39 40 <script src="/Files/Templates/Designs/barhandel2017/js/vendor/modernizr-2.6.2-respond-1.1.0.min.js"></script> 41 42 <!-- Google Tag Manager --> 43 <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': 44 new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], 45 j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= 46 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f); 47 })(window,document,'script','dataLayer','GTM-T9RDCGS');</script> 48 <!-- End Google Tag Manager --> 49 50 <script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script> 51 <script>window.jQuery || document.write('<script src="js/vendor/jquery-1.11.0.min.js"><\/script>')</script> 52 <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery-cookie/1.4.1/jquery.cookie.js"></script> 53 54 <!-- Oxford Research script 55 <script type="text/javascript"> 56 var wid = "BH"; 57 </script> 58 <script src="http://roiagency.dk/resources/oxford/ox.js"></script> 59 /Oxford Research script --> 60 @GetValue("Stylesheets") 61 @GetValue("Javascripts") 62 </head> 63 64 <body class="document-page"> 65 <!-- Google Tag Manager (noscript) --> 66 <noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-T9RDCGS" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> 67 <!-- End Google Tag Manager (noscript) --> 68 69 <header> 70 <div class="wrapper"> 71 <a id="logo" href="/Default.aspx?ID=15443"></a> 72 <div class="search"> 73 <form method="get" action="/Default.aspx"> 74 <input type="hidden" name="ID" value="10266"> 75 <div class="searchfield"><input class="" type="text" name="q" autocomplete="off" data-placeholder="Skriv søgeord"></div> 76 <div class="search-toggle"></div> 77 </form> 78 </div> 79 <button id="top-nav-button"> 80 <div></div> 81 <div></div> 82 <div></div> 83 </button> 84 </div> 85 </header> 86 <nav id="top-nav" class="awesome-menu"> 87 @GetValue("DwNavigation(topnavigation)") 88 </nav> 89 <div id="content" class=""> 90 <div id="ajaxer" class="clearfix"> 91 <section class="article"> 92 <!--@If Defined(DwTopGraphic)--> 93 <div id="topgrafik"><img src="<!--@DwTopGraphicClean-->"></div> 94 <!--@EndIf(DwTopGraphic)--> 95 <!--<nav id="legend"> 96 <ul id="legendnavigation" class="dwnavigation" settings="startlevel:1;endlevel:9;expandmode:pathonly;template:navigation.xslt;"> 97 <li></li> 98 </ul> 99 </nav>--> 100 <div class="document-page-type">@GetString("Item.Dokumenttype")</div> 101 <h1 class="article-title">@GetString("Item.PageName")</h1> 102 <div class="document-list-buttons @tooltipClass"> 103 @if (isFaktaark || AutogenererPDF) 104 { 105 var validFilename = pageName; 106 foreach (char c in invalidFileNameChars) 107 { 108 validFilename = validFilename.Replace(c, '-'); 109 } 110 validFilename = validFilename + "_" + @GetString("Item.ID"); 111 string pdflink = "/Files/Filer/BARhandel/pdf_auto/" + validFilename + ".pdf"; 112 link = pdflink; 113 } 114 115 116 @if (!string.IsNullOrWhiteSpace(link) && AutogenererPDF == false) 117 { 118 <a href='@link' class="main-button" target="@openBlank">@GetString("Item.LinkTekst")</a> 119 } 120 else if (!string.IsNullOrWhiteSpace(link) && AutogenererPDF == true) 121 { 122 <a href='@link' class="main-button" target="@openBlank">Hent PDF</a> 123 } 124 125 @if (myList && !string.IsNullOrWhiteSpace(link)) 126 { 127 <button class="add-to-my-list" data-url="@link" data-name="@pageName" data-type="@GetString(" item.dokumenttype")"="">Tilføj "min liste"</button> 128 <span class="tooltip"></span> 129 } 130 131 </div> 132 <div class="divider"></div> 133 <article id="contentholder">@GetValue("DwContent(contentholder)")</article> 134 </section> 135 </div> 136 </div> 137 138 <footer> 139 <div class="inner"> 140 <div class="contact"><span class="email"><a href="mailto:info@bfahandelfinanskontor.dk">info@bfahandelfinanskontor.dk</a> </span></div> 141 <!--div class="contact"><span class="email"><!-@Global:Paragraph.Content(20910)-></span></div> 142 <div class="contact"><span class="phone"><!-@Global:Paragraph.Content(20911)-></span></div--> 143 <div class="share" title="Send denne side via mail til en ven.">Tip en ven</div> 144 <div class="nyhedsbrev" title="Tilmeld nyhedsbrev"><a href="https://bfahandel.us2.list-manage.com/subscribe?u=392b0cbb6bf34b47495058df3&id=f7e2b0d982" target="_blank">Tilmeld nyhedsbrev</a></div> 145 </div> 146 <div class="inner footer-text"> 147 <p><b>Branchefællesskabet for arbejdsmiljø (BFA) Handel</b> er et samarbejde mellem 148 arbejdsgivere og arbejdstagere om at sikre et godt fysisk og psykisk arbejdsmiljø i 149 detailbranchen.</p><p> 150 BFA handel udvikler vejledninger, værktøjer og inspirationsmateriale til brug for 151 ledere, ansatte og medlemmer af arbejdsmiljøorganisationen i butikkerne. BFA 152 Handel er en del af BFA Handel, Finans og Kontor: <a href="https://www.bfahandelfinanskontor.dk" target="_blank">www.bfahandelfinanskontor.dk</a> 153  </p><p> 154 <b>BFA Handel, Fællessekretariatet </b> Børsen, 1217 København K, Tlf. 33 74 63 39. Mail: <a href="mailto:info@bfahandel.dk">info@bfahandel.dk</a>, www.bfahandel.dk 155 </p> 156 </div> 157 </footer> 158 <div id="search-container"> 159 <div class="status">Søger, vent venligst...</div> 160 <div class="results"></div> 161 <div class="no-results">Ingen resultater...</div> 162 </div> 163 <div id="nyhedsbrev-popup"> 164 <div class="close"></div> 165 <!--@Global:Paragraph.Content(38858)--> 166 </div> 167 <div id="share-popup"> 168 <div class="close"></div> 169 <form action="/Admin/Public/FormMailer.aspx" method="post"> 170 <input type="hidden" name="FM_Charset" value="iso-8859-1"> 171 <input type="hidden" name="FM_html" value="true"> 172 <input type="hidden" name="FM_Subject" value="BAR Handel tip!"> 173 <input type="hidden" name="FM_Template" value="barhandel2014_tip.html"> 174 <input type="hidden" name="FM_page_url" value="<!--@Global:Request.AbsoluteUri-->"> 175 <input type="hidden" name="FM_page_name" value="<!--@Title-->"> 176 177 <!--Redirect after successful submit--> 178 <!-- input type="hidden" name="FM_Redirect" value="http://www.dynamicweb.dk" --> 179 180 <table><tr><td> 181 <div class="description">Send denne side til en ven eller kollega.</div> 182 <div><input type="text" name="FM_FromName" data-placeholder="Dit navn"></div> 183 <div><input type="text" name="FM_FromEmail" data-placeholder="Din email"></div> 184 <div><input type="text" name="FM_ToName" data-placeholder="Modtagers navn"></div> 185 <div><input type="text" name="FM_ToEmail" data-placeholder="Modtagers email"></div> 186 <div><input type="submit" value="Send link"></div> 187 </td></tr></table> 188 189 </form> 190 </div> 191 <div id="download-liste"> 192 <div class="close-btn"><a href="#"><img src="/Files/Templates/Designs/barhandel2017/images/close-x.png"></a></div> 193 <div class="text">Du har <span class="document-count">0 dokumenter</span><br>på din download-liste</div> 194 <div class="show-list"><a href="#">Vis liste</a></div> 195 <div class="list"></div> 196 <div class="download-button"><form id="downloadform" action="/Default.aspx?ID=16052" method="post" target="downloadframe"><input name="ID" value="16052" type="hidden"><input id="downloadfiles" name="downloadfiles" type="hidden"><a href="#" class="main-button">Hent dokumenter</a></form></div> 197 <div style="display:none"><iframe id="downloadframe" name="downloadframe" src=""></iframe></div> 198 </div> 199 <!-- Tooltip --> 200 <!--@Global:Paragraph.Content(35143)--> 201 <script src="/Files/Templates/Designs/barhandel2017/js/vendor/fastclick.js"></script> 202 203 <script src="/Files/Templates/Designs/barhandel2017/js/vendor/jquery.velocity.min.js"></script> 204 <script src="/Files/Templates/Designs/barhandel2017/js/vendor/velocity.ui.js"></script> 205 206 <script src="/Files/Templates/Designs/barhandel2017/js/awesome-menu.js"></script> 207 <script src="/Files/Templates/Designs/barhandel2017/js/main.js?v=20210121b"></script> 208 <script src="/Files/Templates/Designs/barhandel2017/js/jquery.google-analytics.reading-tracker.js"></script> 209 210 <!-- Google Analytics: change UA-XXXXX-X to be your site's ID. --> 211 @* <script> 212 (function(b,o,i,l,e,r){b.GoogleAnalyticsObject=l;b[l]||(b[l]= 213 function(){(b[l].q=b[l].q||[]).push(arguments)});b[l].l=+new Date; 214 e=o.createElement(i);r=o.getElementsByTagName(i)[0]; 215 e.src='//www.google-analytics.com/analytics.js'; 216 r.parentNode.insertBefore(e,r)}(window,document,'script','ga')); 217 ga('create','UA-7643125-5');ga('send','pageview'); 218 </script> *@ 219 </body> 220 </html>