Error compiling template "Designs/Basic/_parsed/PageEcom.parsed.cshtml"
Line 4725: Syntax error, ',' expected
Line 4725: ) expected
Line 4725: ) expected
Line 4725: ) expected
Line 4725: } expected
Line 4729: ; expected
Line 4729: } expected
Line 4729: ; expected
Line 4729: } expected
Line 4729: ; expected
Line 4729: } expected
Line 4730: ; expected
Line 4730: } expected
Line 4820: Invalid token ')' in class, struct, or interface member declaration
Line 10331: Type or namespace definition, or end-of-file expected
Line 4829: A namespace cannot directly contain members such as fields or methods
Line 4964: A namespace cannot directly contain members such as fields or methods
Line 5051: A namespace cannot directly contain members such as fields or methods
Line 5154: A namespace cannot directly contain members such as fields or methods
Line 5248: A namespace cannot directly contain members such as fields or methods
Line 5665: A namespace cannot directly contain members such as fields or methods
Line 5779: A namespace cannot directly contain members such as fields or methods
Line 5934: A namespace cannot directly contain members such as fields or methods
Line 5939: A namespace cannot directly contain members such as fields or methods
Line 5944: A namespace cannot directly contain members such as fields or methods
Line 5949: A namespace cannot directly contain members such as fields or methods
Line 5959: A namespace cannot directly contain members such as fields or methods
Line 6175: A namespace cannot directly contain members such as fields or methods
Line 6222: A namespace cannot directly contain members such as fields or methods
Line 6354: A namespace cannot directly contain members such as fields or methods
Line 6636: A namespace cannot directly contain members such as fields or methods
Line 6918: A namespace cannot directly contain members such as fields or methods
Line 7198: A namespace cannot directly contain members such as fields or methods
Line 7198: Method must have a return type
Line 7201: A namespace cannot directly contain members such as fields or methods
Line 4829: The type or namespace name 'LoopItem' could not be found (are you missing a using directive or an assembly reference?)
Line 5051: The type or namespace name 'LoopItem' could not be found (are you missing a using directive or an assembly reference?)
Line 5154: The type or namespace name 'LoopItem' could not be found (are you missing a using directive or an assembly reference?)
Line 5248: The type or namespace name 'LoopItem' could not be found (are you missing a using directive or an assembly reference?)
Line 5665: The type or namespace name 'LoopItem' could not be found (are you missing a using directive or an assembly reference?)
Line 5934: The type or namespace name 'LoopItem' could not be found (are you missing a using directive or an assembly reference?)
Line 5939: The type or namespace name 'LoopItem' could not be found (are you missing a using directive or an assembly reference?)
Line 5944: The type or namespace name 'LoopItem' could not be found (are you missing a using directive or an assembly reference?)
Line 5949: The type or namespace name 'LoopItem' could not be found (are you missing a using directive or an assembly reference?)
Line 5959: The type or namespace name 'LoopItem' could not be found (are you missing a using directive or an assembly reference?)
Line 6175: The type or namespace name 'LoopItem' could not be found (are you missing a using directive or an assembly reference?)
Line 6222: The type or namespace name 'LoopItem' could not be found (are you missing a using directive or an assembly reference?)
Line 6636: The type or namespace name 'LoopItem' could not be found (are you missing a using directive or an assembly reference?)
Line 7201: '.Execute()': no suitable method found to override
Line 4837: The name 'Pageview' does not exist in the current context
Line 4848: The name 'WriteLiteralTo' does not exist in the current context
Line 4850: The name 'WriteLiteralTo' does not exist in the current context
Line 4852: The name 'WriteLiteralTo' does not exist in the current context
Line 4878: The name 'WriteLiteralTo' does not exist in the current context
Line 4880: The name 'WriteAttributeTo' does not exist in the current context
Line 4890: The name 'WriteLiteralTo' does not exist in the current context
Line 4892: The name 'WriteLiteralTo' does not exist in the current context
Line 4896: The name 'WriteTo' does not exist in the current context
Line 4896: The name 'RenderChevrons' does not exist in the current context
Line 4901: The name 'WriteLiteralTo' does not exist in the current context
Line 4911: The name 'WriteLiteralTo' does not exist in the current context
Line 4913: The name 'WriteLiteralTo' does not exist in the current context
Line 4915: The name 'WriteLiteralTo' does not exist in the current context
Line 4917: The name 'WriteLiteralTo' does not exist in the current context
Line 4919: The name 'WriteLiteralTo' does not exist in the current context
Line 4921: The name 'WriteLiteralTo' does not exist in the current context
Line 4923: The name 'WriteLiteralTo' does not exist in the current context
Line 4925: The name 'WriteLiteralTo' does not exist in the current context
Line 4927: The name 'WriteLiteralTo' does not exist in the current context
Line 4931: The name 'WriteTo' does not exist in the current context
Line 4931: The name 'Translate' does not exist in the current context
Line 4936: The name 'WriteLiteralTo' does not exist in the current context
Line 4946: The name 'WriteLiteralTo' does not exist in the current context
Line 4983: The name 'WriteLiteralTo' does not exist in the current context
Line 4985: The name 'WriteLiteralTo' does not exist in the current context
Line 4987: The name 'WriteLiteralTo' does not exist in the current context
Line 4989: The name 'WriteLiteralTo' does not exist in the current context
Line 4991: The name 'WriteLiteralTo' does not exist in the current context
Line 4993: The name 'WriteLiteralTo' does not exist in the current context
Line 4997: The name 'WriteTo' does not exist in the current context
Line 4997: The name 'RenderChevrons' does not exist in the current context
Line 5002: The name 'WriteLiteralTo' does not exist in the current context
Line 5004: The name 'WriteLiteralTo' does not exist in the current context
Line 5006: The name 'WriteLiteralTo' does not exist in the current context
Line 5008: The name 'WriteLiteralTo' does not exist in the current context
Line 5010: The name 'WriteLiteralTo' does not exist in the current context
Line 5012: The name 'WriteLiteralTo' does not exist in the current context
Line 5014: The name 'WriteLiteralTo' does not exist in the current context
Line 5016: The name 'WriteLiteralTo' does not exist in the current context
Line 5018: The name 'WriteLiteralTo' does not exist in the current context
Line 5022: The name 'WriteTo' does not exist in the current context
Line 5022: The name 'Translate' does not exist in the current context
Line 5027: The name 'WriteLiteralTo' does not exist in the current context
Line 5059: The name 'getIntegerByKey' does not exist in the current context
Line 5060: The name 'getStringByKey' does not exist in the current context
Line 5061: The name 'getStringByKey' does not exist in the current context
Line 5063: The name 'getStringByKey' does not exist in the current context
Line 5063: The name 'getStringByKey' does not exist in the current context
Line 5064: The name 'getIntegerByKey' does not exist in the current context
Line 5065: The name 'getStringByKey' does not exist in the current context
Line 5065: The name 'getStringByKey' does not exist in the current context
Line 5071: The name 'WriteLiteralTo' does not exist in the current context
Line 5073: The name 'WriteLiteralTo' does not exist in the current context
Line 5075: The name 'WriteLiteralTo' does not exist in the current context
Line 5077: The name 'WriteLiteralTo' does not exist in the current context
Line 5079: The name 'WriteLiteralTo' does not exist in the current context
Line 5081: The name 'WriteLiteralTo' does not exist in the current context
Line 5083: The name 'WriteAttributeTo' does not exist in the current context
Line 5093: The name 'WriteAttributeTo' does not exist in the current context
Line 5103: The name 'WriteLiteralTo' does not exist in the current context
Line 5105: The name 'WriteAttributeTo' does not exist in the current context
Line 5115: The name 'WriteLiteralTo' does not exist in the current context
Line 5117: The name 'WriteLiteralTo' does not exist in the current context
Line 5119: The name 'WriteLiteralTo' does not exist in the current context
Line 5121: The name 'WriteLiteralTo' does not exist in the current context
Line 5123: The name 'WriteLiteralTo' does not exist in the current context
Line 5125: The name 'WriteLiteralTo' does not exist in the current context
Line 5127: The name 'WriteLiteralTo' does not exist in the current context
Line 5129: The name 'WriteLiteralTo' does not exist in the current context
Line 5131: The name 'WriteLiteralTo' does not exist in the current context
Line 5133: The name 'WriteLiteralTo' does not exist in the current context
Line 5135: The name 'WriteLiteralTo' does not exist in the current context
Line 5137: The name 'WriteLiteralTo' does not exist in the current context
Line 5166: The name 'WriteLiteralTo' does not exist in the current context
Line 5168: The name 'WriteLiteralTo' does not exist in the current context
Line 5170: The name 'WriteAttributeTo' does not exist in the current context
Line 5181: The name 'WriteLiteralTo' does not exist in the current context
Line 5183: The name 'WriteLiteralTo' does not exist in the current context
Line 5185: The name 'WriteLiteralTo' does not exist in the current context
Line 5189: The name 'WriteTo' does not exist in the current context
Line 5189: The name 'Pageview' does not exist in the current context
Line 5194: The name 'WriteLiteralTo' does not exist in the current context
Line 5196: The name 'WriteLiteralTo' does not exist in the current context
Line 5198: The name 'WriteLiteralTo' does not exist in the current context
Line 5200: The name 'WriteLiteralTo' does not exist in the current context
Line 5202: The name 'WriteLiteralTo' does not exist in the current context
Line 5204: The name 'WriteLiteralTo' does not exist in the current context
Line 5206: The name 'WriteLiteralTo' does not exist in the current context
Line 5208: The name 'WriteLiteralTo' does not exist in the current context
Line 5210: The name 'WriteAttributeTo' does not exist in the current context
Line 5220: The name 'WriteLiteralTo' does not exist in the current context
Line 5222: The name 'WriteLiteralTo' does not exist in the current context
Line 5226: The name 'WriteTo' does not exist in the current context
Line 5226: The name 'RenderProductListContent' does not exist in the current context
Line 5231: The name 'WriteLiteralTo' does not exist in the current context
Line 1266: 'User.IsExtranetUserLoggedIn()' is obsolete: 'Use IsFrontendUserLoggedIn() instead.'
Line 1488: 'User.IsExtranetUserLoggedIn()' is obsolete: 'Use IsFrontendUserLoggedIn() instead.'
Line 5267: The name 'Pageview' does not exist in the current context
Line 5268: The name 'Pageview' does not exist in the current context
Line 5281: The name 'GetInteger' does not exist in the current context
Line 5290: The name 'WriteLiteralTo' does not exist in the current context
Line 5292: The name 'WriteAttributeTo' does not exist in the current context
Line 5320: The name 'WriteLiteralTo' does not exist in the current context
Line 5336: The name 'WriteLiteralTo' does not exist in the current context
Line 5340: The name 'WriteTo' does not exist in the current context
Line 5345: The name 'WriteLiteralTo' does not exist in the current context
Line 5354: The name 'WriteLiteralTo' does not exist in the current context
Line 5356: The name 'WriteLiteralTo' does not exist in the current context
Line 5358: The name 'WriteLiteralTo' does not exist in the current context
Line 5360: The name 'WriteLiteralTo' does not exist in the current context
Line 5362: The name 'WriteLiteralTo' does not exist in the current context
Line 5364: The name 'WriteLiteralTo' does not exist in the current context
Line 5366: The name 'WriteLiteralTo' does not exist in the current context
Line 5368: The name 'WriteAttributeTo' does not exist in the current context
Line 5378: The name 'WriteAttributeTo' does not exist in the current context
Line 5388: The name 'WriteLiteralTo' does not exist in the current context
Line 5390: The name 'WriteLiteralTo' does not exist in the current context
Line 5392: The name 'WriteLiteralTo' does not exist in the current context
Line 5394: The name 'WriteAttributeTo' does not exist in the current context
Line 5404: The name 'WriteAttributeTo' does not exist in the current context
Line 5414: The name 'WriteAttributeTo' does not exist in the current context
Line 5424: The name 'WriteLiteralTo' does not exist in the current context
Line 5426: The name 'WriteLiteralTo' does not exist in the current context
Line 5428: The name 'WriteLiteralTo' does not exist in the current context
Line 5432: The name 'WriteTo' does not exist in the current context
Line 5432: The name 'RenderProductRibbon' does not exist in the current context
Line 5437: The name 'WriteLiteralTo' does not exist in the current context
Line 5439: The name 'WriteLiteralTo' does not exist in the current context
Line 5441: The name 'WriteLiteralTo' does not exist in the current context
Line 5443: The name 'WriteAttributeTo' does not exist in the current context
Line 5453: The name 'WriteLiteralTo' does not exist in the current context
Line 5455: The name 'WriteAttributeTo' does not exist in the current context
Line 5465: The name 'WriteLiteralTo' does not exist in the current context
Line 5467: The name 'WriteLiteralTo' does not exist in the current context
Line 5471: The name 'WriteTo' does not exist in the current context
Line 5476: The name 'WriteLiteralTo' does not exist in the current context
Line 5478: The name 'WriteLiteralTo' does not exist in the current context
Line 5480: The name 'WriteLiteralTo' does not exist in the current context
Line 5482: The name 'WriteLiteralTo' does not exist in the current context
Line 5486: The name 'WriteTo' does not exist in the current context
Line 5491: The name 'WriteLiteralTo' does not exist in the current context
Line 5493: The name 'WriteLiteralTo' does not exist in the current context
Line 5495: The name 'WriteLiteralTo' does not exist in the current context
Line 5497: The name 'WriteAttributeTo' does not exist in the current context
Line 5507: The name 'WriteAttributeTo' does not exist in the current context
Line 5517: The name 'WriteLiteralTo' does not exist in the current context
Line 5519: The name 'WriteLiteralTo' does not exist in the current context
Line 5523: The name 'WriteTo' does not exist in the current context
Line 5523: The name 'Translate' does not exist in the current context
Line 5528: The name 'WriteLiteralTo' does not exist in the current context
Line 5531: The name 'WriteLiteralTo' does not exist in the current context
Line 5533: The name 'WriteLiteralTo' does not exist in the current context
Line 5535: The name 'WriteLiteralTo' does not exist in the current context
Line 5537: The name 'WriteLiteralTo' does not exist in the current context
Line 5553: The name 'WriteLiteralTo' does not exist in the current context
Line 5555: The name 'WriteLiteralTo' does not exist in the current context
Line 5557: The name 'WriteLiteralTo' does not exist in the current context
Line 5559: The name 'WriteLiteralTo' does not exist in the current context
Line 5561: The name 'WriteAttributeTo' does not exist in the current context
Line 5571: The name 'WriteLiteralTo' does not exist in the current context
Line 5575: The name 'WriteTo' does not exist in the current context
Line 5575: The name 'Translate' does not exist in the current context
Line 5580: The name 'WriteLiteralTo' does not exist in the current context
Line 5589: The name 'WriteLiteralTo' does not exist in the current context
Line 5591: The name 'WriteLiteralTo' does not exist in the current context
Line 5593: The name 'WriteLiteralTo' does not exist in the current context
Line 5595: The name 'WriteLiteralTo' does not exist in the current context
Line 5597: The name 'WriteLiteralTo' does not exist in the current context
Line 5599: The name 'WriteLiteralTo' does not exist in the current context
Line 5601: The name 'WriteLiteralTo' does not exist in the current context
Line 5603: The name 'WriteLiteralTo' does not exist in the current context
Line 5607: The name 'WriteTo' does not exist in the current context
Line 5607: The name 'RenderProductPrice' does not exist in the current context
Line 5612: The name 'WriteLiteralTo' does not exist in the current context
Line 5614: The name 'WriteLiteralTo' does not exist in the current context
Line 5618: The name 'WriteTo' does not exist in the current context
Line 5618: The name 'RenderProductPriceUnit' does not exist in the current context
Line 5623: The name 'WriteLiteralTo' does not exist in the current context
Line 5626: The name 'WriteLiteralTo' does not exist in the current context
Line 5628: The name 'WriteLiteralTo' does not exist in the current context
Line 5630: The name 'WriteLiteralTo' does not exist in the current context
Line 5632: The name 'WriteLiteralTo' does not exist in the current context
Line 5634: The name 'WriteLiteralTo' does not exist in the current context
Line 5636: The name 'WriteLiteralTo' does not exist in the current context
Line 5640: The name 'WriteTo' does not exist in the current context
Line 5640: The name 'RenderProductListAddToCart' does not exist in the current context
Line 5645: The name 'WriteLiteralTo' does not exist in the current context
Line 5647: The name 'WriteLiteralTo' does not exist in the current context
Line 1641: 'User.IsExtranetUserLoggedIn()' is obsolete: 'Use IsFrontendUserLoggedIn() instead.'
Line 5683: The name 'WriteLiteralTo' does not exist in the current context
Line 5685: The name 'WriteAttributeTo' does not exist in the current context
Line 5695: The name 'WriteLiteralTo' does not exist in the current context
Line 5697: The name 'WriteLiteralTo' does not exist in the current context
Line 5699: The name 'WriteLiteralTo' does not exist in the current context
Line 5701: The name 'WriteAttributeTo' does not exist in the current context
Line 5711: The name 'WriteLiteralTo' does not exist in the current context
Line 5713: The name 'WriteAttributeTo' does not exist in the current context
Line 5723: The name 'WriteAttributeTo' does not exist in the current context
Line 5733: The name 'WriteLiteralTo' does not exist in the current context
Line 5735: The name 'WriteLiteralTo' does not exist in the current context
Line 5737: The name 'WriteLiteralTo' does not exist in the current context
Line 5739: The name 'WriteLiteralTo' does not exist in the current context
Line 5741: The name 'WriteAttributeTo' does not exist in the current context
Line 5751: The name 'WriteLiteralTo' does not exist in the current context
Line 5753: The name 'WriteLiteralTo' does not exist in the current context
Line 5757: The name 'WriteTo' does not exist in the current context
Line 5762: The name 'WriteLiteralTo' does not exist in the current context
Line 5791: The name 'WriteLiteralTo' does not exist in the current context
Line 5802: The name 'GetValue' does not exist in the current context
Line 5803: The name 'GetValue' does not exist in the current context
Line 5808: The name 'WriteLiteralTo' does not exist in the current context
Line 5824: The name 'WriteLiteralTo' does not exist in the current context
Line 5828: The name 'WriteTo' does not exist in the current context
Line 5833: The name 'WriteLiteralTo' does not exist in the current context
Line 5837: The name 'WriteTo' does not exist in the current context
Line 5837: The name 'Translate' does not exist in the current context
Line 5842: The name 'WriteLiteralTo' does not exist in the current context
Line 5846: The name 'WriteTo' does not exist in the current context
Line 5851: The name 'WriteLiteralTo' does not exist in the current context
Line 5855: The name 'WriteTo' does not exist in the current context
Line 5855: The name 'Translate' does not exist in the current context
Line 5860: The name 'WriteLiteralTo' does not exist in the current context
Line 5871: The name 'WriteLiteralTo' does not exist in the current context
Line 5875: The name 'WriteTo' does not exist in the current context
Line 5880: The name 'WriteLiteralTo' does not exist in the current context
Line 5884: The name 'WriteTo' does not exist in the current context
Line 5884: The name 'Translate' does not exist in the current context
Line 5889: The name 'WriteLiteralTo' does not exist in the current context
Line 5893: The name 'WriteTo' does not exist in the current context
Line 5898: The name 'WriteLiteralTo' does not exist in the current context
Line 5902: The name 'WriteTo' does not exist in the current context
Line 5902: The name 'Translate' does not exist in the current context
Line 5907: The name 'WriteLiteralTo' does not exist in the current context
Line 5916: The name 'WriteLiteralTo' does not exist in the current context
Line 5936: The name 'GetString' does not exist in the current context
Line 5941: The name 'GetInteger' does not exist in the current context
Line 5946: The name 'GetDouble' does not exist in the current context
Line 5951: The name 'GetBoolean' does not exist in the current context
Line 5967: The name 'Pageview' does not exist in the current context
Line 5968: The name 'getBooleanByKey' does not exist in the current context
Line 5971: The name 'getStringByKey' does not exist in the current context
Line 5972: The name 'getBooleanByKey' does not exist in the current context
Line 5973: The name 'getStringByKey' does not exist in the current context
Line 5974: The name 'getDoubleByKey' does not exist in the current context
Line 5975: The name 'getStringByKey' does not exist in the current context
Line 5976: The name 'getDoubleByKey' does not exist in the current context
Line 5976: The name 'getIntegerByKey' does not exist in the current context
Line 5985: The name 'WriteLiteralTo' does not exist in the current context
Line 5987: The name 'WriteLiteralTo' does not exist in the current context
Line 5989: The name 'WriteLiteralTo' does not exist in the current context
Line 5991: The name 'WriteLiteralTo' does not exist in the current context
Line 5993: The name 'WriteLiteralTo' does not exist in the current context
Line 5995: The name 'WriteLiteralTo' does not exist in the current context
Line 5997: The name 'WriteLiteralTo' does not exist in the current context
Line 5999: The name 'WriteLiteralTo' does not exist in the current context
Line 6003: The name 'WriteTo' does not exist in the current context
Line 6008: The name 'WriteLiteralTo' does not exist in the current context
Line 6024: The name 'WriteLiteralTo' does not exist in the current context
Line 6026: The name 'WriteLiteralTo' does not exist in the current context
Line 6028: The name 'WriteLiteralTo' does not exist in the current context
Line 6032: The name 'WriteTo' does not exist in the current context
Line 6037: The name 'WriteLiteralTo' does not exist in the current context
Line 6046: The name 'WriteLiteralTo' does not exist in the current context
Line 6048: The name 'WriteLiteralTo' does not exist in the current context
Line 6050: The name 'WriteLiteralTo' does not exist in the current context
Line 6052: The name 'WriteLiteralTo' does not exist in the current context
Line 6056: The name 'WriteTo' does not exist in the current context
Line 6061: The name 'WriteLiteralTo' does not exist in the current context
Line 6063: The name 'WriteLiteralTo' does not exist in the current context
Line 6065: The name 'WriteLiteralTo' does not exist in the current context
Line 6067: The name 'WriteLiteralTo' does not exist in the current context
Line 6071: The name 'WriteTo' does not exist in the current context
Line 6076: The name 'WriteLiteralTo' does not exist in the current context
Line 6078: The name 'WriteLiteralTo' does not exist in the current context
Line 6080: The name 'WriteAttributeTo' does not exist in the current context
Line 6090: The name 'WriteLiteralTo' does not exist in the current context
Line 6101: The name 'WriteLiteralTo' does not exist in the current context
Line 6103: The name 'WriteLiteralTo' does not exist in the current context
Line 6105: The name 'WriteLiteralTo' does not exist in the current context
Line 6107: The name 'WriteLiteralTo' does not exist in the current context
Line 6109: The name 'WriteLiteralTo' does not exist in the current context
Line 6113: The name 'WriteTo' does not exist in the current context
Line 6118: The name 'WriteLiteralTo' does not exist in the current context
Line 6134: The name 'WriteLiteralTo' does not exist in the current context
Line 6136: The name 'WriteLiteralTo' does not exist in the current context
Line 6138: The name 'WriteLiteralTo' does not exist in the current context
Line 6142: The name 'WriteTo' does not exist in the current context
Line 6147: The name 'WriteLiteralTo' does not exist in the current context
Line 6156: The name 'WriteLiteralTo' does not exist in the current context
Line 6183: The name 'Pageview' does not exist in the current context
Line 6184: The name 'getBooleanByKey' does not exist in the current context
Line 6191: The name 'WriteLiteralTo' does not exist in the current context
Line 6193: The name 'WriteLiteralTo' does not exist in the current context
Line 6195: The name 'WriteLiteralTo' does not exist in the current context
Line 6199: The name 'WriteTo' does not exist in the current context
Line 6199: The name 'Translate' does not exist in the current context
Line 6204: The name 'WriteLiteralTo' does not exist in the current context
Line 6230: The name 'Pageview' does not exist in the current context
Line 6232: The name 'getBooleanByKey' does not exist in the current context
Line 6233: The name 'getStringByKey' does not exist in the current context
Line 6233: The name 'getBooleanByKey' does not exist in the current context
Line 6241: The name 'WriteLiteralTo' does not exist in the current context
Line 6243: The name 'WriteLiteralTo' does not exist in the current context
Line 6245: The name 'WriteLiteralTo' does not exist in the current context
Line 6257: The name 'getDoubleByKey' does not exist in the current context
Line 6263: The name 'WriteLiteralTo' does not exist in the current context
Line 6265: The name 'WriteLiteralTo' does not exist in the current context
Line 6267: The name 'WriteLiteralTo' does not exist in the current context
Line 6271: The name 'WriteTo' does not exist in the current context
Line 6271: The name 'Translate' does not exist in the current context
Line 6276: The name 'WriteLiteralTo' does not exist in the current context
Line 6280: The name 'WriteTo' does not exist in the current context
Line 6285: The name 'WriteLiteralTo' does not exist in the current context
Line 6294: The name 'WriteLiteralTo' does not exist in the current context
Line 6304: The name 'WriteLiteralTo' does not exist in the current context
Line 6306: The name 'WriteAttributeTo' does not exist in the current context
Line 6318: The name 'WriteLiteralTo' does not exist in the current context
Line 6322: The name 'WriteTo' does not exist in the current context
Line 6327: The name 'WriteLiteralTo' does not exist in the current context
Line 6336: The name 'WriteLiteralTo' does not exist in the current context
Line 1777: 'User.IsExtranetUserLoggedIn()' is obsolete: 'Use IsFrontendUserLoggedIn() instead.'
Line 6384: The name 'WriteLiteralTo' does not exist in the current context
Line 6386: The name 'WriteLiteralTo' does not exist in the current context
Line 6388: The name 'WriteLiteralTo' does not exist in the current context
Line 6390: The name 'WriteLiteralTo' does not exist in the current context
Line 6392: The name 'WriteLiteralTo' does not exist in the current context
Line 6394: The name 'WriteLiteralTo' does not exist in the current context
Line 6396: The name 'WriteLiteralTo' does not exist in the current context
Line 6398: The name 'WriteLiteralTo' does not exist in the current context
Line 6400: The name 'WriteLiteralTo' does not exist in the current context
Line 6404: The name 'WriteTo' does not exist in the current context
Line 6404: The name 'Translate' does not exist in the current context
Line 6409: The name 'WriteLiteralTo' does not exist in the current context
Line 6411: The name 'WriteAttributeTo' does not exist in the current context
Line 6421: The name 'WriteLiteralTo' does not exist in the current context
Line 6425: The name 'WriteTo' does not exist in the current context
Line 6430: The name 'WriteLiteralTo' does not exist in the current context
Line 6432: The name 'WriteAttributeTo' does not exist in the current context
Line 6442: The name 'WriteLiteralTo' does not exist in the current context
Line 6446: The name 'WriteTo' does not exist in the current context
Line 6446: The name 'Translate' does not exist in the current context
Line 6451: The name 'WriteLiteralTo' does not exist in the current context
Line 6453: The name 'WriteAttributeTo' does not exist in the current context
Line 6463: The name 'WriteLiteralTo' does not exist in the current context
Line 6467: The name 'WriteTo' does not exist in the current context
Line 6472: The name 'WriteLiteralTo' does not exist in the current context
Line 6474: The name 'WriteAttributeTo' does not exist in the current context
Line 6484: The name 'WriteLiteralTo' does not exist in the current context
Line 6488: The name 'WriteTo' does not exist in the current context
Line 6488: The name 'Translate' does not exist in the current context
Line 6493: The name 'WriteLiteralTo' does not exist in the current context
Line 6495: The name 'WriteAttributeTo' does not exist in the current context
Line 6505: The name 'WriteLiteralTo' does not exist in the current context
Line 6509: The name 'WriteTo' does not exist in the current context
Line 6514: The name 'WriteLiteralTo' does not exist in the current context
Line 6516: The name 'WriteAttributeTo' does not exist in the current context
Line 6526: The name 'WriteLiteralTo' does not exist in the current context
Line 6530: The name 'WriteTo' does not exist in the current context
Line 6530: The name 'Translate' does not exist in the current context
Line 6535: The name 'WriteLiteralTo' does not exist in the current context
Line 6537: The name 'WriteAttributeTo' does not exist in the current context
Line 6547: The name 'WriteLiteralTo' does not exist in the current context
Line 6551: The name 'WriteTo' does not exist in the current context
Line 6556: The name 'WriteLiteralTo' does not exist in the current context
Line 6558: The name 'WriteAttributeTo' does not exist in the current context
Line 6568: The name 'WriteLiteralTo' does not exist in the current context
Line 6572: The name 'WriteTo' does not exist in the current context
Line 6572: The name 'Translate' does not exist in the current context
Line 6577: The name 'WriteLiteralTo' does not exist in the current context
Line 6579: The name 'WriteAttributeTo' does not exist in the current context
Line 6589: The name 'WriteLiteralTo' does not exist in the current context
Line 6593: The name 'WriteTo' does not exist in the current context
Line 6598: The name 'WriteLiteralTo' does not exist in the current context
Line 6600: The name 'WriteAttributeTo' does not exist in the current context
Line 6610: The name 'WriteLiteralTo' does not exist in the current context
Line 6614: The name 'WriteTo' does not exist in the current context
Line 6614: The name 'Translate' does not exist in the current context
Line 6619: The name 'WriteLiteralTo' does not exist in the current context
Line 6644: The name 'Pageview' does not exist in the current context
Line 6650: The name 'getDoubleByKey' does not exist in the current context
Line 6651: The name 'getStringByKey' does not exist in the current context
Line 6652: The name 'getStringByKey' does not exist in the current context
Line 6661: The name 'WriteLiteralTo' does not exist in the current context
Line 6663: The name 'WriteLiteralTo' does not exist in the current context
Line 6665: The name 'WriteLiteralTo' does not exist in the current context
Line 6669: The name 'WriteTo' does not exist in the current context
Line 6669: The name 'Translate' does not exist in the current context
Line 6674: The name 'WriteLiteralTo' does not exist in the current context
Line 6684: The name 'WriteLiteralTo' does not exist in the current context
Line 6686: The name 'WriteLiteralTo' does not exist in the current context
Line 6688: The name 'WriteLiteralTo' does not exist in the current context
Line 6692: The name 'WriteTo' does not exist in the current context
Line 6697: The name 'WriteLiteralTo' does not exist in the current context
Line 6708: The name 'WriteLiteralTo' does not exist in the current context
Line 6710: The name 'WriteLiteralTo' does not exist in the current context
Line 6712: The name 'WriteLiteralTo' does not exist in the current context
Line 6728: The name 'WriteLiteralTo' does not exist in the current context
Line 6730: The name 'WriteAttributeTo' does not exist in the current context
Line 6740: The name 'WriteAttributeTo' does not exist in the current context
Line 6750: The name 'WriteLiteralTo' does not exist in the current context
Line 6759: The name 'WriteLiteralTo' does not exist in the current context
Line 6763: The name 'WriteTo' does not exist in the current context
Line 6768: The name 'WriteLiteralTo' does not exist in the current context
Line 6782: The name 'WriteLiteralTo' does not exist in the current context
Line 6786: The name 'WriteTo' does not exist in the current context
Line 6786: The name 'Translate' does not exist in the current context
Line 6791: The name 'WriteLiteralTo' does not exist in the current context
Line 6795: The name 'WriteTo' does not exist in the current context
Line 6800: The name 'WriteLiteralTo' does not exist in the current context
Line 6815: The name 'WriteLiteralTo' does not exist in the current context
Line 6817: The name 'WriteAttributeTo' does not exist in the current context
Line 6827: The name 'WriteAttributeTo' does not exist in the current context
Line 6837: The name 'WriteLiteralTo' does not exist in the current context
Line 6839: The name 'WriteLiteralTo' does not exist in the current context
Line 6843: The name 'WriteTo' does not exist in the current context
Line 6848: The name 'WriteLiteralTo' does not exist in the current context
Line 6859: The name 'WriteLiteralTo' does not exist in the current context
Line 6863: The name 'WriteTo' does not exist in the current context
Line 6863: The name 'Translate' does not exist in the current context
Line 6868: The name 'WriteLiteralTo' does not exist in the current context
Line 6872: The name 'WriteTo' does not exist in the current context
Line 6877: The name 'WriteLiteralTo' does not exist in the current context
Line 6889: The name 'WriteLiteralTo' does not exist in the current context
Line 6893: The name 'WriteTo' does not exist in the current context
Line 6893: The name 'Translate' does not exist in the current context
Line 6898: The name 'WriteLiteralTo' does not exist in the current context
Line 6932: The name 'WriteLiteralTo' does not exist in the current context
Line 6934: The name 'WriteAttributeTo' does not exist in the current context
Line 6947: The name 'WriteAttributeTo' does not exist in the current context
Line 6958: The name 'WriteLiteralTo' does not exist in the current context
Line 6960: The name 'WriteLiteralTo' does not exist in the current context
Line 6962: The name 'WriteAttributeTo' does not exist in the current context
Line 6973: The name 'WriteLiteralTo' does not exist in the current context
Line 6975: The name 'WriteLiteralTo' does not exist in the current context
Line 6977: The name 'WriteLiteralTo' does not exist in the current context
Line 6979: The name 'WriteLiteralTo' does not exist in the current context
Line 6981: The name 'WriteLiteralTo' does not exist in the current context
Line 6983: The name 'WriteAttributeTo' does not exist in the current context
Line 6995: The name 'WriteLiteralTo' does not exist in the current context
Line 6997: The name 'WriteLiteralTo' does not exist in the current context
Line 6999: The name 'WriteLiteralTo' does not exist in the current context
Line 7001: The name 'WriteLiteralTo' does not exist in the current context
Line 7003: The name 'WriteLiteralTo' does not exist in the current context
Line 7005: The name 'WriteLiteralTo' does not exist in the current context
Line 7007: The name 'WriteLiteralTo' does not exist in the current context
Line 7009: The name 'WriteLiteralTo' does not exist in the current context
Line 7011: The name 'WriteLiteralTo' does not exist in the current context
Line 7013: The name 'WriteLiteralTo' does not exist in the current context
Line 7015: The name 'WriteLiteralTo' does not exist in the current context
Line 7017: The name 'WriteAttributeTo' does not exist in the current context
Line 7028: The name 'WriteLiteralTo' does not exist in the current context
Line 7046: The name 'WriteTo' does not exist in the current context
Line 7046: The name 'Translate' does not exist in the current context
Line 7063: The name 'WriteTo' does not exist in the current context
Line 7063: The name 'Translate' does not exist in the current context
Line 7076: The name 'WriteLiteralTo' does not exist in the current context
Line 7079: The name 'WriteLiteralTo' does not exist in the current context
Line 7081: The name 'WriteLiteralTo' does not exist in the current context
Line 7097: The name 'WriteLiteralTo' does not exist in the current context
Line 7099: The name 'WriteLiteralTo' does not exist in the current context
Line 7103: The name 'WriteTo' does not exist in the current context
Line 7103: The name 'Translate' does not exist in the current context
Line 7108: The name 'WriteLiteralTo' does not exist in the current context
Line 7110: The name 'WriteLiteralTo' does not exist in the current context
Line 7112: The name 'WriteLiteralTo' does not exist in the current context
Line 7114: The name 'WriteLiteralTo' does not exist in the current context
Line 7125: The name 'WriteLiteralTo' does not exist in the current context
Line 7127: The name 'WriteLiteralTo' does not exist in the current context
Line 7131: The name 'WriteTo' does not exist in the current context
Line 7131: The name 'Translate' does not exist in the current context
Line 7136: The name 'WriteLiteralTo' does not exist in the current context
Line 7138: The name 'WriteLiteralTo' does not exist in the current context
Line 7140: The name 'WriteLiteralTo' does not exist in the current context
Line 7142: The name 'WriteLiteralTo' does not exist in the current context
Line 7144: The name 'WriteLiteralTo' does not exist in the current context
Line 7146: The name 'WriteLiteralTo' does not exist in the current context
Line 7148: The name 'WriteLiteralTo' does not exist in the current context
Line 7150: The name 'WriteLiteralTo' does not exist in the current context
Line 7159: The name 'WriteLiteralTo' does not exist in the current context
Line 7161: The name 'WriteLiteralTo' does not exist in the current context
Line 7163: The name 'WriteLiteralTo' does not exist in the current context
Line 7165: The name 'WriteLiteralTo' does not exist in the current context
Line 7167: The name 'WriteLiteralTo' does not exist in the current context
Line 7169: The name 'WriteLiteralTo' does not exist in the current context
Line 7171: The name 'WriteLiteralTo' does not exist in the current context
Line 7175: The name 'WriteTo' does not exist in the current context
Line 7175: The name 'Translate' does not exist in the current context
Line 7180: The name 'WriteLiteralTo' does not exist in the current context
Line 4725: The name 'Files' does not exist in the current context
Line 4725: The name 'Images' does not exist in the current context
Line 4725: The name 'Products' does not exist in the current context
Line 4725: The name 'missing' does not exist in the current context
Line 4725: The name 'amp' does not exist in the current context
Line 4725: The name 'Compression' does not exist in the current context
Line 4725: The name 'amp' does not exist in the current context
Line 4725: The name 'width' does not exist in the current context
Line 4725: The name 'amp' does not exist in the current context
Line 4725: The name 'height' does not exist in the current context
Line 4725: The name 'quot' does not exist in the current context
Line 4733: The name '__razor_helper_writer' does not exist in the current context
Line 4735: The name '__razor_helper_writer' does not exist in the current context
Line 4738: The name 'productLink' does not exist in the current context
Line 4745: The name '__razor_helper_writer' does not exist in the current context
Line 4747: The name '__razor_helper_writer' does not exist in the current context
Line 4750: The name 'productNameForAttribute' does not exist in the current context
Line 4757: The name '__razor_helper_writer' does not exist in the current context
Line 4759: The name '__razor_helper_writer' does not exist in the current context
Line 4763: The name '__razor_helper_writer' does not exist in the current context
Line 4763: The name 'productNameForAttribute' does not exist in the current context
Line 4768: The name '__razor_helper_writer' does not exist in the current context
Line 4770: The name '__razor_helper_writer' does not exist in the current context
Line 4774: The name '__razor_helper_writer' does not exist in the current context
Line 4774: The name 'RenderProductPrice' does not exist in the current context
Line 4779: The name '__razor_helper_writer' does not exist in the current context
Line 4781: The name '__razor_helper_writer' does not exist in the current context
Line 4785: The name '__razor_helper_writer' does not exist in the current context
Line 4785: The name 'RenderProductPriceUnit' does not exist in the current context
Line 4790: The name '__razor_helper_writer' does not exist in the current context
Line 4792: The name '__razor_helper_writer' does not exist in the current context
Line 4796: The name '__razor_helper_writer' does not exist in the current context
Line 4796: The name 'RenderProductRibbon' does not exist in the current context
Line 4801: The name '__razor_helper_writer' does not exist in the current context
Line 4803: The name '__razor_helper_writer' does not exist in the current context
Line 4807: The name '__razor_helper_writer' does not exist in the current context
Line 4807: The name 'RenderProductListAddToCart' does not exist in the current context
Line 4812: The name '__razor_helper_writer' does not exist in the current context
Line 4729: Unreachable code detected
Line 7202: The name 'WriteLiteral' does not exist in the current context
Line 7204: The name 'WriteLiteral' does not exist in the current context
Line 7206: The name 'WriteLiteral' does not exist in the current context
Line 7208: The name 'WriteLiteral' does not exist in the current context
Line 7210: The name 'WriteLiteral' does not exist in the current context
Line 7212: The name 'WriteLiteral' does not exist in the current context
Line 7214: The name 'WriteLiteral' does not exist in the current context
Line 7216: The name 'WriteLiteral' does not exist in the current context
Line 7218: The name 'WriteLiteral' does not exist in the current context
Line 7220: The name 'WriteLiteral' does not exist in the current context
Line 7222: The name 'WriteLiteral' does not exist in the current context
Line 7234: The name 'Write' does not exist in the current context
Line 7234: The name 'SnippetStart' does not exist in the current context
Line 7243: The name 'Pageview' does not exist in the current context
Line 7243: The name 'Pageview' does not exist in the current context
Line 7248: The name 'WriteLiteral' does not exist in the current context
Line 7250: The name 'WriteLiteral' does not exist in the current context
Line 7252: The name 'WriteAttribute' does not exist in the current context
Line 7262: The name 'WriteLiteral' does not exist in the current context
Line 7269: The name 'GetString' does not exist in the current context
Line 7270: The name 'GetString' does not exist in the current context
Line 7271: The name 'GetString' does not exist in the current context
Line 7272: The name 'Pageview' does not exist in the current context
Line 7280: The name 'WriteLiteral' does not exist in the current context
Line 7282: The name 'WriteLiteral' does not exist in the current context
Line 7284: The name 'WriteAttribute' does not exist in the current context
Line 7294: The name 'WriteLiteral' does not exist in the current context
Line 7303: The name 'WriteLiteral' does not exist in the current context
Line 7305: The name 'WriteLiteral' does not exist in the current context
Line 7307: The name 'WriteLiteral' does not exist in the current context
Line 7309: The name 'WriteLiteral' does not exist in the current context
Line 7319: The name 'WriteLiteral' does not exist in the current context
Line 7321: The name 'WriteLiteral' does not exist in the current context
Line 7323: The name 'WriteAttribute' does not exist in the current context
Line 7333: The name 'WriteLiteral' does not exist in the current context
Line 7344: The name 'WriteLiteral' does not exist in the current context
Line 7346: The name 'WriteLiteral' does not exist in the current context
Line 7348: The name 'WriteAttribute' does not exist in the current context
Line 7358: The name 'WriteLiteral' does not exist in the current context
Line 7369: The name 'WriteLiteral' does not exist in the current context
Line 7371: The name 'WriteLiteral' does not exist in the current context
Line 7373: The name 'WriteAttribute' does not exist in the current context
Line 7383: The name 'WriteLiteral' does not exist in the current context
Line 7396: The name 'Write' does not exist in the current context
Line 7396: The name 'SnippetEnd' does not exist in the current context
Line 7408: The name 'WriteLiteral' does not exist in the current context
Line 7410: The name 'WriteLiteral' does not exist in the current context
Line 7412: The name 'WriteLiteral' does not exist in the current context
Line 7417: The name 'GetGlobalValue' does not exist in the current context
Line 7418: The name 'Pageview' does not exist in the current context
Line 7419: The name 'Pageview' does not exist in the current context
Line 7424: The name 'WriteLiteral' does not exist in the current context
Line 7426: The name 'WriteAttribute' does not exist in the current context
Line 7436: The name 'WriteLiteral' does not exist in the current context
Line 7447: The name 'GetString' does not exist in the current context
Line 7448: 'User.IsExtranetUserLoggedIn()' is obsolete: 'Use IsFrontendUserLoggedIn() instead.'
Line 7449: The name 'Pageview' does not exist in the current context
Line 7449: The name 'Pageview' does not exist in the current context
Line 7454: The name 'WriteLiteral' does not exist in the current context
Line 7456: The name 'WriteLiteral' does not exist in the current context
Line 7458: The name 'WriteLiteral' does not exist in the current context
Line 7460: The name 'WriteLiteral' does not exist in the current context
Line 7462: The name 'WriteLiteral' does not exist in the current context
Line 7464: The name 'WriteLiteral' does not exist in the current context
Line 7466: The name 'WriteLiteral' does not exist in the current context
Line 7468: The name 'WriteLiteral' does not exist in the current context
Line 7470: The name 'WriteLiteral' does not exist in the current context
Line 7474: The name 'Write' does not exist in the current context
Line 7474: The name 'GetValue' does not exist in the current context
Line 7479: The name 'WriteLiteral' does not exist in the current context
Line 7483: The name 'Write' does not exist in the current context
Line 7483: The name 'GetValue' does not exist in the current context
Line 7488: The name 'WriteLiteral' does not exist in the current context
Line 7492: The name 'Write' does not exist in the current context
Line 7492: The name 'GetValue' does not exist in the current context
Line 7497: The name 'WriteLiteral' does not exist in the current context
Line 7499: The name 'WriteLiteral' does not exist in the current context
Line 7503: The name 'Write' does not exist in the current context
Line 7503: The name 'RenderSnippet' does not exist in the current context
Line 7508: The name 'WriteLiteral' does not exist in the current context
Line 7510: The name 'WriteLiteral' does not exist in the current context
Line 7512: The name 'WriteAttribute' does not exist in the current context
Line 7522: The name 'WriteLiteral' does not exist in the current context
Line 7524: The name 'WriteLiteral' does not exist in the current context
Line 7526: The name 'WriteLiteral' does not exist in the current context
Line 7528: The name 'WriteLiteral' does not exist in the current context
Line 7530: The name 'WriteLiteral' does not exist in the current context
Line 7534: The name 'Write' does not exist in the current context
Line 7534: The name 'RenderHeaderHrefLang' does not exist in the current context
Line 7539: The name 'WriteLiteral' does not exist in the current context
Line 7550: The name 'Pageview' does not exist in the current context
Line 7557: The name 'WriteLiteral' does not exist in the current context
Line 7559: The name 'WriteLiteral' does not exist in the current context
Line 7568: The name 'Write' does not exist in the current context
Line 7573: The name 'WriteLiteral' does not exist in the current context
Line 7575: The name 'WriteLiteral' does not exist in the current context
Line 7584: The name 'WriteLiteral' does not exist in the current context
Line 7595: The name 'Pageview' does not exist in the current context
Line 7602: The name 'WriteLiteral' does not exist in the current context
Line 7604: The name 'WriteLiteral' does not exist in the current context
Line 7617: The name 'Write' does not exist in the current context
Line 7622: The name 'WriteLiteral' does not exist in the current context
Line 7624: The name 'WriteLiteral' does not exist in the current context
Line 7626: The name 'WriteLiteral' does not exist in the current context
Line 7628: The name 'WriteLiteral' does not exist in the current context
Line 7630: The name 'WriteAttribute' does not exist in the current context
Line 7642: The name 'WriteLiteral' does not exist in the current context
Line 7644: The name 'WriteLiteral' does not exist in the current context
Line 7653: The name 'WriteLiteral' does not exist in the current context
Line 7655: The name 'WriteLiteral' does not exist in the current context
Line 7659: The name 'Write' does not exist in the current context
Line 7659: The name 'RenderStandardInstantProductSearchTemplates' does not exist in the current context
Line 7664: The name 'WriteLiteral' does not exist in the current context
Line 7674: The name 'Pageview' does not exist in the current context
Line 7676: The name 'Pageview' does not exist in the current context
Line 7682: The name 'WriteLiteral' does not exist in the current context
Line 7684: The name 'WriteLiteral' does not exist in the current context
Line 7686: The name 'WriteAttribute' does not exist in the current context
Line 7696: The name 'WriteLiteral' does not exist in the current context
Line 7713: The name 'WriteLiteral' does not exist in the current context
Line 7715: The name 'WriteLiteral' does not exist in the current context
Line 7717: The name 'WriteLiteral' does not exist in the current context
Line 7719: The name 'WriteLiteral' does not exist in the current context
Line 7747: The name 'Write' does not exist in the current context
Line 7747: The name 'GetValue' does not exist in the current context
Line 7752: The name 'WriteLiteral' does not exist in the current context
Line 7756: The name 'Write' does not exist in the current context
Line 7756: The name 'GetValue' does not exist in the current context
Line 7761: The name 'WriteLiteral' does not exist in the current context
Line 7763: The name 'WriteLiteral' does not exist in the current context
Line 7765: The name 'WriteLiteral' does not exist in the current context
Line 7776: The name 'Pageview' does not exist in the current context
Line 7783: The name 'WriteLiteral' does not exist in the current context
Line 7785: The name 'WriteLiteral' does not exist in the current context
Line 7787: The name 'WriteAttribute' does not exist in the current context
Line 7798: The name 'WriteLiteral' does not exist in the current context
Line 7800: The name 'WriteLiteral' does not exist in the current context
Line 7802: The name 'WriteLiteral' does not exist in the current context
Line 7804: The name 'WriteLiteral' does not exist in the current context
Line 7806: The name 'WriteLiteral' does not exist in the current context
Line 7815: The name 'WriteLiteral' does not exist in the current context
Line 7817: The name 'WriteLiteral' does not exist in the current context
Line 7819: The name 'WriteLiteral' does not exist in the current context
Line 7821: The name 'WriteLiteral' does not exist in the current context
Line 7832: The name 'Pageview' does not exist in the current context
Line 7835: The name 'Pageview' does not exist in the current context
Line 7841: The name 'WriteLiteral' does not exist in the current context
Line 7843: The name 'WriteLiteral' does not exist in the current context
Line 7845: The name 'WriteLiteral' does not exist in the current context
Line 7847: The name 'WriteLiteral' does not exist in the current context
Line 7849: The name 'WriteLiteral' does not exist in the current context
Line 7851: The name 'WriteLiteral' does not exist in the current context
Line 7853: The name 'WriteLiteral' does not exist in the current context
Line 7855: The name 'WriteLiteral' does not exist in the current context
Line 7857: The name 'WriteLiteral' does not exist in the current context
Line 7859: The name 'WriteLiteral' does not exist in the current context
Line 7863: The name 'Write' does not exist in the current context
Line 7863: The name 'RenderUSP' does not exist in the current context
Line 7868: The name 'WriteLiteral' does not exist in the current context
Line 7870: The name 'WriteLiteral' does not exist in the current context
Line 7872: The name 'WriteLiteral' does not exist in the current context
Line 7882: The name 'Pageview' does not exist in the current context
Line 7890: The name 'Write' does not exist in the current context
Line 7890: The name 'Translate' does not exist in the current context
Line 7903: The name 'Write' does not exist in the current context
Line 7903: The name 'Pageview' does not exist in the current context
Line 7916: The name 'WriteLiteral' does not exist in the current context
Line 7918: The name 'WriteLiteral' does not exist in the current context
Line 7920: The name 'WriteLiteral' does not exist in the current context
Line 7922: The name 'WriteLiteral' does not exist in the current context
Line 7926: The name 'Write' does not exist in the current context
Line 7926: The name 'RenderLanguageDropdown' does not exist in the current context
Line 7931: The name 'WriteLiteral' does not exist in the current context
Line 7933: The name 'WriteLiteral' does not exist in the current context
Line 7935: The name 'WriteLiteral' does not exist in the current context
Line 7937: The name 'WriteLiteral' does not exist in the current context
Line 7941: The name 'Write' does not exist in the current context
Line 7941: The name 'RenderUserManagementDropdownButton' does not exist in the current context
Line 7946: The name 'WriteLiteral' does not exist in the current context
Line 7965: The name 'WriteLiteral' does not exist in the current context
Line 7967: The name 'WriteLiteral' does not exist in the current context
Line 7969: The name 'WriteLiteral' does not exist in the current context
Line 7971: The name 'WriteLiteral' does not exist in the current context
Line 7973: The name 'WriteLiteral' does not exist in the current context
Line 7975: The name 'WriteLiteral' does not exist in the current context
Line 7977: The name 'WriteLiteral' does not exist in the current context
Line 7979: The name 'WriteLiteral' does not exist in the current context
Line 7981: The name 'WriteLiteral' does not exist in the current context
Line 7991: The name 'Pageview' does not exist in the current context
Line 7993: The name 'GetInteger' does not exist in the current context
Line 7994: The name 'Pageview' does not exist in the current context
Line 7999: The name 'WriteLiteral' does not exist in the current context
Line 8001: The name 'WriteLiteral' does not exist in the current context
Line 8003: The name 'WriteLiteral' does not exist in the current context
Line 8005: The name 'WriteAttribute' does not exist in the current context
Line 8015: The name 'WriteAttribute' does not exist in the current context
Line 8018: The name 'GetString' does not exist in the current context
Line 8025: The name 'WriteLiteral' does not exist in the current context
Line 8027: The name 'WriteAttribute' does not exist in the current context
Line 8037: The name 'WriteLiteral' does not exist in the current context
Line 8039: The name 'WriteAttribute' does not exist in the current context
Line 8042: The name 'GetString' does not exist in the current context
Line 8049: The name 'WriteLiteral' does not exist in the current context
Line 8059: The name 'WriteLiteral' does not exist in the current context
Line 8061: The name 'WriteLiteral' does not exist in the current context
Line 8063: The name 'WriteLiteral' does not exist in the current context
Line 8079: The name 'WriteLiteral' does not exist in the current context
Line 8081: The name 'WriteLiteral' does not exist in the current context
Line 8083: The name 'WriteLiteral' does not exist in the current context
Line 8085: The name 'WriteLiteral' does not exist in the current context
Line 8087: The name 'WriteLiteral' does not exist in the current context
Line 8089: The name 'WriteLiteral' does not exist in the current context
Line 8091: The name 'WriteLiteral' does not exist in the current context
Line 8093: The name 'WriteLiteral' does not exist in the current context
Line 8095: The name 'WriteLiteral' does not exist in the current context
Line 8097: The name 'WriteLiteral' does not exist in the current context
Line 8099: The name 'WriteLiteral' does not exist in the current context
Line 8103: The name 'Write' does not exist in the current context
Line 8103: The name 'RenderUserManagementDropdownButton' does not exist in the current context
Line 8108: The name 'WriteLiteral' does not exist in the current context
Line 8113: The name 'Pageview' does not exist in the current context
Line 8120: The name 'WriteLiteral' does not exist in the current context
Line 8122: The name 'WriteLiteral' does not exist in the current context
Line 8124: The name 'WriteLiteral' does not exist in the current context
Line 8126: The name 'WriteAttribute' does not exist in the current context
Line 8129: The name 'Pageview' does not exist in the current context
Line 8136: The name 'WriteLiteral' does not exist in the current context
Line 8138: The name 'WriteLiteral' does not exist in the current context
Line 8140: The name 'WriteLiteral' does not exist in the current context
Line 8142: The name 'WriteLiteral' does not exist in the current context
Line 8153: The name 'WriteLiteral' does not exist in the current context
Line 8155: The name 'WriteLiteral' does not exist in the current context
Line 8157: The name 'WriteLiteral' does not exist in the current context
Line 8159: The name 'WriteLiteral' does not exist in the current context
Line 8161: The name 'WriteLiteral' does not exist in the current context
Line 8163: The name 'WriteLiteral' does not exist in the current context
Line 8165: The name 'WriteLiteral' does not exist in the current context
Line 8167: The name 'WriteLiteral' does not exist in the current context
Line 8169: The name 'WriteLiteral' does not exist in the current context
Line 8171: The name 'WriteLiteral' does not exist in the current context
Line 8183: The name 'WriteLiteral' does not exist in the current context
Line 8185: The name 'WriteLiteral' does not exist in the current context
Line 8187: The name 'WriteLiteral' does not exist in the current context
Line 8191: The name 'Write' does not exist in the current context
Line 8191: The name 'Translate' does not exist in the current context
Line 8196: The name 'WriteLiteral' does not exist in the current context
Line 8205: The name 'WriteLiteral' does not exist in the current context
Line 8217: The name 'WriteLiteral' does not exist in the current context
Line 8219: The name 'WriteLiteral' does not exist in the current context
Line 8221: The name 'WriteLiteral' does not exist in the current context
Line 8223: The name 'WriteLiteral' does not exist in the current context
Line 8227: The name 'Write' does not exist in the current context
Line 8227: The name 'RenderUserManagementDropdown' does not exist in the current context
Line 8232: The name 'WriteLiteral' does not exist in the current context
Line 8244: The name 'WriteLiteral' does not exist in the current context
Line 8246: The name 'WriteLiteral' does not exist in the current context
Line 8248: The name 'WriteLiteral' does not exist in the current context
Line 8250: The name 'WriteLiteral' does not exist in the current context
Line 8252: The name 'WriteLiteral' does not exist in the current context
Line 8254: The name 'WriteLiteral' does not exist in the current context
Line 8256: The name 'WriteLiteral' does not exist in the current context
Line 8258: The name 'WriteLiteral' does not exist in the current context
Line 8260: The name 'WriteLiteral' does not exist in the current context
Line 8270: The name 'Pageview' does not exist in the current context
Line 8272: The name 'GetInteger' does not exist in the current context
Line 8273: The name 'Pageview' does not exist in the current context
Line 8278: The name 'WriteLiteral' does not exist in the current context
Line 8280: The name 'WriteLiteral' does not exist in the current context
Line 8282: The name 'WriteLiteral' does not exist in the current context
Line 8284: The name 'WriteAttribute' does not exist in the current context
Line 8294: The name 'WriteAttribute' does not exist in the current context
Line 8297: The name 'GetString' does not exist in the current context
Line 8304: The name 'WriteLiteral' does not exist in the current context
Line 8306: The name 'WriteAttribute' does not exist in the current context
Line 8316: The name 'WriteLiteral' does not exist in the current context
Line 8318: The name 'WriteAttribute' does not exist in the current context
Line 8321: The name 'GetString' does not exist in the current context
Line 8328: The name 'WriteLiteral' does not exist in the current context
Line 8338: The name 'WriteLiteral' does not exist in the current context
Line 8340: The name 'WriteLiteral' does not exist in the current context
Line 8342: The name 'WriteLiteral' does not exist in the current context
Line 8344: The name 'WriteLiteral' does not exist in the current context
Line 8348: The name 'Write' does not exist in the current context
Line 8348: The name 'RenderInstantProductSearchForm' does not exist in the current context
Line 8353: The name 'WriteLiteral' does not exist in the current context
Line 8355: The name 'WriteLiteral' does not exist in the current context
Line 8357: The name 'WriteLiteral' does not exist in the current context
Line 8359: The name 'WriteLiteral' does not exist in the current context
Line 8363: The name 'Write' does not exist in the current context
Line 8363: The name 'RenderCartMiniIcon' does not exist in the current context
Line 8368: The name 'WriteLiteral' does not exist in the current context
Line 8370: The name 'WriteLiteral' does not exist in the current context
Line 8372: The name 'WriteLiteral' does not exist in the current context
Line 8374: The name 'WriteLiteral' does not exist in the current context
Line 8378: The name 'Write' does not exist in the current context
Line 8378: The name 'RenderSocialMediaList' does not exist in the current context
Line 8383: The name 'WriteLiteral' does not exist in the current context
Line 8395: The name 'WriteLiteral' does not exist in the current context
Line 8397: The name 'WriteLiteral' does not exist in the current context
Line 8399: The name 'WriteLiteral' does not exist in the current context
Line 8401: The name 'WriteLiteral' does not exist in the current context
Line 8403: The name 'WriteLiteral' does not exist in the current context
Line 8405: The name 'WriteLiteral' does not exist in the current context
Line 8407: The name 'WriteLiteral' does not exist in the current context
Line 8409: The name 'WriteLiteral' does not exist in the current context
Line 8411: The name 'WriteLiteral' does not exist in the current context
Line 8427: The name 'WriteLiteral' does not exist in the current context
Line 8429: The name 'WriteLiteral' does not exist in the current context
Line 8431: The name 'WriteLiteral' does not exist in the current context
Line 8435: The name 'Write' does not exist in the current context
Line 8435: The name 'Translate' does not exist in the current context
Line 8440: The name 'WriteLiteral' does not exist in the current context
Line 8449: The name 'WriteLiteral' does not exist in the current context
Line 8451: The name 'WriteLiteral' does not exist in the current context
Line 8453: The name 'WriteLiteral' does not exist in the current context
Line 8463: The name 'Pageview' does not exist in the current context
Line 8465: The name 'GetInteger' does not exist in the current context
Line 8466: The name 'Pageview' does not exist in the current context
Line 8471: The name 'WriteLiteral' does not exist in the current context
Line 8473: The name 'WriteLiteral' does not exist in the current context
Line 8475: The name 'WriteLiteral' does not exist in the current context
Line 8477: The name 'WriteAttribute' does not exist in the current context
Line 8487: The name 'WriteAttribute' does not exist in the current context
Line 8490: The name 'GetString' does not exist in the current context
Line 8497: The name 'WriteLiteral' does not exist in the current context
Line 8499: The name 'WriteAttribute' does not exist in the current context
Line 8509: The name 'WriteLiteral' does not exist in the current context
Line 8511: The name 'WriteAttribute' does not exist in the current context
Line 8514: The name 'GetString' does not exist in the current context
Line 8521: The name 'WriteLiteral' does not exist in the current context
Line 8531: The name 'WriteLiteral' does not exist in the current context
Line 8533: The name 'WriteLiteral' does not exist in the current context
Line 8535: The name 'WriteLiteral' does not exist in the current context
Line 8537: The name 'WriteLiteral' does not exist in the current context
Line 8541: The name 'Write' does not exist in the current context
Line 8541: The name 'Translate' does not exist in the current context
Line 8546: The name 'WriteLiteral' does not exist in the current context
Line 8550: The name 'Write' does not exist in the current context
Line 8550: The name 'Pageview' does not exist in the current context
Line 8555: The name 'WriteLiteral' does not exist in the current context
Line 8564: The name 'Pageview' does not exist in the current context
Line 8570: The name 'WriteLiteral' does not exist in the current context
Line 8572: The name 'WriteLiteral' does not exist in the current context
Line 8574: The name 'WriteLiteral' does not exist in the current context
Line 8576: The name 'WriteLiteral' does not exist in the current context
Line 8578: The name 'WriteLiteral' does not exist in the current context
Line 8580: The name 'WriteLiteral' does not exist in the current context
Line 8582: The name 'WriteLiteral' does not exist in the current context
Line 8586: The name 'Write' does not exist in the current context
Line 8586: The name 'RenderNavigationMega' does not exist in the current context
Line 8591: The name 'WriteLiteral' does not exist in the current context
Line 8593: The name 'WriteLiteral' does not exist in the current context
Line 8595: The name 'WriteAttribute' does not exist in the current context
Line 8607: The name 'WriteLiteral' does not exist in the current context
Line 8609: The name 'WriteLiteral' does not exist in the current context
Line 8611: The name 'WriteLiteral' does not exist in the current context
Line 8613: The name 'WriteLiteral' does not exist in the current context
Line 8617: The name 'Write' does not exist in the current context
Line 8617: The name 'RenderNavigationSlideRight' does not exist in the current context
Line 8622: The name 'WriteLiteral' does not exist in the current context
Line 8624: The name 'WriteLiteral' does not exist in the current context
Line 8626: The name 'WriteLiteral' does not exist in the current context
Line 8628: The name 'WriteLiteral' does not exist in the current context
Line 8632: The name 'Write' does not exist in the current context
Line 8632: The name 'RenderLanguageList' does not exist in the current context
Line 8637: The name 'WriteLiteral' does not exist in the current context
Line 8649: The name 'WriteLiteral' does not exist in the current context
Line 8651: The name 'WriteLiteral' does not exist in the current context
Line 8653: The name 'WriteLiteral' does not exist in the current context
Line 8655: The name 'WriteLiteral' does not exist in the current context
Line 8657: The name 'WriteLiteral' does not exist in the current context
Line 8659: The name 'WriteLiteral' does not exist in the current context
Line 8661: The name 'WriteLiteral' does not exist in the current context
Line 8663: The name 'WriteLiteral' does not exist in the current context
Line 8665: The name 'WriteLiteral' does not exist in the current context
Line 8675: The name 'Pageview' does not exist in the current context
Line 8677: The name 'GetInteger' does not exist in the current context
Line 8678: The name 'Pageview' does not exist in the current context
Line 8684: The name 'WriteLiteral' does not exist in the current context
Line 8686: The name 'WriteLiteral' does not exist in the current context
Line 8688: The name 'WriteLiteral' does not exist in the current context
Line 8690: The name 'WriteAttribute' does not exist in the current context
Line 8700: The name 'WriteAttribute' does not exist in the current context
Line 8703: The name 'GetString' does not exist in the current context
Line 8710: The name 'WriteLiteral' does not exist in the current context
Line 8712: The name 'WriteAttribute' does not exist in the current context
Line 8722: The name 'WriteLiteral' does not exist in the current context
Line 8724: The name 'WriteAttribute' does not exist in the current context
Line 8727: The name 'GetString' does not exist in the current context
Line 8734: The name 'WriteLiteral' does not exist in the current context
Line 8744: The name 'WriteLiteral' does not exist in the current context
Line 8746: The name 'WriteLiteral' does not exist in the current context
Line 8748: The name 'WriteLiteral' does not exist in the current context
Line 8750: The name 'WriteLiteral' does not exist in the current context
Line 8752: The name 'WriteLiteral' does not exist in the current context
Line 8754: The name 'WriteLiteral' does not exist in the current context
Line 8756: The name 'WriteLiteral' does not exist in the current context
Line 8758: The name 'WriteLiteral' does not exist in the current context
Line 8760: The name 'WriteLiteral' does not exist in the current context
Line 8763: The name 'WriteLiteral' does not exist in the current context
Line 8765: The name 'WriteLiteral' does not exist in the current context
Line 8767: The name 'WriteLiteral' does not exist in the current context
Line 8769: The name 'WriteLiteral' does not exist in the current context
Line 8771: The name 'WriteLiteral' does not exist in the current context
Line 8773: The name 'WriteLiteral' does not exist in the current context
Line 8775: The name 'WriteLiteral' does not exist in the current context
Line 8777: The name 'WriteLiteral' does not exist in the current context
Line 8779: The name 'WriteLiteral' does not exist in the current context
Line 8790: The name 'WriteLiteral' does not exist in the current context
Line 8792: The name 'WriteLiteral' does not exist in the current context
Line 8794: The name 'WriteLiteral' does not exist in the current context
Line 8796: The name 'WriteLiteral' does not exist in the current context
Line 8798: The name 'WriteLiteral' does not exist in the current context
Line 8800: The name 'WriteLiteral' does not exist in the current context
Line 8802: The name 'WriteLiteral' does not exist in the current context
Line 8804: The name 'WriteLiteral' does not exist in the current context
Line 8806: The name 'WriteLiteral' does not exist in the current context
Line 8816: The name 'Pageview' does not exist in the current context
Line 8818: The name 'GetInteger' does not exist in the current context
Line 8819: The name 'Pageview' does not exist in the current context
Line 8825: The name 'WriteLiteral' does not exist in the current context
Line 8827: The name 'WriteLiteral' does not exist in the current context
Line 8829: The name 'WriteLiteral' does not exist in the current context
Line 8831: The name 'WriteAttribute' does not exist in the current context
Line 8841: The name 'WriteAttribute' does not exist in the current context
Line 8844: The name 'GetString' does not exist in the current context
Line 8851: The name 'WriteLiteral' does not exist in the current context
Line 8853: The name 'WriteAttribute' does not exist in the current context
Line 8863: The name 'WriteLiteral' does not exist in the current context
Line 8865: The name 'WriteAttribute' does not exist in the current context
Line 8868: The name 'GetString' does not exist in the current context
Line 8875: The name 'WriteLiteral' does not exist in the current context
Line 8885: The name 'WriteLiteral' does not exist in the current context
Line 8887: The name 'WriteLiteral' does not exist in the current context
Line 8889: The name 'WriteLiteral' does not exist in the current context
Line 8891: The name 'WriteLiteral' does not exist in the current context
Line 8893: The name 'WriteAttribute' does not exist in the current context
Line 8896: The name 'Pageview' does not exist in the current context
Line 8903: The name 'WriteLiteral' does not exist in the current context
Line 8905: The name 'WriteLiteral' does not exist in the current context
Line 8907: The name 'WriteLiteral' does not exist in the current context
Line 8909: The name 'WriteLiteral' does not exist in the current context
Line 8911: The name 'WriteLiteral' does not exist in the current context
Line 8913: The name 'WriteLiteral' does not exist in the current context
Line 8915: The name 'WriteLiteral' does not exist in the current context
Line 8917: The name 'WriteAttribute' does not exist in the current context
Line 8927: The name 'WriteAttribute' does not exist in the current context
Line 8930: The name 'Translate' does not exist in the current context
Line 8937: The name 'WriteLiteral' does not exist in the current context
Line 8939: The name 'WriteLiteral' does not exist in the current context
Line 8941: The name 'WriteLiteral' does not exist in the current context
Line 8943: The name 'WriteLiteral' does not exist in the current context
Line 8945: The name 'WriteLiteral' does not exist in the current context
Line 8947: The name 'WriteLiteral' does not exist in the current context
Line 8949: The name 'WriteLiteral' does not exist in the current context
Line 8953: The name 'WriteLiteral' does not exist in the current context
Line 8955: The name 'WriteLiteral' does not exist in the current context
Line 8957: The name 'WriteLiteral' does not exist in the current context
Line 8961: The name 'Write' does not exist in the current context
Line 8961: The name 'RenderLanguageDropdown' does not exist in the current context
Line 8961: The name 'GetString' does not exist in the current context
Line 8966: The name 'WriteLiteral' does not exist in the current context
Line 8972: The name 'Pageview' does not exist in the current context
Line 8978: The name 'WriteLiteral' does not exist in the current context
Line 8980: The name 'WriteLiteral' does not exist in the current context
Line 8982: The name 'WriteLiteral' does not exist in the current context
Line 8984: The name 'WriteLiteral' does not exist in the current context
Line 8986: The name 'WriteLiteral' does not exist in the current context
Line 8988: The name 'WriteLiteral' does not exist in the current context
Line 8992: The name 'Write' does not exist in the current context
Line 8992: The name 'RenderNavigationMega' does not exist in the current context
Line 8997: The name 'WriteLiteral' does not exist in the current context
Line 8999: The name 'WriteLiteral' does not exist in the current context
Line 9001: The name 'WriteAttribute' does not exist in the current context
Line 9013: The name 'WriteLiteral' does not exist in the current context
Line 9015: The name 'WriteLiteral' does not exist in the current context
Line 9017: The name 'WriteLiteral' does not exist in the current context
Line 9019: The name 'WriteLiteral' does not exist in the current context
Line 9023: The name 'Write' does not exist in the current context
Line 9023: The name 'RenderNavigationSlideRight' does not exist in the current context
Line 9028: The name 'WriteLiteral' does not exist in the current context
Line 9030: The name 'WriteLiteral' does not exist in the current context
Line 9032: The name 'WriteLiteral' does not exist in the current context
Line 9034: The name 'WriteLiteral' does not exist in the current context
Line 9038: The name 'Write' does not exist in the current context
Line 9038: The name 'RenderLanguageList' does not exist in the current context
Line 9043: The name 'WriteLiteral' does not exist in the current context
Line 9052: The name 'WriteLiteral' does not exist in the current context
Line 9054: The name 'WriteLiteral' does not exist in the current context
Line 9056: The name 'WriteLiteral' does not exist in the current context
Line 9058: The name 'WriteLiteral' does not exist in the current context
Line 9060: The name 'WriteLiteral' does not exist in the current context
Line 9062: The name 'WriteLiteral' does not exist in the current context
Line 9064: The name 'WriteLiteral' does not exist in the current context
Line 9066: The name 'WriteLiteral' does not exist in the current context
Line 9074: The name 'WriteLiteral' does not exist in the current context
Line 9076: The name 'WriteLiteral' does not exist in the current context
Line 9078: The name 'WriteLiteral' does not exist in the current context
Line 9080: The name 'WriteLiteral' does not exist in the current context
Line 9082: The name 'WriteLiteral' does not exist in the current context
Line 9084: The name 'WriteLiteral' does not exist in the current context
Line 9086: The name 'WriteLiteral' does not exist in the current context
Line 9088: The name 'WriteLiteral' does not exist in the current context
Line 9090: The name 'WriteLiteral' does not exist in the current context
Line 9092: The name 'WriteLiteral' does not exist in the current context
Line 9094: The name 'WriteLiteral' does not exist in the current context
Line 9096: The name 'WriteLiteral' does not exist in the current context
Line 9098: The name 'WriteLiteral' does not exist in the current context
Line 9100: The name 'WriteLiteral' does not exist in the current context
Line 9102: The name 'WriteLiteral' does not exist in the current context
Line 9104: The name 'WriteLiteral' does not exist in the current context
Line 9106: The name 'WriteLiteral' does not exist in the current context
Line 9108: The name 'WriteLiteral' does not exist in the current context
Line 9110: The name 'WriteLiteral' does not exist in the current context
Line 9114: The name 'Write' does not exist in the current context
Line 9114: The name 'Pageview' does not exist in the current context
Line 9119: The name 'WriteLiteral' does not exist in the current context
Line 9121: The name 'WriteLiteral' does not exist in the current context
Line 9123: The name 'WriteLiteral' does not exist in the current context
Line 9127: The name 'Write' does not exist in the current context
Line 9127: The name 'RenderBreadcrumbs' does not exist in the current context
Line 9132: The name 'WriteLiteral' does not exist in the current context
Line 9134: The name 'WriteLiteral' does not exist in the current context
Line 9136: The name 'WriteLiteral' does not exist in the current context
Line 9138: The name 'WriteLiteral' does not exist in the current context
Line 9140: The name 'WriteLiteral' does not exist in the current context
Line 9142: The name 'WriteLiteral' does not exist in the current context
Line 9146: The name 'Write' does not exist in the current context
Line 9146: The name 'GetValue' does not exist in the current context
Line 9151: The name 'WriteLiteral' does not exist in the current context
Line 9155: The name 'Write' does not exist in the current context
Line 9155: The name 'RenderProductStockCheckModal' does not exist in the current context
Line 9155: The name 'Pageview' does not exist in the current context
Line 9160: The name 'WriteLiteral' does not exist in the current context
Line 9171: The name 'GetInteger' does not exist in the current context
Line 9178: The name 'WriteLiteral' does not exist in the current context
Line 9180: The name 'WriteLiteral' does not exist in the current context
Line 9182: The name 'WriteLiteral' does not exist in the current context
Line 9184: The name 'WriteLiteral' does not exist in the current context
Line 9186: The name 'WriteLiteral' does not exist in the current context
Line 9188: The name 'WriteLiteral' does not exist in the current context
Line 9190: The name 'WriteLiteral' does not exist in the current context
Line 9192: The name 'WriteLiteral' does not exist in the current context
Line 9194: The name 'WriteLiteral' does not exist in the current context
Line 9196: The name 'WriteLiteral' does not exist in the current context
Line 9198: The name 'WriteLiteral' does not exist in the current context
Line 9200: The name 'WriteLiteral' does not exist in the current context
Line 9202: The name 'WriteLiteral' does not exist in the current context
Line 9204: The name 'WriteLiteral' does not exist in the current context
Line 9208: The name 'Write' does not exist in the current context
Line 9208: The name 'Translate' does not exist in the current context
Line 9213: The name 'WriteLiteral' does not exist in the current context
Line 9222: The name 'WriteLiteral' does not exist in the current context
Line 9224: The name 'WriteLiteral' does not exist in the current context
Line 9226: The name 'WriteLiteral' does not exist in the current context
Line 9228: The name 'WriteLiteral' does not exist in the current context
Line 9230: The name 'WriteLiteral' does not exist in the current context
Line 9232: The name 'WriteLiteral' does not exist in the current context
Line 9234: The name 'WriteLiteral' does not exist in the current context
Line 9236: The name 'WriteLiteral' does not exist in the current context
Line 9238: The name 'WriteLiteral' does not exist in the current context
Line 9240: The name 'WriteLiteral' does not exist in the current context
Line 9242: The name 'WriteLiteral' does not exist in the current context
Line 9244: The name 'WriteLiteral' does not exist in the current context
Line 9248: The name 'Write' does not exist in the current context
Line 9248: The name 'Translate' does not exist in the current context
Line 9253: The name 'WriteLiteral' does not exist in the current context
Line 9255: The name 'WriteLiteral' does not exist in the current context
Line 9259: The name 'Write' does not exist in the current context
Line 9259: The name 'RenderParagraphContent' does not exist in the current context
Line 9264: The name 'WriteLiteral' does not exist in the current context
Line 9274: The name 'WriteLiteral' does not exist in the current context
Line 9276: The name 'WriteLiteral' does not exist in the current context
Line 9278: The name 'WriteLiteral' does not exist in the current context
Line 9289: The name 'Pageview' does not exist in the current context
Line 9296: The name 'WriteLiteral' does not exist in the current context
Line 9298: The name 'WriteLiteral' does not exist in the current context
Line 9300: The name 'WriteLiteral' does not exist in the current context
Line 9302: The name 'WriteLiteral' does not exist in the current context
Line 9304: The name 'WriteLiteral' does not exist in the current context
Line 9306: The name 'WriteLiteral' does not exist in the current context
Line 9308: The name 'WriteLiteral' does not exist in the current context
Line 9310: The name 'WriteLiteral' does not exist in the current context
Line 9312: The name 'WriteLiteral' does not exist in the current context
Line 9314: The name 'WriteLiteral' does not exist in the current context
Line 9318: The name 'Write' does not exist in the current context
Line 9318: The name 'RenderUSP' does not exist in the current context
Line 9323: The name 'WriteLiteral' does not exist in the current context
Line 9326: The name 'WriteLiteral' does not exist in the current context
Line 9328: The name 'WriteLiteral' does not exist in the current context
Line 9330: The name 'WriteLiteral' does not exist in the current context
Line 9332: The name 'WriteLiteral' does not exist in the current context
Line 9334: The name 'WriteLiteral' does not exist in the current context
Line 9336: The name 'WriteLiteral' does not exist in the current context
Line 9338: The name 'WriteLiteral' does not exist in the current context
Line 9340: The name 'WriteLiteral' does not exist in the current context
Line 9342: The name 'WriteLiteral' does not exist in the current context
Line 9344: The name 'WriteLiteral' does not exist in the current context
Line 9348: The name 'Write' does not exist in the current context
Line 9348: The name 'RenderFacebookPage' does not exist in the current context
Line 9353: The name 'WriteLiteral' does not exist in the current context
Line 9355: The name 'WriteLiteral' does not exist in the current context
Line 9357: The name 'WriteLiteral' does not exist in the current context
Line 9359: The name 'WriteLiteral' does not exist in the current context
Line 9361: The name 'WriteLiteral' does not exist in the current context
Line 9363: The name 'WriteLiteral' does not exist in the current context
Line 9367: The name 'Write' does not exist in the current context
Line 9367: The name 'RenderNavigationFooter' does not exist in the current context
Line 9372: The name 'WriteLiteral' does not exist in the current context
Line 9375: The name 'WriteLiteral' does not exist in the current context
Line 9377: The name 'WriteLiteral' does not exist in the current context
Line 9379: The name 'WriteLiteral' does not exist in the current context
Line 9381: The name 'WriteLiteral' does not exist in the current context
Line 9383: The name 'WriteLiteral' does not exist in the current context
Line 9387: The name 'Write' does not exist in the current context
Line 9387: The name 'Pageview' does not exist in the current context
Line 9392: The name 'WriteLiteral' does not exist in the current context
Line 9405: The name 'WriteLiteral' does not exist in the current context
Line 9407: The name 'WriteLiteral' does not exist in the current context
Line 9409: The name 'WriteLiteral' does not exist in the current context
Line 9411: The name 'WriteLiteral' does not exist in the current context
Line 9413: The name 'WriteLiteral' does not exist in the current context
Line 9415: The name 'WriteLiteral' does not exist in the current context
Line 9417: The name 'WriteLiteral' does not exist in the current context
Line 9419: The name 'WriteLiteral' does not exist in the current context
Line 9421: The name 'WriteLiteral' does not exist in the current context
Line 9423: The name 'WriteLiteral' does not exist in the current context
Line 9425: The name 'WriteLiteral' does not exist in the current context
Line 9427: The name 'WriteLiteral' does not exist in the current context
Line 9431: The name 'Write' does not exist in the current context
Line 9431: The name 'RenderNavigationFooter' does not exist in the current context
Line 9436: The name 'WriteLiteral' does not exist in the current context
Line 9447: The name 'WriteLiteral' does not exist in the current context
Line 9449: The name 'WriteLiteral' does not exist in the current context
Line 9451: The name 'WriteLiteral' does not exist in the current context
Line 9453: The name 'WriteLiteral' does not exist in the current context
Line 9455: The name 'WriteLiteral' does not exist in the current context
Line 9457: The name 'WriteLiteral' does not exist in the current context
Line 9459: The name 'WriteLiteral' does not exist in the current context
Line 9461: The name 'WriteLiteral' does not exist in the current context
Line 9463: The name 'WriteLiteral' does not exist in the current context
Line 9465: The name 'WriteLiteral' does not exist in the current context
Line 9467: The name 'WriteLiteral' does not exist in the current context
Line 9477: The name 'GetString' does not exist in the current context
Line 9482: The name 'WriteLiteral' does not exist in the current context
Line 9484: The name 'WriteLiteral' does not exist in the current context
Line 9486: The name 'WriteLiteral' does not exist in the current context
Line 9490: The name 'Write' does not exist in the current context
Line 9490: The name 'GetValue' does not exist in the current context
Line 9495: The name 'WriteLiteral' does not exist in the current context
Line 9504: The name 'WriteLiteral' does not exist in the current context
Line 9508: The name 'GetString' does not exist in the current context
Line 9513: The name 'WriteLiteral' does not exist in the current context
Line 9515: The name 'WriteLiteral' does not exist in the current context
Line 9517: The name 'WriteLiteral' does not exist in the current context
Line 9519: The name 'WriteLiteral' does not exist in the current context
Line 9523: The name 'Write' does not exist in the current context
Line 9523: The name 'GetValue' does not exist in the current context
Line 9528: The name 'WriteLiteral' does not exist in the current context
Line 9537: The name 'WriteLiteral' does not exist in the current context
Line 9541: The name 'GetString' does not exist in the current context
Line 9546: The name 'WriteLiteral' does not exist in the current context
Line 9548: The name 'WriteLiteral' does not exist in the current context
Line 9550: The name 'WriteLiteral' does not exist in the current context
Line 9552: The name 'WriteLiteral' does not exist in the current context
Line 9556: The name 'Write' does not exist in the current context
Line 9556: The name 'Translate' does not exist in the current context
Line 9561: The name 'WriteLiteral' does not exist in the current context
Line 9563: The name 'WriteAttribute' does not exist in the current context
Line 9567: The name 'GetValue' does not exist in the current context
Line 9574: The name 'WriteLiteral' does not exist in the current context
Line 9576: The name 'WriteLiteral' does not exist in the current context
Line 9580: The name 'Write' does not exist in the current context
Line 9580: The name 'GetValue' does not exist in the current context
Line 9585: The name 'WriteLiteral' does not exist in the current context
Line 9594: The name 'WriteLiteral' does not exist in the current context
Line 9598: The name 'GetString' does not exist in the current context
Line 9603: The name 'WriteLiteral' does not exist in the current context
Line 9605: The name 'WriteLiteral' does not exist in the current context
Line 9607: The name 'WriteLiteral' does not exist in the current context
Line 9609: The name 'WriteLiteral' does not exist in the current context
Line 9613: The name 'Write' does not exist in the current context
Line 9613: The name 'Translate' does not exist in the current context
Line 9618: The name 'WriteLiteral' does not exist in the current context
Line 9620: The name 'WriteAttribute' does not exist in the current context
Line 9624: The name 'GetValue' does not exist in the current context
Line 9631: The name 'WriteLiteral' does not exist in the current context
Line 9633: The name 'WriteLiteral' does not exist in the current context
Line 9637: The name 'Write' does not exist in the current context
Line 9637: The name 'GetValue' does not exist in the current context
Line 9642: The name 'WriteLiteral' does not exist in the current context
Line 9651: The name 'WriteLiteral' does not exist in the current context
Line 9655: The name 'GetString' does not exist in the current context
Line 9660: The name 'WriteLiteral' does not exist in the current context
Line 9662: The name 'WriteLiteral' does not exist in the current context
Line 9664: The name 'WriteLiteral' does not exist in the current context
Line 9666: The name 'WriteLiteral' does not exist in the current context
Line 9670: The name 'Write' does not exist in the current context
Line 9670: The name 'Translate' does not exist in the current context
Line 9675: The name 'WriteLiteral' does not exist in the current context
Line 9677: The name 'WriteLiteral' does not exist in the current context
Line 9681: The name 'Write' does not exist in the current context
Line 9681: The name 'GetValue' does not exist in the current context
Line 9686: The name 'WriteLiteral' does not exist in the current context
Line 9695: The name 'WriteLiteral' does not exist in the current context
Line 9698: The name 'WriteLiteral' does not exist in the current context
Line 9700: The name 'WriteLiteral' does not exist in the current context
Line 9702: The name 'WriteLiteral' does not exist in the current context
Line 9706: The name 'Write' does not exist in the current context
Line 9706: The name 'RenderSocialMediaList' does not exist in the current context
Line 9711: The name 'WriteLiteral' does not exist in the current context
Line 9714: The name 'WriteLiteral' does not exist in the current context
Line 9716: The name 'WriteLiteral' does not exist in the current context
Line 9720: The name 'Write' does not exist in the current context
Line 9720: The name 'RenderSnippet' does not exist in the current context
Line 9725: The name 'WriteLiteral' does not exist in the current context
Line 9727: The name 'WriteLiteral' does not exist in the current context
Line 9729: The name 'WriteLiteral' does not exist in the current context
Line 9731: The name 'WriteLiteral' does not exist in the current context
Line 9741: The name 'Pageview' does not exist in the current context
Line 9747: The name 'WriteLiteral' does not exist in the current context
Line 9749: The name 'WriteLiteral' does not exist in the current context
Line 9751: The name 'WriteAttribute' does not exist in the current context
Line 9754: Argument 1: cannot convert from 'System.ReadOnlySpan' to 'object'
Line 9762: The name 'WriteLiteral' does not exist in the current context
Line 9764: The name 'WriteLiteral' does not exist in the current context
Line 9766: The name 'WriteLiteral' does not exist in the current context
Line 9768: The name 'WriteAttribute' does not exist in the current context
Line 9771: Argument 1: cannot convert from 'System.ReadOnlySpan' to 'object'
Line 9779: The name 'WriteLiteral' does not exist in the current context
Line 9781: The name 'WriteLiteral' does not exist in the current context
Line 9783: The name 'WriteLiteral' does not exist in the current context
Line 9785: The name 'WriteAttribute' does not exist in the current context
Line 9788: Argument 1: cannot convert from 'System.ReadOnlySpan' to 'object'
Line 9796: The name 'WriteLiteral' does not exist in the current context
Line 9798: The name 'WriteLiteral' does not exist in the current context
Line 9800: The name 'WriteLiteral' does not exist in the current context
Line 9802: The name 'WriteAttribute' does not exist in the current context
Line 9805: Argument 1: cannot convert from 'System.ReadOnlySpan' to 'object'
Line 9813: The name 'WriteLiteral' does not exist in the current context
Line 9815: The name 'WriteLiteral' does not exist in the current context
Line 9817: The name 'WriteLiteral' does not exist in the current context
Line 9819: The name 'WriteAttribute' does not exist in the current context
Line 9822: Argument 1: cannot convert from 'System.ReadOnlySpan' to 'object'
Line 9830: The name 'WriteLiteral' does not exist in the current context
Line 9832: The name 'WriteLiteral' does not exist in the current context
Line 9834: The name 'WriteLiteral' does not exist in the current context
Line 9836: The name 'WriteAttribute' does not exist in the current context
Line 9839: Argument 1: cannot convert from 'System.ReadOnlySpan' to 'object'
Line 9847: The name 'WriteLiteral' does not exist in the current context
Line 9849: The name 'WriteLiteral' does not exist in the current context
Line 9851: The name 'WriteLiteral' does not exist in the current context
Line 9853: The name 'WriteAttribute' does not exist in the current context
Line 9856: Argument 1: cannot convert from 'System.ReadOnlySpan' to 'object'
Line 9864: The name 'WriteLiteral' does not exist in the current context
Line 9866: The name 'WriteLiteral' does not exist in the current context
Line 9868: The name 'WriteLiteral' does not exist in the current context
Line 9870: The name 'WriteAttribute' does not exist in the current context
Line 9873: Argument 1: cannot convert from 'System.ReadOnlySpan' to 'object'
Line 9881: The name 'WriteLiteral' does not exist in the current context
Line 9883: The name 'WriteLiteral' does not exist in the current context
Line 9885: The name 'WriteLiteral' does not exist in the current context
Line 9887: The name 'WriteAttribute' does not exist in the current context
Line 9890: Argument 1: cannot convert from 'System.ReadOnlySpan' to 'object'
Line 9898: The name 'WriteLiteral' does not exist in the current context
Line 9900: The name 'WriteLiteral' does not exist in the current context
Line 9902: The name 'WriteLiteral' does not exist in the current context
Line 9904: The name 'WriteAttribute' does not exist in the current context
Line 9907: Argument 1: cannot convert from 'System.ReadOnlySpan' to 'object'
Line 9915: The name 'WriteLiteral' does not exist in the current context
Line 9917: The name 'WriteLiteral' does not exist in the current context
Line 9919: The name 'WriteLiteral' does not exist in the current context
Line 9921: The name 'WriteAttribute' does not exist in the current context
Line 9924: Argument 1: cannot convert from 'System.ReadOnlySpan' to 'object'
Line 9932: The name 'WriteLiteral' does not exist in the current context
Line 9934: The name 'WriteLiteral' does not exist in the current context
Line 9936: The name 'WriteLiteral' does not exist in the current context
Line 9938: The name 'WriteAttribute' does not exist in the current context
Line 9941: Argument 1: cannot convert from 'System.ReadOnlySpan' to 'object'
Line 9949: The name 'WriteLiteral' does not exist in the current context
Line 9951: The name 'WriteLiteral' does not exist in the current context
Line 9953: The name 'WriteLiteral' does not exist in the current context
Line 9955: The name 'WriteAttribute' does not exist in the current context
Line 9958: Argument 1: cannot convert from 'System.ReadOnlySpan' to 'object'
Line 9966: The name 'WriteLiteral' does not exist in the current context
Line 9968: The name 'WriteLiteral' does not exist in the current context
Line 9970: The name 'WriteLiteral' does not exist in the current context
Line 9972: The name 'WriteAttribute' does not exist in the current context
Line 9975: Argument 1: cannot convert from 'System.ReadOnlySpan' to 'object'
Line 9983: The name 'WriteLiteral' does not exist in the current context
Line 9985: The name 'WriteLiteral' does not exist in the current context
Line 9987: The name 'WriteLiteral' does not exist in the current context
Line 9989: The name 'WriteAttribute' does not exist in the current context
Line 9992: Argument 1: cannot convert from 'System.ReadOnlySpan' to 'object'
Line 10000: The name 'WriteLiteral' does not exist in the current context
Line 10002: The name 'WriteLiteral' does not exist in the current context
Line 10004: The name 'WriteLiteral' does not exist in the current context
Line 10006: The name 'WriteAttribute' does not exist in the current context
Line 10009: Argument 1: cannot convert from 'System.ReadOnlySpan' to 'object'
Line 10024: The name 'WriteLiteral' does not exist in the current context
Line 10026: The name 'WriteLiteral' does not exist in the current context
Line 10028: The name 'WriteLiteral' does not exist in the current context
Line 10030: The name 'WriteAttribute' does not exist in the current context
Line 10033: Argument 1: cannot convert from 'System.ReadOnlySpan' to 'object'
Line 10048: The name 'WriteLiteral' does not exist in the current context
Line 10050: The name 'WriteLiteral' does not exist in the current context
Line 10052: The name 'WriteLiteral' does not exist in the current context
Line 10054: The name 'WriteAttribute' does not exist in the current context
Line 10057: Argument 1: cannot convert from 'System.ReadOnlySpan' to 'object'
Line 10072: The name 'WriteLiteral' does not exist in the current context
Line 10074: The name 'WriteLiteral' does not exist in the current context
Line 10076: The name 'WriteLiteral' does not exist in the current context
Line 10078: The name 'WriteAttribute' does not exist in the current context
Line 10081: Argument 1: cannot convert from 'System.ReadOnlySpan' to 'object'
Line 10096: The name 'WriteLiteral' does not exist in the current context
Line 10098: The name 'WriteLiteral' does not exist in the current context
Line 10100: The name 'WriteLiteral' does not exist in the current context
Line 10102: The name 'WriteAttribute' does not exist in the current context
Line 10105: Argument 1: cannot convert from 'System.ReadOnlySpan' to 'object'
Line 10120: The name 'WriteLiteral' does not exist in the current context
Line 10122: The name 'WriteLiteral' does not exist in the current context
Line 10124: The name 'WriteLiteral' does not exist in the current context
Line 10126: The name 'WriteAttribute' does not exist in the current context
Line 10129: Argument 1: cannot convert from 'System.ReadOnlySpan' to 'object'
Line 10144: The name 'WriteLiteral' does not exist in the current context
Line 10146: The name 'WriteLiteral' does not exist in the current context
Line 10148: The name 'WriteLiteral' does not exist in the current context
Line 10150: The name 'WriteAttribute' does not exist in the current context
Line 10153: Argument 1: cannot convert from 'System.ReadOnlySpan' to 'object'
Line 10168: The name 'WriteLiteral' does not exist in the current context
Line 10170: The name 'WriteLiteral' does not exist in the current context
Line 10172: The name 'WriteLiteral' does not exist in the current context
Line 10174: The name 'WriteAttribute' does not exist in the current context
Line 10177: Argument 1: cannot convert from 'System.ReadOnlySpan' to 'object'
Line 10192: The name 'WriteLiteral' does not exist in the current context
Line 10203: The name 'WriteLiteral' does not exist in the current context
Line 10205: The name 'WriteLiteral' does not exist in the current context
Line 10207: The name 'WriteAttribute' does not exist in the current context
Line 10210: Argument 1: cannot convert from 'System.ReadOnlySpan' to 'object'
Line 10225: The name 'WriteLiteral' does not exist in the current context
Line 10234: The name 'WriteLiteral' does not exist in the current context
Line 10236: The name 'WriteLiteral' does not exist in the current context
Line 10240: The name 'Write' does not exist in the current context
Line 10240: The name 'RenderSnippet' does not exist in the current context
Line 10245: The name 'WriteLiteral' does not exist in the current context
Line 10256: The name 'Pageview' does not exist in the current context
Line 10256: The name 'Pageview' does not exist in the current context
Line 10257: The name 'Pageview' does not exist in the current context
Line 10264: The name 'WriteLiteral' does not exist in the current context
Line 10266: The name 'WriteLiteral' does not exist in the current context
Line 10277: The name 'Write' does not exist in the current context
Line 10282: The name 'WriteLiteral' does not exist in the current context
Line 10284: The name 'WriteLiteral' does not exist in the current context
Line 10293: The name 'WriteLiteral' does not exist in the current context
Line 10304: The name 'Pageview' does not exist in the current context
Line 10304: The name 'Pageview' does not exist in the current context
Line 10305: The name 'Pageview' does not exist in the current context
Line 10314: The name 'Write' does not exist in the current context
Line 10327: The name 'WriteLiteral' 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 13 #line 1378 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 14 using System; 15 16 #line default 17 #line hidden 18 using System.Collections.Generic; 19 20 #line 1372 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 21 using System.Linq; 22 23 #line default 24 #line hidden 25 26 #line 1401 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 27 using System.Web; 28 29 #line default 30 #line hidden 31 32 #line 1402 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 33 using Dynamicweb; 34 35 #line default 36 #line hidden 37 38 #line 1404 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 39 using Dynamicweb.Core; 40 41 #line default 42 #line hidden 43 44 #line 247 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 45 using Dynamicweb.Frontend; 46 47 #line default 48 #line hidden 49 50 #line 248 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 51 using Dynamicweb.Security.UserManagement; 52 53 #line default 54 #line hidden 55 56 #line 1403 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 57 using Dynamicweb.Environment; 58 59 #line default 60 #line hidden 61 62 #line 1400 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 63 using System.ServiceModel.Security; 64 65 #line default 66 #line hidden 67 68 69 public class RazorEngine_4c9177598596458e9c6bc0b67e84c59b : Dynamicweb.Rendering.RazorTemplateBase<Dynamicweb.Rendering.RazorTemplateModel<Dynamicweb.Rendering.Template>> { 70 71 #line hidden 72 73 #line 13 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 74 public RazorEngine.Templating.TemplateWriter RenderCartMiniIcon(string mode) 75 { 76 #line default 77 #line hidden 78 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 79 80 #line 14 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 81 82 var enableCart = Converter.ToBoolean(Pageview.Area.Item["EnableCart"]); 83 if (enableCart) 84 { 85 86 87 #line default 88 #line hidden 89 WriteLiteralTo(__razor_helper_writer, " <div"); 90 91 WriteLiteralTo(__razor_helper_writer, " class=\"cart-mini js-cartmini-icon-container\""); 92 93 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 94 95 96 #line 19 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 97 98 99 #line default 100 #line hidden 101 102 #line 19 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 103 if (mode == "link") 104 { 105 var cartLink = Converter.ToString(Pageview.Area.Item["CartLink"]); 106 107 108 109 #line default 110 #line hidden 111 WriteLiteralTo(__razor_helper_writer, " <a"); 112 113 WriteAttributeTo(__razor_helper_writer, "href", Tuple.Create(" href=\"", 783), Tuple.Create("\"", 799) 114 115 #line 23 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 116 , Tuple.Create(Tuple.Create("", 790), Tuple.Create<System.Object, System.Int32>(cartLink 117 118 #line default 119 #line hidden 120 , 790), false) 121 ); 122 123 WriteLiteralTo(__razor_helper_writer, " class=\"cart-mini-link\""); 124 125 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 126 127 WriteLiteralTo(__razor_helper_writer, " class=\"cart-mini-icon js-cartmini-icon\""); 128 129 WriteLiteralTo(__razor_helper_writer, ">\r\n <i"); 130 131 WriteLiteralTo(__razor_helper_writer, " class=\"fa fa-shopping-cart\""); 132 133 WriteLiteralTo(__razor_helper_writer, " aria-hidden=\"true\""); 134 135 WriteLiteralTo(__razor_helper_writer, "></i>\r\n <span"); 136 137 WriteLiteralTo(__razor_helper_writer, " class=\"cart-quantity js-cartmini-total-icon-count\""); 138 139 WriteLiteralTo(__razor_helper_writer, ">"); 140 141 142 #line 26 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 143 WriteTo(__razor_helper_writer, GetInteger("Ecom:Order.OrderLines.TotalProductQuantity")); 144 145 146 #line default 147 #line hidden 148 WriteLiteralTo(__razor_helper_writer, "</span>\r\n </div>\r\n <div"); 149 150 WriteLiteralTo(__razor_helper_writer, " class=\"cart-mini-total\""); 151 152 WriteLiteralTo(__razor_helper_writer, ">\r\n <span"); 153 154 WriteLiteralTo(__razor_helper_writer, " class=\"js-cartmini-icon-total\""); 155 156 WriteLiteralTo(__razor_helper_writer, ">"); 157 158 159 #line 29 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 160 WriteTo(__razor_helper_writer, GetValue("Ecom:Order.Price.PriceFormatted")); 161 162 163 #line default 164 #line hidden 165 WriteLiteralTo(__razor_helper_writer, "</span>\r\n </div>\r\n </a>\r\n"); 166 167 WriteLiteralTo(__razor_helper_writer, " <input"); 168 169 WriteLiteralTo(__razor_helper_writer, " type=\"hidden\""); 170 171 WriteLiteralTo(__razor_helper_writer, " class=\"js-cartmini-total-count\""); 172 173 WriteAttributeTo(__razor_helper_writer, "value", Tuple.Create(" value=\'", 1431), Tuple.Create("\'", 1496) 174 175 #line 32 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 176 , Tuple.Create(Tuple.Create("", 1439), Tuple.Create<System.Object, System.Int32>(GetInteger("Ecom:Order.OrderLines.TotalProductQuantity") 177 178 #line default 179 #line hidden 180 , 1439), false) 181 ); 182 183 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 184 185 WriteLiteralTo(__razor_helper_writer, " <input"); 186 187 WriteLiteralTo(__razor_helper_writer, " type=\"hidden\""); 188 189 WriteLiteralTo(__razor_helper_writer, " class=\"js-cartmini-total-total\""); 190 191 WriteAttributeTo(__razor_helper_writer, "value", Tuple.Create(" value=\'", 1568), Tuple.Create("\'", 1620) 192 193 #line 33 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 194 , Tuple.Create(Tuple.Create("", 1576), Tuple.Create<System.Object, System.Int32>(GetValue("Ecom:Order.Price.PriceFormatted") 195 196 #line default 197 #line hidden 198 , 1576), false) 199 ); 200 201 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 202 203 204 #line 34 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 205 } 206 else 207 { 208 209 210 #line default 211 #line hidden 212 WriteLiteralTo(__razor_helper_writer, " <div"); 213 214 WriteLiteralTo(__razor_helper_writer, " class=\"cart-mini-icon js-cartmini-icon js-toggle\""); 215 216 WriteLiteralTo(__razor_helper_writer, " data-target=\".js-cartmini\""); 217 218 WriteLiteralTo(__razor_helper_writer, ">\r\n <i"); 219 220 WriteLiteralTo(__razor_helper_writer, " class=\"fa fa-shopping-cart\""); 221 222 WriteLiteralTo(__razor_helper_writer, " aria-hidden=\"true\""); 223 224 WriteLiteralTo(__razor_helper_writer, "></i>\r\n <span"); 225 226 WriteLiteralTo(__razor_helper_writer, " class=\"cart-quantity js-cartmini-total-icon-count\""); 227 228 WriteLiteralTo(__razor_helper_writer, ">"); 229 230 231 #line 39 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 232 WriteTo(__razor_helper_writer, GetInteger("Ecom:Order.OrderLines.TotalProductQuantity")); 233 234 235 #line default 236 #line hidden 237 WriteLiteralTo(__razor_helper_writer, "</span>\r\n </div>\r\n"); 238 239 WriteLiteralTo(__razor_helper_writer, " <div"); 240 241 WriteLiteralTo(__razor_helper_writer, " class=\"cart-mini-total\""); 242 243 WriteLiteralTo(__razor_helper_writer, ">\r\n <span"); 244 245 WriteLiteralTo(__razor_helper_writer, " class=\"js-cartmini-icon-total\""); 246 247 WriteLiteralTo(__razor_helper_writer, ">"); 248 249 250 #line 42 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 251 WriteTo(__razor_helper_writer, GetValue("Ecom:Order.Price.PriceFormatted")); 252 253 254 #line default 255 #line hidden 256 WriteLiteralTo(__razor_helper_writer, "</span>\r\n </div>\r\n"); 257 258 WriteLiteralTo(__razor_helper_writer, " <input"); 259 260 WriteLiteralTo(__razor_helper_writer, " type=\"hidden\""); 261 262 WriteLiteralTo(__razor_helper_writer, " class=\"js-cartmini-total-count\""); 263 264 WriteAttributeTo(__razor_helper_writer, "value", Tuple.Create(" value=\'", 2264), Tuple.Create("\'", 2329) 265 266 #line 44 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 267 , Tuple.Create(Tuple.Create("", 2272), Tuple.Create<System.Object, System.Int32>(GetInteger("Ecom:Order.OrderLines.TotalProductQuantity") 268 269 #line default 270 #line hidden 271 , 2272), false) 272 ); 273 274 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 275 276 WriteLiteralTo(__razor_helper_writer, " <input"); 277 278 WriteLiteralTo(__razor_helper_writer, " type=\"hidden\""); 279 280 WriteLiteralTo(__razor_helper_writer, " class=\"js-cartmini-total-total\""); 281 282 WriteAttributeTo(__razor_helper_writer, "value", Tuple.Create(" value=\'", 2401), Tuple.Create("\'", 2453) 283 284 #line 45 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 285 , Tuple.Create(Tuple.Create("", 2409), Tuple.Create<System.Object, System.Int32>(GetValue("Ecom:Order.Price.PriceFormatted") 286 287 #line default 288 #line hidden 289 , 2409), false) 290 ); 291 292 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 293 294 295 #line 46 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 296 } 297 298 299 #line default 300 #line hidden 301 WriteLiteralTo(__razor_helper_writer, " </div>\r\n"); 302 303 304 #line 48 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 305 } 306 307 308 #line default 309 #line hidden 310 }); 311 312 #line 49 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 313 } 314 #line default 315 #line hidden 316 317 318 #line 51 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 319 public RazorEngine.Templating.TemplateWriter RenderCartMini(string StockCheckMode = "ignore") 320 { 321 #line default 322 #line hidden 323 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 324 325 #line 52 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 326 327 var enableCart = Converter.ToBoolean(Pageview.Area.Item["EnableCart"]); 328 if (enableCart) 329 { 330 331 //website settings 332 var cartLink = Dynamicweb.Core.Converter.ToString(Pageview.Area.Item["CartLink"]); 333 int maxOrderlinesShown = Dynamicweb.Core.Converter.ToInt32(Pageview.Area.Item["CartMaxOrderlines"]); 334 335 var orderLines = GetLoop("OrderLines"); 336 337 338 339 #line default 340 #line hidden 341 WriteLiteralTo(__razor_helper_writer, " <div"); 342 343 WriteLiteralTo(__razor_helper_writer, " class=\"cartmini js-cartmini\""); 344 345 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 346 347 WriteLiteralTo(__razor_helper_writer, " class=\"cartmini-container js-cartmini-container\""); 348 349 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 350 351 WriteLiteralTo(__razor_helper_writer, " class=\"row\""); 352 353 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 354 355 WriteLiteralTo(__razor_helper_writer, " class=\"col-xs-24\""); 356 357 WriteLiteralTo(__razor_helper_writer, ">\r\n <a"); 358 359 WriteAttributeTo(__razor_helper_writer, "href", Tuple.Create(" href=\"", 3169), Tuple.Create("\"", 3185) 360 361 #line 67 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 362 , Tuple.Create(Tuple.Create("", 3176), Tuple.Create<System.Object, System.Int32>(cartLink 363 364 #line default 365 #line hidden 366 , 3176), false) 367 ); 368 369 WriteLiteralTo(__razor_helper_writer, " class=\"btn btn-block btn-primary\""); 370 371 WriteAttributeTo(__razor_helper_writer, "alt", Tuple.Create(" alt=\'", 3220), Tuple.Create("\'", 3300) 372 373 #line 67 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 374 , Tuple.Create(Tuple.Create("", 3226), Tuple.Create<System.Object, System.Int32>(Translate("Smartpage:CartMini.Orderline.Button.ToCheckout", "Til kassen") 375 376 #line default 377 #line hidden 378 , 3226), false) 379 ); 380 381 WriteLiteralTo(__razor_helper_writer, ">"); 382 383 384 #line 67 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 385 WriteTo(__razor_helper_writer, Translate("Smartpage:CartMini.Orderline.Button.ToCheckout", "Til kassen")); 386 387 388 #line default 389 #line hidden 390 WriteLiteralTo(__razor_helper_writer, "</a>\r\n </div>\r\n </div>\r\n"); 391 392 393 #line 70 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 394 395 396 #line default 397 #line hidden 398 399 #line 70 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 400 if (orderLines.Any()) 401 { 402 int numRows = 0; 403 404 405 406 #line default 407 #line hidden 408 WriteLiteralTo(__razor_helper_writer, " <ul"); 409 410 WriteLiteralTo(__razor_helper_writer, " class=\"cartmini-orderlines list-unstyled\""); 411 412 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 413 414 415 #line 75 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 416 417 418 #line default 419 #line hidden 420 421 #line 75 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 422 foreach (LoopItem i in orderLines.Where(x => x.GetInteger("Ecom:Order:OrderLine.Type") == 0).OrderByDescending(x => x.GetDate("Ecom:Order:OrderLine.Modified"))) 423 { 424 425 426 #line default 427 #line hidden 428 429 #line 77 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 430 431 432 numRows++; 433 string hiddenClass = (numRows > maxOrderlinesShown) ? "hidden-xs-up" : ""; 434 string productId = ""; 435 double quantity = 0; 436 double stock = 0; 437 //if (!string.IsNullOrWhiteSpace(StockCheckMode) && StockCheckMode != "ignore") 438 string productName = i.GetString("Ecom:Product.Name"); 439 string image1 = i.GetString("Ecom:Product.Image.1.Clean"); 440 string defaultImage = i.GetString("Ecom:Product.ImageLarge.Default.Clean"); 441 442 productId = @i.GetString("Ecom:Order:OrderLine.ProductID"); 443 quantity = @i.GetDouble("Ecom:Order:OrderLine.Quantity"); 444 stock = @i.GetDouble("Ecom:Product.AvailableAmount"); 445 446 447 448 #line default 449 #line hidden 450 WriteLiteralTo(__razor_helper_writer, "<li"); 451 452 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 4847), Tuple.Create("\"", 4899) 453 , Tuple.Create(Tuple.Create("", 4855), Tuple.Create("cartmini-orderline", 4855), true) 454 , Tuple.Create(Tuple.Create(" ", 4873), Tuple.Create("js-orderline", 4874), true) 455 456 #line 93 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 457 , Tuple.Create(Tuple.Create(" ", 4886), Tuple.Create<System.Object, System.Int32>(hiddenClass 458 459 #line default 460 #line hidden 461 , 4887), false) 462 ); 463 464 WriteLiteralTo(__razor_helper_writer, " data-productid=\""); 465 466 467 #line 93 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 468 WriteTo(__razor_helper_writer, productId); 469 470 471 #line default 472 #line hidden 473 WriteLiteralTo(__razor_helper_writer, "\""); 474 475 WriteLiteralTo(__razor_helper_writer, " data-quantity=\""); 476 477 478 #line 93 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 479 WriteTo(__razor_helper_writer, quantity); 480 481 482 #line default 483 #line hidden 484 WriteLiteralTo(__razor_helper_writer, "\""); 485 486 WriteLiteralTo(__razor_helper_writer, " data-stock=\""); 487 488 489 #line 93 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 490 WriteTo(__razor_helper_writer, stock); 491 492 493 #line default 494 #line hidden 495 WriteLiteralTo(__razor_helper_writer, "\""); 496 497 WriteLiteralTo(__razor_helper_writer, ">\r\n "); 498 499 WriteLiteralTo(__razor_helper_writer, "\r\n <div"); 500 501 WriteLiteralTo(__razor_helper_writer, " class=\"\""); 502 503 WriteLiteralTo(__razor_helper_writer, ">\r\n <a"); 504 505 WriteAttributeTo(__razor_helper_writer, "href", Tuple.Create(" href=\'", 5722), Tuple.Create("\'", 5837) 506 , Tuple.Create(Tuple.Create("", 5729), Tuple.Create("/Default.aspx?ID=", 5729), true) 507 508 #line 105 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 509 , Tuple.Create(Tuple.Create("", 5746), Tuple.Create<System.Object, System.Int32>(Pageview.Area.Item["CartShopLink"] 510 511 #line default 512 #line hidden 513 , 5746), false) 514 , Tuple.Create(Tuple.Create("", 5781), Tuple.Create("&ProductId=", 5781), true) 515 516 #line 105 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 517 , Tuple.Create(Tuple.Create("", 5792), Tuple.Create<System.Object, System.Int32>(i.GetValue("Ecom:Order:OrderLine.ProductID") 518 519 #line default 520 #line hidden 521 , 5792), false) 522 ); 523 524 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 525 526 WriteLiteralTo(__razor_helper_writer, " "); 527 528 529 #line 106 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 530 WriteTo(__razor_helper_writer, i.GetValue("Ecom:Order:OrderLine.ProductName")); 531 532 533 #line default 534 #line hidden 535 WriteLiteralTo(__razor_helper_writer, "\r\n </a>\r\n </div" + 536 ">\r\n <span"); 537 538 WriteLiteralTo(__razor_helper_writer, " class=\"text-xs-left\""); 539 540 WriteLiteralTo(__razor_helper_writer, ">"); 541 542 543 #line 109 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 544 WriteTo(__razor_helper_writer, quantity); 545 546 547 #line default 548 #line hidden 549 WriteLiteralTo(__razor_helper_writer, " "); 550 551 552 #line 109 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 553 WriteTo(__razor_helper_writer, Translate("Smartpage:CarMini.OrderLine.Pieces", "stk")); 554 555 556 #line default 557 #line hidden 558 WriteLiteralTo(__razor_helper_writer, "</span>\r\n <span"); 559 560 WriteLiteralTo(__razor_helper_writer, " class=\"text-xs-right cartmini-orderline-price\""); 561 562 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 563 564 WriteLiteralTo(__razor_helper_writer, " "); 565 566 567 #line 111 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 568 WriteTo(__razor_helper_writer, i.GetValue("Ecom:Order:OrderLine.UnitPrice")); 569 570 571 #line default 572 #line hidden 573 WriteLiteralTo(__razor_helper_writer, "\r\n"); 574 575 576 #line 112 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 577 578 579 #line default 580 #line hidden 581 582 #line 112 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 583 if (i.GetBoolean("Ecom:Order:OrderLine.IsProduct")) 584 { 585 string deleteLink = i.GetString("Ecom:Order:OrderLine.DeleteLink"); 586 587 588 #line default 589 #line hidden 590 WriteLiteralTo(__razor_helper_writer, " <span><a"); 591 592 WriteAttributeTo(__razor_helper_writer, "href", Tuple.Create(" href=\"", 6601), Tuple.Create("\"", 6619) 593 594 #line 115 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 595 , Tuple.Create(Tuple.Create("", 6608), Tuple.Create<System.Object, System.Int32>(deleteLink 596 597 #line default 598 #line hidden 599 , 6608), false) 600 ); 601 602 WriteAttributeTo(__razor_helper_writer, "title", Tuple.Create(" title=\'", 6620), Tuple.Create("\'", 6696) 603 604 #line 115 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 605 , Tuple.Create(Tuple.Create("", 6628), Tuple.Create<System.Object, System.Int32>(Translate("Smartpage:CartMini.Orderline.LinkTitle.Remove", "Fjern") 606 607 #line default 608 #line hidden 609 , 6628), false) 610 ); 611 612 WriteLiteralTo(__razor_helper_writer, ">"); 613 614 615 #line 115 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 616 WriteTo(__razor_helper_writer, Translate("Smartpage:Cart.CartMini.Orderline.LinkText.Remove", "x")); 617 618 619 #line default 620 #line hidden 621 WriteLiteralTo(__razor_helper_writer, "</a></span>\r\n"); 622 623 624 #line 116 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 625 } 626 627 628 #line default 629 #line hidden 630 WriteLiteralTo(__razor_helper_writer, " </span>\r\n </li>\r\n"); 631 632 633 #line 119 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 634 if (numRows == maxOrderlinesShown) 635 { 636 637 638 #line default 639 #line hidden 640 WriteLiteralTo(__razor_helper_writer, " <li>\r\n <div"); 641 642 WriteLiteralTo(__razor_helper_writer, " class=\"text-xs-center minicart-showall\""); 643 644 WriteLiteralTo(__razor_helper_writer, ">\r\n <a"); 645 646 WriteAttributeTo(__razor_helper_writer, "href", Tuple.Create(" href=\"", 7152), Tuple.Create("\"", 7168) 647 648 #line 123 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 649 , Tuple.Create(Tuple.Create("", 7159), Tuple.Create<System.Object, System.Int32>(cartLink 650 651 #line default 652 #line hidden 653 , 7159), false) 654 ); 655 656 WriteLiteralTo(__razor_helper_writer, ">"); 657 658 659 #line 123 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 660 WriteTo(__razor_helper_writer, Translate("Smartpage:CartMini.Orderline.ShowMore", "Vis alle produkter")); 661 662 663 #line default 664 #line hidden 665 WriteLiteralTo(__razor_helper_writer, "</a>\r\n </div>\r\n " + 666 " </li>\r\n"); 667 668 669 #line 126 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 670 } 671 } 672 673 674 #line default 675 #line hidden 676 WriteLiteralTo(__razor_helper_writer, " </ul>\r\n"); 677 678 WriteLiteralTo(__razor_helper_writer, " <div"); 679 680 WriteLiteralTo(__razor_helper_writer, " class=\"row cartmini-row-total\""); 681 682 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 683 684 WriteLiteralTo(__razor_helper_writer, " class=\"col-xs-12\""); 685 686 WriteLiteralTo(__razor_helper_writer, ">"); 687 688 689 #line 130 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 690 WriteTo(__razor_helper_writer, Translate("Smartpage:CartMini.Orderline.Total", "Total")); 691 692 693 #line default 694 #line hidden 695 WriteLiteralTo(__razor_helper_writer, ":</div>\r\n <div"); 696 697 WriteLiteralTo(__razor_helper_writer, " class=\"col-xs-12 text-xs-right\""); 698 699 WriteLiteralTo(__razor_helper_writer, ">"); 700 701 702 #line 131 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 703 WriteTo(__razor_helper_writer, GetValue("Ecom:Order.Price.PriceFormatted")); 704 705 706 #line default 707 #line hidden 708 WriteLiteralTo(__razor_helper_writer, "</div>\r\n </div>\r\n"); 709 710 WriteLiteralTo(__razor_helper_writer, " <div"); 711 712 WriteLiteralTo(__razor_helper_writer, " class=\"row\""); 713 714 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 715 716 WriteLiteralTo(__razor_helper_writer, " class=\"col-xs-24\""); 717 718 WriteLiteralTo(__razor_helper_writer, ">\r\n <a"); 719 720 WriteAttributeTo(__razor_helper_writer, "href", Tuple.Create(" href=\"", 7847), Tuple.Create("\"", 7863) 721 722 #line 135 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 723 , Tuple.Create(Tuple.Create("", 7854), Tuple.Create<System.Object, System.Int32>(cartLink 724 725 #line default 726 #line hidden 727 , 7854), false) 728 ); 729 730 WriteLiteralTo(__razor_helper_writer, " class=\"btn btn-block btn-primary\""); 731 732 WriteAttributeTo(__razor_helper_writer, "alt", Tuple.Create(" alt=\'", 7898), Tuple.Create("\'", 7978) 733 734 #line 135 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 735 , Tuple.Create(Tuple.Create("", 7904), Tuple.Create<System.Object, System.Int32>(Translate("Smartpage:CartMini.Orderline.Button.ToCheckout", "Til kassen") 736 737 #line default 738 #line hidden 739 , 7904), false) 740 ); 741 742 WriteLiteralTo(__razor_helper_writer, ">"); 743 744 745 #line 135 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 746 WriteTo(__razor_helper_writer, Translate("Smartpage:CartMini.Orderline.Button.ToCheckout", "Til kassen")); 747 748 749 #line default 750 #line hidden 751 WriteLiteralTo(__razor_helper_writer, "</a>\r\n </div>\r\n </div>\r\n"); 752 753 754 #line 138 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 755 756 757 #line default 758 #line hidden 759 760 #line 138 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 761 762 763 764 #line default 765 #line hidden 766 WriteLiteralTo(__razor_helper_writer, " <input"); 767 768 WriteLiteralTo(__razor_helper_writer, " type=\"hidden\""); 769 770 WriteLiteralTo(__razor_helper_writer, " class=\"js-cartmini-total-count\""); 771 772 WriteAttributeTo(__razor_helper_writer, "value", Tuple.Create(" value=\'", 8267), Tuple.Create("\'", 8332) 773 774 #line 139 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 775 , Tuple.Create(Tuple.Create("", 8275), Tuple.Create<System.Object, System.Int32>(GetInteger("Ecom:Order.OrderLines.TotalProductQuantity") 776 777 #line default 778 #line hidden 779 , 8275), false) 780 ); 781 782 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 783 784 WriteLiteralTo(__razor_helper_writer, " <input"); 785 786 WriteLiteralTo(__razor_helper_writer, " type=\"hidden\""); 787 788 WriteLiteralTo(__razor_helper_writer, " class=\"js-cartmini-total-total\""); 789 790 WriteAttributeTo(__razor_helper_writer, "value", Tuple.Create(" value=\'", 8408), Tuple.Create("\'", 8460) 791 792 #line 140 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 793 , Tuple.Create(Tuple.Create("", 8416), Tuple.Create<System.Object, System.Int32>(GetValue("Ecom:Order.Price.PriceFormatted") 794 795 #line default 796 #line hidden 797 , 8416), false) 798 ); 799 800 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 801 802 803 #line 141 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 804 } 805 else 806 { 807 808 809 #line default 810 #line hidden 811 WriteLiteralTo(__razor_helper_writer, " <div"); 812 813 WriteLiteralTo(__razor_helper_writer, " class=\"row\""); 814 815 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 816 817 WriteLiteralTo(__razor_helper_writer, " class=\"col-xs-24\""); 818 819 WriteLiteralTo(__razor_helper_writer, ">\r\n <i"); 820 821 WriteLiteralTo(__razor_helper_writer, " class=\"fa fa-cart-plus\""); 822 823 WriteLiteralTo(__razor_helper_writer, "></i> "); 824 825 826 #line 146 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 827 WriteTo(__razor_helper_writer, Translate("Smartpage:CartMini.CartEmpty", "Kurven er tom")); 828 829 830 #line default 831 #line hidden 832 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n </div>\r\n"); 833 834 835 #line 149 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 836 } 837 838 839 #line default 840 #line hidden 841 WriteLiteralTo(__razor_helper_writer, " </div>\r\n </div>\r\n"); 842 843 844 #line 152 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 845 } 846 847 848 #line default 849 #line hidden 850 }); 851 852 #line 153 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 853 } 854 #line default 855 #line hidden 856 857 858 #line 158 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 859 public RazorEngine.Templating.TemplateWriter RenderNavigationMega() 860 { 861 #line default 862 #line hidden 863 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 864 865 #line 159 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 866 867 868 869 #line default 870 #line hidden 871 WriteLiteralTo(__razor_helper_writer, " <nav"); 872 873 WriteLiteralTo(__razor_helper_writer, " class=\"yamm navbar\""); 874 875 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 876 877 WriteLiteralTo(__razor_helper_writer, " "); 878 879 880 #line 161 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 881 WriteTo(__razor_helper_writer, GetValue("DwNavigation(navigationmega)")); 882 883 884 #line default 885 #line hidden 886 WriteLiteralTo(__razor_helper_writer, "\r\n </nav>\r\n"); 887 888 889 #line 163 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 890 891 892 #line default 893 #line hidden 894 }); 895 896 #line 163 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 897 } 898 #line default 899 #line hidden 900 901 902 #line 167 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 903 public RazorEngine.Templating.TemplateWriter RenderNavigationSlideRight() 904 { 905 #line default 906 #line hidden 907 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 908 909 #line 168 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 910 911 string backText = Translate("Smartpage:Navigation.Mobile.Back", "Tilbage"); 912 913 914 #line default 915 #line hidden 916 WriteLiteralTo(__razor_helper_writer, " <nav"); 917 918 WriteLiteralTo(__razor_helper_writer, " class=\"nav js-nav-list\""); 919 920 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 921 922 WriteLiteralTo(__razor_helper_writer, " "); 923 924 925 #line 171 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 926 WriteTo(__razor_helper_writer, RenderNavigation(new { template = "NavigationSlideRight.xslt", expandmode = "all", translateBack = backText })); 927 928 929 #line default 930 #line hidden 931 WriteLiteralTo(__razor_helper_writer, "\r\n <!--<ul title=\"Navigation\" class=\"dwnavigation\" id=\"navigation-sliderig" + 932 "ht\" data-settings=\"template:NavigationSlideRight.xslt;expandmode:all\"></ul>-->\r\n" + 933 " </nav>\r\n"); 934 935 936 #line 174 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 937 938 939 #line default 940 #line hidden 941 }); 942 943 #line 174 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 944 } 945 #line default 946 #line hidden 947 948 949 #line 179 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 950 public RazorEngine.Templating.TemplateWriter RenderNavigationFooter() 951 { 952 #line default 953 #line hidden 954 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 955 956 #line 180 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 957 958 959 960 #line default 961 #line hidden 962 963 #line 181 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 964 WriteTo(__razor_helper_writer, GetValue("DwNavigation(navigationfooter)")); 965 966 967 #line default 968 #line hidden 969 970 #line 181 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 971 972 973 974 #line default 975 #line hidden 976 }); 977 978 #line 182 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 979 } 980 #line default 981 #line hidden 982 983 984 #line 188 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 985 public RazorEngine.Templating.TemplateWriter RenderSocialMediaList(string position) 986 { 987 #line default 988 #line hidden 989 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 990 991 #line 189 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 992 993 if (Converter.ToBoolean(Pageview.Area.Item["SocialMediaActive"])) 994 { 995 var socialMediaList = GetLoop("Item.Area.SocialMediaList"); 996 if (socialMediaList.Any()) 997 { 998 999 1000 #line default 1001 #line hidden 1002 WriteLiteralTo(__razor_helper_writer, " <div"); 1003 1004 WriteLiteralTo(__razor_helper_writer, " class=\"social-media-List\""); 1005 1006 WriteLiteralTo(__razor_helper_writer, ">\r\n <ul"); 1007 1008 WriteLiteralTo(__razor_helper_writer, " class=\"list-unstyled list-inline\""); 1009 1010 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 1011 1012 1013 #line 197 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 1014 1015 1016 #line default 1017 #line hidden 1018 1019 #line 197 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 1020 foreach (var i in socialMediaList) 1021 { 1022 var showInHeader = position == "header" && i.GetBoolean("Item.Area.SocialMediaList.ShowInHeader"); 1023 var showInFooter = position == "footer" && i.GetBoolean("Item.Area.SocialMediaList.ShowInFooter"); 1024 1025 if (showInHeader || showInFooter) 1026 { 1027 var showOnMobile = i.GetBoolean("Item.Area.SocialMediaList.ShowOnMobile") ? "" : "hidden-xs-down"; 1028 var itemClass = i.GetString("Item.Area.SocialMediaList.Class"); 1029 var titleText = i.GetString("Item.Area.SocialMediaList.Text"); 1030 1031 1032 var openLinkHere = i.GetBoolean("Item.Area.SocialMediaList.OpenLinkHere") ? "_self" : "_blank"; 1033 var link = i.GetValue("Item.Area.SocialMediaList.Link"); 1034 var iconImg = i.GetString("Item.Area.SocialMediaList.IconImg"); 1035 var icon = i.GetString("Item.Area.SocialMediaList.Icon"); 1036 1037 1038 1039 #line default 1040 #line hidden 1041 WriteLiteralTo(__razor_helper_writer, " <li"); 1042 1043 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 11734), Tuple.Create("\"", 11783) 1044 , Tuple.Create(Tuple.Create("", 11742), Tuple.Create("list-inline-item", 11742), true) 1045 1046 #line 214 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 1047 , Tuple.Create(Tuple.Create(" ", 11758), Tuple.Create<System.Object, System.Int32>(showOnMobile 1048 1049 #line default 1050 #line hidden 1051 , 11759), false) 1052 1053 #line 214 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 1054 , Tuple.Create(Tuple.Create(" ", 11772), Tuple.Create<System.Object, System.Int32>(itemClass 1055 1056 #line default 1057 #line hidden 1058 , 11773), false) 1059 ); 1060 1061 WriteLiteralTo(__razor_helper_writer, ">\r\n <a"); 1062 1063 WriteAttributeTo(__razor_helper_writer, "href", Tuple.Create(" href=\"", 11821), Tuple.Create("\"", 11833) 1064 1065 #line 215 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 1066 , Tuple.Create(Tuple.Create("", 11828), Tuple.Create<System.Object, System.Int32>(link 1067 1068 #line default 1069 #line hidden 1070 , 11828), false) 1071 ); 1072 1073 WriteAttributeTo(__razor_helper_writer, "title", Tuple.Create(" title=\"", 11834), Tuple.Create("\"", 11852) 1074 1075 #line 215 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 1076 , Tuple.Create(Tuple.Create("", 11842), Tuple.Create<System.Object, System.Int32>(titleText 1077 1078 #line default 1079 #line hidden 1080 , 11842), false) 1081 ); 1082 1083 WriteAttributeTo(__razor_helper_writer, "target", Tuple.Create(" target=\"", 11853), Tuple.Create("\"", 11875) 1084 1085 #line 215 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 1086 , Tuple.Create(Tuple.Create("", 11862), Tuple.Create<System.Object, System.Int32>(openLinkHere 1087 1088 #line default 1089 #line hidden 1090 , 11862), false) 1091 ); 1092 1093 WriteLiteralTo(__razor_helper_writer, " rel=\"noopener noreferrer\""); 1094 1095 WriteLiteralTo(__razor_helper_writer, ">\r\n\r\n"); 1096 1097 1098 #line 217 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 1099 1100 1101 #line default 1102 #line hidden 1103 1104 #line 217 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 1105 if (!string.IsNullOrEmpty(iconImg)) 1106 { 1107 1108 1109 #line default 1110 #line hidden 1111 WriteLiteralTo(__razor_helper_writer, " <img"); 1112 1113 WriteAttributeTo(__razor_helper_writer, "src", Tuple.Create(" src=\"", 12064), Tuple.Create("\"", 12078) 1114 1115 #line 219 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 1116 , Tuple.Create(Tuple.Create("", 12070), Tuple.Create<System.Object, System.Int32>(iconImg 1117 1118 #line default 1119 #line hidden 1120 , 12070), false) 1121 ); 1122 1123 WriteAttributeTo(__razor_helper_writer, "alt", Tuple.Create(" alt=\"", 12079), Tuple.Create("\"", 12095) 1124 1125 #line 219 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 1126 , Tuple.Create(Tuple.Create("", 12085), Tuple.Create<System.Object, System.Int32>(titleText 1127 1128 #line default 1129 #line hidden 1130 , 12085), false) 1131 ); 1132 1133 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 1134 1135 1136 #line 220 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 1137 } 1138 else if (!string.IsNullOrEmpty(icon)) 1139 { 1140 1141 1142 #line default 1143 #line hidden 1144 WriteLiteralTo(__razor_helper_writer, " <span"); 1145 1146 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 12297), Tuple.Create("\"", 12310) 1147 1148 #line 223 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 1149 , Tuple.Create(Tuple.Create("", 12305), Tuple.Create<System.Object, System.Int32>(icon 1150 1151 #line default 1152 #line hidden 1153 , 12305), false) 1154 ); 1155 1156 WriteLiteralTo(__razor_helper_writer, "></span>\r\n"); 1157 1158 1159 #line 224 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 1160 } 1161 else 1162 { 1163 1164 1165 #line default 1166 #line hidden 1167 WriteLiteralTo(__razor_helper_writer, " <span>"); 1168 1169 1170 #line 227 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 1171 WriteTo(__razor_helper_writer, i.GetString("Item.Area.SocialMediaList.Text")); 1172 1173 1174 #line default 1175 #line hidden 1176 WriteLiteralTo(__razor_helper_writer, "</span>\r\n"); 1177 1178 1179 #line 228 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 1180 } 1181 1182 1183 #line default 1184 #line hidden 1185 WriteLiteralTo(__razor_helper_writer, "\r\n </a>\r\n </li>\r\n"); 1186 1187 1188 #line 232 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 1189 } 1190 } 1191 1192 1193 #line default 1194 #line hidden 1195 WriteLiteralTo(__razor_helper_writer, "\t\t\t\t\t<li"); 1196 1197 WriteLiteralTo(__razor_helper_writer, " class=\"list-inline-item medialink\""); 1198 1199 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 1200 1201 1202 #line 235 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 1203 1204 1205 #line default 1206 #line hidden 1207 1208 #line 235 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 1209 var mediaLink = Translate("MediaLink", "https://media.sbs.dk/MediaLibrary/welcome"); 1210 1211 #line default 1212 #line hidden 1213 WriteLiteralTo(__razor_helper_writer, "\r\n <a"); 1214 1215 WriteAttributeTo(__razor_helper_writer, "href", Tuple.Create(" href=\"", 12891), Tuple.Create("\"", 12908) 1216 1217 #line 236 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 1218 , Tuple.Create(Tuple.Create("", 12898), Tuple.Create<System.Object, System.Int32>(mediaLink 1219 1220 #line default 1221 #line hidden 1222 , 12898), false) 1223 ); 1224 1225 WriteLiteralTo(__razor_helper_writer, " target=\"_blank\""); 1226 1227 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 1228 1229 WriteLiteralTo(__razor_helper_writer, " "); 1230 1231 1232 #line 237 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 1233 WriteTo(__razor_helper_writer, Translate("MEDIA","MEDIA")); 1234 1235 1236 #line default 1237 #line hidden 1238 WriteLiteralTo(__razor_helper_writer, "\r\n </a>\r\n </li>\r\n </ul>\r" + 1239 "\n </div>\r\n"); 1240 1241 1242 #line 242 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 1243 } 1244 } 1245 1246 1247 #line default 1248 #line hidden 1249 }); 1250 1251 #line 244 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 1252 } 1253 #line default 1254 #line hidden 1255 1256 1257 #line 253 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 1258 public RazorEngine.Templating.TemplateWriter RenderUserManagementLoginMini(bool showPoints = false) 1259 { 1260 #line default 1261 #line hidden 1262 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 1263 1264 #line 254 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 1265 1266 bool isLoggedIn = Dynamicweb.Security.UserManagement.User.IsExtranetUserLoggedIn(); 1267 1268 if (isLoggedIn) 1269 { 1270 1271 1272 #line default 1273 #line hidden 1274 WriteLiteralTo(__razor_helper_writer, " <span"); 1275 1276 WriteLiteralTo(__razor_helper_writer, " class=\"btn btn-info\""); 1277 1278 WriteLiteralTo(__razor_helper_writer, " data-toggle=\"modal\""); 1279 1280 WriteLiteralTo(__razor_helper_writer, " data-target=\"#UserManagementModal\""); 1281 1282 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 1283 1284 WriteLiteralTo(__razor_helper_writer, " "); 1285 1286 1287 #line 260 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 1288 WriteTo(__razor_helper_writer, Translate("Smartpage:UserManagement.Login.Headline", "Log ind")); 1289 1290 1291 #line default 1292 #line hidden 1293 WriteLiteralTo(__razor_helper_writer, "\r\n </span>\r\n"); 1294 1295 1296 #line 262 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 1297 } 1298 else 1299 { 1300 1301 if (showPoints) 1302 { 1303 int loyaltyPoints = Dynamicweb.Core.Converter.ToInt32(Pageview.Area.Item["UserPointId"]); 1304 1305 1306 #line default 1307 #line hidden 1308 WriteLiteralTo(__razor_helper_writer, " <div"); 1309 1310 WriteLiteralTo(__razor_helper_writer, " class=\"row\""); 1311 1312 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 1313 1314 WriteLiteralTo(__razor_helper_writer, " class=\"col-xs-10 col-sm-10 col-md-10\""); 1315 1316 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 1317 1318 WriteLiteralTo(__razor_helper_writer, " "); 1319 1320 1321 #line 271 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 1322 WriteTo(__razor_helper_writer, RenderParagraphContent(loyaltyPoints)); 1323 1324 1325 #line default 1326 #line hidden 1327 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n <div"); 1328 1329 WriteLiteralTo(__razor_helper_writer, " class=\"col-xs-14 col-sm-14 col-md-14\""); 1330 1331 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 1332 1333 WriteLiteralTo(__razor_helper_writer, " "); 1334 1335 1336 #line 274 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 1337 WriteTo(__razor_helper_writer, GetString("DWExtranetUsername")); 1338 1339 1340 #line default 1341 #line hidden 1342 WriteLiteralTo(__razor_helper_writer, " - <a"); 1343 1344 WriteLiteralTo(__razor_helper_writer, " class=\"\""); 1345 1346 WriteAttributeTo(__razor_helper_writer, "href", Tuple.Create(" href=\'", 14205), Tuple.Create("\'", 14295) 1347 , Tuple.Create(Tuple.Create("", 14212), Tuple.Create("/Admin/Public/ExtranetLogoff.aspx?RedirectUrl=", 14212), true) 1348 1349 #line 274 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 1350 , Tuple.Create(Tuple.Create("", 14258), Tuple.Create<System.Object, System.Int32>(PageView.Current().SearchFriendlyUrl 1351 1352 #line default 1353 #line hidden 1354 , 14258), false) 1355 ); 1356 1357 WriteLiteralTo(__razor_helper_writer, ">"); 1358 1359 1360 #line 274 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 1361 WriteTo(__razor_helper_writer, Translate("Smartpage:UserManagement.LoginModal.LoggedIn.SignOut", "Log ud")); 1362 1363 1364 #line default 1365 #line hidden 1366 WriteLiteralTo(__razor_helper_writer, "</a>\r\n </div>\r\n </div>\r\n"); 1367 1368 1369 #line 277 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 1370 } 1371 else 1372 { 1373 1374 1375 #line default 1376 #line hidden 1377 1378 #line 280 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 1379 1380 1381 1382 #line default 1383 #line hidden 1384 WriteLiteralTo(__razor_helper_writer, " <button"); 1385 1386 WriteLiteralTo(__razor_helper_writer, " class=\"dropdown-button\""); 1387 1388 WriteLiteralTo(__razor_helper_writer, " type=\"button\""); 1389 1390 WriteLiteralTo(__razor_helper_writer, " id=\"userDropdown\""); 1391 1392 WriteLiteralTo(__razor_helper_writer, " data-toggle=\"dropdown\""); 1393 1394 WriteLiteralTo(__razor_helper_writer, " aria-haspopup=\"true\""); 1395 1396 WriteLiteralTo(__razor_helper_writer, " aria-expanded=\"false\""); 1397 1398 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 1399 1400 WriteLiteralTo(__razor_helper_writer, " "); 1401 1402 1403 #line 282 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 1404 WriteTo(__razor_helper_writer, GetString("DW_extranet_AccessUserName")); 1405 1406 1407 #line default 1408 #line hidden 1409 WriteLiteralTo(__razor_helper_writer, "\r\n </button>\r\n"); 1410 1411 WriteLiteralTo(__razor_helper_writer, " <div"); 1412 1413 WriteLiteralTo(__razor_helper_writer, " class=\"dropdown-menu\""); 1414 1415 WriteLiteralTo(__razor_helper_writer, " aria-labelledby=\"userDropdown\""); 1416 1417 WriteLiteralTo(__razor_helper_writer, ">\r\n <a"); 1418 1419 WriteLiteralTo(__razor_helper_writer, " href=\"#\""); 1420 1421 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 1422 1423 WriteLiteralTo(__razor_helper_writer, " "); 1424 1425 1426 #line 286 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 1427 WriteTo(__razor_helper_writer, GetString("DWExtranetUsername")); 1428 1429 1430 #line default 1431 #line hidden 1432 WriteLiteralTo(__razor_helper_writer, "\r\n </a>\r\n <a"); 1433 1434 WriteLiteralTo(__razor_helper_writer, " class=\"\""); 1435 1436 WriteAttributeTo(__razor_helper_writer, "href", Tuple.Create(" href=\'", 14935), Tuple.Create("\'", 15025) 1437 , Tuple.Create(Tuple.Create("", 14942), Tuple.Create("/Admin/Public/ExtranetLogoff.aspx?RedirectUrl=", 14942), true) 1438 1439 #line 288 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 1440 , Tuple.Create(Tuple.Create("", 14988), Tuple.Create<System.Object, System.Int32>(PageView.Current().SearchFriendlyUrl 1441 1442 #line default 1443 #line hidden 1444 , 14988), false) 1445 ); 1446 1447 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 1448 1449 WriteLiteralTo(__razor_helper_writer, " "); 1450 1451 1452 #line 289 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 1453 WriteTo(__razor_helper_writer, Translate("Smartpage:UserManagement.LoginModal.LoggedIn.SignOut", "Log ud")); 1454 1455 1456 #line default 1457 #line hidden 1458 WriteLiteralTo(__razor_helper_writer, "\r\n </a>\r\n </div>\r\n"); 1459 1460 1461 #line 292 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 1462 } 1463 } 1464 1465 1466 #line default 1467 #line hidden 1468 }); 1469 1470 #line 294 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 1471 } 1472 #line default 1473 #line hidden 1474 1475 1476 #line 296 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 1477 public RazorEngine.Templating.TemplateWriter RenderUserManagementDropdownButton() 1478 { 1479 #line default 1480 #line hidden 1481 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 1482 1483 #line 297 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 1484 1485 var enableUserManagement = Converter.ToBoolean(Pageview.Area.Item["EnableUserManagement"]); 1486 if (enableUserManagement) 1487 { 1488 var isLoggedIn = User.IsExtranetUserLoggedIn(); 1489 if (isLoggedIn) 1490 { 1491 1492 1493 #line default 1494 #line hidden 1495 WriteLiteralTo(__razor_helper_writer, " <span"); 1496 1497 WriteLiteralTo(__razor_helper_writer, " class=\"btn js-userdropdown-toggle js-toggle\""); 1498 1499 WriteLiteralTo(__razor_helper_writer, " data-target=\".js-userdropdown\""); 1500 1501 WriteLiteralTo(__razor_helper_writer, ">\r\n <i"); 1502 1503 WriteLiteralTo(__razor_helper_writer, " class=\"fa fa-user\""); 1504 1505 WriteLiteralTo(__razor_helper_writer, " aria-hidden=\"true\""); 1506 1507 WriteLiteralTo(__razor_helper_writer, "></i>\r\n <span"); 1508 1509 WriteLiteralTo(__razor_helper_writer, " class=\"label\""); 1510 1511 WriteLiteralTo(__razor_helper_writer, ">"); 1512 1513 1514 #line 306 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 1515 WriteTo(__razor_helper_writer, GetString("DW_extranet_AccessUserName")); 1516 1517 1518 #line default 1519 #line hidden 1520 WriteLiteralTo(__razor_helper_writer, "</span>\r\n <i"); 1521 1522 WriteLiteralTo(__razor_helper_writer, " class=\"fa fa-angle-down\""); 1523 1524 WriteLiteralTo(__razor_helper_writer, " aria-hidden=\"true\""); 1525 1526 WriteLiteralTo(__razor_helper_writer, "></i>\r\n </span>\r\n"); 1527 1528 1529 #line 309 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 1530 } 1531 else 1532 { 1533 1534 1535 #line default 1536 #line hidden 1537 WriteLiteralTo(__razor_helper_writer, " <span"); 1538 1539 WriteLiteralTo(__razor_helper_writer, " class=\"btn js-userdropdown-toggle js-toggle\""); 1540 1541 WriteLiteralTo(__razor_helper_writer, " data-target=\".js-userdropdown\""); 1542 1543 WriteLiteralTo(__razor_helper_writer, ">\r\n <i"); 1544 1545 WriteLiteralTo(__razor_helper_writer, " class=\"fa fa-user\""); 1546 1547 WriteLiteralTo(__razor_helper_writer, " aria-hidden=\"true\""); 1548 1549 WriteLiteralTo(__razor_helper_writer, "></i>\r\n <span"); 1550 1551 WriteLiteralTo(__razor_helper_writer, " class=\"label\""); 1552 1553 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 1554 1555 WriteLiteralTo(__razor_helper_writer, " "); 1556 1557 1558 #line 315 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 1559 WriteTo(__razor_helper_writer, Translate("Smartpage:UserManagement.Dropdown.Login", "Log ind")); 1560 1561 1562 #line default 1563 #line hidden 1564 WriteLiteralTo(__razor_helper_writer, "\r\n </span>\r\n <i"); 1565 1566 WriteLiteralTo(__razor_helper_writer, " class=\"fa fa-angle-down\""); 1567 1568 WriteLiteralTo(__razor_helper_writer, " aria-hidden=\"true\""); 1569 1570 WriteLiteralTo(__razor_helper_writer, "></i>\r\n </span>\r\n"); 1571 1572 1573 #line 319 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 1574 } 1575 } 1576 1577 1578 #line default 1579 #line hidden 1580 }); 1581 1582 #line 321 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 1583 } 1584 #line default 1585 #line hidden 1586 1587 1588 #line 323 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 1589 public RazorEngine.Templating.TemplateWriter RenderUserManagementDropdown() 1590 { 1591 #line default 1592 #line hidden 1593 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 1594 1595 #line 324 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 1596 1597 var enableUserManagement = Converter.ToBoolean(Pageview.Area.Item["EnableUserManagement"]); 1598 if (enableUserManagement) 1599 { 1600 if (!string.IsNullOrEmpty(GetString("DW_extranet_error_dk")) || Dynamicweb.Context.Current.Request.HasRequest("ForgotPassword")) 1601 { 1602 1603 1604 #line default 1605 #line hidden 1606 1607 #line 330 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 1608 WriteTo(__razor_helper_writer, SnippetStart("JavaScript")); 1609 1610 1611 #line default 1612 #line hidden 1613 1614 #line 330 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 1615 1616 1617 1618 #line default 1619 #line hidden 1620 WriteLiteralTo(__razor_helper_writer, " <script>\r\n $(\".js-userdropdown\").show();\r\n " + 1621 " </script>\r\n"); 1622 1623 1624 #line 334 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 1625 1626 1627 #line default 1628 #line hidden 1629 1630 #line 334 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 1631 WriteTo(__razor_helper_writer, SnippetEnd("JavaScript")); 1632 1633 1634 #line default 1635 #line hidden 1636 1637 #line 334 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 1638 1639 } 1640 1641 var isLoggedIn = User.IsExtranetUserLoggedIn(); 1642 if (isLoggedIn) 1643 { 1644 1645 1646 1647 #line default 1648 #line hidden 1649 WriteLiteralTo(__razor_helper_writer, " <div"); 1650 1651 WriteLiteralTo(__razor_helper_writer, " class=\"user-dropdown js-userdropdown js-userdropdown-container\""); 1652 1653 WriteLiteralTo(__razor_helper_writer, " aria-labelledby=\"userDropdown\""); 1654 1655 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 1656 1657 WriteLiteralTo(__razor_helper_writer, " class=\"\""); 1658 1659 WriteLiteralTo(__razor_helper_writer, ">\r\n <strong>"); 1660 1661 1662 #line 343 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 1663 WriteTo(__razor_helper_writer, Translate("Smartpage:UserManagement.Dropdown.Hello", "Hej")); 1664 1665 1666 #line default 1667 #line hidden 1668 WriteLiteralTo(__razor_helper_writer, " "); 1669 1670 1671 #line 343 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 1672 WriteTo(__razor_helper_writer, GetString("DW_extranet_AccessUserName")); 1673 1674 1675 #line default 1676 #line hidden 1677 WriteLiteralTo(__razor_helper_writer, "</strong>\r\n </div>\r\n <hr>\r\n <ul"); 1678 1679 WriteLiteralTo(__razor_helper_writer, " class=\"list-unstyled user-list\""); 1680 1681 WriteLiteralTo(__razor_helper_writer, ">\r\n "); 1682 1683 WriteLiteralTo(__razor_helper_writer, "\r\n "); 1684 1685 WriteLiteralTo(__razor_helper_writer, "\r\n"); 1686 1687 WriteLiteralTo(__razor_helper_writer, " "); 1688 1689 1690 #line 353 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 1691 WriteTo(__razor_helper_writer, RenderCustomerCenter()); 1692 1693 1694 #line default 1695 #line hidden 1696 WriteLiteralTo(__razor_helper_writer, "\r\n "); 1697 1698 WriteLiteralTo(__razor_helper_writer, "\r\n <li>\r\n <a"); 1699 1700 WriteLiteralTo(__razor_helper_writer, " class=\"\""); 1701 1702 WriteAttributeTo(__razor_helper_writer, "href", Tuple.Create(" href=\'", 17668), Tuple.Create("\'", 17765) 1703 1704 #line 356 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 1705 , Tuple.Create(Tuple.Create("", 17675), Tuple.Create<System.Object, System.Int32>("/Admin/Public/ExtranetLogoff.aspx?RedirectUrl=" + PageView.Current().SearchFriendlyUrl 1706 1707 #line default 1708 #line hidden 1709 , 17675), false) 1710 ); 1711 1712 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 1713 1714 WriteLiteralTo(__razor_helper_writer, " "); 1715 1716 1717 #line 357 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 1718 WriteTo(__razor_helper_writer, Translate("Smartpage:UserManagement.LoginModal.LoggedIn.SignOut", "Log ud")); 1719 1720 1721 #line default 1722 #line hidden 1723 WriteLiteralTo(__razor_helper_writer, "\r\n </a>\r\n </li>\r\n </ul>\r" + 1724 "\n </div>\r\n"); 1725 1726 1727 #line 362 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 1728 } 1729 else 1730 { 1731 1732 1733 #line default 1734 #line hidden 1735 WriteLiteralTo(__razor_helper_writer, " <div"); 1736 1737 WriteLiteralTo(__razor_helper_writer, " class=\"user-dropdown js-userdropdown js-userdropdown-container\""); 1738 1739 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 1740 1741 WriteLiteralTo(__razor_helper_writer, " "); 1742 1743 1744 #line 366 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 1745 WriteTo(__razor_helper_writer, RenderUserManagementLogin(true)); 1746 1747 1748 #line default 1749 #line hidden 1750 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 1751 1752 1753 #line 368 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 1754 } 1755 } 1756 1757 1758 #line default 1759 #line hidden 1760 }); 1761 1762 #line 370 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 1763 } 1764 #line default 1765 #line hidden 1766 1767 1768 #line 372 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 1769 public RazorEngine.Templating.TemplateWriter RenderUserManagementLogin(bool noLabel = false, bool forgotPassLink = false) 1770 { 1771 #line default 1772 #line hidden 1773 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 1774 1775 #line 373 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 1776 1777 bool isLoggedIn = Dynamicweb.Security.UserManagement.User.IsExtranetUserLoggedIn(); 1778 1779 1780 1781 #line default 1782 #line hidden 1783 WriteLiteralTo(__razor_helper_writer, " <div"); 1784 1785 WriteLiteralTo(__razor_helper_writer, " class=\"row usermangement-login\""); 1786 1787 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 1788 1789 1790 #line 377 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 1791 1792 1793 #line default 1794 #line hidden 1795 1796 #line 377 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 1797 if (isLoggedIn) 1798 { 1799 1800 1801 #line default 1802 #line hidden 1803 WriteLiteralTo(__razor_helper_writer, " <div"); 1804 1805 WriteLiteralTo(__razor_helper_writer, " class=\"col-xs-24 col-sm-24 col-md-24 col-lg-24\""); 1806 1807 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 1808 1809 WriteLiteralTo(__razor_helper_writer, " "); 1810 1811 1812 #line 380 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 1813 WriteTo(__razor_helper_writer, GetString("DWExtranetUsername")); 1814 1815 1816 #line default 1817 #line hidden 1818 WriteLiteralTo(__razor_helper_writer, " - <a"); 1819 1820 WriteAttributeTo(__razor_helper_writer, "href", Tuple.Create(" href=\'", 18563), Tuple.Create("\'", 18653) 1821 , Tuple.Create(Tuple.Create("", 18570), Tuple.Create("/Admin/Public/ExtranetLogoff.aspx?RedirectUrl=", 18570), true) 1822 1823 #line 380 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 1824 , Tuple.Create(Tuple.Create("", 18616), Tuple.Create<System.Object, System.Int32>(PageView.Current().SearchFriendlyUrl 1825 1826 #line default 1827 #line hidden 1828 , 18616), false) 1829 ); 1830 1831 WriteLiteralTo(__razor_helper_writer, ">"); 1832 1833 1834 #line 380 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 1835 WriteTo(__razor_helper_writer, Translate("Smartpage:UserManagement.LoginModal.LoggedIn.SignOut", "Log ud")); 1836 1837 1838 #line default 1839 #line hidden 1840 WriteLiteralTo(__razor_helper_writer, "</a>\r\n </div>\r\n"); 1841 1842 1843 #line 382 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 1844 } 1845 else 1846 { 1847 1848 1849 #line default 1850 #line hidden 1851 WriteLiteralTo(__razor_helper_writer, " <div"); 1852 1853 WriteLiteralTo(__razor_helper_writer, " class=\"col-xs-24 col-sm-24 col-md-24 col-lg-24\""); 1854 1855 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 1856 1857 1858 #line 386 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 1859 1860 1861 #line default 1862 #line hidden 1863 1864 #line 386 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 1865 if (Dynamicweb.Context.Current.Request.HasRequest("ForgotPassword")) 1866 { 1867 1868 1869 #line default 1870 #line hidden 1871 WriteLiteralTo(__razor_helper_writer, " <div"); 1872 1873 WriteLiteralTo(__razor_helper_writer, " class=\"alert alert-success\""); 1874 1875 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 1876 1877 WriteLiteralTo(__razor_helper_writer, " "); 1878 1879 1880 #line 389 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 1881 WriteTo(__razor_helper_writer, Translate("SmartPage:UserManagement.ForgotPassword.PasswordSentTo", "Adgangskoden er sendt til e-mailadressen:")); 1882 1883 1884 #line default 1885 #line hidden 1886 WriteLiteralTo(__razor_helper_writer, "\r\n"); 1887 1888 WriteLiteralTo(__razor_helper_writer, " "); 1889 1890 1891 #line 390 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 1892 WriteTo(__razor_helper_writer, Dynamicweb.Context.Current.Request.GetString("username")); 1893 1894 1895 #line default 1896 #line hidden 1897 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 1898 1899 1900 #line 392 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 1901 } 1902 1903 1904 #line default 1905 #line hidden 1906 WriteLiteralTo(__razor_helper_writer, " <form"); 1907 1908 WriteLiteralTo(__razor_helper_writer, " method=\"post\""); 1909 1910 WriteAttributeTo(__razor_helper_writer, "action", Tuple.Create(" action=\'", 19325), Tuple.Create("\'", 19363) 1911 1912 #line 393 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 1913 , Tuple.Create(Tuple.Create("", 19334), Tuple.Create<System.Object, System.Int32>(GetValue("DWExtranetAction") 1914 1915 #line default 1916 #line hidden 1917 , 19334), false) 1918 ); 1919 1920 WriteLiteralTo(__razor_helper_writer, " class=\"js-usermanagement-login\""); 1921 1922 WriteLiteralTo(__razor_helper_writer, ">\r\n <input"); 1923 1924 WriteLiteralTo(__razor_helper_writer, " type=\"hidden\""); 1925 1926 WriteLiteralTo(__razor_helper_writer, " name=\"DWExtranetUsernameRemember\""); 1927 1928 WriteLiteralTo(__razor_helper_writer, " value=\"True\""); 1929 1930 WriteLiteralTo(__razor_helper_writer, ">\r\n <input"); 1931 1932 WriteLiteralTo(__razor_helper_writer, " type=\"hidden\""); 1933 1934 WriteLiteralTo(__razor_helper_writer, " name=\"Redirect\""); 1935 1936 WriteAttributeTo(__razor_helper_writer, "value", Tuple.Create(" value=\'", 19545), Tuple.Create("\'", 19582) 1937 1938 #line 395 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 1939 , Tuple.Create(Tuple.Create("", 19553), Tuple.Create<System.Object, System.Int32>(GetValue("DWExtranetAction") 1940 1941 #line default 1942 #line hidden 1943 , 19553), false) 1944 ); 1945 1946 WriteLiteralTo(__razor_helper_writer, ">\r\n\r\n"); 1947 1948 1949 #line 397 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 1950 1951 1952 #line default 1953 #line hidden 1954 1955 #line 397 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 1956 if (!string.IsNullOrEmpty(GetString("DW_extranet_error_dk"))) 1957 { 1958 1959 1960 #line default 1961 #line hidden 1962 WriteLiteralTo(__razor_helper_writer, " <div"); 1963 1964 WriteLiteralTo(__razor_helper_writer, " class=\"row\""); 1965 1966 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 1967 1968 WriteLiteralTo(__razor_helper_writer, " class=\"col-xs-24 col-sm-24 col-md-24 col-lg-24\""); 1969 1970 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 1971 1972 WriteLiteralTo(__razor_helper_writer, " class=\"alert alert-info\""); 1973 1974 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 1975 1976 WriteLiteralTo(__razor_helper_writer, " "); 1977 1978 1979 #line 402 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 1980 WriteTo(__razor_helper_writer, GetString("DW_extranet_error_dk")); 1981 1982 1983 #line default 1984 #line hidden 1985 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n </div>\r\n " + 1986 " </div>\r\n"); 1987 1988 1989 #line 406 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 1990 } 1991 1992 1993 #line default 1994 #line hidden 1995 WriteLiteralTo(__razor_helper_writer, " <div"); 1996 1997 WriteLiteralTo(__razor_helper_writer, " class=\"col-xs-24 col-sm-24 col-md-24 col-lg-24\""); 1998 1999 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 2000 2001 WriteLiteralTo(__razor_helper_writer, " class=\"form-group\""); 2002 2003 WriteLiteralTo(__razor_helper_writer, ">\r\n <strong>"); 2004 2005 2006 #line 409 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 2007 WriteTo(__razor_helper_writer, Translate("Smartpage:UserManagement.Login.Headline", "Log ind")); 2008 2009 2010 #line default 2011 #line hidden 2012 WriteLiteralTo(__razor_helper_writer, "</strong>\r\n </div>\r\n <div"); 2013 2014 WriteLiteralTo(__razor_helper_writer, " class=\"form-group\""); 2015 2016 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 2017 2018 2019 #line 412 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 2020 2021 2022 #line default 2023 #line hidden 2024 2025 #line 412 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 2026 if (!noLabel) 2027 { 2028 2029 2030 #line default 2031 #line hidden 2032 WriteLiteralTo(__razor_helper_writer, " <label"); 2033 2034 WriteLiteralTo(__razor_helper_writer, " for=\"login-username\""); 2035 2036 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 2037 2038 WriteLiteralTo(__razor_helper_writer, " "); 2039 2040 2041 #line 415 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 2042 WriteTo(__razor_helper_writer, Translate("Smartpage:UserManagement.Login.Username", "Brugernavn")); 2043 2044 2045 #line default 2046 #line hidden 2047 WriteLiteralTo(__razor_helper_writer, "\r\n </label>\r\n"); 2048 2049 2050 #line 417 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 2051 } 2052 2053 2054 #line default 2055 #line hidden 2056 WriteLiteralTo(__razor_helper_writer, " <input"); 2057 2058 WriteLiteralTo(__razor_helper_writer, " type=\"text\""); 2059 2060 WriteLiteralTo(__razor_helper_writer, " id=\"login-username\""); 2061 2062 WriteLiteralTo(__razor_helper_writer, " name=\"username\""); 2063 2064 WriteLiteralTo(__razor_helper_writer, " class=\"form-control js-req js-usermanagement-username\""); 2065 2066 WriteAttributeTo(__razor_helper_writer, "placeholder", Tuple.Create(" placeholder=\'", 20858), Tuple.Create("\'", 20942) 2067 2068 #line 418 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 2069 , Tuple.Create(Tuple.Create("", 20872), Tuple.Create<System.Object, System.Int32>(Translate("Smartpage:User.Login.EnterUsername", "Indtast brugernavn") 2070 2071 #line default 2072 #line hidden 2073 , 20872), false) 2074 ); 2075 2076 WriteLiteralTo(__razor_helper_writer, " autofocus=\"\""); 2077 2078 WriteLiteralTo(__razor_helper_writer, " required=\"\""); 2079 2080 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 2081 2082 WriteLiteralTo(__razor_helper_writer, " class=\"form-control-feedback alert alert-info display-none js-invalid-nofill\""); 2083 2084 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 2085 2086 WriteLiteralTo(__razor_helper_writer, " "); 2087 2088 2089 #line 420 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 2090 WriteTo(__razor_helper_writer, Translate("Smartpage:Validation.Error.NeedFill", "Skal udfyldes.")); 2091 2092 2093 #line default 2094 #line hidden 2095 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n </div>\r\n " + 2096 " </div>\r\n <div"); 2097 2098 WriteLiteralTo(__razor_helper_writer, " class=\"col-xs-24 col-sm-24 col-md-24 col-lg-24\""); 2099 2100 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 2101 2102 WriteLiteralTo(__razor_helper_writer, " class=\"form-group\""); 2103 2104 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 2105 2106 2107 #line 426 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 2108 2109 2110 #line default 2111 #line hidden 2112 2113 #line 426 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 2114 if (!noLabel) 2115 { 2116 2117 2118 #line default 2119 #line hidden 2120 WriteLiteralTo(__razor_helper_writer, " <label"); 2121 2122 WriteLiteralTo(__razor_helper_writer, " for=\"login-username\""); 2123 2124 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 2125 2126 WriteLiteralTo(__razor_helper_writer, " "); 2127 2128 2129 #line 429 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 2130 WriteTo(__razor_helper_writer, Translate("Smartpage:UserManagement.Login.Password", "Adgangskode")); 2131 2132 2133 #line default 2134 #line hidden 2135 WriteLiteralTo(__razor_helper_writer, "\r\n </label>\r\n"); 2136 2137 2138 #line 431 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 2139 } 2140 2141 2142 #line default 2143 #line hidden 2144 WriteLiteralTo(__razor_helper_writer, " <input"); 2145 2146 WriteLiteralTo(__razor_helper_writer, " type=\"password\""); 2147 2148 WriteLiteralTo(__razor_helper_writer, " id=\"login-password\""); 2149 2150 WriteLiteralTo(__razor_helper_writer, " name=\"password\""); 2151 2152 WriteLiteralTo(__razor_helper_writer, " class=\"form-control js-req\""); 2153 2154 WriteAttributeTo(__razor_helper_writer, "placeholder", Tuple.Create(" placeholder=\'", 21836), Tuple.Create("\'", 21931) 2155 2156 #line 432 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 2157 , Tuple.Create(Tuple.Create("", 21850), Tuple.Create<System.Object, System.Int32>(Translate("Smartpage:UserManagement.Login.EnterPassword", "Indtast adgangskode") 2158 2159 #line default 2160 #line hidden 2161 , 21850), false) 2162 ); 2163 2164 WriteLiteralTo(__razor_helper_writer, " required=\"\""); 2165 2166 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 2167 2168 WriteLiteralTo(__razor_helper_writer, " class=\"form-control-feedback alert alert-info display-none js-invalid-nofill\""); 2169 2170 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 2171 2172 WriteLiteralTo(__razor_helper_writer, " "); 2173 2174 2175 #line 434 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 2176 WriteTo(__razor_helper_writer, Translate("Smartpage:Validation.Error.NeedFill", "Skal udfyldes.")); 2177 2178 2179 #line default 2180 #line hidden 2181 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n </div>\r\n " + 2182 " <div"); 2183 2184 WriteLiteralTo(__razor_helper_writer, " class=\"form-check\""); 2185 2186 WriteLiteralTo(__razor_helper_writer, ">\r\n <label"); 2187 2188 WriteLiteralTo(__razor_helper_writer, " class=\"form-check-label remember-password\""); 2189 2190 WriteLiteralTo(__razor_helper_writer, ">\r\n <input"); 2191 2192 WriteLiteralTo(__razor_helper_writer, " type=\"checkbox\""); 2193 2194 WriteLiteralTo(__razor_helper_writer, " name=\"DWExtranetPasswordRemember\""); 2195 2196 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 2197 2198 WriteLiteralTo(__razor_helper_writer, " "); 2199 2200 2201 #line 440 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 2202 WriteTo(__razor_helper_writer, Translate("SmartPage:UserManagement.Login.Password.RememberPasswordCheck", "Husk adgangskode")); 2203 2204 2205 #line default 2206 #line hidden 2207 WriteLiteralTo(__razor_helper_writer, "\r\n </label>\r\n </div>\r\n " + 2208 " </div>\r\n <div"); 2209 2210 WriteLiteralTo(__razor_helper_writer, " class=\"col-xs-24 col-sm-24 col-md-24 col-lg-24\""); 2211 2212 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 2213 2214 WriteLiteralTo(__razor_helper_writer, " class=\"form-group\""); 2215 2216 WriteLiteralTo(__razor_helper_writer, ">\r\n <button"); 2217 2218 WriteLiteralTo(__razor_helper_writer, " type=\"submit\""); 2219 2220 WriteLiteralTo(__razor_helper_writer, " class=\"btn btn-primary btn-block js-validate-form\""); 2221 2222 WriteLiteralTo(__razor_helper_writer, ">"); 2223 2224 2225 #line 446 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 2226 WriteTo(__razor_helper_writer, Translate("Smartpage:UserManagement.Login.Button.Login", "Log ind")); 2227 2228 2229 #line default 2230 #line hidden 2231 WriteLiteralTo(__razor_helper_writer, "</button>\r\n </div>\r\n <div"); 2232 2233 WriteLiteralTo(__razor_helper_writer, " class=\"form-group text-xs-center\""); 2234 2235 WriteLiteralTo(__razor_helper_writer, ">\r\n <span"); 2236 2237 WriteLiteralTo(__razor_helper_writer, " class=\"frg-btn js-usermanagement-lostpw-toggle\""); 2238 2239 WriteLiteralTo(__razor_helper_writer, ">"); 2240 2241 2242 #line 449 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 2243 WriteTo(__razor_helper_writer, Translate("Smartpage:UserManagement.Login.ForgotPassword", "Glemt adgangskode?")); 2244 2245 2246 #line default 2247 #line hidden 2248 WriteLiteralTo(__razor_helper_writer, "</span>\r\n </div>\r\n </div>\r\n " + 2249 " </form>\r\n\r\n <div>\r\n"); 2250 2251 2252 #line 455 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 2253 2254 2255 #line default 2256 #line hidden 2257 2258 #line 455 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 2259 if (Dynamicweb.Core.Converter.ToString(Pageview.Area.Item["UserManagementCreateProfile"]) != "") 2260 { 2261 2262 2263 #line default 2264 #line hidden 2265 WriteLiteralTo(__razor_helper_writer, " <a"); 2266 2267 WriteAttributeTo(__razor_helper_writer, "href", Tuple.Create(" href=\'", 23529), Tuple.Create("\'", 23622) 2268 2269 #line 457 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 2270 , Tuple.Create(Tuple.Create("", 23536), Tuple.Create<System.Object, System.Int32>(Dynamicweb.Core.Converter.ToString(Pageview.Area.Item["UserManagementCreateProfile"]) 2271 2272 #line default 2273 #line hidden 2274 , 23536), false) 2275 ); 2276 2277 WriteLiteralTo(__razor_helper_writer, " class=\"btn btn-link\""); 2278 2279 WriteLiteralTo(__razor_helper_writer, ">"); 2280 2281 2282 #line 457 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 2283 WriteTo(__razor_helper_writer, Translate("Smartpage:UserManagement.Login.CreateUser", "Opret kunde")); 2284 2285 2286 #line default 2287 #line hidden 2288 WriteLiteralTo(__razor_helper_writer, "</a>\r\n"); 2289 2290 2291 #line 458 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 2292 } 2293 2294 2295 #line default 2296 #line hidden 2297 WriteLiteralTo(__razor_helper_writer, " </div>\r\n\r\n <form"); 2298 2299 WriteLiteralTo(__razor_helper_writer, " class=\"form-horizontal js-usermanagement-lostpw-container display-none\""); 2300 2301 WriteLiteralTo(__razor_helper_writer, " method=\"post\""); 2302 2303 WriteLiteralTo(__razor_helper_writer, ">\r\n <input"); 2304 2305 WriteLiteralTo(__razor_helper_writer, " type=\"hidden\""); 2306 2307 WriteAttributeTo(__razor_helper_writer, "value", Tuple.Create(" value=\'", 23920), Tuple.Create("\'", 23957) 2308 2309 #line 462 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 2310 , Tuple.Create(Tuple.Create("", 23928), Tuple.Create<System.Object, System.Int32>(GetValue("DWExtranetAction") 2311 2312 #line default 2313 #line hidden 2314 , 23928), false) 2315 ); 2316 2317 WriteLiteralTo(__razor_helper_writer, ">\r\n <input"); 2318 2319 WriteLiteralTo(__razor_helper_writer, " type=\"hidden\""); 2320 2321 WriteLiteralTo(__razor_helper_writer, " name=\"ForgotPassword\""); 2322 2323 WriteLiteralTo(__razor_helper_writer, " value=\"True\""); 2324 2325 WriteLiteralTo(__razor_helper_writer, ">\r\n <input"); 2326 2327 WriteLiteralTo(__razor_helper_writer, " type=\"hidden\""); 2328 2329 WriteLiteralTo(__razor_helper_writer, " name=\"ForgotPasswordConfirm\""); 2330 2331 WriteAttributeTo(__razor_helper_writer, "value", Tuple.Create(" value=\'", 24108), Tuple.Create("\'", 24187) 2332 2333 #line 464 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 2334 , Tuple.Create(Tuple.Create("", 24116), Tuple.Create<System.Object, System.Int32>(Translate("PasswordSent", "The password has been sent to your email.") 2335 2336 #line default 2337 #line hidden 2338 , 24116), false) 2339 ); 2340 2341 WriteLiteralTo(__razor_helper_writer, ">\r\n <input"); 2342 2343 WriteLiteralTo(__razor_helper_writer, " type=\"hidden\""); 2344 2345 WriteLiteralTo(__razor_helper_writer, " name=\"ForgotPasswordMailTemplate\""); 2346 2347 WriteLiteralTo(__razor_helper_writer, " value=\"mail/ForgotPasswordMail.cshtml\""); 2348 2349 WriteLiteralTo(__razor_helper_writer, "> "); 2350 2351 WriteLiteralTo(__razor_helper_writer, "\r\n <input"); 2352 2353 WriteLiteralTo(__razor_helper_writer, " type=\"hidden\""); 2354 2355 WriteLiteralTo(__razor_helper_writer, " name=\"ForgotPasswordMailSubject\""); 2356 2357 WriteAttributeTo(__razor_helper_writer, "value", Tuple.Create(" value=\'", 24395), Tuple.Create("\'", 24489) 2358 2359 #line 466 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 2360 , Tuple.Create(Tuple.Create("", 24403), Tuple.Create<System.Object, System.Int32>(Translate("SmartPage:UserManagement.ForgotPassword.MailSubject", "Glemt adgangskode") 2361 2362 #line default 2363 #line hidden 2364 , 24403), false) 2365 ); 2366 2367 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 2368 2369 WriteLiteralTo(__razor_helper_writer, " class=\"col-xs-24 col-sm-24 col-md-24 col-lg-24 display-none\""); 2370 2371 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 2372 2373 WriteLiteralTo(__razor_helper_writer, " class=\"alert alert-block alert-warning fade in\""); 2374 2375 WriteLiteralTo(__razor_helper_writer, ">\r\n <b>\r\n"); 2376 2377 WriteLiteralTo(__razor_helper_writer, " "); 2378 2379 2380 #line 470 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 2381 WriteTo(__razor_helper_writer, Translate("SmartPage:UserManagement.ForgotPassword.UserNotExists", "E-mailadresse findes ikke. Opret venligst en profil eller kontakt os")); 2382 2383 2384 #line default 2385 #line hidden 2386 WriteLiteralTo(__razor_helper_writer, "\r\n </b>\r\n </div>\r\n " + 2387 " </div>\r\n\r\n <div"); 2388 2389 WriteLiteralTo(__razor_helper_writer, " class=\"col-xs-24 col-sm-24 col-md-24 col-lg-24\""); 2390 2391 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 2392 2393 WriteLiteralTo(__razor_helper_writer, " class=\"form-group\""); 2394 2395 WriteLiteralTo(__razor_helper_writer, ">\r\n <strong>"); 2396 2397 2398 #line 477 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 2399 WriteTo(__razor_helper_writer, Translate("Smartpage:UserManagement.ForgotPasword.Headline", "Glemt password")); 2400 2401 2402 #line default 2403 #line hidden 2404 WriteLiteralTo(__razor_helper_writer, "</strong>\r\n </div>\r\n <div"); 2405 2406 WriteLiteralTo(__razor_helper_writer, " class=\"form-group\""); 2407 2408 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 2409 2410 2411 #line 480 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 2412 2413 2414 #line default 2415 #line hidden 2416 2417 #line 480 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 2418 if (!noLabel) 2419 { 2420 2421 2422 #line default 2423 #line hidden 2424 WriteLiteralTo(__razor_helper_writer, " <label"); 2425 2426 WriteLiteralTo(__razor_helper_writer, " class=\"control-label\""); 2427 2428 WriteLiteralTo(__razor_helper_writer, " for=\"username\""); 2429 2430 WriteLiteralTo(__razor_helper_writer, ">"); 2431 2432 2433 #line 482 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 2434 WriteTo(__razor_helper_writer, Translate("SmartPage:UserManagement.ForgotPassword.Email", "Email")); 2435 2436 2437 #line default 2438 #line hidden 2439 WriteLiteralTo(__razor_helper_writer, "</label>\r\n"); 2440 2441 2442 #line 483 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 2443 } 2444 2445 2446 #line default 2447 #line hidden 2448 WriteLiteralTo(__razor_helper_writer, " <input"); 2449 2450 WriteLiteralTo(__razor_helper_writer, " type=\"text\""); 2451 2452 WriteLiteralTo(__razor_helper_writer, " id=\"login-email\""); 2453 2454 WriteLiteralTo(__razor_helper_writer, " class=\"form-control js-usermanagementlostpw-email\""); 2455 2456 WriteLiteralTo(__razor_helper_writer, " name=\"username\""); 2457 2458 WriteAttributeTo(__razor_helper_writer, "placeholder", Tuple.Create(" placeholder=\'", 25685), Tuple.Create("\'", 25781) 2459 2460 #line 484 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 2461 , Tuple.Create(Tuple.Create("", 25699), Tuple.Create<System.Object, System.Int32>(Translate("SmartPage:UserManagement.ForgotPassword.Placeholder", "Indtast email") 2462 2463 #line default 2464 #line hidden 2465 , 25699), false) 2466 ); 2467 2468 WriteLiteralTo(__razor_helper_writer, " required=\"\""); 2469 2470 WriteLiteralTo(__razor_helper_writer, ">\r\n\r\n\r\n </div>\r\n <div"); 2471 2472 WriteLiteralTo(__razor_helper_writer, " class=\"form-group\""); 2473 2474 WriteLiteralTo(__razor_helper_writer, ">\r\n <button"); 2475 2476 WriteLiteralTo(__razor_helper_writer, " class=\"btn btn-primary btn-block\""); 2477 2478 WriteLiteralTo(__razor_helper_writer, " type=\"submit\""); 2479 2480 WriteLiteralTo(__razor_helper_writer, ">"); 2481 2482 2483 #line 489 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 2484 WriteTo(__razor_helper_writer, Translate("SmartPage:UserManagement.ForgotPassword.Sendpassword", "Send adgangskode")); 2485 2486 2487 #line default 2488 #line hidden 2489 WriteLiteralTo(__razor_helper_writer, "</button>\r\n </div>\r\n <div"); 2490 2491 WriteLiteralTo(__razor_helper_writer, " class=\"form-group\""); 2492 2493 WriteLiteralTo(__razor_helper_writer, ">\r\n <span"); 2494 2495 WriteLiteralTo(__razor_helper_writer, " class=\"btn btn-secondary btn-block pointer js-usermanagement-toggle\""); 2496 2497 WriteLiteralTo(__razor_helper_writer, ">"); 2498 2499 2500 #line 492 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 2501 WriteTo(__razor_helper_writer, Translate("Smartpage:UserManagement.Login.Login", "Log ind")); 2502 2503 2504 #line default 2505 #line hidden 2506 WriteLiteralTo(__razor_helper_writer, "</span>\r\n </div>\r\n </div>\r\n\r\n " + 2507 " </form>\r\n\r\n </div>\r\n"); 2508 2509 2510 #line 499 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 2511 } 2512 2513 2514 #line default 2515 #line hidden 2516 WriteLiteralTo(__razor_helper_writer, " </div>\r\n"); 2517 2518 2519 #line 501 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 2520 2521 2522 #line default 2523 #line hidden 2524 }); 2525 2526 #line 501 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 2527 } 2528 #line default 2529 #line hidden 2530 2531 2532 #line 502 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 2533 public RazorEngine.Templating.TemplateWriter RenderUserManagementLoginModal() 2534 { 2535 #line default 2536 #line hidden 2537 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 2538 2539 #line 503 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 2540 2541 2542 2543 #line default 2544 #line hidden 2545 WriteLiteralTo(__razor_helper_writer, " <div"); 2546 2547 WriteLiteralTo(__razor_helper_writer, " class=\"modal fade\""); 2548 2549 WriteLiteralTo(__razor_helper_writer, " id=\"UserManagementModal\""); 2550 2551 WriteLiteralTo(__razor_helper_writer, " tabindex=\"-1\""); 2552 2553 WriteLiteralTo(__razor_helper_writer, " role=\"dialog\""); 2554 2555 WriteLiteralTo(__razor_helper_writer, " aria-labelledby=\"myModalLabel\""); 2556 2557 WriteLiteralTo(__razor_helper_writer, " aria-hidden=\"true\""); 2558 2559 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 2560 2561 WriteLiteralTo(__razor_helper_writer, " class=\"modal-dialog\""); 2562 2563 WriteLiteralTo(__razor_helper_writer, " role=\"document\""); 2564 2565 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 2566 2567 WriteLiteralTo(__razor_helper_writer, " class=\"modal-content\""); 2568 2569 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 2570 2571 WriteLiteralTo(__razor_helper_writer, " class=\"modal-header\""); 2572 2573 WriteLiteralTo(__razor_helper_writer, ">\r\n <button"); 2574 2575 WriteLiteralTo(__razor_helper_writer, " type=\"button\""); 2576 2577 WriteLiteralTo(__razor_helper_writer, " class=\"close\""); 2578 2579 WriteLiteralTo(__razor_helper_writer, " data-dismiss=\"modal\""); 2580 2581 WriteLiteralTo(__razor_helper_writer, " aria-label=\"Close\""); 2582 2583 WriteLiteralTo(__razor_helper_writer, ">\r\n <span"); 2584 2585 WriteLiteralTo(__razor_helper_writer, " aria-hidden=\"true\""); 2586 2587 WriteLiteralTo(__razor_helper_writer, ">&times;</span>\r\n </button>\r\n <h4"); 2588 2589 WriteLiteralTo(__razor_helper_writer, " class=\"modal-title\""); 2590 2591 WriteLiteralTo(__razor_helper_writer, " id=\"LoginModalLabel\""); 2592 2593 WriteLiteralTo(__razor_helper_writer, ">"); 2594 2595 2596 #line 511 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 2597 WriteTo(__razor_helper_writer, Translate("Smartpage:UserManagement.LoginModal.Title.User", "Bruger")); 2598 2599 2600 #line default 2601 #line hidden 2602 WriteLiteralTo(__razor_helper_writer, "</h4>\r\n </div>\r\n <div"); 2603 2604 WriteLiteralTo(__razor_helper_writer, " class=\"modal-body\""); 2605 2606 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 2607 2608 WriteLiteralTo(__razor_helper_writer, " "); 2609 2610 2611 #line 514 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 2612 WriteTo(__razor_helper_writer, RenderUserManagementLogin()); 2613 2614 2615 #line default 2616 #line hidden 2617 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n <div"); 2618 2619 WriteLiteralTo(__razor_helper_writer, " class=\"modal-footer\""); 2620 2621 WriteLiteralTo(__razor_helper_writer, ">\r\n <button"); 2622 2623 WriteLiteralTo(__razor_helper_writer, " type=\"button\""); 2624 2625 WriteLiteralTo(__razor_helper_writer, " class=\"btn btn-secondary btn-block\""); 2626 2627 WriteLiteralTo(__razor_helper_writer, " data-dismiss=\"modal\""); 2628 2629 WriteLiteralTo(__razor_helper_writer, ">"); 2630 2631 2632 #line 517 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 2633 WriteTo(__razor_helper_writer, Translate("Smartpage:UserManagement.LoginModal.Button.Close", "Luk")); 2634 2635 2636 #line default 2637 #line hidden 2638 WriteLiteralTo(__razor_helper_writer, "</button>\r\n </div>\r\n </div>\r\n </div>\r\n </div>" + 2639 "\r\n"); 2640 2641 2642 #line 522 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 2643 2644 if (!string.IsNullOrEmpty(GetString("DW_extranet_error_dk")) || Dynamicweb.Context.Current.Request.HasRequest("ForgotPassword")) 2645 { 2646 2647 2648 #line default 2649 #line hidden 2650 2651 #line 525 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 2652 WriteTo(__razor_helper_writer, SnippetStart("JavaScript")); 2653 2654 2655 #line default 2656 #line hidden 2657 2658 #line 525 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 2659 2660 2661 2662 #line default 2663 #line hidden 2664 WriteLiteralTo(__razor_helper_writer, " <script>\r\n $(\"#UserManagementModal\").modal(\"show\");\r\n <" + 2665 "/script>\r\n"); 2666 2667 2668 #line 529 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 2669 2670 2671 #line default 2672 #line hidden 2673 2674 #line 529 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 2675 WriteTo(__razor_helper_writer, SnippetEnd("JavaScript")); 2676 2677 2678 #line default 2679 #line hidden 2680 2681 #line 529 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 2682 2683 } 2684 2685 2686 2687 #line default 2688 #line hidden 2689 }); 2690 2691 #line 532 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 2692 } 2693 #line default 2694 #line hidden 2695 2696 2697 #line 533 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 2698 public RazorEngine.Templating.TemplateWriter RenderCustomerCenter() 2699 { 2700 #line default 2701 #line hidden 2702 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 2703 2704 #line 534 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 2705 2706 2707 2708 #line default 2709 #line hidden 2710 2711 #line 535 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 2712 WriteTo(__razor_helper_writer, GetValue("DwNavigation(customercenter)")); 2713 2714 2715 #line default 2716 #line hidden 2717 2718 #line 535 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 2719 2720 2721 2722 #line default 2723 #line hidden 2724 }); 2725 2726 #line 536 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 2727 } 2728 #line default 2729 #line hidden 2730 2731 2732 #line 542 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 2733 public RazorEngine.Templating.TemplateWriter RenderNewsletterPopbox() 2734 { 2735 #line default 2736 #line hidden 2737 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 2738 2739 #line 543 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 2740 2741 string popPosition = Dynamicweb.Core.Converter.ToString(Pageview.Area.Item["NewsletterPopboxPosition"]); 2742 2743 string popboxImage = Dynamicweb.Core.Converter.ToString(Pageview.Area.Item["PopboxImage"]); 2744 string closeImage = Dynamicweb.Core.Converter.ToString(Pageview.Area.Item["PopboxCloseImage"]); 2745 string popboxMobileImage = Dynamicweb.Core.Converter.ToString(Pageview.Area.Item["PopboxMobileImage"]); 2746 2747 bool isActive = Dynamicweb.Core.Converter.ToBoolean(Pageview.Area.Item["NewsletterPopboxActive"]); 2748 bool isActiveMobile = Dynamicweb.Core.Converter.ToBoolean(Pageview.Area.Item["ShowPopboxOnMobile"]); 2749 2750 string mobileCss = "mobile-position"; 2751 2752 if (isActive) 2753 { 2754 2755 2756 #line default 2757 #line hidden 2758 WriteLiteralTo(__razor_helper_writer, " <div"); 2759 2760 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\'", 28874), Tuple.Create("\'", 28920) 2761 , Tuple.Create(Tuple.Create("", 28882), Tuple.Create("newsletter-popbox-wrapper", 28882), true) 2762 2763 #line 557 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 2764 , Tuple.Create(Tuple.Create(" ", 28907), Tuple.Create<System.Object, System.Int32>(popPosition 2765 2766 #line default 2767 #line hidden 2768 , 28908), false) 2769 ); 2770 2771 WriteLiteralTo(__razor_helper_writer, ">\r\n <input"); 2772 2773 WriteLiteralTo(__razor_helper_writer, " type=\"checkbox\""); 2774 2775 WriteLiteralTo(__razor_helper_writer, " name=\"newsletterpopbox-toggle\""); 2776 2777 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\'", 28989), Tuple.Create("\'", 29020) 2778 2779 #line 558 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 2780 , Tuple.Create(Tuple.Create("", 28997), Tuple.Create<System.Object, System.Int32>(popPosition 2781 2782 #line default 2783 #line hidden 2784 , 28997), false) 2785 2786 #line 558 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 2787 , Tuple.Create(Tuple.Create(" ", 29009), Tuple.Create<System.Object, System.Int32>(mobileCss 2788 2789 #line default 2790 #line hidden 2791 , 29010), false) 2792 ); 2793 2794 WriteLiteralTo(__razor_helper_writer, " id=\"newsletterpopbox-toggle\""); 2795 2796 WriteLiteralTo(__razor_helper_writer, ">\r\n <label"); 2797 2798 WriteLiteralTo(__razor_helper_writer, " for=\"newsletterpopbox-toggle\""); 2799 2800 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 29101), Tuple.Create("\"", 29121) 2801 2802 #line 559 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 2803 , Tuple.Create(Tuple.Create("", 29109), Tuple.Create<System.Object, System.Int32>(popPosition 2804 2805 #line default 2806 #line hidden 2807 , 29109), false) 2808 ); 2809 2810 WriteLiteralTo(__razor_helper_writer, ">\r\n <img"); 2811 2812 WriteLiteralTo(__razor_helper_writer, " class=\"hidden-xs-down\""); 2813 2814 WriteAttributeTo(__razor_helper_writer, "src", Tuple.Create(" src=\"", 29168), Tuple.Create("\"", 29186) 2815 2816 #line 560 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 2817 , Tuple.Create(Tuple.Create("", 29174), Tuple.Create<System.Object, System.Int32>(popboxImage 2818 2819 #line default 2820 #line hidden 2821 , 29174), false) 2822 ); 2823 2824 WriteLiteralTo(__razor_helper_writer, ">\r\n <img"); 2825 2826 WriteLiteralTo(__razor_helper_writer, " class=\"hidden-sm-up\""); 2827 2828 WriteAttributeTo(__razor_helper_writer, "src", Tuple.Create(" src=\"", 29231), Tuple.Create("\"", 29255) 2829 2830 #line 561 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 2831 , Tuple.Create(Tuple.Create("", 29237), Tuple.Create<System.Object, System.Int32>(popboxMobileImage 2832 2833 #line default 2834 #line hidden 2835 , 29237), false) 2836 ); 2837 2838 WriteLiteralTo(__razor_helper_writer, ">\r\n </label>\r\n <div"); 2839 2840 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 29297), Tuple.Create("\"", 29353) 2841 , Tuple.Create(Tuple.Create("", 29305), Tuple.Create("newsletter-popbox-message-container", 29305), true) 2842 2843 #line 563 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 2844 , Tuple.Create(Tuple.Create(" ", 29340), Tuple.Create<System.Object, System.Int32>(popPosition 2845 2846 #line default 2847 #line hidden 2848 , 29341), false) 2849 ); 2850 2851 WriteLiteralTo(__razor_helper_writer, ">\r\n <form"); 2852 2853 WriteLiteralTo(__razor_helper_writer, " method=\"post\""); 2854 2855 WriteAttributeTo(__razor_helper_writer, "action", Tuple.Create(" action=\'", 29392), Tuple.Create("\'", 29430) 2856 2857 #line 564 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 2858 , Tuple.Create(Tuple.Create("", 29401), Tuple.Create<System.Object, System.Int32>(GetValue("DWExtranetAction") 2859 2860 #line default 2861 #line hidden 2862 , 29401), false) 2863 ); 2864 2865 WriteLiteralTo(__razor_helper_writer, ">\r\n <input"); 2866 2867 WriteLiteralTo(__razor_helper_writer, " type=\"hidden\""); 2868 2869 WriteLiteralTo(__razor_helper_writer, " name=\"UserManagement_Form_EmailAllowed\""); 2870 2871 WriteLiteralTo(__razor_helper_writer, " value=\"True\""); 2872 2873 WriteLiteralTo(__razor_helper_writer, ">\r\n <input"); 2874 2875 WriteLiteralTo(__razor_helper_writer, " type=\"hidden\""); 2876 2877 WriteLiteralTo(__razor_helper_writer, " name=\"UserManagement_Form_EmailAllowed_ApplyValue\""); 2878 2879 WriteLiteralTo(__razor_helper_writer, " value=\"True\""); 2880 2881 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 2882 2883 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\'", 29661), Tuple.Create("\'", 29707) 2884 , Tuple.Create(Tuple.Create("", 29669), Tuple.Create("newsletter-popbox-message", 29669), true) 2885 2886 #line 567 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 2887 , Tuple.Create(Tuple.Create(" ", 29694), Tuple.Create<System.Object, System.Int32>(popPosition 2888 2889 #line default 2890 #line hidden 2891 , 29695), false) 2892 ); 2893 2894 WriteLiteralTo(__razor_helper_writer, ">\r\n <label"); 2895 2896 WriteLiteralTo(__razor_helper_writer, " for=\"newsletterpopbox-toggle\""); 2897 2898 WriteLiteralTo(__razor_helper_writer, ">\r\n <img"); 2899 2900 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 29806), Tuple.Create("\"", 29833) 2901 , Tuple.Create(Tuple.Create("", 29814), Tuple.Create("cursor", 29814), true) 2902 2903 #line 569 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 2904 , Tuple.Create(Tuple.Create(" ", 29820), Tuple.Create<System.Object, System.Int32>(popPosition 2905 2906 #line default 2907 #line hidden 2908 , 29821), false) 2909 ); 2910 2911 WriteAttributeTo(__razor_helper_writer, "title", Tuple.Create(" title=\'", 29834), Tuple.Create("\'", 29904) 2912 2913 #line 569 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 2914 , Tuple.Create(Tuple.Create("", 29842), Tuple.Create<System.Object, System.Int32>(Translate("Smartpage:NewsletterPopBox.CloseBox", "Close box") 2915 2916 #line default 2917 #line hidden 2918 , 29842), false) 2919 ); 2920 2921 WriteAttributeTo(__razor_helper_writer, "src", Tuple.Create(" src=\"", 29905), Tuple.Create("\"", 29922) 2922 2923 #line 569 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 2924 , Tuple.Create(Tuple.Create("", 29911), Tuple.Create<System.Object, System.Int32>(closeImage 2925 2926 #line default 2927 #line hidden 2928 , 29911), false) 2929 ); 2930 2931 WriteLiteralTo(__razor_helper_writer, ">\r\n "); 2932 2933 WriteLiteralTo(__razor_helper_writer, "\r\n </label>\r\n <div"); 2934 2935 WriteLiteralTo(__razor_helper_writer, " class=\"form-group\""); 2936 2937 WriteLiteralTo(__razor_helper_writer, ">\r\n <input"); 2938 2939 WriteAttributeTo(__razor_helper_writer, "name", Tuple.Create(" name=\'", 30131), Tuple.Create("\'", 30185) 2940 2941 #line 573 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 2942 , Tuple.Create(Tuple.Create("", 30138), Tuple.Create<System.Object, System.Int32>(GetValue("UserManagement:User.Name.InputName") 2943 2944 #line default 2945 #line hidden 2946 , 30138), false) 2947 ); 2948 2949 WriteLiteralTo(__razor_helper_writer, " type=\"text\""); 2950 2951 WriteAttributeTo(__razor_helper_writer, "placeholder", Tuple.Create(" placeholder=\'", 30198), Tuple.Create("\'", 30269) 2952 2953 #line 573 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 2954 , Tuple.Create(Tuple.Create("", 30212), Tuple.Create<System.Object, System.Int32>(Translate("Smartpage:NewsletterPopbox.Name", "Dit navn") 2955 2956 #line default 2957 #line hidden 2958 , 30212), false) 2959 ); 2960 2961 WriteLiteralTo(__razor_helper_writer, " class=\"form-control js-req\""); 2962 2963 WriteLiteralTo(__razor_helper_writer, " required=\"required\""); 2964 2965 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 2966 2967 WriteLiteralTo(__razor_helper_writer, " class=\"form-control-feedback alert alert-info display-none js-invalid-nofill\""); 2968 2969 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 2970 2971 WriteLiteralTo(__razor_helper_writer, " "); 2972 2973 2974 #line 575 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 2975 WriteTo(__razor_helper_writer, Translate("Smartpage:Validation.Error.NeedFill", "Skal udfyldes.")); 2976 2977 2978 #line default 2979 #line hidden 2980 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n </div>\r\n " + 2981 " <div"); 2982 2983 WriteLiteralTo(__razor_helper_writer, " class=\"form-group text-center\""); 2984 2985 WriteLiteralTo(__razor_helper_writer, ">\r\n <input"); 2986 2987 WriteAttributeTo(__razor_helper_writer, "name", Tuple.Create(" name=\'", 30699), Tuple.Create("\'", 30754) 2988 2989 #line 579 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 2990 , Tuple.Create(Tuple.Create("", 30706), Tuple.Create<System.Object, System.Int32>(GetValue("UserManagement:User.Email.InputName") 2991 2992 #line default 2993 #line hidden 2994 , 30706), false) 2995 ); 2996 2997 WriteLiteralTo(__razor_helper_writer, " type=\"email\""); 2998 2999 WriteAttributeTo(__razor_helper_writer, "placeholder", Tuple.Create(" placeholder=\'", 30768), Tuple.Create("\'", 30850) 3000 3001 #line 579 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 3002 , Tuple.Create(Tuple.Create("", 30782), Tuple.Create<System.Object, System.Int32>(Translate("Smartpage:NewsletterPopbox.YourEmail", "E-mail adresse") 3003 3004 #line default 3005 #line hidden 3006 , 30782), false) 3007 ); 3008 3009 WriteLiteralTo(__razor_helper_writer, " class=\"form-control js-req js-email\""); 3010 3011 WriteLiteralTo(__razor_helper_writer, " required=\"required\""); 3012 3013 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 3014 3015 WriteLiteralTo(__razor_helper_writer, " class=\"form-control-feedback alert alert-info display-none js-invalid-nofill\""); 3016 3017 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 3018 3019 WriteLiteralTo(__razor_helper_writer, " "); 3020 3021 3022 #line 581 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 3023 WriteTo(__razor_helper_writer, Translate("Smartpage:Validation.Error.NeedFill", "Skal udfyldes.")); 3024 3025 3026 #line default 3027 #line hidden 3028 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n <div"); 3029 3030 WriteLiteralTo(__razor_helper_writer, " class=\"form-control-feedback alert alert-info display-none js-invalid-email\""); 3031 3032 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 3033 3034 WriteLiteralTo(__razor_helper_writer, " "); 3035 3036 3037 #line 584 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 3038 WriteTo(__razor_helper_writer, Translate("Smartpage:Validation.Error.NeedEmail", "Skal være en email.")); 3039 3040 3041 #line default 3042 #line hidden 3043 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n </div>\r\n " + 3044 " <div"); 3045 3046 WriteLiteralTo(__razor_helper_writer, " class=\"input-group-btn\""); 3047 3048 WriteLiteralTo(__razor_helper_writer, ">\r\n <button"); 3049 3050 WriteLiteralTo(__razor_helper_writer, " class=\"btn btn-primary js-validate-form\""); 3051 3052 WriteLiteralTo(__razor_helper_writer, " type=\"submit\""); 3053 3054 WriteLiteralTo(__razor_helper_writer, ">"); 3055 3056 3057 #line 588 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 3058 WriteTo(__razor_helper_writer, Translate("Smartpage:NewsletterPopBox.SignUp", "Tilmeld")); 3059 3060 3061 #line default 3062 #line hidden 3063 WriteLiteralTo(__razor_helper_writer, "</button>\r\n </div>\r\n </div>\r\n " + 3064 " </form>\r\n </div>\r\n </div>\r\n"); 3065 3066 3067 #line 594 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 3068 } 3069 3070 3071 #line default 3072 #line hidden 3073 }); 3074 3075 #line 595 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 3076 } 3077 #line default 3078 #line hidden 3079 3080 3081 #line 598 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 3082 public RazorEngine.Templating.TemplateWriter RenderUSP(string position) 3083 { 3084 #line default 3085 #line hidden 3086 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 3087 3088 #line 599 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 3089 3090 var usps = GetLoop("Item.Area.USP"); 3091 if (usps.Any()) 3092 { 3093 3094 3095 #line default 3096 #line hidden 3097 WriteLiteralTo(__razor_helper_writer, " <ul"); 3098 3099 WriteLiteralTo(__razor_helper_writer, " class=\"list-inline usp-list\""); 3100 3101 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 3102 3103 3104 #line 604 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 3105 3106 3107 #line default 3108 #line hidden 3109 3110 #line 604 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 3111 foreach (var usp in GetLoop("Item.Area.USP")) 3112 { 3113 string icon = usp.GetString("Item.Area.USP.Icon"); 3114 string text = usp.GetString("Item.Area.USP.Text"); 3115 string link = usp.GetString("Item.Area.USP.Link"); 3116 string hiddenMobile = usp.GetBoolean("Item.Area.USP.HiddenMobile") ? "hidden-mobile" : ""; 3117 3118 3119 //show in different positions 3120 bool displayHeader = position == "header" && usp.GetBoolean("Item.Area.USP.ShowTop") ? displayHeader = true : false; 3121 bool displayFooter = position == "footer" && usp.GetBoolean("Item.Area.USP.ShowBottom") ? displayFooter = true : false; 3122 3123 3124 if (displayHeader || displayFooter) 3125 { 3126 3127 3128 #line default 3129 #line hidden 3130 WriteLiteralTo(__razor_helper_writer, " <li"); 3131 3132 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 32880), Tuple.Create("\"", 32918) 3133 , Tuple.Create(Tuple.Create("", 32888), Tuple.Create("list-inline-item", 32888), true) 3134 3135 #line 619 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 3136 , Tuple.Create(Tuple.Create(" ", 32904), Tuple.Create<System.Object, System.Int32>(hiddenMobile 3137 3138 #line default 3139 #line hidden 3140 , 32905), false) 3141 ); 3142 3143 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 3144 3145 3146 #line 620 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 3147 3148 3149 #line default 3150 #line hidden 3151 3152 #line 620 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 3153 if (link.Any()) 3154 { 3155 3156 3157 #line default 3158 #line hidden 3159 WriteLiteralTo(__razor_helper_writer, " <a"); 3160 3161 WriteLiteralTo(__razor_helper_writer, " class=\"list-inline-item\""); 3162 3163 WriteAttributeTo(__razor_helper_writer, "href", Tuple.Create(" href=\"", 33047), Tuple.Create("\"", 33059) 3164 3165 #line 622 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 3166 , Tuple.Create(Tuple.Create("", 33054), Tuple.Create<System.Object, System.Int32>(link 3167 3168 #line default 3169 #line hidden 3170 , 33054), false) 3171 ); 3172 3173 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 3174 3175 3176 #line 623 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 3177 3178 3179 #line default 3180 #line hidden 3181 3182 #line 623 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 3183 if (icon.Any()) 3184 { 3185 3186 3187 #line default 3188 #line hidden 3189 WriteLiteralTo(__razor_helper_writer, " <img"); 3190 3191 WriteAttributeTo(__razor_helper_writer, "src", Tuple.Create(" src=\"", 33188), Tuple.Create("\"", 33199) 3192 3193 #line 625 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 3194 , Tuple.Create(Tuple.Create("", 33194), Tuple.Create<System.Object, System.Int32>(icon 3195 3196 #line default 3197 #line hidden 3198 , 33194), false) 3199 ); 3200 3201 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 3202 3203 3204 #line 626 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 3205 } 3206 else 3207 { 3208 3209 3210 #line default 3211 #line hidden 3212 WriteLiteralTo(__razor_helper_writer, " <i"); 3213 3214 WriteLiteralTo(__razor_helper_writer, " class=\"fa fa-check\""); 3215 3216 WriteLiteralTo(__razor_helper_writer, " aria-hidden=\"true\""); 3217 3218 WriteLiteralTo(__razor_helper_writer, "></i>\r\n"); 3219 3220 3221 #line 630 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 3222 } 3223 3224 3225 #line default 3226 #line hidden 3227 WriteLiteralTo(__razor_helper_writer, " <span"); 3228 3229 WriteLiteralTo(__razor_helper_writer, " class=\"usp-text\""); 3230 3231 WriteLiteralTo(__razor_helper_writer, ">"); 3232 3233 3234 #line 631 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 3235 WriteTo(__razor_helper_writer, text); 3236 3237 3238 #line default 3239 #line hidden 3240 WriteLiteralTo(__razor_helper_writer, "</span>\r\n </a>\r\n"); 3241 3242 3243 #line 633 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 3244 } 3245 else 3246 { 3247 3248 3249 #line default 3250 #line hidden 3251 WriteLiteralTo(__razor_helper_writer, " <span"); 3252 3253 WriteLiteralTo(__razor_helper_writer, " class=\"list-inline-item\""); 3254 3255 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 3256 3257 3258 #line 637 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 3259 3260 3261 #line default 3262 #line hidden 3263 3264 #line 637 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 3265 if (icon.Any()) 3266 { 3267 3268 3269 #line default 3270 #line hidden 3271 WriteLiteralTo(__razor_helper_writer, " <img"); 3272 3273 WriteAttributeTo(__razor_helper_writer, "src", Tuple.Create(" src=\"", 33803), Tuple.Create("\"", 33814) 3274 3275 #line 639 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 3276 , Tuple.Create(Tuple.Create("", 33809), Tuple.Create<System.Object, System.Int32>(icon 3277 3278 #line default 3279 #line hidden 3280 , 33809), false) 3281 ); 3282 3283 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 3284 3285 3286 #line 640 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 3287 } 3288 else 3289 { 3290 3291 3292 #line default 3293 #line hidden 3294 WriteLiteralTo(__razor_helper_writer, " <i"); 3295 3296 WriteLiteralTo(__razor_helper_writer, " class=\"fa fa-check\""); 3297 3298 WriteLiteralTo(__razor_helper_writer, " aria-hidden=\"true\""); 3299 3300 WriteLiteralTo(__razor_helper_writer, "></i>\r\n"); 3301 3302 3303 #line 644 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 3304 } 3305 3306 3307 #line default 3308 #line hidden 3309 WriteLiteralTo(__razor_helper_writer, " <span"); 3310 3311 WriteLiteralTo(__razor_helper_writer, " class=\"usp-text\""); 3312 3313 WriteLiteralTo(__razor_helper_writer, ">"); 3314 3315 3316 #line 645 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 3317 WriteTo(__razor_helper_writer, text); 3318 3319 3320 #line default 3321 #line hidden 3322 WriteLiteralTo(__razor_helper_writer, "</span>\r\n </span>\r\n"); 3323 3324 3325 #line 647 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 3326 } 3327 3328 3329 #line default 3330 #line hidden 3331 WriteLiteralTo(__razor_helper_writer, " </li>\r\n"); 3332 3333 3334 #line 649 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 3335 } 3336 3337 3338 } 3339 3340 3341 #line default 3342 #line hidden 3343 WriteLiteralTo(__razor_helper_writer, " </ul>\r\n"); 3344 3345 3346 #line 654 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 3347 } 3348 3349 3350 #line default 3351 #line hidden 3352 }); 3353 3354 #line 655 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 3355 } 3356 #line default 3357 #line hidden 3358 3359 3360 #line 659 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 3361 public RazorEngine.Templating.TemplateWriter RenderStandardInstantProductSearchTemplates() 3362 { 3363 #line default 3364 #line hidden 3365 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 3366 3367 #line 660 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 3368 3369 var searchPageUrl = String.Format("/Default.aspx?id={0}", Dynamicweb.Core.Converter.ToString(Pageview.Area.Item["SearchPage"])) + "&q="; 3370 3371 3372 #line default 3373 #line hidden 3374 WriteLiteralTo(__razor_helper_writer, " <script"); 3375 3376 WriteLiteralTo(__razor_helper_writer, " id=\"product-instant-search-header-template\""); 3377 3378 WriteLiteralTo(__razor_helper_writer, " type=\"text/x-handlebars-template\""); 3379 3380 WriteLiteralTo(__razor_helper_writer, ">\r\n <header class=\"typeahead-header\">"); 3381 3382 3383 #line 663 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 3384 WriteTo(__razor_helper_writer, Translate("Smartpage:Search.Header.Label", "Søgeresultater")); 3385 3386 3387 #line default 3388 #line hidden 3389 WriteLiteralTo(__razor_helper_writer, "</header>\r\n </script>\r\n"); 3390 3391 3392 #line 665 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 3393 3394 3395 3396 #line default 3397 #line hidden 3398 WriteLiteralTo(__razor_helper_writer, " <script"); 3399 3400 WriteLiteralTo(__razor_helper_writer, " id=\"product-instant-search-footer-template\""); 3401 3402 WriteLiteralTo(__razor_helper_writer, " type=\"text/x-handlebars-template\""); 3403 3404 WriteLiteralTo(__razor_helper_writer, ">\r\n <footer class=\"typeahead-footer\">\r\n <a href=\""); 3405 3406 3407 #line 668 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 3408 WriteTo(__razor_helper_writer, searchPageUrl); 3409 3410 3411 #line default 3412 #line hidden 3413 WriteLiteralTo(__razor_helper_writer, "{{query}}\">"); 3414 3415 3416 #line 668 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 3417 WriteTo(__razor_helper_writer, Translate("Smartpage:Search.Footer.Label", "Vis alle resultater for")); 3418 3419 3420 #line default 3421 #line hidden 3422 WriteLiteralTo(__razor_helper_writer, " {{query}}</a>\r\n </footer>\r\n </script>\r\n"); 3423 3424 3425 #line 671 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 3426 3427 3428 3429 #line default 3430 #line hidden 3431 WriteLiteralTo(__razor_helper_writer, " <script"); 3432 3433 WriteLiteralTo(__razor_helper_writer, " id=\"product-instant-search-empty-template\""); 3434 3435 WriteLiteralTo(__razor_helper_writer, " type=\"text/x-handlebars-template\""); 3436 3437 WriteLiteralTo(__razor_helper_writer, ">\r\n <div>"); 3438 3439 3440 #line 673 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 3441 WriteTo(__razor_helper_writer, Translate("Smartpage:Search.EmptySearch", "Søgningen gav ingen resultater")); 3442 3443 3444 #line default 3445 #line hidden 3446 WriteLiteralTo(__razor_helper_writer, "</div>\r\n </script>\r\n"); 3447 3448 3449 #line 675 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 3450 3451 3452 3453 #line default 3454 #line hidden 3455 WriteLiteralTo(__razor_helper_writer, " <script"); 3456 3457 WriteLiteralTo(__razor_helper_writer, " id=\"product-instant-search-suggestion-template\""); 3458 3459 WriteLiteralTo(__razor_helper_writer, " type=\"text/x-handlebars-template\""); 3460 3461 WriteLiteralTo(__razor_helper_writer, ">\r\n <a href=\"{{url}}\" class=\"product-instant-search-item\">\r\n <s" + 3462 "pan class=\"\">{{name}}</span>\r\n "); 3463 3464 WriteLiteralTo(__razor_helper_writer, "\r\n "); 3465 3466 WriteLiteralTo(__razor_helper_writer, "\r\n </a>\r\n </script>\r\n"); 3467 3468 3469 #line 683 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 3470 3471 3472 #line default 3473 #line hidden 3474 }); 3475 3476 #line 683 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 3477 } 3478 #line default 3479 #line hidden 3480 3481 3482 #line 684 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 3483 public RazorEngine.Templating.TemplateWriter RenderInstantProductSearchForm(string btnText = null, string searchFieldPlaceholder = null) 3484 { 3485 #line default 3486 #line hidden 3487 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 3488 3489 #line 685 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 3490 3491 int id = Dynamicweb.Core.Converter.ToInt32(Pageview.Area.Item["SearchPage"]); 3492 3493 string placeholder = searchFieldPlaceholder ?? Translate("Smartpage:Search.WriteSearch", "Søg efter produkt"); 3494 3495 3496 3497 #line default 3498 #line hidden 3499 WriteLiteralTo(__razor_helper_writer, " <form"); 3500 3501 WriteLiteralTo(__razor_helper_writer, " method=\"get\""); 3502 3503 WriteLiteralTo(__razor_helper_writer, " class=\"search-form\""); 3504 3505 WriteLiteralTo(__razor_helper_writer, " action=\"/Default.aspx\""); 3506 3507 WriteLiteralTo(__razor_helper_writer, ">\r\n\r\n <input"); 3508 3509 WriteLiteralTo(__razor_helper_writer, " type=\"hidden\""); 3510 3511 WriteLiteralTo(__razor_helper_writer, " name=\"id\""); 3512 3513 WriteAttributeTo(__razor_helper_writer, "value", Tuple.Create(" value=\"", 36190), Tuple.Create("\"", 36201) 3514 3515 #line 692 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 3516 , Tuple.Create(Tuple.Create("", 36198), Tuple.Create<System.Object, System.Int32>(id 3517 3518 #line default 3519 #line hidden 3520 , 36198), false) 3521 ); 3522 3523 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 3524 3525 WriteLiteralTo(__razor_helper_writer, " class=\"search-input-wrapper\""); 3526 3527 WriteLiteralTo(__razor_helper_writer, ">\r\n\r\n <input"); 3528 3529 WriteLiteralTo(__razor_helper_writer, " type=\"search\""); 3530 3531 WriteLiteralTo(__razor_helper_writer, " "); 3532 3533 WriteLiteralTo(__razor_helper_writer, "\r\n class=\"js-typeahead-control input-search\" "); 3534 3535 WriteLiteralTo(__razor_helper_writer, "\r\n name=\"q\" "); 3536 3537 WriteLiteralTo(__razor_helper_writer, "\r\n value=\""); 3538 3539 3540 #line 698 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 3541 WriteTo(__razor_helper_writer, Dynamicweb.Context.Current.Request.GetString("q")); 3542 3543 3544 #line default 3545 #line hidden 3546 WriteLiteralTo(__razor_helper_writer, "\"\r\n placeholder=\""); 3547 3548 3549 #line 699 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 3550 WriteTo(__razor_helper_writer, placeholder); 3551 3552 3553 #line default 3554 #line hidden 3555 WriteLiteralTo(__razor_helper_writer, "\" "); 3556 3557 WriteLiteralTo(__razor_helper_writer, "\r\n data-minlength=\""); 3558 3559 3560 #line 700 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 3561 WriteTo(__razor_helper_writer, Dynamicweb.Core.Converter.ToInt32(Pageview.Area.Item["ProductSearchTypeaheadMinimumLength"])); 3562 3563 3564 #line default 3565 #line hidden 3566 WriteLiteralTo(__razor_helper_writer, "\" "); 3567 3568 WriteLiteralTo(__razor_helper_writer, "\r\n data-hint=\""); 3569 3570 3571 #line 701 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 3572 WriteTo(__razor_helper_writer, Dynamicweb.Core.Converter.ToBoolean(Pageview.Area.Item["ProductSearchTypeaheadShowHint"])); 3573 3574 3575 #line default 3576 #line hidden 3577 WriteLiteralTo(__razor_helper_writer, "\" "); 3578 3579 WriteLiteralTo(__razor_helper_writer, "\r\n data-highlight=\""); 3580 3581 3582 #line 702 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 3583 WriteTo(__razor_helper_writer, Dynamicweb.Core.Converter.ToBoolean(Pageview.Area.Item["ProductSearchTypeaheadHighlight"])); 3584 3585 3586 #line default 3587 #line hidden 3588 WriteLiteralTo(__razor_helper_writer, "\" "); 3589 3590 WriteLiteralTo(__razor_helper_writer, "\r\n data-suggestion-limit=\""); 3591 3592 3593 #line 703 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 3594 WriteTo(__razor_helper_writer, Dynamicweb.Core.Converter.ToInt32(Pageview.Area.Item["ProductSearchTypeaheadResultLimit"])); 3595 3596 3597 #line default 3598 #line hidden 3599 WriteLiteralTo(__razor_helper_writer, "\" "); 3600 3601 WriteLiteralTo(__razor_helper_writer, "\r\n data-suggestion-limit-param-name=\"limit\" "); 3602 3603 WriteLiteralTo(__razor_helper_writer, "\r\n data-display-property=\"name\" "); 3604 3605 WriteLiteralTo(__razor_helper_writer, "\r\n data-load-indicator-selector=\"\" "); 3606 3607 WriteLiteralTo(__razor_helper_writer, "\r\n data-remote-url=\""); 3608 3609 3610 #line 707 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 3611 WriteTo(__razor_helper_writer, String.Format("/Default.aspx?id={0}", Pageview.Area.Item["TypeAheadSearch"].ToString())); 3612 3613 3614 #line default 3615 #line hidden 3616 WriteLiteralTo(__razor_helper_writer, "\" "); 3617 3618 WriteLiteralTo(__razor_helper_writer, "\r\n data-empty-template=\"product-instant-search-empty-template\" " + 3619 ""); 3620 3621 WriteLiteralTo(__razor_helper_writer, "\r\n data-header-template=\"product-instant-search-header-template" + 3622 "\" "); 3623 3624 WriteLiteralTo(__razor_helper_writer, "\r\n data-suggestion-template=\"product-instant-search-suggestion-" + 3625 "template\" "); 3626 3627 WriteLiteralTo(__razor_helper_writer, "\r\n data-footer-template=\"product-instant-search-footer-template" + 3628 "\" "); 3629 3630 WriteLiteralTo(__razor_helper_writer, "\r\n data-navigate-on-select=\""); 3631 3632 3633 #line 712 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 3634 WriteTo(__razor_helper_writer, Dynamicweb.Core.Converter.ToBoolean(Pageview.Area.Item["ProductSearchTypeaheadNavigateOnSelect"])); 3635 3636 3637 #line default 3638 #line hidden 3639 WriteLiteralTo(__razor_helper_writer, "\" /> "); 3640 3641 WriteLiteralTo(__razor_helper_writer, "\r\n\r\n <i"); 3642 3643 WriteLiteralTo(__razor_helper_writer, " class=\"typeahead-load-indicator fa fa-spinner fa-spin\""); 3644 3645 WriteLiteralTo(__razor_helper_writer, " aria-hidden=\"true\""); 3646 3647 WriteLiteralTo(__razor_helper_writer, "></i>\r\n <button"); 3648 3649 WriteLiteralTo(__razor_helper_writer, " class=\"btn btn-search\""); 3650 3651 WriteLiteralTo(__razor_helper_writer, " type=\"submit\""); 3652 3653 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 3654 3655 3656 #line 716 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 3657 3658 3659 #line default 3660 #line hidden 3661 3662 #line 716 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 3663 if(btnText != null) 3664 { 3665 3666 3667 #line default 3668 #line hidden 3669 3670 #line 718 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 3671 WriteTo(__razor_helper_writer, btnText); 3672 3673 3674 #line default 3675 #line hidden 3676 3677 #line 718 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 3678 3679 } 3680 else 3681 { 3682 3683 3684 #line default 3685 #line hidden 3686 WriteLiteralTo(__razor_helper_writer, " <i"); 3687 3688 WriteLiteralTo(__razor_helper_writer, " class=\"fa fa-search\""); 3689 3690 WriteLiteralTo(__razor_helper_writer, " aria-hidden=\"true\""); 3691 3692 WriteLiteralTo(__razor_helper_writer, "></i>\r\n"); 3693 3694 3695 #line 723 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 3696 } 3697 3698 3699 #line default 3700 #line hidden 3701 WriteLiteralTo(__razor_helper_writer, " </button>\r\n </div>\r\n </form>\r\n"); 3702 3703 3704 #line 727 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 3705 3706 3707 #line default 3708 #line hidden 3709 }); 3710 3711 #line 727 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 3712 } 3713 #line default 3714 #line hidden 3715 3716 3717 #line 728 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 3718 public RazorEngine.Templating.TemplateWriter RenderFacebookScript() 3719 { 3720 #line default 3721 #line hidden 3722 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 3723 3724 #line 729 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 3725 3726 3727 3728 #line default 3729 #line hidden 3730 WriteLiteralTo(__razor_helper_writer, " <div"); 3731 3732 WriteLiteralTo(__razor_helper_writer, " id=\"fb-root\""); 3733 3734 WriteLiteralTo(__razor_helper_writer, "></div>\r\n"); 3735 3736 WriteLiteralTo(__razor_helper_writer, @" <script> 3737 (function (d, s, id) { 3738 var js, fjs = d.getElementsByTagName(s)[0]; 3739 if (d.getElementById(id)) return; 3740 js = d.createElement(s); js.id = id; 3741 js.src = ""//connect.facebook.net/da_DK/sdk.js#xfbml=1&version=v2.8""; 3742 fjs.parentNode.insertBefore(js, fjs); 3743 }(document, 'script', 'facebook-jssdk'));</script> 3744 "); 3745 3746 3747 #line 739 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 3748 3749 3750 #line default 3751 #line hidden 3752 }); 3753 3754 #line 739 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 3755 } 3756 #line default 3757 #line hidden 3758 3759 3760 #line 743 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 3761 public RazorEngine.Templating.TemplateWriter RenderFacebookShare() 3762 { 3763 #line default 3764 #line hidden 3765 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 3766 3767 #line 744 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 3768 3769 bool sharePageFB = GetBoolean("Item.Page.SharePageOnFacebook"); 3770 var pageViewUrlForSharing = Dynamicweb.Environment.Helpers.LinkHelper.GetHttpDomain() + Pageview.SearchFriendlyUrl; 3771 3772 if (sharePageFB) 3773 { 3774 3775 3776 #line default 3777 #line hidden 3778 WriteLiteralTo(__razor_helper_writer, " <div"); 3779 3780 WriteLiteralTo(__razor_helper_writer, " class=\"fb-share-button\""); 3781 3782 WriteLiteralTo(__razor_helper_writer, " data-href=\""); 3783 3784 3785 #line 750 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 3786 WriteTo(__razor_helper_writer, pageViewUrlForSharing); 3787 3788 3789 #line default 3790 #line hidden 3791 WriteLiteralTo(__razor_helper_writer, "\""); 3792 3793 WriteLiteralTo(__razor_helper_writer, " data-layout=\"button\""); 3794 3795 WriteLiteralTo(__razor_helper_writer, " data-size=\"small\""); 3796 3797 WriteLiteralTo(__razor_helper_writer, " data-mobile-iframe=\"true\""); 3798 3799 WriteLiteralTo(__razor_helper_writer, ">\r\n <a"); 3800 3801 WriteLiteralTo(__razor_helper_writer, " class=\"fb-xfbml-parse-ignore\""); 3802 3803 WriteLiteralTo(__razor_helper_writer, " target=\"_blank\""); 3804 3805 WriteLiteralTo(__razor_helper_writer, " href=\"https://www.facebook.com/sharer/sharer.php?u=https%3A%2F%2Fdevelopers.face" + 3806 "book.com%2Fdocs%2Fplugins%2F&amp;src=sdkpreparse\""); 3807 3808 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 3809 3810 WriteLiteralTo(__razor_helper_writer, " "); 3811 3812 3813 #line 752 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 3814 WriteTo(__razor_helper_writer, Translate("Smartpage:SocialMedia.Share", "Del")); 3815 3816 3817 #line default 3818 #line hidden 3819 WriteLiteralTo(__razor_helper_writer, "\r\n </a>\r\n </div>\r\n"); 3820 3821 3822 #line 755 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 3823 } 3824 3825 3826 #line default 3827 #line hidden 3828 }); 3829 3830 #line 756 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 3831 } 3832 #line default 3833 #line hidden 3834 3835 3836 #line 811 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 3837 public RazorEngine.Templating.TemplateWriter RenderLanguageList(string display = "Name") 3838 { 3839 #line default 3840 #line hidden 3841 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 3842 3843 #line 812 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 3844 3845 if (Converter.ToBoolean(Pageview.Area.Item["LanguageActive"])) 3846 { 3847 var languages = GetLoop("Languages"); 3848 if (languages.Any()) 3849 { 3850 3851 3852 #line default 3853 #line hidden 3854 WriteLiteralTo(__razor_helper_writer, " <ul"); 3855 3856 WriteLiteralTo(__razor_helper_writer, " class=\"nav-list\""); 3857 3858 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 3859 3860 3861 #line 819 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 3862 3863 3864 #line default 3865 #line hidden 3866 3867 #line 819 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 3868 foreach (LoopItem language in languages) 3869 { 3870 var qs = HttpUtility.ParseQueryString(HttpContext.Current.Request.QueryString.ToString()); 3871 qs.Set("ID", language.GetString("PageID")); 3872 3873 var link = "/Default.aspx?" + qs.ToString(); 3874 var name = language.GetValue(display); 3875 3876 if (display == "TwoLetterISOLanguageName") 3877 { 3878 System.Globalization.CultureInfo culture = new System.Globalization.CultureInfo(language.GetString("Culture")); 3879 name = culture.TwoLetterISOLanguageName; 3880 } 3881 else if (display == "TwoLetterISOCountryName") 3882 { 3883 name = language.GetString("Culture").Split('-')[1]; 3884 } 3885 3886 3887 3888 #line default 3889 #line hidden 3890 WriteLiteralTo(__razor_helper_writer, " <li"); 3891 3892 WriteLiteralTo(__razor_helper_writer, " class=\"nav-item\""); 3893 3894 WriteLiteralTo(__razor_helper_writer, ">\r\n <a"); 3895 3896 WriteAttributeTo(__razor_helper_writer, "href", Tuple.Create(" href=\"", 44980), Tuple.Create("\"", 44992) 3897 3898 #line 838 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 3899 , Tuple.Create(Tuple.Create("", 44987), Tuple.Create<System.Object, System.Int32>(link 3900 3901 #line default 3902 #line hidden 3903 , 44987), false) 3904 ); 3905 3906 WriteLiteralTo(__razor_helper_writer, " class=\"nav-link\""); 3907 3908 WriteAttributeTo(__razor_helper_writer, "title", Tuple.Create(" title=\"", 45010), Tuple.Create("\"", 45047) 3909 3910 #line 838 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 3911 , Tuple.Create(Tuple.Create("", 45018), Tuple.Create<System.Object, System.Int32>(HttpUtility.HtmlEncode(name) 3912 3913 #line default 3914 #line hidden 3915 , 45018), false) 3916 ); 3917 3918 WriteLiteralTo(__razor_helper_writer, ">"); 3919 3920 3921 #line 838 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 3922 WriteTo(__razor_helper_writer, name); 3923 3924 3925 #line default 3926 #line hidden 3927 WriteLiteralTo(__razor_helper_writer, "</a>\r\n </li>\r\n"); 3928 3929 3930 #line 840 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 3931 } 3932 3933 3934 #line default 3935 #line hidden 3936 WriteLiteralTo(__razor_helper_writer, " </ul>\r\n"); 3937 3938 3939 #line 842 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 3940 } 3941 } 3942 3943 3944 #line default 3945 #line hidden 3946 }); 3947 3948 #line 844 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 3949 } 3950 #line default 3951 #line hidden 3952 3953 3954 #line 845 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 3955 public RazorEngine.Templating.TemplateWriter RenderLanguageDropdown(string display = "Name", string displayLabel = "") 3956 { 3957 #line default 3958 #line hidden 3959 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 3960 3961 #line 846 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 3962 3963 if (Converter.ToBoolean(Pageview.Area.Item["LanguageActive"])) 3964 { 3965 if (string.IsNullOrEmpty(displayLabel)) { 3966 displayLabel = Translate("Smartpage.Language.Selector.Label", "Vælg sprog"); 3967 } 3968 3969 var languages = GetLoop("Languages"); 3970 if (languages.Any()) 3971 { 3972 3973 3974 #line default 3975 #line hidden 3976 WriteLiteralTo(__razor_helper_writer, " <div"); 3977 3978 WriteLiteralTo(__razor_helper_writer, " class=\"dropdown\""); 3979 3980 WriteLiteralTo(__razor_helper_writer, ">\r\n <button"); 3981 3982 WriteLiteralTo(__razor_helper_writer, " type=\"button\""); 3983 3984 WriteLiteralTo(__razor_helper_writer, " id=\"langDropdown\""); 3985 3986 WriteLiteralTo(__razor_helper_writer, " class=\"dropdown-button js-toggle\""); 3987 3988 WriteLiteralTo(__razor_helper_writer, " data-target=\"#langDrop\""); 3989 3990 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 3991 3992 WriteLiteralTo(__razor_helper_writer, " "); 3993 3994 3995 #line 858 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 3996 WriteTo(__razor_helper_writer, displayLabel); 3997 3998 3999 #line default 4000 #line hidden 4001 WriteLiteralTo(__razor_helper_writer, " <i"); 4002 4003 WriteLiteralTo(__razor_helper_writer, " class=\"fa fa-angle-down\""); 4004 4005 WriteLiteralTo(__razor_helper_writer, " aria-hidden=\"true\""); 4006 4007 WriteLiteralTo(__razor_helper_writer, "></i>\r\n </button>\r\n <div"); 4008 4009 WriteLiteralTo(__razor_helper_writer, " id=\"langDrop\""); 4010 4011 WriteLiteralTo(__razor_helper_writer, " class=\"dropdown-menu\""); 4012 4013 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 4014 4015 WriteLiteralTo(__razor_helper_writer, " "); 4016 4017 4018 #line 861 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 4019 WriteTo(__razor_helper_writer, RenderLanguageList(display)); 4020 4021 4022 #line default 4023 #line hidden 4024 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n </div>\r\n"); 4025 4026 4027 #line 864 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 4028 } 4029 } 4030 4031 4032 #line default 4033 #line hidden 4034 }); 4035 4036 #line 866 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 4037 } 4038 #line default 4039 #line hidden 4040 4041 4042 #line 867 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 4043 public RazorEngine.Templating.TemplateWriter RenderHeaderHrefLang() 4044 { 4045 #line default 4046 #line hidden 4047 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 4048 4049 #line 868 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 4050 4051 if (Converter.ToBoolean(Pageview.Area.Item["LanguageActive"])) 4052 { 4053 var languages = GetLoop("Languages"); 4054 if (languages.Any()) 4055 { 4056 foreach (var language in languages) 4057 { 4058 var domain = Dynamicweb.Environment.Helpers.LinkHelper.GetHttpDomain(); 4059 4060 // Overwrite is we have a primary domain set on the area 4061 if (!string.IsNullOrEmpty(language.GetString("PrimaryDomain"))) 4062 { 4063 domain = HttpContext.Current.Request.IsSecureConnection ? "https://" : "http://"; 4064 domain += language.GetString("PrimaryDomain"); 4065 } 4066 4067 var qs = HttpUtility.ParseQueryString(HttpContext.Current.Request.QueryString.ToString()); 4068 qs.Set("ID", language.GetString("PageID")); 4069 var page = new Dynamicweb.Content.PageService().GetPage(language.GetInteger("FirstActivePageID")); 4070 string url = domain + Dynamicweb.Frontend.SearchEngineFriendlyURLs.GetFriendlyUrl(language.GetInteger("PageID")); 4071 4072 4073 foreach (string key in qs) 4074 { 4075 if (key == null || key.Equals("ID", StringComparison.InvariantCultureIgnoreCase)) 4076 { 4077 continue; 4078 } 4079 4080 var urlFromHandler = Dynamicweb.Frontend.UrlProviders.Handler.GetUrlFromQueryString(key, qs[key], page.Area.EcomLanguageId); 4081 if (Dynamicweb.Frontend.SearchEngineFriendlyURLs.UseExtensionLessUrls) 4082 { 4083 url += urlFromHandler.Replace(".aspx", ""); 4084 } 4085 else 4086 { 4087 url = url.Replace(".aspx", urlFromHandler); 4088 } 4089 } 4090 4091 4092 4093 #line default 4094 #line hidden 4095 WriteLiteralTo(__razor_helper_writer, " <link"); 4096 4097 WriteLiteralTo(__razor_helper_writer, " rel=\"alternate\""); 4098 4099 WriteAttributeTo(__razor_helper_writer, "hreflang", Tuple.Create(" hreflang=\'", 47797), Tuple.Create("\'", 47851) 4100 4101 #line 909 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 4102 , Tuple.Create(Tuple.Create("", 47808), Tuple.Create<System.Object, System.Int32>(GetHrefLang(language.GetString("Culture")) 4103 4104 #line default 4105 #line hidden 4106 , 47808), false) 4107 ); 4108 4109 WriteAttributeTo(__razor_helper_writer, "href", Tuple.Create(" href=\"", 47852), Tuple.Create("\"", 47863) 4110 4111 #line 909 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 4112 , Tuple.Create(Tuple.Create("", 47859), Tuple.Create<System.Object, System.Int32>(url 4113 4114 #line default 4115 #line hidden 4116 , 47859), false) 4117 ); 4118 4119 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 4120 4121 4122 #line 910 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 4123 } 4124 } 4125 } 4126 4127 4128 #line default 4129 #line hidden 4130 }); 4131 4132 #line 913 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 4133 } 4134 #line default 4135 #line hidden 4136 4137 4138 #line 914 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 4139 4140 string GetHrefLang(string cultureName) 4141 { 4142 var hrefLang = cultureName; 4143 switch (cultureName) 4144 { 4145 case "en-GB": 4146 hrefLang = "en"; 4147 break; 4148 } 4149 return hrefLang; 4150 } 4151 4152 #line default 4153 #line hidden 4154 4155 4156 #line 930 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 4157 public RazorEngine.Templating.TemplateWriter RenderNewsletterSubscribeForm() 4158 { 4159 #line default 4160 #line hidden 4161 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 4162 4163 #line 931 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 4164 4165 4166 4167 #line default 4168 #line hidden 4169 WriteLiteralTo(__razor_helper_writer, " <form"); 4170 4171 WriteLiteralTo(__razor_helper_writer, " class=\"newsletter-signup-form\""); 4172 4173 WriteLiteralTo(__razor_helper_writer, " method=\"post\""); 4174 4175 WriteAttributeTo(__razor_helper_writer, "action", Tuple.Create(" action=\'", 48451), Tuple.Create("\'", 48505) 4176 4177 #line 932 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 4178 , Tuple.Create(Tuple.Create("", 48460), Tuple.Create<System.Object, System.Int32>(Pageview.Area.Item["NewsletterSignupAction"] 4179 4180 #line default 4181 #line hidden 4182 , 48460), false) 4183 ); 4184 4185 WriteLiteralTo(__razor_helper_writer, ">\r\n <input"); 4186 4187 WriteLiteralTo(__razor_helper_writer, " type=\"hidden\""); 4188 4189 WriteLiteralTo(__razor_helper_writer, " name=\"UserManagement_Form_EmailAllowed\""); 4190 4191 WriteLiteralTo(__razor_helper_writer, " value=\"True\""); 4192 4193 WriteLiteralTo(__razor_helper_writer, ">\r\n <input"); 4194 4195 WriteLiteralTo(__razor_helper_writer, " type=\"hidden\""); 4196 4197 WriteLiteralTo(__razor_helper_writer, " name=\"UserManagement_Form_EmailAllowed_ApplyValue\""); 4198 4199 WriteLiteralTo(__razor_helper_writer, " value=\"True\""); 4200 4201 WriteLiteralTo(__razor_helper_writer, ">\r\n <input"); 4202 4203 WriteLiteralTo(__razor_helper_writer, " type=\"hidden\""); 4204 4205 WriteLiteralTo(__razor_helper_writer, " name=\"UserManagementForm\""); 4206 4207 WriteLiteralTo(__razor_helper_writer, " value=\"1\""); 4208 4209 WriteLiteralTo(__razor_helper_writer, ">\r\n <input"); 4210 4211 WriteLiteralTo(__razor_helper_writer, " type=\"hidden\""); 4212 4213 WriteLiteralTo(__razor_helper_writer, " name=\"UserManagementForm.DeleteImage\""); 4214 4215 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 4216 4217 WriteLiteralTo(__razor_helper_writer, " class=\"input-group text-center\""); 4218 4219 WriteLiteralTo(__razor_helper_writer, ">\r\n <input"); 4220 4221 WriteLiteralTo(__razor_helper_writer, " name=\"UserManagement_Form_Email\""); 4222 4223 WriteLiteralTo(__razor_helper_writer, " type=\"email\""); 4224 4225 WriteAttributeTo(__razor_helper_writer, "placeholder", Tuple.Create(" placeholder=\'", 48935), Tuple.Create("\'", 49017) 4226 4227 #line 938 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 4228 , Tuple.Create(Tuple.Create("", 48949), Tuple.Create<System.Object, System.Int32>(Translate("Smartpage:NewsletterPopbox.YourEmail", "E-mail adresse") 4229 4230 #line default 4231 #line hidden 4232 , 48949), false) 4233 ); 4234 4235 WriteLiteralTo(__razor_helper_writer, " class=\"form-control js-req js-email inverted\""); 4236 4237 WriteLiteralTo(__razor_helper_writer, " required=\"required\""); 4238 4239 WriteLiteralTo(__razor_helper_writer, ">\r\n <span"); 4240 4241 WriteLiteralTo(__razor_helper_writer, " class=\"input-group-btn\""); 4242 4243 WriteLiteralTo(__razor_helper_writer, ">\r\n <button"); 4244 4245 WriteLiteralTo(__razor_helper_writer, " class=\"btn btn-primary js-validate-form form-control\""); 4246 4247 WriteLiteralTo(__razor_helper_writer, " type=\"submit\""); 4248 4249 WriteLiteralTo(__razor_helper_writer, ">\r\n <i"); 4250 4251 WriteLiteralTo(__razor_helper_writer, " class=\"newsletter-busy fa fa-refresh fa-spin fa-fw\""); 4252 4253 WriteLiteralTo(__razor_helper_writer, " style=\"display:none\""); 4254 4255 WriteLiteralTo(__razor_helper_writer, "></i>\r\n <span"); 4256 4257 WriteLiteralTo(__razor_helper_writer, " class=\"lbl\""); 4258 4259 WriteLiteralTo(__razor_helper_writer, ">"); 4260 4261 4262 #line 942 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 4263 WriteTo(__razor_helper_writer, Translate("Smartpage:NewsletterPopBox.SignUp", "Tilmeld")); 4264 4265 4266 #line default 4267 #line hidden 4268 WriteLiteralTo(__razor_helper_writer, "</span>\r\n </button>\r\n </span>\r\n </div>\r\n " + 4269 "<div"); 4270 4271 WriteLiteralTo(__razor_helper_writer, " class=\"form-control-feedback alert alert-info display-none js-invalid-nofill\""); 4272 4273 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 4274 4275 WriteLiteralTo(__razor_helper_writer, " "); 4276 4277 4278 #line 947 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 4279 WriteTo(__razor_helper_writer, Translate("Smartpage:Validation.Error.NeedFill", "Skal udfyldes.")); 4280 4281 4282 #line default 4283 #line hidden 4284 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n <div"); 4285 4286 WriteLiteralTo(__razor_helper_writer, " class=\"form-control-feedback alert alert-info display-none js-invalid-email\""); 4287 4288 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 4289 4290 WriteLiteralTo(__razor_helper_writer, " "); 4291 4292 4293 #line 950 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 4294 WriteTo(__razor_helper_writer, Translate("Smartpage:Validation.Error.NeedEmail", "Skal være en email.")); 4295 4296 4297 #line default 4298 #line hidden 4299 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n \r\n <div"); 4300 4301 WriteLiteralTo(__razor_helper_writer, " class=\"form-control-feedback alert alert-info newsletter-fail display-none\""); 4302 4303 WriteLiteralTo(__razor_helper_writer, ">"); 4304 4305 4306 #line 953 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 4307 WriteTo(__razor_helper_writer, Translate("Smartpage:NewsletterPopBox.Error", "Fejl")); 4308 4309 4310 #line default 4311 #line hidden 4312 WriteLiteralTo(__razor_helper_writer, "</div>\r\n <div"); 4313 4314 WriteLiteralTo(__razor_helper_writer, " class=\"form-control-feedback alert alert-info newsletter-response-container disp" + 4315 "lay-none\""); 4316 4317 WriteLiteralTo(__razor_helper_writer, "></div>\r\n </form>\r\n"); 4318 4319 4320 #line 956 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 4321 4322 4323 #line default 4324 #line hidden 4325 }); 4326 4327 #line 956 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 4328 } 4329 #line default 4330 #line hidden 4331 4332 4333 #line 962 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 4334 public RazorEngine.Templating.TemplateWriter RenderFacebookPage(string pageUrl = null) 4335 { 4336 #line default 4337 #line hidden 4338 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 4339 4340 #line 963 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 4341 4342 var appId = !String.IsNullOrEmpty(Converter.ToString(Pageview.Area.Item["FacebookAppId"])) ? Converter.ToString(Pageview.Area.Item["FacebookAppId"]) : "[AppId is missing]"; 4343 pageUrl = !String.IsNullOrEmpty(pageUrl) ? pageUrl : Converter.ToString(Pageview.Area.Item["FacebookPageUrl"]); 4344 4345 4346 4347 #line default 4348 #line hidden 4349 WriteLiteralTo(__razor_helper_writer, " <div"); 4350 4351 WriteLiteralTo(__razor_helper_writer, " class=\"js-facebook-page\""); 4352 4353 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 4354 4355 WriteLiteralTo(__razor_helper_writer, " id=\"fb-root\""); 4356 4357 WriteLiteralTo(__razor_helper_writer, @"></div> 4358 <script> 4359 (function(d, s, id) { 4360 var js, fjs = d.getElementsByTagName(s)[0]; 4361 if (d.getElementById(id)) return; 4362 js = d.createElement(s); js.id = id; 4363 js.src = ""//connect.facebook.net/da_DK/sdk.js#xfbml=1&version=v2.9&appId="); 4364 4365 4366 #line 974 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 4367 WriteTo(__razor_helper_writer, appId); 4368 4369 4370 #line default 4371 #line hidden 4372 WriteLiteralTo(__razor_helper_writer, "\";\r\n fjs.parentNode.insertBefore(js, fjs);\r\n }(docu" + 4373 "ment, \'script\', \'facebook-jssdk\'));\r\n </script>\r\n <div"); 4374 4375 WriteLiteralTo(__razor_helper_writer, " class=\"fb-page\""); 4376 4377 WriteLiteralTo(__razor_helper_writer, " data-href=\""); 4378 4379 4380 #line 978 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 4381 WriteTo(__razor_helper_writer, pageUrl); 4382 4383 4384 #line default 4385 #line hidden 4386 WriteLiteralTo(__razor_helper_writer, "\""); 4387 4388 WriteLiteralTo(__razor_helper_writer, " data-tabs=\"timeline\""); 4389 4390 WriteLiteralTo(__razor_helper_writer, " data-small-header=\"true\""); 4391 4392 WriteLiteralTo(__razor_helper_writer, " data-adapt-container-width=\"true\""); 4393 4394 WriteLiteralTo(__razor_helper_writer, " data-hide-cover=\"false\""); 4395 4396 WriteLiteralTo(__razor_helper_writer, " data-show-facepile=\"true\""); 4397 4398 WriteLiteralTo(__razor_helper_writer, " data-height=\"300\""); 4399 4400 WriteLiteralTo(__razor_helper_writer, " data-width=\"500\""); 4401 4402 WriteLiteralTo(__razor_helper_writer, ">\r\n <blockquote"); 4403 4404 WriteAttributeTo(__razor_helper_writer, "cite", Tuple.Create(" cite=\"", 51464), Tuple.Create("\"", 51479) 4405 4406 #line 979 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 4407 , Tuple.Create(Tuple.Create("", 51471), Tuple.Create<System.Object, System.Int32>(pageUrl 4408 4409 #line default 4410 #line hidden 4411 , 51471), false) 4412 ); 4413 4414 WriteLiteralTo(__razor_helper_writer, " class=\"fb-xfbml-parse-ignore\""); 4415 4416 WriteLiteralTo(__razor_helper_writer, ">\r\n <a"); 4417 4418 WriteAttributeTo(__razor_helper_writer, "href", Tuple.Create(" href=\"", 51531), Tuple.Create("\"", 51546) 4419 4420 #line 980 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 4421 , Tuple.Create(Tuple.Create("", 51538), Tuple.Create<System.Object, System.Int32>(pageUrl 4422 4423 #line default 4424 #line hidden 4425 , 51538), false) 4426 ); 4427 4428 WriteLiteralTo(__razor_helper_writer, ">"); 4429 4430 4431 #line 980 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 4432 WriteTo(__razor_helper_writer, pageUrl); 4433 4434 4435 #line default 4436 #line hidden 4437 WriteLiteralTo(__razor_helper_writer, "</a>\r\n </blockquote>\r\n </div>\r\n </div>\r\n"); 4438 4439 4440 #line 984 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 4441 4442 4443 #line default 4444 #line hidden 4445 }); 4446 4447 #line 984 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 4448 } 4449 #line default 4450 #line hidden 4451 4452 4453 #line 1383 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 4454 public RazorEngine.Templating.TemplateWriter RenderBreadcrumbs() 4455 { 4456 #line default 4457 #line hidden 4458 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 4459 4460 #line 1384 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 4461 4462 if (Dynamicweb.Core.Converter.ToBoolean(Pageview.Area.Item["ShowBreadcrumbsOnWebsite"]) && (Pageview.Page.PropertyItem == null || !Dynamicweb.Core.Converter.ToBoolean(Pageview.Page.PropertyItem["DisableBreadcrumbsOnPage"]))) 4463 { 4464 string hiddenMobileClass = Dynamicweb.Core.Converter.ToBoolean(Pageview.Area.Item["ShowBreadcrumbsOnMobile"]) ? "" : "hidden-xs-down"; 4465 string prefix = Dynamicweb.Core.Converter.ToString(Pageview.Area.Item["BreadcrumbsPrefix"]); 4466 4467 4468 #line default 4469 #line hidden 4470 WriteLiteralTo(__razor_helper_writer, " <div"); 4471 4472 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 72731), Tuple.Create("\"", 72779) 4473 , Tuple.Create(Tuple.Create("", 72739), Tuple.Create("container", 72739), true) 4474 , Tuple.Create(Tuple.Create(" ", 72748), Tuple.Create("breadcrumbs", 72749), true) 4475 4476 #line 1389 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 4477 , Tuple.Create(Tuple.Create(" ", 72760), Tuple.Create<System.Object, System.Int32>(hiddenMobileClass 4478 4479 #line default 4480 #line hidden 4481 , 72761), false) 4482 ); 4483 4484 WriteLiteralTo(__razor_helper_writer, ">\r\n <ul"); 4485 4486 WriteLiteralTo(__razor_helper_writer, " class=\"breadcrumbs-list\""); 4487 4488 WriteLiteralTo(__razor_helper_writer, " itemscope=\"\""); 4489 4490 WriteLiteralTo(__razor_helper_writer, " itemtype=\"http://schema.org/BreadcrumbList\""); 4491 4492 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 4493 4494 4495 #line 1391 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 4496 4497 4498 #line default 4499 #line hidden 4500 4501 #line 1391 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 4502 if (!string.IsNullOrWhiteSpace(prefix)) 4503 { 4504 4505 4506 #line default 4507 #line hidden 4508 WriteLiteralTo(__razor_helper_writer, " <li"); 4509 4510 WriteLiteralTo(__razor_helper_writer, " class=\"pull-left\""); 4511 4512 WriteLiteralTo(__razor_helper_writer, ">"); 4513 4514 4515 #line 1393 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 4516 WriteTo(__razor_helper_writer, prefix); 4517 4518 4519 #line default 4520 #line hidden 4521 WriteLiteralTo(__razor_helper_writer, "&nbsp;&nbsp;</li>\r\n"); 4522 4523 4524 #line 1394 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 4525 } 4526 4527 4528 #line default 4529 #line hidden 4530 WriteLiteralTo(__razor_helper_writer, " "); 4531 4532 4533 #line 1395 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 4534 WriteTo(__razor_helper_writer, GetValue("DwNavigation(mainbreadcrumbs)")); 4535 4536 4537 #line default 4538 #line hidden 4539 WriteLiteralTo(__razor_helper_writer, "\r\n </ul>\r\n </div>\r\n"); 4540 4541 4542 #line 1398 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 4543 } 4544 4545 4546 #line default 4547 #line hidden 4548 }); 4549 4550 #line 1399 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 4551 } 4552 #line default 4553 #line hidden 4554 4555 4556 #line 1408 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 4557 public RazorEngine.Templating.TemplateWriter RenderProduct(LoopItem i, string gutter, string colSize, bool useGroupLink = true, string pageId = null) 4558 { 4559 #line default 4560 #line hidden 4561 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 4562 4563 #line 1409 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 4564 4565 var id = i.GetValue("Ecom:Product.ID"); 4566 var productLink = useGroupLink ? i.GetValue("Ecom:Product.LinkGroup.Clean") : i.GetValue("Ecom:Product.Link.Clean"); 4567 if (!string.IsNullOrEmpty(pageId)) 4568 { 4569 productLink = "/Default.aspx?Id=" + pageId; 4570 if (useGroupLink) 4571 { 4572 productLink += "&groupid=" + i.GetString("Ecom:Product.PrimaryOrFirstGroupID"); 4573 } 4574 productLink += "&ProductId=" + id; 4575 } 4576 string productName = i.GetString("Ecom:Product.Name"); 4577 string productImageClean = Converter.ToBoolean(Pageview.Area.Item["IsApRacing"]) ? i.GetString("Ecom:Product:Field.SpPerfAPImage") : i.GetString("Ecom:Product.PrimaryImage"); 4578 string productImage = string.IsNullOrEmpty(productImageClean) ? i.GetString("Ecom:Product.PrimaryImage") : productImageClean; 4579 if(productImage == "/Images/Products/missing.jpg") 4580 { 4581 productImage = "/admin/public/GetImage.ashx?Image=Files/Images/Products/" 4582 + i.GetString("Ecom:Product:Field.BoxNo").Replace(' ', '_') 4583 + (!string.IsNullOrEmpty(i.GetString("Ecom:Product:Field.SpPerfQuality")) ? "_" + i.GetString("Ecom:Product:Field.SpPerfQuality") : "") 4584 + ".jpg" 4585 + "&amp;Compression=75&amp;width=400&amp;height=350"; 4586 } 4587 bool service = i.GetInteger("Ecom:Product.Type") == 1; 4588 string productNameForAttribute = Dynamicweb.Core.Encoders.HtmlEncoder.HtmlEncode(productName); 4589 4590 4591 4592 #line default 4593 #line hidden 4594 WriteLiteralTo(__razor_helper_writer, " <div"); 4595 4596 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\'", 74940), Tuple.Create("\'", 74981) 4597 , Tuple.Create(Tuple.Create("", 74948), Tuple.Create("productlist-item", 74948), true) 4598 4599 #line 1435 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 4600 , Tuple.Create(Tuple.Create(" ", 74964), Tuple.Create<System.Object, System.Int32>(gutter 4601 4602 #line default 4603 #line hidden 4604 , 74965), false) 4605 4606 #line 1435 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 4607 , Tuple.Create(Tuple.Create(" ", 74972), Tuple.Create<System.Object, System.Int32>(colSize 4608 4609 #line default 4610 #line hidden 4611 , 74973), false) 4612 ); 4613 4614 WriteLiteralTo(__razor_helper_writer, ">\r\n <form"); 4615 4616 WriteLiteralTo(__razor_helper_writer, " method=\"post\""); 4617 4618 WriteLiteralTo(__razor_helper_writer, " class=\"js-ecom-product-form\""); 4619 4620 WriteLiteralTo(__razor_helper_writer, " autocomplete=\"off\""); 4621 4622 WriteLiteralTo(__razor_helper_writer, " data-disabled=\"false\""); 4623 4624 WriteLiteralTo(__razor_helper_writer, " data-check-stock=\'"); 4625 4626 4627 #line 1436 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 4628 WriteTo(__razor_helper_writer, Converter.ToString(Pageview.Area.Item["CheckStock"])); 4629 4630 4631 #line default 4632 #line hidden 4633 WriteLiteralTo(__razor_helper_writer, "\'"); 4634 4635 WriteLiteralTo(__razor_helper_writer, ">\r\n <input"); 4636 4637 WriteLiteralTo(__razor_helper_writer, " type=\"hidden\""); 4638 4639 WriteLiteralTo(__razor_helper_writer, " name=\"CartCmd\""); 4640 4641 WriteLiteralTo(__razor_helper_writer, " value=\"add\""); 4642 4643 WriteLiteralTo(__razor_helper_writer, ">\r\n <input"); 4644 4645 WriteLiteralTo(__razor_helper_writer, " type=\"hidden\""); 4646 4647 WriteLiteralTo(__razor_helper_writer, " name=\"ProductID\""); 4648 4649 WriteAttributeTo(__razor_helper_writer, "value", Tuple.Create(" value=\"", 75269), Tuple.Create("\"", 75308) 4650 4651 #line 1438 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 4652 , Tuple.Create(Tuple.Create("", 75277), Tuple.Create<System.Object, System.Int32>(i.GetValue(" ecom:product.id") 4653 4654 #line default 4655 #line hidden 4656 , 75277), false) 4657 ); 4658 4659 WriteLiteralTo(__razor_helper_writer, "=\"\">\r\n <div"); 4660 4661 WriteLiteralTo(__razor_helper_writer, " class=\"productlist-content\""); 4662 4663 WriteLiteralTo(__razor_helper_writer, ">\r\n <a"); 4664 4665 WriteAttributeTo(__razor_helper_writer, "href", Tuple.Create(" href=\"", 75380), Tuple.Create("\"", 75399) 4666 4667 #line 1440 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 4668 , Tuple.Create(Tuple.Create("", 75387), Tuple.Create<System.Object, System.Int32>(productLink 4669 4670 #line default 4671 #line hidden 4672 , 75387), false) 4673 ); 4674 4675 WriteAttributeTo(__razor_helper_writer, "title", Tuple.Create(" title=\"", 75400), Tuple.Create("\"", 75432) 4676 4677 #line 1440 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 4678 , Tuple.Create(Tuple.Create("", 75408), Tuple.Create<System.Object, System.Int32>(productNameForAttribute 4679 4680 #line default 4681 #line hidden 4682 , 75408), false) 4683 ); 4684 4685 WriteLiteralTo(__razor_helper_writer, " class=\"productlist-image-link\""); 4686 4687 WriteLiteralTo(__razor_helper_writer, ">\r\n <img"); 4688 4689 WriteLiteralTo(__razor_helper_writer, " class=\"img-fluid\""); 4690 4691 WriteAttributeTo(__razor_helper_writer, "alt", Tuple.Create(" alt=\"", 75509), Tuple.Create("\"", 75539) 4692 4693 #line 1441 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 4694 , Tuple.Create(Tuple.Create("", 75515), Tuple.Create<System.Object, System.Int32>(productNameForAttribute 4695 4696 #line default 4697 #line hidden 4698 , 75515), false) 4699 ); 4700 4701 WriteAttributeTo(__razor_helper_writer, "src", Tuple.Create(" src=\"", 75540), Tuple.Create("\"", 75559) 4702 4703 #line 1441 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 4704 , Tuple.Create(Tuple.Create("", 75546), Tuple.Create<System.Object, System.Int32>(productImage 4705 4706 #line default 4707 #line hidden 4708 , 75546), false) 4709 ); 4710 4711 WriteAttributeTo(__razor_helper_writer, "title", Tuple.Create(" title=\"", 75560), Tuple.Create("\"", 75592) 4712 4713 #line 1441 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 4714 , Tuple.Create(Tuple.Create("", 75568), Tuple.Create<System.Object, System.Int32>(productNameForAttribute 4715 4716 #line default 4717 #line hidden 4718 , 75568), false) 4719 ); 4720 4721 WriteAttributeTo(__razor_helper_writer, "onerror", Tuple.Create(" onerror=\"", 75593), Tuple.Create("\"", 75765) 4722 , Tuple.Create(Tuple.Create("", 75603), Tuple.Create("this.onerror=null;this.src=\'", 75603), true) 4723 4724 #line 1441 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 4725 , Tuple.Create(Tuple.Create("", 75631), Tuple.Create<System.Object, System.Int32>(" admin/public/getimage.ashx?image="Files/Images/Products/missing.jpg&amp;Compression=75&amp;width=400&amp;height=350&quot; 4726 4727 #line default 4728 #line hidden 4729 , 75631), false) 4730 , Tuple.Create(Tuple.Create("", 75757), Tuple.Create("\';&quot;", 75757), true) 4731 ); 4732 4733 WriteLiteralTo(__razor_helper_writer, ">\r\n </a>\r\n <a"); 4734 4735 WriteAttributeTo(__razor_helper_writer, "href", Tuple.Create(" href=\"", 75809), Tuple.Create("\"", 75828) 4736 4737 #line 1443 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 4738 , Tuple.Create(Tuple.Create("", 75816), Tuple.Create<System.Object, System.Int32>(productLink 4739 4740 #line default 4741 #line hidden 4742 , 75816), false) 4743 ); 4744 4745 WriteLiteralTo(__razor_helper_writer, " class=\"name\""); 4746 4747 WriteAttributeTo(__razor_helper_writer, "title", Tuple.Create(" title=\"", 75842), Tuple.Create("\"", 75874) 4748 4749 #line 1443 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 4750 , Tuple.Create(Tuple.Create("", 75850), Tuple.Create<System.Object, System.Int32>(productNameForAttribute 4751 4752 #line default 4753 #line hidden 4754 , 75850), false) 4755 ); 4756 4757 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 4758 4759 WriteLiteralTo(__razor_helper_writer, " "); 4760 4761 4762 #line 1444 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 4763 WriteTo(__razor_helper_writer, productNameForAttribute); 4764 4765 4766 #line default 4767 #line hidden 4768 WriteLiteralTo(__razor_helper_writer, "\r\n </a>\r\n"); 4769 4770 WriteLiteralTo(__razor_helper_writer, " "); 4771 4772 4773 #line 1446 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 4774 WriteTo(__razor_helper_writer, RenderProductPrice(false, i)); 4775 4776 4777 #line default 4778 #line hidden 4779 WriteLiteralTo(__razor_helper_writer, "\r\n"); 4780 4781 WriteLiteralTo(__razor_helper_writer, " "); 4782 4783 4784 #line 1447 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 4785 WriteTo(__razor_helper_writer, RenderProductPriceUnit(i)); 4786 4787 4788 #line default 4789 #line hidden 4790 WriteLiteralTo(__razor_helper_writer, "\r\n"); 4791 4792 WriteLiteralTo(__razor_helper_writer, " "); 4793 4794 4795 #line 1448 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 4796 WriteTo(__razor_helper_writer, RenderProductRibbon(i)); 4797 4798 4799 #line default 4800 #line hidden 4801 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 4802 4803 WriteLiteralTo(__razor_helper_writer, " "); 4804 4805 4806 #line 1450 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 4807 WriteTo(__razor_helper_writer, RenderProductListAddToCart(i)); 4808 4809 4810 #line default 4811 #line hidden 4812 WriteLiteralTo(__razor_helper_writer, "\r\n </form>\r\n </div>\r\n"); 4813 4814 4815 #line 1453 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 4816 4817 4818 #line default 4819 #line hidden 4820 }); 4821 4822 #line 1453 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 4823 } 4824 #line default 4825 #line hidden 4826 4827 4828 #line 1455 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 4829 public RazorEngine.Templating.TemplateWriter RenderProductListAddToCart(LoopItem i, bool isAddMulti = false) 4830 { 4831 #line default 4832 #line hidden 4833 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 4834 4835 #line 1456 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 4836 4837 var enableCart = Converter.ToBoolean(Pageview.Area.Item["EnableCart"]); 4838 var disablePurchase = i.GetBoolean("Ecom:Product:Field.Smartpage:SpDisablePurchase"); 4839 if (enableCart && !disablePurchase) 4840 { 4841 var enableVariant = false; 4842 var quantityColClass = isAddMulti ? "col-xs-24" : "col-xs-10"; 4843 4844 4845 4846 #line default 4847 #line hidden 4848 WriteLiteralTo(__razor_helper_writer, " <div"); 4849 4850 WriteLiteralTo(__razor_helper_writer, " class=\"row no-gutters js-input-spinner add-to-cart\""); 4851 4852 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 4853 4854 4855 #line 1465 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 4856 4857 4858 #line default 4859 #line hidden 4860 4861 #line 1465 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 4862 if (enableVariant && i.GetInteger("Ecom:Product.VariantCount") > 0) 4863 { 4864 4865 4866 #line default 4867 #line hidden 4868 4869 #line 1467 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 4870 4871 } 4872 else 4873 { 4874 4875 4876 #line default 4877 #line hidden 4878 WriteLiteralTo(__razor_helper_writer, " <div"); 4879 4880 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 76993), Tuple.Create("\"", 77018) 4881 4882 #line 1471 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 4883 , Tuple.Create(Tuple.Create("", 77001), Tuple.Create<System.Object, System.Int32>(quantityColClass 4884 4885 #line default 4886 #line hidden 4887 , 77001), false) 4888 ); 4889 4890 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 4891 4892 WriteLiteralTo(__razor_helper_writer, " "); 4893 4894 4895 #line 1472 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 4896 WriteTo(__razor_helper_writer, RenderChevrons(i, isAddMulti)); 4897 4898 4899 #line default 4900 #line hidden 4901 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 4902 4903 4904 #line 1474 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 4905 if (!isAddMulti) 4906 { 4907 4908 4909 #line default 4910 #line hidden 4911 WriteLiteralTo(__razor_helper_writer, " <div"); 4912 4913 WriteLiteralTo(__razor_helper_writer, " class=\"col-xs-14\""); 4914 4915 WriteLiteralTo(__razor_helper_writer, ">\r\n <button"); 4916 4917 WriteLiteralTo(__razor_helper_writer, " class=\"btn btn-primary btn-block js-ecom-product-button\""); 4918 4919 WriteLiteralTo(__razor_helper_writer, ">\r\n <i"); 4920 4921 WriteLiteralTo(__razor_helper_writer, " class=\"js-ecom-product-button-spinner\""); 4922 4923 WriteLiteralTo(__razor_helper_writer, "></i>\r\n <span"); 4924 4925 WriteLiteralTo(__razor_helper_writer, " class=\"js-ecom-product-button-text\""); 4926 4927 WriteLiteralTo(__razor_helper_writer, ">"); 4928 4929 4930 #line 1479 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 4931 WriteTo(__razor_helper_writer, Translate("Smartpage:Ecom.ProductList.Button.AddToBasket", "Læg i kurv")); 4932 4933 4934 #line default 4935 #line hidden 4936 WriteLiteralTo(__razor_helper_writer, "</span>\r\n </button>\r\n </div>\r\n"); 4937 4938 4939 #line 1482 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 4940 } 4941 } 4942 4943 4944 #line default 4945 #line hidden 4946 WriteLiteralTo(__razor_helper_writer, " </div>\r\n"); 4947 4948 4949 #line 1485 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 4950 } 4951 4952 4953 #line default 4954 #line hidden 4955 }); 4956 4957 #line 1486 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 4958 } 4959 #line default 4960 #line hidden 4961 4962 4963 #line 1488 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 4964 public RazorEngine.Templating.TemplateWriter RenderProductAddToCart() 4965 { 4966 #line default 4967 #line hidden 4968 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 4969 4970 #line 1489 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 4971 4972 4973 4974 #line default 4975 #line hidden 4976 4977 #line 1495 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 4978 4979 4980 4981 #line default 4982 #line hidden 4983 WriteLiteralTo(__razor_helper_writer, " <div"); 4984 4985 WriteLiteralTo(__razor_helper_writer, " class=\"row\""); 4986 4987 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 4988 4989 WriteLiteralTo(__razor_helper_writer, " class=\"col-xs-7\""); 4990 4991 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 4992 4993 WriteLiteralTo(__razor_helper_writer, " "); 4994 4995 4996 #line 1498 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 4997 WriteTo(__razor_helper_writer, RenderChevrons(null, false)); 4998 4999 5000 #line default 5001 #line hidden 5002 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n <div"); 5003 5004 WriteLiteralTo(__razor_helper_writer, " class=\"col-xs-17\""); 5005 5006 WriteLiteralTo(__razor_helper_writer, ">\r\n <button"); 5007 5008 WriteLiteralTo(__razor_helper_writer, " class=\"btn btn-primary js-ecom-product-button addtocart\""); 5009 5010 WriteLiteralTo(__razor_helper_writer, ">\r\n <i"); 5011 5012 WriteLiteralTo(__razor_helper_writer, " class=\"js-ecom-product-button-spinner\""); 5013 5014 WriteLiteralTo(__razor_helper_writer, "></i>\r\n <span"); 5015 5016 WriteLiteralTo(__razor_helper_writer, " class=\"js-ecom-product-button-text\""); 5017 5018 WriteLiteralTo(__razor_helper_writer, ">"); 5019 5020 5021 #line 1503 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 5022 WriteTo(__razor_helper_writer, Translate("Smartpage:Ecom.ProductList.Button.AddToBasket", "Læg i kurv")); 5023 5024 5025 #line default 5026 #line hidden 5027 WriteLiteralTo(__razor_helper_writer, "</span>\r\n </button>\r\n </div>\r\n </div>\r\n"); 5028 5029 5030 #line 1507 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 5031 5032 5033 #line default 5034 #line hidden 5035 5036 #line 1507 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 5037 5038 5039 5040 #line default 5041 #line hidden 5042 }); 5043 5044 #line 1508 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 5045 } 5046 #line default 5047 #line hidden 5048 5049 5050 #line 1510 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 5051 public RazorEngine.Templating.TemplateWriter RenderChevrons(LoopItem i, bool isAddMulti) 5052 { 5053 #line default 5054 #line hidden 5055 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 5056 5057 #line 1511 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 5058 5059 bool service = getIntegerByKey(i, "Ecom:Product.Type") == 1; 5060 string id = getStringByKey(i, "Ecom:Product.ID"); 5061 string productName = getStringByKey(i, "Ecom:Product.Name"); 5062 string productNameForAttribute = Dynamicweb.Core.Encoders.HtmlEncoder.HtmlEncode(productName); 5063 string quantity = isAddMulti ? "0" : (getStringByKey(i, "Ecom:Order:OrderLine.Quantity") != "") ? getStringByKey(i, "Ecom:Order:OrderLine.Quantity") : "1"; 5064 int loopCounter = getIntegerByKey(i, "Ecom:Product.LoopCounter"); 5065 string name = isAddMulti ? "Quantity" + loopCounter : (getStringByKey(i, "Ecom:Order:OrderLine.Quantity.Input.Name") != "") ? getStringByKey(i, "Ecom:Order:OrderLine.Quantity.Input.Name") : "Quantity"; 5066 5067 5068 5069 #line default 5070 #line hidden 5071 WriteLiteralTo(__razor_helper_writer, " <div"); 5072 5073 WriteLiteralTo(__razor_helper_writer, " class=\"input-group qty-container\""); 5074 5075 WriteLiteralTo(__razor_helper_writer, ">\r\n "); 5076 5077 WriteLiteralTo(__razor_helper_writer, "\r\n <input"); 5078 5079 WriteLiteralTo(__razor_helper_writer, " type=\"tel\""); 5080 5081 WriteLiteralTo(__razor_helper_writer, " min=\"1\""); 5082 5083 WriteAttributeTo(__razor_helper_writer, "name", Tuple.Create(" name=\"", 79573), Tuple.Create("\"", 79585) 5084 5085 #line 1522 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 5086 , Tuple.Create(Tuple.Create("", 79580), Tuple.Create<System.Object, System.Int32>(name 5087 5088 #line default 5089 #line hidden 5090 , 79580), false) 5091 ); 5092 5093 WriteAttributeTo(__razor_helper_writer, "tabindex", Tuple.Create(" tabindex=\'", 79586), Tuple.Create("\'", 79609) 5094 5095 #line 1522 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 5096 , Tuple.Create(Tuple.Create("", 79597), Tuple.Create<System.Object, System.Int32>(loopCounter 5097 5098 #line default 5099 #line hidden 5100 , 79597), false) 5101 ); 5102 5103 WriteLiteralTo(__razor_helper_writer, " class=\"form-control text-xs-center js-ecom-product-quantity\""); 5104 5105 WriteAttributeTo(__razor_helper_writer, "value", Tuple.Create(" value=\"", 79671), Tuple.Create("\"", 79688) 5106 5107 #line 1522 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 5108 , Tuple.Create(Tuple.Create("", 79679), Tuple.Create<System.Object, System.Int32>(quantity 5109 5110 #line default 5111 #line hidden 5112 , 79679), false) 5113 ); 5114 5115 WriteLiteralTo(__razor_helper_writer, ">\r\n\r\n <div"); 5116 5117 WriteLiteralTo(__razor_helper_writer, " class=\"input-group-btn qty-group\""); 5118 5119 WriteLiteralTo(__razor_helper_writer, ">\r\n <span"); 5120 5121 WriteLiteralTo(__razor_helper_writer, " class=\"btn-chevron btn-chevron-up js-input-spinner-up\""); 5122 5123 WriteLiteralTo(__razor_helper_writer, ">\r\n <i"); 5124 5125 WriteLiteralTo(__razor_helper_writer, " class=\"fa fa-angle-up\""); 5126 5127 WriteLiteralTo(__razor_helper_writer, " aria-hidden=\"true\""); 5128 5129 WriteLiteralTo(__razor_helper_writer, "></i>\r\n </span>\r\n <span"); 5130 5131 WriteLiteralTo(__razor_helper_writer, " class=\"btn-chevron btn-chevron-down js-input-spinner-down\""); 5132 5133 WriteLiteralTo(__razor_helper_writer, ">\r\n <i"); 5134 5135 WriteLiteralTo(__razor_helper_writer, " class=\"fa fa-angle-down\""); 5136 5137 WriteLiteralTo(__razor_helper_writer, "></i>\r\n </span>\r\n </div>\r\n </div>\r\n"); 5138 5139 5140 #line 1533 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 5141 5142 5143 #line default 5144 #line hidden 5145 }); 5146 5147 #line 1533 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 5148 } 5149 #line default 5150 #line hidden 5151 5152 5153 #line 1535 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 5154 public RazorEngine.Templating.TemplateWriter RenderProductList(LoopItem i, string gutter, string colSize, bool favoriteList = false, string pageId = null) 5155 { 5156 #line default 5157 #line hidden 5158 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 5159 5160 #line 1536 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 5161 5162 5163 5164 #line default 5165 #line hidden 5166 WriteLiteralTo(__razor_helper_writer, " <form"); 5167 5168 WriteLiteralTo(__razor_helper_writer, " method=\"post\""); 5169 5170 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 80234), Tuple.Create("\"", 80271) 5171 , Tuple.Create(Tuple.Create("", 80242), Tuple.Create("js-ecom-product-form", 80242), true) 5172 5173 #line 1537 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 5174 , Tuple.Create(Tuple.Create(" ", 80262), Tuple.Create<System.Object, System.Int32>(colSize 5175 5176 #line default 5177 #line hidden 5178 , 80263), false) 5179 ); 5180 5181 WriteLiteralTo(__razor_helper_writer, " autocomplete=\"off\""); 5182 5183 WriteLiteralTo(__razor_helper_writer, " data-disabled=\"false\""); 5184 5185 WriteLiteralTo(__razor_helper_writer, " data-check-stock=\'"); 5186 5187 5188 #line 1537 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 5189 WriteTo(__razor_helper_writer, Dynamicweb.Core.Converter.ToString(Pageview.Area.Item["CheckStock"])); 5190 5191 5192 #line default 5193 #line hidden 5194 WriteLiteralTo(__razor_helper_writer, "\'"); 5195 5196 WriteLiteralTo(__razor_helper_writer, ">\r\n <input"); 5197 5198 WriteLiteralTo(__razor_helper_writer, " type=\"hidden\""); 5199 5200 WriteLiteralTo(__razor_helper_writer, " name=\"CartCmd\""); 5201 5202 WriteLiteralTo(__razor_helper_writer, " value=\"add\""); 5203 5204 WriteLiteralTo(__razor_helper_writer, ">\r\n <input"); 5205 5206 WriteLiteralTo(__razor_helper_writer, " type=\"hidden\""); 5207 5208 WriteLiteralTo(__razor_helper_writer, " name=\"ProductID\""); 5209 5210 WriteAttributeTo(__razor_helper_writer, "value", Tuple.Create(" value=\"", 80508), Tuple.Create("\"", 80547) 5211 5212 #line 1539 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 5213 , Tuple.Create(Tuple.Create("", 80516), Tuple.Create<System.Object, System.Int32>(i.GetValue(" ecom:product.id") 5214 5215 #line default 5216 #line hidden 5217 , 80516), false) 5218 ); 5219 5220 WriteLiteralTo(__razor_helper_writer, "=\"\">\r\n"); 5221 5222 WriteLiteralTo(__razor_helper_writer, " "); 5223 5224 5225 #line 1540 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 5226 WriteTo(__razor_helper_writer, RenderProductListContent(i, gutter, colSize, favoriteList, false)); 5227 5228 5229 #line default 5230 #line hidden 5231 WriteLiteralTo(__razor_helper_writer, "\r\n </form>\r\n"); 5232 5233 5234 #line 1542 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 5235 5236 5237 #line default 5238 #line hidden 5239 }); 5240 5241 #line 1542 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 5242 } 5243 #line default 5244 #line hidden 5245 5246 5247 #line 1544 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 5248 public RazorEngine.Templating.TemplateWriter RenderProductListContent(LoopItem i, string gutter, string colSize, bool favoriteList = false, bool isAddMulti = false, bool useGroupLink = true, string pageId = null) 5249 { 5250 #line default 5251 #line hidden 5252 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 5253 5254 #line 1545 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 5255 5256 var id = i.GetValue("Ecom:Product.ID"); 5257 var productLink = useGroupLink ? i.GetValue("Ecom:Product.LinkGroup.Clean") : i.GetValue("Ecom:Product.Link.Clean"); 5258 if (!string.IsNullOrEmpty(pageId)) 5259 { 5260 productLink = "/Default.aspx?Id=" + pageId; 5261 if (useGroupLink) 5262 { 5263 productLink += "&groupid=" + i.GetString("Ecom:Product.PrimaryOrFirstGroupID"); 5264 } 5265 productLink += "&ProductId=" + id; 5266 } 5267 string productName = Converter.ToBoolean(Pageview.Area.Item["IsApRacing"]) ? i.GetString("Ecom:Product:Field.SpPerfAPNumber") + " " + i.GetString("Ecom:Product:Field.SpPerfAPQuality") : i.GetString("Ecom:Product.Name"); 5268 string productImageClean = Converter.ToBoolean(Pageview.Area.Item["IsApRacing"]) ? i.GetString("Ecom:Product:Field.SpPerfAPImage") : i.GetString("Ecom:Product.PrimaryImage"); 5269 string productImage = string.IsNullOrEmpty(productImageClean) ? i.GetString("Ecom:Product.PrimaryImage") : productImageClean; 5270 if(productImage == "/Images/Products/missing.jpg") 5271 { 5272 productImage = "/admin/public/GetImage.ashx?Image=Files/Images/Products/" 5273 + i.GetString("Ecom:Product:Field.BoxNo").Replace(' ', '_') 5274 + (!string.IsNullOrEmpty(i.GetString("Ecom:Product:Field.SpPerfQuality")) ? "_" + i.GetString("Ecom:Product:Field.SpPerfQuality") : "") 5275 + ".jpg" 5276 + "&amp;Compression=75&amp;width=400&amp;height=350"; 5277 } 5278 bool service = i.GetInteger("Ecom:Product.Type") == 1; 5279 string productNameForAttribute = Dynamicweb.Core.Encoders.HtmlEncoder.HtmlEncode(productName); 5280 string shortDescription = i.GetString("Ecom:Product.ShortDescription"); 5281 int loopCounter = GetInteger("Ecom:Product.LoopCounter"); 5282 string addMultiClass = isAddMulti ? "add-multi" : ""; 5283 colSize = isAddMulti ? colSize : ""; 5284 5285 5286 5287 5288 #line default 5289 #line hidden 5290 WriteLiteralTo(__razor_helper_writer, " <div"); 5291 5292 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 82642), Tuple.Create("\"", 82728) 5293 , Tuple.Create(Tuple.Create("", 82650), Tuple.Create("py-2", 82650), true) 5294 , Tuple.Create(Tuple.Create(" ", 82654), Tuple.Create("my-1", 82655), true) 5295 , Tuple.Create(Tuple.Create(" ", 82659), Tuple.Create("productlist-content", 82660), true) 5296 , Tuple.Create(Tuple.Create(" ", 82679), Tuple.Create("productlist-item", 82680), true) 5297 5298 #line 1576 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 5299 , Tuple.Create(Tuple.Create(" ", 82696), Tuple.Create<System.Object, System.Int32>(gutter 5300 5301 #line default 5302 #line hidden 5303 , 82697), false) 5304 5305 #line 1576 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 5306 , Tuple.Create(Tuple.Create(" ", 82704), Tuple.Create<System.Object, System.Int32>(colSize 5307 5308 #line default 5309 #line hidden 5310 , 82705), false) 5311 5312 #line 1576 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 5313 , Tuple.Create(Tuple.Create(" ", 82713), Tuple.Create<System.Object, System.Int32>(addMultiClass 5314 5315 #line default 5316 #line hidden 5317 , 82714), false) 5318 ); 5319 5320 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 5321 5322 5323 #line 1577 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 5324 5325 5326 #line default 5327 #line hidden 5328 5329 #line 1577 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 5330 if (isAddMulti) 5331 { 5332 5333 5334 #line default 5335 #line hidden 5336 WriteLiteralTo(__razor_helper_writer, " "); 5337 5338 5339 #line 1579 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 5340 WriteTo(__razor_helper_writer, i.GetString("Ecom:Product.Form.Multi.HiddenFields")); 5341 5342 5343 #line default 5344 #line hidden 5345 WriteLiteralTo(__razor_helper_writer, "\r\n"); 5346 5347 5348 #line 1580 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 5349 } 5350 5351 5352 #line default 5353 #line hidden 5354 WriteLiteralTo(__razor_helper_writer, "\t\t<div"); 5355 5356 WriteLiteralTo(__razor_helper_writer, " class=\"\""); 5357 5358 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 5359 5360 WriteLiteralTo(__razor_helper_writer, " class=\"row row-eq-height\""); 5361 5362 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 5363 5364 WriteLiteralTo(__razor_helper_writer, " class=\"col-xs-24 col-sm-24 col-lg-24 text-xs-center\""); 5365 5366 WriteLiteralTo(__razor_helper_writer, ">\r\n <a"); 5367 5368 WriteAttributeTo(__razor_helper_writer, "href", Tuple.Create(" href=\"", 83020), Tuple.Create("\"", 83039) 5369 5370 #line 1584 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 5371 , Tuple.Create(Tuple.Create("", 83027), Tuple.Create<System.Object, System.Int32>(productLink 5372 5373 #line default 5374 #line hidden 5375 , 83027), false) 5376 ); 5377 5378 WriteAttributeTo(__razor_helper_writer, "title", Tuple.Create(" title=\"", 83040), Tuple.Create("\"", 83072) 5379 5380 #line 1584 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 5381 , Tuple.Create(Tuple.Create("", 83048), Tuple.Create<System.Object, System.Int32>(productNameForAttribute 5382 5383 #line default 5384 #line hidden 5385 , 83048), false) 5386 ); 5387 5388 WriteLiteralTo(__razor_helper_writer, " class=\"productlist-image-link \""); 5389 5390 WriteLiteralTo(__razor_helper_writer, ">\r\n <img"); 5391 5392 WriteLiteralTo(__razor_helper_writer, " class=\"img-fluid product-img\""); 5393 5394 WriteAttributeTo(__razor_helper_writer, "alt", Tuple.Create(" alt=\"", 83166), Tuple.Create("\"", 83196) 5395 5396 #line 1585 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 5397 , Tuple.Create(Tuple.Create("", 83172), Tuple.Create<System.Object, System.Int32>(productNameForAttribute 5398 5399 #line default 5400 #line hidden 5401 , 83172), false) 5402 ); 5403 5404 WriteAttributeTo(__razor_helper_writer, "src", Tuple.Create(" src=\"", 83197), Tuple.Create("\"", 83216) 5405 5406 #line 1585 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 5407 , Tuple.Create(Tuple.Create("", 83203), Tuple.Create<System.Object, System.Int32>(productImage 5408 5409 #line default 5410 #line hidden 5411 , 83203), false) 5412 ); 5413 5414 WriteAttributeTo(__razor_helper_writer, "title", Tuple.Create(" title=\"", 83217), Tuple.Create("\"", 83249) 5415 5416 #line 1585 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 5417 , Tuple.Create(Tuple.Create("", 83225), Tuple.Create<System.Object, System.Int32>(productNameForAttribute 5418 5419 #line default 5420 #line hidden 5421 , 83225), false) 5422 ); 5423 5424 WriteLiteralTo(__razor_helper_writer, " onerror=\"this.onerror=null;this.src=\'Files/Images/Products/missing.jpg\';\""); 5425 5426 WriteLiteralTo(__razor_helper_writer, ">\r\n </a>\r\n"); 5427 5428 WriteLiteralTo(__razor_helper_writer, " "); 5429 5430 5431 #line 1587 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 5432 WriteTo(__razor_helper_writer, RenderProductRibbon(i)); 5433 5434 5435 #line default 5436 #line hidden 5437 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n <div"); 5438 5439 WriteLiteralTo(__razor_helper_writer, " class=\"col-xs-24 col-sm-24 col-lg-24 text-lg-left list_text\""); 5440 5441 WriteLiteralTo(__razor_helper_writer, ">\r\n <a"); 5442 5443 WriteAttributeTo(__razor_helper_writer, "href", Tuple.Create(" href=\"", 83528), Tuple.Create("\"", 83547) 5444 5445 #line 1590 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 5446 , Tuple.Create(Tuple.Create("", 83535), Tuple.Create<System.Object, System.Int32>(productLink 5447 5448 #line default 5449 #line hidden 5450 , 83535), false) 5451 ); 5452 5453 WriteLiteralTo(__razor_helper_writer, " class=\"name\""); 5454 5455 WriteAttributeTo(__razor_helper_writer, "title", Tuple.Create(" title=\"", 83561), Tuple.Create("\"", 83593) 5456 5457 #line 1590 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 5458 , Tuple.Create(Tuple.Create("", 83569), Tuple.Create<System.Object, System.Int32>(productNameForAttribute 5459 5460 #line default 5461 #line hidden 5462 , 83569), false) 5463 ); 5464 5465 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 5466 5467 WriteLiteralTo(__razor_helper_writer, " "); 5468 5469 5470 #line 1591 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 5471 WriteTo(__razor_helper_writer, productNameForAttribute); 5472 5473 5474 #line default 5475 #line hidden 5476 WriteLiteralTo(__razor_helper_writer, "\r\n </a>\r\n <div"); 5477 5478 WriteLiteralTo(__razor_helper_writer, " class=\"short_desc\""); 5479 5480 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 5481 5482 WriteLiteralTo(__razor_helper_writer, " "); 5483 5484 5485 #line 1594 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 5486 WriteTo(__razor_helper_writer, shortDescription); 5487 5488 5489 #line default 5490 #line hidden 5491 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n <div"); 5492 5493 WriteLiteralTo(__razor_helper_writer, " class=\"more-info\""); 5494 5495 WriteLiteralTo(__razor_helper_writer, ">\r\n <a"); 5496 5497 WriteAttributeTo(__razor_helper_writer, "href", Tuple.Create(" href=\"", 83861), Tuple.Create("\"", 83880) 5498 5499 #line 1597 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 5500 , Tuple.Create(Tuple.Create("", 83868), Tuple.Create<System.Object, System.Int32>(productLink 5501 5502 #line default 5503 #line hidden 5504 , 83868), false) 5505 ); 5506 5507 WriteAttributeTo(__razor_helper_writer, "title", Tuple.Create(" title=\"", 83881), Tuple.Create("\"", 83913) 5508 5509 #line 1597 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 5510 , Tuple.Create(Tuple.Create("", 83889), Tuple.Create<System.Object, System.Int32>(productNameForAttribute 5511 5512 #line default 5513 #line hidden 5514 , 83889), false) 5515 ); 5516 5517 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 5518 5519 WriteLiteralTo(__razor_helper_writer, " "); 5520 5521 5522 #line 1598 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 5523 WriteTo(__razor_helper_writer, Translate("MoreInfo","More info")); 5524 5525 5526 #line default 5527 #line hidden 5528 WriteLiteralTo(__razor_helper_writer, "\r\n </a>\r\n </div>\r\n\r\n " + 5529 " "); 5530 5531 WriteLiteralTo(__razor_helper_writer, "\r\n\r\n "); 5532 5533 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n <div"); 5534 5535 WriteLiteralTo(__razor_helper_writer, " class=\"col-xs-24 col-lg-8 vbottom\""); 5536 5537 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 5538 5539 5540 #line 1632 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 5541 5542 5543 #line default 5544 #line hidden 5545 5546 #line 1632 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 5547 if (favoriteList) 5548 { 5549 5550 5551 #line default 5552 #line hidden 5553 WriteLiteralTo(__razor_helper_writer, " <div"); 5554 5555 WriteLiteralTo(__razor_helper_writer, " class=\"row no-gutters pull-right\""); 5556 5557 WriteLiteralTo(__razor_helper_writer, ">\r\n <a"); 5558 5559 WriteLiteralTo(__razor_helper_writer, " class=\"remove-from-fav js-remove-from-fav\""); 5560 5561 WriteAttributeTo(__razor_helper_writer, "href", Tuple.Create(" href=\"", 86015), Tuple.Create("\"", 86065) 5562 5563 #line 1635 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 5564 , Tuple.Create(Tuple.Create("", 86022), Tuple.Create<System.Object, System.Int32>(i.GetValue(" ecom:product.removefromlist") 5565 5566 #line default 5567 #line hidden 5568 , 86022), false) 5569 ); 5570 5571 WriteLiteralTo(__razor_helper_writer, "=\"\"><strong>"); 5572 5573 5574 #line 1635 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 5575 WriteTo(__razor_helper_writer, Translate("Smartpage:MyList.ProductList.DeleteFromList", "Fjern fra liste")); 5576 5577 5578 #line default 5579 #line hidden 5580 WriteLiteralTo(__razor_helper_writer, "</strong></a>\r\n </div>\r\n"); 5581 5582 5583 #line 1637 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 5584 } 5585 5586 5587 #line default 5588 #line hidden 5589 WriteLiteralTo(__razor_helper_writer, " <div"); 5590 5591 WriteLiteralTo(__razor_helper_writer, " class=\"row no-gutters\""); 5592 5593 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 5594 5595 WriteLiteralTo(__razor_helper_writer, " class=\"col-xs-24\""); 5596 5597 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 5598 5599 WriteLiteralTo(__razor_helper_writer, " class=\"float-xs-right\""); 5600 5601 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 5602 5603 WriteLiteralTo(__razor_helper_writer, " "); 5604 5605 5606 #line 1641 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 5607 WriteTo(__razor_helper_writer, RenderProductPrice(false, i)); 5608 5609 5610 #line default 5611 #line hidden 5612 WriteLiteralTo(__razor_helper_writer, "\r\n"); 5613 5614 WriteLiteralTo(__razor_helper_writer, " "); 5615 5616 5617 #line 1642 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 5618 WriteTo(__razor_helper_writer, RenderProductPriceUnit(i)); 5619 5620 5621 #line default 5622 #line hidden 5623 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n </div>\r\n " + 5624 " </div>\r\n <div"); 5625 5626 WriteLiteralTo(__razor_helper_writer, " class=\"row no-gutters js-input-spinner add-to-cart\""); 5627 5628 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 5629 5630 WriteLiteralTo(__razor_helper_writer, " class=\"col-xs-24\""); 5631 5632 WriteLiteralTo(__razor_helper_writer, ">\r\n "); 5633 5634 WriteLiteralTo(__razor_helper_writer, "\r\n"); 5635 5636 WriteLiteralTo(__razor_helper_writer, " "); 5637 5638 5639 #line 1654 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 5640 WriteTo(__razor_helper_writer, RenderProductListAddToCart(i, favoriteList)); 5641 5642 5643 #line default 5644 #line hidden 5645 WriteLiteralTo(__razor_helper_writer, "\r\n "); 5646 5647 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n </div>\r\n\r\n <" + 5648 "/div>\r\n </div>\r\n </div>\r\n </div>\r\n"); 5649 5650 5651 #line 1663 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 5652 5653 5654 #line default 5655 #line hidden 5656 }); 5657 5658 #line 1663 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 5659 } 5660 #line default 5661 #line hidden 5662 5663 5664 #line 1665 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 5665 public RazorEngine.Templating.TemplateWriter RenderGroup(LoopItem g, string colSize) 5666 { 5667 #line default 5668 #line hidden 5669 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 5670 5671 #line 1666 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 5672 5673 string imagePath = g.GetString("Ecom:Group.LargeImage"); 5674 var groupImg = "/Admin/Public/GetImage.ashx?Image=" + imagePath + "&Width=400&Height=400&Crop=5;"; 5675 var tempImg = groupImg.Replace("//", "/"); 5676 string groupName = g.GetString("Ecom:Group.Name"); 5677 string groupLink = g.GetString("Ecom:Group.Link.Clean"); 5678 5679 5680 5681 #line default 5682 #line hidden 5683 WriteLiteralTo(__razor_helper_writer, " <div"); 5684 5685 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 87799), Tuple.Create("\"", 87815) 5686 5687 #line 1673 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 5688 , Tuple.Create(Tuple.Create("", 87807), Tuple.Create<System.Object, System.Int32>(colSize 5689 5690 #line default 5691 #line hidden 5692 , 87807), false) 5693 ); 5694 5695 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 5696 5697 WriteLiteralTo(__razor_helper_writer, " class=\"grouplist\""); 5698 5699 WriteLiteralTo(__razor_helper_writer, ">\r\n <a"); 5700 5701 WriteAttributeTo(__razor_helper_writer, "href", Tuple.Create(" href=\"", 87866), Tuple.Create("\"", 87883) 5702 5703 #line 1675 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 5704 , Tuple.Create(Tuple.Create("", 87873), Tuple.Create<System.Object, System.Int32>(groupLink 5705 5706 #line default 5707 #line hidden 5708 , 87873), false) 5709 ); 5710 5711 WriteLiteralTo(__razor_helper_writer, ">\r\n <img"); 5712 5713 WriteAttributeTo(__razor_helper_writer, "src", Tuple.Create(" src=\"", 87907), Tuple.Create("\"", 87921) 5714 5715 #line 1676 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 5716 , Tuple.Create(Tuple.Create("", 87913), Tuple.Create<System.Object, System.Int32>(tempImg 5717 5718 #line default 5719 #line hidden 5720 , 87913), false) 5721 ); 5722 5723 WriteAttributeTo(__razor_helper_writer, "alt", Tuple.Create(" alt=\"", 87922), Tuple.Create("\"", 87938) 5724 5725 #line 1676 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 5726 , Tuple.Create(Tuple.Create("", 87928), Tuple.Create<System.Object, System.Int32>(groupName 5727 5728 #line default 5729 #line hidden 5730 , 87928), false) 5731 ); 5732 5733 WriteLiteralTo(__razor_helper_writer, " class=\"img-fluid grouplist-img hidden-md-down\""); 5734 5735 WriteLiteralTo(__razor_helper_writer, ">\r\n </a>\r\n <div"); 5736 5737 WriteLiteralTo(__razor_helper_writer, " class=\"grouplist-name\""); 5738 5739 WriteLiteralTo(__razor_helper_writer, ">\r\n <a"); 5740 5741 WriteAttributeTo(__razor_helper_writer, "href", Tuple.Create(" href=\"", 88067), Tuple.Create("\"", 88084) 5742 5743 #line 1679 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 5744 , Tuple.Create(Tuple.Create("", 88074), Tuple.Create<System.Object, System.Int32>(groupLink 5745 5746 #line default 5747 #line hidden 5748 , 88074), false) 5749 ); 5750 5751 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 5752 5753 WriteLiteralTo(__razor_helper_writer, " "); 5754 5755 5756 #line 1680 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 5757 WriteTo(__razor_helper_writer, groupName); 5758 5759 5760 #line default 5761 #line hidden 5762 WriteLiteralTo(__razor_helper_writer, "\r\n </a>\r\n </div>\r\n </div>\r\n </div>\r\n"); 5763 5764 5765 #line 1685 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 5766 5767 5768 #line default 5769 #line hidden 5770 }); 5771 5772 #line 1685 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 5773 } 5774 #line default 5775 #line hidden 5776 5777 5778 #line 1687 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 5779 public RazorEngine.Templating.TemplateWriter RenderPageTotals() 5780 { 5781 #line default 5782 #line hidden 5783 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 5784 5785 #line 1688 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 5786 5787 5788 5789 #line default 5790 #line hidden 5791 WriteLiteralTo(__razor_helper_writer, " <div>\r\n\r\n"); 5792 5793 5794 #line 1691 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 5795 5796 5797 #line default 5798 #line hidden 5799 5800 #line 1691 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 5801 5802 var pageSize = Dynamicweb.Core.Converter.ToInt32(@GetValue("Ecom:ProductList.PageSize")); 5803 var pageCount = Dynamicweb.Core.Converter.ToInt32(@GetValue("Ecom:ProductList.PageProdCnt")); 5804 5805 5806 #line default 5807 #line hidden 5808 WriteLiteralTo(__razor_helper_writer, "\r\n\r\n"); 5809 5810 5811 #line 1696 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 5812 5813 5814 #line default 5815 #line hidden 5816 5817 #line 1696 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 5818 if (pageSize > pageCount) 5819 { 5820 5821 5822 #line default 5823 #line hidden 5824 WriteLiteralTo(__razor_helper_writer, " <span>"); 5825 5826 5827 #line 1698 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 5828 WriteTo(__razor_helper_writer, pageCount); 5829 5830 5831 #line default 5832 #line hidden 5833 WriteLiteralTo(__razor_helper_writer, " "); 5834 5835 5836 #line 1698 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 5837 WriteTo(__razor_helper_writer, Translate("SmartPage:ProductList.Total.Of", "af")); 5838 5839 5840 #line default 5841 #line hidden 5842 WriteLiteralTo(__razor_helper_writer, " "); 5843 5844 5845 #line 1698 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 5846 WriteTo(__razor_helper_writer, pageCount); 5847 5848 5849 #line default 5850 #line hidden 5851 WriteLiteralTo(__razor_helper_writer, " "); 5852 5853 5854 #line 1698 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 5855 WriteTo(__razor_helper_writer, Translate("SmartPage:ProductList.Total.ProductsInTotal", "produkter")); 5856 5857 5858 #line default 5859 #line hidden 5860 WriteLiteralTo(__razor_helper_writer, "</span>\r\n"); 5861 5862 5863 #line 1699 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 5864 } 5865 else 5866 { 5867 5868 5869 #line default 5870 #line hidden 5871 WriteLiteralTo(__razor_helper_writer, " <span>"); 5872 5873 5874 #line 1702 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 5875 WriteTo(__razor_helper_writer, pageSize); 5876 5877 5878 #line default 5879 #line hidden 5880 WriteLiteralTo(__razor_helper_writer, " "); 5881 5882 5883 #line 1702 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 5884 WriteTo(__razor_helper_writer, Translate("SmartPage:ProductList.Total.Of", "af")); 5885 5886 5887 #line default 5888 #line hidden 5889 WriteLiteralTo(__razor_helper_writer, " "); 5890 5891 5892 #line 1702 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 5893 WriteTo(__razor_helper_writer, pageCount); 5894 5895 5896 #line default 5897 #line hidden 5898 WriteLiteralTo(__razor_helper_writer, " "); 5899 5900 5901 #line 1702 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 5902 WriteTo(__razor_helper_writer, Translate("SmartPage:ProductList.Total.ProductsInTotal", "produkter")); 5903 5904 5905 #line default 5906 #line hidden 5907 WriteLiteralTo(__razor_helper_writer, "</span>\r\n"); 5908 5909 5910 #line 1703 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 5911 } 5912 5913 5914 #line default 5915 #line hidden 5916 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 5917 5918 5919 #line 1706 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 5920 5921 5922 #line default 5923 #line hidden 5924 }); 5925 5926 #line 1706 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 5927 } 5928 #line default 5929 #line hidden 5930 5931 5932 #line 1709 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 5933 5934 string getStringByKey(LoopItem i, string key) 5935 { 5936 return (i == null ? GetString(key) : i.GetString(key)); 5937 } 5938 5939 int getIntegerByKey(LoopItem i, string key) 5940 { 5941 return (i == null ? GetInteger(key) : i.GetInteger(key)); 5942 } 5943 5944 double getDoubleByKey(LoopItem i, string key) 5945 { 5946 return (i == null ? GetDouble(key) : i.GetDouble(key)); 5947 } 5948 5949 bool getBooleanByKey(LoopItem i, string key) 5950 { 5951 return (i == null ? GetBoolean(key) : i.GetBoolean(key)); 5952 } 5953 5954 #line default 5955 #line hidden 5956 5957 5958 #line 1731 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 5959 public RazorEngine.Templating.TemplateWriter RenderProductPrice(bool showItemProp, LoopItem product = null) 5960 { 5961 #line default 5962 #line hidden 5963 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 5964 5965 #line 1732 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 5966 5967 var enableProductPrices = Converter.ToBoolean(Pageview.Area.Item["EnableProductPrices"]); 5968 var disablePurchase = getBooleanByKey(product, "Ecom:Product:Field.Smartpage:SpDisablePurchase"); 5969 if (enableProductPrices && !disablePurchase) 5970 { 5971 var productPrice = getStringByKey(product, "Ecom:Product.Price.PriceFormatted"); 5972 var productHasDiscount = getBooleanByKey(product, "Ecom:Product.HaveDiscount"); 5973 var productPriceDiscount = getStringByKey(product, "Ecom:Product.Discount.Price.PriceFormatted"); 5974 var productPriceItemProp = getDoubleByKey(product, "Ecom:Product.Discount.Price.PricePIP") / 100; 5975 var productCurrencyCode = getStringByKey(product, "Ecom:Product.Currency.Code"); 5976 string productStockItemPropSchema = (getDoubleByKey(product, "Ecom:Product.Stock") > 0 || getIntegerByKey(product, "Ecom:Product.Type") == 1) 5977 ? "http://schema.org/InStock" : "http://schema.org/OutOfStock"; 5978 5979 if (showItemProp) 5980 { 5981 5982 5983 #line default 5984 #line hidden 5985 WriteLiteralTo(__razor_helper_writer, " <div"); 5986 5987 WriteLiteralTo(__razor_helper_writer, " class=\"prices\""); 5988 5989 WriteLiteralTo(__razor_helper_writer, " itemprop=\"offers\""); 5990 5991 WriteLiteralTo(__razor_helper_writer, " itemscope=\"\""); 5992 5993 WriteLiteralTo(__razor_helper_writer, " itemtype=\"http://schema.org/Offer\""); 5994 5995 WriteLiteralTo(__razor_helper_writer, ">\r\n <span"); 5996 5997 WriteLiteralTo(__razor_helper_writer, " class=\"price\""); 5998 5999 WriteLiteralTo(__razor_helper_writer, ">"); 6000 6001 6002 #line 1748 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 6003 WriteTo(__razor_helper_writer, productPriceDiscount); 6004 6005 6006 #line default 6007 #line hidden 6008 WriteLiteralTo(__razor_helper_writer, "</span>\r\n"); 6009 6010 6011 #line 1749 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 6012 6013 6014 #line default 6015 #line hidden 6016 6017 #line 1749 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 6018 if (productHasDiscount) 6019 { 6020 6021 6022 #line default 6023 #line hidden 6024 WriteLiteralTo(__razor_helper_writer, " <span"); 6025 6026 WriteLiteralTo(__razor_helper_writer, " class=\"price-old\""); 6027 6028 WriteLiteralTo(__razor_helper_writer, ">"); 6029 6030 6031 #line 1751 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 6032 WriteTo(__razor_helper_writer, productPrice); 6033 6034 6035 #line default 6036 #line hidden 6037 WriteLiteralTo(__razor_helper_writer, "</span>\r\n"); 6038 6039 6040 #line 1752 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 6041 } 6042 6043 6044 #line default 6045 #line hidden 6046 WriteLiteralTo(__razor_helper_writer, " <span"); 6047 6048 WriteLiteralTo(__razor_helper_writer, " itemprop=\"price\""); 6049 6050 WriteLiteralTo(__razor_helper_writer, " class=\"display-none\""); 6051 6052 WriteLiteralTo(__razor_helper_writer, ">"); 6053 6054 6055 #line 1753 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 6056 WriteTo(__razor_helper_writer, productPriceItemProp.ToString().Replace(",", ".")); 6057 6058 6059 #line default 6060 #line hidden 6061 WriteLiteralTo(__razor_helper_writer, "</span>\r\n <span"); 6062 6063 WriteLiteralTo(__razor_helper_writer, " itemprop=\"priceCurrency\""); 6064 6065 WriteLiteralTo(__razor_helper_writer, " class=\"display-none\""); 6066 6067 WriteLiteralTo(__razor_helper_writer, ">"); 6068 6069 6070 #line 1754 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 6071 WriteTo(__razor_helper_writer, productCurrencyCode); 6072 6073 6074 #line default 6075 #line hidden 6076 WriteLiteralTo(__razor_helper_writer, "</span>\r\n <link"); 6077 6078 WriteLiteralTo(__razor_helper_writer, " itemprop=\"availability\""); 6079 6080 WriteAttributeTo(__razor_helper_writer, "href", Tuple.Create(" href=\"", 91127), Tuple.Create("\"", 91161) 6081 6082 #line 1755 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 6083 , Tuple.Create(Tuple.Create("", 91134), Tuple.Create<System.Object, System.Int32>(productStockItemPropSchema 6084 6085 #line default 6086 #line hidden 6087 , 91134), false) 6088 ); 6089 6090 WriteLiteralTo(__razor_helper_writer, ">\r\n </div>\r\n"); 6091 6092 6093 #line 1757 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 6094 } 6095 else 6096 { 6097 6098 6099 #line default 6100 #line hidden 6101 WriteLiteralTo(__razor_helper_writer, " <div"); 6102 6103 WriteLiteralTo(__razor_helper_writer, " class=\"prices\""); 6104 6105 WriteLiteralTo(__razor_helper_writer, ">\r\n <span"); 6106 6107 WriteLiteralTo(__razor_helper_writer, " class=\"price\""); 6108 6109 WriteLiteralTo(__razor_helper_writer, ">"); 6110 6111 6112 #line 1761 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 6113 WriteTo(__razor_helper_writer, productPriceDiscount); 6114 6115 6116 #line default 6117 #line hidden 6118 WriteLiteralTo(__razor_helper_writer, "</span>\r\n"); 6119 6120 6121 #line 1762 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 6122 6123 6124 #line default 6125 #line hidden 6126 6127 #line 1762 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 6128 if (productHasDiscount) 6129 { 6130 6131 6132 #line default 6133 #line hidden 6134 WriteLiteralTo(__razor_helper_writer, " <span"); 6135 6136 WriteLiteralTo(__razor_helper_writer, " class=\"price-old\""); 6137 6138 WriteLiteralTo(__razor_helper_writer, ">"); 6139 6140 6141 #line 1764 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 6142 WriteTo(__razor_helper_writer, productPrice); 6143 6144 6145 #line default 6146 #line hidden 6147 WriteLiteralTo(__razor_helper_writer, "</span>\r\n"); 6148 6149 6150 #line 1765 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 6151 } 6152 6153 6154 #line default 6155 #line hidden 6156 WriteLiteralTo(__razor_helper_writer, " </div>\r\n"); 6157 6158 6159 #line 1767 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 6160 } 6161 } 6162 6163 6164 #line default 6165 #line hidden 6166 }); 6167 6168 #line 1769 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 6169 } 6170 #line default 6171 #line hidden 6172 6173 6174 #line 1771 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 6175 public RazorEngine.Templating.TemplateWriter RenderProductPriceUnit(LoopItem product = null) 6176 { 6177 #line default 6178 #line hidden 6179 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 6180 6181 #line 1772 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 6182 6183 var enableProductPrices = Converter.ToBoolean(Pageview.Area.Item["EnableProductPrices"]); 6184 var disablePurchase = getBooleanByKey(product, "Ecom:Product:Field.Smartpage:SpDisablePurchase"); 6185 if (enableProductPrices && !disablePurchase) 6186 { 6187 6188 6189 #line default 6190 #line hidden 6191 WriteLiteralTo(__razor_helper_writer, " <div"); 6192 6193 WriteLiteralTo(__razor_helper_writer, " class=\"per-item\""); 6194 6195 WriteLiteralTo(__razor_helper_writer, ">"); 6196 6197 6198 #line 1777 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 6199 WriteTo(__razor_helper_writer, Translate("Smartpage:Ecom.Product.Price.Unit", "pr. enhed")); 6200 6201 6202 #line default 6203 #line hidden 6204 WriteLiteralTo(__razor_helper_writer, "</div>\r\n"); 6205 6206 6207 #line 1778 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 6208 } 6209 6210 6211 #line default 6212 #line hidden 6213 }); 6214 6215 #line 1779 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 6216 } 6217 #line default 6218 #line hidden 6219 6220 6221 #line 1781 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 6222 public RazorEngine.Templating.TemplateWriter RenderProductRibbon(LoopItem product = null) 6223 { 6224 #line default 6225 #line hidden 6226 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 6227 6228 #line 1782 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 6229 6230 var enableProductPrices = Converter.ToBoolean(Pageview.Area.Item["EnableProductPrices"]); 6231 6232 var productHasDiscount = getBooleanByKey(product, "Ecom:Product.HaveDiscount") && enableProductPrices; 6233 var productIsRecommended = !string.IsNullOrEmpty(getStringByKey(product, "Smartpage:Application.IsRecommended")) ? (getBooleanByKey(product, "Smartpage:Application.IsRecommended") ? "recommended" : "optional") : ""; 6234 6235 if (productHasDiscount || !string.IsNullOrEmpty(productIsRecommended)) 6236 { 6237 6238 6239 #line default 6240 #line hidden 6241 WriteLiteralTo(__razor_helper_writer, " <ul"); 6242 6243 WriteLiteralTo(__razor_helper_writer, " class=\"ribbons\""); 6244 6245 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 6246 6247 6248 #line 1791 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 6249 6250 6251 #line default 6252 #line hidden 6253 6254 #line 1791 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 6255 if (productHasDiscount) 6256 { 6257 var productPriceDiscountTotalProcentage = getDoubleByKey(product, "Ecom:Product.Discount.TotalPercentWithVATFormatted"); 6258 6259 6260 6261 #line default 6262 #line hidden 6263 WriteLiteralTo(__razor_helper_writer, " <li><span"); 6264 6265 WriteLiteralTo(__razor_helper_writer, " class=\"ribbon ribbon-price-savings\""); 6266 6267 WriteLiteralTo(__razor_helper_writer, ">"); 6268 6269 6270 #line 1795 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 6271 WriteTo(__razor_helper_writer, Translate("Smartpage:Ecom.Product.Price.Discount.Save", "Spar")); 6272 6273 6274 #line default 6275 #line hidden 6276 WriteLiteralTo(__razor_helper_writer, " "); 6277 6278 6279 #line 1795 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 6280 WriteTo(__razor_helper_writer, productPriceDiscountTotalProcentage); 6281 6282 6283 #line default 6284 #line hidden 6285 WriteLiteralTo(__razor_helper_writer, "%</span></li>\r\n"); 6286 6287 6288 #line 1796 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 6289 } 6290 6291 6292 #line default 6293 #line hidden 6294 WriteLiteralTo(__razor_helper_writer, " "); 6295 6296 6297 #line 1797 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 6298 if (!string.IsNullOrEmpty(productIsRecommended)) 6299 { 6300 6301 6302 #line default 6303 #line hidden 6304 WriteLiteralTo(__razor_helper_writer, " <li><span"); 6305 6306 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 93022), Tuple.Create("\"", 93071) 6307 , Tuple.Create(Tuple.Create("", 93030), Tuple.Create("ribbon", 93030), true) 6308 , Tuple.Create(Tuple.Create(" ", 93036), Tuple.Create("ribbon-price-", 93037), true) 6309 6310 #line 1799 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 6311 , Tuple.Create(Tuple.Create("", 93050), Tuple.Create<System.Object, System.Int32>(productIsRecommended 6312 6313 #line default 6314 #line hidden 6315 , 93050), false) 6316 ); 6317 6318 WriteLiteralTo(__razor_helper_writer, ">"); 6319 6320 6321 #line 1799 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 6322 WriteTo(__razor_helper_writer, productIsRecommended); 6323 6324 6325 #line default 6326 #line hidden 6327 WriteLiteralTo(__razor_helper_writer, "</span></li>\r\n"); 6328 6329 6330 #line 1800 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 6331 } 6332 6333 6334 #line default 6335 #line hidden 6336 WriteLiteralTo(__razor_helper_writer, " </ul>\r\n"); 6337 6338 6339 #line 1802 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 6340 } 6341 6342 6343 #line default 6344 #line hidden 6345 }); 6346 6347 #line 1803 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 6348 } 6349 #line default 6350 #line hidden 6351 6352 6353 #line 1805 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 6354 public RazorEngine.Templating.TemplateWriter RenderProductSort() 6355 { 6356 #line default 6357 #line hidden 6358 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 6359 6360 #line 1806 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 6361 6362 string sortPriceUrl = Dynamicweb.Environment.Helpers.LinkHelper.ReplaceQueryString("sortby", "price"); 6363 string sortNameUrl = Dynamicweb.Environment.Helpers.LinkHelper.ReplaceQueryString("sortby", "productname"); 6364 string sortCreated = Dynamicweb.Environment.Helpers.LinkHelper.ReplaceQueryString("sortby", "created"); 6365 string priceQueryAsc = Dynamicweb.Environment.Helpers.LinkHelper.ReplaceQueryString(sortPriceUrl, "sortorder", "asc"); 6366 string priceQueryDesc = Dynamicweb.Environment.Helpers.LinkHelper.ReplaceQueryString(sortPriceUrl, "sortorder", "desc"); 6367 string nameQueryAsc = Dynamicweb.Environment.Helpers.LinkHelper.ReplaceQueryString(sortNameUrl, "sortorder", "asc"); 6368 string nameQueryDesc = Dynamicweb.Environment.Helpers.LinkHelper.ReplaceQueryString(sortNameUrl, "sortorder", "desc"); 6369 string createdQueryDesc = Dynamicweb.Environment.Helpers.LinkHelper.ReplaceQueryString(sortCreated, "sortorder", "desc"); 6370 6371 string sortByValue = Dynamicweb.Context.Current.Request.GetString("sortby"); 6372 string sortOrderValue = Dynamicweb.Context.Current.Request.GetString("sortorder"); 6373 6374 bool priceQueryAscSelected = Dynamicweb.Core.Converter.ToString(sortByValue).ToLower() == "price" && Dynamicweb.Core.Converter.ToString(sortOrderValue).ToLower() == "asc"; 6375 bool priceQueryDescSelected = Dynamicweb.Core.Converter.ToString(sortByValue).ToLower() == "price" && Dynamicweb.Core.Converter.ToString(sortOrderValue).ToLower() == "desc"; 6376 bool nameQueryAscSelected = Dynamicweb.Core.Converter.ToString(sortByValue).ToLower() == "productname" && Dynamicweb.Core.Converter.ToString(sortOrderValue).ToLower() == "asc"; 6377 bool nameQueryDescSelected = Dynamicweb.Core.Converter.ToString(sortByValue).ToLower() == "productname" && Dynamicweb.Core.Converter.ToString(sortOrderValue).ToLower() == "desc"; 6378 bool createdQueryDescSelected = Dynamicweb.Core.Converter.ToString(sortByValue).ToLower() == "created" && Dynamicweb.Core.Converter.ToString(sortOrderValue).ToLower() == "desc"; 6379 6380 6381 6382 #line default 6383 #line hidden 6384 WriteLiteralTo(__razor_helper_writer, " <div"); 6385 6386 WriteLiteralTo(__razor_helper_writer, " class=\"list-sort-wrapper\""); 6387 6388 WriteLiteralTo(__razor_helper_writer, ">\r\n <i"); 6389 6390 WriteLiteralTo(__razor_helper_writer, " class=\"fa fa-spinner fa-spin\""); 6391 6392 WriteLiteralTo(__razor_helper_writer, "></i>\r\n <select"); 6393 6394 WriteLiteralTo(__razor_helper_writer, " class=\"form-control js-sort-list\""); 6395 6396 WriteLiteralTo(__razor_helper_writer, ">\r\n <option"); 6397 6398 WriteLiteralTo(__razor_helper_writer, " value=\"\""); 6399 6400 WriteLiteralTo(__razor_helper_writer, ">"); 6401 6402 6403 #line 1828 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 6404 WriteTo(__razor_helper_writer, Translate("SmartPage:Product.Sort.ChooseSort", "Sorter efter")); 6405 6406 6407 #line default 6408 #line hidden 6409 WriteLiteralTo(__razor_helper_writer, "</option>\r\n <option"); 6410 6411 WriteAttributeTo(__razor_helper_writer, "value", Tuple.Create(" value=\"", 95474), Tuple.Create("\"", 95496) 6412 6413 #line 1829 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 6414 , Tuple.Create(Tuple.Create("", 95482), Tuple.Create<System.Object, System.Int32>(priceQueryAsc 6415 6416 #line default 6417 #line hidden 6418 , 95482), false) 6419 ); 6420 6421 WriteLiteralTo(__razor_helper_writer, " data-href=\""); 6422 6423 6424 #line 1829 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 6425 WriteTo(__razor_helper_writer, priceQueryAsc); 6426 6427 6428 #line default 6429 #line hidden 6430 WriteLiteralTo(__razor_helper_writer, "\""); 6431 6432 WriteAttributeTo(__razor_helper_writer, "selected", Tuple.Create(" selected=\"", 95524), Tuple.Create("\"", 95557) 6433 6434 #line 1829 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 6435 , Tuple.Create(Tuple.Create("", 95535), Tuple.Create<System.Object, System.Int32>(priceQueryAscSelected 6436 6437 #line default 6438 #line hidden 6439 , 95535), false) 6440 ); 6441 6442 WriteLiteralTo(__razor_helper_writer, ">"); 6443 6444 6445 #line 1829 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 6446 WriteTo(__razor_helper_writer, Translate("SmartPage:Product.Sort.PristAsc", "Pris stigende")); 6447 6448 6449 #line default 6450 #line hidden 6451 WriteLiteralTo(__razor_helper_writer, "</option>\r\n <option"); 6452 6453 WriteAttributeTo(__razor_helper_writer, "value", Tuple.Create(" value=\"", 95651), Tuple.Create("\"", 95674) 6454 6455 #line 1830 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 6456 , Tuple.Create(Tuple.Create("", 95659), Tuple.Create<System.Object, System.Int32>(priceQueryDesc 6457 6458 #line default 6459 #line hidden 6460 , 95659), false) 6461 ); 6462 6463 WriteLiteralTo(__razor_helper_writer, " data-href=\""); 6464 6465 6466 #line 1830 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 6467 WriteTo(__razor_helper_writer, priceQueryDesc); 6468 6469 6470 #line default 6471 #line hidden 6472 WriteLiteralTo(__razor_helper_writer, "\""); 6473 6474 WriteAttributeTo(__razor_helper_writer, "selected", Tuple.Create(" selected=\"", 95703), Tuple.Create("\"", 95737) 6475 6476 #line 1830 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 6477 , Tuple.Create(Tuple.Create("", 95714), Tuple.Create<System.Object, System.Int32>(priceQueryDescSelected 6478 6479 #line default 6480 #line hidden 6481 , 95714), false) 6482 ); 6483 6484 WriteLiteralTo(__razor_helper_writer, ">"); 6485 6486 6487 #line 1830 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 6488 WriteTo(__razor_helper_writer, Translate("SmartPage:Product.Sort.PristDesc", "Pris faldende")); 6489 6490 6491 #line default 6492 #line hidden 6493 WriteLiteralTo(__razor_helper_writer, "</option>\r\n <option"); 6494 6495 WriteAttributeTo(__razor_helper_writer, "value", Tuple.Create(" value=\"", 95832), Tuple.Create("\"", 95853) 6496 6497 #line 1831 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 6498 , Tuple.Create(Tuple.Create("", 95840), Tuple.Create<System.Object, System.Int32>(nameQueryAsc 6499 6500 #line default 6501 #line hidden 6502 , 95840), false) 6503 ); 6504 6505 WriteLiteralTo(__razor_helper_writer, " data-href=\""); 6506 6507 6508 #line 1831 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 6509 WriteTo(__razor_helper_writer, nameQueryAsc); 6510 6511 6512 #line default 6513 #line hidden 6514 WriteLiteralTo(__razor_helper_writer, "\""); 6515 6516 WriteAttributeTo(__razor_helper_writer, "selected", Tuple.Create(" selected=\"", 95880), Tuple.Create("\"", 95912) 6517 6518 #line 1831 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 6519 , Tuple.Create(Tuple.Create("", 95891), Tuple.Create<System.Object, System.Int32>(nameQueryAscSelected 6520 6521 #line default 6522 #line hidden 6523 , 95891), false) 6524 ); 6525 6526 WriteLiteralTo(__razor_helper_writer, ">"); 6527 6528 6529 #line 1831 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 6530 WriteTo(__razor_helper_writer, Translate("SmartPage:Product.Sort.NameA-z", "Navn (A-Z)")); 6531 6532 6533 #line default 6534 #line hidden 6535 WriteLiteralTo(__razor_helper_writer, "</option>\r\n <option"); 6536 6537 WriteAttributeTo(__razor_helper_writer, "value", Tuple.Create(" value=\"", 96002), Tuple.Create("\"", 96024) 6538 6539 #line 1832 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 6540 , Tuple.Create(Tuple.Create("", 96010), Tuple.Create<System.Object, System.Int32>(nameQueryDesc 6541 6542 #line default 6543 #line hidden 6544 , 96010), false) 6545 ); 6546 6547 WriteLiteralTo(__razor_helper_writer, " data-href=\""); 6548 6549 6550 #line 1832 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 6551 WriteTo(__razor_helper_writer, nameQueryDesc); 6552 6553 6554 #line default 6555 #line hidden 6556 WriteLiteralTo(__razor_helper_writer, "\""); 6557 6558 WriteAttributeTo(__razor_helper_writer, "selected", Tuple.Create(" selected=\"", 96052), Tuple.Create("\"", 96085) 6559 6560 #line 1832 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 6561 , Tuple.Create(Tuple.Create("", 96063), Tuple.Create<System.Object, System.Int32>(nameQueryDescSelected 6562 6563 #line default 6564 #line hidden 6565 , 96063), false) 6566 ); 6567 6568 WriteLiteralTo(__razor_helper_writer, ">"); 6569 6570 6571 #line 1832 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 6572 WriteTo(__razor_helper_writer, Translate("SmartPage:Product.Sort.NameZ-A", "Navn (Z-A)")); 6573 6574 6575 #line default 6576 #line hidden 6577 WriteLiteralTo(__razor_helper_writer, "</option>\r\n <option"); 6578 6579 WriteAttributeTo(__razor_helper_writer, "value", Tuple.Create(" value=\"", 96175), Tuple.Create("\"", 96200) 6580 6581 #line 1833 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 6582 , Tuple.Create(Tuple.Create("", 96183), Tuple.Create<System.Object, System.Int32>(createdQueryDesc 6583 6584 #line default 6585 #line hidden 6586 , 96183), false) 6587 ); 6588 6589 WriteLiteralTo(__razor_helper_writer, " data-href=\""); 6590 6591 6592 #line 1833 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 6593 WriteTo(__razor_helper_writer, createdQueryDesc); 6594 6595 6596 #line default 6597 #line hidden 6598 WriteLiteralTo(__razor_helper_writer, "\""); 6599 6600 WriteAttributeTo(__razor_helper_writer, "selected", Tuple.Create(" selected=\"", 96231), Tuple.Create("\"", 96267) 6601 6602 #line 1833 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 6603 , Tuple.Create(Tuple.Create("", 96242), Tuple.Create<System.Object, System.Int32>(createdQueryDescSelected 6604 6605 #line default 6606 #line hidden 6607 , 96242), false) 6608 ); 6609 6610 WriteLiteralTo(__razor_helper_writer, ">"); 6611 6612 6613 #line 1833 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 6614 WriteTo(__razor_helper_writer, Translate("SmartPage:Product.Sort.Newest", "Nyeste")); 6615 6616 6617 #line default 6618 #line hidden 6619 WriteLiteralTo(__razor_helper_writer, "</option>\r\n </select>\r\n </div>\r\n"); 6620 6621 6622 #line 1836 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 6623 6624 6625 #line default 6626 #line hidden 6627 }); 6628 6629 #line 1836 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 6630 } 6631 #line default 6632 #line hidden 6633 6634 6635 #line 1839 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 6636 public RazorEngine.Templating.TemplateWriter RenderProductStock(bool useDescriptionList, LoopItem i = null) 6637 { 6638 #line default 6639 #line hidden 6640 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 6641 6642 #line 1840 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 6643 6644 string stockState = Dynamicweb.Core.Converter.ToString(Pageview.Area.Item["StockState"]); 6645 if (string.IsNullOrWhiteSpace(stockState) || stockState == "none") 6646 { 6647 return; //If stockstate is set to "none" og not set - don't show stock 6648 } 6649 6650 double stock = getDoubleByKey(i, "Ecom:Product.Stock"); 6651 string image = getStringByKey(i, "Ecom:Product:Stock.Image.Clean"); 6652 string text = getStringByKey(i, "Ecom:Product:Stock.Text"); 6653 string imageUrl = "/admin/public/GetImage.ashx?Image=" + Dynamicweb.Core.Encoders.HtmlEncoder.UrlPathEncode(image) + "&amp;Compression=75&amp;width=12&amp;height=12"; 6654 6655 if (useDescriptionList) 6656 { 6657 6658 6659 #line default 6660 #line hidden 6661 WriteLiteralTo(__razor_helper_writer, " <dt"); 6662 6663 WriteLiteralTo(__razor_helper_writer, " class=\"col-sm-8\""); 6664 6665 WriteLiteralTo(__razor_helper_writer, ">"); 6666 6667 6668 #line 1854 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 6669 WriteTo(__razor_helper_writer, Translate("Smartpage:eCom.Product.StockStatus.Label.DescriptionList", "Lager")); 6670 6671 6672 #line default 6673 #line hidden 6674 WriteLiteralTo(__razor_helper_writer, "</dt>\r\n"); 6675 6676 6677 #line 1855 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 6678 if (stockState == "quantity") 6679 { 6680 6681 6682 #line default 6683 #line hidden 6684 WriteLiteralTo(__razor_helper_writer, " <dd"); 6685 6686 WriteLiteralTo(__razor_helper_writer, " class=\"col-sm-16\""); 6687 6688 WriteLiteralTo(__razor_helper_writer, ">"); 6689 6690 6691 #line 1857 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 6692 WriteTo(__razor_helper_writer, stock); 6693 6694 6695 #line default 6696 #line hidden 6697 WriteLiteralTo(__razor_helper_writer, "</dd>\r\n"); 6698 6699 6700 #line 1858 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 6701 } 6702 else if (stockState == "range") 6703 { 6704 6705 6706 #line default 6707 #line hidden 6708 WriteLiteralTo(__razor_helper_writer, " <dd"); 6709 6710 WriteLiteralTo(__razor_helper_writer, " class=\"col-sm-16\""); 6711 6712 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 6713 6714 6715 #line 1862 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 6716 6717 6718 #line default 6719 #line hidden 6720 6721 #line 1862 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 6722 if (!string.IsNullOrWhiteSpace(image)) 6723 { 6724 6725 6726 #line default 6727 #line hidden 6728 WriteLiteralTo(__razor_helper_writer, " <img"); 6729 6730 WriteAttributeTo(__razor_helper_writer, "src", Tuple.Create(" src=\"", 97529), Tuple.Create("\"", 97544) 6731 6732 #line 1864 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 6733 , Tuple.Create(Tuple.Create("", 97535), Tuple.Create<System.Object, System.Int32>(imageUrl 6734 6735 #line default 6736 #line hidden 6737 , 97535), false) 6738 ); 6739 6740 WriteAttributeTo(__razor_helper_writer, "alt", Tuple.Create(" alt=\"", 97545), Tuple.Create("\"", 97556) 6741 6742 #line 1864 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 6743 , Tuple.Create(Tuple.Create("", 97551), Tuple.Create<System.Object, System.Int32>(text 6744 6745 #line default 6746 #line hidden 6747 , 97551), false) 6748 ); 6749 6750 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 6751 6752 6753 #line 1865 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 6754 } 6755 6756 6757 #line default 6758 #line hidden 6759 WriteLiteralTo(__razor_helper_writer, " <span>&nbsp;"); 6760 6761 6762 #line 1866 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 6763 WriteTo(__razor_helper_writer, text); 6764 6765 6766 #line default 6767 #line hidden 6768 WriteLiteralTo(__razor_helper_writer, "</span>\r\n </dd>\r\n"); 6769 6770 6771 #line 1868 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 6772 } 6773 } 6774 else 6775 { 6776 if (stockState == "quantity") 6777 { 6778 6779 6780 #line default 6781 #line hidden 6782 WriteLiteralTo(__razor_helper_writer, " <span><strong>"); 6783 6784 6785 #line 1874 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 6786 WriteTo(__razor_helper_writer, Translate("Smartpage:eCom.Product.StockStatus.Label", "Lager:")); 6787 6788 6789 #line default 6790 #line hidden 6791 WriteLiteralTo(__razor_helper_writer, " </strong>"); 6792 6793 6794 #line 1874 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 6795 WriteTo(__razor_helper_writer, stock); 6796 6797 6798 #line default 6799 #line hidden 6800 WriteLiteralTo(__razor_helper_writer, "</span>\r\n"); 6801 6802 6803 #line 1875 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 6804 } 6805 else if (stockState == "range") 6806 { 6807 if (!string.IsNullOrEmpty(text)) 6808 { 6809 if (!string.IsNullOrWhiteSpace(image)) 6810 { 6811 6812 6813 #line default 6814 #line hidden 6815 WriteLiteralTo(__razor_helper_writer, " <img"); 6816 6817 WriteAttributeTo(__razor_helper_writer, "src", Tuple.Create(" src=\"", 98063), Tuple.Create("\"", 98078) 6818 6819 #line 1882 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 6820 , Tuple.Create(Tuple.Create("", 98069), Tuple.Create<System.Object, System.Int32>(imageUrl 6821 6822 #line default 6823 #line hidden 6824 , 98069), false) 6825 ); 6826 6827 WriteAttributeTo(__razor_helper_writer, "alt", Tuple.Create(" alt=\"", 98079), Tuple.Create("\"", 98090) 6828 6829 #line 1882 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 6830 , Tuple.Create(Tuple.Create("", 98085), Tuple.Create<System.Object, System.Int32>(text 6831 6832 #line default 6833 #line hidden 6834 , 98085), false) 6835 ); 6836 6837 WriteLiteralTo(__razor_helper_writer, ">"); 6838 6839 WriteLiteralTo(__razor_helper_writer, "<span>&nbsp;"); 6840 6841 6842 #line 1882 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 6843 WriteTo(__razor_helper_writer, text); 6844 6845 6846 #line default 6847 #line hidden 6848 WriteLiteralTo(__razor_helper_writer, "</span>\r\n"); 6849 6850 6851 #line 1883 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 6852 } 6853 else 6854 { 6855 6856 6857 #line default 6858 #line hidden 6859 WriteLiteralTo(__razor_helper_writer, " <span><strong>"); 6860 6861 6862 #line 1886 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 6863 WriteTo(__razor_helper_writer, Translate("Smartpage:eCom.Product.StockStatus.Label", "Lager:")); 6864 6865 6866 #line default 6867 #line hidden 6868 WriteLiteralTo(__razor_helper_writer, " </strong>"); 6869 6870 6871 #line 1886 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 6872 WriteTo(__razor_helper_writer, text); 6873 6874 6875 #line default 6876 #line hidden 6877 WriteLiteralTo(__razor_helper_writer, "</span>\r\n"); 6878 6879 6880 #line 1887 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 6881 } 6882 } 6883 else 6884 { 6885 6886 6887 #line default 6888 #line hidden 6889 WriteLiteralTo(__razor_helper_writer, " <span>"); 6890 6891 6892 #line 1891 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 6893 WriteTo(__razor_helper_writer, Translate("Smartpage:eCom.Product.StockStatus.Unknown", "Ukendt")); 6894 6895 6896 #line default 6897 #line hidden 6898 WriteLiteralTo(__razor_helper_writer, "</span>\r\n"); 6899 6900 6901 #line 1892 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 6902 } 6903 } 6904 } 6905 6906 6907 #line default 6908 #line hidden 6909 }); 6910 6911 #line 1895 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 6912 } 6913 #line default 6914 #line hidden 6915 6916 6917 #line 1897 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 6918 public RazorEngine.Templating.TemplateWriter RenderProductStockCheckModal(string Mode) 6919 { 6920 #line default 6921 #line hidden 6922 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 6923 6924 #line 1898 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 6925 6926 if (!string.IsNullOrWhiteSpace(Mode) && Mode != "ignore") 6927 { 6928 6929 6930 #line default 6931 #line hidden 6932 WriteLiteralTo(__razor_helper_writer, " <div"); 6933 6934 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 98638), Tuple.Create("\"", 98683) 6935 , Tuple.Create(Tuple.Create("", 98646), Tuple.Create("modal", 98646), true) 6936 , Tuple.Create(Tuple.Create(" ", 98651), Tuple.Create("fade", 98652), true) 6937 , Tuple.Create(Tuple.Create(" ", 98656), Tuple.Create("js-stock-check-modal-", 98657), true) 6938 6939 #line 1901 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 6940 , Tuple.Create(Tuple.Create("", 98678), Tuple.Create<System.Object, System.Int32>(Mode 6941 6942 #line default 6943 #line hidden 6944 , 98678), false) 6945 ); 6946 6947 WriteAttributeTo(__razor_helper_writer, "id", Tuple.Create(" id=\"", 98684), Tuple.Create("\"", 98712) 6948 , Tuple.Create(Tuple.Create("", 98689), Tuple.Create("stock-check-modal-", 98689), true) 6949 6950 #line 1901 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 6951 , Tuple.Create(Tuple.Create("", 98707), Tuple.Create<System.Object, System.Int32>(Mode 6952 6953 #line default 6954 #line hidden 6955 , 98707), false) 6956 ); 6957 6958 WriteLiteralTo(__razor_helper_writer, " tabindex=\"-1\""); 6959 6960 WriteLiteralTo(__razor_helper_writer, " role=\"dialog\""); 6961 6962 WriteAttributeTo(__razor_helper_writer, "aria-labelledby", Tuple.Create(" aria-labelledby=\"", 98741), Tuple.Create("\"", 98782) 6963 , Tuple.Create(Tuple.Create("", 98759), Tuple.Create("stock-check-label-", 98759), true) 6964 6965 #line 1901 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 6966 , Tuple.Create(Tuple.Create("", 98777), Tuple.Create<System.Object, System.Int32>(Mode 6967 6968 #line default 6969 #line hidden 6970 , 98777), false) 6971 ); 6972 6973 WriteLiteralTo(__razor_helper_writer, " aria-hidden=\"true\""); 6974 6975 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 6976 6977 WriteLiteralTo(__razor_helper_writer, " class=\"modal-dialog\""); 6978 6979 WriteLiteralTo(__razor_helper_writer, " role=\"document\""); 6980 6981 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 6982 6983 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 98881), Tuple.Create("\"", 98923) 6984 , Tuple.Create(Tuple.Create("", 98889), Tuple.Create("modal-content", 98889), true) 6985 , Tuple.Create(Tuple.Create(" ", 98902), Tuple.Create("js-stock-check-", 98903), true) 6986 6987 #line 1903 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 6988 , Tuple.Create(Tuple.Create("", 98918), Tuple.Create<System.Object, System.Int32>(Mode 6989 6990 #line default 6991 #line hidden 6992 , 98918), false) 6993 ); 6994 6995 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 6996 6997 WriteLiteralTo(__razor_helper_writer, " class=\"modal-header\""); 6998 6999 WriteLiteralTo(__razor_helper_writer, ">\r\n <button"); 7000 7001 WriteLiteralTo(__razor_helper_writer, " type=\"button\""); 7002 7003 WriteLiteralTo(__razor_helper_writer, " class=\"close\""); 7004 7005 WriteLiteralTo(__razor_helper_writer, " data-dismiss=\"modal\""); 7006 7007 WriteLiteralTo(__razor_helper_writer, " aria-label=\"Close\""); 7008 7009 WriteLiteralTo(__razor_helper_writer, ">\r\n <span"); 7010 7011 WriteLiteralTo(__razor_helper_writer, " aria-hidden=\"true\""); 7012 7013 WriteLiteralTo(__razor_helper_writer, ">&times;</span>\r\n </button>\r\n <h4"); 7014 7015 WriteLiteralTo(__razor_helper_writer, " class=\"modal-title\""); 7016 7017 WriteAttributeTo(__razor_helper_writer, "id", Tuple.Create(" id=\"", 99228), Tuple.Create("\"", 99256) 7018 , Tuple.Create(Tuple.Create("", 99233), Tuple.Create("stock-check-label-", 99233), true) 7019 7020 #line 1908 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 7021 , Tuple.Create(Tuple.Create("", 99251), Tuple.Create<System.Object, System.Int32>(Mode 7022 7023 #line default 7024 #line hidden 7025 , 99251), false) 7026 ); 7027 7028 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 7029 7030 7031 #line 1909 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 7032 7033 7034 #line default 7035 #line hidden 7036 7037 #line 1909 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 7038 if (Mode == "break") 7039 { 7040 7041 7042 #line default 7043 #line hidden 7044 7045 #line 1911 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 7046 WriteTo(__razor_helper_writer, Translate("Smartpage:Ecom.Modal.StockCheck.Title.Stop", "Der er ikke nok på lager, prøv med et mindre antal.")); 7047 7048 7049 #line default 7050 #line hidden 7051 7052 #line 1911 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 7053 7054 } 7055 else if (Mode == "retry") 7056 { 7057 7058 7059 #line default 7060 #line hidden 7061 7062 #line 1915 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 7063 WriteTo(__razor_helper_writer, Translate("Smartpage:Ecom.Modal.StockCheck.Title.Retry", "Der er ikke nok på lager, antallet er blevet justeret automatisk.")); 7064 7065 7066 #line default 7067 #line hidden 7068 7069 #line 1915 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 7070 7071 } 7072 7073 7074 #line default 7075 #line hidden 7076 WriteLiteralTo(__razor_helper_writer, " </h4>\r\n </div>\r\n <d" + 7077 "iv"); 7078 7079 WriteLiteralTo(__razor_helper_writer, " class=\"modal-body js-stock-check-body\""); 7080 7081 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 7082 7083 7084 #line 1920 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 7085 7086 7087 #line default 7088 #line hidden 7089 7090 #line 1920 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 7091 if (Mode == "break") 7092 { 7093 7094 7095 #line default 7096 #line hidden 7097 WriteLiteralTo(__razor_helper_writer, " <div>\r\n"); 7098 7099 WriteLiteralTo(__razor_helper_writer, " "); 7100 7101 7102 #line 1923 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 7103 WriteTo(__razor_helper_writer, Translate("Smartpage:Ecom.Modal.StockCheck.ProductsAffected.Stop", "Følgende produkter var ikke tilgængelige:")); 7104 7105 7106 #line default 7107 #line hidden 7108 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 7109 7110 WriteLiteralTo(__razor_helper_writer, " <div"); 7111 7112 WriteLiteralTo(__razor_helper_writer, " class=\"js-stock-check-productname\""); 7113 7114 WriteLiteralTo(__razor_helper_writer, "></div>\r\n"); 7115 7116 7117 #line 1926 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 7118 } 7119 else if (Mode == "retry") 7120 { 7121 7122 7123 #line default 7124 #line hidden 7125 WriteLiteralTo(__razor_helper_writer, " <div>\r\n"); 7126 7127 WriteLiteralTo(__razor_helper_writer, " "); 7128 7129 7130 #line 1930 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 7131 WriteTo(__razor_helper_writer, Translate("Smartpage:Ecom.Modal.StockCheck.ProductsAffected.Retry", "Der er lagt følgende antal i kurven:")); 7132 7133 7134 #line default 7135 #line hidden 7136 WriteLiteralTo(__razor_helper_writer, "\r\n </div>\r\n"); 7137 7138 WriteLiteralTo(__razor_helper_writer, " <dl"); 7139 7140 WriteLiteralTo(__razor_helper_writer, " class=\"js-stock-check-productline\""); 7141 7142 WriteLiteralTo(__razor_helper_writer, ">\r\n <dt"); 7143 7144 WriteLiteralTo(__razor_helper_writer, " class=\"js-stock-check-productname\""); 7145 7146 WriteLiteralTo(__razor_helper_writer, "></dt>\r\n <dd"); 7147 7148 WriteLiteralTo(__razor_helper_writer, " class=\"js-stock-check-productname\""); 7149 7150 WriteLiteralTo(__razor_helper_writer, "></dd>\r\n </dl>\r\n"); 7151 7152 7153 #line 1936 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 7154 } 7155 7156 7157 #line default 7158 #line hidden 7159 WriteLiteralTo(__razor_helper_writer, " </div>\r\n <div"); 7160 7161 WriteLiteralTo(__razor_helper_writer, " class=\"modal-footer\""); 7162 7163 WriteLiteralTo(__razor_helper_writer, ">\r\n <button"); 7164 7165 WriteLiteralTo(__razor_helper_writer, " type=\"button\""); 7166 7167 WriteLiteralTo(__razor_helper_writer, " class=\"btn btn-secondary\""); 7168 7169 WriteLiteralTo(__razor_helper_writer, " data-dismiss=\"modal\""); 7170 7171 WriteLiteralTo(__razor_helper_writer, ">"); 7172 7173 7174 #line 1939 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 7175 WriteTo(__razor_helper_writer, Translate("Smartpage:UserManagement.LoginModal.Button.Close", "Luk")); 7176 7177 7178 #line default 7179 #line hidden 7180 WriteLiteralTo(__razor_helper_writer, "</button>\r\n </div>\r\n </div>\r\n </div>" + 7181 "\r\n </div>\r\n"); 7182 7183 7184 #line 1944 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 7185 } 7186 7187 7188 #line default 7189 #line hidden 7190 }); 7191 7192 #line 1945 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 7193 } 7194 #line default 7195 #line hidden 7196 7197 7198 public RazorEngine_4c9177598596458e9c6bc0b67e84c59b() { 7199 } 7200 7201 public override void Execute() { 7202 WriteLiteral("\r\n"); 7203 7204 WriteLiteral("\r\n"); 7205 7206 WriteLiteral("\r\n"); 7207 7208 WriteLiteral("\r\n"); 7209 7210 WriteLiteral("\r\n"); 7211 7212 WriteLiteral("\r\n"); 7213 7214 WriteLiteral("\r\n"); 7215 7216 WriteLiteral("\r\n"); 7217 7218 WriteLiteral("\r\n"); 7219 7220 WriteLiteral("\r\n"); 7221 7222 WriteLiteral("\r\n\r\n"); 7223 7224 7225 #line 773 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 7226 7227 7228 7229 7230 #line default 7231 #line hidden 7232 7233 #line 775 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 7234 Write(SnippetStart("Meta")); 7235 7236 7237 #line default 7238 #line hidden 7239 7240 #line 775 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 7241 7242 //take default appid unless defined 7243 string appID = !String.IsNullOrEmpty(Dynamicweb.Core.Converter.ToString(Pageview.Area.Item["FacebookAppId"])) ? "" : Dynamicweb.Core.Converter.ToString(Pageview.Area.Item["FacebookAppId"]); 7244 7245 7246 #line default 7247 #line hidden 7248 WriteLiteral(" <meta"); 7249 7250 WriteLiteral(" property=\"fb:app_id\""); 7251 7252 WriteAttribute("content", Tuple.Create(" content=\'", 42451), Tuple.Create("\'", 42467) 7253 7254 #line 778 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 7255 , Tuple.Create(Tuple.Create("", 42461), Tuple.Create<System.Object, System.Int32>(appID 7256 7257 #line default 7258 #line hidden 7259 , 42461), false) 7260 ); 7261 7262 WriteLiteral(">\r\n"); 7263 7264 7265 #line 779 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 7266 7267 if (string.IsNullOrEmpty(Dynamicweb.Context.Current.Request.GetString("ProductID"))) 7268 { 7269 string sharePageImage = Dynamicweb.Environment.Helpers.LinkHelper.GetHttpDomain() + GetString("Item.Page.ImageForSharing"); 7270 string title = GetString("Title"); 7271 string description = GetString("Meta.Description"); 7272 var pageViewUrlForSharing = Dynamicweb.Environment.Helpers.LinkHelper.GetHttpDomain() + Pageview.SearchFriendlyUrl; 7273 7274 if (!string.IsNullOrEmpty(title)) 7275 { 7276 7277 7278 #line default 7279 #line hidden 7280 WriteLiteral(" <meta"); 7281 7282 WriteLiteral(" property=\"og:title\""); 7283 7284 WriteAttribute("content", Tuple.Create(" content=\"", 43026), Tuple.Create("\"", 43042) 7285 7286 #line 789 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 7287 , Tuple.Create(Tuple.Create("", 43036), Tuple.Create<System.Object, System.Int32>(title 7288 7289 #line default 7290 #line hidden 7291 , 43036), false) 7292 ); 7293 7294 WriteLiteral(">\r\n"); 7295 7296 7297 #line 790 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 7298 } 7299 7300 7301 #line default 7302 #line hidden 7303 WriteLiteral(" <meta"); 7304 7305 WriteLiteral(" property=\"og:type\""); 7306 7307 WriteLiteral(" content=\"website\""); 7308 7309 WriteLiteral(">\r\n"); 7310 7311 7312 #line 792 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 7313 if (!string.IsNullOrEmpty(sharePageImage)) 7314 { 7315 7316 7317 #line default 7318 #line hidden 7319 WriteLiteral(" <meta"); 7320 7321 WriteLiteral(" property=\"og:image\""); 7322 7323 WriteAttribute("content", Tuple.Create(" content=\"", 43210), Tuple.Create("\"", 43235) 7324 7325 #line 794 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 7326 , Tuple.Create(Tuple.Create("", 43220), Tuple.Create<System.Object, System.Int32>(sharePageImage 7327 7328 #line default 7329 #line hidden 7330 , 43220), false) 7331 ); 7332 7333 WriteLiteral(">\r\n"); 7334 7335 7336 #line 795 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 7337 } 7338 if (!string.IsNullOrEmpty(pageViewUrlForSharing)) 7339 { 7340 7341 7342 #line default 7343 #line hidden 7344 WriteLiteral(" <meta"); 7345 7346 WriteLiteral(" property=\"og:url\""); 7347 7348 WriteAttribute("content", Tuple.Create(" content=\"", 43355), Tuple.Create("\"", 43387) 7349 7350 #line 798 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 7351 , Tuple.Create(Tuple.Create("", 43365), Tuple.Create<System.Object, System.Int32>(pageViewUrlForSharing 7352 7353 #line default 7354 #line hidden 7355 , 43365), false) 7356 ); 7357 7358 WriteLiteral(">\r\n"); 7359 7360 7361 #line 799 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 7362 } 7363 if (!string.IsNullOrEmpty(description)) 7364 { 7365 7366 7367 #line default 7368 #line hidden 7369 WriteLiteral(" <meta"); 7370 7371 WriteLiteral(" property=\"og:description\""); 7372 7373 WriteAttribute("content", Tuple.Create(" content=\"", 43505), Tuple.Create("\"", 43527) 7374 7375 #line 802 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 7376 , Tuple.Create(Tuple.Create("", 43515), Tuple.Create<System.Object, System.Int32>(description 7377 7378 #line default 7379 #line hidden 7380 , 43515), false) 7381 ); 7382 7383 WriteLiteral(">\r\n"); 7384 7385 7386 #line 803 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 7387 } 7388 7389 } 7390 7391 7392 #line default 7393 #line hidden 7394 7395 #line 806 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 7396 Write(SnippetEnd("Meta")); 7397 7398 7399 #line default 7400 #line hidden 7401 7402 #line 806 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 7403 7404 7405 7406 #line default 7407 #line hidden 7408 WriteLiteral("\r\n"); 7409 7410 WriteLiteral("\r\n"); 7411 7412 WriteLiteral("\r\n"); 7413 7414 7415 #line 985 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 7416 7417 string languageCode = GetGlobalValue("Global:Area.Lang").ToLower(); 7418 string version = Dynamicweb.Core.Converter.ToBoolean(Pageview.Area.Item["DeveloperMode"]) ? "0." + DateTime.Now.Ticks : "1.0.11102018"; 7419 var stylesheet = Converter.ToString(Pageview.Area.Item["Stylesheet"]) + "?v=" + version; 7420 7421 7422 #line default 7423 #line hidden 7424 WriteLiteral("\r\n<!DOCTYPE html>\r\n<html"); 7425 7426 WriteAttribute("lang", Tuple.Create(" lang=\"", 51957), Tuple.Create("\"", 51977) 7427 7428 #line 991 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 7429 , Tuple.Create(Tuple.Create("", 51964), Tuple.Create<System.Object, System.Int32>(languageCode 7430 7431 #line default 7432 #line hidden 7433 , 51964), false) 7434 ); 7435 7436 WriteLiteral(">\r\n<head>\r\n"); 7437 7438 7439 #line 993 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 7440 7441 7442 #line default 7443 #line hidden 7444 7445 #line 993 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 7446 7447 var designBaseUrl = GetString("Template:DesignBaseUrl").TrimEnd('/'); 7448 bool isLoggedIn = Dynamicweb.Security.UserManagement.User.IsExtranetUserLoggedIn(); 7449 bool useAlternativeHeader = Pageview.Page.PropertyItem != null && Dynamicweb.Core.Converter.ToBoolean(Pageview.Page.PropertyItem["UseAlternativeHeader"]); 7450 7451 7452 #line default 7453 #line hidden 7454 WriteLiteral("\r\n <meta"); 7455 7456 WriteLiteral(" charset=\"utf-8\""); 7457 7458 WriteLiteral(">\r\n <meta"); 7459 7460 WriteLiteral(" name=\"viewport\""); 7461 7462 WriteLiteral(" content=\"width=device-width, initial-scale=1, shrink-to-fit=no\""); 7463 7464 WriteLiteral(">\r\n <meta"); 7465 7466 WriteLiteral(" http-equiv=\"x-ua-compatible\""); 7467 7468 WriteLiteral(" content=\"ie=edge\""); 7469 7470 WriteLiteral(">\r\n <title>"); 7471 7472 7473 #line 1001 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 7474 Write(GetValue("Title")); 7475 7476 7477 #line default 7478 #line hidden 7479 WriteLiteral("</title>\r\n"); 7480 7481 7482 #line 1002 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 7483 Write(GetValue("MetaTags")); 7484 7485 7486 #line default 7487 #line hidden 7488 WriteLiteral("\r\n"); 7489 7490 7491 #line 1003 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 7492 Write(GetValue("CopyRightNotice")); 7493 7494 7495 #line default 7496 #line hidden 7497 WriteLiteral("\r\n\r\n"); 7498 7499 WriteLiteral(" "); 7500 7501 7502 #line 1005 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 7503 Write(RenderSnippet("Meta")); 7504 7505 7506 #line default 7507 #line hidden 7508 WriteLiteral("\r\n\r\n <link"); 7509 7510 WriteLiteral(" rel=\"stylesheet\""); 7511 7512 WriteAttribute("href", Tuple.Create(" href=\"", 52669), Tuple.Create("\"", 52687) 7513 7514 #line 1007 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 7515 , Tuple.Create(Tuple.Create("", 52676), Tuple.Create<System.Object, System.Int32>(stylesheet 7516 7517 #line default 7518 #line hidden 7519 , 52676), false) 7520 ); 7521 7522 WriteLiteral(">\r\n\t<meta"); 7523 7524 WriteLiteral(" name=\"facebook-domain-verification\""); 7525 7526 WriteLiteral(" content=\"dy4yqqtc5oaudxg4cpgbudtttr7lrn\""); 7527 7528 WriteLiteral(">\r\n"); 7529 7530 WriteLiteral(" "); 7531 7532 7533 #line 1009 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 7534 Write(RenderHeaderHrefLang()); 7535 7536 7537 #line default 7538 #line hidden 7539 WriteLiteral("\r\n\r\n"); 7540 7541 7542 #line 1011 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 7543 7544 7545 #line default 7546 #line hidden 7547 7548 #line 1011 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 7549 7550 var headGoogleTagManagerId = Converter.ToString(Pageview.Area.Item["GoogleTagManagerId"]); 7551 if (!string.IsNullOrEmpty(headGoogleTagManagerId)) 7552 { 7553 7554 7555 #line default 7556 #line hidden 7557 WriteLiteral(" <!-- Google Tag Manager -->\r\n"); 7558 7559 WriteLiteral(@" <script> 7560 (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': 7561 new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], 7562 j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= 7563 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f); 7564 })(window,document,'script','dataLayer','"); 7565 7566 7567 #line 1021 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 7568 Write(headGoogleTagManagerId); 7569 7570 7571 #line default 7572 #line hidden 7573 WriteLiteral("\');</script>\r\n"); 7574 7575 WriteLiteral(" <!-- End Google Tag Manager -->\r\n"); 7576 7577 7578 #line 1023 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 7579 } 7580 7581 7582 #line default 7583 #line hidden 7584 WriteLiteral("\r\n\r\n"); 7585 7586 7587 #line 1026 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 7588 7589 7590 #line default 7591 #line hidden 7592 7593 #line 1026 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 7594 7595 var headFacebookPixelId = Converter.ToString(Pageview.Area.Item["FacebookPixelId"]); 7596 if (!string.IsNullOrEmpty(headFacebookPixelId)) 7597 { 7598 7599 7600 #line default 7601 #line hidden 7602 WriteLiteral(" <!-- Facebook Pixel Code -->\r\n"); 7603 7604 WriteLiteral(@" <script> 7605 !function(f,b,e,v,n,t,s) 7606 {if(f.fbq)return;n=f.fbq=function() 7607 {n.callMethod? n.callMethod.apply(n,arguments):n.queue.push(arguments)}; 7608 if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0'; 7609 n.queue=[];t=b.createElement(e);t.async=!0; 7610 t.src=v;s=b.getElementsByTagName(e)[0]; 7611 s.parentNode.insertBefore(t,s)}(window,document,'script', 7612 'https://connect.facebook.net/en_US/fbevents.js'); 7613 fbq('init', '"); 7614 7615 7616 #line 1040 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 7617 Write(headFacebookPixelId); 7618 7619 7620 #line default 7621 #line hidden 7622 WriteLiteral("\');\r\n fbq(\'track\', \'PageView\');\r\n </script>\r\n"); 7623 7624 WriteLiteral(" <noscript><img"); 7625 7626 WriteLiteral(" height=\'1\'"); 7627 7628 WriteLiteral(" width=\'1\'"); 7629 7630 WriteAttribute("src", Tuple.Create(" src=\"", 54401), Tuple.Create("\"", 54485) 7631 , Tuple.Create(Tuple.Create("", 54407), Tuple.Create("https://www.facebook.com/tr?id=", 54407), true) 7632 7633 #line 1043 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 7634 , Tuple.Create(Tuple.Create("", 54438), Tuple.Create<System.Object, System.Int32>(headFacebookPixelId 7635 7636 #line default 7637 #line hidden 7638 , 54438), false) 7639 , Tuple.Create(Tuple.Create("", 54458), Tuple.Create("&amp;ev=PageView&noscript=1", 54458), true) 7640 ); 7641 7642 WriteLiteral("></noscript>\r\n"); 7643 7644 WriteLiteral(" <!-- End Facebook Pixel Code -->\r\n"); 7645 7646 7647 #line 1045 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 7648 } 7649 7650 7651 #line default 7652 #line hidden 7653 WriteLiteral("\r\n \r\n \r\n\r\n"); 7654 7655 WriteLiteral(" "); 7656 7657 7658 #line 1050 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 7659 Write(RenderStandardInstantProductSearchTemplates()); 7660 7661 7662 #line default 7663 #line hidden 7664 WriteLiteral("\r\n\r\n"); 7665 7666 7667 #line 1052 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 7668 7669 7670 #line default 7671 #line hidden 7672 7673 #line 1052 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 7674 if (Dynamicweb.Core.Converter.ToString(Pageview.Area.Item["Favicon"]) != "") 7675 { 7676 var favicon = Dynamicweb.Core.Converter.ToString(Pageview.Area.Item["Favicon"]); 7677 7678 7679 7680 #line default 7681 #line hidden 7682 WriteLiteral(" <link"); 7683 7684 WriteLiteral(" rel=\"shortcut icon\""); 7685 7686 WriteAttribute("href", Tuple.Create(" href=\"", 54843), Tuple.Create("\"", 54858) 7687 7688 #line 1056 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 7689 , Tuple.Create(Tuple.Create("", 54850), Tuple.Create<System.Object, System.Int32>(favicon 7690 7691 #line default 7692 #line hidden 7693 , 54850), false) 7694 ); 7695 7696 WriteLiteral(">\r\n"); 7697 7698 7699 #line 1057 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 7700 } 7701 7702 7703 7704 #line default 7705 #line hidden 7706 7707 #line 1064 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 7708 7709 7710 7711 #line default 7712 #line hidden 7713 WriteLiteral(" <meta"); 7714 7715 WriteLiteral(" name=\"theme-color\""); 7716 7717 WriteLiteral(" content=\"#ffffff\""); 7718 7719 WriteLiteral(@"> 7720 7721 7722 <!-- Hotjar Tracking Code for https://www.sbs.dk/ --> 7723 <script> 7724 (function (h, o, t, j, a, r) { 7725 7726 h.hj = h.hj || function () { (h.hj.q = h.hj.q || []).push(arguments) }; 7727 7728 h._hjSettings = { hjid: 1468272, hjsv: 6 }; 7729 7730 a = o.getElementsByTagName('head')[0]; 7731 7732 r = o.createElement('script'); r.async = 1; 7733 7734 r.src = t + h._hjSettings.hjid + j + h._hjSettings.hjsv; 7735 7736 a.appendChild(r); 7737 7738 })(window, document, 'https://static.hotjar.com/c/hotjar-', '.js?sv='); 7739 </script> 7740 7741 7742 7743 "); 7744 7745 7746 #line 1089 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 7747 Write(GetValue("Stylesheets")); 7748 7749 7750 #line default 7751 #line hidden 7752 WriteLiteral("\r\n"); 7753 7754 7755 #line 1090 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 7756 Write(GetValue("Javascripts")); 7757 7758 7759 #line default 7760 #line hidden 7761 WriteLiteral("\r\n</head>\r\n\r\n<body"); 7762 7763 WriteLiteral(" class=\"body\""); 7764 7765 WriteLiteral(">\r\n\r\n"); 7766 7767 7768 #line 1095 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 7769 7770 7771 #line default 7772 #line hidden 7773 7774 #line 1095 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 7775 7776 var bodyGoogleTagManagerId = Converter.ToString(Pageview.Area.Item["GoogleTagManagerId"]); 7777 if (!string.IsNullOrEmpty(bodyGoogleTagManagerId)) 7778 { 7779 7780 7781 #line default 7782 #line hidden 7783 WriteLiteral(" <!-- Google Tag Manager (noscript) -->\r\n"); 7784 7785 WriteLiteral(" <noscript><iframe"); 7786 7787 WriteAttribute("src", Tuple.Create(" src=\"", 56425), Tuple.Create("\"", 56498) 7788 , Tuple.Create(Tuple.Create("", 56431), Tuple.Create("https://www.googletagmanager.com/ns.html?id=", 56431), true) 7789 7790 #line 1100 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 7791 , Tuple.Create(Tuple.Create("", 56475), Tuple.Create<System.Object, System.Int32>(bodyGoogleTagManagerId 7792 7793 #line default 7794 #line hidden 7795 , 56475), false) 7796 ); 7797 7798 WriteLiteral(" height=\"0\""); 7799 7800 WriteLiteral(" width=\"0\""); 7801 7802 WriteLiteral(" style=\"display:none;visibility:hidden\""); 7803 7804 WriteLiteral("></iframe></noscript>\r\n"); 7805 7806 WriteLiteral(" <!-- End Google Tag Manager (noscript) -->\r\n"); 7807 7808 7809 #line 1102 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 7810 } 7811 7812 7813 #line default 7814 #line hidden 7815 WriteLiteral("\r\n\r\n "); 7816 7817 WriteLiteral("\r\n\r\n <header"); 7818 7819 WriteLiteral(" class=\"header\""); 7820 7821 WriteLiteral(">\r\n\r\n"); 7822 7823 7824 #line 1109 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 7825 7826 7827 #line default 7828 #line hidden 7829 7830 #line 1109 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 7831 7832 var headerType = Converter.ToInt32(Pageview.Area.Item["Header"]); 7833 if (headerType == 1) 7834 { 7835 if (!useAlternativeHeader && Converter.ToBoolean(Pageview.Area.Item["EnableHeaderTopline"])) 7836 { 7837 7838 7839 #line default 7840 #line hidden 7841 WriteLiteral(" <div"); 7842 7843 WriteLiteral(" class=\"header-topline\""); 7844 7845 WriteLiteral(">\r\n <div"); 7846 7847 WriteLiteral(" class=\"container\""); 7848 7849 WriteLiteral(">\r\n <div"); 7850 7851 WriteLiteral(" class=\"row no-gutters\""); 7852 7853 WriteLiteral(">\r\n <div"); 7854 7855 WriteLiteral(" class=\"col-md-13\""); 7856 7857 WriteLiteral(">\r\n"); 7858 7859 WriteLiteral(" "); 7860 7861 7862 #line 1119 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 7863 Write(RenderUSP("header")); 7864 7865 7866 #line default 7867 #line hidden 7868 WriteLiteral("\r\n </div>\r\n <div"); 7869 7870 WriteLiteral(" class=\"col-md-5 text-md-right\""); 7871 7872 WriteLiteral(">\r\n"); 7873 7874 7875 #line 1122 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 7876 7877 7878 #line default 7879 #line hidden 7880 7881 #line 1122 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 7882 if (Converter.ToBoolean(Pageview.Area.Item["EnableCustomerService"])) 7883 { 7884 7885 7886 #line default 7887 #line hidden 7888 7889 #line 1124 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 7890 Write(Translate("Smartpage:Header.CustomerSerive", "Kundeservice")); 7891 7892 7893 #line default 7894 #line hidden 7895 7896 #line 1124 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 7897 7898 7899 #line default 7900 #line hidden 7901 7902 #line 1124 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 7903 Write(Dynamicweb.Core.Converter.ToString(Pageview.Area.Item["CompanyPhone"])); 7904 7905 7906 #line default 7907 #line hidden 7908 7909 #line 1124 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 7910 7911 } 7912 7913 7914 #line default 7915 #line hidden 7916 WriteLiteral(" </div>\r\n <div"); 7917 7918 WriteLiteral(" class=\"col-md-3 header-lang\""); 7919 7920 WriteLiteral(">\r\n"); 7921 7922 WriteLiteral(" "); 7923 7924 7925 #line 1128 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 7926 Write(RenderLanguageDropdown("TwoLetterISOLanguageName")); 7927 7928 7929 #line default 7930 #line hidden 7931 WriteLiteral("\r\n </div>\r\n <div"); 7932 7933 WriteLiteral(" class=\"col-md-3 header-userdropdown\""); 7934 7935 WriteLiteral(">\r\n"); 7936 7937 WriteLiteral(" "); 7938 7939 7940 #line 1131 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 7941 Write(RenderUserManagementDropdownButton()); 7942 7943 7944 #line default 7945 #line hidden 7946 WriteLiteral("\r\n </div>\r\n </div>\r\n " + 7947 " </div>\r\n </div>\r\n"); 7948 7949 7950 #line 1136 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 7951 } 7952 7953 7954 7955 #line default 7956 #line hidden 7957 7958 #line 1138 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 7959 7960 7961 7962 7963 #line default 7964 #line hidden 7965 WriteLiteral(" <div"); 7966 7967 WriteLiteral(" class=\"header-content js-header-content\""); 7968 7969 WriteLiteral(">\r\n <div"); 7970 7971 WriteLiteral(" class=\"container\""); 7972 7973 WriteLiteral(">\r\n <div"); 7974 7975 WriteLiteral(" class=\"row\""); 7976 7977 WriteLiteral(">\r\n <div"); 7978 7979 WriteLiteral(" class=\"col-xs-8 col-sm-12 col-md-12\""); 7980 7981 WriteLiteral(">\r\n"); 7982 7983 7984 #line 1144 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 7985 7986 7987 #line default 7988 #line hidden 7989 7990 #line 1144 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 7991 if (Dynamicweb.Core.Converter.ToString(Pageview.Area.Item["Logo"]) != "") 7992 { 7993 var logoLink = "Default.aspx?ID=" + GetInteger("DwAreaFirstPageID"); 7994 var logo = Dynamicweb.Core.Converter.ToString(Pageview.Area.Item["Logo"]); 7995 7996 7997 #line default 7998 #line hidden 7999 WriteLiteral(" <div"); 8000 8001 WriteLiteral(" class=\"header-logo\""); 8002 8003 WriteLiteral(">\r\n <a"); 8004 8005 WriteAttribute("href", Tuple.Create(" href=\"", 59065), Tuple.Create("\"", 59081) 8006 8007 #line 1149 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 8008 , Tuple.Create(Tuple.Create("", 59072), Tuple.Create<System.Object, System.Int32>(logoLink 8009 8010 #line default 8011 #line hidden 8012 , 59072), false) 8013 ); 8014 8015 WriteAttribute("title", Tuple.Create(" title=\'", 59082), Tuple.Create("\'", 59114) 8016 8017 #line 1149 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 8018 , Tuple.Create(Tuple.Create("", 59090), Tuple.Create<System.Object, System.Int32>(GetString("DwAreaName") 8019 8020 #line default 8021 #line hidden 8022 , 59090), false) 8023 ); 8024 8025 WriteLiteral(">\r\n <img"); 8026 8027 WriteAttribute("src", Tuple.Create(" src=\"", 59166), Tuple.Create("\"", 59177) 8028 8029 #line 1150 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 8030 , Tuple.Create(Tuple.Create("", 59172), Tuple.Create<System.Object, System.Int32>(logo 8031 8032 #line default 8033 #line hidden 8034 , 59172), false) 8035 ); 8036 8037 WriteLiteral(" class=\"img-fluid\""); 8038 8039 WriteAttribute("alt", Tuple.Create(" alt=\'", 59196), Tuple.Create("\'", 59226) 8040 8041 #line 1150 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 8042 , Tuple.Create(Tuple.Create("", 59202), Tuple.Create<System.Object, System.Int32>(GetString("DwAreaName") 8043 8044 #line default 8045 #line hidden 8046 , 59202), false) 8047 ); 8048 8049 WriteLiteral(">\r\n </a>\r\n " + 8050 " </div>\r\n"); 8051 8052 8053 #line 1153 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 8054 } 8055 8056 8057 #line default 8058 #line hidden 8059 WriteLiteral(" </div>\r\n\r\n <div"); 8060 8061 WriteLiteral(" class=\"col-xs-16 col-sm-12 col-md-12 text-xs-right\""); 8062 8063 WriteLiteral(">\r\n"); 8064 8065 8066 #line 1157 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 8067 8068 8069 #line default 8070 #line hidden 8071 8072 #line 1157 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 8073 if (!useAlternativeHeader) 8074 { 8075 8076 8077 #line default 8078 #line hidden 8079 WriteLiteral(" <span"); 8080 8081 WriteLiteral(" class=\"header-icon-search js-toggle\""); 8082 8083 WriteLiteral(" data-target=\".js-content-large\""); 8084 8085 WriteLiteral(">\r\n <i"); 8086 8087 WriteLiteral(" class=\"fa fa-search\""); 8088 8089 WriteLiteral(" aria-hidden=\"true\""); 8090 8091 WriteLiteral("></i>\r\n </span>\r\n"); 8092 8093 WriteLiteral(" <span"); 8094 8095 WriteLiteral(" class=\"header-icon-user\""); 8096 8097 WriteLiteral(">\r\n"); 8098 8099 WriteLiteral(" "); 8100 8101 8102 #line 1163 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 8103 Write(RenderUserManagementDropdownButton()); 8104 8105 8106 #line default 8107 #line hidden 8108 WriteLiteral("\r\n </span>\r\n"); 8109 8110 8111 #line 1165 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 8112 8113 var enableCart = Converter.ToBoolean(Pageview.Area.Item["EnableCart"]); 8114 if (enableCart) 8115 { 8116 8117 8118 #line default 8119 #line hidden 8120 WriteLiteral(" <span"); 8121 8122 WriteLiteral(" class=\"header-icon-cart\""); 8123 8124 WriteLiteral(">\r\n <a"); 8125 8126 WriteAttribute("href", Tuple.Create(" href=\'", 60338), Tuple.Create("\'", 60412) 8127 8128 #line 1170 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 8129 , Tuple.Create(Tuple.Create("", 60345), Tuple.Create<System.Object, System.Int32>(Dynamicweb.Core.Converter.ToString(Pageview.Area.Item["CartLink"]) 8130 8131 #line default 8132 #line hidden 8133 , 60345), false) 8134 ); 8135 8136 WriteLiteral(">\r\n <i"); 8137 8138 WriteLiteral(" class=\"fa fa-shopping-cart\""); 8139 8140 WriteLiteral(" aria-hidden=\"true\""); 8141 8142 WriteLiteral("></i>\r\n </a>\r\n " + 8143 " </span>\r\n"); 8144 8145 8146 #line 1174 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 8147 } 8148 8149 8150 8151 #line default 8152 #line hidden 8153 WriteLiteral(" <button"); 8154 8155 WriteLiteral(" class=\"hamburger hamburger--slider js-navigation-toggle js-toggle\""); 8156 8157 WriteLiteral(" type=\"button\""); 8158 8159 WriteLiteral(" data-target=\".js-navigation-mobile\""); 8160 8161 WriteLiteral(" data-toggle-type=\"hamburger\""); 8162 8163 WriteLiteral(">\r\n <span"); 8164 8165 WriteLiteral(" class=\"hamburger-box\""); 8166 8167 WriteLiteral(">\r\n <span"); 8168 8169 WriteLiteral(" class=\"hamburger-inner\""); 8170 8171 WriteLiteral("></span>\r\n </span>\r\n " + 8172 " </button>\r\n"); 8173 8174 8175 #line 1181 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 8176 } 8177 else if (String.IsNullOrWhiteSpace(Dynamicweb.Context.Current.Request["CompletedOrderId"])) 8178 { 8179 8180 8181 #line default 8182 #line hidden 8183 WriteLiteral(" <span"); 8184 8185 WriteLiteral(" class=\"pointer js-goback\""); 8186 8187 WriteLiteral(">&#171; "); 8188 8189 8190 #line 1184 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 8191 Write(Translate("Smartpage:Header.BackLink.GoBack", "Tilbage")); 8192 8193 8194 #line default 8195 #line hidden 8196 WriteLiteral("</span>\r\n"); 8197 8198 8199 #line 1185 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 8200 } 8201 8202 8203 #line default 8204 #line hidden 8205 WriteLiteral(" </div>\r\n\r\n </div>\r\n " + 8206 " </div>\r\n </div>\r\n"); 8207 8208 8209 #line 1191 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 8210 8211 if (!useAlternativeHeader) 8212 { 8213 8214 8215 #line default 8216 #line hidden 8217 WriteLiteral(" <div"); 8218 8219 WriteLiteral(" class=\"container header-container\""); 8220 8221 WriteLiteral(">\r\n"); 8222 8223 WriteLiteral(" "); 8224 8225 8226 #line 1195 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 8227 Write(RenderUserManagementDropdown()); 8228 8229 8230 #line default 8231 #line hidden 8232 WriteLiteral("\r\n </div>\r\n"); 8233 8234 8235 #line 1197 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 8236 } 8237 8238 if (!useAlternativeHeader) 8239 { 8240 8241 8242 #line default 8243 #line hidden 8244 WriteLiteral(" <div"); 8245 8246 WriteLiteral(" class=\"header-content-large js-content-large\""); 8247 8248 WriteLiteral(">\r\n <div"); 8249 8250 WriteLiteral(" class=\"container js-content-large-container\""); 8251 8252 WriteLiteral(">\r\n <div"); 8253 8254 WriteLiteral(" class=\"row\""); 8255 8256 WriteLiteral(">\r\n <div"); 8257 8258 WriteLiteral(" class=\"hidden-md-down col-lg-6 vcenter\""); 8259 8260 WriteLiteral(">\r\n"); 8261 8262 8263 #line 1205 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 8264 8265 8266 #line default 8267 #line hidden 8268 8269 #line 1205 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 8270 if (Dynamicweb.Core.Converter.ToString(Pageview.Area.Item["LogoLarge"]) != "") 8271 { 8272 var logoLargeLink = "Default.aspx?ID=" + GetInteger("DwAreaFirstPageID"); 8273 var logoLarge = Dynamicweb.Core.Converter.ToString(Pageview.Area.Item["LogoLarge"]); 8274 8275 8276 #line default 8277 #line hidden 8278 WriteLiteral(" <div"); 8279 8280 WriteLiteral(" class=\"header-logo-large\""); 8281 8282 WriteLiteral(">\r\n <a"); 8283 8284 WriteAttribute("href", Tuple.Create(" href=\"", 62681), Tuple.Create("\"", 62702) 8285 8286 #line 1210 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 8287 , Tuple.Create(Tuple.Create("", 62688), Tuple.Create<System.Object, System.Int32>(logoLargeLink 8288 8289 #line default 8290 #line hidden 8291 , 62688), false) 8292 ); 8293 8294 WriteAttribute("title", Tuple.Create(" title=\'", 62703), Tuple.Create("\'", 62735) 8295 8296 #line 1210 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 8297 , Tuple.Create(Tuple.Create("", 62711), Tuple.Create<System.Object, System.Int32>(GetString("DwAreaName") 8298 8299 #line default 8300 #line hidden 8301 , 62711), false) 8302 ); 8303 8304 WriteLiteral(">\r\n <img"); 8305 8306 WriteAttribute("src", Tuple.Create(" src=\"", 62791), Tuple.Create("\"", 62807) 8307 8308 #line 1211 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 8309 , Tuple.Create(Tuple.Create("", 62797), Tuple.Create<System.Object, System.Int32>(logoLarge 8310 8311 #line default 8312 #line hidden 8313 , 62797), false) 8314 ); 8315 8316 WriteLiteral(" class=\"img-fluid\""); 8317 8318 WriteAttribute("alt", Tuple.Create(" alt=\'", 62826), Tuple.Create("\'", 62856) 8319 8320 #line 1211 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 8321 , Tuple.Create(Tuple.Create("", 62832), Tuple.Create<System.Object, System.Int32>(GetString("DwAreaName") 8322 8323 #line default 8324 #line hidden 8325 , 62832), false) 8326 ); 8327 8328 WriteLiteral(">\r\n </a>\r\n " + 8329 " </div>\r\n"); 8330 8331 8332 #line 1214 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 8333 } 8334 8335 8336 #line default 8337 #line hidden 8338 WriteLiteral(" </div>\r\n <div"); 8339 8340 WriteLiteral(" class=\"col-xs-24 col-sm-24 col-lg-12 text-xs-center\""); 8341 8342 WriteLiteral(">\r\n"); 8343 8344 WriteLiteral(" "); 8345 8346 8347 #line 1217 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 8348 Write(RenderInstantProductSearchForm()); 8349 8350 8351 #line default 8352 #line hidden 8353 WriteLiteral("\r\n </div>\r\n <div"); 8354 8355 WriteLiteral(" class=\"hidden-md-down col-lg-6\""); 8356 8357 WriteLiteral(">\r\n"); 8358 8359 WriteLiteral(" "); 8360 8361 8362 #line 1220 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 8363 Write(RenderCartMiniIcon("link")); 8364 8365 8366 #line default 8367 #line hidden 8368 WriteLiteral("\r\n </div>\r\n \t\t\t\t\t\t\t\t<div"); 8369 8370 WriteLiteral(" class=\"hidden-md-down col-lg-12 socialheader\""); 8371 8372 WriteLiteral(">\r\n"); 8373 8374 WriteLiteral(" "); 8375 8376 8377 #line 1223 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 8378 Write(RenderSocialMediaList("footer")); 8379 8380 8381 #line default 8382 #line hidden 8383 WriteLiteral("\r\n </div>\r\n </div>\r\n " + 8384 " </div>\r\n </div>\r\n"); 8385 8386 8387 #line 1228 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 8388 } 8389 else 8390 { 8391 8392 8393 #line default 8394 #line hidden 8395 WriteLiteral(" <div"); 8396 8397 WriteLiteral(" class=\"header-content-large header-content-large-alt js-content-large\""); 8398 8399 WriteLiteral(">\r\n <div"); 8400 8401 WriteLiteral(" class=\"container\""); 8402 8403 WriteLiteral(">\r\n <div"); 8404 8405 WriteLiteral(" class=\"row\""); 8406 8407 WriteLiteral(">\r\n <div"); 8408 8409 WriteLiteral(" class=\"col-lg-8\""); 8410 8411 WriteLiteral(">\r\n"); 8412 8413 8414 #line 1235 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 8415 8416 8417 #line default 8418 #line hidden 8419 8420 #line 1235 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 8421 if (String.IsNullOrWhiteSpace(Dynamicweb.Context.Current.Request["CompletedOrderId"])) 8422 { 8423 8424 8425 #line default 8426 #line hidden 8427 WriteLiteral(" <span"); 8428 8429 WriteLiteral(" class=\"pointer js-goback\""); 8430 8431 WriteLiteral(">&#171; "); 8432 8433 8434 #line 1237 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 8435 Write(Translate("Smartpage:Header.BackLink.GoBack", "Tilbage")); 8436 8437 8438 #line default 8439 #line hidden 8440 WriteLiteral("</span>\r\n"); 8441 8442 8443 #line 1238 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 8444 } 8445 8446 8447 #line default 8448 #line hidden 8449 WriteLiteral(" </div>\r\n <div"); 8450 8451 WriteLiteral(" class=\"col-lg-8 text-lg-center\""); 8452 8453 WriteLiteral(">\r\n"); 8454 8455 8456 #line 1241 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 8457 8458 8459 #line default 8460 #line hidden 8461 8462 #line 1241 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 8463 if (Dynamicweb.Core.Converter.ToString(Pageview.Area.Item["LogoLarge"]) != "") 8464 { 8465 var logoLargeLink = "Default.aspx?ID=" + GetInteger("DwAreaFirstPageID"); 8466 var logoLarge = Dynamicweb.Core.Converter.ToString(Pageview.Area.Item["LogoLarge"]); 8467 8468 8469 #line default 8470 #line hidden 8471 WriteLiteral(" <div"); 8472 8473 WriteLiteral(" class=\"header-logo-large\""); 8474 8475 WriteLiteral(">\r\n <a"); 8476 8477 WriteAttribute("href", Tuple.Create(" href=\"", 64970), Tuple.Create("\"", 64991) 8478 8479 #line 1246 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 8480 , Tuple.Create(Tuple.Create("", 64977), Tuple.Create<System.Object, System.Int32>(logoLargeLink 8481 8482 #line default 8483 #line hidden 8484 , 64977), false) 8485 ); 8486 8487 WriteAttribute("title", Tuple.Create(" title=\'", 64992), Tuple.Create("\'", 65024) 8488 8489 #line 1246 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 8490 , Tuple.Create(Tuple.Create("", 65000), Tuple.Create<System.Object, System.Int32>(GetString("DwAreaName") 8491 8492 #line default 8493 #line hidden 8494 , 65000), false) 8495 ); 8496 8497 WriteLiteral(">\r\n <img"); 8498 8499 WriteAttribute("src", Tuple.Create(" src=\"", 65080), Tuple.Create("\"", 65096) 8500 8501 #line 1247 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 8502 , Tuple.Create(Tuple.Create("", 65086), Tuple.Create<System.Object, System.Int32>(logoLarge 8503 8504 #line default 8505 #line hidden 8506 , 65086), false) 8507 ); 8508 8509 WriteLiteral(" class=\"img-fluid\""); 8510 8511 WriteAttribute("alt", Tuple.Create(" alt=\'", 65115), Tuple.Create("\'", 65145) 8512 8513 #line 1247 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 8514 , Tuple.Create(Tuple.Create("", 65121), Tuple.Create<System.Object, System.Int32>(GetString("DwAreaName") 8515 8516 #line default 8517 #line hidden 8518 , 65121), false) 8519 ); 8520 8521 WriteLiteral(">\r\n </a>\r\n " + 8522 " </div>\r\n"); 8523 8524 8525 #line 1250 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 8526 } 8527 8528 8529 #line default 8530 #line hidden 8531 WriteLiteral(" </div>\r\n <div"); 8532 8533 WriteLiteral(" class=\"col-lg-8 text-lg-right\""); 8534 8535 WriteLiteral(">\r\n"); 8536 8537 WriteLiteral(" "); 8538 8539 8540 #line 1253 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 8541 Write(Translate("Smartpage:Header.CustomerSerive", "Kundeservice")); 8542 8543 8544 #line default 8545 #line hidden 8546 WriteLiteral(" "); 8547 8548 8549 #line 1253 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 8550 Write(Dynamicweb.Core.Converter.ToString(Pageview.Area.Item["CompanyPhone"])); 8551 8552 8553 #line default 8554 #line hidden 8555 WriteLiteral("\r\n </div>\r\n </div>\r\n " + 8556 " </div>\r\n </div>\r\n"); 8557 8558 8559 #line 1258 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 8560 } 8561 8562 if (!useAlternativeHeader) 8563 { 8564 var headerNavigationMobileClass = Converter.ToBoolean(Pageview.Area.Item["LanguageActive"]) ? "has-language" : ""; 8565 8566 8567 8568 #line default 8569 #line hidden 8570 WriteLiteral(" <div"); 8571 8572 WriteLiteral(" class=\"header-navigation js-sticky\""); 8573 8574 WriteLiteral(" data-sticky-logo=\"true\""); 8575 8576 WriteLiteral(">\r\n <div"); 8577 8578 WriteLiteral(" class=\"container\""); 8579 8580 WriteLiteral(">\r\n"); 8581 8582 WriteLiteral(" "); 8583 8584 8585 #line 1266 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 8586 Write(RenderNavigationMega()); 8587 8588 8589 #line default 8590 #line hidden 8591 WriteLiteral("\r\n </div>\r\n </div>\r\n"); 8592 8593 WriteLiteral(" <div"); 8594 8595 WriteAttribute("class", Tuple.Create(" class=\"", 66198), Tuple.Create("\"", 66280) 8596 , Tuple.Create(Tuple.Create("", 66206), Tuple.Create("header-navigation-mobile", 66206), true) 8597 8598 #line 1269 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 8599 , Tuple.Create(Tuple.Create(" ", 66230), Tuple.Create<System.Object, System.Int32>(headerNavigationMobileClass 8600 8601 #line default 8602 #line hidden 8603 , 66231), false) 8604 , Tuple.Create(Tuple.Create(" ", 66259), Tuple.Create("js-navigation-mobile", 66260), true) 8605 ); 8606 8607 WriteLiteral(">\r\n <div"); 8608 8609 WriteLiteral(" class=\"navigation-slide-right\""); 8610 8611 WriteLiteral(">\r\n"); 8612 8613 WriteLiteral(" "); 8614 8615 8616 #line 1271 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 8617 Write(RenderNavigationSlideRight()); 8618 8619 8620 #line default 8621 #line hidden 8622 WriteLiteral("\r\n </div>\r\n <nav"); 8623 8624 WriteLiteral(" class=\"menu-bottom-lang\""); 8625 8626 WriteLiteral(">\r\n"); 8627 8628 WriteLiteral(" "); 8629 8630 8631 #line 1274 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 8632 Write(RenderLanguageList("TwoLetterISOLanguageName")); 8633 8634 8635 #line default 8636 #line hidden 8637 WriteLiteral("\r\n </nav>\r\n </div>\r\n"); 8638 8639 8640 #line 1277 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 8641 } 8642 } 8643 else if (headerType == 2) 8644 { 8645 8646 8647 #line default 8648 #line hidden 8649 WriteLiteral(" <div"); 8650 8651 WriteLiteral(" class=\"header-content js-header-content\""); 8652 8653 WriteLiteral(">\r\n <div"); 8654 8655 WriteLiteral(" class=\"container\""); 8656 8657 WriteLiteral(">\r\n <div"); 8658 8659 WriteLiteral(" class=\"row\""); 8660 8661 WriteLiteral(">\r\n <div"); 8662 8663 WriteLiteral(" class=\"col-xs-8 col-sm-12 col-md-12\""); 8664 8665 WriteLiteral(">\r\n"); 8666 8667 8668 #line 1285 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 8669 8670 8671 #line default 8672 #line hidden 8673 8674 #line 1285 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 8675 if (Converter.ToString(Pageview.Area.Item["Logo"]) != "") 8676 { 8677 var logoLink = "Default.aspx?ID=" + GetInteger("DwAreaFirstPageID"); 8678 var logo = Converter.ToString(Pageview.Area.Item["Logo"]); 8679 8680 8681 8682 #line default 8683 #line hidden 8684 WriteLiteral(" <div"); 8685 8686 WriteLiteral(" class=\"header-logo\""); 8687 8688 WriteLiteral(">\r\n <a"); 8689 8690 WriteAttribute("href", Tuple.Create(" href=\"", 67378), Tuple.Create("\"", 67394) 8691 8692 #line 1291 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 8693 , Tuple.Create(Tuple.Create("", 67385), Tuple.Create<System.Object, System.Int32>(logoLink 8694 8695 #line default 8696 #line hidden 8697 , 67385), false) 8698 ); 8699 8700 WriteAttribute("title", Tuple.Create(" title=\'", 67395), Tuple.Create("\'", 67427) 8701 8702 #line 1291 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 8703 , Tuple.Create(Tuple.Create("", 67403), Tuple.Create<System.Object, System.Int32>(GetString("DwAreaName") 8704 8705 #line default 8706 #line hidden 8707 , 67403), false) 8708 ); 8709 8710 WriteLiteral(">\r\n <img"); 8711 8712 WriteAttribute("src", Tuple.Create(" src=\"", 67479), Tuple.Create("\"", 67490) 8713 8714 #line 1292 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 8715 , Tuple.Create(Tuple.Create("", 67485), Tuple.Create<System.Object, System.Int32>(logo 8716 8717 #line default 8718 #line hidden 8719 , 67485), false) 8720 ); 8721 8722 WriteLiteral(" class=\"img-fluid\""); 8723 8724 WriteAttribute("alt", Tuple.Create(" alt=\'", 67509), Tuple.Create("\'", 67539) 8725 8726 #line 1292 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 8727 , Tuple.Create(Tuple.Create("", 67515), Tuple.Create<System.Object, System.Int32>(GetString("DwAreaName") 8728 8729 #line default 8730 #line hidden 8731 , 67515), false) 8732 ); 8733 8734 WriteLiteral(">\r\n </a>\r\n " + 8735 " </div>\r\n"); 8736 8737 8738 #line 1295 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 8739 } 8740 8741 8742 #line default 8743 #line hidden 8744 WriteLiteral(" </div>\r\n <div"); 8745 8746 WriteLiteral(" class=\"col-xs-16 col-sm-12 col-md-12 text-xs-right\""); 8747 8748 WriteLiteral(">\r\n <span"); 8749 8750 WriteLiteral(" class=\"header-icon-search js-toggle\""); 8751 8752 WriteLiteral(" data-target=\".js-content-large\""); 8753 8754 WriteLiteral(">\r\n <i"); 8755 8756 WriteLiteral(" class=\"fa fa-search\""); 8757 8758 WriteLiteral(" aria-hidden=\"true\""); 8759 8760 WriteLiteral("></i>\r\n </span>\r\n <" + 8761 "button"); 8762 8763 WriteLiteral(" class=\"hamburger hamburger--slider js-navigation-toggle js-toggle\""); 8764 8765 WriteLiteral(" type=\"button\""); 8766 8767 WriteLiteral(" data-target=\".js-navigation-mobile\""); 8768 8769 WriteLiteral(" data-toggle-type=\"hamburger\""); 8770 8771 WriteLiteral(">\r\n <span"); 8772 8773 WriteLiteral(" class=\"hamburger-box\""); 8774 8775 WriteLiteral(">\r\n <span"); 8776 8777 WriteLiteral(" class=\"hamburger-inner\""); 8778 8779 WriteLiteral("></span>\r\n </span>\r\n " + 8780 " </button>\r\n </div>\r\n </d" + 8781 "iv>\r\n </div>\r\n </div>\r\n"); 8782 8783 8784 #line 1310 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 8785 8786 8787 8788 #line default 8789 #line hidden 8790 WriteLiteral(" <div"); 8791 8792 WriteLiteral(" class=\"header-content-large js-content-large\""); 8793 8794 WriteLiteral(">\r\n <div"); 8795 8796 WriteLiteral(" class=\"container js-content-large-container\""); 8797 8798 WriteLiteral(">\r\n <div"); 8799 8800 WriteLiteral(" class=\"row\""); 8801 8802 WriteLiteral(">\r\n <div"); 8803 8804 WriteLiteral(" class=\"hidden-md-down col-lg-15 vcenter\""); 8805 8806 WriteLiteral(">\r\n"); 8807 8808 8809 #line 1315 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 8810 8811 8812 #line default 8813 #line hidden 8814 8815 #line 1315 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 8816 if (Converter.ToString(Pageview.Area.Item["LogoLarge"]) != "") 8817 { 8818 var logoLargeLink = "Default.aspx?ID=" + GetInteger("DwAreaFirstPageID"); 8819 var logoLarge = Converter.ToString(Pageview.Area.Item["LogoLarge"]); 8820 8821 8822 8823 #line default 8824 #line hidden 8825 WriteLiteral(" <div"); 8826 8827 WriteLiteral(" class=\"header-logo-large\""); 8828 8829 WriteLiteral(">\r\n <a"); 8830 8831 WriteAttribute("href", Tuple.Create(" href=\"", 69291), Tuple.Create("\"", 69312) 8832 8833 #line 1321 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 8834 , Tuple.Create(Tuple.Create("", 69298), Tuple.Create<System.Object, System.Int32>(logoLargeLink 8835 8836 #line default 8837 #line hidden 8838 , 69298), false) 8839 ); 8840 8841 WriteAttribute("title", Tuple.Create(" title=\'", 69313), Tuple.Create("\'", 69345) 8842 8843 #line 1321 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 8844 , Tuple.Create(Tuple.Create("", 69321), Tuple.Create<System.Object, System.Int32>(GetString("DwAreaName") 8845 8846 #line default 8847 #line hidden 8848 , 69321), false) 8849 ); 8850 8851 WriteLiteral(">\r\n <img"); 8852 8853 WriteAttribute("src", Tuple.Create(" src=\"", 69397), Tuple.Create("\"", 69413) 8854 8855 #line 1322 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 8856 , Tuple.Create(Tuple.Create("", 69403), Tuple.Create<System.Object, System.Int32>(logoLarge 8857 8858 #line default 8859 #line hidden 8860 , 69403), false) 8861 ); 8862 8863 WriteLiteral(" class=\"img-fluid\""); 8864 8865 WriteAttribute("alt", Tuple.Create(" alt=\'", 69432), Tuple.Create("\'", 69462) 8866 8867 #line 1322 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 8868 , Tuple.Create(Tuple.Create("", 69438), Tuple.Create<System.Object, System.Int32>(GetString("DwAreaName") 8869 8870 #line default 8871 #line hidden 8872 , 69438), false) 8873 ); 8874 8875 WriteLiteral(">\r\n </a>\r\n " + 8876 " </div>\r\n"); 8877 8878 8879 #line 1325 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 8880 } 8881 8882 8883 #line default 8884 #line hidden 8885 WriteLiteral(" </div>\r\n <div"); 8886 8887 WriteLiteral(" class=\"col-xs-24 col-sm-24 col-lg-7 text-xs-center\""); 8888 8889 WriteLiteral(">\r\n <form"); 8890 8891 WriteLiteral(" class=\"search-form\""); 8892 8893 WriteAttribute("action", Tuple.Create(" action=\'", 69771), Tuple.Create("\'", 69894) 8894 8895 #line 1328 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 8896 , Tuple.Create(Tuple.Create("", 69780), Tuple.Create<System.Object, System.Int32>(SearchEngineFriendlyURLs.GetFriendlyUrl("Default.aspx?ID=" + Converter.ToInt32(Pageview.Area.Item["SearchPage"])) 8897 8898 #line default 8899 #line hidden 8900 , 69780), false) 8901 ); 8902 8903 WriteLiteral(" method=\"get\""); 8904 8905 WriteLiteral(">\r\n <div"); 8906 8907 WriteLiteral(" class=\"search-input-wrapper\""); 8908 8909 WriteLiteral(">\r\n <input"); 8910 8911 WriteLiteral(" type=\"search\""); 8912 8913 WriteLiteral(" class=\" input-search\""); 8914 8915 WriteLiteral(" name=\"q\""); 8916 8917 WriteAttribute("value", Tuple.Create(" value=\'", 70074), Tuple.Create("\'", 70121) 8918 8919 #line 1330 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 8920 , Tuple.Create(Tuple.Create("", 70082), Tuple.Create<System.Object, System.Int32>(Context.Current.Request.GetString("q") 8921 8922 #line default 8923 #line hidden 8924 , 70082), false) 8925 ); 8926 8927 WriteAttribute("placeholder", Tuple.Create(" placeholder=\'", 70122), Tuple.Create("\'", 70183) 8928 8929 #line 1330 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 8930 , Tuple.Create(Tuple.Create("", 70136), Tuple.Create<System.Object, System.Int32>(Translate("Smartpage:Master.Search", "Search") 8931 8932 #line default 8933 #line hidden 8934 , 70136), false) 8935 ); 8936 8937 WriteLiteral(">\r\n <button"); 8938 8939 WriteLiteral(" class=\"btn btn-search\""); 8940 8941 WriteLiteral(" type=\"submit\""); 8942 8943 WriteLiteral(">\r\n <i"); 8944 8945 WriteLiteral(" class=\"fa fa-search\""); 8946 8947 WriteLiteral(" aria-hidden=\"true\""); 8948 8949 WriteLiteral("></i>\r\n </button>\r\n " + 8950 " </div>\r\n </form>\r\n " + 8951 " </div>\r\n <div"); 8952 8953 WriteLiteral(" class=\"hidden-md-down col-lg-2 header-lang\""); 8954 8955 WriteLiteral(">\r\n"); 8956 8957 WriteLiteral(" "); 8958 8959 8960 #line 1338 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 8961 Write(RenderLanguageDropdown("TwoLetterISOCountryName", GetString("LongLang").Split('-')[1])); 8962 8963 8964 #line default 8965 #line hidden 8966 WriteLiteral("\r\n </div>\r\n </div>\r\n " + 8967 " </div>\r\n </div>\r\n"); 8968 8969 8970 #line 1343 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 8971 8972 var headerNavigationMobileClass = Converter.ToBoolean(Pageview.Area.Item["LanguageActive"]) ? "has-language" : ""; 8973 8974 8975 8976 #line default 8977 #line hidden 8978 WriteLiteral(" <div"); 8979 8980 WriteLiteral(" class=\"header-navigation js-sticky\""); 8981 8982 WriteLiteral(">\r\n <div"); 8983 8984 WriteLiteral(" class=\"container\""); 8985 8986 WriteLiteral(">\r\n"); 8987 8988 WriteLiteral(" "); 8989 8990 8991 #line 1348 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 8992 Write(RenderNavigationMega()); 8993 8994 8995 #line default 8996 #line hidden 8997 WriteLiteral("\r\n </div>\r\n </div>\r\n"); 8998 8999 WriteLiteral(" <div"); 9000 9001 WriteAttribute("class", Tuple.Create(" class=\"", 71220), Tuple.Create("\"", 71302) 9002 , Tuple.Create(Tuple.Create("", 71228), Tuple.Create("header-navigation-mobile", 71228), true) 9003 9004 #line 1351 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 9005 , Tuple.Create(Tuple.Create(" ", 71252), Tuple.Create<System.Object, System.Int32>(headerNavigationMobileClass 9006 9007 #line default 9008 #line hidden 9009 , 71253), false) 9010 , Tuple.Create(Tuple.Create(" ", 71281), Tuple.Create("js-navigation-mobile", 71282), true) 9011 ); 9012 9013 WriteLiteral(">\r\n <div"); 9014 9015 WriteLiteral(" class=\"navigation-slide-right\""); 9016 9017 WriteLiteral(">\r\n"); 9018 9019 WriteLiteral(" "); 9020 9021 9022 #line 1353 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 9023 Write(RenderNavigationSlideRight()); 9024 9025 9026 #line default 9027 #line hidden 9028 WriteLiteral("\r\n </div>\r\n <nav"); 9029 9030 WriteLiteral(" class=\"menu-bottom-lang\""); 9031 9032 WriteLiteral(">\r\n"); 9033 9034 WriteLiteral(" "); 9035 9036 9037 #line 1356 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 9038 Write(RenderLanguageList("TwoLetterISOCountryName")); 9039 9040 9041 #line default 9042 #line hidden 9043 WriteLiteral("\r\n </nav>\r\n </div>\r\n"); 9044 9045 9046 #line 1359 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 9047 } 9048 9049 9050 #line default 9051 #line hidden 9052 WriteLiteral("\r\n\r\n </header>\r\n\r\n <div"); 9053 9054 WriteLiteral(" class=\"wrapper\""); 9055 9056 WriteLiteral(">\r\n <div"); 9057 9058 WriteLiteral(" class=\"page\""); 9059 9060 WriteLiteral(">\r\n\r\n "); 9061 9062 WriteLiteral("\r\n\r\n <div"); 9063 9064 WriteLiteral(" class=\"content\""); 9065 9066 WriteLiteral(">\r\n"); 9067 9068 9069 #line 1370 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 9070 9071 9072 #line default 9073 #line hidden 9074 WriteLiteral("\r\n"); 9075 9076 WriteLiteral("\r\n"); 9077 9078 WriteLiteral("\r\n"); 9079 9080 WriteLiteral("\r\n"); 9081 9082 WriteLiteral("\r\n"); 9083 9084 WriteLiteral("\r\n"); 9085 9086 WriteLiteral("\r\n"); 9087 9088 WriteLiteral("\r\n"); 9089 9090 WriteLiteral("\r\n"); 9091 9092 WriteLiteral("\r\n"); 9093 9094 WriteLiteral("\r\n"); 9095 9096 WriteLiteral("\r\n"); 9097 9098 WriteLiteral("\r\n"); 9099 9100 WriteLiteral("\r\n"); 9101 9102 WriteLiteral("\r\n\r\n"); 9103 9104 WriteLiteral("\r\n"); 9105 9106 WriteLiteral("\r\n<div"); 9107 9108 WriteLiteral(" class=\"js-ecom-container\""); 9109 9110 WriteLiteral(" data-cart-id=\'"); 9111 9112 9113 #line 1947 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 9114 Write(Converter.ToInt32(Pageview.Area.Item["CartMini"])); 9115 9116 9117 #line default 9118 #line hidden 9119 WriteLiteral("\'"); 9120 9121 WriteLiteral(">\r\n"); 9122 9123 WriteLiteral(" "); 9124 9125 9126 #line 1948 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 9127 Write(RenderBreadcrumbs()); 9128 9129 9130 #line default 9131 #line hidden 9132 WriteLiteral("\r\n <div"); 9133 9134 WriteLiteral(" class=\"js-ecom-page\""); 9135 9136 WriteLiteral(">\r\n <div"); 9137 9138 WriteLiteral(" class=\"js-ecom-page-container\""); 9139 9140 WriteLiteral(" id=\"main-content\""); 9141 9142 WriteLiteral(">"); 9143 9144 9145 #line 1950 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 9146 Write(GetValue("DwContent(maincontent)")); 9147 9148 9149 #line default 9150 #line hidden 9151 WriteLiteral("</div>\r\n </div>\r\n</div>\r\n"); 9152 9153 9154 #line 1953 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 9155 Write(RenderProductStockCheckModal(Converter.ToString(Pageview.Area.Item["CheckStock"]))); 9156 9157 9158 #line default 9159 #line hidden 9160 WriteLiteral("\r\n </div>\r\n </div>\r\n <!-- Contactformular -->\r\n"); 9161 9162 9163 #line 1957 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 9164 9165 9166 #line default 9167 #line hidden 9168 9169 #line 1957 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 9170 9171 var contactparagraph = GetInteger("Item.Area.ContactParagraphID"); 9172 if (contactparagraph > 0) 9173 { 9174 9175 9176 #line default 9177 #line hidden 9178 WriteLiteral(" <div"); 9179 9180 WriteLiteral(" class=\"contactbutton-container\""); 9181 9182 WriteLiteral(" style=\"\""); 9183 9184 WriteLiteral(">\r\n <button"); 9185 9186 WriteLiteral(" id=\"contactbutton\""); 9187 9188 WriteLiteral(" type=\"button\""); 9189 9190 WriteLiteral(" class=\"btn btn-info\""); 9191 9192 WriteLiteral(" data-toggle=\"collapse\""); 9193 9194 WriteLiteral(" data-target=\"#contactform-popup\""); 9195 9196 WriteLiteral(">\r\n <i"); 9197 9198 WriteLiteral(" class=\"icon-envelope-alt\""); 9199 9200 WriteLiteral("></i><i"); 9201 9202 WriteLiteral(" class=\"fa fa-envelope\""); 9203 9204 WriteLiteral("></i>"); 9205 9206 9207 #line 1963 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 9208 Write(Translate("Contact us")); 9209 9210 9211 #line default 9212 #line hidden 9213 WriteLiteral("\r\n </button>\r\n\r\n </div>\r\n"); 9214 9215 9216 #line 1967 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 9217 9218 9219 9220 #line default 9221 #line hidden 9222 WriteLiteral(" <div"); 9223 9224 WriteLiteral(" id=\"contactform-popup\""); 9225 9226 WriteLiteral(" class=\"collapse\""); 9227 9228 WriteLiteral(">\r\n\r\n <button"); 9229 9230 WriteLiteral(" id=\"close\""); 9231 9232 WriteLiteral(" type=\"button\""); 9233 9234 WriteLiteral(" class=\"btn btn-info\""); 9235 9236 WriteLiteral(" data-toggle=\"collapse\""); 9237 9238 WriteLiteral(" data-target=\"#contactform-popup\""); 9239 9240 WriteLiteral("><i"); 9241 9242 WriteLiteral(" class=\"fa fa-times\""); 9243 9244 WriteLiteral("></i></button>\r\n <h6>"); 9245 9246 9247 #line 1971 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 9248 Write(Translate("Please do not hesitate to contact us", "Please do not hesitate to contact us")); 9249 9250 9251 #line default 9252 #line hidden 9253 WriteLiteral("</h6>\r\n\r\n"); 9254 9255 WriteLiteral(" "); 9256 9257 9258 #line 1973 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 9259 Write(RenderParagraphContent(contactparagraph)); 9260 9261 9262 #line default 9263 #line hidden 9264 WriteLiteral("\r\n </div>\r\n"); 9265 9266 9267 #line 1975 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 9268 9269 } 9270 9271 9272 #line default 9273 #line hidden 9274 WriteLiteral("\r\n\r\n <!-- End Contactformular -->\r\n </div>\r\n\r\n <footer"); 9275 9276 WriteLiteral(" class=\"footer\""); 9277 9278 WriteLiteral(">\r\n\r\n"); 9279 9280 9281 #line 1984 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 9282 9283 9284 #line default 9285 #line hidden 9286 9287 #line 1984 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 9288 9289 var footerType = Converter.ToInt32(Pageview.Area.Item["Footer"]); 9290 if (footerType == 1) 9291 { 9292 9293 9294 #line default 9295 #line hidden 9296 WriteLiteral(" <div"); 9297 9298 WriteLiteral(" class=\"usp\""); 9299 9300 WriteLiteral(">\r\n <div"); 9301 9302 WriteLiteral(" class=\"container\""); 9303 9304 WriteLiteral(">\r\n <div"); 9305 9306 WriteLiteral(" class=\"row\""); 9307 9308 WriteLiteral(">\r\n <div"); 9309 9310 WriteLiteral(" class=\"col-xs-24\""); 9311 9312 WriteLiteral(">\r\n"); 9313 9314 WriteLiteral(" "); 9315 9316 9317 #line 1992 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 9318 Write(RenderUSP("footer")); 9319 9320 9321 #line default 9322 #line hidden 9323 WriteLiteral("\r\n </div>\r\n </div>\r\n\r\n " + 9324 " </div>\r\n </div>\r\n"); 9325 9326 WriteLiteral(" <div"); 9327 9328 WriteLiteral(" class=\"footer-links hidden-print\""); 9329 9330 WriteLiteral(">\r\n <div"); 9331 9332 WriteLiteral(" class=\"container\""); 9333 9334 WriteLiteral(">\r\n <div"); 9335 9336 WriteLiteral(" class=\"row\""); 9337 9338 WriteLiteral(">\r\n <div"); 9339 9340 WriteLiteral(" class=\"col-xs-24 col-md-24 col-lg-10 mb-2 float-xs-left float-lg-right\""); 9341 9342 WriteLiteral(">\r\n"); 9343 9344 WriteLiteral(" "); 9345 9346 9347 #line 2002 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 9348 Write(RenderFacebookPage()); 9349 9350 9351 #line default 9352 #line hidden 9353 WriteLiteral("\r\n </div>\r\n <div"); 9354 9355 WriteLiteral(" class=\"col-xs-24 col-md-12 col-lg-6\""); 9356 9357 WriteLiteral(">\r\n <div"); 9358 9359 WriteLiteral(" class=\"row navigation\""); 9360 9361 WriteLiteral(">\r\n"); 9362 9363 WriteLiteral(" "); 9364 9365 9366 #line 2006 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 9367 Write(RenderNavigationFooter()); 9368 9369 9370 #line default 9371 #line hidden 9372 WriteLiteral("\r\n </div>\r\n </div>\r\n " + 9373 " <div"); 9374 9375 WriteLiteral(" class=\"col-xs-24 col-md-12 col-lg-8\""); 9376 9377 WriteLiteral(">\r\n <div"); 9378 9379 WriteLiteral(" class=\"resellers\""); 9380 9381 WriteLiteral(">\r\n"); 9382 9383 WriteLiteral(" "); 9384 9385 9386 #line 2011 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 9387 Write(Converter.ToString(Pageview.Area.Item["FooterResellerText"])); 9388 9389 9390 #line default 9391 #line hidden 9392 WriteLiteral("\r\n </div>\r\n </div>\r\n " + 9393 " </div>\r\n </div>\r\n </div>\r" + 9394 "\n"); 9395 9396 9397 #line 2017 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 9398 } 9399 else if (footerType == 2) 9400 { 9401 9402 9403 #line default 9404 #line hidden 9405 WriteLiteral(" <div"); 9406 9407 WriteLiteral(" class=\"footer-links hidden-print\""); 9408 9409 WriteLiteral(">\r\n <div"); 9410 9411 WriteLiteral(" class=\"container\""); 9412 9413 WriteLiteral(">\r\n <div"); 9414 9415 WriteLiteral(" class=\"row\""); 9416 9417 WriteLiteral(">\r\n <div"); 9418 9419 WriteLiteral(" class=\"col-xs-24 col-md-24 col-lg-24\""); 9420 9421 WriteLiteral(">\r\n <div"); 9422 9423 WriteLiteral(" class=\"row navigation\""); 9424 9425 WriteLiteral(">\r\n"); 9426 9427 WriteLiteral(" "); 9428 9429 9430 #line 2025 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 9431 Write(RenderNavigationFooter()); 9432 9433 9434 #line default 9435 #line hidden 9436 WriteLiteral("\r\n </div>\r\n </div>\r\n " + 9437 " </div>\r\n </div>\r\n </div>\r" + 9438 "\n"); 9439 9440 9441 #line 2031 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 9442 } 9443 9444 9445 #line default 9446 #line hidden 9447 WriteLiteral("\r\n\r\n <div"); 9448 9449 WriteLiteral(" class=\"disclaimer\""); 9450 9451 WriteLiteral(">\r\n <div"); 9452 9453 WriteLiteral(" class=\"container\""); 9454 9455 WriteLiteral(">\r\n <div"); 9456 9457 WriteLiteral(" class=\"row\""); 9458 9459 WriteLiteral(">\r\n <div"); 9460 9461 WriteLiteral(" class=\"col-xs-24 col-sm-24 col-md-20 footeraddress\""); 9462 9463 WriteLiteral(">\r\n\r\n <ul"); 9464 9465 WriteLiteral(" class=\"list-unstyled\""); 9466 9467 WriteLiteral(">\r\n"); 9468 9469 9470 #line 2040 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 9471 9472 9473 #line default 9474 #line hidden 9475 9476 #line 2040 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 9477 if(!string.IsNullOrEmpty(GetString("Item.Area.CompanyName"))){ 9478 9479 9480 #line default 9481 #line hidden 9482 WriteLiteral(" <li"); 9483 9484 WriteLiteral(" class=\"list-inline-item list-inline-mobile-block\""); 9485 9486 WriteLiteral(">\r\n <strong>"); 9487 9488 9489 #line 2042 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 9490 Write(GetValue("Item.Area.CompanyName")); 9491 9492 9493 #line default 9494 #line hidden 9495 WriteLiteral("</strong>\r\n </li>\r\n"); 9496 9497 9498 #line 2044 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 9499 } 9500 9501 9502 #line default 9503 #line hidden 9504 WriteLiteral(" "); 9505 9506 9507 #line 2045 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 9508 if(!string.IsNullOrEmpty(GetString("Item.Area.CompanyAddress"))){ 9509 9510 9511 #line default 9512 #line hidden 9513 WriteLiteral(" <li"); 9514 9515 WriteLiteral(" class=\"list-inline-item list-inline-mobile-block\""); 9516 9517 WriteLiteral(">\r\n"); 9518 9519 WriteLiteral(" "); 9520 9521 9522 #line 2047 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 9523 Write(GetValue("Item.Area.CompanyAddress")); 9524 9525 9526 #line default 9527 #line hidden 9528 WriteLiteral("\r\n </li>\r\n"); 9529 9530 9531 #line 2049 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 9532 } 9533 9534 9535 #line default 9536 #line hidden 9537 WriteLiteral(" "); 9538 9539 9540 #line 2050 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 9541 if(!string.IsNullOrEmpty(GetString("Item.Area.CompanyPhone"))){ 9542 9543 9544 #line default 9545 #line hidden 9546 WriteLiteral(" <li"); 9547 9548 WriteLiteral(" class=\"list-inline-item list-inline-mobile-block\""); 9549 9550 WriteLiteral(">\r\n"); 9551 9552 WriteLiteral(" "); 9553 9554 9555 #line 2052 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 9556 Write(Translate("Smartpage:Footer.Phone", "Tlf:")); 9557 9558 9559 #line default 9560 #line hidden 9561 WriteLiteral("\r\n <a"); 9562 9563 WriteAttribute("href", Tuple.Create(" href=\'", 106085), Tuple.Create("\'", 106131) 9564 , Tuple.Create(Tuple.Create("", 106092), Tuple.Create("tel:", 106092), true) 9565 9566 #line 2053 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 9567 , Tuple.Create(Tuple.Create("", 106096), Tuple.Create<System.Object, System.Int32>(GetValue("Item.Area.CompanyPhone") 9568 9569 #line default 9570 #line hidden 9571 , 106096), false) 9572 ); 9573 9574 WriteLiteral(">\r\n"); 9575 9576 WriteLiteral(" "); 9577 9578 9579 #line 2054 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 9580 Write(GetValue("Item.Area.CompanyPhone")); 9581 9582 9583 #line default 9584 #line hidden 9585 WriteLiteral("\r\n </a>\r\n </li>\r\n"); 9586 9587 9588 #line 2057 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 9589 } 9590 9591 9592 #line default 9593 #line hidden 9594 WriteLiteral(" "); 9595 9596 9597 #line 2058 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 9598 if(!string.IsNullOrEmpty(GetString("Item.Area.CompanyEmail"))){ 9599 9600 9601 #line default 9602 #line hidden 9603 WriteLiteral(" <li"); 9604 9605 WriteLiteral(" class=\"list-inline-item list-inline-mobile-block\""); 9606 9607 WriteLiteral(">\r\n"); 9608 9609 WriteLiteral(" "); 9610 9611 9612 #line 2060 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 9613 Write(Translate("Smartpage:Footer.Mail", "E-mail:")); 9614 9615 9616 #line default 9617 #line hidden 9618 WriteLiteral("\r\n <a"); 9619 9620 WriteAttribute("href", Tuple.Create(" href=\'", 106604), Tuple.Create("\'", 106653) 9621 , Tuple.Create(Tuple.Create("", 106611), Tuple.Create("mailto:", 106611), true) 9622 9623 #line 2061 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 9624 , Tuple.Create(Tuple.Create("", 106618), Tuple.Create<System.Object, System.Int32>(GetValue("Item.Area.CompanyEmail") 9625 9626 #line default 9627 #line hidden 9628 , 106618), false) 9629 ); 9630 9631 WriteLiteral(">\r\n"); 9632 9633 WriteLiteral(" "); 9634 9635 9636 #line 2062 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 9637 Write(GetValue("Item.Area.CompanyEmail")); 9638 9639 9640 #line default 9641 #line hidden 9642 WriteLiteral("\r\n </a>\r\n </li>\r\n"); 9643 9644 9645 #line 2065 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 9646 } 9647 9648 9649 #line default 9650 #line hidden 9651 WriteLiteral(" "); 9652 9653 9654 #line 2066 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 9655 if(!string.IsNullOrEmpty(GetString("Item.Area.CompanyNumber"))){ 9656 9657 9658 #line default 9659 #line hidden 9660 WriteLiteral(" <li"); 9661 9662 WriteLiteral(" class=\"list-inline-item list-inline-mobile-block\""); 9663 9664 WriteLiteral(">\r\n"); 9665 9666 WriteLiteral(" "); 9667 9668 9669 #line 2068 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 9670 Write(Translate("Smartpage:Footer.CVR", "CVR:")); 9671 9672 9673 #line default 9674 #line hidden 9675 WriteLiteral("\r\n"); 9676 9677 WriteLiteral(" "); 9678 9679 9680 #line 2069 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 9681 Write(GetValue("Item.Area.CompanyNumber")); 9682 9683 9684 #line default 9685 #line hidden 9686 WriteLiteral("\r\n </li>\r\n"); 9687 9688 9689 #line 2071 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 9690 } 9691 9692 9693 #line default 9694 #line hidden 9695 WriteLiteral(" </ul>\r\n </div>\r\n <d" + 9696 "iv"); 9697 9698 WriteLiteral(" class=\"col-xs-24 col-sm-24 col-md-4 text-md-right \""); 9699 9700 WriteLiteral(">\r\n"); 9701 9702 WriteLiteral(" "); 9703 9704 9705 #line 2075 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 9706 Write(RenderSocialMediaList("footer")); 9707 9708 9709 #line default 9710 #line hidden 9711 WriteLiteral("\r\n </div>\r\n </div>\r\n </div>\r\n " + 9712 " </div>\r\n\r\n </footer>\r\n\r\n "); 9713 9714 WriteLiteral("\r\n"); 9715 9716 WriteLiteral(" "); 9717 9718 9719 #line 2084 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 9720 Write(RenderSnippet("Modal")); 9721 9722 9723 #line default 9724 #line hidden 9725 WriteLiteral("\r\n "); 9726 9727 WriteLiteral("\r\n\r\n "); 9728 9729 WriteLiteral("\r\n "); 9730 9731 WriteLiteral("\r\n\r\n"); 9732 9733 9734 #line 2090 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 9735 9736 9737 #line default 9738 #line hidden 9739 9740 #line 2090 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 9741 if (Dynamicweb.Core.Converter.ToBoolean(Pageview.Area.Item["DeveloperMode"])) 9742 { 9743 9744 9745 #line default 9746 #line hidden 9747 WriteLiteral(" <script"); 9748 9749 WriteLiteral(" type=\"text/javascript\""); 9750 9751 WriteAttribute("src", Tuple.Create(" src=\"", 107811), Tuple.Create("\"", 107870) 9752 9753 #line 2092 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 9754 , Tuple.Create(Tuple.Create("", 107817), Tuple.Create<System.Object, System.Int32>(designBaseUrl 9755 9756 #line default 9757 #line hidden 9758 , 107817), false) 9759 , Tuple.Create(Tuple.Create("", 107831), Tuple.Create("/Assets/Scripts/Plugins/jquery-3.1.1.js", 107831), true) 9760 ); 9761 9762 WriteLiteral("></script>\r\n"); 9763 9764 WriteLiteral(" <script"); 9765 9766 WriteLiteral(" type=\"text/javascript\""); 9767 9768 WriteAttribute("src", Tuple.Create(" src=\"", 107921), Tuple.Create("\"", 107978) 9769 9770 #line 2093 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 9771 , Tuple.Create(Tuple.Create("", 107927), Tuple.Create<System.Object, System.Int32>(designBaseUrl 9772 9773 #line default 9774 #line hidden 9775 , 107927), false) 9776 , Tuple.Create(Tuple.Create("", 107941), Tuple.Create("/Assets/Scripts/Plugins/tether.min.js", 107941), true) 9777 ); 9778 9779 WriteLiteral("></script>\r\n"); 9780 9781 WriteLiteral(" <script"); 9782 9783 WriteLiteral(" type=\"text/javascript\""); 9784 9785 WriteAttribute("src", Tuple.Create(" src=\"", 108029), Tuple.Create("\"", 108089) 9786 9787 #line 2094 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 9788 , Tuple.Create(Tuple.Create("", 108035), Tuple.Create<System.Object, System.Int32>(designBaseUrl 9789 9790 #line default 9791 #line hidden 9792 , 108035), false) 9793 , Tuple.Create(Tuple.Create("", 108049), Tuple.Create("/Assets/Scripts/Plugins/bootstrap.min.js", 108049), true) 9794 ); 9795 9796 WriteLiteral("></script>\r\n"); 9797 9798 WriteLiteral(" <script"); 9799 9800 WriteLiteral(" type=\"text/javascript\""); 9801 9802 WriteAttribute("src", Tuple.Create(" src=\"", 108140), Tuple.Create("\"", 108196) 9803 9804 #line 2095 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 9805 , Tuple.Create(Tuple.Create("", 108146), Tuple.Create<System.Object, System.Int32>(designBaseUrl 9806 9807 #line default 9808 #line hidden 9809 , 108146), false) 9810 , Tuple.Create(Tuple.Create("", 108160), Tuple.Create("/Assets/Scripts/Plugins/slick.min.js", 108160), true) 9811 ); 9812 9813 WriteLiteral("></script>\r\n"); 9814 9815 WriteLiteral(" <script"); 9816 9817 WriteLiteral(" type=\"text/javascript\""); 9818 9819 WriteAttribute("src", Tuple.Create(" src=\"", 108247), Tuple.Create("\"", 108306) 9820 9821 #line 2096 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 9822 , Tuple.Create(Tuple.Create("", 108253), Tuple.Create<System.Object, System.Int32>(designBaseUrl 9823 9824 #line default 9825 #line hidden 9826 , 108253), false) 9827 , Tuple.Create(Tuple.Create("", 108267), Tuple.Create("/Assets/Scripts/Plugins/lightbox.min.js", 108267), true) 9828 ); 9829 9830 WriteLiteral("></script>\r\n"); 9831 9832 WriteLiteral(" <script"); 9833 9834 WriteLiteral(" type=\"text/javascript\""); 9835 9836 WriteAttribute("src", Tuple.Create(" src=\"", 108357), Tuple.Create("\"", 108425) 9837 9838 #line 2097 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 9839 , Tuple.Create(Tuple.Create("", 108363), Tuple.Create<System.Object, System.Int32>(designBaseUrl 9840 9841 #line default 9842 #line hidden 9843 , 108363), false) 9844 , Tuple.Create(Tuple.Create("", 108377), Tuple.Create("/Assets/Scripts/Plugins/jquery.history.custom.js", 108377), true) 9845 ); 9846 9847 WriteLiteral("></script>\r\n"); 9848 9849 WriteLiteral(" <script"); 9850 9851 WriteLiteral(" type=\"text/javascript\""); 9852 9853 WriteAttribute("src", Tuple.Create(" src=\"", 108476), Tuple.Create("\"", 108541) 9854 9855 #line 2098 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 9856 , Tuple.Create(Tuple.Create("", 108482), Tuple.Create<System.Object, System.Int32>(designBaseUrl 9857 9858 #line default 9859 #line hidden 9860 , 108482), false) 9861 , Tuple.Create(Tuple.Create("", 108496), Tuple.Create("/Assets/Scripts/Plugins/dynamicweb.filters.js", 108496), true) 9862 ); 9863 9864 WriteLiteral("></script>\r\n"); 9865 9866 WriteLiteral(" <script"); 9867 9868 WriteLiteral(" type=\"text/javascript\""); 9869 9870 WriteAttribute("src", Tuple.Create(" src=\"", 108592), Tuple.Create("\"", 108650) 9871 9872 #line 2099 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 9873 , Tuple.Create(Tuple.Create("", 108598), Tuple.Create<System.Object, System.Int32>(designBaseUrl 9874 9875 #line default 9876 #line hidden 9877 , 108598), false) 9878 , Tuple.Create(Tuple.Create("", 108612), Tuple.Create("/Assets/Scripts/Plugins/levenshtein.js", 108612), true) 9879 ); 9880 9881 WriteLiteral("></script>\r\n"); 9882 9883 WriteLiteral(" <script"); 9884 9885 WriteLiteral(" type=\"text/javascript\""); 9886 9887 WriteAttribute("src", Tuple.Create(" src=\"", 108701), Tuple.Create("\"", 108758) 9888 9889 #line 2100 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 9890 , Tuple.Create(Tuple.Create("", 108707), Tuple.Create<System.Object, System.Int32>(designBaseUrl 9891 9892 #line default 9893 #line hidden 9894 , 108707), false) 9895 , Tuple.Create(Tuple.Create("", 108721), Tuple.Create("/Assets/Scripts/Plugins/bloodhound.js", 108721), true) 9896 ); 9897 9898 WriteLiteral("></script>\r\n"); 9899 9900 WriteLiteral(" <script"); 9901 9902 WriteLiteral(" type=\"text/javascript\""); 9903 9904 WriteAttribute("src", Tuple.Create(" src=\"", 108809), Tuple.Create("\"", 108873) 9905 9906 #line 2101 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 9907 , Tuple.Create(Tuple.Create("", 108815), Tuple.Create<System.Object, System.Int32>(designBaseUrl 9908 9909 #line default 9910 #line hidden 9911 , 108815), false) 9912 , Tuple.Create(Tuple.Create("", 108829), Tuple.Create("/Assets/Scripts/Plugins/handlebars-v4.0.5.js", 108829), true) 9913 ); 9914 9915 WriteLiteral("></script>\r\n"); 9916 9917 WriteLiteral(" <script"); 9918 9919 WriteLiteral(" type=\"text/javascript\""); 9920 9921 WriteAttribute("src", Tuple.Create(" src=\"", 108924), Tuple.Create("\"", 108987) 9922 9923 #line 2102 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 9924 , Tuple.Create(Tuple.Create("", 108930), Tuple.Create<System.Object, System.Int32>(designBaseUrl 9925 9926 #line default 9927 #line hidden 9928 , 108930), false) 9929 , Tuple.Create(Tuple.Create("", 108944), Tuple.Create("/Assets/Scripts/Plugins/typeahead.jquery.js", 108944), true) 9930 ); 9931 9932 WriteLiteral("></script>\r\n"); 9933 9934 WriteLiteral(" <script"); 9935 9936 WriteLiteral(" type=\"text/javascript\""); 9937 9938 WriteAttribute("src", Tuple.Create(" src=\"", 109038), Tuple.Create("\"", 109100) 9939 9940 #line 2103 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 9941 , Tuple.Create(Tuple.Create("", 109044), Tuple.Create<System.Object, System.Int32>(designBaseUrl 9942 9943 #line default 9944 #line hidden 9945 , 109044), false) 9946 , Tuple.Create(Tuple.Create("", 109058), Tuple.Create("/Assets/Scripts/Plugins/jquery.validate.js", 109058), true) 9947 ); 9948 9949 WriteLiteral("></script>\r\n"); 9950 9951 WriteLiteral(" <script"); 9952 9953 WriteLiteral(" type=\"text/javascript\""); 9954 9955 WriteAttribute("src", Tuple.Create(" src=\"", 109151), Tuple.Create("\"", 109216) 9956 9957 #line 2104 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 9958 , Tuple.Create(Tuple.Create("", 109157), Tuple.Create<System.Object, System.Int32>(designBaseUrl 9959 9960 #line default 9961 #line hidden 9962 , 109157), false) 9963 , Tuple.Create(Tuple.Create("", 109171), Tuple.Create("/Assets/Scripts/Plugins/additional-methods.js", 109171), true) 9964 ); 9965 9966 WriteLiteral("></script>\r\n"); 9967 9968 WriteLiteral(" <script"); 9969 9970 WriteLiteral(" type=\"text/javascript\""); 9971 9972 WriteAttribute("src", Tuple.Create(" src=\"", 109267), Tuple.Create("\"", 109326) 9973 9974 #line 2105 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 9975 , Tuple.Create(Tuple.Create("", 109273), Tuple.Create<System.Object, System.Int32>(designBaseUrl 9976 9977 #line default 9978 #line hidden 9979 , 109273), false) 9980 , Tuple.Create(Tuple.Create("", 109287), Tuple.Create("/Assets/Scripts/Plugins/select2.full.js", 109287), true) 9981 ); 9982 9983 WriteLiteral("></script>\r\n"); 9984 9985 WriteLiteral(" <script"); 9986 9987 WriteLiteral(" type=\"text/javascript\""); 9988 9989 WriteAttribute("src", Tuple.Create(" src=\"", 109377), Tuple.Create("\"", 109438) 9990 9991 #line 2106 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 9992 , Tuple.Create(Tuple.Create("", 109383), Tuple.Create<System.Object, System.Int32>(designBaseUrl 9993 9994 #line default 9995 #line hidden 9996 , 109383), false) 9997 , Tuple.Create(Tuple.Create("", 109397), Tuple.Create("/Assets/Scripts/Plugins/jquery.blockUI.js", 109397), true) 9998 ); 9999 10000 WriteLiteral("></script>\r\n"); 10001 10002 WriteLiteral(" <script"); 10003 10004 WriteLiteral(" type=\"text/javascript\""); 10005 10006 WriteAttribute("src", Tuple.Create(" src=\"", 109489), Tuple.Create("\"", 109550) 10007 10008 #line 2107 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 10009 , Tuple.Create(Tuple.Create("", 109495), Tuple.Create<System.Object, System.Int32>(designBaseUrl 10010 10011 #line default 10012 #line hidden 10013 , 109495), false) 10014 , Tuple.Create(Tuple.Create("", 109509), Tuple.Create("/Assets/Scripts/Basic/Basic.js?v=", 109509), true) 10015 10016 #line 2107 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 10017 , Tuple.Create(Tuple.Create("", 109542), Tuple.Create<System.Object, System.Int32>(version 10018 10019 #line default 10020 #line hidden 10021 , 109542), false) 10022 ); 10023 10024 WriteLiteral("></script>\r\n"); 10025 10026 WriteLiteral(" <script"); 10027 10028 WriteLiteral(" type=\"text/javascript\""); 10029 10030 WriteAttribute("src", Tuple.Create(" src=\"", 109601), Tuple.Create("\"", 109667) 10031 10032 #line 2108 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 10033 , Tuple.Create(Tuple.Create("", 109607), Tuple.Create<System.Object, System.Int32>(designBaseUrl 10034 10035 #line default 10036 #line hidden 10037 , 109607), false) 10038 , Tuple.Create(Tuple.Create("", 109621), Tuple.Create("/Assets/Scripts/Basic/Validation.js?v=", 109621), true) 10039 10040 #line 2108 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 10041 , Tuple.Create(Tuple.Create("", 109659), Tuple.Create<System.Object, System.Int32>(version 10042 10043 #line default 10044 #line hidden 10045 , 109659), false) 10046 ); 10047 10048 WriteLiteral("></script>\r\n"); 10049 10050 WriteLiteral(" <script"); 10051 10052 WriteLiteral(" type=\"text/javascript\""); 10053 10054 WriteAttribute("src", Tuple.Create(" src=\"", 109718), Tuple.Create("\"", 109786) 10055 10056 #line 2109 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 10057 , Tuple.Create(Tuple.Create("", 109724), Tuple.Create<System.Object, System.Int32>(designBaseUrl 10058 10059 #line default 10060 #line hidden 10061 , 109724), false) 10062 , Tuple.Create(Tuple.Create("", 109738), Tuple.Create("/Assets/Scripts/Packages/Ecommerce.js?v=", 109738), true) 10063 10064 #line 2109 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 10065 , Tuple.Create(Tuple.Create("", 109778), Tuple.Create<System.Object, System.Int32>(version 10066 10067 #line default 10068 #line hidden 10069 , 109778), false) 10070 ); 10071 10072 WriteLiteral("></script>\r\n"); 10073 10074 WriteLiteral(" <script"); 10075 10076 WriteLiteral(" type=\"text/javascript\""); 10077 10078 WriteAttribute("src", Tuple.Create(" src=\"", 109837), Tuple.Create("\"", 109906) 10079 10080 #line 2110 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 10081 , Tuple.Create(Tuple.Create("", 109843), Tuple.Create<System.Object, System.Int32>(designBaseUrl 10082 10083 #line default 10084 #line hidden 10085 , 109843), false) 10086 , Tuple.Create(Tuple.Create("", 109857), Tuple.Create("/Assets/Scripts/Packages/Navigation.js?v=", 109857), true) 10087 10088 #line 2110 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 10089 , Tuple.Create(Tuple.Create("", 109898), Tuple.Create<System.Object, System.Int32>(version 10090 10091 #line default 10092 #line hidden 10093 , 109898), false) 10094 ); 10095 10096 WriteLiteral("></script>\r\n"); 10097 10098 WriteLiteral(" <script"); 10099 10100 WriteLiteral(" type=\"text/javascript\""); 10101 10102 WriteAttribute("src", Tuple.Create(" src=\"", 109957), Tuple.Create("\"", 110030) 10103 10104 #line 2111 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 10105 , Tuple.Create(Tuple.Create("", 109963), Tuple.Create<System.Object, System.Int32>(designBaseUrl 10106 10107 #line default 10108 #line hidden 10109 , 109963), false) 10110 , Tuple.Create(Tuple.Create("", 109977), Tuple.Create("/Assets/Scripts/Packages/UserManagement.js?v=", 109977), true) 10111 10112 #line 2111 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 10113 , Tuple.Create(Tuple.Create("", 110022), Tuple.Create<System.Object, System.Int32>(version 10114 10115 #line default 10116 #line hidden 10117 , 110022), false) 10118 ); 10119 10120 WriteLiteral("></script>\r\n"); 10121 10122 WriteLiteral(" <script"); 10123 10124 WriteLiteral(" type=\"text/javascript\""); 10125 10126 WriteAttribute("src", Tuple.Create(" src=\"", 110081), Tuple.Create("\"", 110160) 10127 10128 #line 2112 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 10129 , Tuple.Create(Tuple.Create("", 110087), Tuple.Create<System.Object, System.Int32>(designBaseUrl 10130 10131 #line default 10132 #line hidden 10133 , 110087), false) 10134 , Tuple.Create(Tuple.Create("", 110101), Tuple.Create("/Assets/Scripts/Packages/ProductInstantSearch.js?v=", 110101), true) 10135 10136 #line 2112 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 10137 , Tuple.Create(Tuple.Create("", 110152), Tuple.Create<System.Object, System.Int32>(version 10138 10139 #line default 10140 #line hidden 10141 , 110152), false) 10142 ); 10143 10144 WriteLiteral("></script>\r\n"); 10145 10146 WriteLiteral(" <script"); 10147 10148 WriteLiteral(" type=\"text/javascript\""); 10149 10150 WriteAttribute("src", Tuple.Create(" src=\"", 110211), Tuple.Create("\"", 110282) 10151 10152 #line 2113 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 10153 , Tuple.Create(Tuple.Create("", 110217), Tuple.Create<System.Object, System.Int32>(designBaseUrl 10154 10155 #line default 10156 #line hidden 10157 , 110217), false) 10158 , Tuple.Create(Tuple.Create("", 110231), Tuple.Create("/Assets/Scripts/Packages/FacebookPage.js?v=", 110231), true) 10159 10160 #line 2113 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 10161 , Tuple.Create(Tuple.Create("", 110274), Tuple.Create<System.Object, System.Int32>(version 10162 10163 #line default 10164 #line hidden 10165 , 110274), false) 10166 ); 10167 10168 WriteLiteral("></script>\r\n"); 10169 10170 WriteLiteral(" <script"); 10171 10172 WriteLiteral(" type=\"text/javascript\""); 10173 10174 WriteAttribute("src", Tuple.Create(" src=\"", 110333), Tuple.Create("\"", 110396) 10175 10176 #line 2114 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 10177 , Tuple.Create(Tuple.Create("", 110339), Tuple.Create<System.Object, System.Int32>(designBaseUrl 10178 10179 #line default 10180 #line hidden 10181 , 110339), false) 10182 , Tuple.Create(Tuple.Create("", 110353), Tuple.Create("/Assets/Scripts/Custom/Custom.js?v=", 110353), true) 10183 10184 #line 2114 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 10185 , Tuple.Create(Tuple.Create("", 110388), Tuple.Create<System.Object, System.Int32>(version 10186 10187 #line default 10188 #line hidden 10189 , 110388), false) 10190 ); 10191 10192 WriteLiteral("></script>\r\n"); 10193 10194 10195 #line 2115 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 10196 } 10197 else 10198 { 10199 10200 10201 #line default 10202 #line hidden 10203 WriteLiteral(" <script"); 10204 10205 WriteLiteral(" type=\"text/javascript\""); 10206 10207 WriteAttribute("src", Tuple.Create(" src=\"", 110471), Tuple.Create("\"", 110529) 10208 10209 #line 2118 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 10210 , Tuple.Create(Tuple.Create("", 110477), Tuple.Create<System.Object, System.Int32>(designBaseUrl 10211 10212 #line default 10213 #line hidden 10214 , 110477), false) 10215 , Tuple.Create(Tuple.Create("", 110491), Tuple.Create("/Assets/Scripts/Main.min.js?v=", 110491), true) 10216 10217 #line 2118 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 10218 , Tuple.Create(Tuple.Create("", 110521), Tuple.Create<System.Object, System.Int32>(version 10219 10220 #line default 10221 #line hidden 10222 , 110521), false) 10223 ); 10224 10225 WriteLiteral("></script>\r\n"); 10226 10227 10228 #line 2119 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 10229 } 10230 10231 10232 #line default 10233 #line hidden 10234 WriteLiteral("\r\n"); 10235 10236 WriteLiteral(" "); 10237 10238 10239 #line 2121 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 10240 Write(RenderSnippet("JavaScript")); 10241 10242 10243 #line default 10244 #line hidden 10245 WriteLiteral("\r\n\r\n"); 10246 10247 10248 #line 2123 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 10249 10250 10251 #line default 10252 #line hidden 10253 10254 #line 2123 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 10255 10256 var googleAnalyticsId = (Pageview.Area.Item["GoogleAnalyticsId"] != null && !string.IsNullOrEmpty(Converter.ToString(Pageview.Area.Item["GoogleAnalyticsId"])) 10257 ? Converter.ToString(Pageview.Area.Item["GoogleAnalyticsId"]) : null); 10258 if (googleAnalyticsId != null) 10259 { 10260 10261 10262 #line default 10263 #line hidden 10264 WriteLiteral(" <!-- Google Analytics -->\r\n"); 10265 10266 WriteLiteral(@" <script> 10267 (function (i, s, o, g, r, a, m) { 10268 i['GoogleAnalyticsObject'] = r; i[r] = i[r] || function () { 10269 (i[r].q = i[r].q || []).push(arguments) 10270 }, i[r].l = 1 * new Date(); a = s.createElement(o), 10271 m = s.getElementsByTagName(o)[0]; a.async = 1; a.src = g; m.parentNode.insertBefore(a, m) 10272 })(window, document, 'script', '//www.google-analytics.com/analytics.js', 'ga'); 10273 ga('create', '"); 10274 10275 10276 #line 2136 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 10277 Write(googleAnalyticsId); 10278 10279 10280 #line default 10281 #line hidden 10282 WriteLiteral("\', \'auto\'); ga(\'send\', \'pageview\');\r\n </script>\r\n"); 10283 10284 WriteLiteral(" <!-- // Google Analytics -->\r\n"); 10285 10286 10287 #line 2139 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 10288 } 10289 10290 10291 #line default 10292 #line hidden 10293 WriteLiteral("\r\n\r\n"); 10294 10295 10296 #line 2142 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 10297 10298 10299 #line default 10300 #line hidden 10301 10302 #line 2142 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 10303 10304 var embedChat = (Pageview.Area.Item["EmbedChat"] != null && !string.IsNullOrEmpty(Converter.ToString(Pageview.Area.Item["EmbedChat"])) 10305 ? Converter.ToString(Pageview.Area.Item["EmbedChat"]) : null); 10306 if (embedChat != null) 10307 { 10308 10309 10310 #line default 10311 #line hidden 10312 10313 #line 2147 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 10314 Write(embedChat); 10315 10316 10317 #line default 10318 #line hidden 10319 10320 #line 2147 "C:\home\site\wwwroot\Files\Templates\Designs\Basic\_parsed\PageEcom.parsed.cshtml" 10321 10322 } 10323 10324 10325 #line default 10326 #line hidden 10327 WriteLiteral("\r\n\r\n\r\n\r\n</body>\r\n</html>"); 10328 10329 } 10330 } 10331 } 10332

1 @using System; 2 @using System.Web; 3 @using Dynamicweb; 4 @using Dynamicweb.Core; 5 @using Dynamicweb.Frontend; 6 7 @inherits Dynamicweb.Rendering.RazorTemplateBase<Dynamicweb.Rendering.RazorTemplateModel<Dynamicweb.Rendering.Template>> 8 @using Dynamicweb; 9 @using Dynamicweb.Core; 10 11 @inherits Dynamicweb.Rendering.RazorTemplateBase<Dynamicweb.Rendering.RazorTemplateModel<Dynamicweb.Rendering.Template>> 12 13 @helper RenderCartMiniIcon(string mode) 14 { 15 var enableCart = Converter.ToBoolean(Pageview.Area.Item["EnableCart"]); 16 if (enableCart) 17 { 18 <div class="cart-mini js-cartmini-icon-container"> 19 @if (mode == "link") 20 { 21 var cartLink = Converter.ToString(Pageview.Area.Item["CartLink"]); 22 23 <a href="@cartLink" class="cart-mini-link"> 24 <div class="cart-mini-icon js-cartmini-icon"> 25 <i class="fa fa-shopping-cart" aria-hidden="true"></i> 26 <span class="cart-quantity js-cartmini-total-icon-count">@GetInteger("Ecom:Order.OrderLines.TotalProductQuantity")</span> 27 </div> 28 <div class="cart-mini-total"> 29 <span class="js-cartmini-icon-total">@GetValue("Ecom:Order.Price.PriceFormatted")</span> 30 </div> 31 </a> 32 <input type="hidden" class="js-cartmini-total-count" value='@GetInteger("Ecom:Order.OrderLines.TotalProductQuantity")'> 33 <input type="hidden" class="js-cartmini-total-total" value='@GetValue("Ecom:Order.Price.PriceFormatted")'> 34 } 35 else 36 { 37 <div class="cart-mini-icon js-cartmini-icon js-toggle" data-target=".js-cartmini"> 38 <i class="fa fa-shopping-cart" aria-hidden="true"></i> 39 <span class="cart-quantity js-cartmini-total-icon-count">@GetInteger("Ecom:Order.OrderLines.TotalProductQuantity")</span> 40 </div> 41 <div class="cart-mini-total"> 42 <span class="js-cartmini-icon-total">@GetValue("Ecom:Order.Price.PriceFormatted")</span> 43 </div> 44 <input type="hidden" class="js-cartmini-total-count" value='@GetInteger("Ecom:Order.OrderLines.TotalProductQuantity")'> 45 <input type="hidden" class="js-cartmini-total-total" value='@GetValue("Ecom:Order.Price.PriceFormatted")'> 46 } 47 </div> 48 } 49 } 50 51 @helper RenderCartMini(string StockCheckMode = "ignore") 52 { 53 var enableCart = Converter.ToBoolean(Pageview.Area.Item["EnableCart"]); 54 if (enableCart) 55 { 56 57 //website settings 58 var cartLink = Dynamicweb.Core.Converter.ToString(Pageview.Area.Item["CartLink"]); 59 int maxOrderlinesShown = Dynamicweb.Core.Converter.ToInt32(Pageview.Area.Item["CartMaxOrderlines"]); 60 61 var orderLines = GetLoop("OrderLines"); 62 63 <div class="cartmini js-cartmini"> 64 <div class="cartmini-container js-cartmini-container"> 65 <div class="row"> 66 <div class="col-xs-24"> 67 <a href="@cartLink" class="btn btn-block btn-primary" alt='@Translate("Smartpage:CartMini.Orderline.Button.ToCheckout", "Til kassen")'>@Translate("Smartpage:CartMini.Orderline.Button.ToCheckout", "Til kassen")</a> 68 </div> 69 </div> 70 @if (orderLines.Any()) 71 { 72 int numRows = 0; 73 74 <ul class="cartmini-orderlines list-unstyled"> 75 @foreach (LoopItem i in orderLines.Where(x => x.GetInteger("Ecom:Order:OrderLine.Type") == 0).OrderByDescending(x => x.GetDate("Ecom:Order:OrderLine.Modified"))) 76 { 77 @*todo: Please clean up! *@ 78 79 numRows++; 80 string hiddenClass = (numRows > maxOrderlinesShown) ? "hidden-xs-up" : ""; 81 string productId = ""; 82 double quantity = 0; 83 double stock = 0; 84 //if (!string.IsNullOrWhiteSpace(StockCheckMode) && StockCheckMode != "ignore") 85 string productName = i.GetString("Ecom:Product.Name"); 86 string image1 = i.GetString("Ecom:Product.Image.1.Clean"); 87 string defaultImage = i.GetString("Ecom:Product.ImageLarge.Default.Clean"); 88 89 productId = @i.GetString("Ecom:Order:OrderLine.ProductID"); 90 quantity = @i.GetDouble("Ecom:Order:OrderLine.Quantity"); 91 stock = @i.GetDouble("Ecom:Product.AvailableAmount"); 92 93 <li class="cartmini-orderline js-orderline @hiddenClass" data-productid="@productId" data-quantity="@quantity" data-stock="@stock"> 94 @*<div class="col-xs-6 col-sm-6"> 95 @if (!String.IsNullOrEmpty(i.GetString("Ecom:Product.Image.1.Clean"))) 96 { 97 <img class="img-fluid" alt="@productName" src="@image1" title="@productName"> 98 } 99 else 100 { 101 <img class="img-fluid" alt="@productName" src="@defaultImage" title="@productName"> 102 } 103 </div>*@ 104 <div class=""> 105 <a href='/Default.aspx?ID=@Pageview.Area.Item["CartShopLink"]&ProductId=@i.GetValue("Ecom:Order:OrderLine.ProductID")'> 106 @i.GetValue("Ecom:Order:OrderLine.ProductName") 107 </a> 108 </div> 109 <span class="text-xs-left">@quantity @Translate("Smartpage:CarMini.OrderLine.Pieces", "stk")</span> 110 <span class="text-xs-right cartmini-orderline-price"> 111 @i.GetValue("Ecom:Order:OrderLine.UnitPrice") 112 @if (i.GetBoolean("Ecom:Order:OrderLine.IsProduct")) 113 { 114 string deleteLink = i.GetString("Ecom:Order:OrderLine.DeleteLink"); 115 <span><a href="@deleteLink" title='@Translate("Smartpage:CartMini.Orderline.LinkTitle.Remove", "Fjern")'>@Translate("Smartpage:Cart.CartMini.Orderline.LinkText.Remove", "x")</a></span> 116 } 117 </span> 118 </li> 119 if (numRows == maxOrderlinesShown) 120 { 121 <li> 122 <div class="text-xs-center minicart-showall"> 123 <a href="@cartLink">@Translate("Smartpage:CartMini.Orderline.ShowMore", "Vis alle produkter")</a> 124 </div> 125 </li> 126 } 127 } 128 </ul> 129 <div class="row cartmini-row-total"> 130 <div class="col-xs-12">@Translate("Smartpage:CartMini.Orderline.Total", "Total"):</div> 131 <div class="col-xs-12 text-xs-right">@GetValue("Ecom:Order.Price.PriceFormatted")</div> 132 </div> 133 <div class="row"> 134 <div class="col-xs-24"> 135 <a href="@cartLink" class="btn btn-block btn-primary" alt='@Translate("Smartpage:CartMini.Orderline.Button.ToCheckout", "Til kassen")'>@Translate("Smartpage:CartMini.Orderline.Button.ToCheckout", "Til kassen")</a> 136 </div> 137 </div> 138 @* hidden inputs for easy access ajax total prices *@ 139 <input type="hidden" class="js-cartmini-total-count" value='@GetInteger("Ecom:Order.OrderLines.TotalProductQuantity")'> 140 <input type="hidden" class="js-cartmini-total-total" value='@GetValue("Ecom:Order.Price.PriceFormatted")'> 141 } 142 else 143 { 144 <div class="row"> 145 <div class="col-xs-24"> 146 <i class="fa fa-cart-plus"></i> @Translate("Smartpage:CartMini.CartEmpty", "Kurven er tom") 147 </div> 148 </div> 149 } 150 </div> 151 </div> 152 } 153 } 154 @using Dynamicweb; 155 156 @inherits Dynamicweb.Rendering.RazorTemplateBase<Dynamicweb.Rendering.RazorTemplateModel<Dynamicweb.Rendering.Template>> 157 158 @helper RenderNavigationMega() 159 { 160 <nav class="yamm navbar"> 161 @GetValue("DwNavigation(navigationmega)") 162 </nav> 163 } 164 @*IncludeFile("../Includes/Navigation/NavigationMegaEcommerce.cshtml")*@ 165 @using Dynamicweb; 166 @inherits Dynamicweb.Rendering.RazorTemplateBase<Dynamicweb.Rendering.RazorTemplateModel<Dynamicweb.Rendering.Template>> 167 @helper RenderNavigationSlideRight() 168 { 169 string backText = Translate("Smartpage:Navigation.Mobile.Back", "Tilbage"); 170 <nav class="nav js-nav-list"> 171 @RenderNavigation(new { template = "NavigationSlideRight.xslt", expandmode = "all", translateBack = backText }) 172 <!--<ul title="Navigation" class="dwnavigation" id="navigation-slideright" data-settings="template:NavigationSlideRight.xslt;expandmode:all"></ul>--> 173 </nav> 174 } 175 @using Dynamicweb; 176 177 @inherits Dynamicweb.Rendering.RazorTemplateBase<Dynamicweb.Rendering.RazorTemplateModel<Dynamicweb.Rendering.Template>> 178 179 @helper RenderNavigationFooter() 180 { 181 @GetValue("DwNavigation(navigationfooter)") 182 } 183 @using Dynamicweb; 184 @using Dynamicweb.Core; 185 186 @inherits Dynamicweb.Rendering.RazorTemplateBase<Dynamicweb.Rendering.RazorTemplateModel<Dynamicweb.Rendering.Template>> 187 188 @helper RenderSocialMediaList(string position) 189 { 190 if (Converter.ToBoolean(Pageview.Area.Item["SocialMediaActive"])) 191 { 192 var socialMediaList = GetLoop("Item.Area.SocialMediaList"); 193 if (socialMediaList.Any()) 194 { 195 <div class="social-media-List"> 196 <ul class="list-unstyled list-inline"> 197 @foreach (var i in socialMediaList) 198 { 199 var showInHeader = position == "header" && i.GetBoolean("Item.Area.SocialMediaList.ShowInHeader"); 200 var showInFooter = position == "footer" && i.GetBoolean("Item.Area.SocialMediaList.ShowInFooter"); 201 202 if (showInHeader || showInFooter) 203 { 204 var showOnMobile = i.GetBoolean("Item.Area.SocialMediaList.ShowOnMobile") ? "" : "hidden-xs-down"; 205 var itemClass = i.GetString("Item.Area.SocialMediaList.Class"); 206 var titleText = i.GetString("Item.Area.SocialMediaList.Text"); 207 208 209 var openLinkHere = i.GetBoolean("Item.Area.SocialMediaList.OpenLinkHere") ? "_self" : "_blank"; 210 var link = i.GetValue("Item.Area.SocialMediaList.Link"); 211 var iconImg = i.GetString("Item.Area.SocialMediaList.IconImg"); 212 var icon = i.GetString("Item.Area.SocialMediaList.Icon"); 213 214 <li class="list-inline-item @showOnMobile @itemClass"> 215 <a href="@link" title="@titleText" target="@openLinkHere" rel="noopener noreferrer"> 216 217 @if (!string.IsNullOrEmpty(iconImg)) 218 { 219 <img src="@iconImg" alt="@titleText"> 220 } 221 else if (!string.IsNullOrEmpty(icon)) 222 { 223 <span class="@icon"></span> 224 } 225 else 226 { 227 <span>@i.GetString("Item.Area.SocialMediaList.Text")</span> 228 } 229 230 </a> 231 </li> 232 } 233 } 234 <li class="list-inline-item medialink"> 235 @{ var mediaLink = Translate("MediaLink", "https://media.sbs.dk/MediaLibrary/welcome"); } 236 <a href="@mediaLink" target="_blank"> 237 @Translate("MEDIA","MEDIA") 238 </a> 239 </li> 240 </ul> 241 </div> 242 } 243 } 244 } 245 @using Dynamicweb; 246 @using Dynamicweb.Core; 247 @using Dynamicweb.Frontend; 248 @using Dynamicweb.Security.UserManagement; 249 @using System.Web 250 @using Dynamicweb.Environment; 251 @inherits Dynamicweb.Rendering.RazorTemplateBase<Dynamicweb.Rendering.RazorTemplateModel<Dynamicweb.Rendering.Template>> 252 253 @helper RenderUserManagementLoginMini(bool showPoints = false) 254 { 255 bool isLoggedIn = Dynamicweb.Security.UserManagement.User.IsExtranetUserLoggedIn(); 256 257 if (isLoggedIn) 258 { 259 <span class="btn btn-info" data-toggle="modal" data-target="#UserManagementModal"> 260 @Translate("Smartpage:UserManagement.Login.Headline", "Log ind") 261 </span> 262 } 263 else 264 { 265 266 if (showPoints) 267 { 268 int loyaltyPoints = Dynamicweb.Core.Converter.ToInt32(Pageview.Area.Item["UserPointId"]); 269 <div class="row"> 270 <div class="col-xs-10 col-sm-10 col-md-10"> 271 @RenderParagraphContent(loyaltyPoints) 272 </div> 273 <div class="col-xs-14 col-sm-14 col-md-14"> 274 @GetString("DWExtranetUsername") - <a class="" href='/Admin/Public/ExtranetLogoff.aspx?RedirectUrl=@PageView.Current().SearchFriendlyUrl'>@Translate("Smartpage:UserManagement.LoginModal.LoggedIn.SignOut", "Log ud")</a> 275 </div> 276 </div> 277 } 278 else 279 { 280 @* rewrite this - use custom area to show!*@ 281 <button class="dropdown-button" type="button" id="userDropdown" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> 282 @GetString("DW_extranet_AccessUserName") 283 </button> 284 <div class="dropdown-menu" aria-labelledby="userDropdown"> 285 <a href="#"> 286 @GetString("DWExtranetUsername") 287 </a> 288 <a class="" href='/Admin/Public/ExtranetLogoff.aspx?RedirectUrl=@PageView.Current().SearchFriendlyUrl'> 289 @Translate("Smartpage:UserManagement.LoginModal.LoggedIn.SignOut", "Log ud") 290 </a> 291 </div> 292 } 293 } 294 } 295 296 @helper RenderUserManagementDropdownButton() 297 { 298 var enableUserManagement = Converter.ToBoolean(Pageview.Area.Item["EnableUserManagement"]); 299 if (enableUserManagement) 300 { 301 var isLoggedIn = User.IsExtranetUserLoggedIn(); 302 if (isLoggedIn) 303 { 304 <span class="btn js-userdropdown-toggle js-toggle" data-target=".js-userdropdown"> 305 <i class="fa fa-user" aria-hidden="true"></i> 306 <span class="label">@GetString("DW_extranet_AccessUserName")</span> 307 <i class="fa fa-angle-down" aria-hidden="true"></i> 308 </span> 309 } 310 else 311 { 312 <span class="btn js-userdropdown-toggle js-toggle" data-target=".js-userdropdown"> 313 <i class="fa fa-user" aria-hidden="true"></i> 314 <span class="label"> 315 @Translate("Smartpage:UserManagement.Dropdown.Login", "Log ind") 316 </span> 317 <i class="fa fa-angle-down" aria-hidden="true"></i> 318 </span> 319 } 320 } 321 } 322 323 @helper RenderUserManagementDropdown() 324 { 325 var enableUserManagement = Converter.ToBoolean(Pageview.Area.Item["EnableUserManagement"]); 326 if (enableUserManagement) 327 { 328 if (!string.IsNullOrEmpty(GetString("DW_extranet_error_dk")) || Dynamicweb.Context.Current.Request.HasRequest("ForgotPassword")) 329 { 330 @SnippetStart("JavaScript") 331 <script> 332 $(".js-userdropdown").show(); 333 </script> 334 @SnippetEnd("JavaScript") 335 } 336 337 var isLoggedIn = User.IsExtranetUserLoggedIn(); 338 if (isLoggedIn) 339 { 340 341 <div class="user-dropdown js-userdropdown js-userdropdown-container" aria-labelledby="userDropdown"> 342 <div class=""> 343 <strong>@Translate("Smartpage:UserManagement.Dropdown.Hello", "Hej") @GetString("DW_extranet_AccessUserName")</strong> 344 </div> 345 <hr> 346 <ul class="list-unstyled user-list"> 347 @*<li class=""> 348 <a href="#" class=""> 349 @GetString("DWExtranetUsername") 350 </a> 351 </li>*@ 352 @*Extend with customer center*@ 353 @RenderCustomerCenter() 354 @*End customer center*@ 355 <li> 356 <a class="" href='@("/Admin/Public/ExtranetLogoff.aspx?RedirectUrl=" + PageView.Current().SearchFriendlyUrl)'> 357 @Translate("Smartpage:UserManagement.LoginModal.LoggedIn.SignOut", "Log ud") 358 </a> 359 </li> 360 </ul> 361 </div> 362 } 363 else 364 { 365 <div class="user-dropdown js-userdropdown js-userdropdown-container"> 366 @RenderUserManagementLogin(true) 367 </div> 368 } 369 } 370 } 371 372 @helper RenderUserManagementLogin(bool noLabel = false, bool forgotPassLink = false) 373 { 374 bool isLoggedIn = Dynamicweb.Security.UserManagement.User.IsExtranetUserLoggedIn(); 375 376 <div class="row usermangement-login"> 377 @if (isLoggedIn) 378 { 379 <div class="col-xs-24 col-sm-24 col-md-24 col-lg-24"> 380 @GetString("DWExtranetUsername") - <a href='/Admin/Public/ExtranetLogoff.aspx?RedirectUrl=@PageView.Current().SearchFriendlyUrl'>@Translate("Smartpage:UserManagement.LoginModal.LoggedIn.SignOut", "Log ud")</a> 381 </div> 382 } 383 else 384 { 385 <div class="col-xs-24 col-sm-24 col-md-24 col-lg-24"> 386 @if (Dynamicweb.Context.Current.Request.HasRequest("ForgotPassword")) 387 { 388 <div class="alert alert-success"> 389 @Translate("SmartPage:UserManagement.ForgotPassword.PasswordSentTo", "Adgangskoden er sendt til e-mailadressen:") 390 @Dynamicweb.Context.Current.Request.GetString("username") 391 </div> 392 } 393 <form method="post" action='@GetValue("DWExtranetAction")' class="js-usermanagement-login"> 394 <input type="hidden" name="DWExtranetUsernameRemember" value="True"> 395 <input type="hidden" name="Redirect" value='@GetValue("DWExtranetAction")'> 396 397 @if (!string.IsNullOrEmpty(GetString("DW_extranet_error_dk"))) 398 { 399 <div class="row"> 400 <div class="col-xs-24 col-sm-24 col-md-24 col-lg-24"> 401 <div class="alert alert-info"> 402 @GetString("DW_extranet_error_dk") 403 </div> 404 </div> 405 </div> 406 } 407 <div class="col-xs-24 col-sm-24 col-md-24 col-lg-24"> 408 <div class="form-group"> 409 <strong>@Translate("Smartpage:UserManagement.Login.Headline", "Log ind")</strong> 410 </div> 411 <div class="form-group"> 412 @if (!noLabel) 413 { 414 <label for="login-username"> 415 @Translate("Smartpage:UserManagement.Login.Username", "Brugernavn") 416 </label> 417 } 418 <input type="text" id="login-username" name="username" class="form-control js-req js-usermanagement-username" placeholder='@Translate("Smartpage:User.Login.EnterUsername", "Indtast brugernavn")' autofocus="" required=""> 419 <div class="form-control-feedback alert alert-info display-none js-invalid-nofill"> 420 @Translate("Smartpage:Validation.Error.NeedFill", "Skal udfyldes.") 421 </div> 422 </div> 423 </div> 424 <div class="col-xs-24 col-sm-24 col-md-24 col-lg-24"> 425 <div class="form-group"> 426 @if (!noLabel) 427 { 428 <label for="login-username"> 429 @Translate("Smartpage:UserManagement.Login.Password", "Adgangskode") 430 </label> 431 } 432 <input type="password" id="login-password" name="password" class="form-control js-req" placeholder='@Translate("Smartpage:UserManagement.Login.EnterPassword", "Indtast adgangskode")' required=""> 433 <div class="form-control-feedback alert alert-info display-none js-invalid-nofill"> 434 @Translate("Smartpage:Validation.Error.NeedFill", "Skal udfyldes.") 435 </div> 436 </div> 437 <div class="form-check"> 438 <label class="form-check-label remember-password"> 439 <input type="checkbox" name="DWExtranetPasswordRemember"> 440 @Translate("SmartPage:UserManagement.Login.Password.RememberPasswordCheck", "Husk adgangskode") 441 </label> 442 </div> 443 </div> 444 <div class="col-xs-24 col-sm-24 col-md-24 col-lg-24"> 445 <div class="form-group"> 446 <button type="submit" class="btn btn-primary btn-block js-validate-form">@Translate("Smartpage:UserManagement.Login.Button.Login", "Log ind")</button> 447 </div> 448 <div class="form-group text-xs-center"> 449 <span class="frg-btn js-usermanagement-lostpw-toggle">@Translate("Smartpage:UserManagement.Login.ForgotPassword", "Glemt adgangskode?")</span> 450 </div> 451 </div> 452 </form> 453 454 <div> 455 @if (Dynamicweb.Core.Converter.ToString(Pageview.Area.Item["UserManagementCreateProfile"]) != "") 456 { 457 <a href='@Dynamicweb.Core.Converter.ToString(Pageview.Area.Item["UserManagementCreateProfile"])' class="btn btn-link">@Translate("Smartpage:UserManagement.Login.CreateUser", "Opret kunde")</a> 458 } 459 </div> 460 461 <form class="form-horizontal js-usermanagement-lostpw-container display-none" method="post"> 462 <input type="hidden" value='@GetValue("DWExtranetAction")'> 463 <input type="hidden" name="ForgotPassword" value="True"> 464 <input type="hidden" name="ForgotPasswordConfirm" value='@Translate("PasswordSent", "The password has been sent to your email.")'> 465 <input type="hidden" name="ForgotPasswordMailTemplate" value="mail/ForgotPasswordMail.cshtml"> @* template *@ 466 <input type="hidden" name="ForgotPasswordMailSubject" value='@Translate("SmartPage:UserManagement.ForgotPassword.MailSubject", "Glemt adgangskode")'> 467 <div class="col-xs-24 col-sm-24 col-md-24 col-lg-24 display-none"> 468 <div class="alert alert-block alert-warning fade in"> 469 <b> 470 @Translate("SmartPage:UserManagement.ForgotPassword.UserNotExists", "E-mailadresse findes ikke. Opret venligst en profil eller kontakt os") 471 </b> 472 </div> 473 </div> 474 475 <div class="col-xs-24 col-sm-24 col-md-24 col-lg-24"> 476 <div class="form-group"> 477 <strong>@Translate("Smartpage:UserManagement.ForgotPasword.Headline", "Glemt password")</strong> 478 </div> 479 <div class="form-group"> 480 @if (!noLabel) 481 { 482 <label class="control-label" for="username">@Translate("SmartPage:UserManagement.ForgotPassword.Email", "Email")</label> 483 } 484 <input type="text" id="login-email" class="form-control js-usermanagementlostpw-email" name="username" placeholder='@Translate("SmartPage:UserManagement.ForgotPassword.Placeholder", "Indtast email")' required=""> 485 486 487 </div> 488 <div class="form-group"> 489 <button class="btn btn-primary btn-block" type="submit">@Translate("SmartPage:UserManagement.ForgotPassword.Sendpassword", "Send adgangskode")</button> 490 </div> 491 <div class="form-group"> 492 <span class="btn btn-secondary btn-block pointer js-usermanagement-toggle">@Translate("Smartpage:UserManagement.Login.Login", "Log ind")</span> 493 </div> 494 </div> 495 496 </form> 497 498 </div> 499 } 500 </div> 501 } 502 @helper RenderUserManagementLoginModal() 503 { 504 <div class="modal fade" id="UserManagementModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true"> 505 <div class="modal-dialog" role="document"> 506 <div class="modal-content"> 507 <div class="modal-header"> 508 <button type="button" class="close" data-dismiss="modal" aria-label="Close"> 509 <span aria-hidden="true">&times;</span> 510 </button> 511 <h4 class="modal-title" id="LoginModalLabel">@Translate("Smartpage:UserManagement.LoginModal.Title.User", "Bruger")</h4> 512 </div> 513 <div class="modal-body"> 514 @RenderUserManagementLogin() 515 </div> 516 <div class="modal-footer"> 517 <button type="button" class="btn btn-secondary btn-block" data-dismiss="modal">@Translate("Smartpage:UserManagement.LoginModal.Button.Close", "Luk")</button> 518 </div> 519 </div> 520 </div> 521 </div> 522 523 if (!string.IsNullOrEmpty(GetString("DW_extranet_error_dk")) || Dynamicweb.Context.Current.Request.HasRequest("ForgotPassword")) 524 { 525 @SnippetStart("JavaScript") 526 <script> 527 $("#UserManagementModal").modal("show"); 528 </script> 529 @SnippetEnd("JavaScript") 530 } 531 532 } 533 @helper RenderCustomerCenter() 534 { 535 @GetValue("DwNavigation(customercenter)") 536 } 537 @using System; 538 @using System.Linq 539 @using System.Web; 540 @using Dynamicweb; 541 @inherits Dynamicweb.Rendering.RazorTemplateBase<Dynamicweb.Rendering.RazorTemplateModel<Dynamicweb.Rendering.Template>> 542 @helper RenderNewsletterPopbox() 543 { 544 string popPosition = Dynamicweb.Core.Converter.ToString(Pageview.Area.Item["NewsletterPopboxPosition"]); 545 546 string popboxImage = Dynamicweb.Core.Converter.ToString(Pageview.Area.Item["PopboxImage"]); 547 string closeImage = Dynamicweb.Core.Converter.ToString(Pageview.Area.Item["PopboxCloseImage"]); 548 string popboxMobileImage = Dynamicweb.Core.Converter.ToString(Pageview.Area.Item["PopboxMobileImage"]); 549 550 bool isActive = Dynamicweb.Core.Converter.ToBoolean(Pageview.Area.Item["NewsletterPopboxActive"]); 551 bool isActiveMobile = Dynamicweb.Core.Converter.ToBoolean(Pageview.Area.Item["ShowPopboxOnMobile"]); 552 553 string mobileCss = "mobile-position"; 554 555 if (isActive) 556 { 557 <div class='newsletter-popbox-wrapper @popPosition'> 558 <input type="checkbox" name="newsletterpopbox-toggle" class='@popPosition @mobileCss' id="newsletterpopbox-toggle"> 559 <label for="newsletterpopbox-toggle" class="@popPosition"> 560 <img class="hidden-xs-down" src="@popboxImage"> 561 <img class="hidden-sm-up" src="@popboxMobileImage"> 562 </label> 563 <div class="newsletter-popbox-message-container @popPosition"> 564 <form method="post" action='@GetValue("DWExtranetAction")'> 565 <input type="hidden" name="UserManagement_Form_EmailAllowed" value="True"> 566 <input type="hidden" name="UserManagement_Form_EmailAllowed_ApplyValue" value="True"> 567 <div class='newsletter-popbox-message @popPosition'> 568 <label for="newsletterpopbox-toggle"> 569 <img class="cursor @popPosition" title='@Translate("Smartpage:NewsletterPopBox.CloseBox", "Close box")' src="@closeImage"> 570 @*<i class="fa fa-times-circle" aria-hidden="true"></i>*@ 571 </label> 572 <div class="form-group"> 573 <input name='@GetValue("UserManagement:User.Name.InputName")' type="text" placeholder='@Translate("Smartpage:NewsletterPopbox.Name", "Dit navn")' class="form-control js-req" required="required"> 574 <div class="form-control-feedback alert alert-info display-none js-invalid-nofill"> 575 @Translate("Smartpage:Validation.Error.NeedFill", "Skal udfyldes.") 576 </div> 577 </div> 578 <div class="form-group text-center"> 579 <input name='@GetValue("UserManagement:User.Email.InputName")' type="email" placeholder='@Translate("Smartpage:NewsletterPopbox.YourEmail", "E-mail adresse")' class="form-control js-req js-email" required="required"> 580 <div class="form-control-feedback alert alert-info display-none js-invalid-nofill"> 581 @Translate("Smartpage:Validation.Error.NeedFill", "Skal udfyldes.") 582 </div> 583 <div class="form-control-feedback alert alert-info display-none js-invalid-email"> 584 @Translate("Smartpage:Validation.Error.NeedEmail", "Skal være en email.") 585 </div> 586 </div> 587 <div class="input-group-btn"> 588 <button class="btn btn-primary js-validate-form" type="submit">@Translate("Smartpage:NewsletterPopBox.SignUp", "Tilmeld")</button> 589 </div> 590 </div> 591 </form> 592 </div> 593 </div> 594 } 595 } 596 @using Dynamicweb; 597 @inherits Dynamicweb.Rendering.RazorTemplateBase<Dynamicweb.Rendering.RazorTemplateModel<Dynamicweb.Rendering.Template>> 598 @helper RenderUSP(string position) 599 { 600 var usps = GetLoop("Item.Area.USP"); 601 if (usps.Any()) 602 { 603 <ul class="list-inline usp-list"> 604 @foreach (var usp in GetLoop("Item.Area.USP")) 605 { 606 string icon = usp.GetString("Item.Area.USP.Icon"); 607 string text = usp.GetString("Item.Area.USP.Text"); 608 string link = usp.GetString("Item.Area.USP.Link"); 609 string hiddenMobile = usp.GetBoolean("Item.Area.USP.HiddenMobile") ? "hidden-mobile" : ""; 610 611 612 //show in different positions 613 bool displayHeader = position == "header" && usp.GetBoolean("Item.Area.USP.ShowTop") ? displayHeader = true : false; 614 bool displayFooter = position == "footer" && usp.GetBoolean("Item.Area.USP.ShowBottom") ? displayFooter = true : false; 615 616 617 if (displayHeader || displayFooter) 618 { 619 <li class="list-inline-item @hiddenMobile"> 620 @if (link.Any()) 621 { 622 <a class="list-inline-item" href="@link"> 623 @if (icon.Any()) 624 { 625 <img src="@icon"> 626 } 627 else 628 { 629 <i class="fa fa-check" aria-hidden="true"></i> 630 } 631 <span class="usp-text">@text</span> 632 </a> 633 } 634 else 635 { 636 <span class="list-inline-item"> 637 @if (icon.Any()) 638 { 639 <img src="@icon"> 640 } 641 else 642 { 643 <i class="fa fa-check" aria-hidden="true"></i> 644 } 645 <span class="usp-text">@text</span> 646 </span> 647 } 648 </li> 649 } 650 651 652 } 653 </ul> 654 } 655 } 656 @inherits Dynamicweb.Rendering.RazorTemplateBase<Dynamicweb.Rendering.RazorTemplateModel<Dynamicweb.Rendering.Template>> 657 @using Dynamicweb; 658 @using Dynamicweb.Environment; 659 @helper RenderStandardInstantProductSearchTemplates() 660 { 661 var searchPageUrl = String.Format("/Default.aspx?id={0}", Dynamicweb.Core.Converter.ToString(Pageview.Area.Item["SearchPage"])) + "&q="; 662 <script id="product-instant-search-header-template" type="text/x-handlebars-template"> 663 <header class="typeahead-header">@Translate("Smartpage:Search.Header.Label", "Søgeresultater")</header> 664 </script> 665 666 <script id="product-instant-search-footer-template" type="text/x-handlebars-template"> 667 <footer class="typeahead-footer"> 668 <a href="@searchPageUrl{{query}}">@Translate("Smartpage:Search.Footer.Label", "Vis alle resultater for") {{query}}</a> 669 </footer> 670 </script> 671 672 <script id="product-instant-search-empty-template" type="text/x-handlebars-template"> 673 <div>@Translate("Smartpage:Search.EmptySearch", "Søgningen gav ingen resultater")</div> 674 </script> 675 676 <script id="product-instant-search-suggestion-template" type="text/x-handlebars-template"> 677 <a href="{{url}}" class="product-instant-search-item"> 678 <span class="">{{name}}</span> 679 @*<span class="info">{{{description}}}</span>*@ 680 @*<span class="info">@Translate("Smartpage:Search.ProductNumber", "Varenummer:") {{number}}</span>*@ 681 </a> 682 </script> 683 } 684 @helper RenderInstantProductSearchForm(string btnText = null, string searchFieldPlaceholder = null) 685 { 686 int id = Dynamicweb.Core.Converter.ToInt32(Pageview.Area.Item["SearchPage"]); 687 688 string placeholder = searchFieldPlaceholder ?? Translate("Smartpage:Search.WriteSearch", "Søg efter produkt"); 689 690 <form method="get" class="search-form" action="/Default.aspx"> 691 692 <input type="hidden" name="id" value="@id"> 693 <div class="search-input-wrapper"> 694 695 <input type="search" @*="" use="" with="" 'search'="" or="" 'text'="">>--!!-->> this input field is ALL u need for the typeahead functionality.. a form is only necessary when normal submit actions is needed *@ 696 class="js-typeahead-control input-search" @* the js-typeahead-control class is required. u can add whatever classes u need in addition *@ 697 name="q" @* parameter name used in both normal form submit AND in the XMLHttpRequest (normally 'q') *@ 698 value="@Dynamicweb.Context.Current.Request.GetString("q")" 699 placeholder="@placeholder" @* whatever.. *@ 700 data-minlength="@Dynamicweb.Core.Converter.ToInt32(Pageview.Area.Item["ProductSearchTypeaheadMinimumLength"])" @* minimum length of input text before we make the XMLHttpRequest (the results are cached so if u type the same thing twice it wont make a request the second time..) *@ 701 data-hint="@Dynamicweb.Core.Converter.ToBoolean(Pageview.Area.Item["ProductSearchTypeaheadShowHint"])" @* suggest the first search result 'behind' what is typed in the textfield (use right or down arrow to autocomplete ur search query).. the hint can be styled independently!! *@ 702 data-highlight="@Dynamicweb.Core.Converter.ToBoolean(Pageview.Area.Item["ProductSearchTypeaheadHighlight"])" @* will highlight the query text inside the suggestions *@ 703 data-suggestion-limit="@Dynamicweb.Core.Converter.ToInt32(Pageview.Area.Item["ProductSearchTypeaheadResultLimit"])" @* sets max number of results in suggestion template *@ 704 data-suggestion-limit-param-name="limit" @* the name of the limit parameter that will be added to the XMLHttpRequest url *@ 705 data-display-property="name" @* this is the property name in the returned result objects that we want to use for hints. *@ 706 data-load-indicator-selector="" @* puts a 'loading' class on the defined element when the XMLHttpRequest is waiting for response. If left empty, puts the 'loading' on 'this'. useful for using a pseudo class to show a loading icon with font-awesome or whatever *@ 707 data-remote-url="@String.Format("/Default.aspx?id={0}", Pageview.Area.Item["TypeAheadSearch"].ToString())" @* url for the XMLHttpRequest.. the name & limit parameters will automatically be added to this url *@ 708 data-empty-template="product-instant-search-empty-template" @* handlebars template id for when no results are found *@ 709 data-header-template="product-instant-search-header-template" @* handlebars template id for the header in the result *@ 710 data-suggestion-template="product-instant-search-suggestion-template" @* handlebars template id for each result object *@ 711 data-footer-template="product-instant-search-footer-template" @* handlebars template id for the footer in the result *@ 712 data-navigate-on-select="@Dynamicweb.Core.Converter.ToBoolean(Pageview.Area.Item["ProductSearchTypeaheadNavigateOnSelect"])" /> @* will navigate to the url of the selected result (on click or enter key).. !! the result objects must have a 'url' property for this to work *@ 713 714 <i class="typeahead-load-indicator fa fa-spinner fa-spin" aria-hidden="true"></i> 715 <button class="btn btn-search" type="submit"> 716 @if(btnText != null) 717 { 718 @btnText 719 } 720 else 721 { 722 <i class="fa fa-search" aria-hidden="true"></i> 723 } 724 </button> 725 </div> 726 </form> 727 } 728 @helper RenderFacebookScript() 729 { 730 <div id="fb-root"></div> 731 <script> 732 (function (d, s, id) { 733 var js, fjs = d.getElementsByTagName(s)[0]; 734 if (d.getElementById(id)) return; 735 js = d.createElement(s); js.id = id; 736 js.src = "//connect.facebook.net/da_DK/sdk.js#xfbml=1&version=v2.8"; 737 fjs.parentNode.insertBefore(js, fjs); 738 }(document, 'script', 'facebook-jssdk'));</script> 739 } 740 @using System; 741 @using Dynamicweb; 742 @inherits Dynamicweb.Rendering.RazorTemplateBase<Dynamicweb.Rendering.RazorTemplateModel<Dynamicweb.Rendering.Template>> 743 @helper RenderFacebookShare() 744 { 745 bool sharePageFB = GetBoolean("Item.Page.SharePageOnFacebook"); 746 var pageViewUrlForSharing = Dynamicweb.Environment.Helpers.LinkHelper.GetHttpDomain() + Pageview.SearchFriendlyUrl; 747 748 if (sharePageFB) 749 { 750 <div class="fb-share-button" data-href="@pageViewUrlForSharing" data-layout="button" data-size="small" data-mobile-iframe="true"> 751 <a class="fb-xfbml-parse-ignore" target="_blank" href="https://www.facebook.com/sharer/sharer.php?u=https%3A%2F%2Fdevelopers.facebook.com%2Fdocs%2Fplugins%2F&amp;src=sdkpreparse"> 752 @Translate("Smartpage:SocialMedia.Share", "Del") 753 </a> 754 </div> 755 } 756 } 757 @*@SnippetStart("Meta") 758 @{ 759 string sharePageImage = Dynamicweb.Environment.Helpers.LinkHelper.GetHttpDomain() + GetString("Item.Page.ImageForSharing"); 760 string title = GetString("Title"); 761 string description = GetString("Meta.Description"); 762 var pageViewUrlForSharing = Dynamicweb.Environment.Helpers.LinkHelper.GetHttpDomain() + Pageview.SearchFriendlyUrl; 763 764 <meta property="fb:app_id" content="@appId"> /* default facebook app-id */ 765 <meta property="og:title" content='@title'> 766 <meta property="og:type" content="article"> 767 <meta property="og:image" content='@sharePageImage'> 768 <meta property="og:url" content='@pageViewUrlForSharing'> 769 <meta property="og:description" content="@description"> 770 } 771 @SnippetEnd("Meta")*@ 772 773 @{ 774 775 @SnippetStart("Meta") 776 //take default appid unless defined 777 string appID = !String.IsNullOrEmpty(Dynamicweb.Core.Converter.ToString(Pageview.Area.Item["FacebookAppId"])) ? "" : Dynamicweb.Core.Converter.ToString(Pageview.Area.Item["FacebookAppId"]); 778 <meta property="fb:app_id" content='@appID'> 779 780 if (string.IsNullOrEmpty(Dynamicweb.Context.Current.Request.GetString("ProductID"))) 781 { 782 string sharePageImage = Dynamicweb.Environment.Helpers.LinkHelper.GetHttpDomain() + GetString("Item.Page.ImageForSharing"); 783 string title = GetString("Title"); 784 string description = GetString("Meta.Description"); 785 var pageViewUrlForSharing = Dynamicweb.Environment.Helpers.LinkHelper.GetHttpDomain() + Pageview.SearchFriendlyUrl; 786 787 if (!string.IsNullOrEmpty(title)) 788 { 789 <meta property="og:title" content="@title"> 790 } 791 <meta property="og:type" content="website"> 792 if (!string.IsNullOrEmpty(sharePageImage)) 793 { 794 <meta property="og:image" content="@sharePageImage"> 795 } 796 if (!string.IsNullOrEmpty(pageViewUrlForSharing)) 797 { 798 <meta property="og:url" content="@pageViewUrlForSharing"> 799 } 800 if (!string.IsNullOrEmpty(description)) 801 { 802 <meta property="og:description" content="@description"> 803 } 804 805 } 806 @SnippetEnd("Meta") 807 } 808 @using Dynamicweb; 809 @using Dynamicweb.Core; 810 @inherits Dynamicweb.Rendering.RazorTemplateBase<Dynamicweb.Rendering.RazorTemplateModel<Dynamicweb.Rendering.Template>> 811 @helper RenderLanguageList(string display = "Name") 812 { 813 if (Converter.ToBoolean(Pageview.Area.Item["LanguageActive"])) 814 { 815 var languages = GetLoop("Languages"); 816 if (languages.Any()) 817 { 818 <ul class="nav-list"> 819 @foreach (LoopItem language in languages) 820 { 821 var qs = HttpUtility.ParseQueryString(HttpContext.Current.Request.QueryString.ToString()); 822 qs.Set("ID", language.GetString("PageID")); 823 824 var link = "/Default.aspx?" + qs.ToString(); 825 var name = language.GetValue(display); 826 827 if (display == "TwoLetterISOLanguageName") 828 { 829 System.Globalization.CultureInfo culture = new System.Globalization.CultureInfo(language.GetString("Culture")); 830 name = culture.TwoLetterISOLanguageName; 831 } 832 else if (display == "TwoLetterISOCountryName") 833 { 834 name = language.GetString("Culture").Split('-')[1]; 835 } 836 837 <li class="nav-item"> 838 <a href="@link" class="nav-link" title="@HttpUtility.HtmlEncode(name)">@name</a> 839 </li> 840 } 841 </ul> 842 } 843 } 844 } 845 @helper RenderLanguageDropdown(string display = "Name", string displayLabel = "") 846 { 847 if (Converter.ToBoolean(Pageview.Area.Item["LanguageActive"])) 848 { 849 if (string.IsNullOrEmpty(displayLabel)) { 850 displayLabel = Translate("Smartpage.Language.Selector.Label", "Vælg sprog"); 851 } 852 853 var languages = GetLoop("Languages"); 854 if (languages.Any()) 855 { 856 <div class="dropdown"> 857 <button type="button" id="langDropdown" class="dropdown-button js-toggle" data-target="#langDrop"> 858 @displayLabel <i class="fa fa-angle-down" aria-hidden="true"></i> 859 </button> 860 <div id="langDrop" class="dropdown-menu"> 861 @RenderLanguageList(display) 862 </div> 863 </div> 864 } 865 } 866 } 867 @helper RenderHeaderHrefLang() 868 { 869 if (Converter.ToBoolean(Pageview.Area.Item["LanguageActive"])) 870 { 871 var languages = GetLoop("Languages"); 872 if (languages.Any()) 873 { 874 foreach (var language in languages) 875 { 876 var domain = Dynamicweb.Environment.Helpers.LinkHelper.GetHttpDomain(); 877 878 // Overwrite is we have a primary domain set on the area 879 if (!string.IsNullOrEmpty(language.GetString("PrimaryDomain"))) 880 { 881 domain = HttpContext.Current.Request.IsSecureConnection ? "https://" : "http://"; 882 domain += language.GetString("PrimaryDomain"); 883 } 884 885 var qs = HttpUtility.ParseQueryString(HttpContext.Current.Request.QueryString.ToString()); 886 qs.Set("ID", language.GetString("PageID")); 887 var page = new Dynamicweb.Content.PageService().GetPage(language.GetInteger("FirstActivePageID")); 888 string url = domain + Dynamicweb.Frontend.SearchEngineFriendlyURLs.GetFriendlyUrl(language.GetInteger("PageID")); 889 890 891 foreach (string key in qs) 892 { 893 if (key == null || key.Equals("ID", StringComparison.InvariantCultureIgnoreCase)) 894 { 895 continue; 896 } 897 898 var urlFromHandler = Dynamicweb.Frontend.UrlProviders.Handler.GetUrlFromQueryString(key, qs[key], page.Area.EcomLanguageId); 899 if (Dynamicweb.Frontend.SearchEngineFriendlyURLs.UseExtensionLessUrls) 900 { 901 url += urlFromHandler.Replace(".aspx", ""); 902 } 903 else 904 { 905 url = url.Replace(".aspx", urlFromHandler); 906 } 907 } 908 909 <link rel="alternate" hreflang='@GetHrefLang(language.GetString("Culture"))' href="@url"> 910 } 911 } 912 } 913 } 914 @functions{ 915 string GetHrefLang(string cultureName) 916 { 917 var hrefLang = cultureName; 918 switch (cultureName) 919 { 920 case "en-GB": 921 hrefLang = "en"; 922 break; 923 } 924 return hrefLang; 925 } 926 } 927 928 @using Dynamicweb; 929 @inherits Dynamicweb.Rendering.RazorTemplateBase<Dynamicweb.Rendering.RazorTemplateModel<Dynamicweb.Rendering.Template>> 930 @helper RenderNewsletterSubscribeForm() 931 { 932 <form class="newsletter-signup-form" method="post" action='@Pageview.Area.Item["NewsletterSignupAction"]'> 933 <input type="hidden" name="UserManagement_Form_EmailAllowed" value="True"> 934 <input type="hidden" name="UserManagement_Form_EmailAllowed_ApplyValue" value="True"> 935 <input type="hidden" name="UserManagementForm" value="1"> 936 <input type="hidden" name="UserManagementForm.DeleteImage"> 937 <div class="input-group text-center"> 938 <input name="UserManagement_Form_Email" type="email" placeholder='@Translate("Smartpage:NewsletterPopbox.YourEmail", "E-mail adresse")' class="form-control js-req js-email inverted" required="required"> 939 <span class="input-group-btn"> 940 <button class="btn btn-primary js-validate-form form-control" type="submit"> 941 <i class="newsletter-busy fa fa-refresh fa-spin fa-fw" style="display:none"></i> 942 <span class="lbl">@Translate("Smartpage:NewsletterPopBox.SignUp", "Tilmeld")</span> 943 </button> 944 </span> 945 </div> 946 <div class="form-control-feedback alert alert-info display-none js-invalid-nofill"> 947 @Translate("Smartpage:Validation.Error.NeedFill", "Skal udfyldes.") 948 </div> 949 <div class="form-control-feedback alert alert-info display-none js-invalid-email"> 950 @Translate("Smartpage:Validation.Error.NeedEmail", "Skal være en email.") 951 </div> 952 953 <div class="form-control-feedback alert alert-info newsletter-fail display-none">@Translate("Smartpage:NewsletterPopBox.Error", "Fejl")</div> 954 <div class="form-control-feedback alert alert-info newsletter-response-container display-none"></div> 955 </form> 956 } 957 @using Dynamicweb; 958 @using Dynamicweb.Core; 959 960 @inherits Dynamicweb.Rendering.RazorTemplateBase<Dynamicweb.Rendering.RazorTemplateModel<Dynamicweb.Rendering.Template>> 961 962 @helper RenderFacebookPage(string pageUrl = null) 963 { 964 var appId = !String.IsNullOrEmpty(Converter.ToString(Pageview.Area.Item["FacebookAppId"])) ? Converter.ToString(Pageview.Area.Item["FacebookAppId"]) : "[AppId is missing]"; 965 pageUrl = !String.IsNullOrEmpty(pageUrl) ? pageUrl : Converter.ToString(Pageview.Area.Item["FacebookPageUrl"]); 966 967 <div class="js-facebook-page"> 968 <div id="fb-root"></div> 969 <script> 970 (function(d, s, id) { 971 var js, fjs = d.getElementsByTagName(s)[0]; 972 if (d.getElementById(id)) return; 973 js = d.createElement(s); js.id = id; 974 js.src = "//connect.facebook.net/da_DK/sdk.js#xfbml=1&version=v2.9&appId=@appId"; 975 fjs.parentNode.insertBefore(js, fjs); 976 }(document, 'script', 'facebook-jssdk')); 977 </script> 978 <div class="fb-page" data-href="@pageUrl" data-tabs="timeline" data-small-header="true" data-adapt-container-width="true" data-hide-cover="false" data-show-facepile="true" data-height="300" data-width="500"> 979 <blockquote cite="@pageUrl" class="fb-xfbml-parse-ignore"> 980 <a href="@pageUrl">@pageUrl</a> 981 </blockquote> 982 </div> 983 </div> 984 } 985 @{ 986 string languageCode = GetGlobalValue("Global:Area.Lang").ToLower(); 987 string version = Dynamicweb.Core.Converter.ToBoolean(Pageview.Area.Item["DeveloperMode"]) ? "0." + DateTime.Now.Ticks : "1.0.11102018"; 988 var stylesheet = Converter.ToString(Pageview.Area.Item["Stylesheet"]) + "?v=" + version; 989 } 990 <!DOCTYPE html> 991 <html lang="@languageCode"> 992 <head> 993 @{ 994 var designBaseUrl = GetString("Template:DesignBaseUrl").TrimEnd('/'); 995 bool isLoggedIn = Dynamicweb.Security.UserManagement.User.IsExtranetUserLoggedIn(); 996 bool useAlternativeHeader = Pageview.Page.PropertyItem != null && Dynamicweb.Core.Converter.ToBoolean(Pageview.Page.PropertyItem["UseAlternativeHeader"]); 997 } 998 <meta charset="utf-8"> 999 <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> 1000 <meta http-equiv="x-ua-compatible" content="ie=edge"> 1001 <title>@GetValue("Title")</title> 1002 @GetValue("MetaTags") 1003 @GetValue("CopyRightNotice") 1004 1005 @RenderSnippet("Meta") 1006 1007 <link rel="stylesheet" href="@stylesheet"> 1008 <meta name="facebook-domain-verification" content="dy4yqqtc5oaudxg4cpgbudtttr7lrn"> 1009 @RenderHeaderHrefLang() 1010 1011 @{ 1012 var headGoogleTagManagerId = Converter.ToString(Pageview.Area.Item["GoogleTagManagerId"]); 1013 if (!string.IsNullOrEmpty(headGoogleTagManagerId)) 1014 { 1015 <!-- Google Tag Manager --> 1016 <script> 1017 (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': 1018 new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], 1019 j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= 1020 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f); 1021 })(window,document,'script','dataLayer','@headGoogleTagManagerId');</script> 1022 <!-- End Google Tag Manager --> 1023 } 1024 } 1025 1026 @{ 1027 var headFacebookPixelId = Converter.ToString(Pageview.Area.Item["FacebookPixelId"]); 1028 if (!string.IsNullOrEmpty(headFacebookPixelId)) 1029 { 1030 <!-- Facebook Pixel Code --> 1031 <script> 1032 !function(f,b,e,v,n,t,s) 1033 {if(f.fbq)return;n=f.fbq=function() 1034 {n.callMethod? n.callMethod.apply(n,arguments):n.queue.push(arguments)}; 1035 if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0'; 1036 n.queue=[];t=b.createElement(e);t.async=!0; 1037 t.src=v;s=b.getElementsByTagName(e)[0]; 1038 s.parentNode.insertBefore(t,s)}(window,document,'script', 1039 'https://connect.facebook.net/en_US/fbevents.js'); 1040 fbq('init', '@headFacebookPixelId'); 1041 fbq('track', 'PageView'); 1042 </script> 1043 <noscript><img height='1' width='1' src="https://www.facebook.com/tr?id=@headFacebookPixelId&amp;ev=PageView&noscript=1"></noscript> 1044 <!-- End Facebook Pixel Code --> 1045 } 1046 } 1047 1048 1049 1050 @RenderStandardInstantProductSearchTemplates() 1051 1052 @if (Dynamicweb.Core.Converter.ToString(Pageview.Area.Item["Favicon"]) != "") 1053 { 1054 var favicon = Dynamicweb.Core.Converter.ToString(Pageview.Area.Item["Favicon"]); 1055 1056 <link rel="shortcut icon" href="@favicon"> 1057 } 1058 1059 @*<link rel="shortcut icon" href="/files/images/favicon/favicon.ico"> 1060 <link rel="apple-touch-icon" sizes="180x180" href="/files/images/favicon/apple-touch-icon.png"> 1061 <link rel="icon" type="image/png" sizes="32x32" href="/files/images/favicon/favicon-32x32.png"> 1062 <link rel="icon" type="image/png" sizes="16x16" href="/files/images/favicon/favicon-16x16.png"> 1063 <link rel="manifest" href="/files/images/favicon/manifest.json"> 1064 <link rel="mask-icon" href="/files/images/favicon/safari-pinned-tab.svg" color="#696969">*@ 1065 <meta name="theme-color" content="#ffffff"> 1066 1067 1068 <!-- Hotjar Tracking Code for https://www.sbs.dk/ --> 1069 <script> 1070 (function (h, o, t, j, a, r) { 1071 1072 h.hj = h.hj || function () { (h.hj.q = h.hj.q || []).push(arguments) }; 1073 1074 h._hjSettings = { hjid: 1468272, hjsv: 6 }; 1075 1076 a = o.getElementsByTagName('head')[0]; 1077 1078 r = o.createElement('script'); r.async = 1; 1079 1080 r.src = t + h._hjSettings.hjid + j + h._hjSettings.hjsv; 1081 1082 a.appendChild(r); 1083 1084 })(window, document, 'https://static.hotjar.com/c/hotjar-', '.js?sv='); 1085 </script> 1086 1087 1088 1089 @GetValue("Stylesheets") 1090 @GetValue("Javascripts") 1091 </head> 1092 1093 <body class="body"> 1094 1095 @{ 1096 var bodyGoogleTagManagerId = Converter.ToString(Pageview.Area.Item["GoogleTagManagerId"]); 1097 if (!string.IsNullOrEmpty(bodyGoogleTagManagerId)) 1098 { 1099 <!-- Google Tag Manager (noscript) --> 1100 <noscript><iframe src="https://www.googletagmanager.com/ns.html?id=@bodyGoogleTagManagerId" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> 1101 <!-- End Google Tag Manager (noscript) --> 1102 } 1103 } 1104 1105 @*@RenderFacebookScript() *@ 1106 1107 <header class="header"> 1108 1109 @{ 1110 var headerType = Converter.ToInt32(Pageview.Area.Item["Header"]); 1111 if (headerType == 1) 1112 { 1113 if (!useAlternativeHeader && Converter.ToBoolean(Pageview.Area.Item["EnableHeaderTopline"])) 1114 { 1115 <div class="header-topline"> 1116 <div class="container"> 1117 <div class="row no-gutters"> 1118 <div class="col-md-13"> 1119 @RenderUSP("header") 1120 </div> 1121 <div class="col-md-5 text-md-right"> 1122 @if (Converter.ToBoolean(Pageview.Area.Item["EnableCustomerService"])) 1123 { 1124 @Translate("Smartpage:Header.CustomerSerive", "Kundeservice") @Dynamicweb.Core.Converter.ToString(Pageview.Area.Item["CompanyPhone"]) 1125 } 1126 </div> 1127 <div class="col-md-3 header-lang"> 1128 @RenderLanguageDropdown("TwoLetterISOLanguageName") 1129 </div> 1130 <div class="col-md-3 header-userdropdown"> 1131 @RenderUserManagementDropdownButton() 1132 </div> 1133 </div> 1134 </div> 1135 </div> 1136 } 1137 1138 @*@RenderCartMini(Converter.ToString(Pageview.Area.Item["CheckStock"]))*@ 1139 1140 <div class="header-content js-header-content"> 1141 <div class="container"> 1142 <div class="row"> 1143 <div class="col-xs-8 col-sm-12 col-md-12"> 1144 @if (Dynamicweb.Core.Converter.ToString(Pageview.Area.Item["Logo"]) != "") 1145 { 1146 var logoLink = "Default.aspx?ID=" + GetInteger("DwAreaFirstPageID"); 1147 var logo = Dynamicweb.Core.Converter.ToString(Pageview.Area.Item["Logo"]); 1148 <div class="header-logo"> 1149 <a href="@logoLink" title='@GetString("DwAreaName")'> 1150 <img src="@logo" class="img-fluid" alt='@GetString("DwAreaName")'> 1151 </a> 1152 </div> 1153 } 1154 </div> 1155 1156 <div class="col-xs-16 col-sm-12 col-md-12 text-xs-right"> 1157 @if (!useAlternativeHeader) 1158 { 1159 <span class="header-icon-search js-toggle" data-target=".js-content-large"> 1160 <i class="fa fa-search" aria-hidden="true"></i> 1161 </span> 1162 <span class="header-icon-user"> 1163 @RenderUserManagementDropdownButton() 1164 </span> 1165 1166 var enableCart = Converter.ToBoolean(Pageview.Area.Item["EnableCart"]); 1167 if (enableCart) 1168 { 1169 <span class="header-icon-cart"> 1170 <a href='@Dynamicweb.Core.Converter.ToString(Pageview.Area.Item["CartLink"])'> 1171 <i class="fa fa-shopping-cart" aria-hidden="true"></i> 1172 </a> 1173 </span> 1174 } 1175 1176 <button class="hamburger hamburger--slider js-navigation-toggle js-toggle" type="button" data-target=".js-navigation-mobile" data-toggle-type="hamburger"> 1177 <span class="hamburger-box"> 1178 <span class="hamburger-inner"></span> 1179 </span> 1180 </button> 1181 } 1182 else if (String.IsNullOrWhiteSpace(Dynamicweb.Context.Current.Request["CompletedOrderId"])) 1183 { 1184 <span class="pointer js-goback">&#171; @Translate("Smartpage:Header.BackLink.GoBack", "Tilbage")</span> 1185 } 1186 </div> 1187 1188 </div> 1189 </div> 1190 </div> 1191 1192 if (!useAlternativeHeader) 1193 { 1194 <div class="container header-container"> 1195 @RenderUserManagementDropdown() 1196 </div> 1197 } 1198 1199 if (!useAlternativeHeader) 1200 { 1201 <div class="header-content-large js-content-large"> 1202 <div class="container js-content-large-container"> 1203 <div class="row"> 1204 <div class="hidden-md-down col-lg-6 vcenter"> 1205 @if (Dynamicweb.Core.Converter.ToString(Pageview.Area.Item["LogoLarge"]) != "") 1206 { 1207 var logoLargeLink = "Default.aspx?ID=" + GetInteger("DwAreaFirstPageID"); 1208 var logoLarge = Dynamicweb.Core.Converter.ToString(Pageview.Area.Item["LogoLarge"]); 1209 <div class="header-logo-large"> 1210 <a href="@logoLargeLink" title='@GetString("DwAreaName")'> 1211 <img src="@logoLarge" class="img-fluid" alt='@GetString("DwAreaName")'> 1212 </a> 1213 </div> 1214 } 1215 </div> 1216 <div class="col-xs-24 col-sm-24 col-lg-12 text-xs-center"> 1217 @RenderInstantProductSearchForm() 1218 </div> 1219 <div class="hidden-md-down col-lg-6"> 1220 @RenderCartMiniIcon("link") 1221 </div> 1222 <div class="hidden-md-down col-lg-12 socialheader"> 1223 @RenderSocialMediaList("footer") 1224 </div> 1225 </div> 1226 </div> 1227 </div> 1228 } 1229 else 1230 { 1231 <div class="header-content-large header-content-large-alt js-content-large"> 1232 <div class="container"> 1233 <div class="row"> 1234 <div class="col-lg-8"> 1235 @if (String.IsNullOrWhiteSpace(Dynamicweb.Context.Current.Request["CompletedOrderId"])) 1236 { 1237 <span class="pointer js-goback">&#171; @Translate("Smartpage:Header.BackLink.GoBack", "Tilbage")</span> 1238 } 1239 </div> 1240 <div class="col-lg-8 text-lg-center"> 1241 @if (Dynamicweb.Core.Converter.ToString(Pageview.Area.Item["LogoLarge"]) != "") 1242 { 1243 var logoLargeLink = "Default.aspx?ID=" + GetInteger("DwAreaFirstPageID"); 1244 var logoLarge = Dynamicweb.Core.Converter.ToString(Pageview.Area.Item["LogoLarge"]); 1245 <div class="header-logo-large"> 1246 <a href="@logoLargeLink" title='@GetString("DwAreaName")'> 1247 <img src="@logoLarge" class="img-fluid" alt='@GetString("DwAreaName")'> 1248 </a> 1249 </div> 1250 } 1251 </div> 1252 <div class="col-lg-8 text-lg-right"> 1253 @Translate("Smartpage:Header.CustomerSerive", "Kundeservice") @Dynamicweb.Core.Converter.ToString(Pageview.Area.Item["CompanyPhone"]) 1254 </div> 1255 </div> 1256 </div> 1257 </div> 1258 } 1259 1260 if (!useAlternativeHeader) 1261 { 1262 var headerNavigationMobileClass = Converter.ToBoolean(Pageview.Area.Item["LanguageActive"]) ? "has-language" : ""; 1263 1264 <div class="header-navigation js-sticky" data-sticky-logo="true"> 1265 <div class="container"> 1266 @RenderNavigationMega() 1267 </div> 1268 </div> 1269 <div class="header-navigation-mobile @headerNavigationMobileClass js-navigation-mobile"> 1270 <div class="navigation-slide-right"> 1271 @RenderNavigationSlideRight() 1272 </div> 1273 <nav class="menu-bottom-lang"> 1274 @RenderLanguageList("TwoLetterISOLanguageName") 1275 </nav> 1276 </div> 1277 } 1278 } 1279 else if (headerType == 2) 1280 { 1281 <div class="header-content js-header-content"> 1282 <div class="container"> 1283 <div class="row"> 1284 <div class="col-xs-8 col-sm-12 col-md-12"> 1285 @if (Converter.ToString(Pageview.Area.Item["Logo"]) != "") 1286 { 1287 var logoLink = "Default.aspx?ID=" + GetInteger("DwAreaFirstPageID"); 1288 var logo = Converter.ToString(Pageview.Area.Item["Logo"]); 1289 1290 <div class="header-logo"> 1291 <a href="@logoLink" title='@GetString("DwAreaName")'> 1292 <img src="@logo" class="img-fluid" alt='@GetString("DwAreaName")'> 1293 </a> 1294 </div> 1295 } 1296 </div> 1297 <div class="col-xs-16 col-sm-12 col-md-12 text-xs-right"> 1298 <span class="header-icon-search js-toggle" data-target=".js-content-large"> 1299 <i class="fa fa-search" aria-hidden="true"></i> 1300 </span> 1301 <button class="hamburger hamburger--slider js-navigation-toggle js-toggle" type="button" data-target=".js-navigation-mobile" data-toggle-type="hamburger"> 1302 <span class="hamburger-box"> 1303 <span class="hamburger-inner"></span> 1304 </span> 1305 </button> 1306 </div> 1307 </div> 1308 </div> 1309 </div> 1310 1311 <div class="header-content-large js-content-large"> 1312 <div class="container js-content-large-container"> 1313 <div class="row"> 1314 <div class="hidden-md-down col-lg-15 vcenter"> 1315 @if (Converter.ToString(Pageview.Area.Item["LogoLarge"]) != "") 1316 { 1317 var logoLargeLink = "Default.aspx?ID=" + GetInteger("DwAreaFirstPageID"); 1318 var logoLarge = Converter.ToString(Pageview.Area.Item["LogoLarge"]); 1319 1320 <div class="header-logo-large"> 1321 <a href="@logoLargeLink" title='@GetString("DwAreaName")'> 1322 <img src="@logoLarge" class="img-fluid" alt='@GetString("DwAreaName")'> 1323 </a> 1324 </div> 1325 } 1326 </div> 1327 <div class="col-xs-24 col-sm-24 col-lg-7 text-xs-center"> 1328 <form class="search-form" action='@SearchEngineFriendlyURLs.GetFriendlyUrl("Default.aspx?ID=" + Converter.ToInt32(Pageview.Area.Item["SearchPage"]))' method="get"> 1329 <div class="search-input-wrapper"> 1330 <input type="search" class=" input-search" name="q" value='@Context.Current.Request.GetString("q")' placeholder='@Translate("Smartpage:Master.Search", "Search")'> 1331 <button class="btn btn-search" type="submit"> 1332 <i class="fa fa-search" aria-hidden="true"></i> 1333 </button> 1334 </div> 1335 </form> 1336 </div> 1337 <div class="hidden-md-down col-lg-2 header-lang"> 1338 @RenderLanguageDropdown("TwoLetterISOCountryName", GetString("LongLang").Split('-')[1]) 1339 </div> 1340 </div> 1341 </div> 1342 </div> 1343 1344 var headerNavigationMobileClass = Converter.ToBoolean(Pageview.Area.Item["LanguageActive"]) ? "has-language" : ""; 1345 1346 <div class="header-navigation js-sticky"> 1347 <div class="container"> 1348 @RenderNavigationMega() 1349 </div> 1350 </div> 1351 <div class="header-navigation-mobile @headerNavigationMobileClass js-navigation-mobile"> 1352 <div class="navigation-slide-right"> 1353 @RenderNavigationSlideRight() 1354 </div> 1355 <nav class="menu-bottom-lang"> 1356 @RenderLanguageList("TwoLetterISOCountryName") 1357 </nav> 1358 </div> 1359 } 1360 } 1361 1362 </header> 1363 1364 <div class="wrapper"> 1365 <div class="page"> 1366 1367 @*OLD HEADER PLACEMENT*@ 1368 1369 <div class="content"> 1370 @using System; 1371 @using System.Web; 1372 @using System.Linq; 1373 @using Dynamicweb; 1374 @using Dynamicweb.Core; 1375 @inherits Dynamicweb.Rendering.RazorTemplateBase<Dynamicweb.Rendering.RazorTemplateModel<Dynamicweb.Rendering.Template>> 1376 1377 1378 @using System; 1379 @using System.Web; 1380 @using Dynamicweb; 1381 @inherits Dynamicweb.Rendering.RazorTemplateBase<Dynamicweb.Rendering.RazorTemplateModel<Dynamicweb.Rendering.Template>> 1382 1383 @helper RenderBreadcrumbs() 1384 { 1385 if (Dynamicweb.Core.Converter.ToBoolean(Pageview.Area.Item["ShowBreadcrumbsOnWebsite"]) && (Pageview.Page.PropertyItem == null || !Dynamicweb.Core.Converter.ToBoolean(Pageview.Page.PropertyItem["DisableBreadcrumbsOnPage"]))) 1386 { 1387 string hiddenMobileClass = Dynamicweb.Core.Converter.ToBoolean(Pageview.Area.Item["ShowBreadcrumbsOnMobile"]) ? "" : "hidden-xs-down"; 1388 string prefix = Dynamicweb.Core.Converter.ToString(Pageview.Area.Item["BreadcrumbsPrefix"]); 1389 <div class="container breadcrumbs @hiddenMobileClass"> 1390 <ul class="breadcrumbs-list" itemscope="" itemtype="http://schema.org/BreadcrumbList"> 1391 @if (!string.IsNullOrWhiteSpace(prefix)) 1392 { 1393 <li class="pull-left">@prefix&nbsp;&nbsp;</li> 1394 } 1395 @GetValue("DwNavigation(mainbreadcrumbs)") 1396 </ul> 1397 </div> 1398 } 1399 } 1400 @using System.ServiceModel.Security 1401 @using System.Web 1402 @using Dynamicweb 1403 @using Dynamicweb.Environment; 1404 @using Dynamicweb.Core; 1405 1406 @inherits Dynamicweb.Rendering.RazorTemplateBase<Dynamicweb.Rendering.RazorTemplateModel<Dynamicweb.Rendering.Template>> 1407 1408 @helper RenderProduct(LoopItem i, string gutter, string colSize, bool useGroupLink = true, string pageId = null) 1409 { 1410 var id = i.GetValue("Ecom:Product.ID"); 1411 var productLink = useGroupLink ? i.GetValue("Ecom:Product.LinkGroup.Clean") : i.GetValue("Ecom:Product.Link.Clean"); 1412 if (!string.IsNullOrEmpty(pageId)) 1413 { 1414 productLink = "/Default.aspx?Id=" + pageId; 1415 if (useGroupLink) 1416 { 1417 productLink += "&groupid=" + i.GetString("Ecom:Product.PrimaryOrFirstGroupID"); 1418 } 1419 productLink += "&ProductId=" + id; 1420 } 1421 string productName = i.GetString("Ecom:Product.Name"); 1422 string productImageClean = Converter.ToBoolean(Pageview.Area.Item["IsApRacing"]) ? i.GetString("Ecom:Product:Field.SpPerfAPImage") : i.GetString("Ecom:Product.PrimaryImage"); 1423 string productImage = string.IsNullOrEmpty(productImageClean) ? i.GetString("Ecom:Product.PrimaryImage") : productImageClean; 1424 if(productImage == "/Images/Products/missing.jpg") 1425 { 1426 productImage = "/admin/public/GetImage.ashx?Image=Files/Images/Products/" 1427 + i.GetString("Ecom:Product:Field.BoxNo").Replace(' ', '_') 1428 + (!string.IsNullOrEmpty(i.GetString("Ecom:Product:Field.SpPerfQuality")) ? "_" + i.GetString("Ecom:Product:Field.SpPerfQuality") : "") 1429 + ".jpg" 1430 + "&amp;Compression=75&amp;width=400&amp;height=350"; 1431 } 1432 bool service = i.GetInteger("Ecom:Product.Type") == 1; 1433 string productNameForAttribute = Dynamicweb.Core.Encoders.HtmlEncoder.HtmlEncode(productName); 1434 1435 <div class='productlist-item @gutter @colSize'> 1436 <form method="post" class="js-ecom-product-form" autocomplete="off" data-disabled="false" data-check-stock='@Converter.ToString(Pageview.Area.Item["CheckStock"])'> 1437 <input type="hidden" name="CartCmd" value="add"> 1438 <input type="hidden" name="ProductID" value="@i.GetValue(" ecom:product.id")"=""> 1439 <div class="productlist-content"> 1440 <a href="@productLink" title="@productNameForAttribute" class="productlist-image-link"> 1441 <img class="img-fluid" alt="@productNameForAttribute" src="@productImage" title="@productNameForAttribute" onerror="this.onerror=null;this.src='@(" admin/public/getimage.ashx?image="Files/Images/Products/missing.jpg&amp;Compression=75&amp;width=400&amp;height=350&quot;)';&quot;"> 1442 </a> 1443 <a href="@productLink" class="name" title="@productNameForAttribute"> 1444 @productNameForAttribute 1445 </a> 1446 @RenderProductPrice(false, i) 1447 @RenderProductPriceUnit(i) 1448 @RenderProductRibbon(i) 1449 </div> 1450 @RenderProductListAddToCart(i) 1451 </form> 1452 </div> 1453 } 1454 1455 @helper RenderProductListAddToCart(LoopItem i, bool isAddMulti = false) 1456 { 1457 var enableCart = Converter.ToBoolean(Pageview.Area.Item["EnableCart"]); 1458 var disablePurchase = i.GetBoolean("Ecom:Product:Field.Smartpage:SpDisablePurchase"); 1459 if (enableCart && !disablePurchase) 1460 { 1461 var enableVariant = false; 1462 var quantityColClass = isAddMulti ? "col-xs-24" : "col-xs-10"; 1463 1464 <div class="row no-gutters js-input-spinner add-to-cart"> 1465 @if (enableVariant && i.GetInteger("Ecom:Product.VariantCount") > 0) 1466 { 1467 @*<a href="@productLink" class="btn btn-primary btn-block js-ecom-product-button">@Translate("Smartpage:Ecom.ProductList.Button.ChooseVariant", "Vælg variant")</a>*@ 1468 } 1469 else 1470 { 1471 <div class="@quantityColClass"> 1472 @RenderChevrons(i, isAddMulti) 1473 </div> 1474 if (!isAddMulti) 1475 { 1476 <div class="col-xs-14"> 1477 <button class="btn btn-primary btn-block js-ecom-product-button"> 1478 <i class="js-ecom-product-button-spinner"></i> 1479 <span class="js-ecom-product-button-text">@Translate("Smartpage:Ecom.ProductList.Button.AddToBasket", "Læg i kurv")</span> 1480 </button> 1481 </div> 1482 } 1483 } 1484 </div> 1485 } 1486 } 1487 1488 @helper RenderProductAddToCart() 1489 { 1490 @*@if (i.GetInteger("Ecom:Product.VariantCount") > 0) 1491 { 1492 <a href="@productLink" class="btn btn-primary btn-block js-ecom-product-button">@Translate("Smartpage:Ecom.ProductList.Button.ChooseVariant", "Vælg variant")</a> 1493 } 1494 else 1495 {*@ 1496 <div class="row"> 1497 <div class="col-xs-7"> 1498 @RenderChevrons(null, false) 1499 </div> 1500 <div class="col-xs-17"> 1501 <button class="btn btn-primary js-ecom-product-button addtocart"> 1502 <i class="js-ecom-product-button-spinner"></i> 1503 <span class="js-ecom-product-button-text">@Translate("Smartpage:Ecom.ProductList.Button.AddToBasket", "Læg i kurv")</span> 1504 </button> 1505 </div> 1506 </div> 1507 @* } *@ 1508 } 1509 1510 @helper RenderChevrons(LoopItem i, bool isAddMulti) 1511 { 1512 bool service = getIntegerByKey(i, "Ecom:Product.Type") == 1; 1513 string id = getStringByKey(i, "Ecom:Product.ID"); 1514 string productName = getStringByKey(i, "Ecom:Product.Name"); 1515 string productNameForAttribute = Dynamicweb.Core.Encoders.HtmlEncoder.HtmlEncode(productName); 1516 string quantity = isAddMulti ? "0" : (getStringByKey(i, "Ecom:Order:OrderLine.Quantity") != "") ? getStringByKey(i, "Ecom:Order:OrderLine.Quantity") : "1"; 1517 int loopCounter = getIntegerByKey(i, "Ecom:Product.LoopCounter"); 1518 string name = isAddMulti ? "Quantity" + loopCounter : (getStringByKey(i, "Ecom:Order:OrderLine.Quantity.Input.Name") != "") ? getStringByKey(i, "Ecom:Order:OrderLine.Quantity.Input.Name") : "Quantity"; 1519 1520 <div class="input-group qty-container"> 1521 @*<input type="number" min="@quantity" name="@name" tabindex="@loopCounter" class="form-control stack-input js-ecom-product-quantity" value="@quantity" data-productid='@id' data-service='@service' data-productname="@productNameForAttribute">*@ 1522 <input type="tel" min="1" name="@name" tabindex='@loopCounter' class="form-control text-xs-center js-ecom-product-quantity" value="@quantity"> 1523 1524 <div class="input-group-btn qty-group"> 1525 <span class="btn-chevron btn-chevron-up js-input-spinner-up"> 1526 <i class="fa fa-angle-up" aria-hidden="true"></i> 1527 </span> 1528 <span class="btn-chevron btn-chevron-down js-input-spinner-down"> 1529 <i class="fa fa-angle-down"></i> 1530 </span> 1531 </div> 1532 </div> 1533 } 1534 1535 @helper RenderProductList(LoopItem i, string gutter, string colSize, bool favoriteList = false, string pageId = null) 1536 { 1537 <form method="post" class="js-ecom-product-form @colSize" autocomplete="off" data-disabled="false" data-check-stock='@Dynamicweb.Core.Converter.ToString(Pageview.Area.Item["CheckStock"])'> 1538 <input type="hidden" name="CartCmd" value="add"> 1539 <input type="hidden" name="ProductID" value="@i.GetValue(" ecom:product.id")"=""> 1540 @RenderProductListContent(i, gutter, colSize, favoriteList, false) 1541 </form> 1542 } 1543 1544 @helper RenderProductListContent(LoopItem i, string gutter, string colSize, bool favoriteList = false, bool isAddMulti = false, bool useGroupLink = true, string pageId = null) 1545 { 1546 var id = i.GetValue("Ecom:Product.ID"); 1547 var productLink = useGroupLink ? i.GetValue("Ecom:Product.LinkGroup.Clean") : i.GetValue("Ecom:Product.Link.Clean"); 1548 if (!string.IsNullOrEmpty(pageId)) 1549 { 1550 productLink = "/Default.aspx?Id=" + pageId; 1551 if (useGroupLink) 1552 { 1553 productLink += "&groupid=" + i.GetString("Ecom:Product.PrimaryOrFirstGroupID"); 1554 } 1555 productLink += "&ProductId=" + id; 1556 } 1557 string productName = Converter.ToBoolean(Pageview.Area.Item["IsApRacing"]) ? i.GetString("Ecom:Product:Field.SpPerfAPNumber") + " " + i.GetString("Ecom:Product:Field.SpPerfAPQuality") : i.GetString("Ecom:Product.Name"); 1558 string productImageClean = Converter.ToBoolean(Pageview.Area.Item["IsApRacing"]) ? i.GetString("Ecom:Product:Field.SpPerfAPImage") : i.GetString("Ecom:Product.PrimaryImage"); 1559 string productImage = string.IsNullOrEmpty(productImageClean) ? i.GetString("Ecom:Product.PrimaryImage") : productImageClean; 1560 if(productImage == "/Images/Products/missing.jpg") 1561 { 1562 productImage = "/admin/public/GetImage.ashx?Image=Files/Images/Products/" 1563 + i.GetString("Ecom:Product:Field.BoxNo").Replace(' ', '_') 1564 + (!string.IsNullOrEmpty(i.GetString("Ecom:Product:Field.SpPerfQuality")) ? "_" + i.GetString("Ecom:Product:Field.SpPerfQuality") : "") 1565 + ".jpg" 1566 + "&amp;Compression=75&amp;width=400&amp;height=350"; 1567 } 1568 bool service = i.GetInteger("Ecom:Product.Type") == 1; 1569 string productNameForAttribute = Dynamicweb.Core.Encoders.HtmlEncoder.HtmlEncode(productName); 1570 string shortDescription = i.GetString("Ecom:Product.ShortDescription"); 1571 int loopCounter = GetInteger("Ecom:Product.LoopCounter"); 1572 string addMultiClass = isAddMulti ? "add-multi" : ""; 1573 colSize = isAddMulti ? colSize : ""; 1574 1575 1576 <div class="py-2 my-1 productlist-content productlist-item @gutter @colSize @addMultiClass"> 1577 @if (isAddMulti) 1578 { 1579 <text>@i.GetString("Ecom:Product.Form.Multi.HiddenFields")</text> 1580 } 1581 <div class=""> 1582 <div class="row row-eq-height"> 1583 <div class="col-xs-24 col-sm-24 col-lg-24 text-xs-center"> 1584 <a href="@productLink" title="@productNameForAttribute" class="productlist-image-link "> 1585 <img class="img-fluid product-img" alt="@productNameForAttribute" src="@productImage" title="@productNameForAttribute" onerror="this.onerror=null;this.src='Files/Images/Products/missing.jpg';"> 1586 </a> 1587 @RenderProductRibbon(i) 1588 </div> 1589 <div class="col-xs-24 col-sm-24 col-lg-24 text-lg-left list_text"> 1590 <a href="@productLink" class="name" title="@productNameForAttribute"> 1591 @productNameForAttribute 1592 </a> 1593 <div class="short_desc"> 1594 @shortDescription 1595 </div> 1596 <div class="more-info"> 1597 <a href="@productLink" title="@productNameForAttribute"> 1598 @Translate("MoreInfo","More info") 1599 </a> 1600 </div> 1601 1602 @*@{ 1603 var perfionId = i.GetString("Ecom:Product:Field.SpPerfId"); 1604 var reportHandlerPageId = Converter.ToString(Pageview.Area.Item["PerfionReportPage"]); 1605 var reportHandlerPage = string.Empty; 1606 1607 if (!string.IsNullOrEmpty(perfionId) && !string.IsNullOrEmpty(reportHandlerPageId)) 1608 { 1609 reportHandlerPage = Dynamicweb.Frontend.SearchEngineFriendlyURLs.GetFriendlyUrl("Default.aspx?ID=" + reportHandlerPageId) + "?reportId=" + perfionId + "&amp;filename=" + Translate("Smartpage:Ecom.Product.DownloadProductSheet.Prefix", "Productsheet") + "-" + i.GetString("Ecom:Product:Field.SpPerfCatalogNo.Value") + i.GetString("Ecom:Product:Field.SpPerfQuality.Value") + ".pdf" + "&amp;productId=" + id; 1610 1611 <a href="@reportHandlerPage" title='@Translate("Smartpage:Product.Download", "Download")' target="_blank">@Translate("Smartpage:Product.Download", "Download") &nbsp;<i class="fa fa-file-pdf-o" aria-hidden="true"></i></a> 1612 } 1613 }*@ 1614 1615 @*@if (string.IsNullOrEmpty(i.GetString("Ecom.Product.Number"))) 1616 { 1617 <div class="row"> 1618 <dl> 1619 <dt class="col-sm-8">@Translate("Smartpage:Ecom.ProductList.SKU.Label", "Varenr")</dt> 1620 1621 <dd class="col-sm-16">@i.GetString("Ecom:Product.Number")</dd> 1622 </dl> 1623 </div> 1624 } 1625 <div class="row "> 1626 <dl> 1627 @RenderProductStock(true, i) 1628 </dl> 1629 </div>*@ 1630 </div> 1631 <div class="col-xs-24 col-lg-8 vbottom"> 1632 @if (favoriteList) 1633 { 1634 <div class="row no-gutters pull-right"> 1635 <a class="remove-from-fav js-remove-from-fav" href="@i.GetValue(" ecom:product.removefromlist")"=""><strong>@Translate("Smartpage:MyList.ProductList.DeleteFromList", "Fjern fra liste")</strong></a> 1636 </div> 1637 } 1638 <div class="row no-gutters"> 1639 <div class="col-xs-24"> 1640 <div class="float-xs-right"> 1641 @RenderProductPrice(false, i) 1642 @RenderProductPriceUnit(i) 1643 </div> 1644 </div> 1645 </div> 1646 <div class="row no-gutters js-input-spinner add-to-cart"> 1647 <div class="col-xs-24"> 1648 @*@if (i.GetInteger("Ecom:Product.VariantCount") > 0) 1649 { 1650 <a href="@productLink" class="btn btn-primary btn-block js-ecom-product-button">@Translate("Smartpage:Ecom.ProductList.Button.ChooseVariant", "Vælg variant")</a> 1651 } 1652 else 1653 {*@ 1654 @RenderProductListAddToCart(i, favoriteList) 1655 @* } *@ 1656 </div> 1657 </div> 1658 1659 </div> 1660 </div> 1661 </div> 1662 </div> 1663 } 1664 1665 @helper RenderGroup(LoopItem g, string colSize) 1666 { 1667 string imagePath = g.GetString("Ecom:Group.LargeImage"); 1668 var groupImg = "/Admin/Public/GetImage.ashx?Image=" + imagePath + "&Width=400&Height=400&Crop=5;"; 1669 var tempImg = groupImg.Replace("//", "/"); 1670 string groupName = g.GetString("Ecom:Group.Name"); 1671 string groupLink = g.GetString("Ecom:Group.Link.Clean"); 1672 1673 <div class="@colSize"> 1674 <div class="grouplist"> 1675 <a href="@groupLink"> 1676 <img src="@tempImg" alt="@groupName" class="img-fluid grouplist-img hidden-md-down"> 1677 </a> 1678 <div class="grouplist-name"> 1679 <a href="@groupLink"> 1680 @groupName 1681 </a> 1682 </div> 1683 </div> 1684 </div> 1685 } 1686 1687 @helper RenderPageTotals() 1688 { 1689 <div> 1690 1691 @{ 1692 var pageSize = Dynamicweb.Core.Converter.ToInt32(@GetValue("Ecom:ProductList.PageSize")); 1693 var pageCount = Dynamicweb.Core.Converter.ToInt32(@GetValue("Ecom:ProductList.PageProdCnt")); 1694 } 1695 1696 @if (pageSize > pageCount) 1697 { 1698 <span>@pageCount @Translate("SmartPage:ProductList.Total.Of", "af") @pageCount @Translate("SmartPage:ProductList.Total.ProductsInTotal", "produkter")</span> 1699 } 1700 else 1701 { 1702 <span>@pageSize @Translate("SmartPage:ProductList.Total.Of", "af") @pageCount @Translate("SmartPage:ProductList.Total.ProductsInTotal", "produkter")</span> 1703 } 1704 1705 </div> 1706 } 1707 1708 @functions 1709 { 1710 string getStringByKey(LoopItem i, string key) 1711 { 1712 return (i == null ? GetString(key) : i.GetString(key)); 1713 } 1714 1715 int getIntegerByKey(LoopItem i, string key) 1716 { 1717 return (i == null ? GetInteger(key) : i.GetInteger(key)); 1718 } 1719 1720 double getDoubleByKey(LoopItem i, string key) 1721 { 1722 return (i == null ? GetDouble(key) : i.GetDouble(key)); 1723 } 1724 1725 bool getBooleanByKey(LoopItem i, string key) 1726 { 1727 return (i == null ? GetBoolean(key) : i.GetBoolean(key)); 1728 } 1729 } 1730 1731 @helper RenderProductPrice(bool showItemProp, LoopItem product = null) 1732 { 1733 var enableProductPrices = Converter.ToBoolean(Pageview.Area.Item["EnableProductPrices"]); 1734 var disablePurchase = getBooleanByKey(product, "Ecom:Product:Field.Smartpage:SpDisablePurchase"); 1735 if (enableProductPrices && !disablePurchase) 1736 { 1737 var productPrice = getStringByKey(product, "Ecom:Product.Price.PriceFormatted"); 1738 var productHasDiscount = getBooleanByKey(product, "Ecom:Product.HaveDiscount"); 1739 var productPriceDiscount = getStringByKey(product, "Ecom:Product.Discount.Price.PriceFormatted"); 1740 var productPriceItemProp = getDoubleByKey(product, "Ecom:Product.Discount.Price.PricePIP") / 100; 1741 var productCurrencyCode = getStringByKey(product, "Ecom:Product.Currency.Code"); 1742 string productStockItemPropSchema = (getDoubleByKey(product, "Ecom:Product.Stock") > 0 || getIntegerByKey(product, "Ecom:Product.Type") == 1) 1743 ? "http://schema.org/InStock" : "http://schema.org/OutOfStock"; 1744 1745 if (showItemProp) 1746 { 1747 <div class="prices" itemprop="offers" itemscope="" itemtype="http://schema.org/Offer"> 1748 <span class="price">@productPriceDiscount</span> 1749 @if (productHasDiscount) 1750 { 1751 <span class="price-old">@productPrice</span> 1752 } 1753 <span itemprop="price" class="display-none">@productPriceItemProp.ToString().Replace(",", ".")</span> 1754 <span itemprop="priceCurrency" class="display-none">@productCurrencyCode</span> 1755 <link itemprop="availability" href="@productStockItemPropSchema"> 1756 </div> 1757 } 1758 else 1759 { 1760 <div class="prices"> 1761 <span class="price">@productPriceDiscount</span> 1762 @if (productHasDiscount) 1763 { 1764 <span class="price-old">@productPrice</span> 1765 } 1766 </div> 1767 } 1768 } 1769 } 1770 1771 @helper RenderProductPriceUnit(LoopItem product = null) 1772 { 1773 var enableProductPrices = Converter.ToBoolean(Pageview.Area.Item["EnableProductPrices"]); 1774 var disablePurchase = getBooleanByKey(product, "Ecom:Product:Field.Smartpage:SpDisablePurchase"); 1775 if (enableProductPrices && !disablePurchase) 1776 { 1777 <div class="per-item">@Translate("Smartpage:Ecom.Product.Price.Unit", "pr. enhed")</div> 1778 } 1779 } 1780 1781 @helper RenderProductRibbon(LoopItem product = null) 1782 { 1783 var enableProductPrices = Converter.ToBoolean(Pageview.Area.Item["EnableProductPrices"]); 1784 1785 var productHasDiscount = getBooleanByKey(product, "Ecom:Product.HaveDiscount") && enableProductPrices; 1786 var productIsRecommended = !string.IsNullOrEmpty(getStringByKey(product, "Smartpage:Application.IsRecommended")) ? (getBooleanByKey(product, "Smartpage:Application.IsRecommended") ? "recommended" : "optional") : ""; 1787 1788 if (productHasDiscount || !string.IsNullOrEmpty(productIsRecommended)) 1789 { 1790 <ul class="ribbons"> 1791 @if (productHasDiscount) 1792 { 1793 var productPriceDiscountTotalProcentage = getDoubleByKey(product, "Ecom:Product.Discount.TotalPercentWithVATFormatted"); 1794 1795 <li><span class="ribbon ribbon-price-savings">@Translate("Smartpage:Ecom.Product.Price.Discount.Save", "Spar") @productPriceDiscountTotalProcentage%</span></li> 1796 } 1797 @if (!string.IsNullOrEmpty(productIsRecommended)) 1798 { 1799 <li><span class="ribbon ribbon-price-@productIsRecommended">@productIsRecommended</span></li> 1800 } 1801 </ul> 1802 } 1803 } 1804 1805 @helper RenderProductSort() 1806 { 1807 string sortPriceUrl = Dynamicweb.Environment.Helpers.LinkHelper.ReplaceQueryString("sortby", "price"); 1808 string sortNameUrl = Dynamicweb.Environment.Helpers.LinkHelper.ReplaceQueryString("sortby", "productname"); 1809 string sortCreated = Dynamicweb.Environment.Helpers.LinkHelper.ReplaceQueryString("sortby", "created"); 1810 string priceQueryAsc = Dynamicweb.Environment.Helpers.LinkHelper.ReplaceQueryString(sortPriceUrl, "sortorder", "asc"); 1811 string priceQueryDesc = Dynamicweb.Environment.Helpers.LinkHelper.ReplaceQueryString(sortPriceUrl, "sortorder", "desc"); 1812 string nameQueryAsc = Dynamicweb.Environment.Helpers.LinkHelper.ReplaceQueryString(sortNameUrl, "sortorder", "asc"); 1813 string nameQueryDesc = Dynamicweb.Environment.Helpers.LinkHelper.ReplaceQueryString(sortNameUrl, "sortorder", "desc"); 1814 string createdQueryDesc = Dynamicweb.Environment.Helpers.LinkHelper.ReplaceQueryString(sortCreated, "sortorder", "desc"); 1815 1816 string sortByValue = Dynamicweb.Context.Current.Request.GetString("sortby"); 1817 string sortOrderValue = Dynamicweb.Context.Current.Request.GetString("sortorder"); 1818 1819 bool priceQueryAscSelected = Dynamicweb.Core.Converter.ToString(sortByValue).ToLower() == "price" && Dynamicweb.Core.Converter.ToString(sortOrderValue).ToLower() == "asc"; 1820 bool priceQueryDescSelected = Dynamicweb.Core.Converter.ToString(sortByValue).ToLower() == "price" && Dynamicweb.Core.Converter.ToString(sortOrderValue).ToLower() == "desc"; 1821 bool nameQueryAscSelected = Dynamicweb.Core.Converter.ToString(sortByValue).ToLower() == "productname" && Dynamicweb.Core.Converter.ToString(sortOrderValue).ToLower() == "asc"; 1822 bool nameQueryDescSelected = Dynamicweb.Core.Converter.ToString(sortByValue).ToLower() == "productname" && Dynamicweb.Core.Converter.ToString(sortOrderValue).ToLower() == "desc"; 1823 bool createdQueryDescSelected = Dynamicweb.Core.Converter.ToString(sortByValue).ToLower() == "created" && Dynamicweb.Core.Converter.ToString(sortOrderValue).ToLower() == "desc"; 1824 1825 <div class="list-sort-wrapper"> 1826 <i class="fa fa-spinner fa-spin"></i> 1827 <select class="form-control js-sort-list"> 1828 <option value="">@Translate("SmartPage:Product.Sort.ChooseSort", "Sorter efter")</option> 1829 <option value="@priceQueryAsc" data-href="@priceQueryAsc" selected="@priceQueryAscSelected">@Translate("SmartPage:Product.Sort.PristAsc", "Pris stigende")</option> 1830 <option value="@priceQueryDesc" data-href="@priceQueryDesc" selected="@priceQueryDescSelected">@Translate("SmartPage:Product.Sort.PristDesc", "Pris faldende")</option> 1831 <option value="@nameQueryAsc" data-href="@nameQueryAsc" selected="@nameQueryAscSelected">@Translate("SmartPage:Product.Sort.NameA-z", "Navn (A-Z)")</option> 1832 <option value="@nameQueryDesc" data-href="@nameQueryDesc" selected="@nameQueryDescSelected">@Translate("SmartPage:Product.Sort.NameZ-A", "Navn (Z-A)")</option> 1833 <option value="@createdQueryDesc" data-href="@createdQueryDesc" selected="@createdQueryDescSelected">@Translate("SmartPage:Product.Sort.Newest", "Nyeste")</option> 1834 </select> 1835 </div> 1836 } 1837 1838 1839 @helper RenderProductStock(bool useDescriptionList, LoopItem i = null) 1840 { 1841 string stockState = Dynamicweb.Core.Converter.ToString(Pageview.Area.Item["StockState"]); 1842 if (string.IsNullOrWhiteSpace(stockState) || stockState == "none") 1843 { 1844 return; //If stockstate is set to "none" og not set - don't show stock 1845 } 1846 1847 double stock = getDoubleByKey(i, "Ecom:Product.Stock"); 1848 string image = getStringByKey(i, "Ecom:Product:Stock.Image.Clean"); 1849 string text = getStringByKey(i, "Ecom:Product:Stock.Text"); 1850 string imageUrl = "/admin/public/GetImage.ashx?Image=" + Dynamicweb.Core.Encoders.HtmlEncoder.UrlPathEncode(image) + "&amp;Compression=75&amp;width=12&amp;height=12"; 1851 1852 if (useDescriptionList) 1853 { 1854 <dt class="col-sm-8">@Translate("Smartpage:eCom.Product.StockStatus.Label.DescriptionList", "Lager")</dt> 1855 if (stockState == "quantity") 1856 { 1857 <dd class="col-sm-16">@stock</dd> 1858 } 1859 else if (stockState == "range") 1860 { 1861 <dd class="col-sm-16"> 1862 @if (!string.IsNullOrWhiteSpace(image)) 1863 { 1864 <img src="@imageUrl" alt="@text"> 1865 } 1866 <span>&nbsp;@text</span> 1867 </dd> 1868 } 1869 } 1870 else 1871 { 1872 if (stockState == "quantity") 1873 { 1874 <span><strong>@Translate("Smartpage:eCom.Product.StockStatus.Label", "Lager:") </strong>@stock</span> 1875 } 1876 else if (stockState == "range") 1877 { 1878 if (!string.IsNullOrEmpty(text)) 1879 { 1880 if (!string.IsNullOrWhiteSpace(image)) 1881 { 1882 <img src="@imageUrl" alt="@text"><span>&nbsp;@text</span> 1883 } 1884 else 1885 { 1886 <span><strong>@Translate("Smartpage:eCom.Product.StockStatus.Label", "Lager:") </strong>@text</span> 1887 } 1888 } 1889 else 1890 { 1891 <span>@Translate("Smartpage:eCom.Product.StockStatus.Unknown", "Ukendt")</span> 1892 } 1893 } 1894 } 1895 } 1896 1897 @helper RenderProductStockCheckModal(string Mode) 1898 { 1899 if (!string.IsNullOrWhiteSpace(Mode) && Mode != "ignore") 1900 { 1901 <div class="modal fade js-stock-check-modal-@Mode" id="stock-check-modal-@Mode" tabindex="-1" role="dialog" aria-labelledby="stock-check-label-@Mode" aria-hidden="true"> 1902 <div class="modal-dialog" role="document"> 1903 <div class="modal-content js-stock-check-@Mode"> 1904 <div class="modal-header"> 1905 <button type="button" class="close" data-dismiss="modal" aria-label="Close"> 1906 <span aria-hidden="true">&times;</span> 1907 </button> 1908 <h4 class="modal-title" id="stock-check-label-@Mode"> 1909 @if (Mode == "break") 1910 { 1911 @Translate("Smartpage:Ecom.Modal.StockCheck.Title.Stop", "Der er ikke nok på lager, prøv med et mindre antal.") 1912 } 1913 else if (Mode == "retry") 1914 { 1915 @Translate("Smartpage:Ecom.Modal.StockCheck.Title.Retry", "Der er ikke nok på lager, antallet er blevet justeret automatisk.") 1916 } 1917 </h4> 1918 </div> 1919 <div class="modal-body js-stock-check-body"> 1920 @if (Mode == "break") 1921 { 1922 <div> 1923 @Translate("Smartpage:Ecom.Modal.StockCheck.ProductsAffected.Stop", "Følgende produkter var ikke tilgængelige:") 1924 </div> 1925 <div class="js-stock-check-productname"></div> 1926 } 1927 else if (Mode == "retry") 1928 { 1929 <div> 1930 @Translate("Smartpage:Ecom.Modal.StockCheck.ProductsAffected.Retry", "Der er lagt følgende antal i kurven:") 1931 </div> 1932 <dl class="js-stock-check-productline"> 1933 <dt class="js-stock-check-productname"></dt> 1934 <dd class="js-stock-check-productname"></dd> 1935 </dl> 1936 } 1937 </div> 1938 <div class="modal-footer"> 1939 <button type="button" class="btn btn-secondary" data-dismiss="modal">@Translate("Smartpage:UserManagement.LoginModal.Button.Close", "Luk")</button> 1940 </div> 1941 </div> 1942 </div> 1943 </div> 1944 } 1945 } 1946 1947 <div class="js-ecom-container" data-cart-id='@Converter.ToInt32(Pageview.Area.Item["CartMini"])'> 1948 @RenderBreadcrumbs() 1949 <div class="js-ecom-page"> 1950 <div class="js-ecom-page-container" id="main-content">@GetValue("DwContent(maincontent)")</div> 1951 </div> 1952 </div> 1953 @RenderProductStockCheckModal(Converter.ToString(Pageview.Area.Item["CheckStock"])) 1954 </div> 1955 </div> 1956 <!-- Contactformular --> 1957 @{ 1958 var contactparagraph = GetInteger("Item.Area.ContactParagraphID"); 1959 if (contactparagraph > 0) 1960 { 1961 <div class="contactbutton-container" style=""> 1962 <button id="contactbutton" type="button" class="btn btn-info" data-toggle="collapse" data-target="#contactform-popup"> 1963 <i class="icon-envelope-alt"></i><i class="fa fa-envelope"></i>@Translate("Contact us") 1964 </button> 1965 1966 </div> 1967 1968 <div id="contactform-popup" class="collapse"> 1969 1970 <button id="close" type="button" class="btn btn-info" data-toggle="collapse" data-target="#contactform-popup"><i class="fa fa-times"></i></button> 1971 <h6>@Translate("Please do not hesitate to contact us", "Please do not hesitate to contact us")</h6> 1972 1973 @RenderParagraphContent(contactparagraph) 1974 </div> 1975 1976 } 1977 } 1978 1979 <!-- End Contactformular --> 1980 </div> 1981 1982 <footer class="footer"> 1983 1984 @{ 1985 var footerType = Converter.ToInt32(Pageview.Area.Item["Footer"]); 1986 if (footerType == 1) 1987 { 1988 <div class="usp"> 1989 <div class="container"> 1990 <div class="row"> 1991 <div class="col-xs-24"> 1992 @RenderUSP("footer") 1993 </div> 1994 </div> 1995 1996 </div> 1997 </div> 1998 <div class="footer-links hidden-print"> 1999 <div class="container"> 2000 <div class="row"> 2001 <div class="col-xs-24 col-md-24 col-lg-10 mb-2 float-xs-left float-lg-right"> 2002 @RenderFacebookPage() 2003 </div> 2004 <div class="col-xs-24 col-md-12 col-lg-6"> 2005 <div class="row navigation"> 2006 @RenderNavigationFooter() 2007 </div> 2008 </div> 2009 <div class="col-xs-24 col-md-12 col-lg-8"> 2010 <div class="resellers"> 2011 @Converter.ToString(Pageview.Area.Item["FooterResellerText"]) 2012 </div> 2013 </div> 2014 </div> 2015 </div> 2016 </div> 2017 } 2018 else if (footerType == 2) 2019 { 2020 <div class="footer-links hidden-print"> 2021 <div class="container"> 2022 <div class="row"> 2023 <div class="col-xs-24 col-md-24 col-lg-24"> 2024 <div class="row navigation"> 2025 @RenderNavigationFooter() 2026 </div> 2027 </div> 2028 </div> 2029 </div> 2030 </div> 2031 } 2032 } 2033 2034 <div class="disclaimer"> 2035 <div class="container"> 2036 <div class="row"> 2037 <div class="col-xs-24 col-sm-24 col-md-20 footeraddress"> 2038 2039 <ul class="list-unstyled"> 2040 @if(!string.IsNullOrEmpty(GetString("Item.Area.CompanyName"))){ 2041 <li class="list-inline-item list-inline-mobile-block"> 2042 <strong>@GetValue("Item.Area.CompanyName")</strong> 2043 </li> 2044 } 2045 @if(!string.IsNullOrEmpty(GetString("Item.Area.CompanyAddress"))){ 2046 <li class="list-inline-item list-inline-mobile-block"> 2047 @GetValue("Item.Area.CompanyAddress") 2048 </li> 2049 } 2050 @if(!string.IsNullOrEmpty(GetString("Item.Area.CompanyPhone"))){ 2051 <li class="list-inline-item list-inline-mobile-block"> 2052 @Translate("Smartpage:Footer.Phone", "Tlf:") 2053 <a href='tel:@GetValue("Item.Area.CompanyPhone")'> 2054 @GetValue("Item.Area.CompanyPhone") 2055 </a> 2056 </li> 2057 } 2058 @if(!string.IsNullOrEmpty(GetString("Item.Area.CompanyEmail"))){ 2059 <li class="list-inline-item list-inline-mobile-block"> 2060 @Translate("Smartpage:Footer.Mail", "E-mail:") 2061 <a href='mailto:@GetValue("Item.Area.CompanyEmail")'> 2062 @GetValue("Item.Area.CompanyEmail") 2063 </a> 2064 </li> 2065 } 2066 @if(!string.IsNullOrEmpty(GetString("Item.Area.CompanyNumber"))){ 2067 <li class="list-inline-item list-inline-mobile-block"> 2068 @Translate("Smartpage:Footer.CVR", "CVR:") 2069 @GetValue("Item.Area.CompanyNumber") 2070 </li> 2071 } 2072 </ul> 2073 </div> 2074 <div class="col-xs-24 col-sm-24 col-md-4 text-md-right "> 2075 @RenderSocialMediaList("footer") 2076 </div> 2077 </div> 2078 </div> 2079 </div> 2080 2081 </footer> 2082 2083 @*Modals*@ 2084 @RenderSnippet("Modal") 2085 @*@RenderUserManagementLoginModal()*@ 2086 2087 @*Newsletter Popbox*@ 2088 @*@RenderNewsletterPopbox()*@ 2089 2090 @if (Dynamicweb.Core.Converter.ToBoolean(Pageview.Area.Item["DeveloperMode"])) 2091 { 2092 <script type="text/javascript" src="@designBaseUrl/Assets/Scripts/Plugins/jquery-3.1.1.js"></script> 2093 <script type="text/javascript" src="@designBaseUrl/Assets/Scripts/Plugins/tether.min.js"></script> 2094 <script type="text/javascript" src="@designBaseUrl/Assets/Scripts/Plugins/bootstrap.min.js"></script> 2095 <script type="text/javascript" src="@designBaseUrl/Assets/Scripts/Plugins/slick.min.js"></script> 2096 <script type="text/javascript" src="@designBaseUrl/Assets/Scripts/Plugins/lightbox.min.js"></script> 2097 <script type="text/javascript" src="@designBaseUrl/Assets/Scripts/Plugins/jquery.history.custom.js"></script> 2098 <script type="text/javascript" src="@designBaseUrl/Assets/Scripts/Plugins/dynamicweb.filters.js"></script> 2099 <script type="text/javascript" src="@designBaseUrl/Assets/Scripts/Plugins/levenshtein.js"></script> 2100 <script type="text/javascript" src="@designBaseUrl/Assets/Scripts/Plugins/bloodhound.js"></script> 2101 <script type="text/javascript" src="@designBaseUrl/Assets/Scripts/Plugins/handlebars-v4.0.5.js"></script> 2102 <script type="text/javascript" src="@designBaseUrl/Assets/Scripts/Plugins/typeahead.jquery.js"></script> 2103 <script type="text/javascript" src="@designBaseUrl/Assets/Scripts/Plugins/jquery.validate.js"></script> 2104 <script type="text/javascript" src="@designBaseUrl/Assets/Scripts/Plugins/additional-methods.js"></script> 2105 <script type="text/javascript" src="@designBaseUrl/Assets/Scripts/Plugins/select2.full.js"></script> 2106 <script type="text/javascript" src="@designBaseUrl/Assets/Scripts/Plugins/jquery.blockUI.js"></script> 2107 <script type="text/javascript" src="@designBaseUrl/Assets/Scripts/Basic/Basic.js?v=@version"></script> 2108 <script type="text/javascript" src="@designBaseUrl/Assets/Scripts/Basic/Validation.js?v=@version"></script> 2109 <script type="text/javascript" src="@designBaseUrl/Assets/Scripts/Packages/Ecommerce.js?v=@version"></script> 2110 <script type="text/javascript" src="@designBaseUrl/Assets/Scripts/Packages/Navigation.js?v=@version"></script> 2111 <script type="text/javascript" src="@designBaseUrl/Assets/Scripts/Packages/UserManagement.js?v=@version"></script> 2112 <script type="text/javascript" src="@designBaseUrl/Assets/Scripts/Packages/ProductInstantSearch.js?v=@version"></script> 2113 <script type="text/javascript" src="@designBaseUrl/Assets/Scripts/Packages/FacebookPage.js?v=@version"></script> 2114 <script type="text/javascript" src="@designBaseUrl/Assets/Scripts/Custom/Custom.js?v=@version"></script> 2115 } 2116 else 2117 { 2118 <script type="text/javascript" src="@designBaseUrl/Assets/Scripts/Main.min.js?v=@version"></script> 2119 } 2120 2121 @RenderSnippet("JavaScript") 2122 2123 @{ 2124 var googleAnalyticsId = (Pageview.Area.Item["GoogleAnalyticsId"] != null && !string.IsNullOrEmpty(Converter.ToString(Pageview.Area.Item["GoogleAnalyticsId"])) 2125 ? Converter.ToString(Pageview.Area.Item["GoogleAnalyticsId"]) : null); 2126 if (googleAnalyticsId != null) 2127 { 2128 <!-- Google Analytics --> 2129 <script> 2130 (function (i, s, o, g, r, a, m) { 2131 i['GoogleAnalyticsObject'] = r; i[r] = i[r] || function () { 2132 (i[r].q = i[r].q || []).push(arguments) 2133 }, i[r].l = 1 * new Date(); a = s.createElement(o), 2134 m = s.getElementsByTagName(o)[0]; a.async = 1; a.src = g; m.parentNode.insertBefore(a, m) 2135 })(window, document, 'script', '//www.google-analytics.com/analytics.js', 'ga'); 2136 ga('create', '@googleAnalyticsId', 'auto'); ga('send', 'pageview'); 2137 </script> 2138 <!-- // Google Analytics --> 2139 } 2140 } 2141 2142 @{ 2143 var embedChat = (Pageview.Area.Item["EmbedChat"] != null && !string.IsNullOrEmpty(Converter.ToString(Pageview.Area.Item["EmbedChat"])) 2144 ? Converter.ToString(Pageview.Area.Item["EmbedChat"]) : null); 2145 if (embedChat != null) 2146 { 2147 @embedChat 2148 } 2149 } 2150 2151 2152 2153 </body> 2154 </html>