Error executing template "Designs/TTonlineNew/_parsed/LandingPageCatalogIndustrial.parsed.cshtml"
System.ArgumentException: Object type cannot be converted to target type.
   at RazorEngine.Compilation.CrossAppDomainCleanUp.CleanupHelper.Init(AppDomain domain, IPrinter printer)
   at RazorEngine.Compilation.CrossAppDomainCleanUp.InitHelper.CreateHelper()
   at RazorEngine.Compilation.ExecutionContextLessThread.CallHelperSafeHelper`2.AsAction()
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at RazorEngine.Compilation.ExecutionContextLessThread.DefaultCallFunc[O](Func`1 f)
   at RazorEngine.Compilation.CrossAppDomainCleanUp..ctor(AppDomain toWatch, IPrinter printer)
   at RazorEngine.Compilation.CrossAppDomainCleanUp.CreateInitial()
   at System.Lazy`1.CreateValue()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Lazy`1.get_Value()
   at RazorEngine.Compilation.CrossAppDomainCleanUp.RegisterCleanup(String item, Boolean throwOnDefault)
   at RazorEngine.Templating.InvalidatingCachingProvider.CacheTemplate(ICompiledTemplate template, ITemplateKey templateKey)
   at RazorEngine.Templating.RazorEngineService.CompileAndCacheInternal(ITemplateKey key, Type modelType)
   at RazorEngine.Templating.RazorEngineService.GetCompiledTemplate(ITemplateKey key, Type modelType, Boolean compileOnCacheMiss)
   at RazorEngine.Templating.RazorEngineService.RunCompile(ITemplateKey key, TextWriter writer, Type modelType, Object model, DynamicViewBag viewBag)
   at RazorEngine.Templating.RazorEngineServiceExtensions.<>c__DisplayClass16_0.b__0(TextWriter writer)
   at RazorEngine.Templating.RazorEngineServiceExtensions.WithWriter(Action`1 withWriter)
   at Dynamicweb.Rendering.Template.RenderRazorTemplate()

1 @inherits RazorTemplateBase<RazorTemplateModel<Template>> 2 @using Dynamicweb.Rendering 3 @using Dynamicweb.Content 4 @using System.Text.RegularExpressions 5 @using System.Web.UI.HtmlControls 6 @{ 7 8 string areaLayoutPath = "/Files/Templates/Designs/TTonlineNew/"; 9 areaLayoutPath = areaLayoutPath.Substring(0, areaLayoutPath.LastIndexOf("/")); 10 11 string Layout_Style = GetString("Item.Area.Layout_Style.Value"), 12 Template_Style = GetString("Item.Area.Template_Style.Value"), 13 Sticky_Header = GetString("Item.Area.Sticky_Header.Value"), 14 Template_Color = GetString("Item.Area.Template_Color.Value"), 15 bodyStyle = Layout_Style + " " + Template_Style + " " + Sticky_Header + " " + Template_Color; 16 17 } 18 19 20 @inherits RazorTemplateBase<RazorTemplateModel<Template>> 21 @using Dynamicweb.Rendering; 22 @using System.Text.RegularExpressions 23 @using Dynamicweb.Notifications 24 @using Dynamicweb.Extensibility; 25 26 27 28 29 30 @helper OgMeta(string designName) 31 { 32 if (string.IsNullOrEmpty(System.Web.HttpContext.Current.Request.Params["ProductID"])) 33 { 34 @SnippetStart("OGMeta") 35 <meta property="og:title" content='@GetString("Title")'> 36 @* <meta property="og:image" content='@Pageview.GlobalTags.GetTagByName("Global:Request.Scheme").Value.ToString()://@Pageview.GlobalTags.GetTagByName("Global:Request.Host").Value.ToString()/Files/Templates/Designs/@designName/images/logo.png'> *@ 37 <meta property="og:site_name" content='@Pageview.Area.Name'> 38 <meta property="og:url" content='@Pageview.GlobalTags.GetTagByName("Global:Request.Scheme").Value.ToString()://@Pageview.GlobalTags.GetTagByName("Global:Request.Host").Value.ToString()@Pageview.GlobalTags.GetTagByName("Global:Pageview.Url").Value.ToString()'> 39 <meta property="og:description" content='@StripHtml(GetString("Meta.Description"))'> 40 <meta property="og:type" content="article"> 41 <meta property="og:locale" content='@Pageview.GlobalTags.GetTagByName("Global:Area.LongLang").Value.ToString().Replace("-", "_")'> 42 @SnippetEnd("OGMeta") 43 } 44 } 45 46 @helper HtmlHead(string designName) 47 { 48 string designFolder = GetString("Template:DesignBaseUrl"); 49 string robots = ""; 50 string ipCountry = "RO";//Dna.IP.Frontend.GetCountryCode(); 51 string countryCodeModule = !string.IsNullOrEmpty(ipCountry) ? ipCountry : "RO"; 52 string userCountryCode = (Pageview.User != null && !string.IsNullOrEmpty(Pageview.User.Country)) ? Pageview.User.Country : ipCountry; 53 string userState = Pageview.User != null ? Pageview.User.State : string.Empty; 54 string userAccountsNumber = (System.Web.HttpContext.Current.Session["AccountsNumber"] ?? "").ToString(); 55 robots = (GetBoolean("Item.Area.DemoBanner") || GetBoolean("Item.Area.NoIndex")) ? CommaSplittedString(robots, "noindex") : ""; 56 robots = (GetBoolean("Item.Area.DemoBanner") || GetBoolean("Item.Area.NoFollow")) ? CommaSplittedString(robots, "nofollow") : ""; 57 //System.Web.HttpContext.Current.Items["metatitle"] = "Here is some data"; 58 string pageTitle = System.Web.HttpContext.Current.Items["metatitle"] != null ? System.Web.HttpContext.Current.Items["metatitle"].ToString() : GetString("Title"); 59 60 <head> 61 <title>@GetValue("Title")</title> 62 @*<meta name="description" content="">*@ 63 <meta http-equiv="content-type" content="text/html; charset=utf-8"> 64 <meta name="viewport" content="initial-scale=1.0, width=device-width, user-scalable=no"> 65 <meta http-equiv="X-UA-Compatible" content="IE=edge"> 66 <meta name="SKYPE_TOOLBAR" content="SKYPE_TOOLBAR_PARSER_COMPATIBLE"> 67 68 <link rel="apple-touch-icon-precomposed" sizes="57x57" href="@(designFolder)images/apple-touch-icon-57x57.png"> 69 <link rel="apple-touch-icon-precomposed" sizes="114x114" href="@(designFolder)images/apple-touch-icon-114x114.png"> 70 <link rel="apple-touch-icon-precomposed" sizes="72x72" href="@(designFolder)images/apple-touch-icon-72x72.png"> 71 <link rel="apple-touch-icon-precomposed" sizes="144x144" href="@(designFolder)images/apple-touch-icon-144x144.png"> 72 <link rel="apple-touch-icon-precomposed" sizes="60x60" href="@(designFolder)images/apple-touch-icon-60x60.png"> 73 <link rel="apple-touch-icon-precomposed" sizes="120x120" href="@(designFolder)images/apple-touch-icon-120x120.png"> 74 <link rel="apple-touch-icon-precomposed" sizes="76x76" href="@(designFolder)images/apple-touch-icon-76x76.png"> 75 <link rel="apple-touch-icon-precomposed" sizes="152x152" href="@(designFolder)images/apple-touch-icon-152x152.png"> 76 <link rel="icon" type="image/png" href="@(designFolder)images/favicon-196x196.png" sizes="196x196"> 77 <link rel="icon" type="image/png" href="@(designFolder)images/favicon-96x96.png" sizes="96x96"> 78 <link rel="icon" type="image/png" href="@(designFolder)images/favicon-32x32.png" sizes="32x32"> 79 <link rel="icon" type="image/png" href="@(designFolder)images/favicon-16x16.png" sizes="16x16"> 80 <link rel="icon" type="image/png" href="@(designFolder)images/favicon-128.png" sizes="128x128"> 81 <meta name="application-name" content="&nbsp;"> 82 <meta name="msapplication-TileColor" content="#FFFFFF"> 83 <meta name="msapplication-TileImage" content="@(designFolder)images/mstile-144x144.png"> 84 <meta name="msapplication-square70x70logo" content="@(designFolder)images/mstile-70x70.png"> 85 <meta name="msapplication-square150x150logo" content="@(designFolder)images/mstile-150x150.png"> 86 <meta name="msapplication-wide310x150logo" content="@(designFolder)images/mstile-310x150.png"> 87 <meta name="msapplication-square310x310logo" content="@(designFolder)images/mstile-310x310.png"> 88 89 @if (!string.IsNullOrEmpty(robots)) 90 { 91 <meta name="robots" content="@robots"> 92 } 93 @OgMeta(designName) 94 @RenderSnippet("OGMeta") 95 @GetString("MetaTags") 96 @GetString("CopyRightNotice") 97 @GetString("Stylesheets") 98 99 @* <link rel="shortcut icon" href="@(designFolder)images/favicon.ico" type="image/x-icon"> *@ 100 101 <!-- Icon Font --> 102 @*<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">*@ 103 104 @{ 105 var minify = GetBoolean("Item.Area.Minify_CSS_And_JavaScript"); 106 var styleBundle = Dna.Optimizer.Renderer.RenderStyles(string.Format("{0}css", designFolder), minify:minify, recursive : true, virtualPathPrefix : "-main-styles", exclusions: new[] { "exceptions" }); 107 var scriptBundleHeader = Dna.Optimizer.Renderer.RenderScripts(string.Format("{0}js/header", designFolder), minify: minify, recursive : true, virtualPathPrefix : "-main-scripts-header",exclusions: new[] { "exceptions" }); 108 // var scriptBundleFooter = Dna.Optimizer.Renderer.RenderScripts(string.Format("{0}js/footer", designFolder), minify: minify, recursive : true, virtualPathPrefix : "-main-scripts-footer",exclusions: new[] { "exceptions" }); 109 } 110 @*<link rel="stylesheet" href="@styleBundle">*@ 111 @*<link rel="stylesheet" href="/Files/Templates/Designs/TTonlineNew/css/custom.css">*@ 112 <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css"> 113 <link rel="stylesheet" href="https://sibforms.com/forms/end-form/build/sib-styles.css"> 114 @* <link rel="stylesheet" href="/Files/Templates/Designs/TTonlineNew/dist/custom.css?v=8" async/=""> *@ 115 <link rel="stylesheet" href="/Files/Templates/Designs/TTonlineNew/dist2/app.bundle.css?v=1"> 116 @* <script src="@scriptBundleHeader"></script>*@ 117 <script src="/Files/Templates/Designs/TTonlineNew/assets/js/00_jquery_1.11.2_.min.js"></script> 118 @GetString("Javascripts") 119 @RenderSnippet("externalScripts") 120 @SnippetStart("externalScripts") @SnippetEnd("externalScripts") 121 <!--[if lte IE 9]> 122 <script src="//html5shim.googlecode.com/svn/trunk/html5.js"></script> 123 <script src="//cdnjs.cloudflare.com/ajax/libs/respond.js/1.1.0/respond.min.js"></script> 124 <![endif]--> 125 @*<script> 126 @RenderSnippet("jsVariables") 127 @SnippetStart("jsVariables") @SnippetEnd("jsVariables") 128 129 var obj_pages = { 130 str_miniCart: '@Dynamicweb.Frontend.SearchEngineFriendlyURLs.GetFriendlyUrl(GetString("Item.Area.MiniCart"))', 131 str_login: '@Dynamicweb.Frontend.SearchEngineFriendlyURLs.GetFriendlyUrl(GetString("Item.Area.Login"))', 132 str_globalTranslates: '@Dynamicweb.Frontend.SearchEngineFriendlyURLs.GetFriendlyUrl(GetString("Item.Area.GlobalTranslates"))', 133 str_contactPopup : '@Dynamicweb.Frontend.SearchEngineFriendlyURLs.GetFriendlyUrl(GetString("Item.Area.ContactUs_Popup"))', 134 str_cartInformation: '@Dynamicweb.Frontend.SearchEngineFriendlyURLs.GetFriendlyUrl(GetString("Item.Area.Cart_Information"))', 135 str_typeAhead : '@Dynamicweb.Frontend.SearchEngineFriendlyURLs.GetFriendlyUrl(GetString("Item.Area.TypeAhead"))' 136 }, 137 obj_user = { 138 str_country: '@userCountryCode', 139 str_state: '@userState', 140 str_accountsNumber:'@userAccountsNumber' 141 }, 142 obj_settings = { 143 str_contactTimeout: '@GetString("Item.Area.Time")', 144 str_cartQty: '@GetString("Ecom:Order.OrderLines.TotalProductQuantity")' 145 }, 146 obj_translates = { 147 str_seeAll: '@Translate("seeAllThe", "See all the")', 148 str_results: '@Translate("results", "results")' 149 }; 150 document.addEventListener('DOMContentLoaded', function(event) { 151 @UserDoesNotExist() 152 @RenderSnippet("jsOnLoadVariables") 153 @SnippetStart("jsOnLoadVariables") @SnippetEnd("jsOnLoadVariables") 154 @RenderSnippet("jsOnLoad") 155 @SnippetStart("jsOnLoad") @SnippetEnd("jsOnLoad") 156 }); 157 158 @if(!string.IsNullOrWhiteSpace(GetString("Item.Area.GoogleAnalytics"))) 159 { 160 <text> 161 (function (i, s, o, g, r, a, m) { 162 i['GoogleAnalyticsObject'] = r; i[r] = i[r] || function () { 163 (i[r].q = i[r].q || []).push(arguments) 164 }, i[r].l = 1 * new Date(); a = s.createElement(o), 165 m = s.getElementsByTagName(o)[0]; a.async = 1; a.src = g; m.parentNode.insertBefore(a, m) 166 })(window, document, 'script', '//www.google-analytics.com/analytics.js', 'ga'); 167 ga('create', '@GetString("Item.Area.GoogleAnalytics")', 'auto'); 168 ga('send', 'pageview'); 169 </text> 170 } 171 @SnippetStart("eCommerceTracking")@SnippetEnd("eCommerceTracking") 172 @RenderSnippet("eCommerceTracking") 173 </script> 174 175 <!-- Global site tag (gtag.js) - Google Ads: 970361168 --> 176 <script async="" src="https://www.googletagmanager.com/gtag/js?id=AW-970361168"></script> 177 <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'AW-970361168'); </script>*@ 178 179 <!-- Hotjar Tracking Code for https://ttonline.ro --> 180 @*<script> 181 (function(h,o,t,j,a,r){ 182 h.hj=h.hj||function(){(h.hj.q=h.hj.q||[]).push(arguments)}; 183 h._hjSettings={hjid:1231893,hjsv:6}; 184 a=o.getElementsByTagName('head')[0]; 185 r=o.createElement('script');r.async=1; 186 r.src=t+h._hjSettings.hjid+j+h._hjSettings.hjsv; 187 a.appendChild(r); 188 })(window,document,'https://static.hotjar.com/c/hotjar-','.js?sv='); 189 </script> 190 <!-- Global site tag (gtag.js) - Google Ads: 1010029401 --> 191 <script async="" src="https://www.googletagmanager.com/gtag/js?id=AW-1010029401"></script> 192 <script> 193 window.dataLayer = window.dataLayer || []; 194 function gtag(){dataLayer.push(arguments);} 195 gtag('js', new Date()); 196 197 gtag('config', 'AW-1010029401'); 198 </script>*@ 199 <!-- Google Tag Manager --> 200 201 <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': 202 203 new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], 204 205 j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= 206 207 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f); 208 209 })(window,document,'script','dataLayer','GTM-5WS5JXM');</script> 210 211 <!-- End Google Tag Manager --> 212 </head> 213 } 214 @helper UserDoesNotExist() 215 { 216 if (Dynamicweb.Environment.ExecutingContext.IsFrontEnd() && !Dynamicweb.Security.UserManagement.User.IsExtranetUserLoggedIn()) 217 { 218 if (!string.IsNullOrEmpty(System.Web.HttpContext.Current.Request.Params["Password"]) && !string.IsNullOrEmpty(System.Web.HttpContext.Current.Request.Params["Username"])) 219 { 220 @SnippetStart("jsOnLoad") 221 @:var showLogin = true; 222 @:alert("@Translate("yourUserNameOrPasswordDidntMatch", "Your user name or password didn't match. Please try again.")"); 223 @SnippetEnd("jsOnLoad") 224 } 225 } 226 } 227 @helper Logo(string cssclass, string companyName, string fileName) 228 { 229 if (!string.IsNullOrEmpty(System.Web.HttpContext.Current.Request.Params["print"])) 230 { 231 <div class="@cssclass"> 232 <a href="/"> 233 <img class="img-responsive hidden-print" src="/Files/Templates/Designs/TTonlineNew/images/@(fileName)" alt="@companyName" title="@companyName"> 234 <img class="img-responsive visible-print" src="/Files/Images/logo_TT.png" alt="@companyName" title="@companyName"> 235 </a> 236 </div> 237 } 238 else 239 { 240 <div class="@cssclass"> 241 <a href="/"> 242 <img class="img-responsive" src="/Files/Templates/Designs/TTonlineNew/images/@(fileName)" alt="@companyName" title="@companyName"> 243 </a> 244 </div> 245 } 246 } 247 248 @helper Copyright() 249 { 250 <div class="copyright">&copy; @DateTime.Now.Year @GetString("Item.Area.CompanyName") - @GetString("Item.Area.Copyright")</div> 251 } 252 @functions { 253 private string CommaSplittedString(string CommaSplittedString, string NewString) 254 { 255 256 if (!string.IsNullOrEmpty(CommaSplittedString)) 257 { 258 CommaSplittedString += ", "; 259 } 260 CommaSplittedString += NewString; 261 262 return CommaSplittedString; 263 } 264 public static string StripHtml(string source) 265 { 266 return Regex.Replace(source, "<.*?>", string.Empty); 267 } 268 } 269 @{ 270 string designName1 = "TTonline"; 271 string device = Pageview.Device.ToString(); 272 string firstPageId = GetString("DwAreaFirstPageID"); 273 string homeOrSubpage = GetString("DwAreaFirstPageID") == GetString("Global:Page.ID") ? "home" : "subpage"; 274 string print = !string.IsNullOrEmpty(System.Web.HttpContext.Current.Request.Params["print"]) ? "printOrPdf" : ""; 275 //string resultsPage = GetString("Item.Area.SearchResults"); 276 //string contactPage = GetString("Item.Area.ContactUs"); 277 string countryCode = "RO";//Dna.IP.Frontend.GetCountryCode(); 278 string longLang = Pageview.GlobalTags.GetTagByName("Global:Area.LongLang").Value.ToString(); 279 string languageClass = longLang == "ro-RO" ? "lang-ro" : "lang-en"; 280 //string email = GetString("Item.Area.Email"); 281 //string phone = GetString("Item.Area.Phone"); 282 283 //bool userIsLoggedIn = Dynamicweb.Security.UserManagement.User.IsExtranetUserLoggedIn(); 284 bool isPrint = !string.IsNullOrEmpty(System.Web.HttpContext.Current.Request.Params["print"]); 285 bool bol_backofficeLogged = Dynamicweb.Security.UserManagement.User.GetCurrentBackendUser() != null ? true : false; 286 List<LoopItem> socialMedia = GetLoop("Item.Area.SocialNetworks"); 287 List<LoopItem> websiteLanguages = GetLoop("WebsiteLanguages"); 288 string designFolder = GetString("Template:DesignBaseUrl"); 289 var minify = GetBoolean("Item.Area.Minify_CSS_And_JavaScript"); 290 //var scriptBundleFooter = Dna.Optimizer.Renderer.RenderScripts(string.Format("{0}js/footer", designFolder), minify, true, "-main-scripts-footer", new[] { "exceptions" }); 291 var scriptBundleFooter = Dna.Optimizer.Renderer.RenderScripts(string.Format("{0}js/footer", designFolder), minify: minify, recursive: true, virtualPathPrefix : "-main-scripts-footer", exclusions : new[] { "exceptions" }); 292 var ibuySmartPageId = GetPageIdByNavigationTag("catalog"); 293 var ibuySmartUrl = "/Default.aspx?ID=" + ibuySmartPageId; 294 var isMobile = Pageview.Device.ToString() == "Mobile" ? true : false; 295 296 string dataViewNewsletter = System.Web.HttpContext.Current.Request.Cookies["newsletter"] != null ? System.Web.HttpContext.Current.Request.Cookies["newsletter"].Value : ""; 297 string globalPageId = GetGlobalValue("Global:Page.ID"); 298 string signUpPage = GetPageIdByNavigationTag("SignUpNewsletter").ToString(); 299 300 var signUpNewsletter = GetPageIdByNavigationTag("SignUpNewsletter"); 301 302 } 303 <!DOCTYPE HTML> 304 <!--[if lt IE 8 ]><html class="ie7" lang="@(longLang)"><![endif]--><!--[if IE 8 ]><html class="ie8" lang="@(longLang)"><![endif]--><!--[if IE 9 ]><html class="ie9" lang="@(longLang)"><![endif]--><!--[if (gt IE 9)|!(IE)]><!--> 305 <html lang="@(longLang)" class="@languageClass "> <!--<![endif]--> 306 307 @HtmlHead(designName1) 308 309 <body class="@bodyStyle tileStyle"> 310 <!-- Google Tag Manager (noscript) --> 311 312 <noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-5WS5JXM" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> 313 314 <!-- End Google Tag Manager (noscript) --> 315 316 <div id="main" class="header-style1"> 317 318 @{ 319 bool userIsLoggedIn = Dynamicweb.Security.UserManagement.User.IsExtranetUserLoggedIn(); 320 string logo = GetString("Item.Area.Logo"); 321 } 322 <header class="header-wrapper clearfix"> 323 324 <div class="header" id="header"> 325 <div class="container-fluid header-first-container"> 326 <div class="mag-content"> 327 <div class="container"> 328 <div class="row header-first-row"> 329 <div class="col-md-9 visible-lg visible-md" id="motto"> 330 <a class="logo" href="/Default.aspx?ID=@firstPageId" title="" rel="home"> 331 <img src="@logo"> 332 </a><!-- .logo --> 333 <h4>Industry – Business Opportunities</h4> 334 </div><!--End of col-md-9 visible-lg visible-md--> 335 336 <div class="col-md-2 visible-lg visible-md text-right username"> 337 338 @if (userIsLoggedIn) { 339 string userName = !string.IsNullOrWhiteSpace(Pageview.User.Name) ? Pageview.User.Name : string.Format("{0}{1}", Pageview.User.FirstName, Pageview.User.LastName); 340 341 <div class="welcomeBack hidden-print text-left"> 342 @Translate("welcome", "Welcome"), <span> @(!string.IsNullOrWhiteSpace(userName) ? userName : Pageview.User.UserName)</span> 343 </div> 344 } 345 346 </div> 347 <div id="social-icon" class="social-icon"> 348 <a href="/Default.aspx?ID=@signUpNewsletter" class="signUpNewsletter-link">@Translate("SignUpNewsletter")</a> 349 350 <div class="hidden-sm hidden-xs"> 351 <script src="https://platform.linkedin.com/in.js" type="text/javascript"> lang: en_US</script> 352 <script type="IN/FollowCompany" data-id="10958182" data-counter="right"></script> 353 </div> 354 355 @*<a class="twitter" href='@Pageview.Area.Item["LinkedInLink"]' target="_blank"><i class="fa fa-linkedin fa-2x" aria-hidden="true"></i> </a>*@ 356 <a class="facebook" href='@Pageview.Area.Item["FacebookLink"]' target="_blank"><i class="fa fa-facebook fa-2x" aria-hidden="true"></i></a> 357 <a class="twitter" href='@Pageview.Area.Item["YoutubeLink"]' target="_blank"><i class="fa fa-youtube fa-2x" aria-hidden="true"></i></a> 358 </div> 359 360 </div> 361 </div> 362 </div> 363 </div> 364 365 <div class="container-fluid header-second-container"> 366 <div class="mag-content"> 367 368 <div class="container"> 369 <div class="row header-second-row"> 370 <div class="col-md-12"> 371 372 <!-- Mobile Menu Button --> 373 <a class="navbar-toggle collapsed" id="nav-button" href="#mobile-nav"> 374 <span class="icon-bar"></span> 375 <span class="icon-bar"></span> 376 <span class="icon-bar"></span> 377 <span class="icon-bar"></span> 378 </a><!-- .navbar-toggle --> 379 <!-- Main Nav Wrapper --> 380 <nav class="navbar mega-menu"> 381 <a class="logo hidden-lg hidden-md" href="/Default.aspx?ID=@firstPageId" title="" rel="home"> 382 <img src="@logo"> 383 </a><!-- .logo --> 384 <!-- Navigation Menu --> 385 <div class="navbar-collapse collapse"> 386 @RenderNavigation(new { 387 template = "MainNavigation.xslt", 388 expandmode = "all", 389 id = "header-nav", 390 startlevel = 1, 391 listStyle = "top-navigation", 392 endlevel = 2 393 }) 394 </div><!-- .navbar-collapse --> 395 <!-- End Navigation Menu --> 396 397 398 399 <div class="btn-group dropdown-login"> 400 <button class="btn btn-default btn-sm dropdown-toggle dropdown-login" type="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> 401 <i class="fa fa-user fa-1x" aria-hidden="true">&nbsp; &nbsp;</i><span class=""></span> 402 </button> 403 <ul class="dropdown-menu"> 404 <!-- Button trigger modal --> 405 406 @if (userIsLoggedIn) 407 { 408 <li><a href="/Admin/Public/ExtranetLogoff.aspx?ID=1">Logout</a></li> 409 } else { 410 <li><a href="/Default.aspx?ID=4256">Log in</a></li> 411 <li><a href="/Default.aspx?ID=4255">@Translate("Inregistrare","Inregistrare")</a></li> 412 } 413 </ul> 414 </div> 415 <!-- Single button --> 416 417 <div class="header-right galaxy-s5 nexus-5x iphone-6"> 418 <div class="social-icons"> 419 420 @{ 421 var languageSwitcherValue = ""; 422 foreach (var language in GetLoop("Languages")) { 423 if (language.GetBoolean("IsCurrent")) { 424 languageSwitcherValue = language.GetString("Culture"); 425 } 426 } 427 } 428 @if (languageSwitcherValue == "ro-RO") { 429 <a href="/" class="selected">RO</a> <span>|</span> <a href="/Default.aspx?ID=5557">EN</a> 430 } 431 @if (languageSwitcherValue == "en-US") { 432 <a href="/">RO</a> <span>|</span> <a href="Default.aspx?ID=5557" class="selected">EN</a> 433 } 434 435 @* <a href="#" data-toggle="tooltip" data-placement="bottom" title="Facebook"><i class="fa fa-facebook fa-lg"></i></a> 436 <a href="#" data-toggle="tooltip" data-placement="bottom" title="Twitter"><i class="fa fa-twitter fa-lg"></i></a> 437 <a href="#" data-toggle="tooltip" data-placement="bottom" title="Google+"><i class="fa fa-google-plus fa-lg"></i></a> 438 <!-- Only for Fixed Sidebar Layout --> 439 <a href="#" class="fixed-button navbar-toggle" id="fixed-button"> 440 <i></i> 441 <i></i> 442 <i></i> 443 <i></i> 444 </a><!-- .fixed-button -->*@ 445 </div><!-- .social-icons --> 446 </div><!-- .header-right --> 447 448 449 450 @if(GetString("DwAreaID") == "1"){ 451 452 <div id="sb-search" class="sb-search sb-search-open"> 453 <div class="form-group" style="position: relative;"> 454 <form action="/cautare.aspx" method="GET"> 455 <input class="sb-search-input" placeholder="Termen de cautare..." type="text" value="" name="q" id="q"> 456 <input class="sb-search-submit btn-search" type="submit" value=""> 457 <span class="sb-icon-search fa fa-search" data-toggle="tooltip" data-placement="bottom" title="Search"></span> 458 </form> 459 </div> 460 </div> 461 }else { 462 463 <div id="sb-search" class="sb-search sb-search-open"> 464 <div class="form-group" style="position: relative;"> 465 <form action="/en/search.aspx" method="GET"> 466 <input class="sb-search-input" placeholder="Input keyword ...." type="text" value="" name="q" id="q"> 467 <input class="sb-search-submit btn-search" type="submit" value=""> 468 <span class="sb-icon-search fa fa-search" data-toggle="tooltip" data-placement="bottom" title="Search"></span> 469 </form> 470 </div> 471 </div> 472 } 473 474 475 476 477 478 </nav><!-- .navbar --> 479 480 481 </div> 482 </div> 483 </div> 484 </div> 485 </div><!--.container --> 486 </div><!-- .mag-content --> 487 </header></div><!-- .container --> 488 <!-- .header --> 489 490 <!-- .header-wrapper --> 491 492 <!-- Begin Main Wrapper --> 493 <div class="container main-wrapper"> 494 495 @if (string.IsNullOrEmpty(System.Web.HttpContext.Current.Request.Params["productid"])) 496 { 497 <div class="hidden-xs hidden-sm hidden-md skyscraper--left"> 498 <div class="sticky default"> 499 <span> 500 <ins data-revive-zoneid="2" data-revive-id="30be11c85ce356e14970630466da228f"></ins> 501 <script async="" src="//adserver.dotfusion.ro/revive/www/delivery/asyncjs.php"></script> 502 </span> 503 </div> 504 </div> 505 <div class="hidden-xs hidden-sm hidden-md skyscraper--right"> 506 <div class="sticky default"> 507 <span> 508 <ins data-revive-zoneid="3" data-revive-id="30be11c85ce356e14970630466da228f"></ins> 509 </span> 510 </div> 511 </div> 512 } 513 514 @if(@GetInteger("DwPageID") == 4228) 515 { 516 <style> 517 .ad728-wrapper { 518 margin: 40px auto 0px; 519 520 } 521 </style> 522 523 string logoSubheader = GetString("Item.Area.Logo_IBuySmart"); 524 string culoareFundal = !string.IsNullOrEmpty(GetString("Item.Area.CuloareFundal")) ? "background:" + GetString("Item.Area.CuloareFundal") + ";" : ""; 525 string culoareFont = !string.IsNullOrEmpty(GetString("Item.Area.CuloareFont")) ? "color:" + GetString("Item.Area.CuloareFont") + ";" : ""; 526 string textSubheader = GetString("Item.Area.Text"); 527 string dimensiuneFont = !string.IsNullOrEmpty(GetString("Item.Area.DimensiuneFont")) ? "font-size:" + GetString("Item.Area.DimensiuneFont") + ";" : ""; 528 529 530 <!-- Begin iBuySmart Main Mobile Banner --> 531 <div class="hidden-md hidden-lg hidden-xl mag-content clearfix " style="margin-top: 30px;"> 532 <div class="row"> 533 <div class="col-md-12"> 534 <div class="ad728-wrapper-mobile-main" style="min-height: 115px;display: flex;margin-top: 2em;justify-content: center;"> 535 <ins data-revive-zoneid="22" data-revive-id="30be11c85ce356e14970630466da228f"></ins> 536 <script async="" src="//adserver.dotfusion.ro/revive/www/delivery/asyncjs.php"></script> 537 </div> 538 </div> 539 </div> 540 </div> 541 <!-- End iBuySmart Main Mobile Banner --> 542 543 544 if (isMobile) 545 { 546 <div class="subheader row" style="@culoareFundal"> 547 <div class="row"> 548 <div class="col-xs-7"> 549 <a href="@ibuySmartUrl"><img src="@logoSubheader"></a> 550 </div> 551 <div class="col-xs-5"> 552 <h4 style="@culoareFont @dimensiuneFont">@textSubheader</h4> 553 </div> 554 </div> 555 <div class="row"> 556 <div class="col-xs-12">@RenderSnippet("SearchProduse")</div> 557 </div> 558 </div> 559 } 560 else 561 { 562 <div class="subheader row" style="@culoareFundal"> 563 <div class="col-xs-4"> 564 <a href="@ibuySmartUrl"><img src="@logoSubheader"></a> 565 </div> 566 <div class="col-xs-5"> 567 <h4 style="@culoareFont @dimensiuneFont">@textSubheader</h4> 568 </div> 569 <div class="col-xs-12 col-md-3">@RenderSnippet("SearchProduse")</div> 570 </div> 571 572 } 573 574 575 } 576 577 @if(@GetInteger("DwAreaID") == 3){ 578 <style> 579 .ad728-wrapper { 580 margin: 40px auto 0px; 581 } 582 </style> 583 584 string logoSubheader = GetString("Item.Area.LogoIndustryZoom"); 585 string culoareFundal = !string.IsNullOrEmpty(GetString("Item.Area.CuloareFundal_Industryzoom")) ? "background:" + GetString("Item.Area.CuloareFundal_Industryzoom") + ";" : ""; 586 string culoareFont = !string.IsNullOrEmpty(GetString("Item.Area.Culoare_Font_IndustryZoom")) ? "color:" + GetString("Item.Area.Culoare_Font_IndustryZoom") + ";" : ""; 587 string textSubheader = GetString("Item.Area.Text_Subheader_Industry_Zoom"); 588 string dimensiuneFont = !string.IsNullOrEmpty(GetString("Item.Area.Dimensiune_Font_IndustryZoom")) ? "font-size:" + GetString("Item.Area.Dimensiune_Font_IndustryZoom") + ";" : ""; 589 590 <div class="subheader row" style="@culoareFundal"> 591 @if (!string.IsNullOrEmpty(textSubheader)) { 592 <div class="col-xs-4"> 593 <img src="@logoSubheader"> 594 </div> 595 <div class="col-xs-5"> 596 <h4 style="@culoareFont @dimensiuneFont">@textSubheader</h4> 597 </div> 598 <div class="col-xs-12 col-md-3">@RenderSnippet("SearchProduse")</div> 599 } else { 600 <div class="col-xs-12 noPadding"> 601 <img src="@logoSubheader" style="margin: 10px 0 -30px 0;"> 602 </div> 603 } 604 </div> 605 606 } 607 608 609 @if(@GetInteger("DwPageID") == 4218 || @GetInteger("DwPageID") == 4271 || @GetInteger("DwPageID") == 8376 ){ 610 <style> 611 .ad728-wrapper { 612 margin: 40px auto 0px; 613 } 614 </style> 615 616 string logoSubheader = GetString("Item.Area.Logo_Companii"); 617 string culoareFundal = !string.IsNullOrEmpty(GetString("Item.Area.CuloareFundalCompanii")) ? "background:" + GetString("Item.Area.CuloareFundalCompanii") + ";" : ""; 618 string culoareFont = !string.IsNullOrEmpty(GetString("Item.Area.CuloareFontCompanii")) ? "color:" + GetString("Item.Area.CuloareFontCompanii") + ";" : ""; 619 string textSubheader = GetString("Item.Area.TextSubheaderCompanii"); 620 string dimensiuneFont = !string.IsNullOrEmpty(GetString("Item.Area.DimensiuneFontCompanii")) ? "font-size:" + GetString("Item.Area.DimensiuneFontCompanii") + ";" : ""; 621 622 if(@GetInteger("DwPageID") == 4218) { 623 <!-- Begin Main Mobile Banner --> 624 <div class="hidden-md hidden-lg hidden-xl mag-content clearfix " style="margin-top: 30px;"> 625 <div class="row"> 626 <div class="col-md-12"> 627 <div class="ad728-wrapper-mobile-main" style="min-height: 115px;display: flex;margin-top: 2em;justify-content: center;"> 628 <ins data-revive-zoneid="22" data-revive-id="30be11c85ce356e14970630466da228f"></ins> 629 <script async="" src="//adserver.dotfusion.ro/revive/www/delivery/asyncjs.php"></script> 630 </div> 631 </div> 632 </div> 633 </div> 634 <!-- End Main Mobile Banner --> 635 } 636 637 638 <div class="subheader row" style="@culoareFundal"> 639 <div class="col-xs-4"> 640 <img src="@logoSubheader"> 641 </div> 642 <div class="col-xs-8"> 643 <h4 style="@culoareFont; @dimensiuneFont">@textSubheader</h4> 644 </div> 645 </div> 646 647 } 648 649 650 @if(@GetInteger("DwPageID") != 4271) 651 { 652 <!-- Begin Sticky Mobile Banner --> 653 654 <div class="row sticky-mobile-container hidden hidden-md hidden-lg hidden-xl"> 655 <div class="col-md-12"> 656 <div class="ad728-wrapper-mobile" style="min-height:145px;"> 657 <ins data-revive-zoneid="23" data-revive-id="30be11c85ce356e14970630466da228f"></ins> 658 </div> 659 </div> 660 </div> 661 <!-- End Sticky Mobile Banner --> 662 } 663 664 @if(GetString("DwPageID") == "4228" || GetString("DwPageID") == "4218" || GetString("DwPageID") == "8376"){ 665 666 667 } else { 668 <!-- Begin Main Mobile Banner --> 669 <div class="hidden-md hidden-lg hidden-xl mag-content clearfix " style="margin-top: 30px;"> 670 <div class="row"> 671 <div class="col-md-12"> 672 <div class="ad728-wrapper-mobile-main" style="min-height: 115px;display: flex;margin-top: 2em;justify-content: center;"> 673 <ins data-revive-zoneid="22" data-revive-id="30be11c85ce356e14970630466da228f"></ins> 674 <script async="" src="//adserver.dotfusion.ro/revive/www/delivery/asyncjs.php"></script> 675 </div> 676 </div> 677 </div> 678 </div> 679 <!-- End Main Mobile Banner --> 680 681 682 <!-- Begin Main Banner --> 683 <div class="hidden-xs hidden-sm mag-content clearfix " style="margin-bottom: 30px; padding-left: 0px; padding-right: 0px;"> 684 <div class="row"> 685 <div class="col-md-12"> 686 687 <div class="ad728-wrapper" style="min-height:145px;"> 688 <ins data-revive-zoneid="1" data-revive-id="30be11c85ce356e14970630466da228f"></ins> 689 <script async="" src="//adserver.dotfusion.ro/revive/www/delivery/asyncjs.php"></script> 690 </div> 691 692 </div> 693 </div> 694 </div> 695 <!-- End Main Banner --> 696 697 } 698 699 @{ 700 string backgroundClassShop = (GetString("DwPageID") == "4228") ? "shop-background" : " "; 701 string backgroundClassCompanii = (GetString("DwPageID") == "4218" || GetString("DwPageID") == "8376" ) ? "companii-background" : " "; 702 string backgroundClassIndustry = (GetString("DwPageID") == "4271") ? "industry-background" : " "; 703 704 } 705 706 <div class="main-content mag-content clearfix @backgroundClassShop @backgroundClassCompanii @backgroundClassIndustry"> 707 708 @inherits RazorTemplateBase<RazorTemplateModel<Template>> 709 @using Dynamicweb.Rendering; 710 @using Dynamicweb; 711 @using Dynamicweb.Frontend; 712 713 714 @GetValue("Title(Catalog Industrial)") 715 @GetValue("Description(Catalog Industrial)") 716 @{ 717 718 string verificareProdusParametru = System.Web.HttpContext.Current.Request.Params["productid"]; 719 var fullWidth = !string.IsNullOrEmpty(verificareProdusParametru) ? verificareProdusParametru : "col-xs-12 col-md-12"; 720 string verificareProdusParametru1 = System.Web.HttpContext.Current.Request.Params["productid"]; 721 var hideSidebar = !string.IsNullOrEmpty(verificareProdusParametru1) ? verificareProdusParametru1 : "Hide"; 722 var fullWidth1 = string.IsNullOrEmpty(verificareProdusParametru) ? verificareProdusParametru : "col-xs-12 col-md-12"; 723 string ParametruGrup = System.Web.HttpContext.Current.Request["GroupID"] != null ? System.Web.HttpContext.Current.Request["GroupID"].ToString(): ""; 724 string ParametruProducator = System.Web.HttpContext.Current.Request["Producator"] != null ? System.Web.HttpContext.Current.Request["Producator"].ToString(): ""; 725 string ParametruDealer = System.Web.HttpContext.Current.Request["Dealer"] != null ? System.Web.HttpContext.Current.Request["Dealer"].ToString(): ""; 726 string ParametruProdus = System.Web.HttpContext.Current.Request["productid"] != null ? System.Web.HttpContext.Current.Request["productid"].ToString(): ""; 727 } 728 729 730 <div class="row main-body"> 731 <!-- <div class="container"> --> 732 733 @using System.Web 734 735 @{ 736 737 738 string ParametruGrupB = !string.IsNullOrEmpty(System.Web.HttpContext.Current.Request.Params["GroupID"]) ? System.Web.HttpContext.Current.Request.Params["GroupID"].ToString() : ""; 739 string ParametruProducatorB = !string.IsNullOrEmpty(System.Web.HttpContext.Current.Request.Params["Producator"]) ? System.Web.HttpContext.Current.Request.Params["Producator"].ToString() : ""; 740 741 string ParametruDealerB = !string.IsNullOrEmpty(System.Web.HttpContext.Current.Request.Params["Dealer"]) ? System.Web.HttpContext.Current.Request.Params["Dealer"].ToString() : ""; 742 string ParametruDealerBDecodat = HttpUtility.UrlDecode(ParametruDealerB); 743 744 string ParametruSubgrupB = !string.IsNullOrEmpty(System.Web.HttpContext.Current.Request.Params["Subcategorie"]) ? System.Web.HttpContext.Current.Request.Params["Subcategorie"].ToString() : ""; 745 string ParametruProdusB = !string.IsNullOrEmpty(System.Web.HttpContext.Current.Request.Params["productid"]) ? System.Web.HttpContext.Current.Request.Params["productid"].ToString() : ""; 746 string GroupName = !string.IsNullOrEmpty(GetString("Page:Ecom.ProductList.GroupName")) ? GetString("Page:Ecom.ProductList.GroupName") : ""; 747 string GroupId = !string.IsNullOrEmpty(GetString("Ecom:Group.Category.ID")) ? GetString("Ecom:Group.Category.ID"): ""; 748 string SubgrupNameRaw = !string.IsNullOrEmpty(System.Web.HttpContext.Current.Request.Params["Subcategorie"]) ? System.Web.HttpContext.Current.Request.Params["Subcategorie"] : ""; 749 string SubgrupName = SubgrupNameRaw == "Metale" ? "Metale: (table, sarma, bare, tevi, pulberi etc.)": SubgrupNameRaw =="Fluide" ? "Fluide si gaze industriale": SubgrupNameRaw =="Emulsii" ? "Emulsii si lichide de racire": SubgrupNameRaw =="Protectie" ? "Echipamente de protectie": SubgrupNameRaw =="Subcontractare" ? "Productie (Subcontractare)" : SubgrupNameRaw =="Cercetare" ? "Cercetare, dezvoltare": SubgrupNameRaw =="Mentenanta" ? "Mentenanta, reparatii, retrofit": SubgrupNameRaw =="Proprietate" ? "Proprietate intelectuala": SubgrupNameRaw =="Parcuri" ? "Parcuri Industriale" : SubgrupNameRaw =="Medicina" ? "Medicina muncii" : SubgrupNameRaw =="UtilajeConstructii" ? "Echipamente si utilaje pentru constructii": SubgrupNameRaw =="ChimicPetrolier" ? "Utilaj chimic, petrolier": SubgrupNameRaw =="ChimicPetrolier" ? "Utilaj chimic, petrolier" : SubgrupNameRaw =="Reciclare" ? "Tehnologii si utilaje pentru protectia mediului si reciclare" : SubgrupNameRaw =="Birouri" ? "Dotari spatii industriale si birouri, spatii de lucru, curatenie industriala" : SubgrupNameRaw; 750 751 752 } 753 754 755 @if(!string.IsNullOrEmpty(ParametruProducatorB) || !string.IsNullOrEmpty(ParametruDealerB)){ 756 <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12" style="margin-top: -63px;"> 757 <div class="breadcrumb-container row"> 758 <ul class="breadcrumb" id="breadCrumbsMenu"> 759 @GetValue("DwNavigation(breadCrumbsMenu38)") 760 761 <li> 762 <a href="/ibuysmart?GroupID=@(ParametruGrupB)">@(GroupName != "" ? (GroupName) : "")</a> @(GroupName != "" ? " / " : "") <a href="/ibuysmart?Subcategorie=@(SubgrupName)">@(SubgrupName != "" ? (SubgrupName) : "")</a> @(SubgrupName != "" ? " / " : "") <a href="/ibuysmart?Producator=@(ParametruProducatorB)">@RenderSnippet("NumeProducator")</a> @(ParametruDealerB != "" ? "<span>Furnizor</span>:" : "") <a href="/ibuysmart?Dealer=@(ParametruDealerB)">@(ParametruDealerB != "" ? ParametruDealerBDecodat : "") </a> 763 </li> 764 765 </ul> 766 </div> 767 </div> 768 769 } 770 771 772 773 774 <div class="@fullWidth @fullWidth1 "> 775 776 <section class="admag-block"> 777 <div class="row"> 778 <!--Main Content Begin--> 779 @GetValue("DwContent(maincontent)") 780 <!--<div class="hidden"> 781 <div class="dwcontent hidden" id="FormNewsletterIBS" title="Form" data-settings="unwrap=true"></div> 782 </div>--> 783 <!--Main Content End--> 784 </div> 785 <div class="row" style="margin-bottom:20px; margin-top:20px;"> 786 <div class="col-xs-12 col-sm-12 col-md-6 text-center"><a href='@Pageview.Area.Item["Link_Revista"]' alt='@Pageview.Area.Item["Link_Revista.Name"]' target="blank"><img src='@Pageview.Area.Item["Banner_Revista"]' alt='@Pageview.Area.Item["Banner_Revista.Name"]'></a></div> 787 <div class="col-xs-12 col-sm-12 col-md-6 text-center"><a href='@Pageview.Area.Item["Link_Companii"]' alt='@Pageview.Area.Item["Link_Companii.Name"]' target="blank"><img src='@Pageview.Area.Item["Banner_Companii"]' alt='@Pageview.Area.Item["Banner_Companii.Name"]'></a></div> 788 </div> 789 </section> 790 </div> 791 792 793 </div> 794 <!-- </div> --> 795 796 </div><!-- .main-content --> 797 798 @if (string.IsNullOrEmpty(System.Web.HttpContext.Current.Request.Params["productid"])) 799 { 800 <!-- End Main Banner --> 801 <div class="mag-content clearfix sidebar-stop" style="max-width:1170px; padding-left: 0px; padding-right: 0px;"> 802 <div class="row"> 803 <div class="col-md-12"> 804 <div class="ad728-wrapper" style="min-height:145px;"> 805 <ins data-revive-zoneid="7" data-revive-id="30be11c85ce356e14970630466da228f"></ins> 806 807 </div> 808 </div> 809 </div> 810 </div> 811 <!-- End Main Banner --> 812 } 813 814 </div><!-- .main-wrapper --> 815 816 817 <!-- Footer --> 818 819 @{ 820 string AdresaLogoFooter= "https://" + GetGlobalValue("Global:Request.Host")+ "/Files/Images/tehnicmedia-logo.jpg"; 821 bool includeTopWarning = System.Web.HttpContext.Current.Request.Cookies["Dynamicweb.CookieOptInLevel"] == null; 822 } 823 824 825 <footer class="footer source-org vcard copyright clearfix" id="footer" role="contentinfo"> 826 <div class="footer-main"> 827 <div class="fixed-main"> 828 <div class="container"> 829 <div class="mag-content"> 830 <div class="row"> 831 <div class="col-md-5"> 832 <div class="footer-block clearfix"> 833 <h3>@Translate("link", "Link-uri utile"):</h3> 834 835 <ul class="footer-menu"> 836 @foreach(LoopItem footerMenu in GetLoop("Item.Area.FooterMenu")) { 837 838 string footerLink = footerMenu.GetString("Item.Area.FooterMenu.FooterLinkUrl"), 839 footerLinkText = footerMenu.GetString("Item.Area.FooterMenu.FooterLinkText.Value"), 840 openInNewWindow = footerMenu.GetBoolean("Item.Area.FooterMenu.OpenInNewWindows") ? "_blank" : "_self"; 841 842 <li><a href="@footerLink" target='@openInNewWindow'>@footerLinkText</a></li> 843 } 844 </ul> 845 </div> 846 </div> 847 <div class="col-md-3"> 848 <div class="footer-block clearfix"> 849 <h3>@Translate("aboutUs", "DESPRE NOI"):</h3> 850 <p>@Pageview.Area.Item["FooterAbout"]</p> 851 </div> 852 </div> 853 854 <div class="col-md-3 col-md-offset-1"> 855 <div class="footer-block clearfix"> 856 <h3>@Translate("contactUs", "CONTACT"):</h3> 857 <div class="mb-15"> 858 <ul> 859 <li><i class="fa fa-phone" aria-hidden="true"></i> &nbsp;@Pageview.Area.Item["Phone"]</li> 860 <li><i class="fa fa-envelope" aria-hidden="true"></i> &nbsp;@Pageview.Area.Item["Email"]</li> 861 <li><i class="fa fa-map-marker" aria-hidden="true"></i> &nbsp;@Pageview.Area.Item["Address"]</li> 862 </ul> 863 </div> 864 <div class="mb-15"> 865 <script src="https://platform.linkedin.com/in.js" type="text/javascript"> lang: en_US</script> 866 <script type="IN/FollowCompany" data-id="10958182" data-counter="right"></script> 867 </div> 868 <a href="/Default.aspx?ID=@signUpNewsletter" class="signUpNewsletter-link">@Translate("SignUpNewsletter")</a> 869 870 </div> 871 </div> 872 873 </div> 874 </div> 875 </div> 876 </div> 877 </div> 878 879 <div class="footer-bottom clearfix"> 880 <div class="fixed-main"> 881 <div class="container"> 882 <div class="mag-content"> 883 <div class="row"> 884 <div class="col-md-6"> 885 <p>@Translate("copyright", "Copyright"): @Translate("TehnicMedia2017", "Tehnic Media") &copy; @DateTime.Now.Year. 886 <a href="https://www.tehnicmedia.ro"><img src="@AdresaLogoFooter" width="" height=""></a></p> 887 </div> 888 <div class="col-md-6"> 889 <div class="social-icons pull-right"> 890 <a href='@Pageview.Area.Item["FacebookLink"]' target="_blank"><i class="fa fa-facebook" style="padding: 0px 8px;"></i></a> 891 <a href='@Pageview.Area.Item["TwitterLink"]' target="_blank"><i class="fa fa-twitter" style="padding: 0px 8px;"></i></a> 892 </div> 893 </div> 894 </div> 895 </div> 896 </div> 897 </div> 898 </div> 899 900 </footer> 901 <!-- End Footer --> 902 903 904 905 <!-- Mobile Menu --> 906 <nav id="mobile-nav"> 907 <div> 908 @RenderNavigation(new { 909 template = "MainNavigationMobile.xslt", 910 expandmode = "all", 911 id = "mobile-nav", 912 startlevel = 1, 913 listStyle = "mobile-navigation", 914 endlevel = 2 915 }) 916 </div> 917 <div class="" style="position: absolute; bottom: 0; left: 0; top: auto;"> 918 <div class="mb-15"> 919 <script src="https://platform.linkedin.com/in.js" type="text/javascript"> lang: en_US</script> 920 <script type="IN/FollowCompany" data-id="10958182" data-counter="right"></script> 921 </div> 922 <a href="/Default.aspx?ID=@signUpNewsletter" class="signUpNewsletter-link">@Translate("SignUpNewsletter")</a> 923 </div> 924 </nav> 925 <!-- / Mobile Menu --> 926 <div id="go-top-button" class="fa fa-angle-up" title="Scroll To Top"></div> 927 <div class="mobile-overlay" id="mobile-overlay"></div> 928 @* <script type="text/javascript" src="@scriptBundleFooter"></script>*@ 929 930 931 932 @if (globalPageId != signUpPage) { 933 @*newsletter modal*@ 934 if(dataViewNewsletter == "") { 935 <div class="modal bd-example-modal-sm newsletterSignUp popUpHide" id="NewsletterSignUp" tabindex="-1" role="dialog" aria-labelledby="myLargeModalLabel" aria-hidden="true" data-sign-up-translate='@Translate("Te-ai abonat cu succes! Îți mulțumim!")'> 936 <div class="modal-dialog modal-sm"> 937 <div class="modal-content"> 938 <button type="button" class="btn btn-primary exit-modal" data-dismiss="modal">X</button> 939 @RenderParagraphContent(3233) 940 </div> 941 </div> 942 </div> 943 } 944 @*newsletter modal*@ 945 } 946 947 @RenderSnippet("Modals") 948 949 950 @Pageview.Area.Item["Analytics_Code"] 951 <!-- Add to Calendar --> 952 <script type="text/javascript">(function () { 953 if (window.addtocalendar)if(typeof window.addtocalendar.start == "function")return; 954 if (window.ifaddtocalendar == undefined) { window.ifaddtocalendar = 1; 955 var d = document, s = d.createElement('script'), g = 'getElementsByTagName'; 956 s.type = 'text/javascript';s.charset = 'UTF-8';s.async = true; 957 s.src = ('https:' == window.location.protocol ? 'https' : 'http')+'://addtocalendar.com/atc/1.5/atc.min.js'; 958 var h = d[g]('body')[0];h.appendChild(s); } 959 })(); 960 </script> 961 962 <!-- Go to www.addthis.com/dashboard to customize your tools --> 963 <script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-58b014abcccaba2d"></script> 964 965 <!-- Twitter Widget--> 966 <!--<script type="text/javascript"> 967 window.twttr = (function (d,s,id) { 968 var t, js, fjs = d.getElementsByTagName(s)[0]; 969 if (d.getElementById(id)) return; js=d.createElement(s); js.id=id; 970 js.src="https://platform.twitter.com/widgets.js"; fjs.parentNode.insertBefore(js, fjs); 971 return window.twttr || (t = { _e: [], ready: function(f){ t._e.push(f) } }); 972 }(document, "script", "twitter-wjs")); 973 </script>--> 974 975 <!-- Twitter Widget Loader --> 976 977 @RenderSnippet("bottomJS") 978 979 @*<!-- Start Scroll tracking --> 980 <script src="@areaLayoutPath/assets/js/gascrolldepth.min.js"></script> 981 <script> 982 gascrolldepth.init({ 983 elements: ['#mm-0', 'footer'], 984 userTiming: true, 985 gtmOverride: true, 986 eventHandler: function(data) { 987 if (data.event == "ScrollDistance") { 988 ga('send', 'event', data.eventCategory, data.eventAction, data.eventLabel, data.eventValue); 989 } 990 } 991 }); 992 </script>*@ 993 <!-- End Scroll tracking --> 994 @*<script type="text/javascript"> 995 996 /* <![CDATA[ */ 997 998 var google_conversion_id = 1010029401; 999 1000 var google_custom_params = window.google_tag_params; 1001 1002 var google_remarketing_only = true; 1003 1004 /* ]]> */ 1005 1006 </script>*@ 1007 1008 <script type="text/javascript" src="//www.googleadservices.com/pagead/conversion.js"></script> 1009 <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-multiselect/0.9.15/js/bootstrap-multiselect.min.js"></script> 1010 <script type="text/javascript" src="/Files/Templates/Designs/TTOnlineNew/dist/bundle.min.js?v=5"></script> 1011 <script type="text/javascript" src="/Files/Templates/Designs/TTOnlineNew/dist2/app.bundle.js"></script> 1012 <script src="/Files/Templates/Designs/TTonlineNew/assets/js/compare.js"></script> 1013 1014 @* 1015 <script type="text/javascript" src="/Files/Templates/Designs/TTOnlineNew/js/minified/00_libraries/00_handlebars.js"></script> 1016 <script type="text/javascript" src="/Files/Templates/Designs/TTOnlineNew/js/minified/00_libraries/05_axios.js"></script> 1017 <script type="text/javascript" src="/Files/Templates/Designs/TTOnlineNew/js/minified/00_libraries/10_es6promise.js"></script> 1018 <script type="text/javascript" src="/Files/Templates/Designs/TTOnlineNew/js/minified/05_custom/00_main.min.js"></script> 1019 <script type="text/javascript" src="/Files/Templates/Designs/TTOnlineNew/js/minified/05_custom/05_handlebarsHelper.min.js"></script> 1020 *@ 1021 @*<noscript> 1022 <div style="display:inline;"> 1023 <img height="1" width="1" style="border-style:none;" alt="" src="//googleads.g.doubleclick.net/pagead/viewthroughconversion/1010029401/?guid=ON&amp;script=0"> 1024 </div> 1025 </noscript>*@ 1026 <div id="loading"></div> 1027 </body> 1028 </html>