Error compiling template "Designs/LM2016/_parsed/News_Item.parsed.cshtml"
Line 1287: Ung├╝ltiger Ausdruck "%".
Line 1287: Syntaxfehler. "," erwartet.
Line 1287: Der Name "Item" ist im aktuellen Kontext nicht vorhanden.

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 13 #line 210 "D:\dynamicweb.net\Solutions\Earned\lachenmeier.dw9.dynamicweb-cms.com\files\Templates\Designs\LM2016\_parsed\News_Item.parsed.cshtml" 14 using System; 15 16 #line default 17 #line hidden 18 using System.Collections.Generic; 19 using System.Linq; 20 21 #line 14 "D:\dynamicweb.net\Solutions\Earned\lachenmeier.dw9.dynamicweb-cms.com\files\Templates\Designs\LM2016\_parsed\News_Item.parsed.cshtml" 22 using Dynamicweb.Frontend; 23 24 #line default 25 #line hidden 26 27 #line 211 "D:\dynamicweb.net\Solutions\Earned\lachenmeier.dw9.dynamicweb-cms.com\files\Templates\Designs\LM2016\_parsed\News_Item.parsed.cshtml" 28 using Dynamicweb.Rendering; 29 30 #line default 31 #line hidden 32 33 34 public class RazorEngine_1762194b459640c191583bd3093f3af3 : RazorTemplateBase<RazorTemplateModel<Template>> { 35 36 #line hidden 37 38 public RazorEngine_1762194b459640c191583bd3093f3af3() { 39 } 40 41 public override void Execute() { 42 WriteLiteral("\r\n<!DOCTYPE html>\r\n<html"); 43 44 WriteAttribute("lang", Tuple.Create(" lang=\'", 162), Tuple.Create("\'", 191) 45 46 #line 5 "D:\dynamicweb.net\Solutions\Earned\lachenmeier.dw9.dynamicweb-cms.com\files\Templates\Designs\LM2016\_parsed\News_Item.parsed.cshtml" 47 , Tuple.Create(Tuple.Create("", 169), Tuple.Create<System.Object, System.Int32>(GetString("LongLang") 48 49 #line default 50 #line hidden 51 , 169), false) 52 ); 53 54 WriteLiteral(">\r\n<head>\r\n\t<meta"); 55 56 WriteLiteral(" charset=\"utf-8\""); 57 58 WriteLiteral(">\r\n\t<title>"); 59 60 61 #line 8 "D:\dynamicweb.net\Solutions\Earned\lachenmeier.dw9.dynamicweb-cms.com\files\Templates\Designs\LM2016\_parsed\News_Item.parsed.cshtml" 62 Write(GetValue("Title")); 63 64 65 #line default 66 #line hidden 67 WriteLiteral("</title>\r\n"); 68 69 70 #line 9 "D:\dynamicweb.net\Solutions\Earned\lachenmeier.dw9.dynamicweb-cms.com\files\Templates\Designs\LM2016\_parsed\News_Item.parsed.cshtml" 71 Write(GetValue("MetaTags")); 72 73 74 #line default 75 #line hidden 76 WriteLiteral("\r\n"); 77 78 79 #line 10 "D:\dynamicweb.net\Solutions\Earned\lachenmeier.dw9.dynamicweb-cms.com\files\Templates\Designs\LM2016\_parsed\News_Item.parsed.cshtml" 80 Write(GetValue("CopyRightNotice")); 81 82 83 #line default 84 #line hidden 85 WriteLiteral("\r\n\r\n"); 86 87 88 #line 12 "D:\dynamicweb.net\Solutions\Earned\lachenmeier.dw9.dynamicweb-cms.com\files\Templates\Designs\LM2016\_parsed\News_Item.parsed.cshtml" 89 90 91 #line default 92 #line hidden 93 WriteLiteral("\r\n<meta"); 94 95 WriteLiteral(" name=\"viewport\""); 96 97 WriteLiteral(" content=\"width=device-width, initial-scale=1.0\""); 98 99 WriteLiteral(">\r\n\r\n<meta"); 100 101 WriteLiteral(" name=\"author\""); 102 103 WriteLiteral(" content=\"\""); 104 105 WriteLiteral(">\r\n"); 106 107 108 #line 19 "D:\dynamicweb.net\Solutions\Earned\lachenmeier.dw9.dynamicweb-cms.com\files\Templates\Designs\LM2016\_parsed\News_Item.parsed.cshtml" 109 foreach (var language in GetLoop("Languages").Where(l => (l.GetString("Culture") != "ru-RU" && !string.IsNullOrEmpty(l.GetString("PageID")) 110 111 #line default 112 #line hidden 113 114 #line 19 "D:\dynamicweb.net\Solutions\Earned\lachenmeier.dw9.dynamicweb-cms.com\files\Templates\Designs\LM2016\_parsed\News_Item.parsed.cshtml" 115 ))) 116 { 117 string lang = language.GetString("Culture").Substring(3) == "US" ? language.GetString("Culture") : language.GetString("Culture").Substring(0, 2); 118 string link = "https://" + language.GetString("PrimaryDomain") + SearchEngineFriendlyURLs.GetFriendlyUrl(language.GetInteger("PageID")); 119 120 121 #line default 122 #line hidden 123 WriteLiteral("<link"); 124 125 WriteLiteral(" rel=\"alternate\""); 126 127 WriteAttribute("hreflang", Tuple.Create(" hreflang=\'", 1086), Tuple.Create("\'", 1102) 128 129 #line 23 "D:\dynamicweb.net\Solutions\Earned\lachenmeier.dw9.dynamicweb-cms.com\files\Templates\Designs\LM2016\_parsed\News_Item.parsed.cshtml" 130 , Tuple.Create(Tuple.Create("", 1097), Tuple.Create<System.Object, System.Int32>(lang 131 132 #line default 133 #line hidden 134 , 1097), false) 135 ); 136 137 WriteAttribute("href", Tuple.Create(" href=\'", 1103), Tuple.Create("\'", 1115) 138 139 #line 23 "D:\dynamicweb.net\Solutions\Earned\lachenmeier.dw9.dynamicweb-cms.com\files\Templates\Designs\LM2016\_parsed\News_Item.parsed.cshtml" 140 , Tuple.Create(Tuple.Create("", 1110), Tuple.Create<System.Object, System.Int32>(link 141 142 #line default 143 #line hidden 144 , 1110), false) 145 ); 146 147 WriteLiteral(">\r\n"); 148 149 150 #line 24 "D:\dynamicweb.net\Solutions\Earned\lachenmeier.dw9.dynamicweb-cms.com\files\Templates\Designs\LM2016\_parsed\News_Item.parsed.cshtml" 151 } 152 153 154 #line default 155 #line hidden 156 WriteLiteral("\r\n"); 157 158 159 #line 26 "D:\dynamicweb.net\Solutions\Earned\lachenmeier.dw9.dynamicweb-cms.com\files\Templates\Designs\LM2016\_parsed\News_Item.parsed.cshtml" 160 Write(RenderSnippet("StyleSheet")); 161 162 163 #line default 164 #line hidden 165 WriteLiteral("\r\n\r\n"); 166 167 168 #line 28 "D:\dynamicweb.net\Solutions\Earned\lachenmeier.dw9.dynamicweb-cms.com\files\Templates\Designs\LM2016\_parsed\News_Item.parsed.cshtml" 169 170 string favicon = Convert.ToString(Pageview.Area.Item["Favicon"]); 171 string faviconUrl = GetString("Template:DesignBaseUrl") + "assets/images/" + favicon; 172 string customCSS = Convert.ToString(Pageview.Area.Item["Custom_CSS_Url"]); 173 string customCssUrl = "assets/stylesheets" + customCSS; 174 if (!string.IsNullOrEmpty(customCSS)) 175 { 176 177 178 #line default 179 #line hidden 180 WriteLiteral(" <link"); 181 182 WriteAttribute("href", Tuple.Create(" href=\"", 1526), Tuple.Create("\"", 1546) 183 184 #line 35 "D:\dynamicweb.net\Solutions\Earned\lachenmeier.dw9.dynamicweb-cms.com\files\Templates\Designs\LM2016\_parsed\News_Item.parsed.cshtml" 185 , Tuple.Create(Tuple.Create("", 1533), Tuple.Create<System.Object, System.Int32>(customCssUrl 186 187 #line default 188 #line hidden 189 , 1533), false) 190 ); 191 192 WriteLiteral(" rel=\"stylesheet\""); 193 194 WriteLiteral(" media=\"screen\""); 195 196 WriteLiteral(">\r\n"); 197 198 199 #line 36 "D:\dynamicweb.net\Solutions\Earned\lachenmeier.dw9.dynamicweb-cms.com\files\Templates\Designs\LM2016\_parsed\News_Item.parsed.cshtml" 200 } 201 if (!string.IsNullOrEmpty(favicon)) 202 { 203 204 205 #line default 206 #line hidden 207 WriteLiteral(" <link"); 208 209 WriteLiteral(" rel=\"icon\""); 210 211 WriteLiteral(" type=\"image/png\""); 212 213 WriteAttribute("href", Tuple.Create(" href=\"", 1678), Tuple.Create("\"", 1696) 214 215 #line 39 "D:\dynamicweb.net\Solutions\Earned\lachenmeier.dw9.dynamicweb-cms.com\files\Templates\Designs\LM2016\_parsed\News_Item.parsed.cshtml" 216 , Tuple.Create(Tuple.Create("", 1685), Tuple.Create<System.Object, System.Int32>(faviconUrl 217 218 #line default 219 #line hidden 220 , 1685), false) 221 ); 222 223 WriteLiteral(">\r\n"); 224 225 226 #line 40 "D:\dynamicweb.net\Solutions\Earned\lachenmeier.dw9.dynamicweb-cms.com\files\Templates\Designs\LM2016\_parsed\News_Item.parsed.cshtml" 227 } 228 229 230 #line default 231 #line hidden 232 WriteLiteral("\r\n\r\n"); 233 234 235 #line 43 "D:\dynamicweb.net\Solutions\Earned\lachenmeier.dw9.dynamicweb-cms.com\files\Templates\Designs\LM2016\_parsed\News_Item.parsed.cshtml" 236 Write(RenderSnippet("JavaScriptHead")); 237 238 239 #line default 240 #line hidden 241 WriteLiteral("\r\n\r\n<link"); 242 243 WriteLiteral(" href=\"/Files/Templates/Designs/LM2016/assets/stylesheets/screen.css\""); 244 245 WriteLiteral(" rel=\"stylesheet\""); 246 247 WriteLiteral(" media=\"screen\""); 248 249 WriteLiteral(">\r\n<link"); 250 251 WriteLiteral(" rel=\"preconnect\""); 252 253 WriteLiteral(" href=\"https://fonts.gstatic.com\""); 254 255 WriteLiteral(">\r\n<link"); 256 257 WriteLiteral(" href=\'//fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic," + 258 "700italic,800italic,400,300,600,700,800%7COpen+Sans+Condensed:300,300italic,700\'" + 259 ""); 260 261 WriteLiteral(" rel=\'stylesheet\'"); 262 263 WriteLiteral(" type=\'text/css\'"); 264 265 WriteLiteral(">\r\n\r\n<script"); 266 267 WriteLiteral(" type=\"text/javascript\""); 268 269 WriteLiteral(" src=\"https://secure.leadforensics.com/js/59050.js\""); 270 271 WriteLiteral("></script>\r\n<noscript><img"); 272 273 WriteLiteral(" alt=\"\""); 274 275 WriteLiteral(" src=\"https://secure.leadforensics.com/59050.png\""); 276 277 WriteLiteral(" style=\"display:none;\""); 278 279 WriteLiteral("></noscript>\r\n\r\n<link"); 280 281 WriteLiteral(" rel=\"stylesheet\""); 282 283 WriteLiteral(" media=\"all\""); 284 285 WriteLiteral(" href=\"/Files/Templates/Designs/LM2016/assets/stylesheets/cookie-policy-external." + 286 "css\""); 287 288 WriteLiteral(">\r\n<script"); 289 290 WriteLiteral(" src=\"/Files/Templates/Designs/LM2016/assets/javascripts/cookie-policy.js\""); 291 292 WriteLiteral("></script>\r\n\r\n\r\n\r\n"); 293 294 WriteLiteral("\r\n<script>\r\n\t\t"); 295 296 WriteLiteral(@" 297 if (getCookie('cookie_disable_ga') == '' || getCookie('cookie_disable_ga') == false) { 298 (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ 299 (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), 300 m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) 301 })(window, document, 'script', '//www.google-analytics.com/analytics.js', 'ga'); 302 303 ga('create', '"); 304 305 306 #line 67 "D:\dynamicweb.net\Solutions\Earned\lachenmeier.dw9.dynamicweb-cms.com\files\Templates\Designs\LM2016\_parsed\News_Item.parsed.cshtml" 307 Write(Pageview.Area.Item["Google_Analytics_ID"]); 308 309 310 #line default 311 #line hidden 312 WriteLiteral("\', \'"); 313 314 315 #line 67 "D:\dynamicweb.net\Solutions\Earned\lachenmeier.dw9.dynamicweb-cms.com\files\Templates\Designs\LM2016\_parsed\News_Item.parsed.cshtml" 316 Write(GetGlobalValue("Global:Area.Primarydomain")); 317 318 319 #line default 320 #line hidden 321 WriteLiteral("\');\r\n\t\tga(\'require\', \'displayfeatures\');\r\n ga(\'send\', \'pageview\');\r\n }\r" + 322 "\n</script>\r\n"); 323 324 WriteLiteral("\r\n\r\n"); 325 326 327 #line 74 "D:\dynamicweb.net\Solutions\Earned\lachenmeier.dw9.dynamicweb-cms.com\files\Templates\Designs\LM2016\_parsed\News_Item.parsed.cshtml" 328 Write(GetValue("Stylesheets")); 329 330 331 #line default 332 #line hidden 333 WriteLiteral("\r\n"); 334 335 336 #line 75 "D:\dynamicweb.net\Solutions\Earned\lachenmeier.dw9.dynamicweb-cms.com\files\Templates\Designs\LM2016\_parsed\News_Item.parsed.cshtml" 337 Write(GetValue("Javascripts")); 338 339 340 #line default 341 #line hidden 342 WriteLiteral("\r\n</head>\r\n"); 343 344 345 #line 77 "D:\dynamicweb.net\Solutions\Earned\lachenmeier.dw9.dynamicweb-cms.com\files\Templates\Designs\LM2016\_parsed\News_Item.parsed.cshtml" 346 347 string firstActive = GetString("DwAreaFirstActivePageID"); 348 bool isMobile = Pageview.Device.ToString() == "Mobile"; 349 350 351 #line default 352 #line hidden 353 WriteLiteral("\r\n<body"); 354 355 WriteLiteral(" data-pageid=\'"); 356 357 358 #line 81 "D:\dynamicweb.net\Solutions\Earned\lachenmeier.dw9.dynamicweb-cms.com\files\Templates\Designs\LM2016\_parsed\News_Item.parsed.cshtml" 359 Write(Pageview.Page.ID); 360 361 362 #line default 363 #line hidden 364 WriteLiteral("\'"); 365 366 WriteAttribute("class", Tuple.Create(" class=\'", 3708), Tuple.Create("\'", 3751) 367 368 #line 81 "D:\dynamicweb.net\Solutions\Earned\lachenmeier.dw9.dynamicweb-cms.com\files\Templates\Designs\LM2016\_parsed\News_Item.parsed.cshtml" 369 , Tuple.Create(Tuple.Create("", 3716), Tuple.Create<System.Object, System.Int32>(GetGlobalValue("Global:Area.Name") 370 371 #line default 372 #line hidden 373 , 3716), false) 374 ); 375 376 WriteLiteral(">\r\n"); 377 378 379 #line 82 "D:\dynamicweb.net\Solutions\Earned\lachenmeier.dw9.dynamicweb-cms.com\files\Templates\Designs\LM2016\_parsed\News_Item.parsed.cshtml" 380 381 382 #line default 383 #line hidden 384 385 #line 82 "D:\dynamicweb.net\Solutions\Earned\lachenmeier.dw9.dynamicweb-cms.com\files\Templates\Designs\LM2016\_parsed\News_Item.parsed.cshtml" 386 if (isMobile) { 387 388 389 #line default 390 #line hidden 391 WriteLiteral("\t\t"); 392 393 WriteLiteral("\r\n"); 394 395 396 #line 84 "D:\dynamicweb.net\Solutions\Earned\lachenmeier.dw9.dynamicweb-cms.com\files\Templates\Designs\LM2016\_parsed\News_Item.parsed.cshtml" 397 398 399 #line default 400 #line hidden 401 WriteLiteral("\r\n<div"); 402 403 WriteLiteral(" id=\"pushobj\""); 404 405 WriteLiteral(">\n\t<a"); 406 407 WriteLiteral(" type=\"button\""); 408 409 WriteLiteral(" class=\"btn btn-default\""); 410 411 WriteLiteral(" id=\"toggle\""); 412 413 WriteLiteral(" href=\"#phoneMenu\""); 414 415 WriteLiteral(">\n\t\tMenu\n\t\t<i"); 416 417 WriteLiteral(" class=\"fa fa-reorder\""); 418 419 WriteLiteral("></i>\r\n\t</a>\n</div>\n<nav"); 420 421 WriteLiteral(" id=\"phoneMenu\""); 422 423 WriteLiteral(">\n\t<ul>\r\n\t\t<li>\r\n"); 424 425 WriteLiteral("\t\t\t"); 426 427 428 #line 96 "D:\dynamicweb.net\Solutions\Earned\lachenmeier.dw9.dynamicweb-cms.com\files\Templates\Designs\LM2016\_parsed\News_Item.parsed.cshtml" 429 Write(GetValue("DwNavigation(navPhoneMain)")); 430 431 432 #line default 433 #line hidden 434 WriteLiteral("\r\n\t\t</li>\r\n\t\t<li>\r\n\t\t\t<h6>"); 435 436 437 #line 99 "D:\dynamicweb.net\Solutions\Earned\lachenmeier.dw9.dynamicweb-cms.com\files\Templates\Designs\LM2016\_parsed\News_Item.parsed.cshtml" 438 Write(Translate("contactDownload", "Contact & Download")); 439 440 441 #line default 442 #line hidden 443 WriteLiteral("</h6>\r\n"); 444 445 WriteLiteral("\t\t\t"); 446 447 448 #line 100 "D:\dynamicweb.net\Solutions\Earned\lachenmeier.dw9.dynamicweb-cms.com\files\Templates\Designs\LM2016\_parsed\News_Item.parsed.cshtml" 449 Write(GetValue("DwNavigation(navPhoneTop)")); 450 451 452 #line default 453 #line hidden 454 WriteLiteral("\r\n\t\t</li>\r\n\t\t<li>\r\n\t\t\t<h6>"); 455 456 457 #line 103 "D:\dynamicweb.net\Solutions\Earned\lachenmeier.dw9.dynamicweb-cms.com\files\Templates\Designs\LM2016\_parsed\News_Item.parsed.cshtml" 458 Write(Translate("languages", "Languages")); 459 460 461 #line default 462 #line hidden 463 WriteLiteral("</h6>\r\n\t\t</li>\r\n"); 464 465 466 #line 105 "D:\dynamicweb.net\Solutions\Earned\lachenmeier.dw9.dynamicweb-cms.com\files\Templates\Designs\LM2016\_parsed\News_Item.parsed.cshtml" 467 468 469 #line default 470 #line hidden 471 472 #line 107 "D:\dynamicweb.net\Solutions\Earned\lachenmeier.dw9.dynamicweb-cms.com\files\Templates\Designs\LM2016\_parsed\News_Item.parsed.cshtml" 473 foreach (var language in GetLoop("Languages").Where(l => l.GetString("Culture")!="ru-RU")) { 474 string culture = language.GetString("Culture"); 475 if (!language.GetBoolean("IsCurrent")) { 476 string languagePage = (!string.IsNullOrEmpty(language.GetString("PageID")) && !language.GetBoolean("PageIsHidden")) ? language.GetString("PageID") : language.GetString("FirstPageID"); 477 478 479 #line default 480 #line hidden 481 WriteLiteral("\t\t<li"); 482 483 WriteAttribute("class", Tuple.Create(" class=\"", 4873), Tuple.Create("\"", 4918) 484 , Tuple.Create(Tuple.Create("", 4881), Tuple.Create("flags", 4881), true) 485 486 #line 111 "D:\dynamicweb.net\Solutions\Earned\lachenmeier.dw9.dynamicweb-cms.com\files\Templates\Designs\LM2016\_parsed\News_Item.parsed.cshtml" 487 , Tuple.Create(Tuple.Create(" ", 4886), Tuple.Create<System.Object, System.Int32>(culture.Substring(3).ToLower() 488 489 #line default 490 #line hidden 491 , 4887), false) 492 ); 493 494 WriteLiteral("><a"); 495 496 WriteAttribute("href", Tuple.Create(" href=\"", 4922), Tuple.Create("\"", 4959) 497 , Tuple.Create(Tuple.Create("", 4929), Tuple.Create("/Default.aspx?ID=", 4929), true) 498 499 #line 111 "D:\dynamicweb.net\Solutions\Earned\lachenmeier.dw9.dynamicweb-cms.com\files\Templates\Designs\LM2016\_parsed\News_Item.parsed.cshtml" 500 , Tuple.Create(Tuple.Create("", 4946), Tuple.Create<System.Object, System.Int32>(languagePage 501 502 #line default 503 #line hidden 504 , 4946), false) 505 ); 506 507 WriteAttribute("hreflang", Tuple.Create(" hreflang=\"", 4960), Tuple.Create("\"", 4995) 508 509 #line 111 "D:\dynamicweb.net\Solutions\Earned\lachenmeier.dw9.dynamicweb-cms.com\files\Templates\Designs\LM2016\_parsed\News_Item.parsed.cshtml" 510 , Tuple.Create(Tuple.Create("", 4971), Tuple.Create<System.Object, System.Int32>(culture.Substring(0, 2) 511 512 #line default 513 #line hidden 514 , 4971), false) 515 ); 516 517 WriteLiteral(">"); 518 519 520 #line 111 "D:\dynamicweb.net\Solutions\Earned\lachenmeier.dw9.dynamicweb-cms.com\files\Templates\Designs\LM2016\_parsed\News_Item.parsed.cshtml" 521 Write(language.GetString("Name")); 522 523 524 #line default 525 #line hidden 526 WriteLiteral("</a></li>\r\n"); 527 528 529 #line 112 "D:\dynamicweb.net\Solutions\Earned\lachenmeier.dw9.dynamicweb-cms.com\files\Templates\Designs\LM2016\_parsed\News_Item.parsed.cshtml" 530 } else { 531 532 533 #line default 534 #line hidden 535 WriteLiteral("\t\t<li"); 536 537 WriteAttribute("class", Tuple.Create(" class=\"", 5051), Tuple.Create("\"", 5103) 538 , Tuple.Create(Tuple.Create("", 5059), Tuple.Create("flags", 5059), true) 539 540 #line 113 "D:\dynamicweb.net\Solutions\Earned\lachenmeier.dw9.dynamicweb-cms.com\files\Templates\Designs\LM2016\_parsed\News_Item.parsed.cshtml" 541 , Tuple.Create(Tuple.Create(" ", 5064), Tuple.Create<System.Object, System.Int32>(culture.Substring(3).ToLower() 542 543 #line default 544 #line hidden 545 , 5065), false) 546 , Tuple.Create(Tuple.Create(" ", 5096), Tuple.Create("active", 5097), true) 547 ); 548 549 WriteLiteral(">"); 550 551 552 #line 113 "D:\dynamicweb.net\Solutions\Earned\lachenmeier.dw9.dynamicweb-cms.com\files\Templates\Designs\LM2016\_parsed\News_Item.parsed.cshtml" 553 Write(language.GetString("Name")); 554 555 556 #line default 557 #line hidden 558 WriteLiteral("</li>\r\n"); 559 560 561 #line 114 "D:\dynamicweb.net\Solutions\Earned\lachenmeier.dw9.dynamicweb-cms.com\files\Templates\Designs\LM2016\_parsed\News_Item.parsed.cshtml" 562 } 563 } 564 565 566 #line default 567 #line hidden 568 WriteLiteral("\r\n\t</ul>\n</nav>\n\r\n\t\t"); 569 570 WriteLiteral("\r\n"); 571 572 573 #line 121 "D:\dynamicweb.net\Solutions\Earned\lachenmeier.dw9.dynamicweb-cms.com\files\Templates\Designs\LM2016\_parsed\News_Item.parsed.cshtml" 574 } else { 575 576 577 #line default 578 #line hidden 579 WriteLiteral("\t\t<section"); 580 581 WriteLiteral(" class=\"topmenu-wrapper\""); 582 583 WriteLiteral(">\r\n\t\t\t<div"); 584 585 WriteLiteral(" class=\"container\""); 586 587 WriteLiteral(">\r\n\t\t\t\t<div"); 588 589 WriteLiteral(" class=\"topmenu\""); 590 591 WriteLiteral(">\r\n"); 592 593 594 #line 125 "D:\dynamicweb.net\Solutions\Earned\lachenmeier.dw9.dynamicweb-cms.com\files\Templates\Designs\LM2016\_parsed\News_Item.parsed.cshtml" 595 596 597 #line default 598 #line hidden 599 WriteLiteral("\r\n<nav"); 600 601 WriteLiteral(" class=\"navbar hidden-print\""); 602 603 WriteLiteral(" data-equable=\"true\""); 604 605 WriteLiteral(" role=\"navigation\""); 606 607 WriteLiteral(">\r\n\t<button"); 608 609 WriteLiteral(" type=\"button\""); 610 611 WriteLiteral(" class=\"btn btn-default navbar-toggle\""); 612 613 WriteLiteral(" data-toggle=\"collapse\""); 614 615 WriteLiteral(" data-target=\"#topnav\""); 616 617 WriteLiteral(">\r\n\t\t<span"); 618 619 WriteLiteral(" class=\"icon-bar\""); 620 621 WriteLiteral("></span>\r\n\t\t<span"); 622 623 WriteLiteral(" class=\"icon-bar\""); 624 625 WriteLiteral("></span>\r\n\t\t<span"); 626 627 WriteLiteral(" class=\"icon-bar\""); 628 629 WriteLiteral("></span>\r\n\t</button>\r\n\t<div"); 630 631 WriteLiteral(" class=\"collapse navbar-collapse\""); 632 633 WriteLiteral(" id=\"topnav\""); 634 635 WriteLiteral(">\r\n\t\t<ul"); 636 637 WriteLiteral(" class=\"nav lang-selector\""); 638 639 WriteLiteral(">\r\n"); 640 641 642 #line 136 "D:\dynamicweb.net\Solutions\Earned\lachenmeier.dw9.dynamicweb-cms.com\files\Templates\Designs\LM2016\_parsed\News_Item.parsed.cshtml" 643 644 645 #line default 646 #line hidden 647 648 #line 138 "D:\dynamicweb.net\Solutions\Earned\lachenmeier.dw9.dynamicweb-cms.com\files\Templates\Designs\LM2016\_parsed\News_Item.parsed.cshtml" 649 foreach (var language in GetLoop("Languages").Where(l => l.GetString("Culture")!="ru-RU")) { 650 string culture = language.GetString("Culture"); 651 if (!language.GetBoolean("IsCurrent")) { 652 string languagePage = (!string.IsNullOrEmpty(language.GetString("PageID")) && !language.GetBoolean("PageIsHidden")) ? language.GetString("PageID") : language.GetString("FirstPageID"); 653 654 655 #line default 656 #line hidden 657 WriteLiteral("\t\t<li"); 658 659 WriteAttribute("class", Tuple.Create(" class=\"", 6326), Tuple.Create("\"", 6371) 660 , Tuple.Create(Tuple.Create("", 6334), Tuple.Create("flags", 6334), true) 661 662 #line 142 "D:\dynamicweb.net\Solutions\Earned\lachenmeier.dw9.dynamicweb-cms.com\files\Templates\Designs\LM2016\_parsed\News_Item.parsed.cshtml" 663 , Tuple.Create(Tuple.Create(" ", 6339), Tuple.Create<System.Object, System.Int32>(culture.Substring(3).ToLower() 664 665 #line default 666 #line hidden 667 , 6340), false) 668 ); 669 670 WriteLiteral("><a"); 671 672 WriteAttribute("href", Tuple.Create(" href=\"", 6375), Tuple.Create("\"", 6412) 673 , Tuple.Create(Tuple.Create("", 6382), Tuple.Create("/Default.aspx?ID=", 6382), true) 674 675 #line 142 "D:\dynamicweb.net\Solutions\Earned\lachenmeier.dw9.dynamicweb-cms.com\files\Templates\Designs\LM2016\_parsed\News_Item.parsed.cshtml" 676 , Tuple.Create(Tuple.Create("", 6399), Tuple.Create<System.Object, System.Int32>(languagePage 677 678 #line default 679 #line hidden 680 , 6399), false) 681 ); 682 683 WriteAttribute("hreflang", Tuple.Create(" hreflang=\"", 6413), Tuple.Create("\"", 6448) 684 685 #line 142 "D:\dynamicweb.net\Solutions\Earned\lachenmeier.dw9.dynamicweb-cms.com\files\Templates\Designs\LM2016\_parsed\News_Item.parsed.cshtml" 686 , Tuple.Create(Tuple.Create("", 6424), Tuple.Create<System.Object, System.Int32>(culture.Substring(0, 2) 687 688 #line default 689 #line hidden 690 , 6424), false) 691 ); 692 693 WriteLiteral(">"); 694 695 696 #line 142 "D:\dynamicweb.net\Solutions\Earned\lachenmeier.dw9.dynamicweb-cms.com\files\Templates\Designs\LM2016\_parsed\News_Item.parsed.cshtml" 697 Write(language.GetString("Name")); 698 699 700 #line default 701 #line hidden 702 WriteLiteral("</a></li>\r\n"); 703 704 705 #line 143 "D:\dynamicweb.net\Solutions\Earned\lachenmeier.dw9.dynamicweb-cms.com\files\Templates\Designs\LM2016\_parsed\News_Item.parsed.cshtml" 706 } else { 707 708 709 #line default 710 #line hidden 711 WriteLiteral("\t\t<li"); 712 713 WriteAttribute("class", Tuple.Create(" class=\"", 6504), Tuple.Create("\"", 6556) 714 , Tuple.Create(Tuple.Create("", 6512), Tuple.Create("flags", 6512), true) 715 716 #line 144 "D:\dynamicweb.net\Solutions\Earned\lachenmeier.dw9.dynamicweb-cms.com\files\Templates\Designs\LM2016\_parsed\News_Item.parsed.cshtml" 717 , Tuple.Create(Tuple.Create(" ", 6517), Tuple.Create<System.Object, System.Int32>(culture.Substring(3).ToLower() 718 719 #line default 720 #line hidden 721 , 6518), false) 722 , Tuple.Create(Tuple.Create(" ", 6549), Tuple.Create("active", 6550), true) 723 ); 724 725 WriteLiteral(">"); 726 727 728 #line 144 "D:\dynamicweb.net\Solutions\Earned\lachenmeier.dw9.dynamicweb-cms.com\files\Templates\Designs\LM2016\_parsed\News_Item.parsed.cshtml" 729 Write(language.GetString("Name")); 730 731 732 #line default 733 #line hidden 734 WriteLiteral("</li>\r\n"); 735 736 737 #line 145 "D:\dynamicweb.net\Solutions\Earned\lachenmeier.dw9.dynamicweb-cms.com\files\Templates\Designs\LM2016\_parsed\News_Item.parsed.cshtml" 738 } 739 } 740 741 742 #line default 743 #line hidden 744 WriteLiteral("\r\n\t\t</ul>\r\n\t\t<ul"); 745 746 WriteLiteral(" class=\"nav\""); 747 748 WriteLiteral(">\r\n"); 749 750 751 #line 150 "D:\dynamicweb.net\Solutions\Earned\lachenmeier.dw9.dynamicweb-cms.com\files\Templates\Designs\LM2016\_parsed\News_Item.parsed.cshtml" 752 753 754 #line default 755 #line hidden 756 757 #line 150 "D:\dynamicweb.net\Solutions\Earned\lachenmeier.dw9.dynamicweb-cms.com\files\Templates\Designs\LM2016\_parsed\News_Item.parsed.cshtml" 758 if (!string.IsNullOrEmpty(GetString("DW_extranet_AccessUserID"))) { 759 760 761 #line default 762 #line hidden 763 WriteLiteral("\t\t\t\t<li>\r\n\t\t\t\t\t<a"); 764 765 WriteAttribute("href", Tuple.Create(" href=\'", 6720), Tuple.Create("\'", 6765) 766 , Tuple.Create(Tuple.Create("", 6727), Tuple.Create("Default.aspx?ID=", 6727), true) 767 768 #line 152 "D:\dynamicweb.net\Solutions\Earned\lachenmeier.dw9.dynamicweb-cms.com\files\Templates\Designs\LM2016\_parsed\News_Item.parsed.cshtml" 769 , Tuple.Create(Tuple.Create("", 6743), Tuple.Create<System.Object, System.Int32>(GetString("DwPageID") 770 771 #line default 772 #line hidden 773 , 6743), false) 774 ); 775 776 WriteLiteral(">\r\n\t\t\t\t\t\tLogged in as\r\n\t\t\t\t\t\t\'"); 777 778 779 #line 154 "D:\dynamicweb.net\Solutions\Earned\lachenmeier.dw9.dynamicweb-cms.com\files\Templates\Designs\LM2016\_parsed\News_Item.parsed.cshtml" 780 Write(GetString("DW_extranet_AccessUserName")); 781 782 783 #line default 784 #line hidden 785 WriteLiteral("\'\r\n\t\t\t\t\t</a>\r\n\t\t\t\t</li>\r\n"); 786 787 WriteLiteral("\t\t\t\t\t<li>\r\n\t\t\t\t\t\t<a"); 788 789 WriteAttribute("href", Tuple.Create(" href=\'", 6880), Tuple.Create("\'", 6946) 790 , Tuple.Create(Tuple.Create("", 6887), Tuple.Create("/Admin/Public/extranetlogoff.aspx?ID=", 6887), true) 791 792 #line 158 "D:\dynamicweb.net\Solutions\Earned\lachenmeier.dw9.dynamicweb-cms.com\files\Templates\Designs\LM2016\_parsed\News_Item.parsed.cshtml" 793 , Tuple.Create(Tuple.Create("", 6924), Tuple.Create<System.Object, System.Int32>(GetString("DwPageID") 794 795 #line default 796 #line hidden 797 , 6924), false) 798 ); 799 800 WriteLiteral(">Log out</a>\r\n\t\t\t\t\t</li>\r\n"); 801 802 803 #line 160 "D:\dynamicweb.net\Solutions\Earned\lachenmeier.dw9.dynamicweb-cms.com\files\Templates\Designs\LM2016\_parsed\News_Item.parsed.cshtml" 804 } else { 805 806 807 #line default 808 #line hidden 809 WriteLiteral("\t\t\t\t<li><a"); 810 811 WriteLiteral(" href=\"javascript:void(0);\""); 812 813 WriteLiteral(" data-toggle=\"modal\""); 814 815 WriteLiteral(" data-target=\"#login\""); 816 817 WriteLiteral(">Log in</a></li>\r\n"); 818 819 820 #line 162 "D:\dynamicweb.net\Solutions\Earned\lachenmeier.dw9.dynamicweb-cms.com\files\Templates\Designs\LM2016\_parsed\News_Item.parsed.cshtml" 821 } 822 823 824 #line default 825 #line hidden 826 WriteLiteral("\t\t</ul>\r\n"); 827 828 WriteLiteral("\t\t"); 829 830 831 #line 164 "D:\dynamicweb.net\Solutions\Earned\lachenmeier.dw9.dynamicweb-cms.com\files\Templates\Designs\LM2016\_parsed\News_Item.parsed.cshtml" 832 Write(GetValue("DwNavigation(navTop)")); 833 834 835 #line default 836 #line hidden 837 WriteLiteral("\r\n\t</div>\r\n\r\n</nav>\r\n\r\n\t\t\t\t</div>\r\n\t\t\t</div>\r\n\t\t</section>\r\n"); 838 839 840 #line 172 "D:\dynamicweb.net\Solutions\Earned\lachenmeier.dw9.dynamicweb-cms.com\files\Templates\Designs\LM2016\_parsed\News_Item.parsed.cshtml" 841 } 842 843 844 #line default 845 #line hidden 846 WriteLiteral("\t<header"); 847 848 WriteLiteral(" class=\"header-wrapper\""); 849 850 WriteLiteral(" data-spy=\"affix\""); 851 852 WriteLiteral(" data-offset-top=\"65\""); 853 854 WriteLiteral(">\r\n\t\t<div"); 855 856 WriteLiteral(" class=\"container\""); 857 858 WriteLiteral(">\r\n\t\t\t<div"); 859 860 WriteLiteral(" class=\"logo-wrapper\""); 861 862 WriteLiteral(">\r\n\t\t\t\t<div"); 863 864 WriteLiteral(" class=\"logo\""); 865 866 WriteLiteral(">\r\n\t\t\t\t\t<a"); 867 868 WriteAttribute("href", Tuple.Create(" href=\'", 7357), Tuple.Create("\'", 7393) 869 , Tuple.Create(Tuple.Create("", 7364), Tuple.Create("/Default.aspx?ID=", 7364), true) 870 871 #line 177 "D:\dynamicweb.net\Solutions\Earned\lachenmeier.dw9.dynamicweb-cms.com\files\Templates\Designs\LM2016\_parsed\News_Item.parsed.cshtml" 872 , Tuple.Create(Tuple.Create("", 7381), Tuple.Create<System.Object, System.Int32>(firstActive 873 874 #line default 875 #line hidden 876 , 7381), false) 877 ); 878 879 WriteLiteral(" class=\"logo-image\""); 880 881 WriteLiteral("></a>\r\n\t\t\t\t</div>\r\n\t\t\t\t<div"); 882 883 WriteLiteral(" class=\"search-box\""); 884 885 WriteLiteral(">\r\n"); 886 887 888 #line 180 "D:\dynamicweb.net\Solutions\Earned\lachenmeier.dw9.dynamicweb-cms.com\files\Templates\Designs\LM2016\_parsed\News_Item.parsed.cshtml" 889 890 891 #line default 892 #line hidden 893 WriteLiteral("<form"); 894 895 WriteLiteral(" method=\"get\""); 896 897 WriteLiteral(" action=\"/Default.aspx\""); 898 899 WriteLiteral(" class=\"form-search\""); 900 901 WriteLiteral(">\n\t<input"); 902 903 WriteLiteral(" type=\"hidden\""); 904 905 WriteLiteral(" name=\"ID\""); 906 907 WriteAttribute("value", Tuple.Create(" value=\'", 7683), Tuple.Create("\'", 7723) 908 909 #line 182 "D:\dynamicweb.net\Solutions\Earned\lachenmeier.dw9.dynamicweb-cms.com\files\Templates\Designs\LM2016\_parsed\News_Item.parsed.cshtml" 910 , Tuple.Create(Tuple.Create("", 7691), Tuple.Create<System.Object, System.Int32>(GetString("DwAreaSearchPageID") 911 912 #line default 913 #line hidden 914 , 7691), false) 915 ); 916 917 WriteLiteral(">\r\n\t<div"); 918 919 WriteLiteral(" class=\"input-group\""); 920 921 WriteLiteral(">\n\t\t<input"); 922 923 WriteLiteral(" class=\"form-control\""); 924 925 WriteLiteral(" type=\"search\""); 926 927 WriteLiteral(" name=\"q\""); 928 929 WriteLiteral(">\n <span"); 930 931 WriteLiteral(" class=\"input-group-btn\""); 932 933 WriteLiteral(">\r\n\t\t\t<button"); 934 935 WriteLiteral(" type=\"submit\""); 936 937 WriteLiteral(" value=\"Search\""); 938 939 WriteLiteral(" class=\"btn\""); 940 941 WriteLiteral("><span"); 942 943 WriteLiteral(" class=\"fa fa-search icon-wht\""); 944 945 WriteLiteral("></span></button>\n </span>\r\n\t</div>\n</form>\n\r\n\t\t\t\t</div>\r\n"); 946 947 948 #line 192 "D:\dynamicweb.net\Solutions\Earned\lachenmeier.dw9.dynamicweb-cms.com\files\Templates\Designs\LM2016\_parsed\News_Item.parsed.cshtml" 949 950 951 #line default 952 #line hidden 953 954 #line 192 "D:\dynamicweb.net\Solutions\Earned\lachenmeier.dw9.dynamicweb-cms.com\files\Templates\Designs\LM2016\_parsed\News_Item.parsed.cshtml" 955 if (!isMobile) { 956 957 958 #line default 959 #line hidden 960 WriteLiteral("\t\t\t\t\t<div"); 961 962 WriteLiteral(" class=\"mainmenu\""); 963 964 WriteLiteral(">\r\n\t\t\t\t\t\t<nav"); 965 966 WriteLiteral(" class=\"navbar wrappable\""); 967 968 WriteLiteral(" data-equable=\"true\""); 969 970 WriteLiteral(" role=\"navigation\""); 971 972 WriteLiteral(">\n\t<button"); 973 974 WriteLiteral(" type=\"button\""); 975 976 WriteLiteral(" class=\"btn btn-default navbar-toggle\""); 977 978 WriteLiteral(" data-toggle=\"collapse\""); 979 980 WriteLiteral(" data-target=\"#mainnav\""); 981 982 WriteLiteral(">\n\t\t<span"); 983 984 WriteLiteral(" class=\"icon-bar\""); 985 986 WriteLiteral("></span>\n\t\t<span"); 987 988 WriteLiteral(" class=\"icon-bar\""); 989 990 WriteLiteral("></span>\n\t\t<span"); 991 992 WriteLiteral(" class=\"icon-bar\""); 993 994 WriteLiteral("></span>\n\t</button>\n\t<div"); 995 996 WriteLiteral(" class=\"collapse navbar-collapse\""); 997 998 WriteLiteral(" id=\"mainnav\""); 999 1000 WriteLiteral(">\r\n"); 1001 1002 WriteLiteral("\t\t"); 1003 1004 1005 #line 201 "D:\dynamicweb.net\Solutions\Earned\lachenmeier.dw9.dynamicweb-cms.com\files\Templates\Designs\LM2016\_parsed\News_Item.parsed.cshtml" 1006 Write(GetValue("DwNavigation(NavMain)")); 1007 1008 1009 #line default 1010 #line hidden 1011 WriteLiteral("\n\t</div>\n</nav>\r\n\t\t\t\t\t</div>\r\n"); 1012 1013 1014 #line 205 "D:\dynamicweb.net\Solutions\Earned\lachenmeier.dw9.dynamicweb-cms.com\files\Templates\Designs\LM2016\_parsed\News_Item.parsed.cshtml" 1015 } 1016 1017 1018 #line default 1019 #line hidden 1020 WriteLiteral("\t\t\t</div>\r\n\t\t</div>\r\n\t</header>\r\n"); 1021 1022 1023 #line 209 "D:\dynamicweb.net\Solutions\Earned\lachenmeier.dw9.dynamicweb-cms.com\files\Templates\Designs\LM2016\_parsed\News_Item.parsed.cshtml" 1024 1025 1026 #line default 1027 #line hidden 1028 WriteLiteral("\r\n\r\n"); 1029 1030 1031 #line 214 "D:\dynamicweb.net\Solutions\Earned\lachenmeier.dw9.dynamicweb-cms.com\files\Templates\Designs\LM2016\_parsed\News_Item.parsed.cshtml" 1032 1033 var newsItem = Dynamicweb.Content.Items.Item.GetItemById("News_Item", GetString("Item.Id")); 1034 1035 var data = new { 1036 title = GetString("Item.Title"), 1037 author = new { 1038 name = GetString("Item.Author_Name"), 1039 email = GetString("Item.Author_EMail") 1040 } 1041 }; 1042 1043 var url = newsItem["Item.Url"]; 1044 var newsImg = GetString("Item.Image"); 1045 var imgCaption = GetString("Item.Image_Caption"); 1046 1047 var author = new { 1048 name = newsItem["Author_Name"], 1049 email = newsItem["Author_EMail"] as string 1050 }; 1051 1052 var newsItemUrl = string.Format("/Default.aspx?ID={0}", Pageview.Page.ID); 1053 1054 1055 #line default 1056 #line hidden 1057 WriteLiteral("\r\n\r\n<section"); 1058 1059 WriteLiteral(" class=\"page-wrapper\""); 1060 1061 WriteLiteral(">\n\t<section"); 1062 1063 WriteLiteral(" class=\"container content-wrapper news\""); 1064 1065 WriteLiteral(">\n\t\t<div"); 1066 1067 WriteLiteral(" class=\"row\""); 1068 1069 WriteLiteral(">\n\n\t\t\t<article"); 1070 1071 WriteLiteral(" class=\"news-item col-md-12\""); 1072 1073 WriteLiteral(">\r\n\t\t\t\t<header"); 1074 1075 WriteLiteral(" class=\"jumbotron\""); 1076 1077 WriteLiteral(">\r\n\t\t\t\t\t<h1"); 1078 1079 WriteLiteral(" class=\"title\""); 1080 1081 WriteLiteral("><a"); 1082 1083 WriteAttribute("href", Tuple.Create(" href=\"", 9383), Tuple.Create("\"", 9402) 1084 1085 #line 243 "D:\dynamicweb.net\Solutions\Earned\lachenmeier.dw9.dynamicweb-cms.com\files\Templates\Designs\LM2016\_parsed\News_Item.parsed.cshtml" 1086 , Tuple.Create(Tuple.Create("", 9390), Tuple.Create<System.Object, System.Int32>(newsItemUrl 1087 1088 #line default 1089 #line hidden 1090 , 9390), false) 1091 ); 1092 1093 WriteLiteral(">"); 1094 1095 1096 #line 243 "D:\dynamicweb.net\Solutions\Earned\lachenmeier.dw9.dynamicweb-cms.com\files\Templates\Designs\LM2016\_parsed\News_Item.parsed.cshtml" 1097 Write(newsItem["Title"]); 1098 1099 1100 #line default 1101 #line hidden 1102 WriteLiteral("</a></h1>\r\n\t\t\t\t\t<div"); 1103 1104 WriteLiteral(" class=\"clearfix\""); 1105 1106 WriteLiteral("></div>\r\n\t\t\t\t</header>\r\n\r\n\t\t\t\t<div"); 1107 1108 WriteLiteral(" class=\"image col-md-3\""); 1109 1110 WriteLiteral(">\r\n"); 1111 1112 1113 #line 248 "D:\dynamicweb.net\Solutions\Earned\lachenmeier.dw9.dynamicweb-cms.com\files\Templates\Designs\LM2016\_parsed\News_Item.parsed.cshtml" 1114 1115 1116 #line default 1117 #line hidden 1118 1119 #line 248 "D:\dynamicweb.net\Solutions\Earned\lachenmeier.dw9.dynamicweb-cms.com\files\Templates\Designs\LM2016\_parsed\News_Item.parsed.cshtml" 1120 if (!string.IsNullOrEmpty(newsImg)) { 1121 1122 1123 #line default 1124 #line hidden 1125 WriteLiteral("\t\t\t\t\t\t<img"); 1126 1127 WriteAttribute("src", Tuple.Create(" src=\"", 9574), Tuple.Create("\"", 9588) 1128 1129 #line 249 "D:\dynamicweb.net\Solutions\Earned\lachenmeier.dw9.dynamicweb-cms.com\files\Templates\Designs\LM2016\_parsed\News_Item.parsed.cshtml" 1130 , Tuple.Create(Tuple.Create("", 9580), Tuple.Create<System.Object, System.Int32>(newsImg 1131 1132 #line default 1133 #line hidden 1134 , 9580), false) 1135 ); 1136 1137 WriteLiteral(" class=\"img-responsive\""); 1138 1139 WriteAttribute("alt", Tuple.Create(" alt=\"", 9612), Tuple.Create("\"", 9629) 1140 1141 #line 249 "D:\dynamicweb.net\Solutions\Earned\lachenmeier.dw9.dynamicweb-cms.com\files\Templates\Designs\LM2016\_parsed\News_Item.parsed.cshtml" 1142 , Tuple.Create(Tuple.Create("", 9618), Tuple.Create<System.Object, System.Int32>(imgCaption 1143 1144 #line default 1145 #line hidden 1146 , 9618), false) 1147 ); 1148 1149 WriteLiteral(">\r\n"); 1150 1151 1152 #line 250 "D:\dynamicweb.net\Solutions\Earned\lachenmeier.dw9.dynamicweb-cms.com\files\Templates\Designs\LM2016\_parsed\News_Item.parsed.cshtml" 1153 } 1154 1155 1156 #line default 1157 #line hidden 1158 WriteLiteral("\t\t\t\t</div>\r\n\t\t\t\t<div"); 1159 1160 WriteLiteral(" class=\"content col-md-6\""); 1161 1162 WriteLiteral(">\r\n\t\t\t\t\t<div"); 1163 1164 WriteLiteral(" class=\"author\""); 1165 1166 WriteLiteral(">\r\n\t\t\t\t\t\t<span"); 1167 1168 WriteLiteral(" class=\"author-name\""); 1169 1170 WriteLiteral(">By "); 1171 1172 1173 #line 254 "D:\dynamicweb.net\Solutions\Earned\lachenmeier.dw9.dynamicweb-cms.com\files\Templates\Designs\LM2016\_parsed\News_Item.parsed.cshtml" 1174 Write(author.name); 1175 1176 1177 #line default 1178 #line hidden 1179 WriteLiteral("</span>\r\n\t\t\t\t\t\t<span"); 1180 1181 WriteLiteral(" class=\"date\""); 1182 1183 WriteLiteral(">"); 1184 1185 1186 #line 255 "D:\dynamicweb.net\Solutions\Earned\lachenmeier.dw9.dynamicweb-cms.com\files\Templates\Designs\LM2016\_parsed\News_Item.parsed.cshtml" 1187 Write(string.Format("{0:d}", newsItem["Publication_Time"])); 1188 1189 1190 #line default 1191 #line hidden 1192 WriteLiteral("</span>\r\n\t\t\t\t\t</div>\r\n\t\t\t\t\t<div"); 1193 1194 WriteLiteral(" class=\"excerpt\""); 1195 1196 WriteLiteral(">\r\n"); 1197 1198 WriteLiteral("\t\t\t\t\t\t"); 1199 1200 1201 #line 258 "D:\dynamicweb.net\Solutions\Earned\lachenmeier.dw9.dynamicweb-cms.com\files\Templates\Designs\LM2016\_parsed\News_Item.parsed.cshtml" 1202 Write(newsItem["Excerpt"]); 1203 1204 1205 #line default 1206 #line hidden 1207 WriteLiteral("\r\n\t\t\t\t\t</div>\r\n\t\t\t\t\t<div"); 1208 1209 WriteLiteral(" class=\"content\""); 1210 1211 WriteLiteral(">\r\n"); 1212 1213 WriteLiteral("\t\t\t\t\t\t"); 1214 1215 1216 #line 261 "D:\dynamicweb.net\Solutions\Earned\lachenmeier.dw9.dynamicweb-cms.com\files\Templates\Designs\LM2016\_parsed\News_Item.parsed.cshtml" 1217 Write(newsItem["Content"]); 1218 1219 1220 #line default 1221 #line hidden 1222 WriteLiteral("\r\n\t\t\t\t\t</div>\r\n\r\n"); 1223 1224 1225 #line 264 "D:\dynamicweb.net\Solutions\Earned\lachenmeier.dw9.dynamicweb-cms.com\files\Templates\Designs\LM2016\_parsed\News_Item.parsed.cshtml" 1226 1227 1228 #line default 1229 #line hidden 1230 1231 #line 264 "D:\dynamicweb.net\Solutions\Earned\lachenmeier.dw9.dynamicweb-cms.com\files\Templates\Designs\LM2016\_parsed\News_Item.parsed.cshtml" 1232 if (GetString("Item.Attachment.SystemName") == "Brochure") { 1233 string startLink = ""; 1234 string endLink = ""; 1235 string buttonLink = ""; 1236 string ga = "ga(&#39;send&#39;,&#39;event&#39;,&#39;pdf&#39;,&#39;download&#39;);"; 1237 if (!string.IsNullOrEmpty(GetString("Item.Attachment.BrochureLink"))) { 1238 buttonLink = string.Format("<a class='btn btn-default pdfdownload' onclick='{0}' href='{1}'>",ga,@GetString("Item.Attachment.BrochureLink")); 1239 startLink = string.Format("<a class='pdfdownload' onclick='{0}' href='{1}'>",ga, @GetString("Item.Attachment.BrochureLink")); 1240 endLink = "</a>"; 1241 } 1242 1243 1244 #line default 1245 #line hidden 1246 WriteLiteral("\t\t\t\t\t\t<div"); 1247 1248 WriteLiteral(" class=\"col-md-3 download\""); 1249 1250 WriteLiteral(">\r\n"); 1251 1252 1253 #line 275 "D:\dynamicweb.net\Solutions\Earned\lachenmeier.dw9.dynamicweb-cms.com\files\Templates\Designs\LM2016\_parsed\News_Item.parsed.cshtml" 1254 1255 1256 #line default 1257 #line hidden 1258 1259 #line 275 "D:\dynamicweb.net\Solutions\Earned\lachenmeier.dw9.dynamicweb-cms.com\files\Templates\Designs\LM2016\_parsed\News_Item.parsed.cshtml" 1260 if (!String.IsNullOrEmpty(GetString("Item.Attachment.BrochureImage"))) { 1261 1262 1263 #line default 1264 #line hidden 1265 1266 #line 276 "D:\dynamicweb.net\Solutions\Earned\lachenmeier.dw9.dynamicweb-cms.com\files\Templates\Designs\LM2016\_parsed\News_Item.parsed.cshtml" 1267 Write(startLink); 1268 1269 1270 #line default 1271 #line hidden 1272 1273 #line 276 "D:\dynamicweb.net\Solutions\Earned\lachenmeier.dw9.dynamicweb-cms.com\files\Templates\Designs\LM2016\_parsed\News_Item.parsed.cshtml" 1274 1275 1276 1277 #line default 1278 #line hidden 1279 WriteLiteral("\t\t\t\t\t\t\t\t<img"); 1280 1281 WriteLiteral(" class=\"img-responsive\""); 1282 1283 WriteAttribute("src", Tuple.Create(" src=\'", 10834), Tuple.Create("\'", 10931) 1284 , Tuple.Create(Tuple.Create("", 10840), Tuple.Create("/Admin/Public/GetImage.ashx?Image=", 10840), true) 1285 1286 #line 277 "D:\dynamicweb.net\Solutions\Earned\lachenmeier.dw9.dynamicweb-cms.com\files\Templates\Designs\LM2016\_parsed\News_Item.parsed.cshtml" 1287 , Tuple.Create(Tuple.Create("", 10874), Tuple.Create<System.Object, System.Int32>(GetString(%22Item.Attachment.BrochureImage%22) 1288 1289 #line default 1290 #line hidden 1291 , 10874), false) 1292 , Tuple.Create(Tuple.Create("", 10921), Tuple.Create("&Width=150", 10921), true) 1293 ); 1294 1295 WriteAttribute("alt", Tuple.Create(" alt=\'", 10932), Tuple.Create("\'", 10981) 1296 1297 #line 277 "D:\dynamicweb.net\Solutions\Earned\lachenmeier.dw9.dynamicweb-cms.com\files\Templates\Designs\LM2016\_parsed\News_Item.parsed.cshtml" 1298 , Tuple.Create(Tuple.Create("", 10938), Tuple.Create<System.Object, System.Int32>(GetString("Item.Attachment.BrochureTitle") 1299 1300 #line default 1301 #line hidden 1302 , 10938), false) 1303 ); 1304 1305 WriteLiteral(">\r\n"); 1306 1307 1308 #line 278 "D:\dynamicweb.net\Solutions\Earned\lachenmeier.dw9.dynamicweb-cms.com\files\Templates\Designs\LM2016\_parsed\News_Item.parsed.cshtml" 1309 1310 1311 #line default 1312 #line hidden 1313 1314 #line 278 "D:\dynamicweb.net\Solutions\Earned\lachenmeier.dw9.dynamicweb-cms.com\files\Templates\Designs\LM2016\_parsed\News_Item.parsed.cshtml" 1315 Write(endLink); 1316 1317 1318 #line default 1319 #line hidden 1320 1321 #line 278 "D:\dynamicweb.net\Solutions\Earned\lachenmeier.dw9.dynamicweb-cms.com\files\Templates\Designs\LM2016\_parsed\News_Item.parsed.cshtml" 1322 1323 } 1324 1325 1326 #line default 1327 #line hidden 1328 WriteLiteral("\t\t\t\t\t\t</div>\r\n"); 1329 1330 WriteLiteral("\t\t\t\t\t\t<div"); 1331 1332 WriteLiteral(" class=\"col-md-6 download\""); 1333 1334 WriteLiteral(">\r\n"); 1335 1336 1337 #line 282 "D:\dynamicweb.net\Solutions\Earned\lachenmeier.dw9.dynamicweb-cms.com\files\Templates\Designs\LM2016\_parsed\News_Item.parsed.cshtml" 1338 1339 1340 #line default 1341 #line hidden 1342 1343 #line 282 "D:\dynamicweb.net\Solutions\Earned\lachenmeier.dw9.dynamicweb-cms.com\files\Templates\Designs\LM2016\_parsed\News_Item.parsed.cshtml" 1344 if (!String.IsNullOrEmpty(GetString("Item.Attachment.BrochureTitle"))) { 1345 1346 1347 #line default 1348 #line hidden 1349 WriteLiteral("\t\t\t\t\t\t\t\t<h5>\r\n"); 1350 1351 WriteLiteral("\t\t\t\t\t\t\t\t\t"); 1352 1353 1354 #line 284 "D:\dynamicweb.net\Solutions\Earned\lachenmeier.dw9.dynamicweb-cms.com\files\Templates\Designs\LM2016\_parsed\News_Item.parsed.cshtml" 1355 Write(startLink); 1356 1357 1358 #line default 1359 #line hidden 1360 WriteLiteral("\r\n"); 1361 1362 WriteLiteral("\t\t\t\t\t\t\t\t\t"); 1363 1364 1365 #line 285 "D:\dynamicweb.net\Solutions\Earned\lachenmeier.dw9.dynamicweb-cms.com\files\Templates\Designs\LM2016\_parsed\News_Item.parsed.cshtml" 1366 Write(GetString("Item.Attachment.BrochureTitle")); 1367 1368 1369 #line default 1370 #line hidden 1371 WriteLiteral("\r\n"); 1372 1373 WriteLiteral("\t\t\t\t\t\t\t\t\t"); 1374 1375 1376 #line 286 "D:\dynamicweb.net\Solutions\Earned\lachenmeier.dw9.dynamicweb-cms.com\files\Templates\Designs\LM2016\_parsed\News_Item.parsed.cshtml" 1377 Write(endLink); 1378 1379 1380 #line default 1381 #line hidden 1382 WriteLiteral("\r\n\t\t\t\t\t\t\t\t</h5>\r\n"); 1383 1384 1385 #line 288 "D:\dynamicweb.net\Solutions\Earned\lachenmeier.dw9.dynamicweb-cms.com\files\Templates\Designs\LM2016\_parsed\News_Item.parsed.cshtml" 1386 } 1387 1388 1389 #line default 1390 #line hidden 1391 WriteLiteral("\t\t\t\t\t\t\t<div"); 1392 1393 WriteLiteral(" class=\"brochure-description\""); 1394 1395 WriteLiteral(">\r\n"); 1396 1397 WriteLiteral("\t\t\t\t\t\t\t\t"); 1398 1399 1400 #line 290 "D:\dynamicweb.net\Solutions\Earned\lachenmeier.dw9.dynamicweb-cms.com\files\Templates\Designs\LM2016\_parsed\News_Item.parsed.cshtml" 1401 Write(GetValue("Item.Attachment.BrochureDescription")); 1402 1403 1404 #line default 1405 #line hidden 1406 WriteLiteral("\r\n\t\t\t\t\t\t\t</div>\r\n"); 1407 1408 1409 #line 292 "D:\dynamicweb.net\Solutions\Earned\lachenmeier.dw9.dynamicweb-cms.com\files\Templates\Designs\LM2016\_parsed\News_Item.parsed.cshtml" 1410 1411 1412 #line default 1413 #line hidden 1414 1415 #line 292 "D:\dynamicweb.net\Solutions\Earned\lachenmeier.dw9.dynamicweb-cms.com\files\Templates\Designs\LM2016\_parsed\News_Item.parsed.cshtml" 1416 if (!String.IsNullOrEmpty(GetString("Item.Attachment.BrochureLinkText"))) { 1417 1418 1419 #line default 1420 #line hidden 1421 1422 #line 293 "D:\dynamicweb.net\Solutions\Earned\lachenmeier.dw9.dynamicweb-cms.com\files\Templates\Designs\LM2016\_parsed\News_Item.parsed.cshtml" 1423 Write(buttonLink); 1424 1425 1426 #line default 1427 #line hidden 1428 1429 #line 293 "D:\dynamicweb.net\Solutions\Earned\lachenmeier.dw9.dynamicweb-cms.com\files\Templates\Designs\LM2016\_parsed\News_Item.parsed.cshtml" 1430 1431 1432 1433 #line default 1434 #line hidden 1435 1436 #line 294 "D:\dynamicweb.net\Solutions\Earned\lachenmeier.dw9.dynamicweb-cms.com\files\Templates\Designs\LM2016\_parsed\News_Item.parsed.cshtml" 1437 Write(GetString("Item.Attachment.BrochureLinkText")); 1438 1439 1440 #line default 1441 #line hidden 1442 1443 #line 294 "D:\dynamicweb.net\Solutions\Earned\lachenmeier.dw9.dynamicweb-cms.com\files\Templates\Designs\LM2016\_parsed\News_Item.parsed.cshtml" 1444 1445 1446 1447 #line default 1448 #line hidden 1449 1450 #line 295 "D:\dynamicweb.net\Solutions\Earned\lachenmeier.dw9.dynamicweb-cms.com\files\Templates\Designs\LM2016\_parsed\News_Item.parsed.cshtml" 1451 Write(endLink); 1452 1453 1454 #line default 1455 #line hidden 1456 1457 #line 295 "D:\dynamicweb.net\Solutions\Earned\lachenmeier.dw9.dynamicweb-cms.com\files\Templates\Designs\LM2016\_parsed\News_Item.parsed.cshtml" 1458 1459 } 1460 1461 1462 #line default 1463 #line hidden 1464 WriteLiteral("\t\t\t\t\t\t\t"); 1465 1466 1467 #line 297 "D:\dynamicweb.net\Solutions\Earned\lachenmeier.dw9.dynamicweb-cms.com\files\Templates\Designs\LM2016\_parsed\News_Item.parsed.cshtml" 1468 if (!String.IsNullOrEmpty(GetString("Item.Attachment.BrochureOtherLanguages"))) { 1469 1470 1471 #line default 1472 #line hidden 1473 WriteLiteral("\t\t\t\t\t\t\t\t<div"); 1474 1475 WriteLiteral(" class=\"btn-group\""); 1476 1477 WriteLiteral(">\r\n\t\t\t\t\t\t\t\t\t<button"); 1478 1479 WriteLiteral(" class=\"btn btn-default dropdown-toggle\""); 1480 1481 WriteLiteral(" data-toggle=\"dropdown\""); 1482 1483 WriteLiteral(">\r\n"); 1484 1485 1486 #line 300 "D:\dynamicweb.net\Solutions\Earned\lachenmeier.dw9.dynamicweb-cms.com\files\Templates\Designs\LM2016\_parsed\News_Item.parsed.cshtml" 1487 1488 1489 #line default 1490 #line hidden 1491 1492 #line 300 "D:\dynamicweb.net\Solutions\Earned\lachenmeier.dw9.dynamicweb-cms.com\files\Templates\Designs\LM2016\_parsed\News_Item.parsed.cshtml" 1493 if (!string.IsNullOrEmpty(GetString("Item.Attachment.BrochureOtherLanguagesButton"))) { 1494 1495 1496 #line default 1497 #line hidden 1498 1499 #line 301 "D:\dynamicweb.net\Solutions\Earned\lachenmeier.dw9.dynamicweb-cms.com\files\Templates\Designs\LM2016\_parsed\News_Item.parsed.cshtml" 1500 Write(GetString("Item.Attachment.BrochureOtherLanguagesButton")); 1501 1502 1503 #line default 1504 #line hidden 1505 1506 #line 301 "D:\dynamicweb.net\Solutions\Earned\lachenmeier.dw9.dynamicweb-cms.com\files\Templates\Designs\LM2016\_parsed\News_Item.parsed.cshtml" 1507 1508 } 1509 else { 1510 1511 1512 #line default 1513 #line hidden 1514 1515 #line 304 "D:\dynamicweb.net\Solutions\Earned\lachenmeier.dw9.dynamicweb-cms.com\files\Templates\Designs\LM2016\_parsed\News_Item.parsed.cshtml" 1516 Write(Translate("otherLanguages", "Other Languages")); 1517 1518 1519 #line default 1520 #line hidden 1521 1522 #line 304 "D:\dynamicweb.net\Solutions\Earned\lachenmeier.dw9.dynamicweb-cms.com\files\Templates\Designs\LM2016\_parsed\News_Item.parsed.cshtml" 1523 1524 } 1525 1526 1527 #line default 1528 #line hidden 1529 WriteLiteral("\t\t\t\t\t\t\t\t\t\t<span"); 1530 1531 WriteLiteral(" class=\"caret\""); 1532 1533 WriteLiteral("></span>\r\n\t\t\t\t\t\t\t\t\t</button>\r\n\t\t\t\t\t\t\t\t\t<ul"); 1534 1535 WriteLiteral(" class=\"dropdown-menu\""); 1536 1537 WriteLiteral(">\r\n"); 1538 1539 1540 #line 309 "D:\dynamicweb.net\Solutions\Earned\lachenmeier.dw9.dynamicweb-cms.com\files\Templates\Designs\LM2016\_parsed\News_Item.parsed.cshtml" 1541 1542 1543 #line default 1544 #line hidden 1545 1546 #line 309 "D:\dynamicweb.net\Solutions\Earned\lachenmeier.dw9.dynamicweb-cms.com\files\Templates\Designs\LM2016\_parsed\News_Item.parsed.cshtml" 1547 foreach (var language in GetLoop("Item.Attachment.BrochureOtherLanguages").Where(l => l.GetString("Item.Attachment.BrochureOtherLanguages.BrochureLanguage") != GetGlobalValue("Global:Area.Culture.CountryCode"))) { 1548 1549 1550 #line default 1551 #line hidden 1552 WriteLiteral("\t\t\t\t\t\t\t\t\t\t\t<li><a"); 1553 1554 WriteLiteral(" class=\"pdfdownload\""); 1555 1556 WriteAttribute("href", Tuple.Create(" href=\'", 12427), Tuple.Create("\'", 12516) 1557 1558 #line 310 "D:\dynamicweb.net\Solutions\Earned\lachenmeier.dw9.dynamicweb-cms.com\files\Templates\Designs\LM2016\_parsed\News_Item.parsed.cshtml" 1559 , Tuple.Create(Tuple.Create("", 12434), Tuple.Create<System.Object, System.Int32>(language.GetString("Item.Attachment.BrochureOtherLanguages.BrochureLanguageLink") 1560 1561 #line default 1562 #line hidden 1563 , 12434), false) 1564 ); 1565 1566 WriteLiteral(" onclick=\"ga(\'send\',\'event\',\'pdf\',\'download\');\""); 1567 1568 WriteLiteral(">"); 1569 1570 1571 #line 310 "D:\dynamicweb.net\Solutions\Earned\lachenmeier.dw9.dynamicweb-cms.com\files\Templates\Designs\LM2016\_parsed\News_Item.parsed.cshtml" 1572 Write(language.GetString("Item.Attachment.BrochureOtherLanguages.BrochureLanguage")); 1573 1574 1575 #line default 1576 #line hidden 1577 WriteLiteral("</a></li>\r\n"); 1578 1579 1580 #line 311 "D:\dynamicweb.net\Solutions\Earned\lachenmeier.dw9.dynamicweb-cms.com\files\Templates\Designs\LM2016\_parsed\News_Item.parsed.cshtml" 1581 } 1582 1583 1584 #line default 1585 #line hidden 1586 WriteLiteral("\t\t\t\t\t\t\t\t\t</ul>\r\n\t\t\t\t\t\t\t\t</div>\r\n"); 1587 1588 1589 #line 314 "D:\dynamicweb.net\Solutions\Earned\lachenmeier.dw9.dynamicweb-cms.com\files\Templates\Designs\LM2016\_parsed\News_Item.parsed.cshtml" 1590 } 1591 1592 1593 #line default 1594 #line hidden 1595 WriteLiteral("\t\t\t\t\t\t</div>\r\n"); 1596 1597 1598 #line 316 "D:\dynamicweb.net\Solutions\Earned\lachenmeier.dw9.dynamicweb-cms.com\files\Templates\Designs\LM2016\_parsed\News_Item.parsed.cshtml" 1599 } 1600 1601 1602 #line default 1603 #line hidden 1604 WriteLiteral("\t\t\t\t</div>\r\n\t\t\t\t<div"); 1605 1606 WriteLiteral(" class=\"col-md-3 subnav\""); 1607 1608 WriteLiteral(">\r\n\t\t\t\t\t<div"); 1609 1610 WriteLiteral(" class=\"well subpages-navbox\""); 1611 1612 WriteLiteral(">\r\n\t\t\t\t\t\t<button"); 1613 1614 WriteLiteral(" type=\"button\""); 1615 1616 WriteLiteral(" class=\"btn btn-xs visible-xs collapsed\""); 1617 1618 WriteLiteral(" data-toggle=\"collapse\""); 1619 1620 WriteLiteral(" data-target=\".well .collapse\""); 1621 1622 WriteLiteral(">\r\n\t\t\t\t\t\t\t<i"); 1623 1624 WriteLiteral(" class=\"glyphicon glyphicon-filter-collapse\""); 1625 1626 WriteLiteral("></i>\r\n\t\t\t\t\t\t</button>\r\n"); 1627 1628 1629 #line 323 "D:\dynamicweb.net\Solutions\Earned\lachenmeier.dw9.dynamicweb-cms.com\files\Templates\Designs\LM2016\_parsed\News_Item.parsed.cshtml" 1630 1631 1632 #line default 1633 #line hidden 1634 1635 #line 323 "D:\dynamicweb.net\Solutions\Earned\lachenmeier.dw9.dynamicweb-cms.com\files\Templates\Designs\LM2016\_parsed\News_Item.parsed.cshtml" 1636 if (!string.IsNullOrEmpty(GetString("DwNavigation(navnewsitems)"))) { 1637 1638 1639 #line default 1640 #line hidden 1641 WriteLiteral("\t\t\t\t\t\t\t<div"); 1642 1643 WriteLiteral(" class=\"sidebar-nav\""); 1644 1645 WriteLiteral(">\r\n\t\t\t\t\t\t\t\t<h5>"); 1646 1647 1648 #line 325 "D:\dynamicweb.net\Solutions\Earned\lachenmeier.dw9.dynamicweb-cms.com\files\Templates\Designs\LM2016\_parsed\News_Item.parsed.cshtml" 1649 Write(Translate("otherNews", "Other News")); 1650 1651 1652 #line default 1653 #line hidden 1654 WriteLiteral("</h5>\r\n"); 1655 1656 WriteLiteral("\t\t\t\t\t\t\t\t"); 1657 1658 1659 #line 326 "D:\dynamicweb.net\Solutions\Earned\lachenmeier.dw9.dynamicweb-cms.com\files\Templates\Designs\LM2016\_parsed\News_Item.parsed.cshtml" 1660 Write(GetValue("DwNavigation(navnewsitems)")); 1661 1662 1663 #line default 1664 #line hidden 1665 WriteLiteral("\r\n\t\t\t\t\t\t\t</div>\r\n"); 1666 1667 1668 #line 328 "D:\dynamicweb.net\Solutions\Earned\lachenmeier.dw9.dynamicweb-cms.com\files\Templates\Designs\LM2016\_parsed\News_Item.parsed.cshtml" 1669 } 1670 1671 1672 #line default 1673 #line hidden 1674 WriteLiteral("\t\t\t\t\t</div>\r\n\t\t\t\t</div>\r\n\t\t\t</article>\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\t\t</div>\r\n\t</section>\n\n</se" + 1675 "ction>\n\r\n\t<footer"); 1676 1677 WriteLiteral(" class=\"footer-wrapper\""); 1678 1679 WriteLiteral(">\r\n\t\t<section"); 1680 1681 WriteLiteral(" class=\"container\""); 1682 1683 WriteLiteral(">\r\n\t\t\t<div"); 1684 1685 WriteLiteral(" id=\"footerSections\""); 1686 1687 WriteLiteral(" title=\"Footer sections\""); 1688 1689 WriteLiteral(">\r\n"); 1690 1691 WriteLiteral("\t\t\t\t"); 1692 1693 1694 #line 347 "D:\dynamicweb.net\Solutions\Earned\lachenmeier.dw9.dynamicweb-cms.com\files\Templates\Designs\LM2016\_parsed\News_Item.parsed.cshtml" 1695 Write(RenderPageContent(Convert.ToInt32(Pageview.Area.Item["Footer_Content_Page_ID"]))); 1696 1697 1698 #line default 1699 #line hidden 1700 WriteLiteral("\r\n\t\t\t</div>\r\n\t\t</section>\r\n\t</footer>\r\n\r\n\t"); 1701 1702 WriteLiteral("\r\n\r\n\t<script"); 1703 1704 WriteLiteral(" src=\"/Files/Templates/Designs/LM2016/assets/vendor/require.min.js\""); 1705 1706 WriteLiteral("></script>\r\n\t<script"); 1707 1708 WriteLiteral(" src=\"/Files/Templates/Designs/LM2016/assets/vendor/dynamicweb.start.min.js\""); 1709 1710 WriteLiteral("></script>\r\n"); 1711 1712 WriteLiteral("\t"); 1713 1714 1715 #line 356 "D:\dynamicweb.net\Solutions\Earned\lachenmeier.dw9.dynamicweb-cms.com\files\Templates\Designs\LM2016\_parsed\News_Item.parsed.cshtml" 1716 Write(RenderSnippet("JavaScriptBottom")); 1717 1718 1719 #line default 1720 #line hidden 1721 WriteLiteral("\r\n\t<div"); 1722 1723 WriteLiteral(" class=\"modal fade\""); 1724 1725 WriteLiteral(" id=\"login\""); 1726 1727 WriteLiteral(" tabindex=\"-1\""); 1728 1729 WriteLiteral(" role=\"dialog\""); 1730 1731 WriteLiteral(" aria-labelledby=\"myModalLabel\""); 1732 1733 WriteLiteral(" aria-hidden=\"true\""); 1734 1735 WriteLiteral(">\r\n\t\t<div"); 1736 1737 WriteLiteral(" class=\"modal-dialog modal-sm\""); 1738 1739 WriteLiteral(">\r\n\t\t\t<div"); 1740 1741 WriteLiteral(" class=\"modal-content\""); 1742 1743 WriteLiteral(">\r\n\t\t\t\t<div"); 1744 1745 WriteLiteral(" class=\"modal-header\""); 1746 1747 WriteLiteral(">\r\n\t\t\t\t\t<h4"); 1748 1749 WriteLiteral(" class=\"modal-title\""); 1750 1751 WriteLiteral(" id=\"myModalLabel\""); 1752 1753 WriteLiteral(">"); 1754 1755 1756 #line 361 "D:\dynamicweb.net\Solutions\Earned\lachenmeier.dw9.dynamicweb-cms.com\files\Templates\Designs\LM2016\_parsed\News_Item.parsed.cshtml" 1757 Write(Translate("Login", "Login")); 1758 1759 1760 #line default 1761 #line hidden 1762 WriteLiteral("</h4>\r\n\t\t\t\t</div>\r\n\t\t\t\t<form"); 1763 1764 WriteLiteral(" role=\"form\""); 1765 1766 WriteLiteral(" id=\"loginform\""); 1767 1768 WriteLiteral(" method=\"post\""); 1769 1770 WriteLiteral(">\r\n\t\t\t\t\t<div"); 1771 1772 WriteLiteral(" class=\"modal-body\""); 1773 1774 WriteLiteral(">\r\n"); 1775 1776 1777 #line 365 "D:\dynamicweb.net\Solutions\Earned\lachenmeier.dw9.dynamicweb-cms.com\files\Templates\Designs\LM2016\_parsed\News_Item.parsed.cshtml" 1778 1779 1780 #line default 1781 #line hidden 1782 1783 #line 365 "D:\dynamicweb.net\Solutions\Earned\lachenmeier.dw9.dynamicweb-cms.com\files\Templates\Designs\LM2016\_parsed\News_Item.parsed.cshtml" 1784 if (!string.IsNullOrWhiteSpace(GetString("DW_extranet_error_uk"))) { 1785 1786 1787 #line default 1788 #line hidden 1789 WriteLiteral("\t\t\t\t\t\t\t<script>alert(\""); 1790 1791 1792 #line 366 "D:\dynamicweb.net\Solutions\Earned\lachenmeier.dw9.dynamicweb-cms.com\files\Templates\Designs\LM2016\_parsed\News_Item.parsed.cshtml" 1793 Write(GetValue("DW_extranet_error_uk")); 1794 1795 1796 #line default 1797 #line hidden 1798 WriteLiteral("\");</script>\r\n"); 1799 1800 1801 #line 367 "D:\dynamicweb.net\Solutions\Earned\lachenmeier.dw9.dynamicweb-cms.com\files\Templates\Designs\LM2016\_parsed\News_Item.parsed.cshtml" 1802 } 1803 1804 1805 #line default 1806 #line hidden 1807 WriteLiteral("\t\t\t\t\t\t<input"); 1808 1809 WriteLiteral(" type=\"hidden\""); 1810 1811 WriteLiteral(" name=\"ID\""); 1812 1813 WriteAttribute("value", Tuple.Create(" value=\"", 14488), Tuple.Create("\"", 14513) 1814 1815 #line 368 "D:\dynamicweb.net\Solutions\Earned\lachenmeier.dw9.dynamicweb-cms.com\files\Templates\Designs\LM2016\_parsed\News_Item.parsed.cshtml" 1816 , Tuple.Create(Tuple.Create("", 14496), Tuple.Create<System.Object, System.Int32>(Pageview.Page.ID 1817 1818 #line default 1819 #line hidden 1820 , 14496), false) 1821 ); 1822 1823 WriteLiteral(">\r\n\t\t\t\t\t\t<input"); 1824 1825 WriteLiteral(" type=\"hidden\""); 1826 1827 WriteLiteral(" name=\"DWExtranetUsernameRemember\""); 1828 1829 WriteLiteral(" value=\"True\""); 1830 1831 WriteLiteral(">\r\n\t\t\t\t\t\t<input"); 1832 1833 WriteLiteral(" type=\"hidden\""); 1834 1835 WriteLiteral(" name=\"DWExtranetPasswordRemember\""); 1836 1837 WriteLiteral(" value=\"True\""); 1838 1839 WriteLiteral(">\r\n\t\t\t\t\t\t<div"); 1840 1841 WriteLiteral(" class=\"form-group\""); 1842 1843 WriteLiteral(">\r\n\t\t\t\t\t\t\t<label"); 1844 1845 WriteLiteral(" for=\"username\""); 1846 1847 WriteLiteral(">"); 1848 1849 1850 #line 372 "D:\dynamicweb.net\Solutions\Earned\lachenmeier.dw9.dynamicweb-cms.com\files\Templates\Designs\LM2016\_parsed\News_Item.parsed.cshtml" 1851 Write(Translate("Email address", "Email address")); 1852 1853 1854 #line default 1855 #line hidden 1856 WriteLiteral("</label>\r\n\t\t\t\t\t\t\t<input"); 1857 1858 WriteLiteral(" type=\"text\""); 1859 1860 WriteLiteral(" class=\"form-control\""); 1861 1862 WriteLiteral(" name=\"username\""); 1863 1864 WriteLiteral(" id=\"username\""); 1865 1866 WriteAttribute("placeholder", Tuple.Create(" placeholder=\'", 14860), Tuple.Create("\'", 14920) 1867 1868 #line 373 "D:\dynamicweb.net\Solutions\Earned\lachenmeier.dw9.dynamicweb-cms.com\files\Templates\Designs\LM2016\_parsed\News_Item.parsed.cshtml" 1869 , Tuple.Create(Tuple.Create("", 14874), Tuple.Create<System.Object, System.Int32>(Translate("Enter username", "Enter username") 1870 1871 #line default 1872 #line hidden 1873 , 14874), false) 1874 ); 1875 1876 WriteAttribute("value", Tuple.Create(" value=\'", 14921), Tuple.Create("\'", 14960) 1877 1878 #line 373 "D:\dynamicweb.net\Solutions\Earned\lachenmeier.dw9.dynamicweb-cms.com\files\Templates\Designs\LM2016\_parsed\News_Item.parsed.cshtml" 1879 , Tuple.Create(Tuple.Create("", 14929), Tuple.Create<System.Object, System.Int32>(GetValue("DWExtranetUsername") 1880 1881 #line default 1882 #line hidden 1883 , 14929), false) 1884 ); 1885 1886 WriteLiteral(" style=\"width: 100% !important;\""); 1887 1888 WriteLiteral(">\r\n\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t<div"); 1889 1890 WriteLiteral(" class=\"form-group\""); 1891 1892 WriteLiteral(" style=\"padding-top: 10px\""); 1893 1894 WriteLiteral(">\r\n\t\t\t\t\t\t\t<label"); 1895 1896 WriteLiteral(" for=\"password\""); 1897 1898 WriteLiteral(">"); 1899 1900 1901 #line 376 "D:\dynamicweb.net\Solutions\Earned\lachenmeier.dw9.dynamicweb-cms.com\files\Templates\Designs\LM2016\_parsed\News_Item.parsed.cshtml" 1902 Write(Translate("Password", "Password")); 1903 1904 1905 #line default 1906 #line hidden 1907 WriteLiteral("</label>\r\n\t\t\t\t\t\t\t<input"); 1908 1909 WriteLiteral(" type=\"password\""); 1910 1911 WriteLiteral(" class=\"form-control\""); 1912 1913 WriteLiteral(" name=\"password\""); 1914 1915 WriteLiteral(" id=\"password\""); 1916 1917 WriteAttribute("placeholder", Tuple.Create(" placeholder=\'", 15221), Tuple.Create("\'", 15281) 1918 1919 #line 377 "D:\dynamicweb.net\Solutions\Earned\lachenmeier.dw9.dynamicweb-cms.com\files\Templates\Designs\LM2016\_parsed\News_Item.parsed.cshtml" 1920 , Tuple.Create(Tuple.Create("", 15235), Tuple.Create<System.Object, System.Int32>(Translate("Enter password", "Enter password") 1921 1922 #line default 1923 #line hidden 1924 , 15235), false) 1925 ); 1926 1927 WriteLiteral(" style=\"width: 100% !important;\""); 1928 1929 WriteLiteral(">\r\n\t\t\t\t\t\t\t<p>&nbsp;</p>\r\n\t\t\t\t\t\t\t<a"); 1930 1931 WriteLiteral(" class=\"pull-left\""); 1932 1933 WriteAttribute("href", Tuple.Create(" href=\'", 15366), Tuple.Create("\'", 15448) 1934 , Tuple.Create(Tuple.Create("", 15373), Tuple.Create("/Default.aspx?ID=", 15373), true) 1935 1936 #line 379 "D:\dynamicweb.net\Solutions\Earned\lachenmeier.dw9.dynamicweb-cms.com\files\Templates\Designs\LM2016\_parsed\News_Item.parsed.cshtml" 1937 , Tuple.Create(Tuple.Create("", 15390), Tuple.Create<System.Object, System.Int32>(GetString("DwAreaFirstActivePageID") 1938 1939 #line default 1940 #line hidden 1941 , 15390), false) 1942 , Tuple.Create(Tuple.Create("", 15427), Tuple.Create("&LoginAction=Recovery", 15427), true) 1943 ); 1944 1945 WriteLiteral(">"); 1946 1947 1948 #line 379 "D:\dynamicweb.net\Solutions\Earned\lachenmeier.dw9.dynamicweb-cms.com\files\Templates\Designs\LM2016\_parsed\News_Item.parsed.cshtml" 1949 Write(Translate("Forgot your password?", "Forgot your password?")); 1950 1951 1952 #line default 1953 #line hidden 1954 WriteLiteral("</a>\r\n\t\t\t\t\t\t\t<text>&nbsp;</text>\r\n\t\t\t\t\t\t</div>\r\n\t\t\t\t\t</div>\r\n\t\t\t\t\t<div"); 1955 1956 WriteLiteral(" class=\"modal-footer\""); 1957 1958 WriteLiteral(">\r\n\t\t\t\t\t\t<div"); 1959 1960 WriteLiteral(" class=\"checkbox pull-left\""); 1961 1962 WriteLiteral(" style=\"margin-top: 0 !important\""); 1963 1964 WriteLiteral(">\r\n\t\t\t\t\t\t\t<label>\r\n\t\t\t\t\t\t\t\t<input"); 1965 1966 WriteLiteral(" type=\"checkbox\""); 1967 1968 WriteLiteral(" name=\"Autologin\""); 1969 1970 WriteLiteral(" checked=\"checked\""); 1971 1972 WriteLiteral(" value=\"True\""); 1973 1974 WriteLiteral("> "); 1975 1976 1977 #line 386 "D:\dynamicweb.net\Solutions\Earned\lachenmeier.dw9.dynamicweb-cms.com\files\Templates\Designs\LM2016\_parsed\News_Item.parsed.cshtml" 1978 Write(Translate("Remember me", "Remember me")); 1979 1980 1981 #line default 1982 #line hidden 1983 WriteLiteral("\r\n\t\t\t\t\t\t\t</label>\r\n\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t<button"); 1984 1985 WriteLiteral(" type=\"submit\""); 1986 1987 WriteLiteral(" class=\"btn btn-xs pull-right\""); 1988 1989 WriteLiteral(">"); 1990 1991 1992 #line 389 "D:\dynamicweb.net\Solutions\Earned\lachenmeier.dw9.dynamicweb-cms.com\files\Templates\Designs\LM2016\_parsed\News_Item.parsed.cshtml" 1993 Write(Translate("Sign in", "Sign in")); 1994 1995 1996 #line default 1997 #line hidden 1998 WriteLiteral("</button>\r\n\t\t\t\t\t</div>\r\n\t\t\t\t</form>\r\n\t\t\t</div>\r\n\t\t</div>\r\n\t</div>\r\n</body>\r\n</htm" + 1999 "l>\r\n"); 2000 2001 } 2002 } 2003 } 2004

1 @inherits Dynamicweb.Rendering.RazorTemplateBase<Dynamicweb.Rendering.RazorTemplateModel<Dynamicweb.Rendering.Template>> 2 @using System; 3 4 <!DOCTYPE html> 5 <html lang='@GetString("LongLang")'> 6 <head> 7 <meta charset="utf-8"> 8 <title>@GetValue("Title")</title> 9 @GetValue("MetaTags") 10 @GetValue("CopyRightNotice") 11 12 @inherits Dynamicweb.Rendering.RazorTemplateBase<Dynamicweb.Rendering.RazorTemplateModel<Dynamicweb.Rendering.Template>> 13 @using System; 14 @using Dynamicweb.Frontend; 15 16 <meta name="viewport" content="width=device-width, initial-scale=1.0"> 17 18 <meta name="author" content=""> 19 @foreach (var language in GetLoop("Languages").Where(l => (l.GetString("Culture") != "ru-RU" && !string.IsNullOrEmpty(l.GetString("PageID"))@*&& !l.GetBoolean("PageIsHidden")*@))) 20 { 21 string lang = language.GetString("Culture").Substring(3) == "US" ? language.GetString("Culture") : language.GetString("Culture").Substring(0, 2); 22 string link = "https://" + language.GetString("PrimaryDomain") + SearchEngineFriendlyURLs.GetFriendlyUrl(language.GetInteger("PageID")); 23 <link rel="alternate" hreflang='@lang' href='@link'> 24 } 25 26 @RenderSnippet("StyleSheet") 27 28 @{ 29 string favicon = Convert.ToString(Pageview.Area.Item["Favicon"]); 30 string faviconUrl = GetString("Template:DesignBaseUrl") + "assets/images/" + favicon; 31 string customCSS = Convert.ToString(Pageview.Area.Item["Custom_CSS_Url"]); 32 string customCssUrl = "assets/stylesheets" + customCSS; 33 if (!string.IsNullOrEmpty(customCSS)) 34 { 35 <link href="@customCssUrl" rel="stylesheet" media="screen"> 36 } 37 if (!string.IsNullOrEmpty(favicon)) 38 { 39 <link rel="icon" type="image/png" href="@faviconUrl"> 40 } 41 } 42 43 @RenderSnippet("JavaScriptHead") 44 45 <link href="/Files/Templates/Designs/LM2016/assets/stylesheets/screen.css" rel="stylesheet" media="screen"> 46 <link rel="preconnect" href="https://fonts.gstatic.com"> 47 <link href='//fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800%7COpen+Sans+Condensed:300,300italic,700' rel='stylesheet' type='text/css'> 48 49 <script type="text/javascript" src="https://secure.leadforensics.com/js/59050.js"></script> 50 <noscript><img alt="" src="https://secure.leadforensics.com/59050.png" style="display:none;"></noscript> 51 52 <link rel="stylesheet" media="all" href="/Files/Templates/Designs/LM2016/assets/stylesheets/cookie-policy-external.css"> 53 <script src="/Files/Templates/Designs/LM2016/assets/javascripts/cookie-policy.js"></script> 54 55 56 57 @*@if (!string.IsNullOrEmpty(Convert.ToString(Pageview.Area.Item["Google_Analytics_ID"])) ) {*@ 58 <script> 59 @*var setCookie = ("@Dynamicweb.Environment.CookieManager.GetCookieOptInLevel().ToString()" != "All") ? true : false; 60 window['ga-disable-@Pageview.Area.Item["Google_Analytics_ID"]'] = setCookie;*@ 61 if (getCookie('cookie_disable_ga') == '' || getCookie('cookie_disable_ga') == false) { 62 (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ 63 (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), 64 m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) 65 })(window, document, 'script', '//www.google-analytics.com/analytics.js', 'ga'); 66 67 ga('create', '@Pageview.Area.Item["Google_Analytics_ID"]', '@GetGlobalValue("Global:Area.Primarydomain")'); 68 ga('require', 'displayfeatures'); 69 ga('send', 'pageview'); 70 } 71 </script> 72 @*}*@ 73 74 @GetValue("Stylesheets") 75 @GetValue("Javascripts") 76 </head> 77 @{ 78 string firstActive = GetString("DwAreaFirstActivePageID"); 79 bool isMobile = Pageview.Device.ToString() == "Mobile"; 80 } 81 <body data-pageid='@Pageview.Page.ID' class='@GetGlobalValue("Global:Area.Name")'> 82 @if (isMobile) { 83 <text> 84 @inherits Dynamicweb.Rendering.RazorTemplateBase<Dynamicweb.Rendering.RazorTemplateModel<Dynamicweb.Rendering.Template>> 85 @using Dynamicweb.Rendering; 86 87 <div id="pushobj"> <a type="button" class="btn btn-default" id="toggle" href="#phoneMenu"> Menu <i class="fa fa-reorder"></i> 88 </a> </div> <nav id="phoneMenu"> <ul> 89 <li> 90 @GetValue("DwNavigation(navPhoneMain)") 91 </li> 92 <li> 93 <h6>@Translate("contactDownload", "Contact & Download")</h6> 94 @GetValue("DwNavigation(navPhoneTop)") 95 </li> 96 <li> 97 <h6>@Translate("languages", "Languages")</h6> 98 </li> 99 @inherits Dynamicweb.Rendering.RazorTemplateBase<Dynamicweb.Rendering.RazorTemplateModel<Dynamicweb.Rendering.Template>> 100 101 @foreach (var language in GetLoop("Languages").Where(l => l.GetString("Culture")!="ru-RU")) { 102 string culture = language.GetString("Culture"); 103 if (!language.GetBoolean("IsCurrent")) { 104 string languagePage = (!string.IsNullOrEmpty(language.GetString("PageID")) && !language.GetBoolean("PageIsHidden")) ? language.GetString("PageID") : language.GetString("FirstPageID"); 105 <li class="flags @culture.Substring(3).ToLower()"><a href="/Default.aspx?ID=@languagePage" hreflang="@culture.Substring(0, 2)">@language.GetString("Name")</a></li> 106 } else { 107 <li class="flags @culture.Substring(3).ToLower() active">@language.GetString("Name")</li> 108 } 109 } 110 111 </ul> </nav> 112 </text> 113 } else { 114 <section class="topmenu-wrapper"> 115 <div class="container"> 116 <div class="topmenu"> 117 @inherits Dynamicweb.Rendering.RazorTemplateBase<Dynamicweb.Rendering.RazorTemplateModel<Dynamicweb.Rendering.Template>> 118 @using Dynamicweb.Rendering; 119 120 <nav class="navbar hidden-print" data-equable="true" role="navigation"> 121 <button type="button" class="btn btn-default navbar-toggle" data-toggle="collapse" data-target="#topnav"> 122 <span class="icon-bar"></span> 123 <span class="icon-bar"></span> 124 <span class="icon-bar"></span> 125 </button> 126 <div class="collapse navbar-collapse" id="topnav"> 127 <ul class="nav lang-selector"> 128 @inherits Dynamicweb.Rendering.RazorTemplateBase<Dynamicweb.Rendering.RazorTemplateModel<Dynamicweb.Rendering.Template>> 129 130 @foreach (var language in GetLoop("Languages").Where(l => l.GetString("Culture")!="ru-RU")) { 131 string culture = language.GetString("Culture"); 132 if (!language.GetBoolean("IsCurrent")) { 133 string languagePage = (!string.IsNullOrEmpty(language.GetString("PageID")) && !language.GetBoolean("PageIsHidden")) ? language.GetString("PageID") : language.GetString("FirstPageID"); 134 <li class="flags @culture.Substring(3).ToLower()"><a href="/Default.aspx?ID=@languagePage" hreflang="@culture.Substring(0, 2)">@language.GetString("Name")</a></li> 135 } else { 136 <li class="flags @culture.Substring(3).ToLower() active">@language.GetString("Name")</li> 137 } 138 } 139 140 </ul> 141 <ul class="nav"> 142 @if (!string.IsNullOrEmpty(GetString("DW_extranet_AccessUserID"))) { 143 <li> 144 <a href='Default.aspx?ID=@GetString("DwPageID")'> 145 Logged in as 146 '@GetString("DW_extranet_AccessUserName")' 147 </a> 148 </li> 149 <li> 150 <a href='/Admin/Public/extranetlogoff.aspx?ID=@GetString("DwPageID")'>Log out</a> 151 </li> 152 } else { 153 <li><a href="javascript:void(0);" data-toggle="modal" data-target="#login">Log in</a></li> 154 } 155 </ul> 156 @GetValue("DwNavigation(navTop)") 157 </div> 158 159 </nav> 160 161 </div> 162 </div> 163 </section> 164 } 165 <header class="header-wrapper" data-spy="affix" data-offset-top="65"> 166 <div class="container"> 167 <div class="logo-wrapper"> 168 <div class="logo"> 169 <a href='/Default.aspx?ID=@firstActive' class="logo-image"></a> 170 </div> 171 <div class="search-box"> 172 @inherits Dynamicweb.Rendering.RazorTemplateBase<Dynamicweb.Rendering.RazorTemplateModel<Dynamicweb.Rendering.Template>> 173 <form method="get" action="/Default.aspx" class="form-search"> <input type="hidden" name="ID" value='@GetString("DwAreaSearchPageID")'> 174 <div class="input-group"> <input class="form-control" type="search" name="q"> <span class="input-group-btn"> 175 <button type="submit" value="Search" class="btn"><span class="fa fa-search icon-wht"></span></button> </span> 176 </div> </form> 177 </div> 178 @if (!isMobile) { 179 <div class="mainmenu"> 180 <nav class="navbar wrappable" data-equable="true" role="navigation"> <button type="button" class="btn btn-default navbar-toggle" data-toggle="collapse" data-target="#mainnav"> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button> <div class="collapse navbar-collapse" id="mainnav"> 181 @GetValue("DwNavigation(NavMain)") </div> </nav> 182 </div> 183 } 184 </div> 185 </div> 186 </header> 187 @inherits RazorTemplateBase<RazorTemplateModel<Template>> 188 @using System; 189 @using Dynamicweb.Rendering; 190 191 192 @{ 193 var newsItem = Dynamicweb.Content.Items.Item.GetItemById("News_Item", GetString("Item.Id")); 194 195 var data = new { 196 title = GetString("Item.Title"), 197 author = new { 198 name = GetString("Item.Author_Name"), 199 email = GetString("Item.Author_EMail") 200 } 201 }; 202 203 var url = newsItem["Item.Url"]; 204 var newsImg = GetString("Item.Image"); 205 var imgCaption = GetString("Item.Image_Caption"); 206 207 var author = new { 208 name = newsItem["Author_Name"], 209 email = newsItem["Author_EMail"] as string 210 }; 211 212 var newsItemUrl = string.Format("/Default.aspx?ID={0}", Pageview.Page.ID); 213 } 214 215 <section class="page-wrapper"> <section class="container content-wrapper news"> <div class="row"> <article class="news-item col-md-12"> 216 <header class="jumbotron"> 217 <h1 class="title"><a href="@newsItemUrl">@newsItem["Title"]</a></h1> 218 <div class="clearfix"></div> 219 </header> 220 221 <div class="image col-md-3"> 222 @if (!string.IsNullOrEmpty(newsImg)) { 223 <img src="@newsImg" class="img-responsive" alt="@imgCaption"> 224 } 225 </div> 226 <div class="content col-md-6"> 227 <div class="author"> 228 <span class="author-name">By @author.name</span> 229 <span class="date">@string.Format("{0:d}", newsItem["Publication_Time"])</span> 230 </div> 231 <div class="excerpt"> 232 @newsItem["Excerpt"] 233 </div> 234 <div class="content"> 235 @newsItem["Content"] 236 </div> 237 238 @if (GetString("Item.Attachment.SystemName") == "Brochure") { 239 string startLink = ""; 240 string endLink = ""; 241 string buttonLink = ""; 242 string ga = "ga(&#39;send&#39;,&#39;event&#39;,&#39;pdf&#39;,&#39;download&#39;);"; 243 if (!string.IsNullOrEmpty(GetString("Item.Attachment.BrochureLink"))) { 244 buttonLink = string.Format("<a class='btn btn-default pdfdownload' onclick='{0}' href='{1}'>",ga,@GetString("Item.Attachment.BrochureLink")); 245 startLink = string.Format("<a class='pdfdownload' onclick='{0}' href='{1}'>",ga, @GetString("Item.Attachment.BrochureLink")); 246 endLink = "</a>"; 247 } 248 <div class="col-md-3 download"> 249 @if (!String.IsNullOrEmpty(GetString("Item.Attachment.BrochureImage"))) { 250 @startLink 251 <img class="img-responsive" src='/Admin/Public/GetImage.ashx?Image=@GetString(%22Item.Attachment.BrochureImage%22)&Width=150' alt='@GetString("Item.Attachment.BrochureTitle")'> 252 @endLink 253 } 254 </div> 255 <div class="col-md-6 download"> 256 @if (!String.IsNullOrEmpty(GetString("Item.Attachment.BrochureTitle"))) { 257 <h5> 258 @startLink 259 @GetString("Item.Attachment.BrochureTitle") 260 @endLink 261 </h5> 262 } 263 <div class="brochure-description"> 264 @GetValue("Item.Attachment.BrochureDescription") 265 </div> 266 @if (!String.IsNullOrEmpty(GetString("Item.Attachment.BrochureLinkText"))) { 267 @buttonLink 268 @GetString("Item.Attachment.BrochureLinkText") 269 @endLink 270 } 271 @if (!String.IsNullOrEmpty(GetString("Item.Attachment.BrochureOtherLanguages"))) { 272 <div class="btn-group"> 273 <button class="btn btn-default dropdown-toggle" data-toggle="dropdown"> 274 @if (!string.IsNullOrEmpty(GetString("Item.Attachment.BrochureOtherLanguagesButton"))) { 275 @GetString("Item.Attachment.BrochureOtherLanguagesButton") 276 } 277 else { 278 @Translate("otherLanguages", "Other Languages") 279 } 280 <span class="caret"></span> 281 </button> 282 <ul class="dropdown-menu"> 283 @foreach (var language in GetLoop("Item.Attachment.BrochureOtherLanguages").Where(l => l.GetString("Item.Attachment.BrochureOtherLanguages.BrochureLanguage") != GetGlobalValue("Global:Area.Culture.CountryCode"))) { 284 <li><a class="pdfdownload" href='@language.GetString("Item.Attachment.BrochureOtherLanguages.BrochureLanguageLink")' onclick="ga('send','event','pdf','download');">@language.GetString("Item.Attachment.BrochureOtherLanguages.BrochureLanguage")</a></li> 285 } 286 </ul> 287 </div> 288 } 289 </div> 290 } 291 </div> 292 <div class="col-md-3 subnav"> 293 <div class="well subpages-navbox"> 294 <button type="button" class="btn btn-xs visible-xs collapsed" data-toggle="collapse" data-target=".well .collapse"> 295 <i class="glyphicon glyphicon-filter-collapse"></i> 296 </button> 297 @if (!string.IsNullOrEmpty(GetString("DwNavigation(navnewsitems)"))) { 298 <div class="sidebar-nav"> 299 <h5>@Translate("otherNews", "Other News")</h5> 300 @GetValue("DwNavigation(navnewsitems)") 301 </div> 302 } 303 </div> 304 </div> 305 </article> 306 307 308 309 310 311 312 313 </div> 314 </section> </section> 315 <footer class="footer-wrapper"> 316 <section class="container"> 317 <div id="footerSections" title="Footer sections"> 318 @RenderPageContent(Convert.ToInt32(Pageview.Area.Item["Footer_Content_Page_ID"])) 319 </div> 320 </section> 321 </footer> 322 323 @*@RenderPageContent(Convert.ToInt32(Pageview.Area.Item["EmailSignupPageId"]))*@ 324 325 <script src="/Files/Templates/Designs/LM2016/assets/vendor/require.min.js"></script> 326 <script src="/Files/Templates/Designs/LM2016/assets/vendor/dynamicweb.start.min.js"></script> 327 @RenderSnippet("JavaScriptBottom") 328 <div class="modal fade" id="login" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true"> 329 <div class="modal-dialog modal-sm"> 330 <div class="modal-content"> 331 <div class="modal-header"> 332 <h4 class="modal-title" id="myModalLabel">@Translate("Login", "Login")</h4> 333 </div> 334 <form role="form" id="loginform" method="post"> 335 <div class="modal-body"> 336 @if (!string.IsNullOrWhiteSpace(GetString("DW_extranet_error_uk"))) { 337 <script>alert("@GetValue("DW_extranet_error_uk")");</script> 338 } 339 <input type="hidden" name="ID" value="@Pageview.Page.ID"> 340 <input type="hidden" name="DWExtranetUsernameRemember" value="True"> 341 <input type="hidden" name="DWExtranetPasswordRemember" value="True"> 342 <div class="form-group"> 343 <label for="username">@Translate("Email address", "Email address")</label> 344 <input type="text" class="form-control" name="username" id="username" placeholder='@Translate("Enter username", "Enter username")' value='@GetValue("DWExtranetUsername")' style="width: 100% !important;"> 345 </div> 346 <div class="form-group" style="padding-top: 10px"> 347 <label for="password">@Translate("Password", "Password")</label> 348 <input type="password" class="form-control" name="password" id="password" placeholder='@Translate("Enter password", "Enter password")' style="width: 100% !important;"> 349 <p>&nbsp;</p> 350 <a class="pull-left" href='/Default.aspx?ID=@GetString("DwAreaFirstActivePageID")&LoginAction=Recovery'>@Translate("Forgot your password?", "Forgot your password?")</a> 351 <text>&nbsp;</text> 352 </div> 353 </div> 354 <div class="modal-footer"> 355 <div class="checkbox pull-left" style="margin-top: 0 !important"> 356 <label> 357 <input type="checkbox" name="Autologin" checked="checked" value="True"> @Translate("Remember me", "Remember me") 358 </label> 359 </div> 360 <button type="submit" class="btn btn-xs pull-right">@Translate("Sign in", "Sign in")</button> 361 </div> 362 </form> 363 </div> 364 </div> 365 </div> 366 </body> 367 </html> 368