Error parsing template "Designs/SSTemplate/_parsed/subpage.parsed.cshtml"
Line 399: (398:9) - Encountered end tag "div" with no matching start tag. Are your start/end tags properly balanced?
1 @using System.Web.Mvc;
2 @using System.Text.RegularExpressions;
3 @using System.Web;
4 @using System.IO;
5 @using System.Linq;
6 @using Dynamicweb;
7 @{
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+"\\styles.css";
20 DateTime ulastmodified = File.GetLastWriteTime(@udatefetch);
21 stylecss=@stylecss+"?modified="+@ulastmodified.ToString("yyyy-MM-ddTHH:mm:ss");
22 string breadactive="";
23 }@if(GetBoolean("Item.ShowBradcrumbs") == true) {
24 breadactive="breadactive";
25 }@{
26 string logo=@GetString("Item.Area.Design.Logo");
27 }<!DOCTYPE html>
28 <html lang="fo">@{
29 string pageid=@GetString("DwPageID");
30 string readspeak=@GetString("Item.Area.Funktionalitetir.BaseUr")+"?id="+pageid;
31 string pagenametit=@GetString("DwPageName");
32 string pagearea=@GetString("DwPageID_1");
33 pagearea="top"+pagearea;
34 ViewBag.BaseUrl = @GetString("Item.Area.Funktionalitetir.BaseUr");
35 ViewBag.StoddStarvs = @GetString("Item.Page.StoddStarv");
36 }<head>
37 <meta http-equiv="X-UA-Compatible" content="IE=edge">
38 <meta charset="utf-8">
39
40 <meta name="viewport" content="width=device-width, initial-scale=1">
41
42 <meta name="author" content="">
43 <meta property="og:url" content="@readspeak">
44 <meta property="og:locale" content="fo_FO">
45 <meta property="og:description" content="@GetString(" meta.description")"="">
46 <meta property="og:type" content="website">
47 <meta property="og:locale" content="fo_FO">
48 <meta property="og:title" content="@pagenametit">
49 <meta name="google-site-verification" content="_8UkOXR321xXc60VV1folaRbl3pukMQpv1ifNUwjZXU">
50 @RenderSnippet("FBimg")
51 <link href="https://fonts.googleapis.com/css?family=Open+Sans:300,300i,400,400i,600" rel="stylesheet">
52 <link href="https://fonts.googleapis.com/css?family=Muli:400,400i,700,700i" rel="stylesheet">
53 <!-- <link rel="stylesheet" href="https://d1azc1qln24ryf.cloudfront.net/136306/Apoteksverkid/style-cf.css?319v5o"> -->
54 <link rel="stylesheet" href="https://cdn.icomoon.io/136306/Apoteksverkid/style-cf.css?fcds4f">
55 <link rel="shortcut icon" type="image/ico" href="/Files/Templates/Designs/SSTemplate/img/favicon.ico">
56 <link rel="stylesheet" href="/Files/Templates/Designs/SSTemplate/css/bootstrap.min.css">
57 <link rel="stylesheet" href="/Files/Templates/Designs/SSTemplate/css/meanmenu.css?build=25">
58 <link type="text/css" rel="stylesheet" href="/Files/Templates/Designs/SSTemplate/lightgallery/css/lightgallery.css">
59 <link rel="stylesheet" href="/Files/Templates/Designs/SSTemplate/css/tablesaw.css">
60 <link rel="stylesheet" href="@basecss">
61 <link rel="stylesheet" href="@stylecss">
62 <link type="text/css" rel="stylesheet" href="/Files/Templates/Designs/SSTemplate/css/base-mobil.css">
63 <link type="text/css" rel="stylesheet" href="/Files/Templates/Designs/SSTemplate/css/styles-mobil.css">
64 <script type="text/javascript" src="/Files/Templates/Designs/SSTemplate/Fontur/Javascript-2/Apotek.fo.js"></script>
65
66 @RenderParagraphContent(441)
67 <meta name="google-site-verification" content="yk970pDKLw2g6gpmOki6lHB2xFurox3LU0O1L3uExJ0">
68 @GetValue("CopyRightNotice")
69 @GetValue("MetaTags")
70 @GetValue("Stylesheets")
71 @GetValue("Javascripts")
72 </head>
73
74
75 <body class="@breadactive relative">
76
77 <script src="https://consent.cookiefirst.com/banner.js" data-cookiefirst-key="80fbdf87-db0c-4a95-a933-cbf276ddc4fb"></script>
78
79
80
81
82
83
84
85 <div class="megamenitem megaheiluvagur Heilivágur">
86 <div class="container">
87 <div class="row">
88 <div class="col-3">
89 @RenderPageContent(251)
90 </div>
91 <div class="col-3">
92 @RenderPageContent(252)
93 </div>
94 <div class="col-3">
95 @RenderPageContent(253)
96 </div>
97 <div class="col-3">
98 @RenderPageContent(254)
99 </div>
100 </div>
101 </div>
102 </div>
103
104 <div class="megamenitem megamedisinskutgerd Medicinskútgerð" style="display:none;">
105 <div class="container">
106 <div class="row">
107 <div class="col-3">
108 @RenderPageContent(677)
109 </div>
110 <div class="col-3">
111 @RenderPageContent(678)
112 </div>
113 <div class="col-3">
114 @RenderPageContent(679)
115 </div>
116 <div class="col-3">
117 @RenderPageContent(680)
118 </div>
119 </div>
120 </div>
121 </div>
122
123 <div class="megamenitem megagodrad Heilsa">
124 <div class="container">
125 <div class="row">
126 <div class="col-3">
127 @RenderPageContent(259)
128 </div>
129 <div class="col-3">
130 @RenderPageContent(260)
131 </div>
132 <div class="col-3">
133 @RenderPageContent(261)
134 </div>
135 <div class="col-3">
136 @RenderPageContent(262)
137 </div>
138 </div>
139 </div>
140 </div>
141
142 <div class="megamenitem megaheilsutaenastur Heilsutænastur">
143 <div class="container">
144 <div class="row">
145 <div class="col-3">
146 @RenderPageContent(263)
147 </div>
148 <div class="col-3">
149 @RenderPageContent(264)
150 </div>
151 <div class="col-3">
152 @RenderPageContent(265)
153 </div>
154 <div class="col-3">
155 @RenderPageContent(266)
156 </div>
157 </div>
158 </div>
159 </div>
160
161 <div class="megamenitem megaheilsutaenastur Umokkum">
162 <div class="container">
163 <div class="row">
164 <div class="col-3">
165 @RenderPageContent(255)
166 </div>
167 <div class="col-3">
168 @RenderPageContent(256)
169 </div>
170 <div class="col-3">
171 @RenderPageContent(257)
172 </div>
173 <div class="col-3">
174 @RenderPageContent(258)
175 </div>
176 </div>
177 </div>
178 </div>
179
180
181
182 <div class="mynav d-md-none d-lg-none d-xl-none">
183 @GetValue("DwNavigation(mobmen)")
184
185 </div><!-- #dl-menu end -->
186
187
188 @GetString("Item.Area.FacebookJaascriptSDK")
189 <div class="toptopmenu container d-none d-sm-none d-md-block">
190 <div class="row">
191
192
193
194 <div class="col-2"><a class="toplanglink" href="/default.aspx?id=299">EN</a> / <a class="toplanglink" href="/default.aspx?id=192"> DK</a></div>
195
196 <div class="col-10 textright">
197
198 @{
199 bool vorurikurv=false;
200 bool solustadikurv=false;
201 int amountikurv=0;
202 string kurvid="354";
203 }
204
205 @foreach(LoopItem i in GetLoop("OrderContextCarts")){
206 <text>
207 @if(@i.GetString("Ecom:OrderContext.ID")=="Solustod"){
208 <text>
209 @if(@i.GetInteger("Ecom:Order.OrderLines.TotalQuantity")!=0){
210 amountikurv=@i.GetInteger("Ecom:Order.OrderLines.TotalQuantity");
211 vorurikurv=true;
212 solustadikurv=true;
213 kurvid="288";
214 }
215 </text>
216 }
217 </text>
218 }
219
220 @if(@solustadikurv!=true){
221 <text>
222 @foreach(LoopItem i in GetLoop("OrderContextCarts")){
223 <text>
224 @if(@i.GetInteger("Ecom:Order.OrderLines.TotalQuantity")!=0){
225 amountikurv=@i.GetInteger("Ecom:Order.OrderLines.TotalQuantity");
226 vorurikurv=true;
227 }
228 </text>
229 }
230 </text>
231
232 }
233
234
235
236 @if(@amountikurv!=0){
237 <a class="minicart" href="/default.aspx?id=@kurvid">
238 <span class="counter">@amountikurv</span>
239 <span class="icon-cart"></span>
240 <span class="minkurv">Mín kurv</span>
241 </a>
242 }
243
244 @GetValue("DwNavigation(leftnavigation)")
245
246 </div>
247 </div>
248 </div>
249
250 <nav class="navbar navbar-expand-md mt-2 mb-2 d-none d-sm-none d-md-block">
251 <div class="container">
252 <a class="navbar-brand" href="#"><img class="img-fluid mainlogo" src="@logo"></a>
253 <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarsExample04" aria-controls="navbarsExample04" aria-expanded="false" aria-label="Toggle navigation">
254 <span class="navbar-toggler-icon"></span>
255 </button>
256
257 <div class="collapse navbar-collapse" id="menu">
258 @GetValue("DwNavigation(topmen1)")
259 <form method="post" action="?id=47" id="searchform" class="form-inline my-2 my-md-0 relative searchform">
260 <input type="submit" class="hide">
261 <input class="form-control stdsrchinput" name="q" type="text" placeholder="Leita á apotek.fo"><span class="icon-search searchicon "></span>
262
263 </form>
264
265 </div>
266 </div>
267 </nav> <!--- NAVIGATION --->
268
269
270 @if(GetBoolean("Item.ShowBradcrumbs") == true || GetBoolean("Item.ApotekSida")==true)
271 {<text>
272 <div class="container-fluid mb-0 bread bread-parent">
273 <div class="container">
274 <div class="row">
275 <div class="bread col my-2">
276 @GetValue("DwNavigation(bread)")
277 </div>
278 </div>
279 </div>
280 </div>
281 </text>
282 }
283 <!--- BREADCRUMB --->
284
285 @using System.Text.RegularExpressions;
286 @using System.Web;
287
288
289 @{
290 string mynd=@GetString("Item.Area.Design.FacebookDeilFallback");
291 }
292 @if(!String.IsNullOrEmpty(@GetString("Item.FacebookDeilMynd"))){
293 mynd = @GetString("Item.FacebookDeilMynd");
294 }
295
296
297 @SnippetStart("FBimg")
298 <meta property="og:image" content="@ViewBag.BaseUrl@mynd">
299 @SnippetEnd("FBimg")
300
301
302 <div class="container">
303 <div class="row">
304 <div class="col-sm-3 d-none d-sm-none d-md-block">
305 @if(GetString("Item.Area.Design.Vinstramenu")=="Leftmen1"){
306 <text>
307 <nav class="nav flex-column">
308 @GetValue("DwNavigation(leftmen1)")
309 </nav>
310 </text>
311 }
312
313 @if(GetString("Item.Area.Design.Vinstramenu")=="Leftmen2"){
314 <text>
315 <nav class="nav flex-column">
316 @GetValue("DwNavigation(leftmen2)")
317 </nav>
318 </text>
319 }
320 </div> <!--- SIDEBAR MENU --->
321
322 <div class="col-sm-9 col-12" id="subpage-hogra">@GetValue("DwContent(subpagehogra)")</div>
323 <div class="container">
324 <div class="col-12 text-center">
325 <a class="scrolltop"> <span class="icon-backtotop"><span class="path1"></span><span class="path2"></span></span></a>
326 </div>
327 </div>
328
329
330
331
332
333
334 <style>
335 .footerAniversary{
336 background-color: #04163F;
337 display:flex;
338 width:100%;
339 align-items:center;
340 justify-content:center;
341 padding:50px 0px;
342 margin-top:150px;
343 }
344 </style>
345 @if(GetBoolean("Item.ApotekAniversary")){
346 <style>
347 .scrolltop{
348 display:none !important;}
349 </style>
350 <div class="container-fluid footerAniversary">
351 <img src="/Files/Templates/Designs/SSTemplate/img/footer-logo.svg" alt="">
352 </div>
353 }
354 else{
355 <text>
356
357
358 <div class="container-fluid footer">
359 <div class="container relative">
360 @if(!String.IsNullOrEmpty(@GetString("Item.SeinastDagfort"))){
361 <text>
362
363 <div class="seinastdagfort">Dagført @GetDate("Item.SeinastDagfort").ToString("dd'/'MM'/'yyyy")</div>
364 </text>
365 }
366
367 <div class="row ">
368
369 <div class="col-xl-3 col-md-12 col-sm-12 col-12 mt-5">
370 @RenderParagraphContent(27)
371 </div>
372 <div class="col-xl-3 col-md-6 col-sm-6 col-12 mt-5">
373 @RenderParagraphContent(28)
374 </div>
375 <div class="col-xl-3 col-md-6 col-sm-6 col-12 mt-5">
376 @RenderParagraphContent(1055)
377 </div>
378 <div class="col-xl-3 col-md-12 col-sm-12 col-12 mt-5">
379 @RenderParagraphContent(30)
380
381 </div>
382 <div class="col-md-3 col-sm-3 col-12 mt-5 text-right hide">
383 <a href="https://www.facebook.com/Tjaldursapotek/" target="_blank"><span class="icon-facebook-footer"><span class="path1"></span><span class="path2"></span><span class="path3"></span></span></a>
384 </div>
385 </div>
386 </div>
387 </div>
388
389 </text>
390 <div class="container-fluid footerbottom">
391 <div class="container">
392 <div class="row">
393 <div class="col-12 text-center">
394 <a class="kolofon" target="_blank" href="//www.sendistovan.fo"><img src="/Files/Templates/Designs/SSTemplate/img/kolofon.svg" alt="Sendistovan">Ein loysn frá Sendistovuni</a>
395 </div>
396 </div>
397 </div>
398 </div>
399 </div>
400 </div>
401 }
402 <div class="mob-search">
403 <form method="post" action="?id=47" id="mob-searchform">
404 <input type="submit" class="hide">
405 <input class="mobinput" name="q" type="text" placeholder="Leita á apotek.fo"><span class="icon-search mob-searchicon mob-submit"></span>
406 <span class="icon-menu-close mob-search-close"></span>
407
408 </form>
409 </div>
410
411 @{
412 string prodtransl="vørur";
413 string logdtrans="lagdar";
414 }
415 @if(@amountikurv==1) {
416 prodtransl="vøra";
417 logdtrans="løgd";
418 }
419 @if(@amountikurv!=0){
420 <text>
421
422 <a class="mobuppl d-md-none d-lg-none d-xl-none" href="/default.aspx?id=@kurvid">
423 <span class="icon-cart"></span> @amountikurv @prodtransl @logdtrans í keypskurv
424 </a>
425
426 </text>
427 }
428 else{
429
430 <a href="/?id=399" class="mobuppl d-md-none d-lg-none d-xl-none">
431 <span class="icon-location"></span> Upplatingartíðir
432 </a>
433 }
434
435
436
437 <div class="mobilmenpush hide">
438
439 @GetValue("DwNavigation(mobtoptopnav)")
440
441
442 </div>
443
444
445 <script src="/Files/Templates/Designs/SSTemplate/js/tablesaw.js"></script>
446 <script src="/Files/Templates/Designs/SSTemplate/js/tablesaw-init.js"></script>
447 <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
448
449
450 <script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.1.0/js/bootstrap.min.js"></script>
451 <script src="/Files/Templates/Designs/SSTemplate/lightgallery/js/lightgallery.min.js"></script>
452
453 <script src="/Files/Templates/Designs/SSTemplate/lightgallery/js/lg-thumbnail.js"></script>
454 <script src="/Files/Templates/Designs/SSTemplate/lightgallery/js/lg-zoom.js"></script>
455 <script src="/Files/Templates/Designs/SSTemplate/lightgallery/js/lg-video.js"></script>
456 <script src="/Files/Templates/Designs/SSTemplate/js/meanmenu.js?build=24"></script>
457 <script src="/Files/Templates/Designs/SSTemplate/js/ssscript.js"></script>
458 <script>
459 // Find all elements with the classname "megalink"
460 var elements = document.getElementsByClassName("mega-link");
461
462 // Iterate through each element
463 for (var i = 0; i < elements.length; i++) {
464 var element = elements[i];
465
466 // Get the current value of the "rel" parameter
467 var rel = element.getAttribute("rel");
468
469 // Remove whitespace from the "rel" parameter
470 var updatedRel = rel.replace(/\s/g, "");
471
472 // Update the "rel" parameter with the whitespace removed
473 element.setAttribute("rel", updatedRel);
474 }
475 </script>
476
477 @GetString("Item.Area.Funktionalitetir.FacebookTrackingPixul")
478
479
480
481
482
483
484
485
486 </body>
487 </html>
488
489
490