Error executing template "Designs/standard_responsiv/_parsed/Gallery.parsed.cshtml"
System.IO.DirectoryNotFoundException: Could not find a part of the path 'E:\dynamicweb.net\Solutions\Soegaard\mx5club.dw9.dynamicweb-cms.com\Files\Billeder\Galleri\2020\Medlemsbilleder'.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.FileSystemEnumerableIterator`1.CommonInit()
   at System.IO.FileSystemEnumerableIterator`1..ctor(String path, String originalUserPath, String searchPattern, SearchOption searchOption, SearchResultHandler`1 resultHandler, Boolean checkHost)
   at System.IO.Directory.EnumerateFiles(String path, String searchPattern, SearchOption searchOption)
   at CompiledRazorTemplates.Dynamic.RazorEngine_39f7f39142194bce9cf1211975831794.Execute() in E:\dynamicweb.net\Solutions\Soegaard\mx5club.dw9.dynamicweb-cms.com\Files\Templates\Designs\standard_responsiv\_parsed\Gallery.parsed.cshtml:line 1074
   at RazorEngine.Templating.TemplateBase.RazorEngine.Templating.ITemplate.Run(ExecuteContext context, TextWriter reader)
   at RazorEngine.Templating.RazorEngineService.RunCompile(ITemplateKey key, TextWriter writer, Type modelType, Object model, DynamicViewBag viewBag)
   at RazorEngine.Templating.RazorEngineServiceExtensions.<>c__DisplayClass16_0.b__0(TextWriter writer)
   at RazorEngine.Templating.RazorEngineServiceExtensions.WithWriter(Action`1 withWriter)
   at Dynamicweb.Rendering.Template.RenderRazorTemplate()

1 @inherits Dynamicweb.Rendering.RazorTemplateBase<Dynamicweb.Rendering.RazorTemplateModel<Dynamicweb.Rendering.Template>> 2 <html lang="da"> 3 <head> 4 <script type="text/javascript"> 5 //Redirect to home if not logged in 6 //if (document.cookie.indexOf("Dynamicweb=Visitor") < 0) { window.location.replace("http://mx5club.dk"); } 7 </script> 8 <meta charset="UTF-8"> 9 <title></title> 10 <base href="https://mx5club.dk/"> 11 <meta name="generator" content="Dynamicweb 9"> 12 13 14 15 <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no, shrink-to-fit=no"> 16 17 <!--favicons--> 18 19 <link rel="shortcut icon" href='/Files/Templates/Designs/standard_responsiv/images/ikoner/favicon.ico' type="image/x-icon"> 20 21 22 23 <link href="/Files/Templates/Designs/standard_responsiv/images/ikoner/apple-touch-icon-180x180.png" rel="apple-touch-icon" sizes="180x180"> 24 25 26 27 <link href="//mx5club.dk/files/Templates/Designs/standard_responsiv/images/ikoner/icon-hires.png" rel="icon" sizes="192x192"> 28 29 <!--Bootstrap--> 30 <link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous"> 31 32 <style> 33 .hctrl_483 { 34 height: 200px; 35 overflow: hidden; 36 } 37 38 @@media (min-width:993px) { 39 .revolu_slider { 40 margin: 0px -15px; 41 } 42 } 43 44 .tp-caption { 45 top: 20px !important; 46 position: relative !important; 47 left: 8px !important; 48 } 49 50 @@media (max-width:992px) { 51 .tp-caption { 52 left: 16px !important; 53 } 54 } 55 56 @@media (max-width:768px) { 57 .tp-caption { 58 left: 0px !important; 59 } 60 } 61 /* skal altid være der */ 62 .revolu_slider { 63 margin-bottom: 30px; 64 } 65 66 .tp-caption h1 { 67 font-size: 22px; 68 } 69 70 .tp-caption-container { 71 position: relative !important; 72 top: 0px; 73 height: 100%; 74 -webkit-transform: translateY(-100%) !important; 75 -ms-transform: translateY(-100%) !important; 76 transform: translateY(-100%) !important; 77 } 78 79 80 81 /* SLIDESHOW */ 82 .revolu_slider_483 .tp-caption { 83 left: 0px !important; 84 width: 100% !important; 85 height: auto !important; 86 max-width: 100% !important; 87 margin-left: auto !important; 88 background: transparent !important; 89 text-align: center !important; 90 position: absolute !important; 91 cursor: default !important; 92 position: absolute !important; 93 top: 50% !important; 94 -webkit-transform: translateY(-50%) !important; 95 -ms-transform: translateY(-50%) !important; 96 transform: translateY(-50%) !important; 97 } 98 /* 99 @@media (max-width: 1060px) { 100 .revolu_slider_483 .tp-caption{ 101 top:30px !important; 102 } 103 } 104 */ 105 .revolu_slider_483 .tp-caption h1 { 106 margin: auto !important; 107 vertical-align: middle !important; 108 max-width: 600px; 109 color: #fff; 110 font-size: 36px; 111 font-weight: 400; 112 } 113 114 .revolu_slider_483 .tp-caption h4 { 115 line-height: 28px; 116 color: #fff !important; 117 margin: 10px auto 10px auto !important; 118 max-width: 600px !important; 119 font-size: 18px; 120 } 121 122 @@media (max-width: 768px) { 123 .revolu_slider_483 .tp-caption h1 { 124 font-size: 24px !important !important; 125 } 126 127 .revolu_slider_483 .tp-caption h4 { 128 font-size: 18px; 129 line-height: 22px; 130 } 131 132 .revolu_slider_483 .tp-caption { 133 top: 4 !important; 134 } 135 } 136 137 138 .revolu_slider_483 .tp-caption h1, .revolu_slider_483 .tp-caption h4 { 139 color: #FFFFFF !important; 140 } 141 </style> 142 143 <link href="/Files/Templates/Designs/standard_responsiv/assets/revolutionslider/css/style.css" rel="stylesheet" type="text/css" /> 144 <link href="/Files/Templates/Designs/standard_responsiv/assets/revolutionslider/css/settings.css" rel="stylesheet" type="text/css" /> 145 146 147 148 <link href="/Files/Templates/Designs/standard_responsiv/includes/nav/meanmenu/styles.css" rel="stylesheet" type="text/css"> 149 <link href="/Files/Templates/Designs/standard_responsiv/includes/nav/meanmenu/meanmenu.css" rel="stylesheet" type="text/css"> 150 151 <style> 152 .mean-nav > ul > li:first-child { 153 margin-top: 78px; 154 } 155 </style> 156 157 <link href='/Files/Templates/Designs/customfonts/Material_fonts.css' rel="stylesheet"> 158 159 <link href='/Files/Templates/Designs/standard_responsiv/stylesheets/custom.css' rel="stylesheet"> 160 <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js"></script> 161 <script src="/Files/Templates/Designs/standard_responsiv/javascript/functions.js"></script> 162 <style type="text/css"> 163 /* BODY */ 164 body { 165 height: 100%; 166 } 167 168 body:after { 169 content: ''; 170 z-index: -2; 171 width: 120%; 172 height: 120%; 173 position: fixed; 174 top: -25px; 175 left: -25px; 176 background: url(/Files/Templates/Designs/standard_responsiv/../../../../../../); 177 background-size: cover; 178 background-repeat: no-repeat; 179 /* 180 -webkit-filter: sepia(1); 181 -moz-filter: grayscale(100%); 182 -o-filter: grayscale(100%); 183 -ms-filter: grayscale(100%); 184 filter: sepia(1); 185 */ 186 } 187 188 body:before { 189 content: ''; 190 z-index: -1; 191 width: 100%; 192 height: 100%; 193 position: fixed; 194 top: 0px; 195 left: 0px; 196 opacity: 1; 197 background-color: #F5F5F5; 198 } 199 200 /* TOP */ 201 202 203 #top { 204 background-color: #FFFFFF; 205 } 206 207 208 /* CONTENT Background */ 209 /* 210 .widthdecider:before { 211 content: ''; width: 100%; height: 100%; position: relative; top:0px; left:0px; 212 213 opacity: 0.9; 214 background-color: #ffffff; 215 }*/ 216 .widthdecider { 217 background-color: rgba(255,255,255,1); 218 } 219 220 .secondarycontainer { 221 background-color: #EEEEEE; 222 } 223 224 /* LINKS */ 225 a, a:visited, .pagination > li > a { 226 color: #000000; 227 } 228 229 .btn-dw-primary, input[type="button"], input[type="reset"], input[type="submit"] { 230 background-color: #000000; 231 color: #fff; 232 } 233 234 a.Button01, .Button01 { 235 border: none; 236 background: #000000; 237 color: #fff !important; 238 border: none !important; 239 } 240 241 .pagination > li.active > a { 242 background-color: #000000; 243 color: #fff !important; 244 } 245 246 .btn-dw-cart { 247 background-color: #B0C787; 248 } 249 250 /* FOOTER */ 251 #footer p, #footer h1, #footer h2, #footer h3, #footer h4, #footer h5 { 252 color: #595959; 253 } 254 255 #footer a, #footer a:visited { 256 color: #000000; 257 } 258 259 260 /* COOKIE WARNING */ 261 262 263 #CookieWarning, .CokieWarning_Info a.cookie-link, .CokieWarning_Info, .CookieWarning_Header { 264 color: #FFFFFF !important; 265 } 266 267 268 269 270 #CookieWarning:before { 271 background-color: #000000 !important; 272 } 273 274 275 /* SUBMENUER I VENSTRE KOLONNE */ 276 #LeftNav ul.M0 > li > a[class$="_Active"], #LeftNav ul.M0 > li > a:hover[class$="_Active"], #LeftNav ul.M0 > li:not(.nonclick) > a:hover { 277 color: #fff; 278 background-color: #000000; 279 } 280 281 #LeftNav ul > li:not(.nonclick) > a:hover, 282 #LeftNav a[class$="_Active"] { 283 color: #000000; 284 } 285 286 /* SUBMENU I TOPPEN */ 287 #cssmenu3 a.L2_Active { 288 color: #000000; 289 } 290 291 .modal-header { 292 color: #fff !important; 293 background-color: #000000; 294 } 295 296 #sitemap2_5 a:hover { 297 color: #000000 !important; 298 } 299 300 301 302 303 304 305 .ribbon.base { 306 border-right-color: #FFC421; 307 background-color: #FFC421; 308 } 309 310 .ribbon.base:before { 311 border-top-color: #FFC421 !important; 312 } 313 314 .ribbon.base:after { 315 border-bottom-color: #FFC421 !important; 316 } 317 </style> 318 319 <script type="text/javascript"> 320 $(document).ready(function () { 321 var lighterShade = ColorLuminance("#000000", 0.15); 322 $('.btn-dw-primary, input[type="button"]:not(.CookieWarning_AcceptAll), input[type="reset"], input[type="submit"]').hover(function () { $(this).css("background-color", lighterShade); }, function () { $(this).css("background-color", "#000000"); }); 323 324 $('.Button01, .pagination>li.active>a').hover(function () { $(this).css("background", lighterShade); }, function () { $(this).css("background", "#000000"); }); 325 326 lighterShade = ColorLuminance("#000000", 0.15); 327 $('a:not(.btn-dw-primary, .pill-left, .Button01, .Button a, input[type="button"], input[type="reset"], input[type="submit"], #footer a, #cssmenu > ul > li > a, #cssmenu2 > ul > li > a, #cssmenu3 > ul > li > a, .secondary-navigation > ul > li a, .top-header .top-header-menu>ul.top-menu>li>a, .wp-block.product .product-title a, #LeftNav a, #poweredby > a, #minipagecart, #orderlistcontent a, #sitemap2_5 a)').hover(function () { $(this).css("color", lighterShade); }, function () { $(this).css("color", "#000000"); }); 328 329 footerHighlight = ColorLuminance("#000000", -0.15); 330 $('#footer a').hover(function () { $(this).css("color", footerHighlight); }, function () { $(this).css("color", "#000000"); }); 331 332 ecomHighlight = ColorLuminance("#B0C787", 0.15); 333 $('.btn-dw-cart').hover(function () { $(this).css("background-color", ecomHighlight); }, function () { $(this).css("background-color", "#B0C787"); }); 334 335 336 337 }); 338 </script> 339 340 341 <script type="text/javascript"> 342 $(document).ready(function () { 343 var buttonShade = ColorLuminance("#5E7EAD", 0.15); 344 $('input[type="button"].CookieWarning_AcceptAll').hover(function () { $(this).css("background-color", buttonShade); }, function () { $(this).css("background-color", "#5E7EAD"); }); 345 }); 346 </script> 347 <style type="text/css"> 348 input[type="button"].CookieWarning_AcceptAll { 349 background-color: #5E7EAD; 350 } 351 </style> 352 353 354 <script type="text/javascript"> 355 $(document).ready(function () { 356 //Dropdown menu 357 var dropdownClr = ColorLuminance("#F5F5F5", 0.30); 358 $("#cssmenu .M1").css("background-color", dropdownClr); 359 var dropdownClr2 = ColorLuminance("#F5F5F5", 0.40); 360 $("#cssmenu .M2").css("background-color", dropdownClr2); 361 var dropdown_hover = ColorLuminance("#F5F5F5", 0.45); 362 $('#cssmenu .M1 a').hover(function () { $(this).css("background-color", dropdown_hover); }, function () { $(this).css("background-color", dropdownClr); }); 363 var dropdown_hover2 = ColorLuminance("#F5F5F5", 0.55); 364 $('#cssmenu .M2 a').hover(function () { $(this).css("background-color", dropdown_hover2); }, function () { $(this).css("background-color", dropdownClr2); }); 365 }); 366 </script> 367 <!-- snippets to load javascript /flexnav, jquery, bootstrap, owl carousel and custom js --> 368 <!-- logo fix on IE to fix width on logo--> 369 <!--[if IE]> 370 <style> 371 @@media(max-width: 992px){ 372 .logoiehack { 373 max-width: 300px; 374 } 375 } 376 </style> 377 <![endif]--> 378 379 380 381 382 383 <script src='https://www.google.com/recaptcha/api.js'></script> 384 385 <!-- ******* CSS ******* --> 386 387 388 <link href='/Files/Templates/Designs/standard_responsiv/stylesheets/fullwidth.css' rel='stylesheet'> 389 390 391 <link href='/Files/Templates/Designs/standard_responsiv/stylesheets/bootstrap_clearfix.css' rel="stylesheet"> 392 <link href='/Files/Templates/Designs/customcss/MX5.css?v=22:15:13' rel="stylesheet"> 393 394 <!--Prinvenlig funktion--> 395 <style type="text/css" media="screen"> 396 <!-- 397 398 #FooterPrint { 399 display: none; 400 } 401 --> 402 </style> 403 <link rel="stylesheet" type="text/css" href="/Files/Templates/Designs/standard_responsiv/stylesheets/Print.css" media="print"> 404 <!--/Printvenlig funktion--> 405 <!-- font awesome --> 406 <link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet"> 407 408 409 410 <!--owl carousel--> 411 <!-- TODO: owl needs to be put in own include folder --> 412 <link href="/Files/Templates/Designs/standard_responsiv/assets/owl-carousel/owl-carousel.css" rel="stylesheet" type="text/css"> 413 <link href="/Files/Templates/Designs/standard_responsiv/assets/owl-carousel/owl-theme.css" rel="stylesheet" type="text/css"> 414 <link href="/Files/Templates/Designs/standard_responsiv/assets/owl-carousel/owl-custom.css" rel="stylesheet" type="text/css"> 415 416 417 418 419 420 421 422 <style type="text/css"> 423 #socialicons ul { 424 list-style: none; 425 padding: 0px; 426 margin: 0px; 427 } 428 429 #socialicons { 430 display: none; 431 } 432 433 #socialicons li { 434 display: inline-block; 435 margin-right: 5px; 436 } 437 438 #socialicons a { 439 font-size: 21px; 440 color: #9e9e9e; 441 } 442 </style> 443 444 <script type="text/javascript"> 445 (function (w, d, n) { 446 w[n] = w[n] || function (name, value) { w[n][name] = value; }; 447 var dwa = d.createElement('script'); dwa.type = 'text/javascript'; dwa.async = 1; 448 dwa.src = '/Admin/Content/JsLib/dw/dwansta.min.js'; 449 var s = d.getElementsByTagName('script')[0]; s.parentNode.insertBefore(dwa, s); 450 })(window, document, 'analytics'); 451 452 analytics('sessionID', 'm0gtgrqdl3qh3xrdfsnugaqk'); 453 analytics('pageID', 1455); 454 analytics('areaID', 1); 455 analytics('engagement', 7); 456 </script> 457 458 </head> 459 460 <body> 461 <img src="/Files/Templates/Designs/standard_responsiv/images/mx5_logo.png" class="img-responsive onlyprint"> 462 <div class="widthdecider container-background " style="margin-top:-10px; padding-top:10px;" id="navdiv"> 463 <div id="top" style="margin-bottom:30px;"> 464 <div class="secondarycontainer print logo_menu" style="padding:0px;"> 465 <div class="container"> 466 <div class="secondary-navigation"> 467 468 469 470 <div class="ecom_mobile print"> 471 <ul class="top-menu print"> 472 473 474 475 <li><a href="/login" title="login"><i class="fa fa-sign-in"></i>&nbsp;Log ind</a></li> 476 477 </li> 478 479 480 </ul> 481 </div> 482 483 <style type="text/css"> 484 @@media(max-width:991px) { 485 .ecom_mobile { 486 display: block !important; 487 top: 50px; 488 } 489 } 490 491 .top-menu li { 492 display: inline-block; 493 margin-right: 15px; 494 } 495 496 .ecom_mobile .top-menu li > a { 497 color: #ffffff !important; 498 } 499 500 .top-menu li:last-of-type { 501 margin-right: 0px; 502 } 503 </style> 504 505 506 507 <style type="text/css"> 508 .ul-searchform { 509 margin: 0px 0px 0px 8px !important; 510 } 511 512 .searchform-secondary-menu { 513 padding: 0px !important; 514 } 515 516 #top-search { 517 padding: 2px 5px; 518 } 519 520 .searchform-secondary-menu > button { 521 padding: 0px; 522 } 523 </style> 524 525 <ul class="ul-searchform xs-hidden sm-hidden"> 526 <li class="searchform-secondary-menu"> 527 <form action="/Default.aspx?ID=71" method="get" name="SearchForm1"> 528 <input type="hidden" name="ID" value="71"> 529 <input id="top-search" type="text" name="q" value="" placeholder="Søg"> 530 531 532 <button type="submit" style="border:none; background:transparent;"><i class="fa fa-search"></i></button> 533 534 535 </form> 536 </li> 537 </ul> 538 539 540 <ul role="dropdown" style="margin-top:12px"> 541 542 <!-- **** SEKUNDÆR MENU **** --> 543 544 545 546 547 @if (Pageview.User == null) { 548 <li><a href="#" data-toggle="modal" data-target="#login">Log ind</a></li> 549 <li><a href="/opret-profil">Bliv medlem</a></li> 550 } else { 551 <li> 552 <a href="/Default.aspx?ID=821"> 553 <nobr> 554 <i class="fa fa-user"></i>&nbsp;<strong>@Pageview.User.Name</strong> 555 </nobr> 556 </a> 557 </li> 558 <li> 559 <a href='/Admin/Public/ExtranetLogoff.aspx?ID=@Pageview.ID'>@Translate("Logout", "Log ud")</a> 560 </li> 561 } 562 563 564 565 566 567 <!-- **** SPROGVALG **** --> 568 569 570 571 </ul> 572 573 574 575 </div> 576 </div> 577 </div> 578 579 580 581 582 <div class="modal fade" id="login" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true"> 583 <div class="modal-dialog modal-sm"> 584 <div class="modal-content"> 585 <div class="modal-header"> 586 <h4 class="modal-title" id="myModalLabel">Log ind</h4> 587 </div> 588 <form role="form" id="loginform" method="post"> 589 <div class="modal-body"> 590 591 <input type="hidden" name="ID" value="1111"> 592 <input type="checkbox" name="DWExtranetUsernameRemember" value="True" hidden=""> 593 <input type="checkbox" name="DWExtranetPasswordRemember" value="True" hidden=""> 594 <div class="form-group"> 595 <label for="username">Brugernavn</label> 596 <input type="text" class="form-control" name="username" id="username" placeholder='Indtast brugernavn' value="" style="width:100%"> 597 </div> 598 <div class="form-group"> 599 600 <label for="password">Kodeord</label> 601 <input type="password" class="form-control" name="password" id="password" placeholder='Indtast kodeord'> 602 <p>&nbsp;</p> 603 <a class="pull-left" href="/login?LoginAction=Recovery">Glemt dit kodeord?</a> 604 &nbsp; 605 </div> 606 </div> 607 <div class="modal-footer"> 608 <div class="row"> 609 <div class="col-md-12"> 610 <div class="checkbox pull-left" style="padding-top:15px;"> 611 <label> 612 <input type="checkbox" name="Autologin" value="False"> Husk mig 613 </label> 614 </div> 615 <button type="submit" class="Button01 pull-right">Log ind</button> 616 </div> 617 </div> 618 </div> 619 620 621 622 </form> 623 </div> 624 </div> 625 </div> 626 <script type="text/javascript"> 627 $(document).ready(function () { 628 var ruser = $("#login.modal input[name='DWExtranetUsernameRemember']"); 629 var rpass = $("#login.modal input[name='DWExtranetPasswordRemember']"); 630 $("#login.modal input[name='Autologin']").on('change', function () { 631 var boo = ruser.val(); 632 console.log("boo: " + boo); 633 console.log(ruser.length); 634 if (boo == "True") { 635 ruser.val("False").prop("checked", false); rpass.val("False").prop("checked", false); 636 } else { 637 ruser.val("True").prop("checked", true); rpass.val("True").prop("checked", true); 638 } 639 }); 640 }); 641 </script> 642 643 644 645 <div class="logo_menu logo_container"> 646 <div class="topcontainer" style="background-color:#FFFFFF;"> 647 <div class="navbar container" role="navigation" style="margin-bottom:0px;"> 648 <div class="navbar-header"> 649 650 <a class="navbar-brand" href="/forside"> 651 <img src="/Files/Templates/Designs/standard_responsiv/images/mx5_logo.png" class="img-responsive logoiehack" style="z-index:10" alt=""> 652 </a> 653 654 </div> 655 <div class="clearfix"></div> 656 </div> 657 </div> 658 </div> 659 <div id="logo_spacer"></div> 660 661 <!-- SLIDESHOW --> 662 <div id="topslideshow"> 663 @RenderParagraphContent(483) 664 </div> 665 666 <!-- DECIDE ALIGNMENT OF MENU --> 667 <style type="text/css"> 668 #cssmenu { 669 float: center !important; 670 text-align: center; 671 } 672 673 #cssmenu ul li { 674 float: none !important; 675 display: inline-block; 676 } 677 678 .mean-highlight { 679 background-color: #000000; 680 } 681 </style> 682 683 <!-- Navigation includes various menus and skins --> 684 685 <div class="logo_menu menu_container"> 686 <div class="menudiv" style="background-color:#F5F5F5"> 687 <div class="menucontainer container" style="padding:0px 0px;"> 688 <nav id="cssmenu" class="align-center"> 689 <!-- display house on top menu mobile linking to home page --> 690 691 <div class="house-mobile"> 692 <a href="/forside" class=""> 693 <i class="fa fa-home"></i> 694 </a> 695 </div> 696 <div class="globe-mobile"> 697 <ul class="nav nav-tabs" role="dropdown" id="sprogvalg"> 698 <li> 699 <a class="firstitem" href="#"><i class="fa fa-globe"></i></a> 700 <ul class="M3"></ul> 701 </li> 702 </ul> 703 </div> 704 @{ 705 var rootPages = Dynamicweb.Services.Pages.GetRootPagesForArea(Pageview.AreaID).Where(x => x.Active && !x.IsFolder && Dynamicweb.Frontend.LoginHandler.IsCurrentUserAllowed(x)); 706 707 <ul> 708 @foreach(Dynamicweb.Content.Page rootPage in rootPages) { 709 var subPages = Dynamicweb.Services.Pages.GetPagesByParentID(rootPage.ID).Where(x => x.Active && !x.IsFolder && Dynamicweb.Frontend.LoginHandler.IsCurrentUserAllowed(x)); 710 <li> 711 <a href="/Default.aspx?ID=@rootPage.ID">@rootPage.MenuText</a> 712 @if (subPages.Any()) { 713 <ul class="M1 test"> 714 @foreach (var subPage in subPages) { 715 <li> 716 <a href="/Default.aspx?ID=@subPage.ID">@subPage.MenuText</a> 717 </li> 718 } 719 </ul> 720 } 721 </li> 722 } 723 </ul> 724 725 } 726 @*else { 727 <ul> 728 <li> 729 <a href="/forside">Forside</a> 730 </li> 731 <li> 732 <a href="/nyheder">Nyheder</a> 733 </li> 734 <li> 735 <a href="/arrangementer">Arrangementer</a> 736 </li> 737 <li> 738 <a href="/forum">Forum</a> 739 </li> 740 <li> 741 <a href="/klubben">Klubben</a> 742 <ul class="M1"> 743 <li> 744 <a href="/klubben/vedtægter-forretningsorden">Vedtægter & Forretningsorden</a> 745 </li> 746 <li> 747 <a href="/klubben/turreferater">Turreferater</a> 748 </li> 749 <li> 750 <a href="/klubben/mx-5-hvorfor">MX-5 Hvorfor ?</a> 751 </li> 752 <li> 753 <a href="/klubben/kolonnekørsel">Kolonnekørsel</a> 754 </li> 755 <li> 756 <a href="/klubben/referater">Referater</a> 757 </li> 758 <li> 759 <a href="/klubben/betalingsservice">Betalingsservice</a> 760 </li> 761 </ul> 762 </li> 763 <li> 764 <a href="/vejledning-faq">Vejledning/FAQ</a> 765 </li> 766 <li> 767 <a href="/kontakt">Kontakt</a> 768 <ul class="M1"> 769 <li> 770 <a href="/kontakt/cookies-og-persondata-politik">Cookies og persondata politik</a> 771 </li> 772 <li> 773 <a href="/kontakt/links">Links</a> 774 </li> 775 <li> 776 <a href="/kontakt/bestyrelsen">Bestyrelsen</a> 777 </li> 778 </ul> 779 </li> 780 <li> 781 <a href="/læsestof">Læsestof</a> 782 <ul class="M1"> 783 <li> 784 <a href="/læsestof/før-man-køber-mx-5">Før man køber MX-5</a> 785 </li> 786 <li> 787 <a href="/læsestof/klubbladet-roadstar">Klubbladet Roadstar</a> 788 </li> 789 </ul> 790 </li> 791 <li> 792 <a href="/Galleri">Galleri</a> 793 </li> 794 <li> 795 <a href="https://mx5club.dk/forum/g%C3%A6steforum?PID=3886">Gæsteforum</a> 796 </li> 797 </ul> 798 }*@ 799 800 </nav> 801 </div> 802 </div> 803 </div> 804 805 <style type="text/css"> 806 /* Hidden stuff */ 807 #cssmenu .secondary-navigation-hidden, #cssmenu .mean2-header, #cssmenu .menu2-mobil { 808 display: none !important; 809 } 810 /* MENU */ 811 #cssmenu > ul > li > #activeitem, #cssmenu > ul > li > .inpath { 812 color: #000000; 813 } 814 815 #cssmenu > ul > li > a:hover { 816 color: #000000; 817 } 818 </style> 819 820 <script type="text/javascript"> 821 function compressMainMenu(identifier, name) { 822 $(".mean-nav > ul").prepend("<li id='mean_" + name + "'><a>" + name + "</a><ul style='display:none'></ul><a class='mean-expand' id='mean_" + name + "_expand' href='#' style='font-size: 18px'>+</a></li>"); 823 $(identifier).appendTo("#mean_" + name + " > ul"); 824 $('#mean_' + name + '_expand').on("click", function (e) { 825 e.preventDefault(); 826 if ($(this).hasClass("mean-clicked")) { 827 $(this).text("+"); 828 $(this).prev('ul').slideUp(300, function () { }); 829 } else { 830 $(this).text("-"); 831 $(this).prev('ul').slideDown(300, function () { }); 832 } 833 $(this).toggleClass("mean-clicked"); 834 }); 835 } 836 </script> 837 838 839 <!-- DROPDOWN MENU --> 840 <script src="/Files/Templates/Designs/standard_responsiv/includes/nav/meanmenu/doubletaptogo.min.js"></script> 841 <style type="text/css"> 842 #cssmenu .M1 { 843 display: block !important; 844 } 845 846 #cssmenu ul.two-col { 847 -webkit-column-count: 2 !important; 848 -moz-column-count: 2 !important; 849 column-count: 2 !important; 850 columns: 2 !important; 851 } 852 853 #cssmenu ul.three-col { 854 -webkit-column-count: 3 !important; 855 -moz-column-count: 3 !important; 856 column-count: 3 !important; 857 columns: 3 !important; 858 } 859 860 #cssmenu ul.four-col { 861 -webkit-column-count: 4 !important; 862 -moz-column-count: 4 !important; 863 column-count: 4 !important; 864 columns: 4 !important; 865 } 866 /* 867 #cssmenu ul.two-col > li, #cssmenu ul.three-col > li, #cssmenu ul.four-col > li { display: table; } 868 */ 869 /* .mean-nav ul { background-color: #004051 !important; }*/ 870 871 872 #cssmenu ul ul ul { 873 display: none !important; 874 } 875 </style> 876 <script type="text/javascript"> 877 $(document).ready(function () { 878 879 $("#cssmenu ul ul ul").addClass("noshow"); 880 881 882 //Multiple columns on account of the number of items 883 $('#cssmenu > ul > li:has(ul):not(".mean2-header")').each(function () { 884 var elems = $(this).find(".M1").children().length; 885 var subelems = $(this).find(".M2:not(.noshow)").length; 886 //Don't do columns if there are 3rd level elements. No good way to deploy last level in columns. 887 if (subelems < 1) { 888 if (elems > 5) { $(this).find(".M1").addClass("two-col"); } 889 if (elems > 8) { $(this).find(".M1").addClass("three-col"); } 890 if (elems > 11) { $(this).find(".M1").addClass("four-col"); } 891 } 892 893 }) 894 895 //Double tap to go on mobile and tablets 896 897 898 //positioning 899 $('#cssmenu li:has(ul):not(".mean2-header")').hover( 900 function () { 901 checkPos($(this)); 902 }, function () { 903 $(this).find("ul").css({ left: "" }); 904 } 905 ); 906 907 908 }); 909 910 function checkPos(parent) { 911 var ul = parent.find("ul"); 912 913 ul.removeClass("goleft"); 914 ul.removeClass("container"); 915 916 var left = parent.offset().left; 917 var ulwidth = ul.outerWidth(); 918 var totalwidth = parseInt(left) + parseInt(ulwidth) + 15; 919 var goleft_width = parseInt(left) - parseInt(ulwidth) + 15; 920 if (ul.hasClass("M2")) { totalwidth += 180; } 921 var windowwidth = parseInt($(window).width()); 922 923 var goleft = false; 924 var dontgoleft = false; 925 926 if (totalwidth > windowwidth) { goleft = true; } 927 if (goleft_width < 0) { dontgoleft = true; } 928 929 if (goleft && !dontgoleft) { ul.addClass("goleft"); } 930 931 if (goleft && dontgoleft) { 932 ul.addClass("container"); 933 //var left = $("#cssmenu").offset().left; 934 var lpos = Math.floor(parent.position().left) * -1; 935 ul.css({ left: lpos }); 936 } 937 // console.log(parent.find("a:first-of-type").text()); 938 // console.log("left: "+left); 939 // console.log("ul width: "+ulwidth); 940 // console.log("total width: "+totalwidth); 941 // console.log("window: "+windowwidth); 942 } 943 </script> 944 945 946 947 948 949 950 951 952 953 </div> 954 <div class="row" id="maincontent" style="margin:0px"> 955 <!-- CONTENT --> 956 <!--<link rel="stylesheet" href="stylesheets/VenstreMenu2-5.css"/> --> 957 958 <div class='content-extra-padding min-height-page container'> 959 <div class="row"> 960 @using Dynamicweb.Rendering 961 @using Dynamicweb.Frontend 962 @using System.IO 963 @inherits ViewModelTemplate<PageViewModel> 964 965 966 @Title("Underside skabelon") 967 @Description("Layout til undersiderne") 968 @{ 969 string contentwrapperClass = "content-extra-padding min-height-page"; 970 if (Pageview.Area.Item != null && (string)Pageview.Area.Item["Fuld_Bredde"] == "full") { 971 contentwrapperClass += "container"; 972 } 973 974 string folder = "/Files/Billeder/Galleri/"; 975 string filesPath = System.Web.HttpContext.Current.Server.MapPath("" + folder.Replace("/", "\\")); 976 var yearFolders = Directory.EnumerateDirectories("" + filesPath, "2???", SearchOption.TopDirectoryOnly).OrderByDescending(x => x); 977 978 bool isTest = System.Web.HttpContext.Current.Request.QueryString.Get("test") == "test"; 979 980 981 Dictionary<string, IOrderedEnumerable<string>> newFolders = new Dictionary<string, IOrderedEnumerable<string>>(); 982 bool loggedInUser = Pageview.User != null; 983 if (isTest) { 984 loggedInUser = true; 985 } 986 987 if (loggedInUser) { 988 foreach (string s in yearFolders) { 989 newFolders.Add(s, Directory.EnumerateDirectories("" + s, "*", SearchOption.TopDirectoryOnly).OrderBy(x => x)); 990 } 991 } else { 992 foreach (string s in yearFolders) { 993 if (Directory.EnumerateFiles("" + s, "*.jp*", SearchOption.AllDirectories).Any()) { 994 newFolders.Add(s, Directory.EnumerateDirectories("" + s, "*", SearchOption.TopDirectoryOnly).Where(x => Directory.EnumerateFiles("" + x, "*.jp*", SearchOption.AllDirectories).Any()).OrderBy(x => x)); 995 } 996 997 } 998 } 999 1000 1001 //var folders = Directory.EnumerateDirectories("" + filesPath, "*.*", SearchOption.TopDirectoryOnly).OrderByDescending(x => x); 1002 1003 string currentFolder = "" + System.Web.HttpContext.Current.Request.QueryString.Get("galleryfolder"); 1004 string currentYear = "" + System.Web.HttpContext.Current.Request.QueryString.Get("year"); 1005 1006 1007 //if (string.IsNullOrWhiteSpace(currentYear)) { 1008 // currentYear = yearFolders.First().Substring(yearFolders.First().LastIndexOf("\\") + 1); 1009 //} 1010 1011 if (!string.IsNullOrWhiteSpace(currentFolder)) { 1012 currentFolder = filesPath + currentYear + "\\" + System.Web.HttpUtility.UrlDecode(currentFolder); 1013 } 1014 //else { 1015 // currentFolder = newFolders.First().Value.First(); 1016 //} 1017 1018 1019 string currentYearName = currentYear.Substring(currentYear.LastIndexOf("\\") + 1); 1020 string currentFolderName = currentFolder.Replace(filesPath + currentYear + "\\", string.Empty); 1021 string currentFolderWebPath = folder + currentYearName + "/" + currentFolderName + "/"; 1022 1023 } 1024 1025 <div class="@contentwrapperClass"> 1026 <div class="row"> 1027 <div class="col-sm-3 col-md-3 col-lg-3 col-xs-12"> 1028 <div class="sidemenu row" id="LeftNav"> 1029 <div class="col-lg-12 col-xs-12" id="LeftNavContainer"> 1030 <ul> 1031 <li><a href="/Default.aspx?ID=@Model.ID">Galleri forside</a></li> 1032 @foreach (var year in newFolders) { 1033 string yearClass = "menu-opener"; 1034 string yearText = year.Key.Substring(year.Key.LastIndexOf("\\") + 1); 1035 if (yearText == currentYear) { 1036 yearClass += " active"; 1037 } 1038 <li class="@yearClass"> 1039 <a title="fold ud">@yearText</a> 1040 <ul class="menu-wrapper M0"> 1041 @foreach (string s in year.Value) { 1042 string folderName = s.Substring(s.LastIndexOf("\\") + 1); 1043 string folderUrl = "/Default.aspx?ID=" + Pageview.ID + "&amp;galleryfolder=" + System.Web.HttpUtility.UrlEncode(folderName) + "&amp;year=" + yearText; 1044 string liClass = "L2"; 1045 if (folderName == currentFolderName) { 1046 liClass += "_Active"; 1047 } 1048 <li class="@liClass"> 1049 <a class="@liClass" title="@folderName" href="@folderUrl">@folderName</a> 1050 </li> 1051 } 1052 </ul> 1053 </li> 1054 } 1055 </ul> 1056 </div> 1057 </div> 1058 </div> 1059 <div class="col-lg-9 col-md-9 col-sm-9 col-xs-12 displayprint"> 1060 @if (!string.IsNullOrWhiteSpace(currentFolderName)) { 1061 <h1>@currentFolderName</h1> 1062 <div class="row"> 1063 <div class="col-md-12 col-lg-12 col-sm-12 col-xs-12"> 1064 @foreach (var i in Model.Item.GetItems("Texts")) { 1065 if (i.GetInt32("Year").ToString().ToLower() == currentYear.ToLower() && i.GetString("FolderName").ToLower() == currentFolderName.ToLower()) { 1066 if (!string.IsNullOrWhiteSpace(i.GetString("Text"))) { 1067 <div>@i.GetString("Text")</div> 1068 } 1069 break; 1070 } 1071 } 1072 <div class="row"> 1073 <div class="col-md-12 col-lg-12 col-sm-12 col-xs-12"> 1074 @foreach (string s in Directory.EnumerateFiles("" + currentFolder, "*.jp*", SearchOption.TopDirectoryOnly)) { 1075 string fileName = s.Substring(s.LastIndexOf("\\") + 1); 1076 string fileUrl = currentFolderWebPath + fileName; 1077 string fileCroppedUrl = "/admin/public/getimage.ashx?Image=" + fileUrl + "&amp;width=384&amp;height=256&amp;crop=0"; 1078 PushPromise(fileCroppedUrl); 1079 <div class="GalleryImg col-lg-3 col-md-4 col-sm-4 col-xs-12"> 1080 <a href="@fileUrl" class="swipebox"> 1081 <img class="img-responsive" title="@fileName" alt="@fileName" src="@fileCroppedUrl"> 1082 </a> 1083 </div> 1084 } 1085 </div> 1086 </div> 1087 1088 </div> 1089 </div> 1090 } else { 1091 <div class="row"> 1092 <div class="col-xs-12"> 1093 @Model.Item.GetString("WelcomeContent") 1094 </div> 1095 </div> 1096 } 1097 1098 <div class="row"> 1099 @if (loggedInUser && !string.IsNullOrWhiteSpace(currentFolderName)) { 1100 <div class="col-xs-12"> 1101 @Model.Placeholder("ContentFull", "Fuld bredde") 1102 </div> 1103 } 1104 </div> 1105 </div> 1106 </div> 1107 </div> 1108 1109 @SnippetStart("ParagraphScript") 1110 <style> 1111 .GalleryImg { 1112 padding: 5px; 1113 text-align: center; 1114 vertical-align: middle; 1115 } 1116 1117 .menu-wrapper { 1118 display: none; 1119 padding-left: 0; 1120 list-style: none; 1121 } 1122 1123 .menu-opener > a { 1124 cursor: pointer; 1125 user-select: none; /* supported by Chrome and Opera */ 1126 -webkit-user-select: none; /* Safari */ 1127 -khtml-user-select: none; /* Konqueror HTML */ 1128 -moz-user-select: none; /* Firefox */ 1129 -ms-user-select: none; /* Internet Explorer/Edge */ 1130 } 1131 1132 #LeftNavContainer .menu-opener > a { 1133 display: block; 1134 } 1135 1136 #LeftNavContainer .menu-opener > a:hover { 1137 background-color: #f7f7f7 !important; 1138 color: #000 !important; 1139 } 1140 1141 #LeftNavContainer .menu-opener > a:after { 1142 display: inline-block; 1143 font: normal normal normal 14px/1 FontAwesome; 1144 font-size: inherit; 1145 text-rendering: auto; 1146 -webkit-font-smoothing: antialiased; 1147 -moz-osx-font-smoothing: grayscale; 1148 margin-left: 5px; 1149 content: "\f107"; 1150 } 1151 1152 #LeftNavContainer .menu-opener.active > a { 1153 background-color: #f0f0f0 !important; 1154 color: #333 !important; 1155 font-weight: bold !important; 1156 } 1157 1158 #LeftNavContainer .menu-opener.active > a:after { 1159 content: "\f106"; 1160 } 1161 1162 #LeftNavContainer .menu-opener > a { 1163 display: block; 1164 } 1165 1166 #LeftNavContainer .menu-opener > ul > li > a { 1167 padding: 5px 10px 5px 30px !important; 1168 } 1169 1170 .menu-opener.active .menu-wrapper { 1171 display: inherit; 1172 } 1173 </style> 1174 <script defer> 1175 $("form#dw-form-13").prepend("<input type=\"hidden\" name=\"FormUploadPath\" value=\"@currentFolderWebPath.Substring(6)\">") 1176 $("form#dw-form-13").prepend("<input type=\"hidden\" name=\"formSubmitPageAfterSave\" value=\"" + document.location + "\">") 1177 $(".menu-opener > a").click(function (e) { 1178 e.preventDefault(); 1179 console.log($(".menu-wrapper", $(this).parent())); 1180 $(this).parent().toggleClass("active"); 1181 return false; 1182 }); 1183 1184 </script> 1185 @if (loggedInUser) { 1186 <script> 1187 $("#Upload").attr("accept", ".jpg,jpeg") 1188 </script> 1189 } 1190 @SnippetEnd("ParagraphScript") 1191 1192 </div><!-- /row --> 1193 1194 </div><!-- /container --> 1195 <!--SCRIPT TIL AT SKJULE VENSTRE MENU, HVIS DEN ER HELT TOM --> 1196 1197 <!-- KAMPAGNE --> 1198 <!-- Sekundær footer --> 1199 1200 1201 1202 <div id="footer" style="background-color:#EEEEEE;" class="print"> 1203 <div class="col-lg-12" style="float: none;"> 1204 <div class="container"> 1205 <div class="multi_3833 col-lg-3 col-md-3 col-sm-3 col-xs-12 paragraphcontainer multisection bgimage_texttop multibg multi_top flex y_normal multi_standard_padding noborder " id="3833"> 1206 <style type="text/css"> 1207 .multi_3833 p, .multi_3833 h1, .multi_3833 h2, .multi_3833 h3, .multi_3833 h4, .multi_3833 ul { 1208 color: !important; 1209 } 1210 1211 .multi_3833 .module .flexcol, .multi_3833 .module .dynamic-container .item { 1212 clear: none; 1213 } 1214 </style> 1215 1216 <div class='multispacer' style='width:100%; display:block;background: linear-gradient(rgba(0,0,0,0),rgba(0,0,0,0)),url("");color: !important;;'> 1217 1218 1219 1220 1221 <div class="multitop"> 1222 1223 1224 <div class="figure"> 1225 <h4 class="h4"><span class="ImageText">Links</span></h4> 1226 1227 <div class="Citat"><span class="ImageText"><a href="/forum">⇒ Forum</a></span></div> 1228 1229 <div class="Citat"><span class="ImageText"><a href="/kontakt">⇒ Kontakt</a></span></div> 1230 1231 <div class="Citat"><span class="ImageText"><a href="/værksted">⇒ Værksted</a></span></div> 1232 1233 <div class="Citat"><span class="ImageText"><a href="/galleri">⇒ Galleri</a></span></div> 1234 1235 <div class="Citat"><span class="ImageText"><a href="/vejledning-faq">⇒ Vejledning/FAQ</a></span></div> 1236 1237 <div class="Citat"><a href="/vejledning-faq">⇒&nbsp;</a><a href="/læsestof/før-man-køber-mx-5">Før man køber MX-5</a></div> 1238 1239 <div class="Citat"><a href="/vejledning-faq">⇒&nbsp;</a><a href="https://www.mx5club.dk/forum/g%C3%A6steforum?PID=3886">Gæstespørgsmål</a></div> 1240 1241 <div class="Citat">&nbsp;</div> 1242 1243 <div class="Citat">&nbsp;</div> 1244 1245 <h4 class="h4">&nbsp;</h4> 1246 1247 <p>&nbsp;</p> 1248 1249 <p>&nbsp;</p> 1250 1251 </div> 1252 1253 <div class="module"> 1254 1255 </div> 1256 1257 1258 </div> 1259 1260 1261 1262 </div> 1263 </div> 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 <div class="multi_3882 col-lg-3 col-md-3 col-sm-3 col-xs-12 paragraphcontainer multisection bgimage_texttop multibg multibg multi_top flex y_normal multi_standard_padding noborder " id="3882"> 1281 <style type="text/css"> 1282 .multi_3882 p, .multi_3882 h1, .multi_3882 h2, .multi_3882 h3, .multi_3882 h4, .multi_3882 ul { 1283 color: !important; 1284 } 1285 1286 .multi_3882 .module .flexcol, .multi_3882 .module .dynamic-container .item { 1287 clear: none; 1288 } 1289 </style> 1290 1291 <div class='multispacer' style='width:100%; display:block;background-color: #8F8F8F;color: ;background: linear-gradient(rgba(143,143,143,0),rgba(143,143,143,0)),url("");color: !important;;'> 1292 1293 1294 1295 1296 <div class="multitop"> 1297 1298 1299 <div class="figure"> 1300 <h4 class="h4">MX-5 Club Denmark</h4> 1301 1302 <div class="Citat"><span class="ImageText"><a href="/klubben">⇒ Klubben</a></span></div> 1303 1304 <div class="Citat"><a href="/klubben/vedtægter-forretningsorden">⇒ Vedtægter &amp; Forretningsorden</a></div> 1305 1306 <div class="Citat"><a href="/klubben/kolonnekørsel">⇒ Kolonnekørsel</a></div> 1307 1308 <div class="Citat"><a href="/klubben/mx-5-hvorfor">⇒ MX-5 Hvorfor ?</a></div> 1309 1310 <div class="Citat"><a href="/klubben/betalingsservice">⇒ Betalingsservice</a></div> 1311 1312 <div class="Citat"><a href="/klubben/betalingsservice">⇒&nbsp;</a><a href="/kontakt/cookies-og-persondata-politik">Cookies og persondata politik</a></div> 1313 1314 <div class="Citat">&nbsp;</div> 1315 1316 </div> 1317 1318 <div class="module"> 1319 1320 </div> 1321 1322 1323 </div> 1324 1325 1326 1327 </div> 1328 </div> 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 <div class="multi_3883 col-lg-3 col-md-3 col-sm-3 col-xs-12 paragraphcontainer multisection bgimage_texttop multibg multibg multi_top flex y_normal multi_standard_padding noborder " id="3883"> 1346 <style type="text/css"> 1347 .multi_3883 p, .multi_3883 h1, .multi_3883 h2, .multi_3883 h3, .multi_3883 h4, .multi_3883 ul { 1348 color: !important; 1349 } 1350 1351 .multi_3883 .module .flexcol, .multi_3883 .module .dynamic-container .item { 1352 clear: none; 1353 } 1354 </style> 1355 1356 <div class='multispacer' style='width:100%; display:block;background-color: #8F8F8F;color: ;background: linear-gradient(rgba(143,143,143,0),rgba(143,143,143,0)),url("");color: !important;;'> 1357 1358 1359 1360 1361 <div class="multitop"> 1362 1363 1364 <div class="figure"> 1365 <h4 class="h4"><strong>Åben sportsvogn</strong><span class="ImageText"></span></h4> 1366 1367 <div class="Citat"><span class="ImageText">Har du allerede en Mazda MX-5, eller påtænker du at investere i en - MX-5&nbsp;Club Denmark er samlingsstedet for ligesindede individualister med </span><span class="ImageText">hang til MX-5 sportsvogne. Du er meget velkommen til at kontakte os </span><span class="ImageText">for at høre mere om klubbens aktiviteter.&nbsp;</span>Du kan også skrive til vores gæste forum.</div> 1368 1369 <p><span class="ImageText"></span></p> 1370 1371 </div> 1372 1373 <div class="module"> 1374 1375 </div> 1376 1377 1378 </div> 1379 1380 1381 1382 </div> 1383 </div> 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 <div class="multi_3884 col-lg-3 col-md-3 col-sm-3 col-xs-12 paragraphcontainer multisection title-sub-first multi_top flex y_normal multi_standard_padding noborder " id="3884"> 1401 <style type="text/css"> 1402 .multi_3884 p, .multi_3884 h1, .multi_3884 h2, .multi_3884 h3, .multi_3884 h4, .multi_3884 ul { 1403 color: !important; 1404 } 1405 1406 .multi_3884 .module .flexcol, .multi_3884 .module .dynamic-container .item { 1407 clear: none; 1408 } 1409 </style> 1410 1411 1412 1413 1414 <div class="multitop"> 1415 1416 1417 </div> 1418 <div class="multibottom"> 1419 <div class="figure"> 1420 <p style="text-align: center;"><img alt="" src="/Files/Billeder/mx5_logo-redigeret.jpg" style="width: 250px; height: 132px;" /></p> 1421 1422 <p style="text-align: center;"> 1423 <strong> 1424 <span style="font-size:12.0pt;font-family:">Bank: Danske Bank 9570 12795289 </span><span style="font-size:12.0pt;font-family:"> 1425 Mobilepay: 13894<br /> 1426 CVR: 1427 </span> 1428 </strong><span style="font-size:12.0pt;font-family:"> </span><strong>32990908<span style="font-size:12.0pt;font-family:"></span></strong> 1429 </p> 1430 1431 <p style="text-align: center;"><a href="https://www.facebook.com/groups/mx5club.dk/" target="_blank"><img alt="" src="/Files/Billeder/fb-logo.jpg" style="width: 62px; height: 62px;"></a></p> 1432 1433 <p>&nbsp;</p> 1434 1435 </div> 1436 1437 <div class="module"> 1438 1439 </div> 1440 1441 1442 </div> 1443 1444 1445 1446 1447 1448 1449 </div> 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 <div id="poweredby"> 1460 <a href="http://www.soegaard-co.dk" target="_blank" style="color:#ababab; font-size:11px;" class="powered-by">Powered by Søgaard & Co.</a> 1461 </div> 1462 </div> 1463 </div> 1464 </div> 1465 </div> <!-- container end --> 1466 <!-- search - which are being added to the top menu on mobile/ipad otherwise it's hidden --> 1467 1468 <div id="SearchBar" class="only-show-mobile print"> 1469 <form action="Default.aspx" method="get" name="SearchForm1"> 1470 <input type="hidden" name="ID" value="71"> 1471 <input id="SearchField" type="text" name="q" value=""> 1472 <button id="searchimages" type="submit" value="Søg"><i class="fa fa-search"></i></button> 1473 </form> 1474 </div> 1475 </div> 1476 1477 1478 1479 <a id="tothetop"> 1480 <i class="fa fa-angle-up"></i> 1481 </a> 1482 1483 <style type="text/css"> 1484 #tothetop { 1485 width: 40px; 1486 height: 40px; 1487 position: fixed; 1488 bottom: 50px; 1489 right: 30px; 1490 cursor: pointer; 1491 display: none; 1492 z-index: 999; 1493 } 1494 1495 #tothetop:before { 1496 content: ''; 1497 width: 100%; 1498 height: 100%; 1499 position: absolute; 1500 background-color: #000; 1501 opacity: 0.25; 1502 z-index: 998; 1503 } 1504 1505 #tothetop .fa { 1506 color: #fff; 1507 z-index: 999; 1508 font-size: 40px; 1509 line-height: 37px; 1510 width: 100; 1511 z-index: 999; 1512 position: relative; 1513 margin-left: 6px; 1514 } 1515 </style> 1516 1517 <script type="text/javascript"> 1518 var isVisible = false; 1519 $(window).scroll(function () { 1520 var shouldBeVisible = $(window).scrollTop() > 600; 1521 if (shouldBeVisible && !isVisible) { 1522 isVisible = true; 1523 $('#tothetop').fadeIn(200); 1524 } else if (isVisible && !shouldBeVisible) { 1525 isVisible = false; 1526 $('#tothetop').fadeOut(200); 1527 } 1528 }); 1529 $(document).ready(function () { 1530 $('#tothetop').click(function () { 1531 $('body,html').animate({ 1532 scrollTop: 0 1533 }, 400); 1534 return false; 1535 }); 1536 }); 1537 </script> 1538 1539 1540 1541 1542 1543 1544 <script src="/Files/System/validation.js"></script> 1545 1546 1547 <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js" integrity="sha384-0mSbJDEHialfmuBBQP6A4Qrprq5OVfW37PRR3j5ELqxss1yVqOtnepnHVP9aJ7xS" crossorigin="anonymous"></script> 1548 <script src="/Files/Templates/Designs/standard_responsiv/assets/owl-carousel/owl.js"></script> 1549 1550 <script src="//cdnjs.cloudflare.com/ajax/libs/spin.js/2.0.1/spin.min.js"></script> 1551 <script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.11.4/jquery-ui.min.js"></script> 1552 <script src="//cdnjs.cloudflare.com/ajax/libs/modernizr/2.8.3/modernizr.min.js"></script> 1553 1554 1555 <script src="/Files/Templates/Designs/customjs/bootstrap_test.js"></script> 1556 1557 1558 1559 <link rel="Stylesheet" href="/Files/Templates/Designs/standard_responsiv/assets/swipebox/swipebox.css"> 1560 <script type="text/javascript" src="/Files/Templates/Designs/standard_responsiv/assets/swipebox/jquery.swipebox.min.js"></script> 1561 <script type="text/javascript"> 1562 $(".ecom_mobile").insertBefore($("#navdiv")); 1563 1564 $(function () { 1565 1566 $('.swipebox').swipebox({ 1567 hideBarsDelay: 0, 1568 loopAtEnd: true, 1569 beforeOpen: function () { 1570 $(".at4-share-outer").hide(); 1571 }, 1572 afterClose: function () { 1573 $(".at4-share-outer").show(); 1574 } 1575 }); 1576 1577 $('.swipebox-video').swipebox({ 1578 hideBarsDelay: 0, 1579 loopAtEnd: true, 1580 beforeOpen: function () { 1581 $(".at4-share-outer").hide(); 1582 }, 1583 afterOpen: function () { 1584 $("#swipebox-bottom-bar").hide(); 1585 console.log("hiding bottom bar"); 1586 }, 1587 afterClose: function () { 1588 $(".at4-share-outer").show(); 1589 } 1590 }); 1591 }); 1592 </script> 1593 1594 1595 1596 <script src="/Files/Templates/Designs/standard_responsiv/assets/revolutionslider/js/jquery.themepunch.tools.min.js"></script> 1597 <script src="/Files/Templates/Designs/standard_responsiv/assets/revolutionslider/js/jquery.themepunch.revolution.min.js"></script> 1598 <script> 1599 var SliderHeight_483 = 380; 1600 SliderHeight_483 = 200; 1601 if (SliderHeight_483 == 0) SliderHeight = 380; 1602 1603 1604 //console.log("SliderHeight_483: "+SliderHeight_483); 1605 jQuery(document).ready(function () { 1606 jQuery('.revolu_slider_483 > div > .tp-banner-container > .tp-banner').revolution( 1607 { 1608 delay: 10000, 1609 startheight: SliderHeight_483, 1610 autoHeight: "off", 1611 minHeight: "250", 1612 lazyLoad: "on", 1613 shuffle: "" 1614 }); 1615 1616 $(".revolu_slider_483").fadeTo(500, 1); 1617 $(".revolu_slider_483").removeClass("hctrl_483"); 1618 //.show(200, function(){$("#topslideshow > #slidetop_container").css({"height":"auto"});}); 1619 }); 1620 1621 </script> 1622 1623 1624 <script src="/Files/Templates/Designs/standard_responsiv/includes/nav/meanmenu/jquery.meanmenu.min.js"></script> 1625 <script src="/Files/Templates/Designs/standard_responsiv/includes/nav/meanmenu/script.js"></script> 1626 <script> 1627 $(document).ready(function () { 1628 /* 1629 $($('a[href*="GroupID="]').parent('li').get().reverse()).each(function(){ 1630 var $this = $(this); 1631 $this.insertBefore($this.siblings(':eq(0)')); 1632 }); 1633 /* 1634 add secondary menu to main menu in mobile/tablet view 1635 */ 1636 /* 1637 //add topmenu li elements to meanmenu 1638 var topMenu = $(".secondary-navigation >ul").children().clone().addClass("added-top-menu"); 1639 $("nav > ul").append(topMenu); 1640 */ 1641 //add class to sprogvalg ul so it works as a tab function on mobile as well 1642 1643 1644 $("#sprogvalg > li").addClass("dropdown"); 1645 $("#sprogvalg > li > a").addClass("dropdown-toggle").attr("data-toggle", "dropdown"); 1646 $("#sprogvalg > li > ul").addClass("dropdown-menu").attr("role", "menu"); 1647 1648 1649 //$("sprogvalg .firstitem").html('<i class="fa fa-globe"></i>'); 1650 var languageCount = $("#sprogvalg > li > ul").children().length; 1651 //languageCount = 0; 1652 var sprogvalg = false; 1653 1654 if (languageCount > 0 && sprogvalg) { 1655 $(".house-mobile").hide(); 1656 $("#sprogvalg").show(); 1657 $(".globe-mobile").show(); 1658 } else { 1659 $("#sprogvalg").hide(); 1660 // $(".house-mobile").show(); 1661 } 1662 1663 1664 // .after($("#LeftNavContainer > .M0").clone()); 1665 1666 1667 1668 1669 1670 $("#cssmenu").meanmenu({ meanScreenWidth: "991" }); 1671 1672 1673 1674 $("body").prepend($(".globe-mobile")); 1675 1676 }); 1677 </script> 1678 1679 <!-- ******* JAVASCRIPT ******* --> 1680 1681 <script> 1682 //Add rows around all adjacent multisections 1683 $(document).ready(function () { 1684 var collection = []; 1685 1686 $('.multisection:not(.x1,.x2,.x3,.col-lg-12.col-md-12.col-sm-12.col-xs-12)').each(function () { 1687 var nextBox = $(this).next().hasClass('multisection'); 1688 1689 collection.push($(this)); 1690 1691 if ($(this).next().hasClasses(["x1", "x2", "x3", "x4"])) { 1692 nextBox = false; 1693 } 1694 1695 if (!nextBox) { 1696 var container = $('<div class="row multirow"></div>'); 1697 container.insertBefore(collection[0]); 1698 for (i = 0; i < collection.length; i++) { 1699 collection[i].appendTo(container); 1700 } 1701 collection = []; 1702 } 1703 }) 1704 }); 1705 1706 $.fn.extend({ 1707 hasClasses: function (selectors) { 1708 var self = this; 1709 for (var i in selectors) { 1710 if ($(self).hasClass(selectors[i])) 1711 return true; 1712 } 1713 return false; 1714 } 1715 }); 1716 </script> 1717 @RenderSnippet("ParagraphScript") 1718 </body> 1719 </html>