Error compiling template "Designs/SSTemplate/_parsed/news.parsed.cshtml"
Line 1506: Invalid expression term '%'
Line 1506: Syntax error, ',' expected
Line 1514: Invalid expression term '%'
Line 1514: Syntax error, ',' expected
Line 1506: The name 'Item' does not exist in the current context
Line 1514: The name 'Item' does not exist in the current context

1 //------------------------------------------------------------------------------ 2 // <auto-generated> 3 // This code was generated by a tool. 4 // Runtime Version:4.0.30319.42000 5 // 6 // Changes to this file may cause incorrect behavior and will be lost if 7 // the code is regenerated. 8 // </auto-generated> 9 //------------------------------------------------------------------------------ 10 11 namespace CompiledRazorTemplates.Dynamic { 12 using System; 13 using System.Collections.Generic; 14 15 #line 5 "E:\dynamicweb.net\Solutions\Sendistovan\folkaheilsa.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml" 16 using System.Linq; 17 18 #line default 19 #line hidden 20 21 #line 1 "E:\dynamicweb.net\Solutions\Sendistovan\folkaheilsa.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml" 22 using System.Web.Mvc; 23 24 #line default 25 #line hidden 26 27 #line 316 "E:\dynamicweb.net\Solutions\Sendistovan\folkaheilsa.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml" 28 using System.Text.RegularExpressions; 29 30 #line default 31 #line hidden 32 33 #line 317 "E:\dynamicweb.net\Solutions\Sendistovan\folkaheilsa.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml" 34 using System.Web; 35 36 #line default 37 #line hidden 38 39 #line 4 "E:\dynamicweb.net\Solutions\Sendistovan\folkaheilsa.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml" 40 using System.IO; 41 42 #line default 43 #line hidden 44 45 46 public class RazorEngine_5a49457c6b6440a8a6df55c25efd72b3 : Dynamicweb.Rendering.RazorTemplateBase<Dynamicweb.Rendering.RazorTemplateModel<Dynamicweb.Rendering.Template>> { 47 48 #line hidden 49 50 public RazorEngine_5a49457c6b6440a8a6df55c25efd72b3() { 51 } 52 53 public override void Execute() { 54 55 #line 6 "E:\dynamicweb.net\Solutions\Sendistovan\folkaheilsa.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml" 56 57 string topmentype=@GetString("Item.Area.NavAndSearch.Navigation"); 58 string basecss = "/Files/Templates/Designs/SSTemplate/css/base.css"; 59 string ifolder = basecss.Substring(0, basecss.LastIndexOf("/")).ToString(); 60 string ifolderOnDisk = System.Web.HttpContext.Current.Server.MapPath(ifolder); 61 DirectoryInfo idirectoryInfo = new System.IO.DirectoryInfo(ifolderOnDisk); 62 string idatefetch=@idirectoryInfo+"\\base.css"; 63 DateTime ilastmodified = File.GetLastWriteTime(@idatefetch); 64 basecss=@basecss+"?modified="+@ilastmodified.ToString("yyyy-MM-ddTHH:mm:ss"); 65 string stylecss = "/Files/Templates/Designs/SSTemplate/css/styles.css"; 66 string ufolder = stylecss.Substring(0, stylecss.LastIndexOf("/")).ToString(); 67 string ufolderOnDisk = System.Web.HttpContext.Current.Server.MapPath(ufolder); 68 DirectoryInfo udirectoryInfo = new System.IO.DirectoryInfo(ufolderOnDisk); 69 string udatefetch=@udirectoryInfo+"\\style.css"; 70 string searchplaceholder=@GetString("Item.Area.NavAndSearch.PlaceholderTekstur"); 71 ViewBag.BaseLogo = @GetString("Item.Area.Design.Logo"); 72 DateTime ulastmodified = File.GetLastWriteTime(@udatefetch); 73 stylecss=@stylecss+"?modified="+@ulastmodified.ToString("yyyy-MM-ddTHH:mm:ss"); 74 75 76 #line default 77 #line hidden 78 WriteLiteral("\r\n\r\n\r\n"); 79 80 81 #line 27 "E:\dynamicweb.net\Solutions\Sendistovan\folkaheilsa.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml" 82 83 string logo=@GetString("Item.Area.Design.Logo"); 84 string kolofonimg=@GetString("Item.Area.Design.Ikon"); 85 86 87 #line default 88 #line hidden 89 WriteLiteral("<!DOCTYPE html>\r\n<html"); 90 91 WriteLiteral(" lang=\"fo\""); 92 93 WriteLiteral(">\r\n\r\n"); 94 95 96 #line 33 "E:\dynamicweb.net\Solutions\Sendistovan\folkaheilsa.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml" 97 98 99 #line default 100 #line hidden 101 102 #line 33 "E:\dynamicweb.net\Solutions\Sendistovan\folkaheilsa.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml" 103 104 string pageid=@GetString("DwPageID"); 105 string readspeak=@GetString("Item.Area.Funktionalitetir.BaseUr")+"?id="+pageid; 106 string pagenametit=@GetString("DwPageName"); 107 108 string pagearea=@GetString("DwPageID_1"); 109 pagearea="top"+pagearea; 110 ViewBag.BaseUrl = @GetString("Item.Area.Uppseting.BaseUr"); 111 ViewBag.StoddStarvs = @GetString("Item.Page.StoddStarv"); 112 113 114 #line default 115 #line hidden 116 WriteLiteral("<head>\r\n <meta"); 117 118 WriteLiteral(" charset=\"utf-8\""); 119 120 WriteLiteral(">\r\n <meta"); 121 122 WriteLiteral(" http-equiv=\"X-UA-Compatible\""); 123 124 WriteLiteral(" content=\"IE=edge\""); 125 126 WriteLiteral(">\r\n <meta"); 127 128 WriteLiteral(" name=\"viewport\""); 129 130 WriteLiteral(" content=\"width=device-width, initial-scale=1\""); 131 132 WriteLiteral(">\r\n \r\n <meta"); 133 134 WriteLiteral(" name=\"author\""); 135 136 WriteLiteral(" content=\"\""); 137 138 WriteLiteral(">\r\n <meta"); 139 140 WriteLiteral(" property=\"og:url\""); 141 142 WriteAttribute("content", Tuple.Create(" content=\"", 2131), Tuple.Create("\"", 2151) 143 144 #line 48 "E:\dynamicweb.net\Solutions\Sendistovan\folkaheilsa.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml" 145 , Tuple.Create(Tuple.Create("", 2141), Tuple.Create<System.Object, System.Int32>(readspeak 146 147 #line default 148 #line hidden 149 , 2141), false) 150 ); 151 152 WriteLiteral(">\r\n\t <meta"); 153 154 WriteLiteral(" property=\"og:locale\""); 155 156 WriteLiteral(" content=\"fo_FO\""); 157 158 WriteLiteral(">\r\n\t <meta"); 159 160 WriteLiteral(" property=\"og:title\""); 161 162 WriteAttribute("content", Tuple.Create(" content=\"", 2233), Tuple.Create("\"", 2255) 163 164 #line 50 "E:\dynamicweb.net\Solutions\Sendistovan\folkaheilsa.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml" 165 , Tuple.Create(Tuple.Create("", 2243), Tuple.Create<System.Object, System.Int32>(pagenametit 166 167 #line default 168 #line hidden 169 , 2243), false) 170 ); 171 172 WriteLiteral(">\r\n <meta"); 173 174 WriteLiteral(" name=\"google-site-verification\""); 175 176 WriteLiteral(" content=\"_8UkOXR321xXc60VV1folaRbl3pukMQpv1ifNUwjZXU\""); 177 178 WriteLiteral(">\r\n <link"); 179 180 WriteLiteral(" rel=\"shortcut icon\""); 181 182 WriteLiteral(" type=\"image/ico\""); 183 184 WriteLiteral(" href=\"/Files/Templates/Designs/SSTemplate/img/favicon.ico\""); 185 186 WriteLiteral(">\r\n <link"); 187 188 WriteLiteral(" rel=\"shortcut icon\""); 189 190 WriteLiteral(" type=\"image/png\""); 191 192 WriteLiteral(" href=\"/Files/Templates/Designs/SSTemplate/img/favicon.png\""); 193 194 WriteLiteral(">\r\n"); 195 196 WriteLiteral("\t\t"); 197 198 199 #line 54 "E:\dynamicweb.net\Solutions\Sendistovan\folkaheilsa.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml" 200 Write(RenderSnippet("FBimg")); 201 202 203 #line default 204 #line hidden 205 WriteLiteral(" \r\n \r\n"); 206 207 208 #line 56 "E:\dynamicweb.net\Solutions\Sendistovan\folkaheilsa.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml" 209 210 211 #line default 212 #line hidden 213 214 #line 56 "E:\dynamicweb.net\Solutions\Sendistovan\folkaheilsa.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml" 215 foreach(LoopItem i in GetLoop("Item.Area.Design.Fontar")){ 216 217 218 219 #line default 220 #line hidden 221 222 #line 58 "E:\dynamicweb.net\Solutions\Sendistovan\folkaheilsa.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml" 223 Write(i.GetString("Item.Area.Design.Fontar.Font")); 224 225 226 #line default 227 #line hidden 228 229 #line 58 "E:\dynamicweb.net\Solutions\Sendistovan\folkaheilsa.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml" 230 231 232 } 233 234 235 #line default 236 #line hidden 237 WriteLiteral(" <link"); 238 239 WriteLiteral(" rel=\"stylesheet\""); 240 241 WriteLiteral(" href=\"https://maxcdn.bootstrapcdn.com/bootstrap/4.1.0/css/bootstrap.min.css\""); 242 243 WriteLiteral(">\r\n \r\n"); 244 245 246 #line 63 "E:\dynamicweb.net\Solutions\Sendistovan\folkaheilsa.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml" 247 248 249 #line default 250 #line hidden 251 252 #line 63 "E:\dynamicweb.net\Solutions\Sendistovan\folkaheilsa.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml" 253 if(@GetBoolean("Item.Area.Design.DeveloperMode")!=true) { 254 255 256 #line default 257 #line hidden 258 WriteLiteral(" "); 259 260 WriteLiteral("\r\n <link"); 261 262 WriteLiteral(" rel=\"stylesheet\""); 263 264 WriteAttribute("href", Tuple.Create(" href=\"", 2944), Tuple.Create("\"", 2959) 265 266 #line 65 "E:\dynamicweb.net\Solutions\Sendistovan\folkaheilsa.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml" 267 , Tuple.Create(Tuple.Create("", 2951), Tuple.Create<System.Object, System.Int32>(basecss 268 269 #line default 270 #line hidden 271 , 2951), false) 272 ); 273 274 WriteLiteral(">\r\n <link"); 275 276 WriteLiteral(" rel=\"stylesheet\""); 277 278 WriteAttribute("href", Tuple.Create(" href=\"", 2987), Tuple.Create("\"", 3009) 279 280 #line 66 "E:\dynamicweb.net\Solutions\Sendistovan\folkaheilsa.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml" 281 , Tuple.Create(Tuple.Create("", 2994), Tuple.Create<System.Object, System.Int32>(stylecss 282 283 #line default 284 #line hidden 285 , 2994), false) 286 , Tuple.Create(Tuple.Create("", 3003), Tuple.Create("&force", 3003), true) 287 ); 288 289 WriteLiteral(">\r\n <link"); 290 291 WriteLiteral(" type=\"text/css\""); 292 293 WriteLiteral(" rel=\"stylesheet\""); 294 295 WriteLiteral(" href=\"/Files/Templates/Designs/SSTemplate/css/base-mobil.css\""); 296 297 WriteLiteral(">\r\n <link"); 298 299 WriteLiteral(" type=\"text/css\""); 300 301 WriteLiteral(" rel=\"stylesheet\""); 302 303 WriteLiteral(" href=\"/Files/Templates/Designs/SSTemplate/css/styles-mobil.css\""); 304 305 WriteLiteral(">\r\n "); 306 307 WriteLiteral(" \r\n"); 308 309 310 #line 70 "E:\dynamicweb.net\Solutions\Sendistovan\folkaheilsa.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml" 311 } 312 313 314 #line default 315 #line hidden 316 WriteLiteral("\r\n"); 317 318 319 #line 72 "E:\dynamicweb.net\Solutions\Sendistovan\folkaheilsa.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml" 320 foreach (LoopItem i in GetLoop("Item.Area.Design.Fila")){ 321 322 323 #line default 324 #line hidden 325 WriteLiteral("\r\n"); 326 327 328 #line 74 "E:\dynamicweb.net\Solutions\Sendistovan\folkaheilsa.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml" 329 330 string nustyle=@i.GetString("Item.Area.Design.Fila.Leinki"); 331 332 333 #line default 334 #line hidden 335 WriteLiteral("\r\n<link"); 336 337 WriteLiteral(" rel=\"stylesheet\""); 338 339 WriteAttribute("href", Tuple.Create(" href=\"", 3403), Tuple.Create("\"", 3418) 340 341 #line 77 "E:\dynamicweb.net\Solutions\Sendistovan\folkaheilsa.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml" 342 , Tuple.Create(Tuple.Create("", 3410), Tuple.Create<System.Object, System.Int32>(nustyle 343 344 #line default 345 #line hidden 346 , 3410), false) 347 ); 348 349 WriteLiteral(" type=\"text/css\""); 350 351 WriteLiteral(">\r\n"); 352 353 WriteLiteral("\r\n"); 354 355 356 #line 79 "E:\dynamicweb.net\Solutions\Sendistovan\folkaheilsa.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml" 357 } 358 359 360 #line default 361 #line hidden 362 WriteLiteral("\r\n<link"); 363 364 WriteLiteral(" rel=\"stylesheet\""); 365 366 WriteLiteral(" href=\"/Files/Templates/Designs/SSTemplate/Navik/navik.menu.css\""); 367 368 WriteLiteral(">\r\n\r\n"); 369 370 371 #line 83 "E:\dynamicweb.net\Solutions\Sendistovan\folkaheilsa.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml" 372 Write(GetValue("CopyRightNotice")); 373 374 375 #line default 376 #line hidden 377 WriteLiteral("\r\n"); 378 379 380 #line 84 "E:\dynamicweb.net\Solutions\Sendistovan\folkaheilsa.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml" 381 Write(GetValue("MetaTags")); 382 383 384 #line default 385 #line hidden 386 WriteLiteral("\r\n"); 387 388 389 #line 85 "E:\dynamicweb.net\Solutions\Sendistovan\folkaheilsa.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml" 390 Write(GetValue("Stylesheets")); 391 392 393 #line default 394 #line hidden 395 WriteLiteral("\r\n"); 396 397 398 #line 86 "E:\dynamicweb.net\Solutions\Sendistovan\folkaheilsa.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml" 399 Write(GetValue("Javascripts")); 400 401 402 #line default 403 #line hidden 404 WriteLiteral("\r\n</head>\r\n\r\n<body>\r\n <script"); 405 406 WriteLiteral(" src=\"https://consent.cookiefirst.com/banner.js\""); 407 408 WriteLiteral(" data-cookiefirst-key=\"fca4ccf0-ffa7-4818-9280-ea2413e31ebe\""); 409 410 WriteLiteral("></script>\r\n <div"); 411 412 WriteLiteral(" class=\"container-fluid\""); 413 414 WriteLiteral(" style=\"background-color:#3D7241; \""); 415 416 WriteLiteral(">\r\n <div"); 417 418 WriteLiteral(" class=\"row\""); 419 420 WriteLiteral(">\r\n <div"); 421 422 WriteLiteral(" class=\"col-12 text-center\""); 423 424 WriteLiteral(" style=\"color:#FFF; padding:10px 0px !important;\""); 425 426 WriteLiteral(">\r\n Síðan verður ikki dagførd, víst verður til heimasíðuna hjá Heilsustýri" + 427 "num <a"); 428 429 WriteLiteral(" style=\"color:#FFF;\""); 430 431 WriteLiteral(" href=\"//www.hst.fo\""); 432 433 WriteLiteral(">www.hst.fo</a>\r\n </div>\r\n </div>\r\n </div>\r\n <div"); 434 435 WriteLiteral(" class=\"container-fluid toptopmenholder d-none d-xl-block\""); 436 437 WriteLiteral(">\r\n <div"); 438 439 WriteLiteral(" class=\"container\""); 440 441 WriteLiteral(">\r\n <div"); 442 443 WriteLiteral(" class=\"row\""); 444 445 WriteLiteral(">\r\n <div"); 446 447 WriteLiteral(" class=\"col-3 toplogo\""); 448 449 WriteLiteral(">\r\n <a"); 450 451 WriteLiteral(" href=\"/default.aspx\""); 452 453 WriteLiteral("><img"); 454 455 WriteLiteral(" src=\"/Files/Templates/Designs/SSTemplate/img/logo-landscape@2x.png\""); 456 457 WriteLiteral(" class=\"toplogo\""); 458 459 WriteLiteral("></a>\r\n </div>\r\n <div"); 460 461 WriteLiteral(" class=\"toptopmenu col-9\""); 462 463 WriteLiteral(">\r\n"); 464 465 WriteLiteral(" "); 466 467 468 #line 105 "E:\dynamicweb.net\Solutions\Sendistovan\folkaheilsa.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml" 469 Write(GetValue("DwNavigation(toptopmenu)")); 470 471 472 #line default 473 #line hidden 474 WriteLiteral("\r\n</div>\r\n </div>\r\n </div>\r\n\r\n </div>\r\n\r\n"); 475 476 WriteLiteral(" "); 477 478 479 #line 112 "E:\dynamicweb.net\Solutions\Sendistovan\folkaheilsa.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml" 480 Write(GetString("Item.Area.SomeAndShare.FacebookJaascriptSDK")); 481 482 483 #line default 484 #line hidden 485 WriteLiteral("\r\n\r\n"); 486 487 488 #line 114 "E:\dynamicweb.net\Solutions\Sendistovan\folkaheilsa.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml" 489 490 491 #line default 492 #line hidden 493 494 #line 114 "E:\dynamicweb.net\Solutions\Sendistovan\folkaheilsa.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml" 495 if(@topmentype=="Default"){ 496 497 498 #line default 499 #line hidden 500 WriteLiteral(" <!-- Header -->\n"); 501 502 WriteLiteral("\t<div"); 503 504 WriteLiteral(" class=\"navik-header no-sticky header-shadow\""); 505 506 WriteLiteral(">\n\t\t<div"); 507 508 WriteLiteral(" class=\"container\""); 509 510 WriteLiteral(">\n\n\t\t\t<!-- Navik header -->\n\t\t\t<div"); 511 512 WriteLiteral(" class=\"navik-header-container\""); 513 514 WriteLiteral(">\n\t\t\t\t\n\t\t\t\t<!--Logo-->\n <div"); 515 516 WriteLiteral(" class=\"logo\""); 517 518 WriteLiteral(" data-mobile-logo=\"/Files/Templates/Designs/SSTemplate/img/logo-landscape@2x.png\"" + 519 ""); 520 521 WriteLiteral(">\n <a"); 522 523 WriteLiteral(" href=\"/default.aspx\""); 524 525 WriteLiteral("><img"); 526 527 WriteLiteral(" src=\"/Files/Templates/Designs/SSTemplate/demo/images/logo-dark.png\""); 528 529 WriteLiteral(" class=\"mainlogo\""); 530 531 WriteLiteral("></a>\n</div>\n\t\t\t\t<!-- Burger menu -->\n\t\t\t\t<div"); 532 533 WriteLiteral(" class=\"burger-menu\""); 534 535 WriteLiteral(">\n\t\t\t\t\t<div"); 536 537 WriteLiteral(" class=\"line-menu line-half first-line\""); 538 539 WriteLiteral("></div>\n\t\t\t\t\t<div"); 540 541 WriteLiteral(" class=\"line-menu\""); 542 543 WriteLiteral("></div>\n\t\t\t\t\t<div"); 544 545 WriteLiteral(" class=\"line-menu line-half last-line\""); 546 547 WriteLiteral("></div>\n\t\t\t\t</div>\n\n\t\t\t\t<!--Navigation menu-->\n <nav"); 548 549 WriteLiteral(" class=\"navik-menu submenu-top-border\""); 550 551 WriteLiteral(">\n"); 552 553 WriteLiteral(" "); 554 555 556 #line 135 "E:\dynamicweb.net\Solutions\Sendistovan\folkaheilsa.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml" 557 Write(GetValue("DwNavigation(ssnavikmen)")); 558 559 560 #line default 561 #line hidden 562 WriteLiteral("\n </nav>\n\n\t\t\t\n\n\n\n\t\t\t<form"); 563 564 WriteLiteral(" class=\"searchbox d-none d-xl-inline\""); 565 566 WriteLiteral(" name=\"leita\""); 567 568 WriteLiteral(" method=\"get\""); 569 570 WriteLiteral(" action=\"/default.aspx\""); 571 572 WriteLiteral(">\n\n\t\t\t\t<span"); 573 574 WriteLiteral(" class=\"icon-search\""); 575 576 WriteLiteral(" onclick=\"document.forms[\'leita\'].submit();\""); 577 578 WriteLiteral("></span>\n\t\t\t\t<input"); 579 580 WriteLiteral(" type=\"text\""); 581 582 WriteLiteral(" class=\"leitifelt\""); 583 584 WriteLiteral(" name=\"q\""); 585 586 WriteLiteral(" placeholder=\"Leita á folkaheilsa.fo\""); 587 588 WriteLiteral(">\n\t\t\t\t<input"); 589 590 WriteLiteral(" type=\"hidden\""); 591 592 WriteLiteral(" value=\"47\""); 593 594 WriteLiteral(" name=\"id\""); 595 596 WriteLiteral(">\n\t\t\t</form>\n\t\t\n\t\t\t</div>\n\t\t</div>\n\n\t</div>\n"); 597 598 599 #line 153 "E:\dynamicweb.net\Solutions\Sendistovan\folkaheilsa.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml" 600 601 602 } 603 else if(@topmentype=="Default with seperate line"){ 604 605 606 #line default 607 #line hidden 608 WriteLiteral(" <!-- Header -->\n"); 609 610 WriteLiteral("\t<div"); 611 612 WriteLiteral(" class=\"navik-header header-shadow\""); 613 614 WriteLiteral(">\n\t\t<div"); 615 616 WriteLiteral(" class=\"container\""); 617 618 WriteLiteral(">\n\n\t\t\t<!-- Navik header -->\n\t\t\t<div"); 619 620 WriteLiteral(" class=\"navik-header-container\""); 621 622 WriteLiteral(">\n\t\t\t\t\n\t\t\t\t<!--Logo-->\n <div"); 623 624 WriteLiteral(" class=\"logo\""); 625 626 WriteLiteral(" data-mobile-logo=\"demo/images/logo-dark.png\""); 627 628 WriteLiteral(" data-sticky-logo=\"demo/images/logo-dark.png\""); 629 630 WriteLiteral(">\n \t<a"); 631 632 WriteLiteral(" href=\"#\""); 633 634 WriteLiteral("><img"); 635 636 WriteLiteral(" src=\"/Files/Templates/Designs/SSTemplate/demo/images/logo-dark.png\""); 637 638 WriteLiteral(" alt=\"logo\""); 639 640 WriteLiteral("></a>\n\t\t\t\t</div>\n\t\t\t\t\n\t\t\t\t<!-- Burger menu -->\n\t\t\t\t<div"); 641 642 WriteLiteral(" class=\"burger-menu\""); 643 644 WriteLiteral(">\n\t\t\t\t\t<div"); 645 646 WriteLiteral(" class=\"line-menu line-half first-line\""); 647 648 WriteLiteral("></div>\n\t\t\t\t\t<div"); 649 650 WriteLiteral(" class=\"line-menu\""); 651 652 WriteLiteral("></div>\n\t\t\t\t\t<div"); 653 654 WriteLiteral(" class=\"line-menu line-half last-line\""); 655 656 WriteLiteral("></div>\n\t\t\t\t</div>\n\n\t\t\t\t<!--Navigation menu-->\n <nav"); 657 658 WriteLiteral(" class=\"navik-menu separate-line submenu-top-border submenu-scale\""); 659 660 WriteLiteral(">\n"); 661 662 WriteLiteral(" "); 663 664 665 #line 178 "E:\dynamicweb.net\Solutions\Sendistovan\folkaheilsa.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml" 666 Write(GetValue("DwNavigation(ssnavikmen2)")); 667 668 669 #line default 670 #line hidden 671 WriteLiteral("\n </nav>\n\n\t\t\t</div>\n\n\t\t</div>\n\t</div>\n"); 672 673 674 #line 185 "E:\dynamicweb.net\Solutions\Sendistovan\folkaheilsa.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml" 675 676 } 677 else if(@topmentype=="Default transparent"){ 678 679 680 #line default 681 #line hidden 682 WriteLiteral(" <!-- Header -->\n"); 683 684 WriteLiteral("\t<div"); 685 686 WriteLiteral(" class=\"navik-header header-transparent header-shadow\""); 687 688 WriteLiteral(">\n\t\t<div"); 689 690 WriteLiteral(" class=\"container\""); 691 692 WriteLiteral(">\n\n\t\t\t<!-- Navik header -->\n\t\t\t<div"); 693 694 WriteLiteral(" class=\"navik-header-container\""); 695 696 WriteLiteral(">\n\t\t\t\t\n\t\t\t\t<!--Logo-->\n <div"); 697 698 WriteLiteral(" class=\"logo\""); 699 700 WriteLiteral(" data-mobile-logo=\"demo/images/logo-dark.png\""); 701 702 WriteLiteral(" data-sticky-logo=\"demo/images/logo-dark.png\""); 703 704 WriteLiteral(">\n \t<a"); 705 706 WriteLiteral(" href=\"#\""); 707 708 WriteLiteral("><img"); 709 710 WriteLiteral(" src=\"/Files/Templates/Designs/SSTemplate/demo/images/logo-dark.png\""); 711 712 WriteLiteral(" alt=\"logo\""); 713 714 WriteLiteral("></a>\n\t\t\t\t</div>\n\t\t\t\t\n\t\t\t\t<!-- Burger menu -->\n\t\t\t\t<div"); 715 716 WriteLiteral(" class=\"burger-menu\""); 717 718 WriteLiteral(">\n\t\t\t\t\t<div"); 719 720 WriteLiteral(" class=\"line-menu line-half first-line\""); 721 722 WriteLiteral("></div>\n\t\t\t\t\t<div"); 723 724 WriteLiteral(" class=\"line-menu\""); 725 726 WriteLiteral("></div>\n\t\t\t\t\t<div"); 727 728 WriteLiteral(" class=\"line-menu line-half last-line\""); 729 730 WriteLiteral("></div>\n\t\t\t\t</div>\n\n\t\t\t\t<!--Navigation menu-->\n <nav"); 731 732 WriteLiteral(" class=\"navik-menu separate-line submenu-top-border submenu-scale\""); 733 734 WriteLiteral(">\n"); 735 736 WriteLiteral(" "); 737 738 739 #line 209 "E:\dynamicweb.net\Solutions\Sendistovan\folkaheilsa.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml" 740 Write(GetValue("DwNavigation(ssnavikmen3)")); 741 742 743 #line default 744 #line hidden 745 WriteLiteral("\n </nav>\n\n\t\t\t</div>\n\n\t\t</div>\n\t</div>\n"); 746 747 748 #line 216 "E:\dynamicweb.net\Solutions\Sendistovan\folkaheilsa.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml" 749 750 } 751 else if(@topmentype=="Default overlay header"){ 752 753 754 #line default 755 #line hidden 756 WriteLiteral(" <!-- Header -->\n"); 757 758 WriteLiteral("\t<div"); 759 760 WriteLiteral(" class=\"navik-header header-opacity header-shadow\""); 761 762 WriteLiteral(">\n\t\t<div"); 763 764 WriteLiteral(" class=\"container\""); 765 766 WriteLiteral(">\n\n\t\t\t<!-- Navik header -->\n\t\t\t<div"); 767 768 WriteLiteral(" class=\"navik-header-container\""); 769 770 WriteLiteral(">\n\t\t\t\t\n\t\t\t\t<!--Logo-->\n <div"); 771 772 WriteLiteral(" class=\"logo\""); 773 774 WriteLiteral(" data-mobile-logo=\"demo/images/logo-dark.png\""); 775 776 WriteLiteral(" data-sticky-logo=\"demo/images/logo-dark.png\""); 777 778 WriteLiteral(">\n \t<a"); 779 780 WriteLiteral(" href=\"#\""); 781 782 WriteLiteral("><img"); 783 784 WriteLiteral(" src=\"/Files/Templates/Designs/SSTemplate/demo/images/logo-dark.png\""); 785 786 WriteLiteral(" alt=\"logo\""); 787 788 WriteLiteral("></a>\n\t\t\t\t</div>\n\t\t\t\t\n\t\t\t\t<!-- Burger menu -->\n\t\t\t\t<div"); 789 790 WriteLiteral(" class=\"burger-menu\""); 791 792 WriteLiteral(">\n\t\t\t\t\t<div"); 793 794 WriteLiteral(" class=\"line-menu line-half first-line\""); 795 796 WriteLiteral("></div>\n\t\t\t\t\t<div"); 797 798 WriteLiteral(" class=\"line-menu\""); 799 800 WriteLiteral("></div>\n\t\t\t\t\t<div"); 801 802 WriteLiteral(" class=\"line-menu line-half last-line\""); 803 804 WriteLiteral("></div>\n\t\t\t\t</div>\n\n\t\t\t\t<!--Navigation menu-->\n <nav"); 805 806 WriteLiteral(" class=\"navik-menu separate-line submenu-top-border submenu-scale\""); 807 808 WriteLiteral(">\n"); 809 810 WriteLiteral(" "); 811 812 813 #line 240 "E:\dynamicweb.net\Solutions\Sendistovan\folkaheilsa.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml" 814 Write(GetValue("DwNavigation(ssnavikmen4)")); 815 816 817 #line default 818 #line hidden 819 WriteLiteral("\n </nav>\n\n\t\t\t</div>\n\n\t\t</div>\n\t</div>\n"); 820 821 822 #line 247 "E:\dynamicweb.net\Solutions\Sendistovan\folkaheilsa.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml" 823 824 } 825 else if(@topmentype=="Horizontal Menu Icons"){ 826 827 828 #line default 829 #line hidden 830 WriteLiteral(" <!-- Header -->\n"); 831 832 WriteLiteral("\t<div"); 833 834 WriteLiteral(" class=\"navik-header header-shadow center-menu-2\""); 835 836 WriteLiteral(">\n\t\t<div"); 837 838 WriteLiteral(" class=\"container\""); 839 840 WriteLiteral(">\n\n\t\t\t<!-- Navik header -->\n\t\t\t<div"); 841 842 WriteLiteral(" class=\"navik-header-container\""); 843 844 WriteLiteral(">\n\t\t\t\t\n\t\t\t\t<!--Logo-->\n <div"); 845 846 WriteLiteral(" class=\"logo\""); 847 848 WriteLiteral(" data-mobile-logo=\"demo/images/logo-dark.png\""); 849 850 WriteLiteral(" data-sticky-logo=\"demo/images/logo-dark.png\""); 851 852 WriteLiteral(">\n \t<a"); 853 854 WriteLiteral(" href=\"#\""); 855 856 WriteLiteral("><img"); 857 858 WriteLiteral(" src=\"/Files/Templates/Designs/SSTemplate/demo/images/logo-dark.png\""); 859 860 WriteLiteral(" alt=\"logo\""); 861 862 WriteLiteral("></a>\n\t\t\t\t</div>\n\t\t\t\t\n\t\t\t\t<!-- Burger menu -->\n\t\t\t\t<div"); 863 864 WriteLiteral(" class=\"burger-menu\""); 865 866 WriteLiteral(">\n\t\t\t\t\t<div"); 867 868 WriteLiteral(" class=\"line-menu line-half first-line\""); 869 870 WriteLiteral("></div>\n\t\t\t\t\t<div"); 871 872 WriteLiteral(" class=\"line-menu\""); 873 874 WriteLiteral("></div>\n\t\t\t\t\t<div"); 875 876 WriteLiteral(" class=\"line-menu line-half last-line\""); 877 878 WriteLiteral("></div>\n\t\t\t\t</div>\n\n\t\t\t\t<!--Navigation menu-->\n <nav"); 879 880 WriteLiteral(" class=\"navik-menu separate-line submenu-top-border submenu-scale\""); 881 882 WriteLiteral(">\n"); 883 884 WriteLiteral(" "); 885 886 887 #line 271 "E:\dynamicweb.net\Solutions\Sendistovan\folkaheilsa.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml" 888 Write(GetValue("DwNavigation(ssnavikmen5)")); 889 890 891 #line default 892 #line hidden 893 WriteLiteral("\n </nav>\n\n\t\t\t</div>\n\n\t\t</div>\n\t</div>\n"); 894 895 896 #line 278 "E:\dynamicweb.net\Solutions\Sendistovan\folkaheilsa.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml" 897 898 } 899 else if(@topmentype=="Overlay Menu Icons"){} 900 else if(@topmentype=="Mega Menu"){} 901 else if(@topmentype=="Mega Menu Fullwidth"){} 902 else if(@topmentype=="Center 1"){} 903 else if(@topmentype=="Center 1 with separate line"){} 904 else if(@topmentype=="Center 1 transparent"){} 905 else if(@topmentype=="Center 1 overlay header"){} 906 else if(@topmentype=="Center 2"){} 907 else if(@topmentype=="Center 2 with separate line"){} 908 else if(@topmentype=="Center 2 transparent"){} 909 else if(@topmentype=="Center 2 overlay header"){} 910 else if(@topmentype=="Fullscreen overlay"){} 911 else if(@topmentype=="Fullscreen overlay center"){} 912 else if(@topmentype=="Fullscreen overlay with vertical submenu"){} 913 else if(@topmentype=="Fullscreen overlay center with vertical submenu"){} 914 else if(@topmentype=="Sidebar slide menu"){} 915 else if(@topmentype=="Fixed sidebar left menu"){} 916 else if(@topmentype=="Fixed sidebar right menu"){} 917 918 919 #line default 920 #line hidden 921 WriteLiteral(" \r\n\r\n\r\n"); 922 923 924 #line 301 "E:\dynamicweb.net\Solutions\Sendistovan\folkaheilsa.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml" 925 if(GetBoolean("Item.ShowBradcrumbs") == true) 926 { 927 928 #line default 929 #line hidden 930 WriteLiteral("\r\n <div"); 931 932 WriteLiteral(" class=\"container-fluid mb-0 bread\""); 933 934 WriteLiteral(">\r\n <div"); 935 936 WriteLiteral(" class=\"container\""); 937 938 WriteLiteral(">\r\n <div"); 939 940 WriteLiteral(" class=\"row\""); 941 942 WriteLiteral(">\r\n <div"); 943 944 WriteLiteral(" class=\"bread col my-2\""); 945 946 WriteLiteral(">\r\n"); 947 948 WriteLiteral(" "); 949 950 951 #line 307 "E:\dynamicweb.net\Solutions\Sendistovan\folkaheilsa.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml" 952 Write(GetValue("DwNavigation(bread)")); 953 954 955 #line default 956 #line hidden 957 WriteLiteral("\r\n </div>\r\n </div>\r\n </div>\r\n </div> \r\n "); 958 959 WriteLiteral("\r\n"); 960 961 962 #line 313 "E:\dynamicweb.net\Solutions\Sendistovan\folkaheilsa.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml" 963 } 964 965 966 #line default 967 #line hidden 968 WriteLiteral(" <!--- BREADCRUMB --->\r\n \r\n"); 969 970 971 #line 316 "E:\dynamicweb.net\Solutions\Sendistovan\folkaheilsa.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml" 972 973 974 #line default 975 #line hidden 976 WriteLiteral("\n"); 977 978 979 #line 319 "E:\dynamicweb.net\Solutions\Sendistovan\folkaheilsa.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml" 980 981 string mynd=@GetString("Item.Area.Design.FacebookDeilFallback"); 982 string fbmynd=@mynd; 983 string play=""; 984 string videostart=""; 985 986 987 988 #line default 989 #line hidden 990 WriteLiteral("\n"); 991 992 993 #line 326 "E:\dynamicweb.net\Solutions\Sendistovan\folkaheilsa.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml" 994 if(!string.IsNullOrEmpty(@GetString("Item.Video"))){play="<span class='icon-media-video'></span>"; videostart="videostart";} 995 else {play="";} 996 997 998 #line default 999 #line hidden 1000 WriteLiteral("\n"); 1001 1002 1003 #line 329 "E:\dynamicweb.net\Solutions\Sendistovan\folkaheilsa.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml" 1004 if(!String.IsNullOrEmpty(GetString("Item.Mynd"))){ 1005 mynd = @GetString("Item.Mynd"); 1006 fbmynd="https://www.folkaheilsa.fo/admin/public/getimage.ashx?image="+@mynd+"&width=800&crop=0"; 1007 fbmynd=HttpUtility.UrlPathEncode(@fbmynd); 1008 } 1009 1010 1011 #line default 1012 #line hidden 1013 WriteLiteral("\n\n"); 1014 1015 1016 #line 336 "E:\dynamicweb.net\Solutions\Sendistovan\folkaheilsa.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml" 1017 Write(SnippetStart("FBimg")); 1018 1019 1020 #line default 1021 #line hidden 1022 WriteLiteral("\n<meta property=\"og:image\" content=\""); 1023 1024 1025 #line 337 "E:\dynamicweb.net\Solutions\Sendistovan\folkaheilsa.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml" 1026 Write(fbmynd); 1027 1028 1029 #line default 1030 #line hidden 1031 WriteLiteral("\">\n"); 1032 1033 1034 #line 338 "E:\dynamicweb.net\Solutions\Sendistovan\folkaheilsa.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml" 1035 Write(SnippetEnd("FBimg")); 1036 1037 1038 #line default 1039 #line hidden 1040 WriteLiteral("\n\n\n\n <div class=\"container newsintro-parent\">\n <div class=\"row\">\n " + 1041 " <div class=\"col-sm-9 offset-md-2 col-md-7 mt-5 newsintro\">\n <p " + 1042 "class=\"dato\">"); 1043 1044 1045 #line 345 "E:\dynamicweb.net\Solutions\Sendistovan\folkaheilsa.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml" 1046 Write(GetDate("Item.Dato").ToString("dd. MMMM yyyy")); 1047 1048 1049 #line default 1050 #line hidden 1051 WriteLiteral("</p>\n <h1>"); 1052 1053 1054 #line 346 "E:\dynamicweb.net\Solutions\Sendistovan\folkaheilsa.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml" 1055 Write(GetString("Item.Yvirskrift")); 1056 1057 1058 #line default 1059 #line hidden 1060 WriteLiteral(" </h1>\n"); 1061 1062 1063 #line 347 "E:\dynamicweb.net\Solutions\Sendistovan\folkaheilsa.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml" 1064 1065 1066 #line default 1067 #line hidden 1068 1069 #line 347 "E:\dynamicweb.net\Solutions\Sendistovan\folkaheilsa.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml" 1070 if(!String.IsNullOrEmpty(GetString("Item.Inngangstekstur"))){ 1071 1072 1073 #line default 1074 #line hidden 1075 WriteLiteral(" <p"); 1076 1077 WriteLiteral(" class=\"introIII mt-4 mb-1\""); 1078 1079 WriteLiteral(">"); 1080 1081 1082 #line 348 "E:\dynamicweb.net\Solutions\Sendistovan\folkaheilsa.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml" 1083 Write(GetString("Item.Inngangstekstur")); 1084 1085 1086 #line default 1087 #line hidden 1088 WriteLiteral("</p> "); 1089 1090 1091 #line 348 "E:\dynamicweb.net\Solutions\Sendistovan\folkaheilsa.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml" 1092 } 1093 1094 1095 #line default 1096 #line hidden 1097 WriteLiteral(" </div>\n </div>\n </div> <!--- INTRO TEXT --->\n\n <div" + 1098 " class=\"container newsshare-parent\">\n <div class=\"row\">\n"); 1099 1100 1101 #line 355 "E:\dynamicweb.net\Solutions\Sendistovan\folkaheilsa.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml" 1102 1103 1104 #line default 1105 #line hidden 1106 1107 #line 355 "E:\dynamicweb.net\Solutions\Sendistovan\folkaheilsa.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml" 1108 if(@GetBoolean("Item.MogulleikaFyriAtDeila")==true){ 1109 1110 1111 #line default 1112 #line hidden 1113 WriteLiteral(" "); 1114 1115 WriteLiteral("\n <div"); 1116 1117 WriteLiteral(" class=\"col-md-1 share-parent\""); 1118 1119 WriteLiteral(">\n \n \n \n <div"); 1120 1121 WriteLiteral(" class=\"linja mt-5\""); 1122 1123 WriteLiteral("></div>\n <p"); 1124 1125 WriteLiteral(" class=\"share\""); 1126 1127 WriteLiteral(">Deil:</p>\n <a"); 1128 1129 WriteLiteral(" href=\"#\""); 1130 1131 WriteLiteral(" onclick=\"window.open(\'https://www.facebook.com/sharer/sharer.php?u=\'+encodeURICo" + 1132 "mponent(location.href),\'facebook-share-dialog\',\'width=626,height=436\');return fa" + 1133 "lse;\""); 1134 1135 WriteLiteral("><span"); 1136 1137 WriteLiteral(" class=\"icon-share-facebook\""); 1138 1139 WriteLiteral("><span"); 1140 1141 WriteLiteral(" class=\"path1\""); 1142 1143 WriteLiteral("></span><span"); 1144 1145 WriteLiteral(" class=\"path2\""); 1146 1147 WriteLiteral("></span><span"); 1148 1149 WriteLiteral(" class=\"path3\""); 1150 1151 WriteLiteral("></span></span></a>\n"); 1152 1153 1154 #line 364 "E:\dynamicweb.net\Solutions\Sendistovan\folkaheilsa.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml" 1155 1156 1157 #line default 1158 #line hidden 1159 1160 #line 364 "E:\dynamicweb.net\Solutions\Sendistovan\folkaheilsa.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml" 1161 1162 string pagename=@GetString("DwPageName"); 1163 string pagelink=@HttpContext.Current.Request.Url.AbsoluteUri; 1164 1165 1166 #line default 1167 #line hidden 1168 WriteLiteral("\n <a"); 1169 1170 WriteAttribute("href", Tuple.Create(" href=\"", 12931), Tuple.Create("\"", 12997) 1171 , Tuple.Create(Tuple.Create("", 12938), Tuple.Create("mailto:?Subject=", 12938), true) 1172 1173 #line 368 "E:\dynamicweb.net\Solutions\Sendistovan\folkaheilsa.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml" 1174 , Tuple.Create(Tuple.Create("", 12954), Tuple.Create<System.Object, System.Int32>(pagename 1175 1176 #line default 1177 #line hidden 1178 , 12954), false) 1179 , Tuple.Create(Tuple.Create("", 12963), Tuple.Create("&body=Trýst", 12963), true) 1180 , Tuple.Create(Tuple.Create(" ", 12974), Tuple.Create("á", 12975), true) 1181 , Tuple.Create(Tuple.Create(" ", 12976), Tuple.Create("leinki", 12977), true) 1182 , Tuple.Create(Tuple.Create(" ", 12983), Tuple.Create("her", 12984), true) 1183 1184 #line 368 "E:\dynamicweb.net\Solutions\Sendistovan\folkaheilsa.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml" 1185 , Tuple.Create(Tuple.Create(" ", 12987), Tuple.Create<System.Object, System.Int32>(pagelink 1186 1187 #line default 1188 #line hidden 1189 , 12988), false) 1190 ); 1191 1192 WriteLiteral("><span"); 1193 1194 WriteLiteral(" class=\"icon-share-email\""); 1195 1196 WriteLiteral("><span"); 1197 1198 WriteLiteral(" class=\"path1\""); 1199 1200 WriteLiteral("></span><span"); 1201 1202 WriteLiteral(" class=\"path2\""); 1203 1204 WriteLiteral("></span><span"); 1205 1206 WriteLiteral(" class=\"path3\""); 1207 1208 WriteLiteral("></span></span></a>\n \n \n </div>\n "); 1209 1210 WriteLiteral("\n"); 1211 1212 1213 #line 373 "E:\dynamicweb.net\Solutions\Sendistovan\folkaheilsa.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml" 1214 } 1215 1216 1217 #line default 1218 #line hidden 1219 WriteLiteral(" <div class=\"col-12 col-md-10 newsmynd-parent\">\n"); 1220 1221 1222 #line 375 "E:\dynamicweb.net\Solutions\Sendistovan\folkaheilsa.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml" 1223 1224 1225 #line default 1226 #line hidden 1227 1228 #line 375 "E:\dynamicweb.net\Solutions\Sendistovan\folkaheilsa.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml" 1229 if(!String.IsNullOrEmpty(@GetString("Item.Mynd"))){ 1230 1231 1232 #line default 1233 #line hidden 1234 WriteLiteral(" "); 1235 1236 WriteLiteral("\n \n \n <div"); 1237 1238 WriteAttribute("class", Tuple.Create(" class=\"", 13363), Tuple.Create("\"", 13405) 1239 , Tuple.Create(Tuple.Create("", 13371), Tuple.Create("newsitemimage", 13371), true) 1240 , Tuple.Create(Tuple.Create(" ", 13384), Tuple.Create("relative", 13385), true) 1241 1242 #line 379 "E:\dynamicweb.net\Solutions\Sendistovan\folkaheilsa.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml" 1243 , Tuple.Create(Tuple.Create(" ", 13393), Tuple.Create<System.Object, System.Int32>(videostart 1244 1245 #line default 1246 #line hidden 1247 , 13394), false) 1248 ); 1249 1250 WriteLiteral(">\n"); 1251 1252 1253 #line 380 "E:\dynamicweb.net\Solutions\Sendistovan\folkaheilsa.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml" 1254 1255 1256 #line default 1257 #line hidden 1258 1259 #line 380 "E:\dynamicweb.net\Solutions\Sendistovan\folkaheilsa.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml" 1260 1261 int focalx=@GetInteger("Item.Mynd.FocalX"); 1262 int focaly=@GetInteger("Item.Mynd.FocalY"); 1263 1264 1265 #line default 1266 #line hidden 1267 WriteLiteral("\n <img"); 1268 1269 WriteAttribute("src", Tuple.Create(" src=\"", 13571), Tuple.Create("\"", 13665) 1270 , Tuple.Create(Tuple.Create("", 13577), Tuple.Create("/Admin/Public/Getimage.ashx?image=", 13577), true) 1271 1272 #line 384 "E:\dynamicweb.net\Solutions\Sendistovan\folkaheilsa.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml" 1273 , Tuple.Create(Tuple.Create("", 13611), Tuple.Create<System.Object, System.Int32>(mynd 1274 1275 #line default 1276 #line hidden 1277 , 13611), false) 1278 , Tuple.Create(Tuple.Create("", 13616), Tuple.Create("&width=970&height=auto&Crop=7&x=", 13616), true) 1279 1280 #line 384 "E:\dynamicweb.net\Solutions\Sendistovan\folkaheilsa.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml" 1281 , Tuple.Create(Tuple.Create("", 13648), Tuple.Create<System.Object, System.Int32>(focalx 1282 1283 #line default 1284 #line hidden 1285 , 13648), false) 1286 , Tuple.Create(Tuple.Create("", 13655), Tuple.Create("&y=", 13655), true) 1287 1288 #line 384 "E:\dynamicweb.net\Solutions\Sendistovan\folkaheilsa.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml" 1289 , Tuple.Create(Tuple.Create("", 13658), Tuple.Create<System.Object, System.Int32>(focaly 1290 1291 #line default 1292 #line hidden 1293 , 13658), false) 1294 ); 1295 1296 WriteLiteral(" class=\"img-fluid mt-3 mb-3\""); 1297 1298 WriteLiteral(">\n"); 1299 1300 1301 #line 385 "E:\dynamicweb.net\Solutions\Sendistovan\folkaheilsa.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml" 1302 Write(play); 1303 1304 1305 #line default 1306 #line hidden 1307 WriteLiteral("\n</div>\n "); 1308 1309 WriteLiteral("\n"); 1310 1311 1312 #line 388 "E:\dynamicweb.net\Solutions\Sendistovan\folkaheilsa.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml" 1313 } 1314 1315 1316 #line default 1317 #line hidden 1318 WriteLiteral(" \n </div>\n <div class=\"col-12 offset-md-1 col-md-10 news" + 1319 "myndatekstur\">\n"); 1320 1321 1322 #line 392 "E:\dynamicweb.net\Solutions\Sendistovan\folkaheilsa.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml" 1323 1324 1325 #line default 1326 #line hidden 1327 1328 #line 392 "E:\dynamicweb.net\Solutions\Sendistovan\folkaheilsa.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml" 1329 if(!String.IsNullOrEmpty(GetString("Item.Myndatekstur"))){ 1330 1331 1332 #line default 1333 #line hidden 1334 WriteLiteral(" "); 1335 1336 WriteLiteral("\n <p"); 1337 1338 WriteLiteral(" class=\"myndatekstur ml-2\""); 1339 1340 WriteLiteral(">"); 1341 1342 1343 #line 394 "E:\dynamicweb.net\Solutions\Sendistovan\folkaheilsa.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml" 1344 Write(GetString("Item.Myndatekstur")); 1345 1346 1347 #line default 1348 #line hidden 1349 WriteLiteral("</p>\n "); 1350 1351 1352 #line 395 "E:\dynamicweb.net\Solutions\Sendistovan\folkaheilsa.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml" 1353 } 1354 1355 1356 #line default 1357 #line hidden 1358 WriteLiteral(" </div>\n </div>\n </div> <!--- MYND --->\n\n\n <div class=\"co" + 1359 "ntainer newscont\">\n <div class=\"row\">\n <div class=\"col-12 col-sm" + 1360 "-7 offset-sm-2 newstekstur\">\n"); 1361 1362 WriteLiteral(" "); 1363 1364 1365 #line 404 "E:\dynamicweb.net\Solutions\Sendistovan\folkaheilsa.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml" 1366 Write(GetString("Item.Tekstur")); 1367 1368 1369 #line default 1370 #line hidden 1371 WriteLiteral("\n </div>\n </div>\n </div>\n\n\n"); 1372 1373 1374 #line 410 "E:\dynamicweb.net\Solutions\Sendistovan\folkaheilsa.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml" 1375 if(!String.IsNullOrEmpty(@GetString("Item.TeksturKnap")) && !String.IsNullOrEmpty(@GetString("Item.LeinkiKnappur"))){ 1376 1377 1378 #line default 1379 #line hidden 1380 WriteLiteral("\n <div"); 1381 1382 WriteLiteral(" class=\"container newsknaplink-parent\""); 1383 1384 WriteLiteral(">\n <div"); 1385 1386 WriteLiteral(" class=\"row\""); 1387 1388 WriteLiteral(">\n <div"); 1389 1390 WriteLiteral(" class=\"col-12 offset-sm-2 \""); 1391 1392 WriteLiteral(">\n <h2"); 1393 1394 WriteLiteral(" class=\"alternative newsknaplink offset-sm-2\""); 1395 1396 WriteLiteral(">"); 1397 1398 1399 #line 415 "E:\dynamicweb.net\Solutions\Sendistovan\folkaheilsa.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml" 1400 Write(GetString("Item.YvirskriftTilKnapp")); 1401 1402 1403 #line default 1404 #line hidden 1405 WriteLiteral("</h2>\n </div>\n <a"); 1406 1407 WriteAttribute("href", Tuple.Create(" href=\'", 14678), Tuple.Create("\'", 14717) 1408 1409 #line 417 "E:\dynamicweb.net\Solutions\Sendistovan\folkaheilsa.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml" 1410 , Tuple.Create(Tuple.Create("", 14685), Tuple.Create<System.Object, System.Int32>(GetString("Item.LeinkiKnappur") 1411 1412 #line default 1413 #line hidden 1414 , 14685), false) 1415 ); 1416 1417 WriteLiteral(" class=\"col-12 col-sm-7 offset-sm-2 oydublad my-3\""); 1418 1419 WriteLiteral(">\n"); 1420 1421 WriteLiteral(" "); 1422 1423 1424 #line 418 "E:\dynamicweb.net\Solutions\Sendistovan\folkaheilsa.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml" 1425 Write(GetString("Item.TeksturKnap")); 1426 1427 1428 #line default 1429 #line hidden 1430 WriteLiteral(" <span"); 1431 1432 WriteLiteral(" class=\"icon-download taknidur\""); 1433 1434 WriteLiteral("></span>\n </a>\n </div> \n </div>\n\n"); 1435 1436 WriteLiteral("\n"); 1437 1438 1439 #line 424 "E:\dynamicweb.net\Solutions\Sendistovan\folkaheilsa.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml" 1440 } 1441 1442 1443 #line default 1444 #line hidden 1445 WriteLiteral("\n <div class=\"container newsgallery-parent\">\n <div class=\"row\">\n <h2 cla" + 1446 "ss=\"offset-sm-2 alternative\">"); 1447 1448 1449 #line 428 "E:\dynamicweb.net\Solutions\Sendistovan\folkaheilsa.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml" 1450 Write(GetString("Item.YvirskrftMyndasavn")); 1451 1452 1453 #line default 1454 #line hidden 1455 WriteLiteral("</h2>\n <div class=\"card-columns offset-md-1 col-md-9 col-12\" id=\"lightgallery\"" + 1456 ">\n \n"); 1457 1458 1459 #line 431 "E:\dynamicweb.net\Solutions\Sendistovan\folkaheilsa.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml" 1460 1461 1462 #line default 1463 #line hidden 1464 1465 #line 431 "E:\dynamicweb.net\Solutions\Sendistovan\folkaheilsa.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml" 1466 1467 foreach(var file in GetLoop("Item.Mappa.ListOfFiles")){ 1468 1469 1470 #line default 1471 #line hidden 1472 WriteLiteral(" <div"); 1473 1474 WriteLiteral(" class=\"card mb-4 \""); 1475 1476 WriteLiteral("> <a"); 1477 1478 WriteLiteral(" class=\"item\""); 1479 1480 WriteAttribute("href", Tuple.Create(" href=\'", 15264), Tuple.Create("\'", 15332) 1481 1482 #line 433 "E:\dynamicweb.net\Solutions\Sendistovan\folkaheilsa.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml" 1483 , Tuple.Create(Tuple.Create("", 15271), Tuple.Create<System.Object, System.Int32>(GetValue("Item.Mappa") 1484 1485 #line default 1486 #line hidden 1487 , 15271), false) 1488 , Tuple.Create(Tuple.Create("", 15294), Tuple.Create("/", 15294), true) 1489 1490 #line 433 "E:\dynamicweb.net\Solutions\Sendistovan\folkaheilsa.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml" 1491 , Tuple.Create(Tuple.Create("", 15295), Tuple.Create<System.Object, System.Int32>(file.GetValue("Item.Mappa.FileName") 1492 1493 #line default 1494 #line hidden 1495 , 15295), false) 1496 ); 1497 1498 WriteLiteral("><img"); 1499 1500 WriteLiteral(" class=\"card-img\""); 1501 1502 WriteAttribute("src", Tuple.Create(" src=\'", 15355), Tuple.Create("\'", 15511) 1503 , Tuple.Create(Tuple.Create("", 15361), Tuple.Create("/admin/public/getimage.ashx?&Image=", 15361), true) 1504 1505 #line 433 "E:\dynamicweb.net\Solutions\Sendistovan\folkaheilsa.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml" 1506 , Tuple.Create(Tuple.Create("", 15396), Tuple.Create<System.Object, System.Int32>(GetValue(%22Item.Mappa%22) 1507 1508 #line default 1509 #line hidden 1510 , 15396), false) 1511 , Tuple.Create(Tuple.Create("", 15423), Tuple.Create("/", 15423), true) 1512 1513 #line 433 "E:\dynamicweb.net\Solutions\Sendistovan\folkaheilsa.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml" 1514 , Tuple.Create(Tuple.Create("", 15424), Tuple.Create<System.Object, System.Int32>(file.GetValue(%22Item.Mappa.FileName%22) 1515 1516 #line default 1517 #line hidden 1518 , 15424), false) 1519 , Tuple.Create(Tuple.Create("", 15465), Tuple.Create("&Resolution=75&Compression=90&Width=200&Crop=0", 15465), true) 1520 ); 1521 1522 WriteLiteral("></a>\n </div>\n"); 1523 1524 1525 #line 435 "E:\dynamicweb.net\Solutions\Sendistovan\folkaheilsa.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml" 1526 } 1527 1528 1529 #line default 1530 #line hidden 1531 WriteLiteral(" \n \n </div>\n <div class=\"col-md-12 offset-1 col-12\">\n \t " + 1532 " <p class=\"myndatekstur ml-2\">"); 1533 1534 1535 #line 440 "E:\dynamicweb.net\Solutions\Sendistovan\folkaheilsa.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml" 1536 Write(GetString("Item.TeksturTilMyndasavn")); 1537 1538 1539 #line default 1540 #line hidden 1541 WriteLiteral(@"</p> 1542 </div> 1543 1544 </div> 1545 </div> <!--- MASONRY ---> 1546 1547 1548 1549 <div class=""container mb-5 hide""> 1550 <div class=""row""> 1551 <div class=""col-12 next""> 1552 <div class=""text-right""> 1553 <a href=""#""><p>Næst</p> <span class=""icon-arrow-right""></span></a> 1554 </div> 1555 </div> 1556 </div> 1557 </div> 1558 1559 1560 1561 <div class=""container-fluid bg-grey othernews-parent""> 1562 <div class=""container pb-5 othernews-heiti-parent""> 1563 <div class=""row othernews""> 1564 1565 <div class=""col-12 m-4 othernews-heiti""> 1566 <h2 class=""text-center"">Nýggjastu tíðindi</h2></div> 1567 "); 1568 1569 WriteLiteral(" "); 1570 1571 1572 #line 466 "E:\dynamicweb.net\Solutions\Sendistovan\folkaheilsa.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml" 1573 Write(RenderParagraphContent(3)); 1574 1575 1576 #line default 1577 #line hidden 1578 WriteLiteral("\n\t\t\n\t</div>\n</div>\n</div>\n<!--- FOOTER --->\n\n\n\n\n"); 1579 1580 1581 #line 476 "E:\dynamicweb.net\Solutions\Sendistovan\folkaheilsa.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml" 1582 if (!string.IsNullOrWhiteSpace(@GetString("Item.Video"))) { 1583 1584 1585 #line default 1586 #line hidden 1587 WriteLiteral(@" 1588 <script> 1589 document.addEventListener(""DOMContentLoaded"", function(event) { 1590 $('.videostart').on('click', function() { 1591 $(this).lightGallery({ 1592 dynamic: true, 1593 zoom: false, 1594 youtubePlayerParams: { modestbranding: 1, showinfo: 0, controls: 0, rel: 0 }, 1595 dynamicEl: [{ 1596 ""src"": '"); 1597 1598 1599 #line 486 "E:\dynamicweb.net\Solutions\Sendistovan\folkaheilsa.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml" 1600 Write(GetValue("Item.Video")); 1601 1602 1603 #line default 1604 #line hidden 1605 WriteLiteral("\'\n }]\n })\n \n });\n});\n \n \n</script>\n\n "); 1606 1607 1608 #line 496 "E:\dynamicweb.net\Solutions\Sendistovan\folkaheilsa.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml" 1609 } 1610 1611 1612 #line default 1613 #line hidden 1614 WriteLiteral("\r\n"); 1615 1616 1617 #line 498 "E:\dynamicweb.net\Solutions\Sendistovan\folkaheilsa.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml" 1618 1619 string footype=@GetString("Item.Area.Design.Footer"); 1620 1621 1622 #line default 1623 #line hidden 1624 WriteLiteral("\r\n\r\n<div class=\"container "); 1625 1626 1627 #line 502 "E:\dynamicweb.net\Solutions\Sendistovan\folkaheilsa.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml" 1628 Write(footype); 1629 1630 1631 #line default 1632 #line hidden 1633 WriteLiteral("\">\r\n <div class=\"col-12 text-center\">\r\n <div class=\"scrolltop\"> <" + 1634 "span class=\"icon-backtotop\"><span class=\"path1\"></span><span class=\"path2\"></spa" + 1635 "n></span></div>\r\n </div>\r\n </div>\r\n \r\n \r\n \r\n"); 1636 1637 1638 #line 510 "E:\dynamicweb.net\Solutions\Sendistovan\folkaheilsa.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml" 1639 1640 1641 #line default 1642 #line hidden 1643 1644 #line 510 "E:\dynamicweb.net\Solutions\Sendistovan\folkaheilsa.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml" 1645 if(GetString("Item.Area.Design.Footer")=="Footer1"){ 1646 1647 1648 #line default 1649 #line hidden 1650 WriteLiteral(" "); 1651 1652 WriteLiteral(" <div"); 1653 1654 WriteLiteral(" class=\"container-fluid footer\""); 1655 1656 WriteLiteral(">\n <div"); 1657 1658 WriteLiteral(" class=\"container\""); 1659 1660 WriteLiteral(">\n <div"); 1661 1662 WriteLiteral(" class=\"row \""); 1663 1664 WriteLiteral(">\n\n <div"); 1665 1666 WriteLiteral(" class=\"col-xl-3 col-sm-4 col-6 mt-5\""); 1667 1668 WriteLiteral(">\n"); 1669 1670 WriteLiteral(" "); 1671 1672 1673 #line 516 "E:\dynamicweb.net\Solutions\Sendistovan\folkaheilsa.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml" 1674 Write(RenderParagraphContent(27)); 1675 1676 1677 #line default 1678 #line hidden 1679 WriteLiteral("\n </div>\n <div"); 1680 1681 WriteLiteral(" class=\"col-xl-3 col-sm-4 col-6 mt-5\""); 1682 1683 WriteLiteral(">\n"); 1684 1685 WriteLiteral(" "); 1686 1687 1688 #line 519 "E:\dynamicweb.net\Solutions\Sendistovan\folkaheilsa.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml" 1689 Write(RenderParagraphContent(28)); 1690 1691 1692 #line default 1693 #line hidden 1694 WriteLiteral("\n </div>\n <div"); 1695 1696 WriteLiteral(" class=\"col-xl-2 offset-xl-2 col-sm-4 col-6 mt-5\""); 1697 1698 WriteLiteral(">\n"); 1699 1700 WriteLiteral(" "); 1701 1702 1703 #line 522 "E:\dynamicweb.net\Solutions\Sendistovan\folkaheilsa.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml" 1704 Write(RenderParagraphContent(29)); 1705 1706 1707 #line default 1708 #line hidden 1709 WriteLiteral("\n </div>\n <div"); 1710 1711 WriteLiteral(" class=\"col-xl-2 col-sm-12 col-6 mt-5 footer-login\""); 1712 1713 WriteLiteral(">\n"); 1714 1715 WriteLiteral(" "); 1716 1717 1718 #line 525 "E:\dynamicweb.net\Solutions\Sendistovan\folkaheilsa.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml" 1719 Write(RenderParagraphContent(30)); 1720 1721 1722 #line default 1723 #line hidden 1724 WriteLiteral("\n </div>\n </div>\n </div>\n </div>\n \n "); 1725 1726 WriteLiteral("\r\n"); 1727 1728 1729 #line 532 "E:\dynamicweb.net\Solutions\Sendistovan\folkaheilsa.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml" 1730 } 1731 1732 else if(GetString("Item.Area.Design.Footer")=="Footer2"){ 1733 1734 1735 #line default 1736 #line hidden 1737 WriteLiteral(" "); 1738 1739 WriteLiteral(" \n <div"); 1740 1741 WriteLiteral(" class=\"container-fluid footer\""); 1742 1743 WriteLiteral(" id=\"footeranchor\""); 1744 1745 WriteLiteral(">\n <div"); 1746 1747 WriteLiteral(" class=\"container\""); 1748 1749 WriteLiteral(">\n <div"); 1750 1751 WriteLiteral(" class=\"row \""); 1752 1753 WriteLiteral(">\n \n <div"); 1754 1755 WriteLiteral(" class=\"col-md-4 col-12 mt-5 relative nowpadding footer-map\""); 1756 1757 WriteLiteral(">\n <div"); 1758 1759 WriteLiteral(" class=\"footer-image col-12\""); 1760 1761 WriteLiteral("><img"); 1762 1763 WriteLiteral(" class=\"footerimage\""); 1764 1765 WriteLiteral(" src=\"/Files/Templates/Designs/SSTemplate/img/bottom_map.jpg\""); 1766 1767 WriteLiteral("></div>\n <div"); 1768 1769 WriteLiteral(" class=\"row col-12\""); 1770 1771 WriteLiteral(">\n <div"); 1772 1773 WriteLiteral(" class=\"col-3 footer-social\""); 1774 1775 WriteLiteral(">\n <a"); 1776 1777 WriteLiteral(" class=\"footer-facebooklink\""); 1778 1779 WriteLiteral(" href=\"https://www.facebook.com/spf.tts/\""); 1780 1781 WriteLiteral(" target=\"_blank\""); 1782 1783 WriteLiteral("><span"); 1784 1785 WriteLiteral(" class=\"icon-facebook\""); 1786 1787 WriteLiteral("></span></a>\n </div>\n \n <div"); 1788 1789 WriteLiteral(" class=\"col-9 footer-address\""); 1790 1791 WriteLiteral(">\n <div"); 1792 1793 WriteLiteral(" class=\"footeradress\""); 1794 1795 WriteLiteral(">\n"); 1796 1797 WriteLiteral(" "); 1798 1799 1800 #line 549 "E:\dynamicweb.net\Solutions\Sendistovan\folkaheilsa.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml" 1801 Write(RenderParagraphContent(27)); 1802 1803 1804 #line default 1805 #line hidden 1806 WriteLiteral("\n </div>\n </div>\n </div>\n </div>\n " + 1807 " <div"); 1808 1809 WriteLiteral(" class=\"col-md-8 col-12 mt-5 formular-col nowpadding\""); 1810 1811 WriteLiteral(">\n"); 1812 1813 WriteLiteral(" "); 1814 1815 1816 #line 555 "E:\dynamicweb.net\Solutions\Sendistovan\folkaheilsa.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml" 1817 Write(RenderParagraphContent(451)); 1818 1819 1820 #line default 1821 #line hidden 1822 WriteLiteral("\n </div>\n </div>\n \n </div>\n </div> "); 1823 1824 WriteLiteral("\r\n"); 1825 1826 1827 #line 561 "E:\dynamicweb.net\Solutions\Sendistovan\folkaheilsa.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml" 1828 } 1829 1830 else if(GetString("Item.Area.Design.Footer")=="Footer3"){ 1831 1832 1833 #line default 1834 #line hidden 1835 WriteLiteral(" "); 1836 1837 WriteLiteral(" \n <div"); 1838 1839 WriteLiteral(" class=\"container-fluid footer\""); 1840 1841 WriteLiteral(">\n <div"); 1842 1843 WriteLiteral(" class=\"container\""); 1844 1845 WriteLiteral(">\n <div"); 1846 1847 WriteLiteral(" class=\"row \""); 1848 1849 WriteLiteral(">\n\n <div"); 1850 1851 WriteLiteral(" class=\"col-xl-3 col-md-12 col-12 mt-5\""); 1852 1853 WriteLiteral(">\n"); 1854 1855 WriteLiteral(" "); 1856 1857 1858 #line 570 "E:\dynamicweb.net\Solutions\Sendistovan\folkaheilsa.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml" 1859 Write(RenderParagraphContent(27)); 1860 1861 1862 #line default 1863 #line hidden 1864 WriteLiteral("\n </div>\n <div"); 1865 1866 WriteLiteral(" class=\"col-xl-3 col-md-4 col-12 mt-5\""); 1867 1868 WriteLiteral(">\n"); 1869 1870 WriteLiteral(" "); 1871 1872 1873 #line 573 "E:\dynamicweb.net\Solutions\Sendistovan\folkaheilsa.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml" 1874 Write(RenderParagraphContent(28)); 1875 1876 1877 #line default 1878 #line hidden 1879 WriteLiteral("\n </div>\n <div"); 1880 1881 WriteLiteral(" class=\"col-xl-3 col-md-4 col-12 mt-5\""); 1882 1883 WriteLiteral(">\n"); 1884 1885 WriteLiteral(" "); 1886 1887 1888 #line 576 "E:\dynamicweb.net\Solutions\Sendistovan\folkaheilsa.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml" 1889 Write(RenderParagraphContent(29)); 1890 1891 1892 #line default 1893 #line hidden 1894 WriteLiteral("\n </div>\n<div"); 1895 1896 WriteLiteral(" class=\"col-xl-3 col-md-4 col-12 mt-5 fourth\""); 1897 1898 WriteLiteral(">\n"); 1899 1900 WriteLiteral(" "); 1901 1902 1903 #line 579 "E:\dynamicweb.net\Solutions\Sendistovan\folkaheilsa.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml" 1904 Write(RenderParagraphContent(30)); 1905 1906 1907 #line default 1908 #line hidden 1909 WriteLiteral("\n </div>\n </div>\n </div>\n </div> "); 1910 1911 WriteLiteral("\r\n"); 1912 1913 1914 #line 584 "E:\dynamicweb.net\Solutions\Sendistovan\folkaheilsa.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml" 1915 } 1916 1917 1918 #line default 1919 #line hidden 1920 WriteLiteral("\r\n \r\n <div class=\"container-fluid footerbottom\">\r\n <div class=\"c" + 1921 "ontainer\">\r\n <div class=\"row\">\r\n <div class=\"col-12 text-center\"" + 1922 ">\r\n <a class=\"kolofon\" target=\"_blank\" href=\"//www.sendistovan.fo\"><img" + 1923 " src=\""); 1924 1925 1926 #line 591 "E:\dynamicweb.net\Solutions\Sendistovan\folkaheilsa.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml" 1927 Write(kolofonimg); 1928 1929 1930 #line default 1931 #line hidden 1932 WriteLiteral("\" alt=\"Sendistovan\">Ein loysn frá Sendistovuni</a>\r\n </div>\r\n </d" + 1933 "iv>\r\n </div>\r\n</div>\r\n\r\n\r\n \r\n \t<link type=\"text/css\" rel=\"stylesh" + 1934 "eet\" href=\"/Files/Templates/Designs/SSTemplate/lightgallery/css/lightgallery.min" + 1935 ".css\">\r\n \t<link rel=\"stylesheet\" href=\"/Files/Templates/Designs/SSTemplate/c" + 1936 "ss/tablesaw.css\">\r\n\t\t<script src=\"/Files/Templates/Designs/SSTemplate/js/tablesa" + 1937 "w.js\"></script>\r\n <script src=\"/Files/Templates/Designs/SSTemplate/js/tab" + 1938 "lesaw-init.js\"></script>\r\n \t\t<script src=\"https://ajax.googleapis.com/ajax/libs" + 1939 "/jquery/3.3.1/jquery.min.js\"></script>\r\n \t\t<script src=\"https://maxcdn.bootstra" + 1940 "pcdn.com/bootstrap/4.1.0/js/bootstrap.min.js\"></script>\r\n <script src=\"/F" + 1941 "iles/Templates/Designs/SSTemplate/lightgallery/js/lightgallery.min.js\"></script>" + 1942 "\r\n <script src=\"/Files/Templates/Designs/SSTemplate/lightgallery/js/lg-th" + 1943 "umbnail.js\"></script>\r\n <script src=\"/Files/Templates/Designs/SSTemplate/" + 1944 "lightgallery/js/lg-zoom.js\"></script>\r\n <script src=\"/Files/Templates/Des" + 1945 "igns/SSTemplate/lightgallery/js/lg-video.js\"></script>\r\n <script src=\"/Fi" + 1946 "les/Templates/Designs/SSTemplate/js/sendistovan.js\"></script>\r\n \r\n \r\n " + 1947 " <script src=\"/Files/Templates/Designs/SSTemplate/Navik/navik.menu.js\"></sc" + 1948 "ript>\r\n \r\n<script>\r\n var nxtpgid = $(\'.loadmorenews\').prop(\'rel\');\r\n var " + 1949 "nxtpg=2;\r\n var pageloadlink=\"/default.aspx?id=\"+nxtpgid+\"&page=\"+nxtpg;\r\n \r\n\r\n\r" + 1950 "\n$(\".loadmorenews\").click(function(e){\r\ne.preventDefault();\r\n\r\n\r\nvar content;\r\n$" + 1951 ".get(pageloadlink, function(data){\r\n content= data;\r\n $(\'.newslist-subpage" + 1952 "\').append(content);\r\n});\r\n\r\n\r\n\r\nnxtpg++;\r\npageloadlink=\"/default.aspx?id=\"+nxtpg" + 1953 "id+\"&page=\"+nxtpg;\r\n\r\n}); \r\n\r\n</script>\r\n\r\n \r\n"); 1954 1955 WriteLiteral(" "); 1956 1957 1958 #line 641 "E:\dynamicweb.net\Solutions\Sendistovan\folkaheilsa.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml" 1959 Write(GetString("Item.Area.Funktionalitetir.FacebookTrackingPixul")); 1960 1961 1962 #line default 1963 #line hidden 1964 WriteLiteral("\r\n \r\n"); 1965 1966 1967 #line 643 "E:\dynamicweb.net\Solutions\Sendistovan\folkaheilsa.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml" 1968 1969 1970 #line default 1971 #line hidden 1972 1973 #line 643 "E:\dynamicweb.net\Solutions\Sendistovan\folkaheilsa.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml" 1974 if(!String.IsNullOrEmpty(@GetString("Item.Area.Funktionalitetir.TrackingID"))) { 1975 1976 1977 #line default 1978 #line hidden 1979 WriteLiteral(" "); 1980 1981 WriteLiteral("\r\n"); 1982 1983 1984 #line 645 "E:\dynamicweb.net\Solutions\Sendistovan\folkaheilsa.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml" 1985 1986 1987 #line default 1988 #line hidden 1989 1990 #line 645 "E:\dynamicweb.net\Solutions\Sendistovan\folkaheilsa.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml" 1991 1992 string trackid=@GetString("Item.Area.Funktionalitetir.TrackingID"); 1993 1994 #line default 1995 #line hidden 1996 WriteLiteral("\r\n"); 1997 1998 WriteLiteral(" "); 1999 2000 2001 #line 647 "E:\dynamicweb.net\Solutions\Sendistovan\folkaheilsa.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml" 2002 Write(GetString("Item.Area.Uppseting.GoogleMapApi")); 2003 2004 2005 #line default 2006 #line hidden 2007 WriteLiteral("\r\n <script"); 2008 2009 WriteLiteral(" async=\"\""); 2010 2011 WriteAttribute("src", Tuple.Create(" src=\"", 22022), Tuple.Create("\"", 22080) 2012 , Tuple.Create(Tuple.Create("", 22028), Tuple.Create("https://www.googletagmanager.com/gtag/js?id=", 22028), true) 2013 2014 #line 648 "E:\dynamicweb.net\Solutions\Sendistovan\folkaheilsa.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml" 2015 , Tuple.Create(Tuple.Create("", 22072), Tuple.Create<System.Object, System.Int32>(trackid 2016 2017 #line default 2018 #line hidden 2019 , 22072), false) 2020 ); 2021 2022 WriteLiteral("></script>\r\n<script>\r\n window.dataLayer = window.dataLayer || [];\r\n function gt" + 2023 "ag(){dataLayer.push(arguments);}\r\n gtag(\'js\', new Date());\r\n\r\n gtag(\'config\', " + 2024 "\'"); 2025 2026 2027 #line 654 "E:\dynamicweb.net\Solutions\Sendistovan\folkaheilsa.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml" 2028 Write(GetString("Item.Area.Funktionalitetir.TrackingID")); 2029 2030 2031 #line default 2032 #line hidden 2033 WriteLiteral("\');\r\n</script>\r\n "); 2034 2035 WriteLiteral("\r\n"); 2036 2037 2038 #line 657 "E:\dynamicweb.net\Solutions\Sendistovan\folkaheilsa.dw9.dynamicweb-cms.com\files\Templates\Designs\SSTemplate\_parsed\news.parsed.cshtml" 2039 } 2040 2041 2042 #line default 2043 #line hidden 2044 WriteLiteral(" \r\n \r\n \r\n</body>\r\n</html>\r\n "); 2045 2046 } 2047 } 2048 } 2049

1 @using System.Web.Mvc; 2 @using System.Text.RegularExpressions; 3 @using System.Web; 4 @using System.IO; 5 @using System.Linq; 6 @{ 7 string topmentype=@GetString("Item.Area.NavAndSearch.Navigation"); 8 string basecss = "/Files/Templates/Designs/SSTemplate/css/base.css"; 9 string ifolder = basecss.Substring(0, basecss.LastIndexOf("/")).ToString(); 10 string ifolderOnDisk = System.Web.HttpContext.Current.Server.MapPath(ifolder); 11 DirectoryInfo idirectoryInfo = new System.IO.DirectoryInfo(ifolderOnDisk); 12 string idatefetch=@idirectoryInfo+"\\base.css"; 13 DateTime ilastmodified = File.GetLastWriteTime(@idatefetch); 14 basecss=@basecss+"?modified="+@ilastmodified.ToString("yyyy-MM-ddTHH:mm:ss"); 15 string stylecss = "/Files/Templates/Designs/SSTemplate/css/styles.css"; 16 string ufolder = stylecss.Substring(0, stylecss.LastIndexOf("/")).ToString(); 17 string ufolderOnDisk = System.Web.HttpContext.Current.Server.MapPath(ufolder); 18 DirectoryInfo udirectoryInfo = new System.IO.DirectoryInfo(ufolderOnDisk); 19 string udatefetch=@udirectoryInfo+"\\style.css"; 20 string searchplaceholder=@GetString("Item.Area.NavAndSearch.PlaceholderTekstur"); 21 ViewBag.BaseLogo = @GetString("Item.Area.Design.Logo"); 22 DateTime ulastmodified = File.GetLastWriteTime(@udatefetch); 23 stylecss=@stylecss+"?modified="+@ulastmodified.ToString("yyyy-MM-ddTHH:mm:ss"); 24 } 25 26 27 @{ 28 string logo=@GetString("Item.Area.Design.Logo"); 29 string kolofonimg=@GetString("Item.Area.Design.Ikon"); 30 }<!DOCTYPE html> 31 <html lang="fo"> 32 33 @{ 34 string pageid=@GetString("DwPageID"); 35 string readspeak=@GetString("Item.Area.Funktionalitetir.BaseUr")+"?id="+pageid; 36 string pagenametit=@GetString("DwPageName"); 37 38 string pagearea=@GetString("DwPageID_1"); 39 pagearea="top"+pagearea; 40 ViewBag.BaseUrl = @GetString("Item.Area.Uppseting.BaseUr"); 41 ViewBag.StoddStarvs = @GetString("Item.Page.StoddStarv"); 42 }<head> 43 <meta charset="utf-8"> 44 <meta http-equiv="X-UA-Compatible" content="IE=edge"> 45 <meta name="viewport" content="width=device-width, initial-scale=1"> 46 47 <meta name="author" content=""> 48 <meta property="og:url" content="@readspeak"> 49 <meta property="og:locale" content="fo_FO"> 50 <meta property="og:title" content="@pagenametit"> 51 <meta name="google-site-verification" content="_8UkOXR321xXc60VV1folaRbl3pukMQpv1ifNUwjZXU"> 52 <link rel="shortcut icon" type="image/ico" href="/Files/Templates/Designs/SSTemplate/img/favicon.ico"> 53 <link rel="shortcut icon" type="image/png" href="/Files/Templates/Designs/SSTemplate/img/favicon.png"> 54 @RenderSnippet("FBimg") 55 56 @foreach(LoopItem i in GetLoop("Item.Area.Design.Fontar")){ 57 58 @i.GetString("Item.Area.Design.Fontar.Font") 59 60 } 61 <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.1.0/css/bootstrap.min.css"> 62 63 @if(@GetBoolean("Item.Area.Design.DeveloperMode")!=true) { 64 <text> 65 <link rel="stylesheet" href="@basecss"> 66 <link rel="stylesheet" href="@stylecss&force"> 67 <link type="text/css" rel="stylesheet" href="/Files/Templates/Designs/SSTemplate/css/base-mobil.css"> 68 <link type="text/css" rel="stylesheet" href="/Files/Templates/Designs/SSTemplate/css/styles-mobil.css"> 69 </text> 70 } 71 72 @foreach (LoopItem i in GetLoop("Item.Area.Design.Fila")){ 73 <text> 74 @{ 75 string nustyle=@i.GetString("Item.Area.Design.Fila.Leinki"); 76 } 77 <link rel="stylesheet" href="@nustyle" type="text/css"> 78 </text> 79 } 80 81 <link rel="stylesheet" href="/Files/Templates/Designs/SSTemplate/Navik/navik.menu.css"> 82 83 @GetValue("CopyRightNotice") 84 @GetValue("MetaTags") 85 @GetValue("Stylesheets") 86 @GetValue("Javascripts") 87 </head> 88 89 <body> 90 <script src="https://consent.cookiefirst.com/banner.js" data-cookiefirst-key="fca4ccf0-ffa7-4818-9280-ea2413e31ebe"></script> 91 <div class="container-fluid" style="background-color:#3D7241; "> 92 <div class="row"> 93 <div class="col-12 text-center" style="color:#FFF; padding:10px 0px !important;"> 94 Síðan verður ikki dagførd, víst verður til heimasíðuna hjá Heilsustýrinum <a style="color:#FFF;" href="//www.hst.fo">www.hst.fo</a> 95 </div> 96 </div> 97 </div> 98 <div class="container-fluid toptopmenholder d-none d-xl-block"> 99 <div class="container"> 100 <div class="row"> 101 <div class="col-3 toplogo"> 102 <a href="/default.aspx"><img src="/Files/Templates/Designs/SSTemplate/img/logo-landscape@2x.png" class="toplogo"></a> 103 </div> 104 <div class="toptopmenu col-9"> 105 @GetValue("DwNavigation(toptopmenu)") 106 </div> 107 </div> 108 </div> 109 110 </div> 111 112 @GetString("Item.Area.SomeAndShare.FacebookJaascriptSDK") 113 114 @if(@topmentype=="Default"){ 115 <!-- Header --> 116 <div class="navik-header no-sticky header-shadow"> 117 <div class="container"> 118 119 <!-- Navik header --> 120 <div class="navik-header-container"> 121 122 <!--Logo--> 123 <div class="logo" data-mobile-logo="/Files/Templates/Designs/SSTemplate/img/logo-landscape@2x.png"> 124 <a href="/default.aspx"><img src="/Files/Templates/Designs/SSTemplate/demo/images/logo-dark.png" class="mainlogo"></a> 125 </div> 126 <!-- Burger menu --> 127 <div class="burger-menu"> 128 <div class="line-menu line-half first-line"></div> 129 <div class="line-menu"></div> 130 <div class="line-menu line-half last-line"></div> 131 </div> 132 133 <!--Navigation menu--> 134 <nav class="navik-menu submenu-top-border"> 135 @GetValue("DwNavigation(ssnavikmen)") 136 </nav> 137 138 139 140 141 142 <form class="searchbox d-none d-xl-inline" name="leita" method="get" action="/default.aspx"> 143 144 <span class="icon-search" onclick="document.forms['leita'].submit();"></span> 145 <input type="text" class="leitifelt" name="q" placeholder="Leita á folkaheilsa.fo"> 146 <input type="hidden" value="47" name="id"> 147 </form> 148 149 </div> 150 </div> 151 152 </div> 153 154 155 } 156 else if(@topmentype=="Default with seperate line"){ 157 <!-- Header --> 158 <div class="navik-header header-shadow"> 159 <div class="container"> 160 161 <!-- Navik header --> 162 <div class="navik-header-container"> 163 164 <!--Logo--> 165 <div class="logo" data-mobile-logo="demo/images/logo-dark.png" data-sticky-logo="demo/images/logo-dark.png"> 166 <a href="#"><img src="/Files/Templates/Designs/SSTemplate/demo/images/logo-dark.png" alt="logo"></a> 167 </div> 168 169 <!-- Burger menu --> 170 <div class="burger-menu"> 171 <div class="line-menu line-half first-line"></div> 172 <div class="line-menu"></div> 173 <div class="line-menu line-half last-line"></div> 174 </div> 175 176 <!--Navigation menu--> 177 <nav class="navik-menu separate-line submenu-top-border submenu-scale"> 178 @GetValue("DwNavigation(ssnavikmen2)") 179 </nav> 180 181 </div> 182 183 </div> 184 </div> 185 186 } 187 else if(@topmentype=="Default transparent"){ 188 <!-- Header --> 189 <div class="navik-header header-transparent header-shadow"> 190 <div class="container"> 191 192 <!-- Navik header --> 193 <div class="navik-header-container"> 194 195 <!--Logo--> 196 <div class="logo" data-mobile-logo="demo/images/logo-dark.png" data-sticky-logo="demo/images/logo-dark.png"> 197 <a href="#"><img src="/Files/Templates/Designs/SSTemplate/demo/images/logo-dark.png" alt="logo"></a> 198 </div> 199 200 <!-- Burger menu --> 201 <div class="burger-menu"> 202 <div class="line-menu line-half first-line"></div> 203 <div class="line-menu"></div> 204 <div class="line-menu line-half last-line"></div> 205 </div> 206 207 <!--Navigation menu--> 208 <nav class="navik-menu separate-line submenu-top-border submenu-scale"> 209 @GetValue("DwNavigation(ssnavikmen3)") 210 </nav> 211 212 </div> 213 214 </div> 215 </div> 216 217 } 218 else if(@topmentype=="Default overlay header"){ 219 <!-- Header --> 220 <div class="navik-header header-opacity header-shadow"> 221 <div class="container"> 222 223 <!-- Navik header --> 224 <div class="navik-header-container"> 225 226 <!--Logo--> 227 <div class="logo" data-mobile-logo="demo/images/logo-dark.png" data-sticky-logo="demo/images/logo-dark.png"> 228 <a href="#"><img src="/Files/Templates/Designs/SSTemplate/demo/images/logo-dark.png" alt="logo"></a> 229 </div> 230 231 <!-- Burger menu --> 232 <div class="burger-menu"> 233 <div class="line-menu line-half first-line"></div> 234 <div class="line-menu"></div> 235 <div class="line-menu line-half last-line"></div> 236 </div> 237 238 <!--Navigation menu--> 239 <nav class="navik-menu separate-line submenu-top-border submenu-scale"> 240 @GetValue("DwNavigation(ssnavikmen4)") 241 </nav> 242 243 </div> 244 245 </div> 246 </div> 247 248 } 249 else if(@topmentype=="Horizontal Menu Icons"){ 250 <!-- Header --> 251 <div class="navik-header header-shadow center-menu-2"> 252 <div class="container"> 253 254 <!-- Navik header --> 255 <div class="navik-header-container"> 256 257 <!--Logo--> 258 <div class="logo" data-mobile-logo="demo/images/logo-dark.png" data-sticky-logo="demo/images/logo-dark.png"> 259 <a href="#"><img src="/Files/Templates/Designs/SSTemplate/demo/images/logo-dark.png" alt="logo"></a> 260 </div> 261 262 <!-- Burger menu --> 263 <div class="burger-menu"> 264 <div class="line-menu line-half first-line"></div> 265 <div class="line-menu"></div> 266 <div class="line-menu line-half last-line"></div> 267 </div> 268 269 <!--Navigation menu--> 270 <nav class="navik-menu separate-line submenu-top-border submenu-scale"> 271 @GetValue("DwNavigation(ssnavikmen5)") 272 </nav> 273 274 </div> 275 276 </div> 277 </div> 278 279 } 280 else if(@topmentype=="Overlay Menu Icons"){} 281 else if(@topmentype=="Mega Menu"){} 282 else if(@topmentype=="Mega Menu Fullwidth"){} 283 else if(@topmentype=="Center 1"){} 284 else if(@topmentype=="Center 1 with separate line"){} 285 else if(@topmentype=="Center 1 transparent"){} 286 else if(@topmentype=="Center 1 overlay header"){} 287 else if(@topmentype=="Center 2"){} 288 else if(@topmentype=="Center 2 with separate line"){} 289 else if(@topmentype=="Center 2 transparent"){} 290 else if(@topmentype=="Center 2 overlay header"){} 291 else if(@topmentype=="Fullscreen overlay"){} 292 else if(@topmentype=="Fullscreen overlay center"){} 293 else if(@topmentype=="Fullscreen overlay with vertical submenu"){} 294 else if(@topmentype=="Fullscreen overlay center with vertical submenu"){} 295 else if(@topmentype=="Sidebar slide menu"){} 296 else if(@topmentype=="Fixed sidebar left menu"){} 297 else if(@topmentype=="Fixed sidebar right menu"){} 298 299 300 301 @if(GetBoolean("Item.ShowBradcrumbs") == true) 302 {<text> 303 <div class="container-fluid mb-0 bread"> 304 <div class="container"> 305 <div class="row"> 306 <div class="bread col my-2"> 307 @GetValue("DwNavigation(bread)") 308 </div> 309 </div> 310 </div> 311 </div> 312 </text> 313 } 314 <!--- BREADCRUMB ---> 315 316 @using System.Text.RegularExpressions; 317 @using System.Web; 318 319 @{ 320 string mynd=@GetString("Item.Area.Design.FacebookDeilFallback"); 321 string fbmynd=@mynd; 322 string play=""; 323 string videostart=""; 324 325 } 326 @if(!string.IsNullOrEmpty(@GetString("Item.Video"))){play="<span class='icon-media-video'></span>"; videostart="videostart";} 327 else {play="";} 328 329 @if(!String.IsNullOrEmpty(GetString("Item.Mynd"))){ 330 mynd = @GetString("Item.Mynd"); 331 fbmynd="https://www.folkaheilsa.fo/admin/public/getimage.ashx?image="+@mynd+"&width=800&crop=0"; 332 fbmynd=HttpUtility.UrlPathEncode(@fbmynd); 333 } 334 335 336 @SnippetStart("FBimg") 337 <meta property="og:image" content="@fbmynd"> 338 @SnippetEnd("FBimg") 339 340 341 342 <div class="container newsintro-parent"> 343 <div class="row"> 344 <div class="col-sm-9 offset-md-2 col-md-7 mt-5 newsintro"> 345 <p class="dato">@GetDate("Item.Dato").ToString("dd. MMMM yyyy")</p> 346 <h1>@GetString("Item.Yvirskrift") </h1> 347 @if(!String.IsNullOrEmpty(GetString("Item.Inngangstekstur"))){ 348 <p class="introIII mt-4 mb-1">@GetString("Item.Inngangstekstur")</p> } 349 </div> 350 </div> 351 </div> <!--- INTRO TEXT ---> 352 353 <div class="container newsshare-parent"> 354 <div class="row"> 355 @if(@GetBoolean("Item.MogulleikaFyriAtDeila")==true){ 356 <text> 357 <div class="col-md-1 share-parent"> 358 359 360 361 <div class="linja mt-5"></div> 362 <p class="share">Deil:</p> 363 <a href="#" onclick="window.open('https://www.facebook.com/sharer/sharer.php?u='+encodeURIComponent(location.href),'facebook-share-dialog','width=626,height=436');return false;"><span class="icon-share-facebook"><span class="path1"></span><span class="path2"></span><span class="path3"></span></span></a> 364 @{ 365 string pagename=@GetString("DwPageName"); 366 string pagelink=@HttpContext.Current.Request.Url.AbsoluteUri; 367 } 368 <a href="mailto:?Subject=@pagename&body=Trýst á leinki her @pagelink"><span class="icon-share-email"><span class="path1"></span><span class="path2"></span><span class="path3"></span></span></a> 369 370 371 </div> 372 </text> 373 } 374 <div class="col-12 col-md-10 newsmynd-parent"> 375 @if(!String.IsNullOrEmpty(@GetString("Item.Mynd"))){ 376 <text> 377 378 379 <div class="newsitemimage relative @videostart"> 380 @{ 381 int focalx=@GetInteger("Item.Mynd.FocalX"); 382 int focaly=@GetInteger("Item.Mynd.FocalY"); 383 } 384 <img src="/Admin/Public/Getimage.ashx?image=@mynd&width=970&height=auto&Crop=7&x=@focalx&y=@focaly" class="img-fluid mt-3 mb-3"> 385 @play 386 </div> 387 </text> 388 } 389 390 </div> 391 <div class="col-12 offset-md-1 col-md-10 newsmyndatekstur"> 392 @if(!String.IsNullOrEmpty(GetString("Item.Myndatekstur"))){ 393 <text> 394 <p class="myndatekstur ml-2">@GetString("Item.Myndatekstur")</p> 395 </text>} 396 </div> 397 </div> 398 </div> <!--- MYND ---> 399 400 401 <div class="container newscont"> 402 <div class="row"> 403 <div class="col-12 col-sm-7 offset-sm-2 newstekstur"> 404 @GetString("Item.Tekstur") 405 </div> 406 </div> 407 </div> 408 409 410 @if(!String.IsNullOrEmpty(@GetString("Item.TeksturKnap")) && !String.IsNullOrEmpty(@GetString("Item.LeinkiKnappur"))){ 411 <text> 412 <div class="container newsknaplink-parent"> 413 <div class="row"> 414 <div class="col-12 offset-sm-2 "> 415 <h2 class="alternative newsknaplink offset-sm-2">@GetString("Item.YvirskriftTilKnapp")</h2> 416 </div> 417 <a href='@GetString("Item.LeinkiKnappur")' class="col-12 col-sm-7 offset-sm-2 oydublad my-3"> 418 @GetString("Item.TeksturKnap") <span class="icon-download taknidur"></span> 419 </a> 420 </div> 421 </div> 422 423 </text> 424 } 425 426 <div class="container newsgallery-parent"> 427 <div class="row"> 428 <h2 class="offset-sm-2 alternative">@GetString("Item.YvirskrftMyndasavn")</h2> 429 <div class="card-columns offset-md-1 col-md-9 col-12" id="lightgallery"> 430 431 @{ 432 foreach(var file in GetLoop("Item.Mappa.ListOfFiles")){ 433 <div class="card mb-4 "> <a class="item" href='@GetValue("Item.Mappa")/@file.GetValue("Item.Mappa.FileName")'><img class="card-img" src='/admin/public/getimage.ashx?&Image=@GetValue(%22Item.Mappa%22)/@file.GetValue(%22Item.Mappa.FileName%22)&Resolution=75&Compression=90&Width=200&Crop=0'></a> 434 </div> 435 } 436 } 437 438 </div> 439 <div class="col-md-12 offset-1 col-12"> 440 <p class="myndatekstur ml-2">@GetString("Item.TeksturTilMyndasavn")</p> 441 </div> 442 443 </div> 444 </div> <!--- MASONRY ---> 445 446 447 448 <div class="container mb-5 hide"> 449 <div class="row"> 450 <div class="col-12 next"> 451 <div class="text-right"> 452 <a href="#"><p>Næst</p> <span class="icon-arrow-right"></span></a> 453 </div> 454 </div> 455 </div> 456 </div> 457 458 459 460 <div class="container-fluid bg-grey othernews-parent"> 461 <div class="container pb-5 othernews-heiti-parent"> 462 <div class="row othernews"> 463 464 <div class="col-12 m-4 othernews-heiti"> 465 <h2 class="text-center">Nýggjastu tíðindi</h2></div> 466 @RenderParagraphContent(3) 467 468 </div> 469 </div> 470 </div> 471 <!--- FOOTER ---> 472 473 474 475 476 @if (!string.IsNullOrWhiteSpace(@GetString("Item.Video"))) { 477 <text> 478 <script> 479 document.addEventListener("DOMContentLoaded", function(event) { 480 $('.videostart').on('click', function() { 481 $(this).lightGallery({ 482 dynamic: true, 483 zoom: false, 484 youtubePlayerParams: { modestbranding: 1, showinfo: 0, controls: 0, rel: 0 }, 485 dynamicEl: [{ 486 "src": '@GetValue("Item.Video")' 487 }] 488 }) 489 490 }); 491 }); 492 493 494 </script> 495 496 </text>} 497 498 @{ 499 string footype=@GetString("Item.Area.Design.Footer"); 500 } 501 502 <div class="container @footype"> 503 <div class="col-12 text-center"> 504 <div class="scrolltop"> <span class="icon-backtotop"><span class="path1"></span><span class="path2"></span></span></div> 505 </div> 506 </div> 507 508 509 510 @if(GetString("Item.Area.Design.Footer")=="Footer1"){ 511 <text> <div class="container-fluid footer"> 512 <div class="container"> 513 <div class="row "> 514 515 <div class="col-xl-3 col-sm-4 col-6 mt-5"> 516 @RenderParagraphContent(27) 517 </div> 518 <div class="col-xl-3 col-sm-4 col-6 mt-5"> 519 @RenderParagraphContent(28) 520 </div> 521 <div class="col-xl-2 offset-xl-2 col-sm-4 col-6 mt-5"> 522 @RenderParagraphContent(29) 523 </div> 524 <div class="col-xl-2 col-sm-12 col-6 mt-5 footer-login"> 525 @RenderParagraphContent(30) 526 </div> 527 </div> 528 </div> 529 </div> 530 531 </text> 532 } 533 534 else if(GetString("Item.Area.Design.Footer")=="Footer2"){ 535 <text> 536 <div class="container-fluid footer" id="footeranchor"> 537 <div class="container"> 538 <div class="row "> 539 540 <div class="col-md-4 col-12 mt-5 relative nowpadding footer-map"> 541 <div class="footer-image col-12"><img class="footerimage" src="/Files/Templates/Designs/SSTemplate/img/bottom_map.jpg"></div> 542 <div class="row col-12"> 543 <div class="col-3 footer-social"> 544 <a class="footer-facebooklink" href="https://www.facebook.com/spf.tts/" target="_blank"><span class="icon-facebook"></span></a> 545 </div> 546 547 <div class="col-9 footer-address"> 548 <div class="footeradress"> 549 @RenderParagraphContent(27) 550 </div> 551 </div> 552 </div> 553 </div> 554 <div class="col-md-8 col-12 mt-5 formular-col nowpadding"> 555 @RenderParagraphContent(451) 556 </div> 557 </div> 558 559 </div> 560 </div> </text> 561 } 562 563 else if(GetString("Item.Area.Design.Footer")=="Footer3"){ 564 <text> 565 <div class="container-fluid footer"> 566 <div class="container"> 567 <div class="row "> 568 569 <div class="col-xl-3 col-md-12 col-12 mt-5"> 570 @RenderParagraphContent(27) 571 </div> 572 <div class="col-xl-3 col-md-4 col-12 mt-5"> 573 @RenderParagraphContent(28) 574 </div> 575 <div class="col-xl-3 col-md-4 col-12 mt-5"> 576 @RenderParagraphContent(29) 577 </div> 578 <div class="col-xl-3 col-md-4 col-12 mt-5 fourth"> 579 @RenderParagraphContent(30) 580 </div> 581 </div> 582 </div> 583 </div> </text> 584 } 585 586 587 <div class="container-fluid footerbottom"> 588 <div class="container"> 589 <div class="row"> 590 <div class="col-12 text-center"> 591 <a class="kolofon" target="_blank" href="//www.sendistovan.fo"><img src="@kolofonimg" alt="Sendistovan">Ein loysn frá Sendistovuni</a> 592 </div> 593 </div> 594 </div> 595 </div> 596 597 598 599 <link type="text/css" rel="stylesheet" href="/Files/Templates/Designs/SSTemplate/lightgallery/css/lightgallery.min.css"> 600 <link rel="stylesheet" href="/Files/Templates/Designs/SSTemplate/css/tablesaw.css"> 601 <script src="/Files/Templates/Designs/SSTemplate/js/tablesaw.js"></script> 602 <script src="/Files/Templates/Designs/SSTemplate/js/tablesaw-init.js"></script> 603 <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script> 604 <script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.1.0/js/bootstrap.min.js"></script> 605 <script src="/Files/Templates/Designs/SSTemplate/lightgallery/js/lightgallery.min.js"></script> 606 <script src="/Files/Templates/Designs/SSTemplate/lightgallery/js/lg-thumbnail.js"></script> 607 <script src="/Files/Templates/Designs/SSTemplate/lightgallery/js/lg-zoom.js"></script> 608 <script src="/Files/Templates/Designs/SSTemplate/lightgallery/js/lg-video.js"></script> 609 <script src="/Files/Templates/Designs/SSTemplate/js/sendistovan.js"></script> 610 611 612 <script src="/Files/Templates/Designs/SSTemplate/Navik/navik.menu.js"></script> 613 614 <script> 615 var nxtpgid = $('.loadmorenews').prop('rel'); 616 var nxtpg=2; 617 var pageloadlink="/default.aspx?id="+nxtpgid+"&page="+nxtpg; 618 619 620 621 $(".loadmorenews").click(function(e){ 622 e.preventDefault(); 623 624 625 var content; 626 $.get(pageloadlink, function(data){ 627 content= data; 628 $('.newslist-subpage').append(content); 629 }); 630 631 632 633 nxtpg++; 634 pageloadlink="/default.aspx?id="+nxtpgid+"&page="+nxtpg; 635 636 }); 637 638 </script> 639 640 641 @GetString("Item.Area.Funktionalitetir.FacebookTrackingPixul") 642 643 @if(!String.IsNullOrEmpty(@GetString("Item.Area.Funktionalitetir.TrackingID"))) { 644 <text> 645 @{ 646 string trackid=@GetString("Item.Area.Funktionalitetir.TrackingID");} 647 @GetString("Item.Area.Uppseting.GoogleMapApi") 648 <script async="" src="https://www.googletagmanager.com/gtag/js?id=@trackid"></script> 649 <script> 650 window.dataLayer = window.dataLayer || []; 651 function gtag(){dataLayer.push(arguments);} 652 gtag('js', new Date()); 653 654 gtag('config', '@GetString("Item.Area.Funktionalitetir.TrackingID")'); 655 </script> 656 </text> 657 } 658 659 660 661 </body> 662 </html> 663