Error executing template "Designs/SeedsNZ/_parsed/SeedsNZ_Page.parsed.cshtml"
System.NullReferenceException: Object reference not set to an instance of an object.
   at CompiledRazorTemplates.Dynamic.RazorEngine_eec808673f10407fba983da63297df61.Execute() in D:\home\site\wwwroot\Application\Files\Templates\Designs\SeedsNZ\_parsed\SeedsNZ_Page.parsed.cshtml:line 161
   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 ViewModelTemplate<PageViewModel> 2 @using PgwSeeds.SeedsNZ 3 @using Dynamicweb.Frontend; 4 @using Dynamicweb.Rendering; 5 @using System.Configuration 6 @using System.Web; 7 @using System.Web.Optimization 8 @using System.Net 9 10 @{ 11 var tagManagerCode = Model.Area.Item.GetString("Google_TagManager_Code"); 12 var siteVerificationKey = Model.Area.Item.GetString("Google_Site_Verification_Key"); 13 } 14 15 16 <!DOCTYPE html> 17 <html> 18 <head> 19 @if (tagManagerCode != null) 20 { 21 <!-- Google Tag Manager --> 22 <script> 23 (function (w, d, s, l, i) { 24 w[l] = w[l] || []; w[l].push({ 25 'gtm.start': 26 new Date().getTime(), event: 'gtm.js' 27 }); var f = d.getElementsByTagName(s)[0], 28 j = d.createElement(s), dl = l != 'dataLayer' ? '&l=' + l : ''; j.async = true; j.src = 29 'https://www.googletagmanager.com/gtm.js?id=' + i + dl; f.parentNode.insertBefore(j, f); 30 })(window, document, 'script', 'dataLayer', '@tagManagerCode'); 31 </script> 32 } 33 <script type="text/javascript"> 34 var sdkInstance = "appInsightsSDK"; window[sdkInstance] = "appInsights"; var aiName = window[sdkInstance], aisdk = window[aiName] || function (e) { function n(e) { t[e] = function () { var n = arguments; t.queue.push(function () { t[e].apply(t, n) }) } } var t = { config: e }; t.initialize = !0; var i = document, a = window; setTimeout(function () { var n = i.createElement("script"); n.src = e.url || "https://az416426.vo.msecnd.net/scripts/b/ai.2.min.js", i.getElementsByTagName("script")[0].parentNode.appendChild(n) }); try { t.cookie = i.cookie } catch (e) { } t.queue = [], t.version = 2; for (var r = ["Event", "PageView", "Exception", "Trace", "DependencyData", "Metric", "PageViewPerformance"]; r.length;)n("track" + r.pop()); n("startTrackPage"), n("stopTrackPage"); var s = "Track" + r[0]; if (n("start" + s), n("stop" + s), n("setAuthenticatedUserContext"), n("clearAuthenticatedUserContext"), n("flush"), !(!0 === e.disableExceptionTracking || e.extensionConfig && e.extensionConfig.ApplicationInsightsAnalytics && !0 === e.extensionConfig.ApplicationInsightsAnalytics.disableExceptionTracking)) { n("_" + (r = "onerror")); var o = a[r]; a[r] = function (e, n, i, a, s) { var c = o && o(e, n, i, a, s); return !0 !== c && t["_" + r]({ message: e, url: n, lineNumber: i, columnNumber: a, error: s }), c }, e.autoExceptionInstrumented = !0 } return t }( 35 { 36 instrumentationKey: '@ConfigurationManager.AppSettings["aiinstrumentationKey"]', 37 disableCorrelationHeaders: false 38 } 39 ); 40 window.appInsights = aisdk; 41 window.appInsights.queue.push(function () { 42 var serverId = "@HttpContext.Current.GetRequestTelemetry().Context.Operation.Id"; 43 appInsights.properties.context.telemetryTrace.traceID = serverId; 44 45 }); 46 aisdk.trackPageView(); 47 </script> 48 <meta charset="utf-8" /> 49 <meta name="viewport" content="width=device-width, initial-scale=1.0" /> 50 <meta name="google-site-verification" content="@siteVerificationKey" /> 51 @Model.MetaTags 52 <title>@Model.Title | PGG Wrightson Seeds</title> 53 54 <link rel="apple-touch-icon" sizes="57x57" href="/Files/Templates/Designs/SeedsNZ/assets/favicon/apple-touch-icon-57x57.png" /> 55 <link rel="apple-touch-icon" sizes="60x60" href="/Files/Templates/Designs/SeedsNZ/assets/favicon/apple-touch-icon-60x60.png" /> 56 <link rel="apple-touch-icon" sizes="72x72" href="/Files/Templates/Designs/SeedsNZ/assets/favicon/apple-touch-icon-72x72.png" /> 57 <link rel="apple-touch-icon" sizes="76x76" href="/Files/Templates/Designs/SeedsNZ/assets/favicon/apple-touch-icon-76x76.png" /> 58 <link rel="apple-touch-icon" sizes="114x114" href="/Files/Templates/Designs/SeedsNZ/assets/favicon/apple-touch-icon-114x114.png" /> 59 <link rel="apple-touch-icon" sizes="120x120" href="/Files/Templates/Designs/SeedsNZ/assets/favicon/apple-touch-icon-120x120.png" /> 60 <link rel="icon" type="image/png" sizes="32x32" href="/Files/Templates/Designs/SeedsNZ/assets/favicon/favicon-32x32.png" /> 61 <link rel="icon" type="image/png" sizes="96x96" href="/Files/Templates/Designs/SeedsNZ/assets/favicon/favicon-96x96.png" /> 62 <link rel="icon" type="image/png" sizes="16x16" href="/Files/Templates/Designs/SeedsNZ/assets/favicon/favicon-16x16.png" /> 63 <link rel="icon" href="/Files/Templates/Designs/SeedsNZ/assets/favicon/favicon.ico" /> 64 65 <!-- FontAwesome --> 66 <script src="https://use.fontawesome.com/6326434619.js"></script> 67 68 <!-- TypeKit --> 69 <script src="https://use.typekit.net/oel8lyn.js"></script> 70 <script>try { Typekit.load({ async: false }); } catch (e) { }</script> 71 72 @Styles.Render("~/Content/custom/seedsnz") 73 74 @RenderSnippet("StyleSheet") 75 @RenderSnippet("JavaScript") 76 </head> 77 <body> 78 79 @if (tagManagerCode != null) 80 { 81 <!-- Google Tag Manager (no script) --> 82 <noscript> 83 <iframe src="https://www.googletagmanager.com/ns.html?id=@tagManagerCode" 84 height="0" width="0" style="display:none;visibility:hidden"></iframe> 85 </noscript> 86 } 87 88 <div class="layout__main wrap"> 89 @{ 90 var searchPage = GetPageIdByNavigationTag("Search"); 91 } 92 93 94 <header class="container-fluid"> 95 <div class="max-width-wrap col-no-padding-desktop"> 96 <div> 97 <nav class="navbar" role="navigation"> 98 <div class="navbar-header"> 99 <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse"> 100 <span class="icon-bar"></span> 101 <span class="icon-bar"></span> 102 <span class="icon-bar"></span> 103 </button> 104 <a href="Default.aspx?Id=@GetPageIdByNavigationTag(NavigationTags.Home)" id="logo" title="Back to homepage"> 105 <img class="img-responsive" src="/Files/Templates/Designs/SeedsNZ/assets/img/logo.png" alt="PGG Wrightson Seeds Logo"> 106 </a> 107 </div> 108 109 <div class="navbar-collapse collapse pull-right-md"> 110 <ul class="nav navbar-nav pull-right-md" id="navbar"> 111 @RenderNavigation(new 112 { 113 Id = "navbar", 114 Template = "navbar.xslt", 115 ExpandMode = "All", 116 EndLevel = 3 117 }) 118 </ul> 119 120 <div class="search-btn-wrap visible-xs visible-sm"> 121 <a data-target="#search-wrapper" 122 data-toggle="collapse" 123 aria-expanded="false" 124 aria-controls="search-wrapper" 125 role="button"> 126 <span class="fa fa-search hidden-xs hidden-sm"></span> 127 <span class="search-text hidden-md hidden-lg">Search</span> 128 </a> 129 </div> 130 </div> 131 </nav> 132 </div> 133 </div> 134 <div class="row collapse" id="search-wrapper"> 135 <div class="max-width-wrap"> 136 <div class="form-search-wrap"> 137 <form method="get" action="Default.aspx" name="" novalidate="novalidate"> 138 <input type="hidden" name="ID" value="@searchPage" /> 139 <input type="search" placeholder="Enter Keyword to Search" name="q"> 140 <submit class="animate-right" role="button"> 141 <span class="rounded-icon icon fa fa-angle-right"></span> 142 </submit> 143 </form> 144 </div> 145 </div> 146 </div> 147 </header> 148 149 @inherits Dynamicweb.Rendering.ViewModelTemplate<PageViewModel> 150 151 @using Dynamicweb.Frontend; 152 153 154 @using PgwSeeds.SeedsNZ 155 @Title("Default page template") 156 157 158 @inherits Dynamicweb.Rendering.ViewModelTemplate<PageViewModel> 159 @using Dynamicweb.Frontend 160 @{ 161 var desktopImage = Model.Item.GetValue("DesktopImage"); 162 var handsetImage = Model.Item.GetValue("HandsetImage"); 163 var strapLineTop = Model.Item.GetString("StraplineTop"); 164 var strapLineBottom = Model.Item.GetString("StraplineBottom"); 165 var straplineNotice = Model.Item.GetString("StraplineNotice"); 166 var bannerImageAltText = Model.Item.GetString("BannerImageAltText"); 167 var bannerSecondLineColour = string.Empty; 168 169 if (!string.IsNullOrEmpty(Model.Item.GetString("StraplineBottomColor"))) 170 { 171 172 bannerSecondLineColour = $"color: {Model.Item.GetList("StraplineBottomColor").SelectedValue}"; 173 174 } 175 176 } 177 178 @if (!string.IsNullOrWhiteSpace(Model.Item.GetString("DesktopImage"))) 179 { 180 <div class="container-fluid banner-wrap"> 181 <div class="banner overflow-img-wrap"> 182 <img src="/Files/Templates/Designs/SeedsNZ/assets/img/1x1.png" alt="@bannerImageAltText" data-image-desktop="@desktopImage" data-image-handset="@handsetImage" class="img-srcset"> 183 <div class="strapline-wrap"> 184 <div class="max-width-wrap"> 185 <div class="wrap-md-offset-1-leftright"> 186 @if (!string.IsNullOrWhiteSpace(strapLineTop)) 187 { 188 <div class="strapline-inner-wrap"> 189 <h1 class="first-line truncate-text" data-lines-xs="1" data-lines-sm="1" data-lines-md="1" data-lines-lg="1">@strapLineTop</h1> 190 <h2 class="second-line truncate-text" data-lines-xs="1" data-lines-sm="1" data-lines-md="1" data-lines-lg="1" style="@bannerSecondLineColour; overflow-wrap: break-word;">@strapLineBottom</h2> 191 @if (!string.IsNullOrWhiteSpace(straplineNotice)) 192 { 193 <h3 class="notice-line truncate-text" data-lines-xs="1" data-lines-sm="1" data-lines-md="1" data-lines-lg="1" style="overflow-wrap: break-word;">@straplineNotice</h3> 194 } 195 </div> 196 } 197 </div> 198 </div> 199 </div> 200 </div> 201 </div> 202 } 203 204 205 206 <div class="container"> 207 @if (Model.Item.GetBoolean("DisplayBreadCrumb")) 208 { 209 @RenderNavigation(new 210 { 211 id = "breadcrumbs", 212 template = @".\breadcrumb.xslt", 213 expandmode = "Pathonly" 214 }) 215 } 216 @{ 217 var logoutClass = Model.CurrentUser.ID > 0 ? "logout-wrap" : string.Empty; 218 } 219 <div class="wrap-md-offset-1-leftright @logoutClass"> 220 <div class="row"> 221 <div class="col-xs-12 col-sm-9 col-md-9 title-component-wrap"> 222 <div class="va-middle"> 223 <h1 class="title">@Model.Item.GetValue("Title")</h1> 224 @if (!string.IsNullOrWhiteSpace(Model.Item.GetString("Subtitle"))) 225 { 226 <h2 class="subtitle">@Model.Item.GetString("Subtitle")</h2> 227 } 228 </div> 229 </div> 230 <div class="col-xs-12 col-sm-3 col-md-3"> 231 @if (Model.Item.GetBoolean("Display_Logout") && Model.CurrentUser.ID > 0) 232 { 233 <a href="/Admin/Public/ExtranetLogoff.aspx?redirect=@System.Web.HttpUtility.UrlEncode("/Default.aspx?Id=245")" class="border-link danger pull-right">LOGOUT</a> 234 } 235 <div class="product-logo-wrapper text-right-sm"> 236 @if (!string.IsNullOrWhiteSpace(Model.Item.GetString("TitleIcon"))) 237 { 238 <img src="@Model.Item.GetString("TitleIcon").IconImage()" alt="@Model.Item.GetString("TitleIconAltText")"> 239 } 240 </div> 241 </div> 242 </div> 243 </div> 244 @Model.Placeholder("main") 245 </div> 246 247 248 <!-- SOCIAL SHARING --> 249 @inherits Dynamicweb.Rendering.ViewModelTemplate<Dynamicweb.Frontend.PageViewModel> 250 @using System.Web 251 <div class="share-wrap text-center"> 252 <h4>Share this page</h4> 253 @{ 254 var request = HttpContext.Current.Request; 255 var subPath = Dynamicweb.Frontend.SearchEngineFriendlyURLs.GetFriendlyUrl(request.Url.PathAndQuery.TrimStart('/')); 256 var friendlyUrl = $"{request.Url.Scheme}://{request.Url.Authority}{subPath}"; 257 var url = WebUtility.UrlEncode(friendlyUrl); 258 } 259 <ul class="list-inline"> 260 <li> 261 <a class="fa fa-facebook text-center" href="https://www.facebook.com/sharer/sharer.php?u=@url" title="Share page via Facebook" target="_blank"></a> 262 </li> 263 <li> 264 <a class="fa fa-twitter text-center" href="https://twitter.com/home?status=@url" title="Share page via Twitter" target="_blank"></a> 265 </li> 266 <li> 267 <a class="fa fa-linkedin text-center" href="https://www.linkedin.com/shareArticle?mini=true&amp;url=@url" title="Share page via Linkedin" target="_blank"></a> 268 </li> 269 </ul> 270 </div> 271 272 <!-- Footer --> 273 <footer class="container-fluid contact-sticky-tile"> 274 @inherits Dynamicweb.Rendering.ViewModelTemplate<Dynamicweb.Frontend.PageViewModel> 275 @using PgwSeeds.SeedsNZ 276 <div class="max-width-wrap"> 277 <!-- duplication for mobile --> 278 <div class="clearfix"> 279 <div class="clearfix"> 280 <div class="mobile-compact-contact-wrap hidden-md hidden-lg col-xs-12 col-sm-6"> 281 <a class="collapsed" data-target="#contact-footer-tile" role="button" data-toggle="collapse" aria-expanded="false" aria-controls="contact-footer-tile"> 282 <h4> 283 <span class="greeting">HI!</span> NEED TO GET IN TOUCH? 284 </h4> 285 <img src="/Files/Templates/Designs/SeedsNZ/assets/img/Phone.jpg" maxheight="120" 286 class="img-responsive img-circle" alt="General Contact" maxwidth="120"> 287 </a> 288 </div> 289 </div> 290 291 <div class="clearfix"> 292 <div class="col-sm-5 pull-right hidden-sm hidden-xs contact-footer-desktop"> 293 <div class="contact-tile-outer-wrap"> 294 <div class="contact-us-greeting"> 295 <div class="contact-us-greeting-inner"> 296 <a class="collapsed" data-target="#contact-footer-tile" role="button" data-toggle="collapse" aria-expanded="false" aria-controls="contact-footer-tile"> 297 <h4> 298 <span class="greeting">HI!</span> NEED TO GET IN TOUCH? 299 </h4> 300 </a> 301 </div> 302 </div> 303 </div> 304 </div> 305 </div> 306 307 308 <div class="hidden-lg hidden-md collapseable collapse" id="contact-footer-tile"> 309 @inherits Dynamicweb.Rendering.ViewModelTemplate<Dynamicweb.Frontend.PageViewModel> 310 @using PgwSeeds.SeedsNZ 311 <div class="contact-tile-outer-wrap"> 312 <div class="contact-tile-wrap"> 313 <div class="row"> 314 <div class="col-xs-4 col-no-right-padding"> 315 <img src="/Files/Templates/Designs/SeedsNZ/assets/img/Phone.jpg" maxheight="120" class="img-responsive img-circle" alt="General Contact" maxwidth="120"> 316 </div> 317 <div class="col-xs-8"> 318 <h4>Contact Us</h4> 319 <p> 320 Sales &amp; General Enquiries<br> Nationwide 321 </p> 322 </div> 323 </div> 324 <ul class="list-inline text-uppercase"> 325 <li> 326 <span class="glyphicon glyphicon-earphone"></span> 327 <a href="tel:@Pageview.Area.Item["NZPhoneNumber"]"> 328 @Pageview.Area.Item["NZPhoneNumber"] 329 </a> 330 </li> 331 <li> 332 <span class="glyphicon glyphicon-envelope"></span> 333 <a href="mailto:@Pageview.Area.Item["Email"];"> 334 Email Me 335 </a> 336 </li> 337 338 </ul> 339 </div> 340 <a class="animate-right" href="Default.aspx?ID=@GetPageIdByNavigationTag(NavigationTags.ContactUs)"> 341 <span>Contact your local rep</span> 342 <span class="rounded-icon icon fa fa-angle-right"></span> 343 </a> 344 </div> 345 346 347 </div> 348 </div> 349 <!-- duplication for mobile --> 350 <div class="row"> 351 <div class="col-md-6 col-sm-12 link-tiles-wrap"> 352 <div class="row"> 353 354 <div class="col-md-3 col-sm-3 col-xs-6"> 355 <strong>News</strong> 356 <ul class="list-unstyled"> 357 <li><a href="Default.aspx?ID=@GetPageIdByNavigationTag(NavigationTags.CaseStudies)" target="" alt="Case Studies">Case Studies</a></li> 358 <li><a href="Default.aspx?ID=@GetPageIdByNavigationTag(NavigationTags.Social)" target="" alt="Social Updates">Social Updates</a></li> 359 <li><a href="Default.aspx?ID=@GetPageIdByNavigationTag(NavigationTags.ContactUs)" target="" alt="">Contact Us</a></li> 360 <li><a href="Default.aspx?ID=@GetPageIdByNavigationTag(NavigationTags.Competitions)" target="" alt="">Competitions</a></li> 361 </ul> 362 </div> 363 364 365 <div class="col-md-3 col-sm-3 col-xs-6"> 366 <strong>Tools</strong> 367 <ul class="list-unstyled"> 368 369 <li><a href="Default.aspx?ID=@GetPageIdByNavigationTag(NavigationTags.AdvancedSearch)" target="" alt="Advanced Product Search">Advanced Product Search</a></li> 370 <li><a href="Default.aspx?ID=@GetPageIdByNavigationTag(NavigationTags.GrassSelector)" target="" alt="">Select a Pasture</a></li> 371 <li><a href="Default.aspx?ID=@GetPageIdByNavigationTag(NavigationTags.BrassicaSelector)" target="" alt="Select a Brassica">Select a Brassica</a></li> 372 <li><a href="Default.aspx?ID=@GetPageIdByNavigationTag(NavigationTags.BrassicaCropCalculator)" target="" alt="Brassica Life Calculator">Brassica Life Calculator</a></li> 373 </ul> 374 </div> 375 376 <div class="clearfix hidden-sm hidden-md hidden-lg"></div> 377 378 @{ 379 var disclaimer = "/Files/Files/Public/Disclaimer-November-2019.pdf"; 380 } 381 382 <div class="col-md-3 col-sm-3 col-xs-6"> 383 <strong>About Us</strong> 384 <ul class="list-unstyled"> 385 <li><a href="Default.aspx?ID=@GetPageIdByNavigationTag(NavigationTags.Innovating)" target="" alt="Our Innovation">Innovating for You</a></li> 386 <li><a href="Default.aspx?ID=@GetPageIdByNavigationTag(NavigationTags.Sustainability)" target="" alt="">Sustainability</a></li> 387 <li><a href="Default.aspx?ID=@GetPageIdByNavigationTag(NavigationTags.History)" target="" alt="History">History</a></li> 388 <li><a href="Default.aspx?ID=@GetPageIdByNavigationTag(NavigationTags.Careers)" target="" alt="Careers">Careers</a></li> 389 <li><a href="Admin/Public/DWSDownload.aspx?File=@disclaimer" target="" alt="">Disclaimer</a></li> 390 <li><a href="Default.aspx?ID=@GetPageIdByNavigationTag(NavigationTags.TermsOfUse)" target="" alt="History">Terms of Use</a></li> 391 <li><a href="Admin/Public/DWSDownload.aspx?File=@Pageview.Area.Item["TermsOfTrade"]" target="" alt="Terms of Trade">Terms of Trade </a></li> 392 <li><a href="Default.aspx?ID=@GetPageIdByNavigationTag(NavigationTags.PrivacyPolicy)" target="" alt="">Privacy Policy</a></li> 393 <li><a href="Default.aspx?ID=@GetPageIdByNavigationTag(NavigationTags.SocialMediaPolicy)" target="" alt="">Social Media Policy</a></li> 394 </ul> 395 </div> 396 397 398 <div class="col-md-3 col-sm-3 col-xs-6"> 399 <strong>Get in Touch</strong> 400 <ul class="list-unstyled"> 401 <li><a href="Default.aspx?ID=@GetPageIdByNavigationTag(NavigationTags.ContactUs)" target="" alt="Our Reps">Our Reps</a></li> 402 <li><a href="Default.aspx?ID=@GetPageIdByNavigationTag(NavigationTags.ContactUs)" target="" alt="Enquiries">Enquiries</a></li> 403 <li><a href="Default.aspx?ID=@GetPageIdByNavigationTag(NavigationTags.WhereToBuy)" target="" alt="Where to Buy">Where to Buy</a></li> 404 </ul> 405 </div> 406 407 </div> 408 <div class="row"> 409 <div class="col-xs-6 col-md-12"> 410 <div class="member-login va-middle hidden-sm hidden-xs"> 411 412 @if (this.Model.CurrentUser.ID == 0) 413 { 414 <a href="Default.aspx?ID=@GetPageIdByNavigationTag(NavigationTags.LoginPage)" class="member-login btn btn-default">Retail Login</a> 415 } 416 else 417 { 418 <a href="Default.aspx?ID=@GetPageIdByNavigationTag(NavigationTags.MemberHome)" class="member-login btn btn-default">Retail Home</a> 419 } 420 </div> 421 <div class="footer-social-bar va-middle"> 422 <a href="https://www.facebook.com/@Pageview.Area.Item["Facebook_Page"]/" class="fa fa-facebook" target="_blank" title="PGW Seeds Facebook"></a> 423 <a href="https://twitter.com/@Pageview.Area.Item["TwitterHandle"]" class="fa fa-twitter" target="_blank" title="PGW Seeds Twiiter"></a> 424 </div> 425 </div> 426 427 <div class="member-login va-middle hidden-md hidden-lg col-xs-6"> 428 429 @if (this.Model.CurrentUser.ID == 0) 430 { 431 <a href="Default.aspx?ID=@GetPageIdByNavigationTag(NavigationTags.LoginPage)" class="member-login btn btn-default">Retail Login</a> 432 } 433 else 434 { 435 <a href="Default.aspx?ID=@GetPageIdByNavigationTag(NavigationTags.MemberHome)" class="member-login btn btn-default">Retail Home</a> 436 } 437 </div> 438 </div> 439 </div> 440 <div class="col-sm-5 pull-right hidden-sm hidden-xs"> 441 @inherits Dynamicweb.Rendering.ViewModelTemplate<Dynamicweb.Frontend.PageViewModel> 442 @using PgwSeeds.SeedsNZ 443 <div class="contact-tile-outer-wrap"> 444 <div class="contact-tile-wrap"> 445 <div class="row"> 446 <div class="col-xs-4 col-no-right-padding"> 447 <img src="/Files/Templates/Designs/SeedsNZ/assets/img/Phone.jpg" maxheight="120" class="img-responsive img-circle" alt="General Contact" maxwidth="120"> 448 </div> 449 <div class="col-xs-8"> 450 <h4>Contact Us</h4> 451 <p> 452 Sales &amp; General Enquiries<br> Nationwide 453 </p> 454 </div> 455 </div> 456 <ul class="list-inline text-uppercase"> 457 <li> 458 <span class="glyphicon glyphicon-earphone"></span> 459 <a href="tel:@Pageview.Area.Item["NZPhoneNumber"]"> 460 @Pageview.Area.Item["NZPhoneNumber"] 461 </a> 462 </li> 463 <li> 464 <span class="glyphicon glyphicon-envelope"></span> 465 <a href="mailto:@Pageview.Area.Item["Email"];"> 466 Email Me 467 </a> 468 </li> 469 470 </ul> 471 </div> 472 <a class="animate-right" href="Default.aspx?ID=@GetPageIdByNavigationTag(NavigationTags.ContactUs)"> 473 <span>Contact your local rep</span> 474 <span class="rounded-icon icon fa fa-angle-right"></span> 475 </a> 476 </div> 477 478 479 </div> 480 </div> 481 </div> 482 </footer> 483 <div class="visible-lg-block visible-md-block visible-sm-block visible-xs-block go-to-top hidden"> 484 <div class="triangle"></div> 485 TOP 486 </div> 487 </div> 488 489 <script src="https://code.jquery.com/jquery.min.js"></script> 490 <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery-validate/1.19.1/jquery.validate.min.js"></script> 491 <!-- Custom handling of unobtrusive validation css classes --> 492 <script src="Files/Templates/Designs/Common/assets/js/validation.custom.js"></script> 493 494 <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery-validation-unobtrusive/3.2.11/jquery.validate.unobtrusive.min.js"></script> 495 496 @Scripts.Render("~/bundles/custom/seedsnz") 497 @RenderSnippet("JavaScriptBottom") 498 <!--[if lt IE 9]> 499 <script src="/Assets/Core/js/dist/ie/html5shiv.min.js"></script> 500 <script src="/Assets/Core/js/dist/ie/respond.min.js"></script> 501 <![endif]--> 502 <!--[if lt IE 10]> 503 <script src="/Assets/Core/js/dist/ie/jquery.placeholder.min.js"></script> 504 window.onload = function() { 505 $('input, textarea').placeholder(); 506 }; 507 <![endif]--> 508 </body> 509 </html>