Exception in template (Designs/ngi/_parsed/top-menu.parsed.cshtml): System.NullReferenceException: Object reference not set to an instance of an object.
   at CompiledRazorTemplates.Dynamic.fdceadbccadbc.Execute()
   at RazorEngine.Templating.TemplateBase.RazorEngine.Templating.ITemplate.Run(ExecuteContext context)
   at RazorEngine.Razor.Parse[T](String razorTemplate, T model, String cacheName)
   at Dynamicweb.Rendering.Template.Output()
@inherits Dynamicweb.Rendering.RazorTemplateBase<Dynamicweb.Rendering.RazorTemplateModel<Dynamicweb.Rendering.Template>> @using System.Web; @using Co3.Espresso.Caching @using Dynamicweb.Admin @using Dynamicweb.Frontend; @using Dynamicweb.Content; @using Dynamicweb.Content.Items @using Dynamicweb.Content.Items.Rendering @using Dynamicweb.Notifications @using Area = Dynamicweb.Content.Area @using Page = Dynamicweb.Content.Page @using System.Globalization @using Dynamicweb.eCommerce.Common @{ string globalAreaLang = GetGlobalValue("Global:Area.Lang"); PageView currentPageView = PageView.Current(); Dynamicweb.Frontend.Area currentArea = currentPageView.Area; string siteHost = HttpContext.Current.Request.Url.Host; string googleSiteVerification = GetString( "Item.Area.GoogleSiteVerification" ) != null ? GetString( "Item.Area.GoogleSiteVerification" ) : string.Empty; bool NgiPopupEnable = GetBoolean( "Item.Area.PopupEnable" ); string NgiPopup = currentArea.Item["PopupPageLink"] != null ? currentArea.Item["PopupPageLink"].ToString() : string.Empty; CultureInfo currencyCulture = new CultureInfo( Context.Currency.CultureInfo ); string currencySeparatorDecimal = currencyCulture.NumberFormat.NumberDecimalSeparator; string currencySeparatorInteger = currencyCulture.NumberFormat.NumberGroupSeparator; } @using Dynamicweb.Content @using Dynamicweb.Rendering @using Dynamicweb.Rendering.Service @using Page = Dynamicweb.Content.Page @SnippetStart("AreaShoppingCart") @currentArea.Item["ShoppingCart"] @SnippetEnd("AreaShoppingCart") @SnippetStart("AreaCheckout") @currentArea.Item["Checkout"] @SnippetEnd("AreaCheckout") @SnippetStart("AreaWebshop") @currentArea.Item["Webshop"] @SnippetEnd("AreaWebshop") @SnippetStart("AreaMyOrders") @currentArea.Item["MyOrders"] @SnippetEnd("AreaMyOrders") @SnippetStart("AreaQuickOrder") @currentArea.Item["QuickOrder"] @SnippetEnd("AreaQuickOrder") @SnippetStart("AreaFavorites") @currentArea.Item["Favorites"] @SnippetEnd("AreaFavorites") @SnippetStart("AreaInvoice") @currentArea.Item["Invoice"] @SnippetEnd("AreaInvoice") @SnippetStart("AreaCookiePolicy") @currentArea.Item["CookiePolicy"] @SnippetEnd("AreaCookiePolicy") @SnippetStart("AreaContactPerson") <div class="row container e-section-brandDark" id="contact"> <div class="e-content"> @if ( currentArea.Item["ContactPerson"] != null ) { int pageId = 0; object pageContent = null; RazorTemplateBase< Page > paragraphTemplate = new RazorTemplateBase< Page >(); if(!string.IsNullOrEmpty(currentArea.Item["ContactPerson"].ToString()) && Int32.TryParse( currentArea.Item["ContactPerson"].ToString(), out pageId )) { pageContent = paragraphTemplate.RenderPageContent( pageId ); } else { pageContent = paragraphTemplate.RenderPageContent( 1884 ); } @pageContent } </div> </div> @SnippetEnd("AreaContactPerson") @SnippetStart("StepFileDownloadFormPage") @if ( currentArea.Item["StepFileDownloadFormPage"] == "" ) { @:hidden } @SnippetEnd("StepFileDownloadFormPage") <!DOCTYPE html> <html lang="@globalAreaLang" data-separator-integer="@currencySeparatorInteger" data-separator-decimal="@currencySeparatorDecimal"> <head> <script type="text/javascript" src="https://secure.leadforensics.com/js/221881.js"></script> <!-- Google Tag Manager --> <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f); })(window,document,'script','dataLayer','GTM-PVJD94B');</script> <!-- End Google Tag Manager --> @GetValue("CopyRightNotice") <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no, minimal-ui"> <meta http-equiv="x-ua-compatible" content="ie=edge"> <meta name="google-site-verification" content="@googleSiteVerification"> @if ( globalAreaLang == "tr") { <meta name="robots" content="noindex,nofollow"> } <title> @GetValue("Title") </title> <link href="/Files/Templates/Designs/ngi/assets/_dist/css/default.css?v=1.8.17" type="text/css" rel="stylesheet"> <link href="https://fonts.googleapis.com/css?family=Play" rel="stylesheet"> <link href="//netdna.bootstrapcdn.com/font-awesome/3.2.1/css/font-awesome.min.css" type="text/css" rel="stylesheet"> @GetValue("MetaTags") @{ string OpenGraphURL = GetGlobalValue( "Global:Request.Scheme" ) + "://" + GetGlobalValue( "Global:Request.Host" ) + GetGlobalValue( "Global:Pageview.Url" ); string GoogleAnalytics = currentArea.Item["GoogleAnalytics"] != null ? currentArea.Item["GoogleAnalytics"].ToString() : string.Empty; } <meta property="og:url" content="@OpenGraphURL"> @{ if(1 == 2){ @GetValue("Stylesheets") } } <script src="https://cdn.jsdelivr.net/npm/vue"></script> <script src="/Files/Templates/Designs/ngi/assets/ngi-svg-animations/svg-animation-script.js"></script> <!--@<!--@If(Global:Area.ID=9)--> @* MailChimpDK *@ <script id="mcjs">!function ( c, h, i, m, p ) {m = c.createElement( h ), p = c.getElementsByTagName( h )[ 0 ], m.async = 1, m.src = i, p.parentNode.insertBefore( m, p )}( document, 'script', 'https://chimpstatic.com/mcjs-connected/js/users/c058afba384f914344de538a4/3e035cf327628cc1fe09cfa57.js' );</script> <!--@EndIf--> <!--@If(Global:Area.ID=10)--> @* MailChimpUK *@ <script id="mcjs">!function ( c, h, i, m, p ) {m = c.createElement( h ), p = c.getElementsByTagName( h )[ 0 ], m.async = 1, m.src = i, p.parentNode.insertBefore( m, p )}( document, 'script', 'https://chimpstatic.com/mcjs-connected/js/users/c058afba384f914344de538a4/2e3d61f2da05e957c7492ab09.js' );</script> <!--@EndIf--> <!--@If(Global:Area.ID=16)--> @* MailChimpDE *@ <script id="mcjs">!function ( c, h, i, m, p ) {m = c.createElement( h ), p = c.getElementsByTagName( h )[ 0 ], m.async = 1, m.src = i, p.parentNode.insertBefore( m, p )}( document, 'script', 'https://chimpstatic.com/mcjs-connected/js/users/c058afba384f914344de538a4/8705921885f8bd1af7500ee6f.js' );</script> <!--@EndIf--> <!--@If(Global:Area.ID=17)--> @* MailChimpIT *@ <script id="mcjs">!function ( c, h, i, m, p ) {m = c.createElement( h ), p = c.getElementsByTagName( h )[ 0 ], m.async = 1, m.src = i, p.parentNode.insertBefore( m, p )}( document, 'script', 'https://chimpstatic.com/mcjs-connected/js/users/c058afba384f914344de538a4/9f7b8c3f1312cd0eea0dd1ea5.js' );</script> <!--@EndIf--> <!--@If(Global:Area.ID=18)--> @* MailChimpFR *@ <script id="mcjs">!function ( c, h, i, m, p ) {m = c.createElement( h ), p = c.getElementsByTagName( h )[ 0 ], m.async = 1, m.src = i, p.parentNode.insertBefore( m, p )}( document, 'script', 'https://chimpstatic.com/mcjs-connected/js/users/c058afba384f914344de538a4/0bde216685aedcc861fc43cb1.js' );</script> <!--@EndIf--> <!--@If(Global:Area.ID=20)--> @* MailChimpES *@ <script id="mcjs">!function ( c, h, i, m, p ) {m = c.createElement( h ), p = c.getElementsByTagName( h )[ 0 ], m.async = 1, m.src = i, p.parentNode.insertBefore( m, p )}( document, 'script', 'https://chimpstatic.com/mcjs-connected/js/users/c058afba384f914344de538a4/402ec7ebe0d952b8daaf7e87b.js' );</script> <!--@EndIf--> <!--@If(Global:Area.ID=25)--> @* MailChimpRU *@ <script id="mcjs">!function ( c, h, i, m, p ) {m = c.createElement( h ), p = c.getElementsByTagName( h )[ 0 ], m.async = 1, m.src = i, p.parentNode.insertBefore( m, p )}( document, 'script', 'https://chimpstatic.com/mcjs-connected/js/users/c058afba384f914344de538a4/258a4f1ca389a445962aa1668.js' );</script> <!--@EndIf--> <!--@If(Global:Area.ID=26)--> @* MailChimpPL *@ <script id="mcjs">!function ( c, h, i, m, p ) {m = c.createElement( h ), p = c.getElementsByTagName( h )[ 0 ], m.async = 1, m.src = i, p.parentNode.insertBefore( m, p )}( document, 'script', 'https://chimpstatic.com/mcjs-connected/js/users/c058afba384f914344de538a4/67a04905851329430aee8ec77.js' );</script> <!--@EndIf--> <!--@If(Global:Area.ID=46)--> @* MailChimpUS *@ <script id="mcjs">!function ( c, h, i, m, p ) {m = c.createElement( h ), p = c.getElementsByTagName( h )[ 0 ], m.async = 1, m.src = i, p.parentNode.insertBefore( m, p )}( document, 'script', 'https://chimpstatic.com/mcjs-connected/js/users/c058afba384f914344de538a4/a6d7524b142016f622a4d14a9.js' );</script> <!--@EndIf--> <!--@If(Global:Area.ID=47)--> @* MailChimpJP *@ <!--@EndIf-->--> <script> ( function ( h, o, t, j, a, r ) { h.hj = h.hj || function () { ( h.hj.q = h.hj.q || [] ).push( arguments ) }; h._hjSettings = { hjid: 1319964, hjsv: 6 }; a = o.getElementsByTagName( 'head' )[ 0 ]; r = o.createElement( 'script' ); r.async = 1; r.src = t + h._hjSettings.hjid + j + h._hjSettings.hjsv; a.appendChild( r ); } )( window, document, 'https://static.hotjar.com/c/hotjar-', '.js?sv=' ); </script> <script> (function(){ window.ldfdr = window.ldfdr || {}; (function(d, s, ss, fs){ fs = d.getElementsByTagName(s)[0]; function ce(src){ var cs = d.createElement(s); cs.src = src; setTimeout(function(){fs.parentNode.insertBefore(cs,fs)}, 1); } ce(ss); })(document, 'script', 'https://lftracker.leadfeeder.com/lftracker_v1_kn9Eq4R9ggx7RlvP.js'); })(); </script> <script type="text/javascript"> _linkedin_partner_id = "2238577"; window._linkedin_data_partner_ids = window._linkedin_data_partner_ids || []; window._linkedin_data_partner_ids.push(_linkedin_partner_id); </script> <script type="text/javascript"> (function(){var s = document.getElementsByTagName("script")[0]; var b = document.createElement("script"); b.type = "text/javascript";b.async = true; b.src = "https://snap.licdn.com/li.lms-analytics/insight.min.js"; s.parentNode.insertBefore(b, s);})(); </script> <!-- Hreflang --> @{ @* Get areas from service *@ AreaCollection areas = Dynamicweb.Content.Area.GetAreas(); string currentPageRelation = string.Empty; string currentPageRelationCacheKey = string.Empty; if ( currentPageView.Page.PropertyItem["PageRelation"] != null && !string.IsNullOrEmpty( currentPageView.Page.PropertyItem["PageRelation"].ToString() ) ) { currentPageRelation = currentPageView.Page.PropertyItem["PageRelation"].ToString(); currentPageRelationCacheKey = "Co3_NGI_HREF_" + currentPageRelation; } @* Frontpage must have 'frontpage' as relation-text *@ string CONST_frontpageRelation = "frontpage"; CacheEngine linkHrefCacheEngine = new CacheEngine(); if ( HttpContext.Current.Request["clear-href-lang"] != null) { if ( HttpContext.Current.Request["clear-href-lang"] == "clearall" ) { linkHrefCacheEngine.RemoveCacheItemStartingWith( "Co3_NGI_HREF_" ); } else { linkHrefCacheEngine.RemoveCacheItem( currentPageRelationCacheKey ); } } if ( linkHrefCacheEngine.CacheKeyExists( currentPageRelationCacheKey ) ) { List<string> linkHrefs = (List<string>)linkHrefCacheEngine.GetCacheItem( currentPageRelationCacheKey ); foreach (string linkHref in linkHrefs ) { @linkHref @Environment.NewLine } } else { List<string> linkHrefCollection = new List<string>(); if ( string.IsNullOrEmpty( currentPageRelation ) == false ) { @* Iterate areas *@ foreach ( Area area in areas ) { @* Get current area's culture *@ Dynamicweb.Frontend.Area areaItems = Dynamicweb.Frontend.Area.GetAreaById( area.ID ); string culture = area.Culture; @* Check for IsDefault Hreflang on area *@ string isDefaultHrefLang = areaItems.Item["IsDefaultHrefLang"] != null ? areaItems.Item["IsDefaultHrefLang"].ToString() : string.Empty; @* Check for override-culture text on area *@ string hreflangCultureOverride = areaItems.Item["HreflangLanguageOverride"] != null ? areaItems.Item["HreflangLanguageOverride"].ToString() : string.Empty; @* Get scheme and domain *@ string scheme = GetGlobalValue( "Global:Request.Scheme" ); string domainLock = area.DomainLock; @* If we have a primary domain call pageservice and get pages *@ if ( string.IsNullOrEmpty( domainLock ) == false && domainLock.Contains( "webtester" ) == false ) { PageCollection pages = Dynamicweb.Content.Page.GetPagesByAreaID( area.ID ); @* Iterate pages in area - check if is active + has item + has item-pagerelation + item-pagerelation equals current pagerelation *@ foreach ( Dynamicweb.Content.Page page in pages.Where( p => !p.Hidden ) ) { Item pageProperties = Item.GetItemById( "EspressoPageSettings", page.PropertyItemId ); if ( pageProperties != null && pageProperties["PageRelation"] != null && !string.IsNullOrEmpty( pageProperties["PageRelation"].ToString() ) && pageProperties["PageRelation"].ToString() == currentPageRelation ) { string productId = HttpContext.Current.Request["ProductID"]; string url = string.Empty; string href = "href"; string domain = scheme + "://" + domainLock; if ( string.IsNullOrEmpty( productId ) == false ) { @* Build url to area product page *@ string prodUrl = string.Format( "Default.aspx?ID={0}&ProductId={1}", page.ID, productId ); url = domain + SearchEngineFriendlyURLs.GetFriendlyUrl( prodUrl ); } else { @* Build url to area page *@ string pageUrl = string.Format( "Default.aspx?ID={0}", page.ID ); url = domain + SearchEngineFriendlyURLs.GetFriendlyUrl( pageUrl ); } @* If our current page relation match frontpage - set link to domain only *@ if ( currentPageRelation == CONST_frontpageRelation ) { url = domain; } @* If our area item has checked in Default hreflang, we render x-default link *@ if ( isDefaultHrefLang == "True" ) { <link rel="alternate" hreflang="x-default" href="@url"> string linkHrefLangDefaultTag = string.Format( "<link rel='alternate' hreflang='x-default' {0}='{1}'>", href, url ); linkHrefCollection.Add( linkHrefLangDefaultTag ); } @* If we have a value in the area-item to overrule the culture, override the value here *@ if ( string.IsNullOrEmpty( hreflangCultureOverride ) == false ) { culture = hreflangCultureOverride; } @* Render hreflang-link *@ <link rel="alternate" hreflang="@culture.ToLower()" href="@url"> string linkHrefLangTag = string.Format( "<link rel='alternate' hreflang='{0}' {1}='{2}'>", culture.ToLower(), href, url ); linkHrefCollection.Add( linkHrefLangTag ); } } } } } if (linkHrefCollection.Count() > 0 ) { CacheSettings cacheSettings = new CacheSettings(); cacheSettings.UseSliding = true; CacheEngine cacheEngine = new CacheEngine(cacheSettings); cacheEngine.SetCacheItem( currentPageRelationCacheKey, linkHrefCollection ); } } } <!-- End Hreflang --> @GetValue("Javascripts") </head> <body> <noscript><img alt="" src="https://secure.leadforensics.com/221881.png" style="display:none;"></noscript> <!-- Google Tag Manager (noscript) --> <noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-PVJD94B" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> <!-- End Google Tag Manager (noscript) --> <div class="ngi-main-content"> <div class="e-wrapper"> @{ string Login = currentArea.Item["Login"] != null ? currentArea.Item["Login"].ToString() : string.Empty; bool showLogin = false; string ShoppingCart = currentArea.Item["ShoppingCart"] != null ? currentArea.Item["ShoppingCart"].ToString() : string.Empty; string WebsiteHost = GetGlobalValue( "Global:Request.Scheme" ) + "://" + GetGlobalValue("Global:Request.Host"); string searchPageId = currentArea.Item["SearchWebshop"] != null ? currentArea.Item["SearchWebshop"].ToString() : string.Empty; string TotalProductQuantity = GetGlobalValue("Global:eCommerce.Order.OrderLines.TotalProductQuantity"); string ExtranetUser = GetGlobalValue( "Global:Extranet.UserID" ); string currentPageHideNavUtility = currentPageView.Page.PropertyItem["DisableUtilityNavigation"] != null ? currentPageView.Page.PropertyItem["DisableUtilityNavigation"].ToString() : string.Empty; } @if ( currentPageHideNavUtility != "True" ) { <div class="e-nav-utilities-top"> <div class="e-nav-utilities-top-width"> <div class=""> <div class="ngi-searchbar"> <form action="" class="js-suggested-product-search"> <input type="hidden" name="ID" value="@searchPageId"> <button type="submit" class="btn icon pull-left"><i class="icon-search"></i></button> <input class="pull-left js-suggested-product-search-input" autocomplete="off" type="text" name="q" value="@WebsiteHost" placeholder="検索"> </form> <div class="searchIconClose js-ngi-search-toggle pull-right"><i class="icon-remove icon-large"></i></div> </div> </div> <div class="aroundSearchIconBox"> <div class="searchIconBox js-ngi-search-toggle pull-right"><i class="icon-search icon-large"></i></div> </div> <div class="container"> <ul class="nav nav-pills pull-right" style="margin-right:20px;"> @GetValue("DwNavigation(dwnavutilitiestop)") @if ( showLogin ) { if ( string.IsNullOrWhiteSpace( ExtranetUser ) || ExtranetUser == "0" ) { <li> <a href="@Login" class="js-e-login-modal-link"> ログイン </a> </li> } else { <li> <a href="/Admin/Public/extranetlogoff.aspx"> ログアウト<i class="icon-signout"> </i> </a> </li> <div class="span1 pull-right"> <div class="e-cart-header pull-right"> <p> <a href="@ShoppingCart" class="luft"><i class="icon-shopping-cart"></i></a> @if ( @TotalProductQuantity != "" ) { <a href="@ShoppingCart" class="circleNumber"> @GetGlobalValue( "Global:eCommerce.Order.OrderLines.TotalProductQuantity" ) </a> } </p> </div> </div> } } </ul> </div> </div> </div> } @{ string Logo = currentArea.Item["Logo"] != null ? currentArea.Item["Logo"].ToString() : string.Empty; string LogoGif = currentArea.Item["LogoGIF"] != null ? currentArea.Item["LogoGIF"].ToString() : string.Empty; string LogoTitle = currentArea.Item["LogoTitle"] != null ? currentArea.Item["LogoTitle"].ToString() : string.Empty; string currentPageHideNav = currentPageView.Page.PropertyItem["DisableMainNavigation"] != null ? currentPageView.Page.PropertyItem["DisableMainNavigation"].ToString() : string.Empty; } @if ( currentPageHideNav != "True" ) { <div class="e-nav-global-top js-e-nav-global-top"> <div class="container"> <div class="navbar navbar-inverse"> <div class="navbar-inner"> <div class="span2"> <a href="/" class="e-logo pull-left"> <img src="@Logo" alt="@LogoTitle" data-logoanimated="@LogoGif" data-logostatic="@Logo" class="js-ngi-logo-gif"> </a> </div> <div> <a href="#" class="pull-right visible-phone ngi-toggle-nav js-ngi-toggle-nav"> <i class="menu-icon"></i> </a> <div> <div class="ngi-nav-phone js-ngi-nav-phone hidden-tablet hidden-desktop"> <ul> <li><a href="/">トップページ</a></li> @GetValue("DwNavigation(dwnavglobalphone)") </ul> <ul> @GetValue("DwNavigation(dwnavutilitiesphone)") </ul> </div> </div> </div> <ul class="nav"> @GetValue("DwNavigation(dwnavglobaltop)") </ul> <div class="nav"> </div> </div> </div> </div> </div> } </div> @if (!string.IsNullOrWhiteSpace(GetString("DwContent(dwcontenttopspan12)"))) { <div id="dwcontent-top-span12" class="container e-top"> <div class="row"> @GetValue("DwContent(dwcontenttopspan12)") </div> </div> } <div class="container e-content">@GetValue("DwNavigation(dwnavbreadcrumb)") </div> <div class="container e-content"> <div class="row"> <div id="dwcontent-featured-span12" class="featured span12"> <div class="row"> @GetValue("DwContent(dwcontentfeaturedspan12)") </div> </div> </div> @if( GetGlobalValue("Global:Extranet.UserName") == "demo" ){ <div class="row" id="e-grid"> <div class="span1">&nbsp;</div> <div class="span1">&nbsp;</div> <div class="span1">&nbsp;</div> <div class="span1">&nbsp;</div> <div class="span1">&nbsp;</div> <div class="span1">&nbsp;</div> <div class="span1">&nbsp;</div> <div class="span1">&nbsp;</div> <div class="span1">&nbsp;</div> <div class="span1">&nbsp;</div> <div class="span1">&nbsp;</div> <div class="span1">&nbsp;</div> </div> } </div> @if (!string.IsNullOrWhiteSpace(GetString("DwContent(dwcontentbottomspan12)"))) { <div id="dwcontent-bottom-span12" class="container e-bottom"> <div class="row"> @GetValue("DwContent(dwcontentbottomspan12)") </div> </div> } @if (!string.IsNullOrWhiteSpace(GetString("DwNavigation(dwnavlocalbottom)"))) { <div class="e-nav-local-bottom visible-phone"> <div class="container"> <div class="row"> <div class="span12"> <div class="e-panel"> <div class="e-panel-cap"> <h4><small>メニュー</small></h4> </div> <ul class="nav nav-stacked"> @GetValue("DwNavigation(dwnavlocalbottom)") </ul> </div> </div> </div> </div> </div> } </div> @{ string FooterContentPage = currentArea.Item["FooterContentPage"] != null ? currentArea.Item["FooterContentPage"].ToString() : string.Empty; string WebsiteByText = currentArea.Item["WebsiteByText"] != null ? currentArea.Item["WebsiteByText"].ToString() : string.Empty; string currentPageHideFooter = currentPageView.Page.PropertyItem["DisableFooter"] != null ? currentPageView.Page.PropertyItem["DisableFooter"].ToString() : string.Empty; } @if( FooterContentPage != "" ) { if ( currentPageHideFooter != "True" ) { <div class="e-footer"> <div class="container"> <div class="row pull-left"> @if ( !string.IsNullOrEmpty( FooterContentPage ) ) { @RenderPageContent( int.Parse( FooterContentPage ) ) } </div> <div class="utilityFooter span9 pull-right"> <ul class="nav nav-pills pull-right"> @if( GetGlobalValue("Global:Extranet.UserName") == "Administrator" ){ <li class="visible-desktop"><a href="#toggle-grid-overlay">Grid</a></li> } @GetValue("DwNavigation(dwnavutilitiesbottom)") <li class="e-website-by"> <a href="http://www.co3.dk/" title="Co3 - Webbureauet der forst&aring;r din forretning" target="_blank"> @WebsiteByText </a> </li> </ul> </div> </div> </div> } } <!--@If(Server:Request.cartcmdadd=='true')--> <div class="popup-bubble" style="z-index: 1000000"></div> <p class="checkmark" style="z-index: 1000001"> <svg fill="#fff" height="150" viewbox="0 0 24 24" width="150" xmlns="http://www.w3.org/2000/svg"> <path d="M0 0h24v24H0z" fill="none"></path> <path d="M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z"></path> </svg> </p> <p class="addcarttext" style="z-index: 1000002">Varen er lagt<br>i kurven</p> <!--@EndIf--> <!--@If(Global:Extranet.UserID==0)--> <div class="e-login js-e-login-modal e-modal-fixed modal hide" data-redirect="<!--@Global:Pageview.Url.Raw-->"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal">&times;</button> <h3 class="e-label">ログイン</h3> </div> <div class="modal-body"> <!--@If(Global:Extranet.UserID==0)--> <!--@If(Server:Request.username<defined>&&Server:Request.password<defined>)--> <div class="alert alert-error"> <button type="button" class="close" data-dismiss="alert">&times;</button> <p>ユーザー名もしくはパスワードに誤りがあります。</p> <p>ヘルプ: <a href="<!--@Item.Area.LoginForgotPassword-->">パスワードをお忘れですか?</a></p> </div> <!--@EndIf--> <!--@EndIf--> <div class="js-e-login-modal-load-content"> <div class="row-fluid"> <div class="span5 offset1 well"> <h3><i class="icon-lock"></i>ログイン</h3> <form class="form-vertical" name="ExtUserForm" method="post" action="/Default.aspx?ID=1539"> <fieldset> <div class="control-group"> <label class="control-label" for="Username">ユーザー名</label> <div class="controls"> <input class="required input-block-level" id="Username" name="Username" type="text" tabindex="1" value="<!--@If(DWExtranetUsername<defined>)--><!--@DWExtranetUsername--><!--@EndIf-->"> </div> </div> <div class="control-group"> <label class="control-label" for="Password">パスワード</label> <div class="controls"> <input class="required input-block-level" id="Password" type="password" name="Password" tabindex="2" value="<!--@If(DWExtranetPassword<defined>)--><!--@DWExtranetPassword--><!--@EndIf-->"> </div> </div> <div class="control-group"> <div class="controls"> <label class="checkbox"> <!--@If(DWExtranetUsernameRemember<defined>&&DWExtranetPasswordRemember<defined>)--> <input type="checkbox" name="eExtranetRemember" class="eExtranetRemember" tabindex="4" checked=""> <!--@Else--> <input type="checkbox" name="eExtranetRemember" class="eExtranetRemember" tabindex="4"> <!--@EndIf--> ログイン情報を記憶する</label> <input type="hidden" value="" name="DWExtranetUsernameRemember" class="eExtranetRememberUsername"> <input type="hidden" value="" name="DWExtranetPasswordRemember" class="eExtranetRememberPassword"> </div> </div> <div class="form-actions"> <button class="btn btn-primary" type="submit" tabindex="3">ログイン</button> </div> <p>ヘルプ: <a href="<!--@Item.Area.LoginForgotPassword-->?LoginAction=Reset">パスワードをお忘れですか?</a></p> </fieldset> </form> </div> <div class="span4 offset1"> <!--@Item.Area.LoginExtraContent--> </div> </div> </div> </div> </div> <!--@EndIf--> <script> var productList = document.querySelector( '.e-productlist-filters' ); if ( productList !== null ) { if ( sessionStorage.getItem( 'ngi.productlist.scrollposition' ) !== null ) { window.scrollTo(0, parseInt( sessionStorage.getItem( 'ngi.productlist.scrollposition' ) )) } } sessionStorage.removeItem( 'ngi.productlist.scrollposition' ); </script> <script async="" src="/Files/Templates/Designs/ngi/assets/_dist/js/default.min.js?v=1.4.8"></script> <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', '@GoogleAnalytics', 'auto'); ga('require', 'displayfeatures'); <!--@If(Ecom:Checkout.CurrentStep.Name=='')--> <!--@If(Global:Request.Url<contains>'/admin/public/404.aspx')--> ga( 'send', 'pageview', '404?url=' + location.pathname + location.search ); <!--@Else--> ga( 'send', 'pageview', location.pathname + location.search ); <!--@EndIf--> <!--@Else--> var strAppendToCheckoutPageView = '?step=' + '<!--@Ecom:Checkout.CurrentStep.Index-->' + ' ' + '<!--@Ecom:Checkout.CurrentStep.Name-->', googleAnalyticsEcommerceAddTransaction = googleAnalyticsEcommerceAddTransaction || 0; if ( googleAnalyticsEcommerceAddTransaction > 1 ) { strAppendToCheckoutPageView += '&ordertracking=false'; } ga( 'send', 'pageview', location.pathname + strAppendToCheckoutPageView ); <!--@EndIf--> </script> <noscript> <img height="1" width="1" style="display:none;" alt="" src="https://px.ads.linkedin.com/collect/?pid=2238577&fmt=gif"> </noscript> @GetValue("Javascripts") @GetString("DwCookieWarning") @{ string ProductHelpPopupEnable = currentArea.Item["ProductHelpPopupEnable"] != null ? currentArea.Item["ProductHelpPopupEnable"].ToString() : string.Empty; string ProductHelpPopupDelay = currentArea.Item["ProductHelpPopupDelay"] != null ? currentArea.Item["ProductHelpPopupDelay"].ToString() : string.Empty; string ProductHelpPopupText = currentArea.Item["ProductHelpPopupText"] != null ? currentArea.Item["ProductHelpPopupText"].ToString() : string.Empty; string ProductHelpPopupLink = currentArea.Item["ProductHelpPopupLink"] != null ? currentArea.Item["ProductHelpPopupLink"].ToString() : string.Empty; string ProductHelpPopupLinkText = currentArea.Item["ProductHelpPopupLinkText"] != null ? currentArea.Item["ProductHelpPopupLinkText"].ToString() : string.Empty; } @if( NgiPopupEnable != true ) { if ( ProductHelpPopupEnable == "True" ) { <div id="js-ngi-product-contact-popup" class="js-ngi-product-contact-popup modal hide fade" data-delay="@ProductHelpPopupDelay"> <div class="ngi-product-contact-popup-close"> <span class="close" data-toggle="modal" data-target="#js-ngi-product-contact-popup">&#215;</span> </div> <div class="ngi-product-contact-popup-text"> <p> @ProductHelpPopupText </p> </div> <div class="ngi-product-contact-popup-link"> <a data-url="/@ProductHelpPopupLink" class="btn btn-primary">@ProductHelpPopupLinkText</a> </div> </div> } } <div id="js-ngi-country-selector-popup" class="js-ngi-country-selector-popup modal hide fade" data-delay="1"> <div class="ngi-country-selector-popup-close"> <span class="close" data-toggle="modal" data-target="#js-ngi-country-selector-popup">&#215;</span> </div> <div class="ngi-country-selector-popup-content"> <h2>Select language</h2> <ul> @GetValue("DwNavigation(dwnavcountryselector)") </ul> </div> </div> @{ string StepFileDownloadFormPage = currentArea.Item["StepFileDownloadFormPage"] != null ? currentArea.Item["StepFileDownloadFormPage"].ToString() : string.Empty; } @if( StepFileDownloadFormPage != "") { <div id="ngi-step-file-download" class="js-ngi-step-file-download-form ngi-step-file-download modal hide fade" tabindex="-1" role="dialog" aria-labelledby="ngi-step-file-download-Label" aria-hidden="true" data-url="/@StepFileDownloadFormPage"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button> <h3 id="ngi-step-file-download-Label"> 2D/3Dファイルダウンロード </h3> </div> <div class="modal-body"> <p class="e-loading-spinner"> </div> </div> } @using Dynamicweb.Admin.dk.dynamicweb.templates @{ string NgiPopupPageId = NgiPopup != null ? NgiPopup.Replace( "Default.aspx?ID=", "" ) : string.Empty; string NgiPopupTextColor = currentArea.Item["PopupCloseBtnColor"] != null ? currentArea.Item["PopupCloseBtnColor"].ToString() : string.Empty; string NgiPopupDisableOnPageId = currentArea.Item["DisablePopupOnPage"] != null ? currentArea.Item["DisablePopupOnPage"].ToString() : string.Empty; string currentPageId = GetGlobalValue( "Global:Page.ID" ); } @if( NgiPopupEnable == true ) { if ( NgiPopup != "" ) { if ( currentPageId != NgiPopupDisableOnPageId ) { <div id="ngi-popup" class="js-ngi-popup ngi-popup modal hide" tabindex="-1" role="dialog" aria-labelledby="ngi-popup-Label" aria-hidden="true" data-url="/@NgiPopup" data-backdrop="true" data-cookie="ngi-popup-@NgiPopupPageId"> <div class="ngi-close"> <span class="close @NgiPopupTextColor" data-toggle="modal" data-target="#ngi-popup">&#215;</span> </div> <div class="modal-body"> <p class="e-loading-spinner"> </div> </div> } } } @{ string CataloguePopupUrl = GetString( "Item.Page.CataloguePopup.Value" ); string CatalogueLink = GetString( "Item.Page.CatalogueLink.Value" ); } @if( CataloguePopupUrl != "") { <p>test</p> <div id="ngi-catalogue-download" class="js-ngi-catalogue-download-form ngi-catalogue-download modal hide fade" tabindex="-1" role="dialog" aria-labelledby="ngi-catalogue-download-Label" aria-hidden="true" data-url="/@CataloguePopupUrl" data-download="@CatalogueLink"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button> <h3 id="ngi-catalogue-download-Label"> @Translate( "catalogueDownload text", "Download catalogue") </h3> </div> <div class="modal-body"> <p class="e-loading-spinner"> </div> </div> } @GetString("Ecom:Checkout.CurrentStep.Index") </body> </html>