Error compiling template "Designs/LV/_parsed/NewsPrint.parsed.cshtml"
Line 362: Invalid expression term '%'
Line 362: Syntax error, ',' expected
Line 370: Invalid expression term '%'
Line 370: Syntax error, ',' expected
Line 362: The name 'Item' does not exist in the current context
Line 370: The name 'Item' does not exist in the current context
1 //------------------------------------------------------------------------------
2 // <auto-generated>
3 // This code was generated by a tool.
4 // Runtime Version:4.0.30319.42000
5 //
6 // Changes to this file may cause incorrect behavior and will be lost if
7 // the code is regenerated.
8 // </auto-generated>
9 //------------------------------------------------------------------------------
10
11 namespace CompiledRazorTemplates.Dynamic {
12 using System;
13 using System.Collections.Generic;
14
15 #line 3 "E:\Dynamicweb.net\Solutions\landsverk.live\Files\Templates\Designs\LV\_parsed\NewsPrint.parsed.cshtml"
16 using System.Linq;
17
18 #line default
19 #line hidden
20
21 #line 1 "E:\Dynamicweb.net\Solutions\landsverk.live\Files\Templates\Designs\LV\_parsed\NewsPrint.parsed.cshtml"
22 using System.Xml.Linq;
23
24 #line default
25 #line hidden
26
27 #line 2 "E:\Dynamicweb.net\Solutions\landsverk.live\Files\Templates\Designs\LV\_parsed\NewsPrint.parsed.cshtml"
28 using System.Xml;
29
30 #line default
31 #line hidden
32
33
34 public class RazorEngine_230dbd1cc04140118e584ba58f934ee7 : Dynamicweb.Rendering.RazorTemplateBase<Dynamicweb.Rendering.RazorTemplateModel<Dynamicweb.Rendering.Template>> {
35
36 #line hidden
37
38 public RazorEngine_230dbd1cc04140118e584ba58f934ee7() {
39 }
40
41 public override void Execute() {
42 WriteLiteral(" ");
43
44
45 #line 4 "E:\Dynamicweb.net\Solutions\landsverk.live\Files\Templates\Designs\LV\_parsed\NewsPrint.parsed.cshtml"
46
47 string colmen1=GetString("Item.Area.Col1Icon");
48 string colmen2=GetString("Item.Area.Col2Icon");
49 string colmen3=GetString("Item.Area.Col3Icon");
50 string colmen4=GetString("Item.Area.Col4Icon");
51 string collink1=GetString("Item.Area.Col1Link");
52 string collink2=GetString("Item.Area.Col2Link");
53 string collink3=GetString("Item.Area.Col3Link");
54 string collink4=GetString("Item.Area.Col4Link");
55 string borgari="borgari"+GetString("DwTopPageID");
56 string bygging="bygging"+GetString("DwTopPageID");
57 string sola="sola"+GetString("DwTopPageID");
58 string color=@GetString("Item.Litur");
59
60
61 #line default
62 #line hidden
63 WriteLiteral("\r\n<!DOCTYPE html>\r\n<html");
64
65 WriteLiteral(" lang=\"fo\"");
66
67 WriteLiteral(">\r\n <head>\r\n <meta");
68
69 WriteLiteral(" charset=\"utf-8\"");
70
71 WriteLiteral(">\r\n <meta");
72
73 WriteLiteral(" http-equiv=\"X-UA-Compatible\"");
74
75 WriteLiteral(" content=\"IE=edge\"");
76
77 WriteLiteral(">\r\n <meta");
78
79 WriteLiteral(" name=\"viewport\"");
80
81 WriteLiteral(" content=\"width=device-width, initial-scale=1\"");
82
83 WriteLiteral(">\r\n \r\n <meta");
84
85 WriteLiteral(" name=\"author\"");
86
87 WriteLiteral(" content=\"\"");
88
89 WriteLiteral(">\r\n <title>");
90
91
92 #line 26 "E:\Dynamicweb.net\Solutions\landsverk.live\Files\Templates\Designs\LV\_parsed\NewsPrint.parsed.cshtml"
93 Write(GetValue("Title"));
94
95
96 #line default
97 #line hidden
98 WriteLiteral("</title>\r\n");
99
100
101 #line 27 "E:\Dynamicweb.net\Solutions\landsverk.live\Files\Templates\Designs\LV\_parsed\NewsPrint.parsed.cshtml"
102 Write(GetValue("MetaTags"));
103
104
105 #line default
106 #line hidden
107 WriteLiteral("\r\n");
108
109
110 #line 28 "E:\Dynamicweb.net\Solutions\landsverk.live\Files\Templates\Designs\LV\_parsed\NewsPrint.parsed.cshtml"
111 Write(GetValue("CopyRightNotice"));
112
113
114 #line default
115 #line hidden
116 WriteLiteral("\r\n\r\n <!-- Bootstrap Core CSS -->\r\n <link");
117
118 WriteLiteral(" href=\"/Files/Templates/Designs/LV/css/bootstrap.min.css\"");
119
120 WriteLiteral(" media=\"all\"");
121
122 WriteLiteral(" rel=\"stylesheet\"");
123
124 WriteLiteral(">\r\n <link");
125
126 WriteLiteral(" type=\"text/css\"");
127
128 WriteLiteral(" media=\"all\"");
129
130 WriteLiteral(" rel=\"stylesheet\"");
131
132 WriteLiteral(" href=\"/Files/Templates/Designs/LV/lightgallery/css/lightgallery.css\"");
133
134 WriteLiteral(">\r\n <!-- Custom CSS -->\r\n <link");
135
136 WriteLiteral(" href=\"/Files/Templates/Designs/LV/css/custom.css\"");
137
138 WriteLiteral(" media=\"all\"");
139
140 WriteLiteral(" rel=\"stylesheet\"");
141
142 WriteLiteral(">\r\n <link");
143
144 WriteLiteral(" href=\"/Files/Templates/Designs/LV/css/katrin.css\"");
145
146 WriteLiteral(" media=\"all\"");
147
148 WriteLiteral(" rel=\"stylesheet\"");
149
150 WriteLiteral(">\r\n <link");
151
152 WriteLiteral(" href=\"/Files/Templates/Designs/LV/css/hamburgers.css\"");
153
154 WriteLiteral(" media=\"all\"");
155
156 WriteLiteral(" rel=\"stylesheet\"");
157
158 WriteLiteral(" type=\"text/css\"");
159
160 WriteLiteral(">\r\n <!-- Font -->\r\n <link");
161
162 WriteLiteral(" href=\"/Files/Templates/Designs/LV/css/MyFontsWebfontsKit.css\"");
163
164 WriteLiteral(" media=\"all\"");
165
166 WriteLiteral(" rel=\"stylesheet\"");
167
168 WriteLiteral(">\r\n <link");
169
170 WriteLiteral(" href=\"/Files/Templates/Designs/LV/css/themify-icons.css\"");
171
172 WriteLiteral(" media=\"all\"");
173
174 WriteLiteral(" rel=\"stylesheet\"");
175
176 WriteLiteral(@">
177 <!--[if lt IE 9]>
178 <script src=""https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js""></script>
179 <script src=""https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js""></script>
180
181 <![endif]-->
182
183
184 <style>
185
186 ");
187
188 WriteLiteral("@page {\r\nmargin:.25in;\r\npadding:0;\r\n}\r\n\r\n");
189
190 WriteLiteral("@media print {\r\nhtml, body {\r\nwidth:110%;\r\nheight:auto;\r\nmargin:auto;\r\npadding:0;" +
191 "\r\n \r\n }\r\n .kungvegleiding {border:none !important; te" +
192 "xt-decoration:none !important;}\r\n \r\n </style>\r\n");
193
194 WriteLiteral(" ");
195
196
197 #line 65 "E:\Dynamicweb.net\Solutions\landsverk.live\Files\Templates\Designs\LV\_parsed\NewsPrint.parsed.cshtml"
198 Write(GetValue("Stylesheets"));
199
200
201 #line default
202 #line hidden
203 WriteLiteral("\r\n");
204
205
206 #line 66 "E:\Dynamicweb.net\Solutions\landsverk.live\Files\Templates\Designs\LV\_parsed\NewsPrint.parsed.cshtml"
207 Write(GetValue("Javascripts"));
208
209
210 #line default
211 #line hidden
212 WriteLiteral("\r\n</head>\r\n <body");
213
214 WriteLiteral(" onload=\"window.print();\"");
215
216 WriteLiteral(">\r\n \r\n \r\n <!-- Content -->\r\n \r\n\r\n");
217
218
219 #line 74 "E:\Dynamicweb.net\Solutions\landsverk.live\Files\Templates\Designs\LV\_parsed\NewsPrint.parsed.cshtml"
220
221 string mynd=@GetString("Item.Mynd");
222
223
224 #line default
225 #line hidden
226 WriteLiteral("\r\n\r\n \r\n <div");
227
228 WriteLiteral(" class=\"container\"");
229
230 WriteLiteral(">\r\n <div");
231
232 WriteLiteral(" class=\"row\"");
233
234 WriteLiteral(">\r\n <div");
235
236 WriteLiteral(" class=\"col-md-12\"");
237
238 WriteLiteral(">\r\n <div");
239
240 WriteLiteral(" class=\"snnewsdate\"");
241
242 WriteLiteral(">");
243
244
245 #line 82 "E:\Dynamicweb.net\Solutions\landsverk.live\Files\Templates\Designs\LV\_parsed\NewsPrint.parsed.cshtml"
246 Write(GetDate("Item.Dato").ToString("dd/MM/yyyy"));
247
248
249 #line default
250 #line hidden
251 WriteLiteral("</div>\r\n <div");
252
253 WriteLiteral(" class=\"snnewshead\"");
254
255 WriteLiteral(">");
256
257
258 #line 83 "E:\Dynamicweb.net\Solutions\landsverk.live\Files\Templates\Designs\LV\_parsed\NewsPrint.parsed.cshtml"
259 Write(GetString("Item.Yvirskrift"));
260
261
262 #line default
263 #line hidden
264 WriteLiteral("</div>\r\n <div");
265
266 WriteLiteral(" class=\"snnewsimage\"");
267
268 WriteLiteral(">\r\n <img");
269
270 WriteAttribute("src", Tuple.Create(" src=\"", 2896), Tuple.Create("\"", 2907)
271
272 #line 85 "E:\Dynamicweb.net\Solutions\landsverk.live\Files\Templates\Designs\LV\_parsed\NewsPrint.parsed.cshtml"
273 , Tuple.Create(Tuple.Create("", 2902), Tuple.Create<System.Object, System.Int32>(mynd
274
275 #line default
276 #line hidden
277 , 2902), false)
278 );
279
280 WriteAttribute("alt", Tuple.Create(" alt=\"", 2908), Tuple.Create("\"", 2944)
281
282 #line 85 "E:\Dynamicweb.net\Solutions\landsverk.live\Files\Templates\Designs\LV\_parsed\NewsPrint.parsed.cshtml"
283 , Tuple.Create(Tuple.Create("", 2914), Tuple.Create<System.Object, System.Int32>(GetString(" item.yvirskrift")
284
285 #line default
286 #line hidden
287 , 2914), false)
288 );
289
290 WriteLiteral("=\"\">\r\n </div>\r\n <div");
291
292 WriteLiteral(" class=\"snnewsintro\"");
293
294 WriteLiteral(">");
295
296
297 #line 87 "E:\Dynamicweb.net\Solutions\landsverk.live\Files\Templates\Designs\LV\_parsed\NewsPrint.parsed.cshtml"
298 Write(GetString("Item.Introtekstur"));
299
300
301 #line default
302 #line hidden
303 WriteLiteral("</div>\r\n <div");
304
305 WriteLiteral(" class=\"snnewstext\"");
306
307 WriteLiteral(">\r\n");
308
309 WriteLiteral(" ");
310
311
312 #line 89 "E:\Dynamicweb.net\Solutions\landsverk.live\Files\Templates\Designs\LV\_parsed\NewsPrint.parsed.cshtml"
313 Write(GetString("Item.Tekstur"));
314
315
316 #line default
317 #line hidden
318 WriteLiteral("\r\n </div>\r\n </div>\r\n \r\n </div>\r\n\t</div>\r\n\r\n <div");
319
320 WriteLiteral(" class=\"container\"");
321
322 WriteLiteral(">\r\n <div");
323
324 WriteLiteral(" class=\"row\"");
325
326 WriteLiteral(">\r\n\r\n \r\n <div");
327
328 WriteLiteral(" class=\"col-md-12 nowpadding\"");
329
330 WriteLiteral(" id=\"lightgallery\"");
331
332 WriteLiteral(">\r\n");
333
334
335 #line 101 "E:\Dynamicweb.net\Solutions\landsverk.live\Files\Templates\Designs\LV\_parsed\NewsPrint.parsed.cshtml"
336
337
338 #line default
339 #line hidden
340
341 #line 101 "E:\Dynamicweb.net\Solutions\landsverk.live\Files\Templates\Designs\LV\_parsed\NewsPrint.parsed.cshtml"
342
343 foreach(var file in GetLoop("Item.Myndasavn.ListOfFiles")){
344
345
346 #line default
347 #line hidden
348 WriteLiteral(" <div");
349
350 WriteLiteral(" class=\"col-xs-3 newsimgcol\"");
351
352 WriteLiteral("> <div");
353
354 WriteLiteral(" class=\"item\"");
355
356 WriteLiteral("><img");
357
358 WriteAttribute("src", Tuple.Create(" src=\'", 3425), Tuple.Create("\'", 3600)
359 , Tuple.Create(Tuple.Create("", 3431), Tuple.Create("/admin/public/getimage.ashx?&Image=", 3431), true)
360
361 #line 103 "E:\Dynamicweb.net\Solutions\landsverk.live\Files\Templates\Designs\LV\_parsed\NewsPrint.parsed.cshtml"
362 , Tuple.Create(Tuple.Create("", 3466), Tuple.Create<System.Object, System.Int32>(GetValue(%22Item.Myndasavn%22)
363
364 #line default
365 #line hidden
366 , 3466), false)
367 , Tuple.Create(Tuple.Create("", 3497), Tuple.Create("/", 3497), true)
368
369 #line 103 "E:\Dynamicweb.net\Solutions\landsverk.live\Files\Templates\Designs\LV\_parsed\NewsPrint.parsed.cshtml"
370 , Tuple.Create(Tuple.Create("", 3498), Tuple.Create<System.Object, System.Int32>(file.GetValue(%22Item.Myndasavn.FileName%22)
371
372 #line default
373 #line hidden
374 , 3498), false)
375 , Tuple.Create(Tuple.Create("", 3543), Tuple.Create("&Resolution=75&Compression=90&Width=150&height=150&Crop=8", 3543), true)
376 );
377
378 WriteLiteral("></div>\r\n </div>\r\n");
379
380
381 #line 105 "E:\Dynamicweb.net\Solutions\landsverk.live\Files\Templates\Designs\LV\_parsed\NewsPrint.parsed.cshtml"
382 }
383
384
385 #line default
386 #line hidden
387 WriteLiteral(" \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n </div>\r\n </div>\r\n</div>\r\n\r\n\r" +
388 "\n <!-- /Content -->\r\n <!-- Footer -->\r\n <footer");
389
390 WriteLiteral(" class=\"printfooter\"");
391
392 WriteLiteral(">\r\n <div");
393
394 WriteLiteral(" class=\"container\"");
395
396 WriteLiteral(">\r\n <div");
397
398 WriteLiteral(" class=\"row\"");
399
400 WriteLiteral(">\r\n <div");
401
402 WriteLiteral(" class=\"col-xs-12\"");
403
404 WriteLiteral(">\r\n <div");
405
406 WriteLiteral(" class=\"col-xs-12 nowpadding\"");
407
408 WriteLiteral(">\r\n <img");
409
410 WriteLiteral(" src=\"/Files/Templates/Designs/LV/img/%20Logo%20blue.png\"");
411
412 WriteLiteral(" alt=\"footer-logo\"");
413
414 WriteLiteral(" style=\"width:200px; height:auto; float:left; clear:both;\"");
415
416 WriteLiteral(">\r\n </div>\r\n <div");
417
418 WriteLiteral(" class=\"col-xs-12 nowpadding\"");
419
420 WriteLiteral(">\r\n");
421
422 WriteLiteral(" ");
423
424
425 #line 131 "E:\Dynamicweb.net\Solutions\landsverk.live\Files\Templates\Designs\LV\_parsed\NewsPrint.parsed.cshtml"
426 Write(GetString("Item.Area.PrintFooter"));
427
428
429 #line default
430 #line hidden
431 WriteLiteral(" \r\n </div>\r\n </div>\r\n \r\n </div>\r\n " +
432 "</div></footer>\r\n <!-- /Footer -->\r\n <!-- Search -->\r\n \r\n \r\n " +
433 " <script");
434
435 WriteLiteral(" type=\"text/javascript\"");
436
437 WriteLiteral(@">var _gaq = _gaq || [];_gaq.push(['_setAccount', 'UA-29841390-5'],['_trackPageview']);_gaq.push(['b._setAccount', 'UA-29841390-1'],['b._setDomainName', 'none'],['b._setAllowLinker', true],['b._trackPageview']);(function() {var ga = document.createElement('script');ga.type = 'text/javascript';ga.async = true;ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);})();</script>
438
439 </body>
440 </html>
441 ");
442
443 }
444 }
445 }
446
1 @using System.Xml.Linq
2 @using System.Xml
3 @using System.Linq
4 @{
5 string colmen1=GetString("Item.Area.Col1Icon");
6 string colmen2=GetString("Item.Area.Col2Icon");
7 string colmen3=GetString("Item.Area.Col3Icon");
8 string colmen4=GetString("Item.Area.Col4Icon");
9 string collink1=GetString("Item.Area.Col1Link");
10 string collink2=GetString("Item.Area.Col2Link");
11 string collink3=GetString("Item.Area.Col3Link");
12 string collink4=GetString("Item.Area.Col4Link");
13 string borgari="borgari"+GetString("DwTopPageID");
14 string bygging="bygging"+GetString("DwTopPageID");
15 string sola="sola"+GetString("DwTopPageID");
16 string color=@GetString("Item.Litur");
17 }
18 <!DOCTYPE html>
19 <html lang="fo">
20 <head>
21 <meta charset="utf-8">
22 <meta http-equiv="X-UA-Compatible" content="IE=edge">
23 <meta name="viewport" content="width=device-width, initial-scale=1">
24
25 <meta name="author" content="">
26 <title>@GetValue("Title")</title>
27 @GetValue("MetaTags")
28 @GetValue("CopyRightNotice")
29
30 <!-- Bootstrap Core CSS -->
31 <link href="/Files/Templates/Designs/LV/css/bootstrap.min.css" media="all" rel="stylesheet">
32 <link type="text/css" media="all" rel="stylesheet" href="/Files/Templates/Designs/LV/lightgallery/css/lightgallery.css">
33 <!-- Custom CSS -->
34 <link href="/Files/Templates/Designs/LV/css/custom.css" media="all" rel="stylesheet">
35 <link href="/Files/Templates/Designs/LV/css/katrin.css" media="all" rel="stylesheet">
36 <link href="/Files/Templates/Designs/LV/css/hamburgers.css" media="all" rel="stylesheet" type="text/css">
37 <!-- Font -->
38 <link href="/Files/Templates/Designs/LV/css/MyFontsWebfontsKit.css" media="all" rel="stylesheet">
39 <link href="/Files/Templates/Designs/LV/css/themify-icons.css" media="all" rel="stylesheet">
40 <!--[if lt IE 9]>
41 <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
42 <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
43
44 <![endif]-->
45
46
47 <style>
48
49 @@page {
50 margin:.25in;
51 padding:0;
52 }
53
54 @@media print {
55 html, body {
56 width:110%;
57 height:auto;
58 margin:auto;
59 padding:0;
60
61 }
62 .kungvegleiding {border:none !important; text-decoration:none !important;}
63
64 </style>
65 @GetValue("Stylesheets")
66 @GetValue("Javascripts")
67 </head>
68 <body onload="window.print();">
69
70
71 <!-- Content -->
72
73
74 @{
75 string mynd=@GetString("Item.Mynd");
76 }
77
78
79 <div class="container">
80 <div class="row">
81 <div class="col-md-12">
82 <div class="snnewsdate">@GetDate("Item.Dato").ToString("dd/MM/yyyy")</div>
83 <div class="snnewshead">@GetString("Item.Yvirskrift")</div>
84 <div class="snnewsimage">
85 <img src="@mynd" alt="@GetString(" item.yvirskrift")"="">
86 </div>
87 <div class="snnewsintro">@GetString("Item.Introtekstur")</div>
88 <div class="snnewstext">
89 @GetString("Item.Tekstur")
90 </div>
91 </div>
92
93 </div>
94 </div>
95
96 <div class="container">
97 <div class="row">
98
99
100 <div class="col-md-12 nowpadding" id="lightgallery">
101 @{
102 foreach(var file in GetLoop("Item.Myndasavn.ListOfFiles")){
103 <div class="col-xs-3 newsimgcol"> <div class="item"><img src='/admin/public/getimage.ashx?&Image=@GetValue(%22Item.Myndasavn%22)/@file.GetValue(%22Item.Myndasavn.FileName%22)&Resolution=75&Compression=90&Width=150&height=150&Crop=8'></div>
104 </div>
105 }
106 }
107
108
109
110
111
112
113
114
115
116 </div>
117 </div>
118 </div>
119
120
121 <!-- /Content -->
122 <!-- Footer -->
123 <footer class="printfooter">
124 <div class="container">
125 <div class="row">
126 <div class="col-xs-12">
127 <div class="col-xs-12 nowpadding">
128 <img src="/Files/Templates/Designs/LV/img/%20Logo%20blue.png" alt="footer-logo" style="width:200px; height:auto; float:left; clear:both;">
129 </div>
130 <div class="col-xs-12 nowpadding">
131 @GetString("Item.Area.PrintFooter")
132 </div>
133 </div>
134
135 </div>
136 </div></footer>
137 <!-- /Footer -->
138 <!-- Search -->
139
140
141 <script type="text/javascript">var _gaq = _gaq || [];_gaq.push(['_setAccount', 'UA-29841390-5'],['_trackPageview']);_gaq.push(['b._setAccount', 'UA-29841390-1'],['b._setDomainName', 'none'],['b._setAllowLinker', true],['b._trackPageview']);(function() {var ga = document.createElement('script');ga.type = 'text/javascript';ga.async = true;ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);})();</script>
142
143 </body>
144 </html>
145