Exception in template (Designs/Bolind/_parsed/DefaultPage.parsed.cshtml): System.IO.IOException: The process cannot access the file 'D:\Solutions\Bolind\Live\Files\globalsettings.aspx' because it is being used by another process.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize)
   at System.Xml.XmlDownloadManager.GetStream(Uri uri, ICredentials credentials, IWebProxy proxy, RequestCachePolicy cachePolicy)
   at System.Xml.XmlUrlResolver.GetEntity(Uri absoluteUri, String role, Type ofObjectToReturn)
   at System.Xml.XmlTextReaderImpl.OpenUrlDelegate(Object xmlResolver)
   at System.Threading.CompressedStack.runTryCode(Object userData)
   at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
   at System.Threading.CompressedStack.Run(CompressedStack compressedStack, ContextCallback callback, Object state)
   at System.Xml.XmlTextReaderImpl.OpenUrl()
   at System.Xml.XmlTextReaderImpl.Read()
   at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)
   at System.Xml.XmlDocument.Load(XmlReader reader)
   at System.Xml.XmlDocument.Load(String filename)
   at Dynamicweb.Settings.LoadGlobalSettings(Boolean force) in E:\Program Files (x86)\Jenkins\jobs\Release DW881\workspace\Dynamicweb\Settings.vb:line 147
   at Dynamicweb.Settings.get_NodeTable() in E:\Program Files (x86)\Jenkins\jobs\Release DW881\workspace\Dynamicweb\Settings.vb:line 35
   at Dynamicweb.Settings.get_NodeValue(String path) in E:\Program Files (x86)\Jenkins\jobs\Release DW881\workspace\Dynamicweb\Settings.vb:line 58
   at Dynamicweb.Frontend.XmlNavigation.InitializeXmlDoc() in E:\Program Files (x86)\Jenkins\jobs\Release DW881\workspace\Dynamicweb\Frontend\XmlNavigation.vb:line 298
   at Dynamicweb.Frontend.XmlNavigation.XML(Int32 ParentID, Int32 StartLevel, Int32 StopLevel, Expand expand, Int32 areaID) in E:\Program Files (x86)\Jenkins\jobs\Release DW881\workspace\Dynamicweb\Frontend\XmlNavigation.vb:line 428
   at Dynamicweb.Frontend.XmlNavigation.GetNavigationHtml(Int32 ParentID, Int32 StartLevel, Int32 StopLevel, Expand ExpandMode, String NavigationName, String XsltPath, Int32 AreaID, Boolean SitemapMode, NameValueCollection settings, NameValueCollection attributes, IncludeMode mode) in E:\Program Files (x86)\Jenkins\jobs\Release DW881\workspace\Dynamicweb\Frontend\XmlNavigation.vb:line 1068
   at Dynamicweb.Frontend.XmlNavigation.GetNavigationHtml(NameValueCollection settings, NameValueCollection attributes) in E:\Program Files (x86)\Jenkins\jobs\Release DW881\workspace\Dynamicweb\Frontend\XmlNavigation.vb:line 1186
   at Dynamicweb.Rendering.RazorTemplateBase`1.RenderNavigation(Object settings) in E:\Program Files (x86)\Jenkins\jobs\Release DW881\workspace\Dynamicweb\Rendering\RazorTemplateBase.vb:line 546
   at CompiledRazorTemplates.Dynamic.ccdedf.Execute()
   at RazorEngine.Templating.TemplateBase.RazorEngine.Templating.ITemplate.Run(ExecuteContext context)
   at RazorEngine.Templating.TemplateService.Run(ITemplate template, DynamicViewBag viewBag)
   at RazorEngine.Templating.TemplateService.Parse(String razorTemplate, Object model, DynamicViewBag viewBag, String cacheName)
   at RazorEngine.Razor.Parse[T](String razorTemplate, T model, String cacheName)
   at Dynamicweb.Rendering.Template.Output() in E:\Program Files (x86)\Jenkins\jobs\Release DW881\workspace\Dynamicweb\Rendering\Template.vb:line 776
@inherits Dynamicweb.Rendering.RazorTemplateBase<Dynamicweb.Rendering.RazorTemplateModel<Dynamicweb.Rendering.Template>> @using System.Web; @using NORRIQ.Common8.Razor; @{ var longlang = GetValue("LongLang"); var settings = GetBoolean("Item.Area.ShowSiteSettings"); var b2c = GetBoolean("Item.Area.B2CDesign"); var partnersite = GetString("Item.Area.PartnerSite"); var changesite = GetString("Item.Area.ChangeSite"); var logo = GetString("Item.Area.Logo"); var sitename = GetString("DwAreaName"); var pageid = GetString("DwPageID"); var logoicon = GetString("Item.Area.LogoIcon.Icon"); var logolink = GetString("Item.Area.LogoLink"); var logotext = GetString("Item.Area.LogoText"); var topbanner = GetString("Item.Page.TopBanner"); var topbannerlink = GetString("Item.Page.TopBannerLink"); var cartUrl = Navigation.GetUrlByNavigationTag("cart"); var bodyClass = GetGlobalValue("Global:Page.NavigationTag"); var usp = GetString("Item.Area.USP"); var modallogo = GetString("Item.Area.Logo"); var siteidentity = (b2c) ? "success" : "primary"; var cimage = GetString("Item.Area.Image"); var clink = GetString("Item.Area.Link"); var cimagetext = GetString("Item.Area.ImageText"); var clinktext = GetString("Item.Area.LinkText"); } @if (bodyClass.Contains("home")) { bodyClass = "frontpage"; } else { bodyClass = "page"; } <!DOCTYPE html> <html lang="@longlang"> <head> <title>@GetValue("Title")</title> @GetValue("MetaTags") @GetValue("CopyRightNotice") @if (GetBoolean("Item.Area.NoIndex")) { <meta name="robots" content="noindex, nofollow"> } <meta charset='@GetValue("CharSet")'> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no, minimal-ui"> <link href="/Files/Templates/Designs/Bolind/css/design.min.css" rel="stylesheet"> <link rel="shortcut icon" href="/Files/Templates/Designs/Bolind/favicon.ico"> @if (GetString("Item.Area.Responsive") == "fluid") { <style> .container { width: 100% !important; } </style> } @if (b2c) { <link href="/Files/Templates/Designs/Bolind/css/customdesign.css" rel="stylesheet"> } @if (!String.IsNullOrEmpty(partnersite)) { <link href="/Files/Templates/Designs/Bolind/css/@(partnersite).min.css" rel="stylesheet"> } <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries --> <!--[if lt IE 9]> <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script> <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script> <![endif]--> @GetValue("Stylesheets") @GetValue("Javascripts") </head> <body class="@bodyClass" data-b2c="@b2c"> @if (!String.IsNullOrEmpty(partnersite) && !Pageview.User.LoggedIn) { } else { <!-- Added to cart --> <div class="container navbar-fixed-top hide addToCartInfo"> <div class="alert alert-success alert-dismissible wow bounceInDown" role="alert"> <p class="text-lead"> <button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">&times;</span></button> <i class="pe-is-ec-basket-1-f pe-lg"></i> @Translate("product_addedToCart", "Varen er lagt i indk�bskurv.") </p> </div> </div> if (!String.IsNullOrEmpty(usp)) { var uspstyle = GetValue("Item.Area.USPStyle.Select"); <div class="hidden-print hidden-xs bg bg-@uspstyle"> <div class="container"> <div class="row"> <div class="col-xs-12 text-center"> <ul class="list-inline usp"> @foreach (var i in GetLoop("Item.Area.USP")) { var link = i.GetString("Item.Area.USP.Link"); var icon = i.GetString("Item.Area.USP.Icon.Icon"); var ltext = i.GetString("Item.Area.USP.Text"); var uppercase = ""; if (i.GetBoolean("Item.Area.USP.Uppercase")) { uppercase = "text-uppercase"; } <li class="@uppercase"><a href="@link"><i class="@icon pe-va pe-lg"></i>@ltext</a></li> } </ul> </div> </div> </div> </div> } if (!String.IsNullOrEmpty(topbanner)) { <div class="hidden-print container"> <div class="row"> <div class="col-xs-12"> <a href="@topbannerlink" class="banner-img"><img alt="" src="@topbanner"></a> </div> </div> </div> } if (GetBoolean("Item.Area.Catalog")) { <div class=""> <div class="hidden-lg col-xs-12 bg-info"> <div class="catalog2 text-center"> <a href="@clink"> @clinktext </a> </div> </div> </div> } <!-- User --> <div class="hidden-print container"> <div class="row"> @if (Pageview.User.LoggedIn) { <div class="user-in pull-right"> <p> <span><a href='@Navigation.GetUrlByNavigationTag("mypage")'><i class="pe-7s-key pe-lg"></i>@Translate("customer", "Kunde"): @GetString("DW_extranet_AccessUserName")</a></span> <span>&nbsp;<a href="/admin/public/extranetlogoff.aspx?ID=@pageid" class="btn btn-xs btn-default">@Translate("logoff", "Log ud")</a></span> </p> </div> } <div class="navbar-header hidden-sm hidden-md hidden-lg col-xs-12"> <a href="/"> <img class="navbar-logo img-responsive" src="@logo" alt="@sitename"> </a> <ul class="list-inline target-switch visible-xs pull-right"> @if (String.IsNullOrEmpty(partnersite)) { if (b2c) { <li> <a href="@changesite" data-cookie="b2b"> <i class="pe-is-i-angle-left pe-va pe-lg"></i> @Translate("target_chooseErhverv", "Erhverv") </a> </li> <li class="padding-none">|</li> <li class="text-success"> <strong> @Translate("target_choosePrivat", "Privat") </strong> </li> } else { <li> <strong> @Translate("target_chooseErhverv", "Erhverv") </strong> </li> <li class="padding-none">|</li> <li> <a href="@changesite" data-cookie="b2c"> @Translate("target_choosePrivat", "Privat") <i class="pe-is-i-angle-right pe-va pe-lg"></i> </a> </li> } } </ul> </div> </div> </div> <header class="hidden-print navbar navbar-primary"> <div class="container top"> <div class="hidden-xs col-sm-12 col-md-2 col-lg-2"> <div class="navbar-header"> <a href="@logolink"> <img class="navbar-logo img-responsive" src="@logo" alt="@sitename"> </a> </div> </div> <div class="col-xs-12 col-sm-9 col-md-7 col-lg-6 pull-right"> <ul class="nav navbar-nav navbar-right ico-nav"> <li class="dropdown visible-xs"> <a href="javascript:void(0)" data-toggle="collapse" data-target="#searchcontainer" aria-expanded="false" aria-controls="searchcontainer"> <i class="pe-is-i-search pe-2x pe-va"></i> </a> </li> @foreach (var i in GetLoop("Item.Area.Topmenu")) { var itemlink = i.GetString("Item.Area.Topmenu.Item"); var itemId = 0; Int32.TryParse(itemlink.Split('#').Last(), out itemId); @RenderParagraphContent(@itemId) } </ul> </div> <div class="col-xs-12 col-sm-3 col-lg-3 text-primary"> @if (String.IsNullOrEmpty(partnersite)) { <ul class="list-inline target-switch hidden-xs"> @if (b2c) { <li> <a href="@changesite" data-cookie="b2b"> <i class="pe-is-i-angle-left pe-va pe-lg"></i> @Translate("target_chooseErhverv", "Erhverv") </a> </li> <li class="padding-none">|</li> <li class="text-success"> <strong> @Translate("target_choosePrivat", "Privat") </strong> </li> } else { <li> <strong> @Translate("target_chooseErhverv", "Erhverv") </strong> </li> <li class="padding-none">|</li> <li> <a href="@changesite" data-cookie="b2c"> @Translate("target_choosePrivat", "Privat") <i class="pe-is-i-angle-right pe-va pe-lg"></i> </a> </li> } </ul> } else { <div class="partnerfill"> @GetString("DwAreaName") </div> } <h3 class="logotext hide"><i class="@logoicon"></i>@logotext</h3> @using NORRIQ.Common8.Razor @inherits Dynamicweb.Rendering.RazorTemplateBase<Dynamicweb.Rendering.RazorTemplateModel<Dynamicweb.Rendering.Template>> @{ var searchLabel = Translate("search_label", "Search"); var collapse = "collapse in"; } @if (GetGlobalValue("Global:Device.IsMobile") == "True") { collapse = "collapse"; } <div id="searchcontainer" class="navbar-search navbar-collapse @collapse margin-bottom-s"> <form action="/Default.aspx" method="GET"> <input hidden="" name="ID" value="@Navigation.GetPageIdByNavigationTag(" product-search-results")"=""> <div class="form-group"> <div class="input-group input-group-sm"> <input type="search" name="ecomquery" class="form-control input-search" id="searchTerm" autocomplete="off" spellcheck="false" data-search-target-productpage-id='@Navigation.GetPageIdByNavigationTag("product-search")' placeholder='@searchLabel' data-tabindex="0"> <span class="input-group-btn"> <button type="submit" class="btn btn-@siteidentity"><i class="pe-is-i-search pe-lg pe-va"></i></button> </span> </div> </div> <div class="collapse search-collapse col-xs-12" id="quickadd"> <div class="quickadd clearfix" id="searchresultcontainer"> <h3>@Translate("search_Ecom", "Varer")</h3> <div class="products"></div> </div> </div> </form> </div> <script type="text/x-jsrender" id="quicksearchtemplate"> <form> <table class="table table-condensed table-striped table-search"> <tbody> {{for Products}} <tr data-product-id="{{:Id}}" data-product-language-id="{{:LanguageId}}" data-product-variant-id="{{:VariantId}}" class="order-parent JS-QS-ASYNC-CONTAINER"> <td> <a href="{{:Link}}">{{:Name}} - {{:Size}}</a> </td> <td class="product-no"> <a href="{{:Link}}">{{:Number}}</a> </td> </tr> {{/for}} </tbody> </table> </form> {{if MoreResults}} <p class="text-right"><a href="{{:LinkToFullResults}}" class="">@Translate("search_viewAllEcom", "Se alle varer")</a></p> {{/if}} </script> <script type="text/x-jsrender" id="quicksearchloadingtemplate"> <p class="text-info"><span class="icon-async icon-pulse"></span> @Translate("search_finding", "Søger varer...")</p> </script> <script type="text/x-jsrender" id="noquerytemplate"> <p class="text-info"><i class="pe-is-i-info-circle pe-lg"></i> @Translate("search_startTyping", "Indtast for at søge")</p> </script> <script type="text/x-jsrender" id="failedsearchtemplate"> <p class="text-danger"><i class="pe-is-i-warning-circle pe-lg"></i> @Translate("search_error", "Der skete en fejl, prøv igen.")</p> </script> <script type="text/x-jsrender" id="noresultstemplate"> <p class="text-warning"><i class="pe-is-i-ban pe-lg"></i> @Translate("search_emptySearch", "Tom søgning. Der blev ikke fundet noget.")</p> </script> <script type="text/x-jsrender" id="autoaddfeedbackloading"> <span class="icon-async icon-pulse"></span></i> </script> <script type="text/x-jsrender" id="autoaddfeedbacksuccess"> <i class="pe-is-i-check-circle-1 pe-lg"></i> </script> <script type="text/x-jsrender" id="autoaddfeedbackerror"> <i class="pe-is-i-ban pe-lg"></i> </script> <script append="true"> require(["jquery", "lodash", "bolind/areas/search/quicksearch"], function ($, _, search) { $(document).ready(function () { search.init({ WaitTime: 400, $SearchResultTemplate: $('#quicksearchtemplate'), $SearchInput: $('#searchTerm'), $ResultContainer: $('#searchresultcontainer'), $ResultLoadingTemplate: $('#quicksearchloadingtemplate'), $NoQueryTemplate: $('#noquerytemplate'), $FailedSearchTemplate: $('#failedsearchtemplate'), $CollapseContainer: $('#quickadd'), $NoResulsTemplate: $('#noresultstemplate'), $SearchContainer: $('#searchcontainer'), LinkToSearchResults: "/Default.aspx?ID=@NORRIQ.Common8.Razor.Navigation.GetPageIdByNavigationTag("product-search-results")", $ProduktLink: "/Default.aspx?ID=@NORRIQ.Common8.Razor.Navigation.GetPageIdByNavigationTag("webshop")" }); }) }); </script> </div> <div class="col-xs-12 hidden-xs hidden-sm hidden-md col-lg-1 catalog"> @if (GetBoolean("Item.Area.Catalog")) { <a href="@clink"> <span>@cimagetext</span> <img src="@cimage" alt="@cimagetext" class="img-responsive"> </a> } </div> </div> <nav class="navbar-foldout navbar-inverse yamm"> <div class="container"> <button type="button" class="btn btn-default navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar"> <i class="pe-is-i-bars-menu pe-va pe-2x"></i> <span>Menu</span> </button> <div id="navbar" class="collapse navbar-collapse"> @*IncludeFile("partials/_advanced_search-inline.cshtml")*@ @RenderNavigation(new { template = "topmenuHome.xslt", expandmode = "all", startlevel = 1, endlevel = 1 }) @RenderNavigation(new { template = "topmenuStatic.xslt", expandmode = "all", startlevel = 1, endlevel = 2 }) @RenderNavigation(new { template = "topmenuEcom.xslt", expandmode = "all", startlevel = 1, endlevel = 1 }) </div> </div> </nav> </header> } @inherits Dynamicweb.Rendering.RazorTemplateBase<Dynamicweb.Rendering.RazorTemplateModel<Dynamicweb.Rendering.Template>> @{ var ecomquery = System.Web.HttpContext.Current.Request.QueryString["ecomQuery"]; var prodid = System.Web.HttpContext.Current.Request.QueryString["productid"]; var groupid = System.Web.HttpContext.Current.Request.QueryString["groupid"]; var content = "col-sm-12"; var pageimage = GetString("Item.PageImage"); var title = GetString("Item.Title"); var subtitle = GetString("Item.SubTitle"); var text = GetString("Item.Text"); var extratext = GetString("Item.SubText"); var btntext = GetString("Item.ButtonText"); var btnlink = GetString("Item.ButtonLink"); var btnstyle = GetString("Item.ButtonStyle.Select"); var btnblock = ""; var btntarget = ""; } @if (GetBoolean("Item.ShowSidebar")) { if (!String.IsNullOrEmpty(prodid) || String.IsNullOrEmpty(groupid) && GetGlobalValue("Global:Page.NavigationTag").Contains("webshop")) { content = "col-sm-12"; } else { content = "col-md-9"; } } @if (GetBoolean("Item.ButtonBlock")) { btnblock = "btn-block"; } @if (GetBoolean("Item.ExternalLink")) { btntarget = "_blank"; } <div id="c01" class="wider">@GetValue("DwContent(c01)")</div> @if (!GetBoolean("Item.Page.HideBreadcrumb")) { <nav role="navigation"> <div class="container"> @RenderNavigation(new { Template = "breadcrumb.xslt", StartLevel = 1, EndLevel = 3 }) </div> </nav> } <div class="container content"> <div class="row"> @if (GetBoolean("Item.ShowSidebar")) { if (!String.IsNullOrEmpty(prodid) || String.IsNullOrEmpty(groupid) && GetGlobalValue("Global:Page.NavigationTag").Contains("webshop")) { } else { <div id="sidebar" class="col-md-3"> @if (string.IsNullOrEmpty(ecomquery)) { <nav id="nav-submenu" class="navbar sidebar-nav navbar-foldout"> <button type="button" class="btn btn-default collapsed" data-toggle="collapse" data-target="#sidebar-wrap" aria-expanded="false" aria-controls="navbar"> <i class="pe-is-i-rtl pe-va pe-2x"></i> <span>Sidemenu</span> </button> <div class="collapse navbar-collapse" id="sidebar-wrap"> @if (GetGlobalValue("Global:Page.NavigationTag").Contains("webshop")) { @RenderNavigation(new { Template = "ecommenu.xslt", Expandmode = "all", StartLevel = 1, EndLevel = 4 }) } else { @RenderNavigation(new { Template = "submenu.xslt", Expandmode = "all", StartLevel = 1, EndLevel = 4 }) } </div> </nav> } <div id="c02" class="row">@GetValue("DwContent(c02)")</div> </div> } } <div class="@content"> @if (GetBoolean("Item.ImageRight")) { <div class="row"> <div class="col-sm-8"> @if (GetBoolean("Item.ShowTitles")) { <h1 class="page-header wow fadeInDown" data-wow-duration="0.2s"> @title <small>@subtitle</small> </h1> } @RenderSnippet("FilterButton") @if (!string.IsNullOrEmpty(text)) { <text>@text</text> } @if (GetBoolean("Item.Button")) { <p><a href="@btnlink" target="@btntarget" class="btn btn-@btnstyle @btnblock">@btntext</a></p> } @if (!string.IsNullOrEmpty(extratext)) { <text>@extratext</text> } </div> <div class="col-sm-4 text-right"> @if (!String.IsNullOrEmpty(pageimage)) { <div class="page-image"><img src="/Admin/Public/GetImage.ashx?Image=@pageimage&amp;Width=300&amp;Crop=5&amp;Compression=100" class="img-responsive" alt="@title"></div> } </div> </div> } else { <div class="row"> <div class="col-xs-12"> @if (GetBoolean("Item.ShowTitles")) { <h1 class="page-header wow fadeInDown" data-wow-duration="0.2s"> @title <small>@subtitle</small> </h1> } @RenderSnippet("FilterButton") @if (!String.IsNullOrEmpty(pageimage)) { <div class="page-image"><img src="/Admin/Public/GetImage.ashx?Image=@pageimage&amp;Width=850&amp;Crop=5&amp;Compression=100" class="img-responsive" alt="@title"></div> } @if (!string.IsNullOrEmpty(text)) { <text>@text</text> } @if (GetBoolean("Item.Button")) { <p><a href="@btnlink" target="@btntarget" class="btn btn-@btnstyle @btnblock">@btntext</a></p> } @if (!string.IsNullOrEmpty(extratext)) { <text>@extratext</text> } </div> </div> } <div id="content-container" class="row">@GetValue("DwContent(contentcontainer)")</div> </div> </div> </div> @if (!String.IsNullOrEmpty(partnersite) && !Pageview.User.LoggedIn) { } else { <div class="hidden-print clearfix bg-info padding-bottom padding-top"> <div class="container wow fadeIn"> <div class="row"> @foreach (var i in GetLoop("Item.Area.PageFooter")) { var pagefoottitle = i.GetString("Item.Area.PageFooter.Title"); var type = i.GetString("Item.Area.PageFooter.Type"); var size = i.GetString("Item.Area.PageFooter.Size.Select"); var image = i.GetString("Item.Area.PageFooter.Image"); var align = i.GetString("Item.Area.PageFooter.Align.Select"); var navigationTag = i.GetString("Item.Area.PageFooter.NavigationTag"); var itemlink = i.GetString("Item.Area.PageFooter.LinkToItem"); var itemId = 0; Int32.TryParse(itemlink.Split('#').Last(), out itemId); var button = i.GetString("Item.Area.PageFooter.Button.Title"); var buttonlink = i.GetString("Item.Area.PageFooter.Button.Link"); var buttonstyle = i.GetString("Item.Area.PageFooter.Button.Style.Select"); if (!String.IsNullOrEmpty(align)) { align = " text-" + align; } <div class="@size@align"> @if (!String.IsNullOrEmpty(pagefoottitle)) { <h3>@pagefoottitle</h3> } @if (type == "navigation") { @RenderNavigation(new { Template = "meta.xslt", Expandmode = "all", StartLevel = 1, EndLevel = 2, NavigationTag = navigationTag }) } else if (type == "image") { <img src="@image" class="img-responsive"> } else if (type == "itemlink" && itemId != 0) { <div>@RenderParagraphContent(itemId)</div> } else { @i.GetString("Item.Area.PageFooter.Text") if (!String.IsNullOrEmpty(button)) { <a href="@buttonlink" class="btn btn-@buttonstyle">@button</a> } } </div> } </div> </div> </div> <footer class="hidden-print clearfix bg-@siteidentity padding-bottom padding-top"> <div class="container wow fadeIn"> <div class="row"> @foreach (var i in GetLoop("Item.Area.Footer")) { var foottitle = i.GetString("Item.Area.Footer.Title"); var type = i.GetString("Item.Area.Footer.Type"); var size = i.GetString("Item.Area.Footer.Size.Select"); var image = i.GetString("Item.Area.Footer.Image"); var align = i.GetString("Item.Area.Footer.Align.Select"); var navigationTag = i.GetString("Item.Area.Footer.NavigationTag"); if (!String.IsNullOrEmpty(align)) { align = " text-" + align; } <div class="@size@align"> @if (!String.IsNullOrEmpty(foottitle)) { <h3>@foottitle</h3> } @if (type == "navigation") { @RenderNavigation(new { Template = "meta.xslt", Expandmode = "all", StartLevel = 1, EndLevel = 2, NavigationTag = navigationTag }) } else if (type == "image") { <img src="@image" class="img-responsive"> } else { @i.GetString("Item.Area.Footer.Text") } </div> } </div> </div> </footer> <!-- IMAGE ZOOM --> <div class="pswp" tabindex="-1" role="dialog" aria-hidden="true"> <div class="pswp__bg"></div> <div class="pswp__scroll-wrap"> <div class="pswp__container"> <div class="pswp__item"></div> <div class="pswp__item"></div> <div class="pswp__item"></div> </div> <div class="pswp__ui pswp__ui--hidden"> <div class="pswp__top-bar"> <div class="pswp__counter"></div> <button class="pswp__button pswp__button--close" title="Close (Esc)"></button> <button class="pswp__button pswp__button--share" title="Share"></button> <button class="pswp__button pswp__button--fs" title="Toggle fullscreen"></button> <button class="pswp__button pswp__button--zoom" title="Zoom in/out"></button> <div class="pswp__preloader"> <div class="pswp__preloader__icn"> <div class="pswp__preloader__cut"> <div class="pswp__preloader__donut"></div> </div> </div> </div> </div> <div class="pswp__share-modal pswp__share-modal--hidden pswp__single-tap"> <div class="pswp__share-tooltip"></div> </div> <button class="pswp__button pswp__button--arrow--left" title="Previous (arrow left)"></button> <button class="pswp__button pswp__button--arrow--right" title="Next (arrow right)"></button> <div class="pswp__caption"> <div class="pswp__caption__center"></div> </div> </div> </div> </div> if (String.IsNullOrEmpty(partnersite)) { <div class="modal fade" id="targetModal"> <div class="modal-dialog"> <div class="modal-content"> <div class="modal-body"> <div class="text-center padding-lg"> <p class="padding-standard"><img src="@modallogo" alt="@sitename"></p> <p class="lead">@Translate("modal_chooseTargetGroup", "V�lg venligst")</p> <div class="row"> <div class="col-xs-12"> @if (b2c) { <div class="col-sm-6"> <a href="@changesite" class="btn btn-primary btn-block btn-lg" data-cookie="b2b" data-dismiss="modal">@Translate("modal_chooseErhverv", "Boligforening/erhverv")</a> </div> <div class="col-sm-6"> <a href="#" class="btn btn-success btn-block btn-lg" data-cookie="b2c" data-dismiss="modal">@Translate("modal_choosePrivat", "Privatkunde")</a> </div> } else { <div class="col-sm-6"> <a href="#" class="btn btn-primary btn-block btn-lg" data-cookie="b2b" data-dismiss="modal">@Translate("modal_chooseErhverv", "Boligforening/erhverv")</a> </div> <div class="col-sm-6"> <a href="@changesite" class="btn btn-success btn-block btn-lg" data-cookie="b2c" data-dismiss="modal">@Translate("modal_choosePrivat", "Privatkunde")</a> </div> } </div> </div> </div> </div> </div> </div> </div> } } <script append="true"> require(['bolind/areas/user/login'], function (AsyncLogin) { var login = new AsyncLogin({ $loginForm: $("#loginForm"), $username: $("#Username"), $password: $("#Password") }); login.init(); var loginMini = new AsyncLogin({ $loginForm: $("#loginMiniForm"), $username: $("#Username2"), $password: $("#Password2"), $feedbackContainer: $('#miniLoginFeedback') }); loginMini.init(); }); require(["shared/norriq.photoswipe"], function (niqPS) { niqPS.init({ $galleries: $('#sync1') }); }); </script> @if (GetBoolean("NIQ:JavaScriptDebug")) { <script src="/scripts/require.js"></script> @StandardWebshop.CustomCode.Razor.TimestampSource.GetJavaScriptWithTimestamp("/scripts/bolind/main.js") } else { @StandardWebshop.CustomCode.Razor.TimestampSource.GetJavaScriptWithTimestamp("/scripts/bolind/main.min.js") } <script> require(['bolind/areas/master'], function (master) { master.init(); }); </script> @if (!String.IsNullOrEmpty(GetString("Item.Area.Google"))) { <script> (function (i, s, o, g, r, a, m) { i['GoogleAnalyticsObject'] = r; i[r] = i[r] || function () { (i[r].q = i[r].q || []).push(arguments) }, i[r].l = 1 * new Date(); a = s.createElement(o), m = s.getElementsByTagName(o)[0]; a.async = 1; a.src = g; m.parentNode.insertBefore(a, m) })(window, document, 'script', '//www.google-analytics.com/analytics.js', 'ga'); ga('create', '@GetString("Item.Area.Google")', 'auto'); ga('send', 'pageview'); </script> } <script append="replace"></script> </body> </html>