Error compiling template "Designs/ucn2015/_parsed/medarbejderSearchPage.parsed.cshtml"
Line 1: The type or namespace name 'UCN' could not be found (are you missing a using directive or an assembly reference?)

1 @using UCN.Website.CustomModules.Helpers; 2 3 <!DOCTYPE html> 4 <!-- https://www.ucn.dk --> 5 6 @{ 7 string Host = System.Web.HttpContext.Current.Request.Url.GetLeftPart(UriPartial.Authority); 8 if( Host.Contains("ucnnorth") || Host.Contains("ucnorth") ) 9 { 10 System.Web.HttpContext.Current.Response.RedirectPermanent("http://www.ucn.dk/english"); 11 } 12 13 @*if (!System.Web.HttpContext.Current.Request.IsSecureConnection) 14 { 15 System.Web.HttpContext.Current.Response.RedirectPermanent("https://" + System.Web.HttpContext.Current.Request.Url.Host + System.Web.HttpContext.Current.Request.RawUrl); 16 System.Web.HttpContext.Current.Response.End(); 17 }*@ 18 19 string presetSearch =""; 20 var r = System.Web.HttpContext.Current.Request["q"]; 21 22 if( !string.IsNullOrEmpty(r) ) 23 { 24 presetSearch = r; 25 } 26 27 var HideNav = GetBoolean("Item.Page.SkjulNavigation"); 28 //// frontend files 29 string cssPath = "/Files/Templates/Designs/ucn2015/dist/css/master.min.css"; 30 string jsfiles = "/Files/Templates/Designs/ucn2015/js/combinedscript.min.js"; 31 string vendorFile = "/Files/Templates/Designs/ucn2015/dist/scripts/vendor.min.js"; 32 string masterFile = "/Files/Templates/Designs/ucn2015/dist/scripts/master.min.js"; 33 34 } 35 <html> 36 <head> 37 <meta http-equiv="X-UA-Compatible" content="IE=edge"> 38 <meta charset="UTF-8"> 39 <meta name="viewport" content="width=device-width, initial-scale=1"> 40 41 <link rel="shortcut icon" type="image/ico" href="/Files/Templates/Designs/ucn2015/favicon.ico"> 42 43 @*<!--Remove for production--> 44 <meta name="robots" content="noindex"> 45 <!--Remove for production-->*@ 46 47 48 <title>@GetValue("Title")</title> 49 @GetValue("MetaTags") 50 @GetValue("CopyRightNotice") 51 52 53 54 @*<link href="/Files/Templates/Designs/ucn2015/css/bootstrap-3.3.2.css" rel="stylesheet"><link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css" rel="stylesheet"> 55 <link href="/Files/Templates/Designs/ucn2015/js/jQuery.mmenu-master/dist/css/jquery.mmenu.all.css" type="text/css" rel="stylesheet">*@ 56 @*<link href="/Files/Templates/Designs/ucn2015/css/style.css?v=107" rel="stylesheet">*@ 57 58 @*<link href="/Files/Templates/Designs/ucn2015/css/newStyle.css?v=3" rel="stylesheet">*@ 59 60 61 <link href="@Helpers.GetRevisionNumber(cssPath)" rel="stylesheet"> 62 63 @*<style>.mm-menu .mm-listview > li .mm-arrow:after, .mm-menu .mm-listview > li .mm-next:after { border-color:transparent; }</style> 64 <link rel="stylesheet" href="/Files/Templates/Designs/ucn2015/css/print.css" type="text/css" media="print">*@ 65 @*<link href="/Files/Templates/Designs/ucn2015/dist/css/master.min.css" rel="stylesheet">*@ 66 67 <!--[if IE]> 68 <style> 69 .szc_smallbox { right:30px !important; } 70 </style> 71 <![endif]--> 72 73 <!-- Google Tag Manager --> 74 <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': 75 new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], 76 j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= 77 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f); 78 })(window,document,'script','dataLayer','GTM-NBHL5FD');</script> 79 <!-- End Google Tag Manager --> 80 81 @GetValue("Stylesheets") 82 @GetValue("Javascripts") 83 </head> 84 85 <body> 86 <!-- Google Tag Manager (noscript) --> 87 <noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-NBHL5FD" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> 88 <!-- End Google Tag Manager (noscript) --> 89 90 <div id="fb-root"></div> 91 <script>(function(d, s, id) { 92 var js, fjs = d.getElementsByTagName(s)[0]; 93 if (d.getElementById(id)) return; 94 js = d.createElement(s); js.id = id; 95 js.src = "//connect.facebook.net/da_DK/sdk.js#xfbml=1&version=v2.4&appId=245790212224546"; 96 fjs.parentNode.insertBefore(js, fjs); 97 }(document, 'script', 'facebook-jssdk'));</script> 98 99 <div id="header"> 100 101 @{ 102 //string add = "display:block;"; 103 int num = 0; 104 } 105 106 @if( Dynamicweb.eCommerce.Common.Context.Cart != null ) 107 { 108 var cart = Dynamicweb.eCommerce.Common.Context.Cart; 109 num = cart.OrderLines.Count(); 110 } else { 111 //add = "display:none;"; 112 } 113 114 <text> 115 <div id="act2learn_basket" style="cursor:pointer;" onclick="location.href='/Default.aspx?ID=201359';"> 116 <div class="count"> 117 <i class="fa fa-shopping-cart" style="margin-right:3px;font-size:13px;"></i> <span class="quantity">@(num)</span>. 118 </div><!-- 119 --><div class="participate"> 120 <a href="/Default.aspx?ID=201359">Gå til tilmelding</a> 121 </div> 122 </div> 123 </text> 124 125 126 <!--@Snippet(HeaderStart)--> 127 128 129 <div class="container"> 130 131 <div class="row desktop-navigation row-same-height"> 132 <div class="col-sm-2 logo"> 133 @{ 134 var logoLink = Dynamicweb.Frontend.PageView.Current().Area.ID == 17 ? "/" : "/english"; 135 } 136 <a href="@logoLink"><img border="0" class="img-logo" src="/Files/Templates/Designs/ucn2015/img/ucnlogo.svg" class="img-responsive"></a> 137 </div> 138 @if( HideNav ) 139 { 140 <text><div class="navigation-replacer col-md-10"></div></text> 141 @("<div class='navigation-hider hidden'>") 142 } 143 144 <div class="col-sm-9 main-navigation"> 145 @GetValue("DwNavigation(mainnavigationul)") 146 </div> 147 <div class="col-sm-1 lang-search"> 148 149 <form action='@(Dynamicweb.Frontend.SearchEngineFriendlyURLs.GetFriendlyUrl( Pageview.Area.Item["S_geside"].ToString()) )' method="get" class="top-search-form"> 150 <input id="topSearchBox" name="q"> 151 <button type="submit" value="" class="search-icon-top"> 152 <svg class="search-icon-top-svg"><use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="/Files/Templates/Designs/ucn2015/dist/icons/icons.svg#search"></use></svg> 153 </button> 154 </form> 155 156 @foreach (var language in GetLoop("Languages")) 157 { 158 if( !language.GetBoolean("IsCurrent") ) 159 { 160 string GoTo = ""; 161 if( !string.IsNullOrEmpty( language.GetString("PageID") ) && !language.GetBoolean("PageIsHidden") ) 162 { 163 GoTo = Dynamicweb.Frontend.SearchEngineFriendlyURLs.GetFriendlyUrl("default.aspx?id=" + language.GetString("PageID") ); 164 } 165 166 if( language.GetString("Culture").Equals("en-GB") ) 167 { 168 if( string.IsNullOrEmpty(GoTo) ) 169 { 170 GoTo = "/english"; 171 } 172 173 <text> 174 <span class="sel_lang"><a href='http://www.ucn.dk@(GoTo)' target="_self" title="Visit our English website" alt="Visit our English website"><img class="lang-flag" src="/Files/Templates/Designs/ucn2015/img/flag-gb.svg"></a></span> 175 </text> 176 } else { 177 <text> 178 <span class="sel_lang"><a href='http://www.ucn.dk@(GoTo)' target="_self" title="Besøg vores danske hjemmeside" alt="Besøg vores danske hjemmeside"><img class="lang-flag" src="/Files/Templates/Designs/ucn2015/img/flag-dk.svg"></a></span> 179 </text> 180 181 } 182 } 183 <!-- Culture: @(language.GetString("Culture")) - @(GetGlobalValue("Global:Area.Culture.Name").ToString())--> 184 } 185 186 @if( GetLoop("Languages").Count() <= 0 ) 187 { 188 if( Dynamicweb.Frontend.PageView.Current().Area.ID == 17 ) 189 { 190 <span class="sel_lang"><a href="http://www.ucn.dk/english" target="_self" title="Visit our English website" alt="Visit our English website"><img class="lang-flag" src="/Files/Templates/Designs/ucn2015/img/flag-gb.svg"></a></span> 191 } else { 192 <span class="sel_lang"><a href="http://www.ucn.dk" target="_self" title="Besøg vores danske hjemmeside" alt="Besøg vores danske hjemmeside"><img class="lang-flag" src="/Files/Templates/Designs/ucn2015/img/flag-dk.svg"></a></span> 193 } 194 } 195 196 197 198 199 200 201 </div> 202 203 @if( HideNav ) 204 { 205 @("</div>") 206 } 207 </div> 208 209 210 <div class="row mobile-navigation"> 211 <div class="pull-out mobile-navigation-sub " id="main-mobile-menu"> 212 <div> 213 <div class="top-links"> 214 @if( Dynamicweb.Frontend.PageView.Current().Area.ID == 17 ) 215 { 216 <span class="sel_lang"><a href="http://www.ucn.dk/english" target="_self" title="Visit our English website" alt="Visit our English website"><img class="lang-flag" src="/Files/Templates/Designs/ucn2015/img/flag-gb.svg"></a></span> 217 } else { 218 <span class="sel_lang"><a href="http://www.ucn.dk" target="_self" title="Besøg vores danske hjemmeside" alt="Besøg vores danske hjemmeside"><img class="lang-flag" src="/Files/Templates/Designs/ucn2015/img/flag-dk.svg"></a></span> 219 } 220 </div> 221 222 <div class="mobile-search"> 223 <form action='@(Pageview.Area.Item["S_geside"].ToString())' method="post"> 224 <input type="text" name="q" placeholder='@(Translate("search","Søg"))' value="@(presetSearch)"> 225 <button type="submit" value="" class="search-icon-mobile"> 226 <svg class="search-icon-mobile-svg"><use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="/Files/Templates/Designs/ucn2015/dist/icons/icons.svg#search"></use></svg> 227 </button> 228 </form> 229 </div> 230 231 @GetValue("DwNavigation(mainnavigationulmobile)") 232 233 234 </div> 235 236 </div> 237 <div> 238 239 240 <div class="button login-button" id="main-mobile-menu-button"> 241 <a href="javascript:"><svg class="mobile-navigation-svg"><use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="/Files/Templates/Designs/ucn2015/dist/icons/icons.svg#menu"></use></svg></a> 242 </div> 243 244 <div class="mobile-logo"> 245 <a href='/Default.aspx?ID=@(Pageview.Area.get_Value("AreaFirstPage"))'><img border="0" src="/Files/Templates/Designs/ucn2015/img/ucnlogo.svg" class="mobile-logo-img"></a> 246 </div> 247 248 <div style="clear:both;"></div> 249 </div> 250 251 252 </div> 253 254 </div> 255 </div> 256 257 258 259 <!--Content--> 260 261 262 263 <div class="small-content-area breadcrump-content-area"> 264 <div class="content"> 265 <div class="container"> 266 <div class="row"> 267 <div class="col-xs-12 text"> 268 <div class="hidden-xs hidden-sm breadcrump"> 269 @GetValue("DwNavigation(breadcrump)") 270 </div> 271 <!--<h2>@(GetValue("DwPageName"))</h2>--> 272 </div> 273 </div> 274 </div> 275 </div> 276 277 </div> 278 279 <div class="container top-spacing"> 280 <div class="row"> 281 <div class="col-xs-12 headline"> 282 <h1 class="h2">@Translate("contact_us","Kontakt UCN") 283 </h1></div> 284 </div> 285 <div class="row"> 286 <div class="col-md-12"> 287 <div class="search-page"> 288 289 290 @*<input type="text" class="search-box" id="education_search_box" style="width:25%" placeholder="Hvad vil du gerne studere?"> 291 *@ 292 <div class="sort-nav center-nav contact-sort-nav"> 293 @GetValue("DwNavigation(superAwesomeSubMenu)") 294 </div> 295 </div> 296 </div> 297 </div> 298 </div> 299 300 <div class="contact-bar contact-search-bar"> 301 <div class="contact-bar-background-graphic container"><svg class="contact-bar-background-graphic-svg"><use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="/Files/Templates/Designs/ucn2015/dist/icons/icons.svg#supergrafik"></use></svg></div> 302 <div class="container"> 303 <div class="row"> 304 <div class="col-md-6"> 305 <b class="search-field-name">@Translate("find_employee", "Find medarbejder")</b><br> 306 <div class="append_arrow full"> 307 <input type="text" name="friTekst" id="searchName" class="search-field" placeholder='@(Translate("search_name","Søg på navn"))'> 308 </div> 309 </div> 310 <div class="col-md-6"> 311 <b class="search-field-name">@Translate("find_department", "Find afdeling")</b><br> 312 313 314 <select name="afdeling" class="search-field" id="afdeling" placeholder='@(Translate("search_name","Søg på navn"))'> 315 <option value="">@Translate("all_departments", "Alle afdelinger")</option> 316 @{ 317 var group = Dynamicweb.eCommerce.Products.Group.GetGroupByID("GROUP189"); 318 var subs = group.Subgroups; 319 foreach (var g in subs) 320 { 321 if (!g.Name.ToLower().Contains("fritstillede")) 322 { 323 <text> 324 <option value='@(g.Name)'>@(Translate(g.Name, g.Name))</option></text> 325 } 326 } 327 } 328 329 </select> 330 331 332 </div> 333 </div> 334 335 @{ 336 Dynamicweb.Content.PageCollection links = new Dynamicweb.Content.PageCollection(); 337 System.Linq.IOrderedEnumerable<Dynamicweb.Content.Page> newLinks = null; 338 339 if (!string.IsNullOrEmpty(GetString("Item.PublisherLinks")) && GetInteger("Item.PublisherLinks") > 0) 340 { 341 342 int PublisherParentID = GetInteger("Item.PublisherLinks"); 343 Dynamicweb.Content.Page Parent = Dynamicweb.Content.Page.GetPageById(PublisherParentID); 344 links = Parent.Subpages; 345 newLinks = links.OrderBy(x => x.MenuText); 346 347 } 348 349 links = null; 350 } 351 352 @if (newLinks != null) 353 { 354 355 356 <div class="row alphalist"> 357 <div class="col-md-12"> 358 359 360 <b> 361 @Translate("alpha_search", "Alfabetisk søgning:") 362 @foreach (var p in newLinks) 363 { 364 <a href="javascript:" class="alphabet" attr-pageid='@(p.ID.ToString())'>@(p.MenuText)</a> 365 } 366 367 368 </b> 369 370 </div> 371 </div> 372 373 } 374 375 </div> 376 </div> 377 378 <div class="container"> 379 <div class="row"> 380 <div class="col-md-12" id="textcontent"> 381 @GetValue("DwContent(ifneededtext)") 382 </div> 383 </div> 384 </div> 385 386 <div id="employee-display">@GetValue("DwContent(employeedisplay)")</div> 387 388 <div class="container" id="main-container" style="display:none;margin-bottom: 50px;"> 389 <div class="row"> 390 <div class="col-md-12"> 391 <div class="search-page"> 392 393 <div class="container other-employees overskrift-row" style="margin-top:25px;"> 394 <div class="row"> 395 <div class="col-md-12"><span class="overskriften">@(GetValue("Item.Overskrift"))</span> <span class="afdelingen"></span></div> 396 </div> 397 </div> 398 399 <div id="search-results" class="employee-search-results"> 400 401 </div> 402 <div class="load-more" style="margin-bottom:25px;"> 403 <img src="/Files/Templates/Designs/ucn2015/img/ajax-loader.gif" class="loading-spinner"> 404 <span class="text">@Translate("load_more","Indlæs flere")</span> 405 </div> 406 </div> 407 </div> 408 </div> 409 </div> 410 411 <div class="container"> 412 <div class="row"> 413 <div class="col-md-12" id="textcontent"> 414 @GetValue("DwContent(contentUnderResults)") 415 </div> 416 </div> 417 </div> 418 419 420 <!--@SnippetStart(BotInc)--> 421 <script type="text/javascript"> 422 423 var StdEmployeeId = '@(Translate("default_employee_feed_id","200357"))'; 424 var StdEmployeeAddressId = '@(Translate("default_employee_address_id","200655"))'; 425 426 $.fn.isOnScreen = function(){ 427 var viewport = {}; 428 viewport.top = $(window).scrollTop(); 429 viewport.bottom = viewport.top + $(window).height(); 430 var bounds = {}; 431 bounds.top = this.offset().top; 432 bounds.bottom = bounds.top + this.outerHeight(); 433 return ((bounds.top <= viewport.bottom) && (bounds.bottom >= viewport.top)); 434 }; 435 436 var number = 1; 437 var extras = ""; 438 439 var afdeling = ""; 440 441 var group = ""; 442 443 var keyUpTimer; 444 445 var originalUrl = '@(GetValue("Item.FeedLink"))'; 446 var currentUrl = '@(GetValue("Item.FeedLink"))'; 447 var originalTitle = '@(GetValue("Item.Overskrift"))'; 448 449 function resetParams() 450 { 451 $('#searchName').val(""); 452 $('#afdeling option[value=""]').prop('selected', true); 453 454 afdeling = ""; 455 extras = ""; 456 457 } 458 459 $(function() 460 { 461 462 if( typeof(emptyHeadline) != "undefined" && emptyHeadline == true ) 463 { 464 $('.overskrift-row').hide(); 465 } 466 467 $('.alphabet').click(function() 468 { 469 resetParams(); 470 reload(); 471 $('.afdelingen').text(""); 472 473 var pageId = $(this).attr('attr-pageId'); 474 currentUrl = "/Default.aspx?ID=" + pageId; 475 476 $('.overskriften').text( '@(Translate("alpha_search_employee","Alfabetisk søgning efter medarbejder")) \'' + $(this).html() + '\'' ); 477 478 loadPage(number); 479 480 }); 481 482 $('.load-more').click(function() 483 { 484 number++; 485 loadPage(number); 486 }); 487 488 489 $('#searchName').keyup(function() 490 { 491 currentUrl = '/Default.aspx?ID=' + StdEmployeeId; 492 493 if( $('.employee-container').length > 0 ) 494 { 495 $('.employee-container').slideUp(); 496 } 497 498 var that = this; 499 clearTimeout( keyUpTimer ); 500 keyUpTimer = setTimeout(function() 501 { 502 503 reload(); 504 505 if( $(that).val() == "" ) 506 { 507 $('.overskriften').text( originalTitle ); 508 currentUrl = originalUrl; 509 } else { 510 $('.overskriften').text( '@(Translate("employee_search","Medarbejdersøgning")) \''+$(that).val()+'\'' ); 511 extras = "&navn=" + encodeURIComponent( $(that).val() ); 512 } 513 514 if( $('#afdeling').val() == "" && $(that).val() == "" ) 515 { 516 $('.afdelingen').text(""); 517 } else if( $('#afdeling').val() != "" && $(that).val() != "" ) 518 { 519 $('.afdelingen').text('@(Translate("in","i")) ' + $("#afdeling option:selected").text() ); 520 } 521 522 loadPage(number); 523 }, 500); 524 }); 525 526 $('#afdeling').change(function() 527 { 528 529 if( $('.employee-container').length > 0 ) 530 { 531 $('.employee-container').slideUp(); 532 } 533 534 currentUrl = '/Default.aspx?ID=' + StdEmployeeId; 535 536 var appendToHeader = '@(Translate("in","i")) ' + $("#afdeling option:selected").text(); 537 538 if( $('.overskriften').text() == '@(Translate("employee_search","Medarbejdersøgning"))' || $('.overskriften').text().indexOf('@(Translate("alphabetic","Alfabetisk"))') > -1 ) 539 { 540 currentUrl = '/Default.aspx?ID=' + StdEmployeeId; 541 $('.overskriften').text( '@(Translate("employee_search","Medarbejdersøgning"))'); 542 appendToHeader = ""; 543 544 } else if( $(this).val() == "" && $('#searchName').val() == "" ) 545 { 546 $('.overskriften').text( originalTitle ); 547 currentUrl = originalUrl; 548 appendToHeader = ""; 549 } else if( $(this).val() == "" && $('#searchName').val() != "" ) { 550 appendToHeader = ' @(Translate("all_departments","i alle afdelinger"))'; 551 } else if( $('.overskriften').text().indexOf('@(Translate("other","Andre"))') > -1 ) 552 { 553 $('.overskriften').text( originalTitle ); 554 currentUrl = originalUrl; 555 } else { 556 $('.overskriften').text("Medarbejdere"); 557 } 558 559 setDepartment( $(this).val() ); 560 $('.afdelingen').text( appendToHeader ); 561 }); 562 563 if( typeof(presetDepartment) != "undefined" ) 564 { 565 console.log(presetDepartment); 566 afdeling = presetDepartment; 567 $('#afdeling option[value="' + afdeling + '"]').prop('selected', true); 568 $('.afdelingen').text("i " + presetDepartment); 569 570 } 571 572 if( typeof(presetAdresse) != "undefined") 573 { 574 currentUrl = "/Default.aspx?ID=" + StdEmployeeAddressId + "&adresse=" + presetAdresse; 575 } 576 577 if( typeof(presetHeadline) != "undefined") 578 { 579 console.log("Lad os ændre til " + presetHeadline); 580 $('.overskriften').text(presetHeadline); 581 //$('.afdelingen').text(""); 582 } 583 584 if( typeof(removeMoreLink) != "undefined" ) 585 { 586 if( removeMoreLink == true ) 587 { 588 $('.load-more').fadeOut(); 589 } 590 } 591 592 if( originalUrl != "" ) 593 { 594 loadPage(number); 595 } else { 596 $('.load-more').fadeOut(); 597 } 598 }); 599 600 function reload() 601 { 602 $('.overskriften').text(originalTitle); 603 number = 1; 604 extras = ""; 605 $('#search-results').html(""); 606 } 607 608 function loadPage(num) 609 { 610 611 $('.load-more').find('.text').hide(); 612 $('.load-more').find('.loading-spinner').show(); 613 614 if( typeof( num ) == "undefined" ) 615 { 616 num = 1; 617 } 618 619 620 var exclude = ""; 621 if( typeof(excludeProduct) != "undefined" ) 622 { 623 exclude = "&exclude=" + excludeProduct; 624 } 625 626 $.get( currentUrl + '&PageNum=' + num + extras + "&afdeling=" + encodeURIComponent(afdeling) + exclude, function(data) 627 { 628 if( $(data).filter('.employee-row').length <= 0 && num <= 1 ) 629 { 630 $('.load-more').fadeOut(); 631 $('#search-results').html( '@(Translate("no_found","Ingen medarbejdere fundet."))' ); 632 } 633 else if( ( $(data).filter('.employee-row').length ) < 10 ) 634 { 635 $('.load-more').fadeOut(); 636 } else { 637 $('.load-more').fadeIn(); 638 } 639 640 $('#search-results').append( data ); 641 642 $('.load-more').find('.loading-spinner').hide(); 643 $('.load-more').find('.text').show(); 644 645 if( $('#search-results').find('.employee-row').length > 0 ) 646 { 647 $('#main-container').slideDown(); 648 } 649 650 if( typeof(removeMoreLink) != "undefined" ) 651 { 652 if( removeMoreLink == true ) 653 { 654 $('.load-more').fadeOut(); 655 } 656 } 657 658 } ); 659 } 660 661 662 function setDepartment(department) 663 { 664 afdeling = department; 665 $('#search-results').html(""); 666 number = 1; 667 loadPage(number); 668 } 669 </script> 670 <!--@SnippetEnd(BotInc)--> 671 672 <!--Footer--> 673 <footer class="footer"> 674 <div class="container footer-main"> 675 <div class="footer-supergrafik"><svg class="footer-supergrafik-svg"><use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="/Files/Templates/Designs/ucn2015/dist/icons/icons.svg#supergrafik"></use></svg> </div> 676 <div class="general-links"> 677 @GetValue("DwNavigation(generallinksnavigation)") 678 </div> 679 680 <div class="global-mega-menu"> 681 <div class="row"> 682 @GetValue("DwNavigation(globalmegasuperaswesomemenu)") 683 684 685 <!--<div class="dwcontent" id="global-mega-super-aswesome-menu" title="Global menu" settings="items-allowed:GlobalMenuelement;template:Megamenu.cshtml;unwrap:true;"></div>--> 686 </div> 687 </div> 688 689 </div> 690 <div class="social-media-footer-max"> 691 <div class="social-media-footer container"> 692 <a href="/" class="social-media-footer-logo"><svg class="social-media-footer-svg"><use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="/Files/Templates/Designs/ucn2015/dist/icons/icons.svg#logo-byline"></use></svg></a> 693 <div class="social-media-footer-departments"> 694 <a href='@(Pageview.Area.Item["Omr_delink"].ToString())'>Aalborg</a> 695 <a href='@(Pageview.Area.Item["Omr_delink"].ToString())'>Hjørring</a> 696 <a href='@(Pageview.Area.Item["Omr_delink"].ToString())'>Thisted</a> 697 </div> 698 <div class="social-media-footer-text"> 699 <div class="social-media-footer-phone">Tel. @(Pageview.Area.Item["Telefonnummer"])</div> 700 <a class="social-media-footer-email" href='mailto:@(Pageview.Area.Item["Email"].ToString())'>@(Pageview.Area.Item["Email"])</a> 701 </div> 702 <div class="social-icons"> 703 @if( !string.IsNullOrEmpty( Pageview.Area.Item["Facebook"].ToString() ) ) 704 { 705 <text> 706 <a href='@Pageview.Area.Item["Facebook"]' target="_blank"> 707 <svg class="social-media-svg"><use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="/Files/Templates/Designs/ucn2015/dist/icons/icons.svg#some-facebook"></use></svg> 708 </a> 709 </text> 710 } 711 @if( !string.IsNullOrEmpty( Pageview.Area.Item["Twitter"].ToString() ) ) 712 { 713 <text> 714 <a href='@Pageview.Area.Item["Twitter"]' target="_blank"> 715 <svg class="social-media-svg"><use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="/Files/Templates/Designs/ucn2015/dist/icons/icons.svg#some-twitter"></use></svg> 716 </a> 717 </text> 718 } 719 @if( !string.IsNullOrEmpty( Pageview.Area.Item["Youtube"].ToString() ) ) 720 { 721 <text> 722 <a href='@Pageview.Area.Item["Youtube"]' target="_blank"> 723 <svg class="social-media-svg"><use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="/Files/Templates/Designs/ucn2015/dist/icons/icons.svg#some-youtube"></use></svg> 724 </a> 725 </text> 726 } 727 @if( !string.IsNullOrEmpty( Pageview.Area.Item["Pinterest"].ToString() ) ) 728 { 729 <text> 730 <a href='@Pageview.Area.Item["Pinterest"]' target="_blank"> 731 <svg class="social-media-svg"><use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="/Files/Templates/Designs/ucn2015/dist/icons/icons.svg#some-pinterest"></use></svg> 732 </a> 733 </text> 734 } 735 @if( !string.IsNullOrEmpty( Pageview.Area.Item["Google_"].ToString() ) ) 736 { 737 <text> 738 <a href='@Pageview.Area.Item["Google_"]' target="_blank"> 739 <svg class="social-media-svg"><use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="/Files/Templates/Designs/ucn2015/dist/icons/icons.svg#some-googleplus"></use></svg> 740 </a> 741 </text> 742 } 743 @if( !string.IsNullOrEmpty( Pageview.Area.Item["Instagram"].ToString() ) ) 744 { 745 <text> 746 <a href='@Pageview.Area.Item["Instagram"]' target="_blank"> 747 <svg class="social-media-svg"><use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="/Files/Templates/Designs/ucn2015/dist/icons/icons.svg#some-instagram"></use></svg> 748 </a> 749 </text> 750 } 751 </div> 752 </div> 753 </div> 754 </footer> 755 <script src="@Helpers.GetRevisionNumber(vendorFile)"></script> 756 <script src="@Helpers.GetRevisionNumber(jsfiles)"></script> 757 <!--<script src="js/carousel-swipe.js"></script>--> 758 <script src="@Helpers.GetRevisionNumber(masterFile)"></script> 759 <script type="text/javascript"> 760 761 <!--@Snippet(Js)--> 762 763 /*$(function() 764 { 765 $('a[href']).each(function(index) { 766 if( $(this).attr('href') == "javascript:?_route=true" ) 767 { 768 $(this).attr('href','javascript:'); 769 } 770 }); 771 });*/ 772 773 774 @if( Dynamicweb.Frontend.PageView.Current().Area.ID == 17 ) 775 { 776 <text> 777 var link ="/"; 778 var Title = "Forside"; 779 </text> 780 } else { 781 <text> 782 var link ="/english"; 783 var Title = "Home"; 784 </text> 785 } 786 787 $(function() { 788 $('.mobile-navigation-sub ul.M0').prepend( $('<li><a href="'+link+'">'+Title+'</a></li>') ); 789 790 }) 791 </script> 792 793 <!--@Snippet(BotInc)--> 794 795 <!--@OverrideRoute--> 796 797 798 <!--Siteimprove implementation--> 799 <script type="text/javascript"> 800 /*<![CDATA[*/ 801 (function() { 802 var sz = document.createElement('script'); sz.type = 'text/javascript'; sz.async = true; 803 sz.src = '//ssl.siteimprove.com/js/siteanalyze_63467.js'; 804 var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(sz, s); 805 })(); 806 /*]]>*/ 807 </script> 808 <!--Siteimprove end--> 809 <!-- Facebook Pixel Code --> 810 <script> 811 !function(f,b,e,v,n,t,s){if(f.fbq)return;n=f.fbq=function(){n.callMethod? 812 n.callMethod.apply(n,arguments):n.queue.push(arguments)};if(!f._fbq)f._fbq=n; 813 n.push=n;n.loaded=!0;n.version='2.0';n.queue=[];t=b.createElement(e);t.async=!0; 814 t.src=v;s=b.getElementsByTagName(e)[0];s.parentNode.insertBefore(t,s)}(window, 815 document,'script','https://connect.facebook.net/en_US/fbevents.js'); 816 fbq('init', '1072831816161505', { 817 em: 'insert_email_variable,' 818 }); 819 fbq('track', 'PageView'); 820 </script> 821 <noscript><img height="1" width="1" style="display:none" src="https://www.facebook.com/tr?id=1072831816161505&ev=PageView&noscript=1"></noscript> 822 <!-- DO NOT MODIFY --> 823 <!-- End Facebook Pixel Code --> 824 825 <!-- Facebook Pixel Code --> 826 <script> 827 !function(f,b,e,v,n,t,s) 828 {if(f.fbq)return;n=f.fbq=function(){n.callMethod? 829 n.callMethod.apply(n,arguments):n.queue.push(arguments)}; 830 if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0'; 831 n.queue=[];t=b.createElement(e);t.async=!0; 832 t.src=v;s=b.getElementsByTagName(e)[0]; 833 s.parentNode.insertBefore(t,s)}(window, document,'script', 834 'https://connect.facebook.net/en_US/fbevents.js'); 835 fbq('init', '116529629020368'); 836 fbq('track', 'PageView'); 837 </script> 838 <noscript><img height="1" width="1" style="display:none" src="https://www.facebook.com/tr?id=116529629020368&ev=PageView&noscript=1"></noscript> 839 <!-- End Facebook Pixel Code --> 840 841 </body> 842 </html> 843