Error executing template "Designs/TTonline/_parsed/ContentTaguri.parsed.cshtml"
System.NullReferenceException: Object reference not set to an instance of an object.
   at CompiledRazorTemplates.Dynamic.RazorEngine_4d5d83a241704b51846c328c52fd89ba.Execute() in Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonline\_parsed\ContentTaguri.parsed.cshtml:line 784
   at RazorEngine.Templating.TemplateBase.RazorEngine.Templating.ITemplate.Run(ExecuteContext context, TextWriter reader)
   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/TTonline/"; 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 @inherits RazorTemplateBase<RazorTemplateModel<Template>> 19 @using Dynamicweb.Rendering; 20 @using System.Text.RegularExpressions 21 22 @helper OgMeta(string designName) 23 { 24 if (string.IsNullOrEmpty(System.Web.HttpContext.Current.Request.Params["ProductID"])) 25 { 26 @SnippetStart("OGMeta")<meta property="og:title" content='@GetString("Title")'> 27 @* <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'> *@ 28 <meta property="og:site_name" content='@Pageview.Area.Name'> 29 <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()'> 30 <meta property="og:description" content='@StripHtml(GetString("Meta.Description"))'> 31 <meta property="og:type" content="article"> 32 <meta property="og:locale" content='@Pageview.GlobalTags.GetTagByName("Global:Area.LongLang").Value.ToString().Replace("-", "_")'> 33 @SnippetEnd("OGMeta") 34 } 35 } 36 @helper HtmlHead(string designName) 37 { 38 string designFolder = GetString("Template:DesignBaseUrl"); 39 string robots = ""; 40 string ipCountry = "RO";//Dna.IP.Frontend.GetCountryCode(); 41 string countryCodeModule = !string.IsNullOrEmpty(ipCountry) ? ipCountry : "RO"; 42 string userCountryCode = (Pageview.User != null && !string.IsNullOrEmpty(Pageview.User.Country)) ? Pageview.User.Country : ipCountry; 43 string userState = Pageview.User != null ? Pageview.User.State : string.Empty; 44 string userAccountsNumber = (System.Web.HttpContext.Current.Session["AccountsNumber"] ?? "").ToString(); 45 robots = (GetBoolean("Item.Area.DemoBanner") || GetBoolean("Item.Area.NoIndex")) ? CommaSplittedString(robots, "noindex") : ""; 46 robots = (GetBoolean("Item.Area.DemoBanner") || GetBoolean("Item.Area.NoFollow")) ? CommaSplittedString(robots, "nofollow") : ""; 47 48 <head> 49 <title>@GetValue("Title")</title> 50 <meta http-equiv="content-type" content="text/html; charset=utf-8"> 51 <meta name="viewport" content="initial-scale=1.0, width=device-width, user-scalable=no"> 52 <meta http-equiv="X-UA-Compatible" content="IE=edge"> 53 <meta name="SKYPE_TOOLBAR" content="SKYPE_TOOLBAR_PARSER_COMPATIBLE"> 54 55 <link rel="apple-touch-icon-precomposed" sizes="57x57" href="@(designFolder)images/apple-touch-icon-57x57.png"> 56 <link rel="apple-touch-icon-precomposed" sizes="114x114" href="@(designFolder)images/apple-touch-icon-114x114.png"> 57 <link rel="apple-touch-icon-precomposed" sizes="72x72" href="@(designFolder)images/apple-touch-icon-72x72.png"> 58 <link rel="apple-touch-icon-precomposed" sizes="144x144" href="@(designFolder)images/apple-touch-icon-144x144.png"> 59 <link rel="apple-touch-icon-precomposed" sizes="60x60" href="@(designFolder)images/apple-touch-icon-60x60.png"> 60 <link rel="apple-touch-icon-precomposed" sizes="120x120" href="@(designFolder)images/apple-touch-icon-120x120.png"> 61 <link rel="apple-touch-icon-precomposed" sizes="76x76" href="@(designFolder)images/apple-touch-icon-76x76.png"> 62 <link rel="apple-touch-icon-precomposed" sizes="152x152" href="@(designFolder)images/apple-touch-icon-152x152.png"> 63 <link rel="icon" type="image/png" href="@(designFolder)images/favicon-196x196.png" sizes="196x196"> 64 <link rel="icon" type="image/png" href="@(designFolder)images/favicon-96x96.png" sizes="96x96"> 65 <link rel="icon" type="image/png" href="@(designFolder)images/favicon-32x32.png" sizes="32x32"> 66 <link rel="icon" type="image/png" href="@(designFolder)images/favicon-16x16.png" sizes="16x16"> 67 <link rel="icon" type="image/png" href="@(designFolder)images/favicon-128.png" sizes="128x128"> 68 <meta name="application-name" content="&nbsp;"> 69 <meta name="msapplication-TileColor" content="#FFFFFF"> 70 <meta name="msapplication-TileImage" content="@(designFolder)images/mstile-144x144.png"> 71 <meta name="msapplication-square70x70logo" content="@(designFolder)images/mstile-70x70.png"> 72 <meta name="msapplication-square150x150logo" content="@(designFolder)images/mstile-150x150.png"> 73 <meta name="msapplication-wide310x150logo" content="@(designFolder)images/mstile-310x150.png"> 74 <meta name="msapplication-square310x310logo" content="@(designFolder)images/mstile-310x310.png"> 75 76 @if (!string.IsNullOrEmpty(robots)) 77 { 78 <meta name="robots" content="@robots"> 79 } 80 @OgMeta(designName) 81 @RenderSnippet("OGMeta") 82 @GetString("MetaTags") 83 @GetString("CopyRightNotice") 84 @GetString("Stylesheets") 85 86 @* <link rel="shortcut icon" href="@(designFolder)images/favicon.ico" type="image/x-icon"> *@ 87 88 <!-- Icon Font --> 89 <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css"> 90 91 @{ 92 var minify = GetBoolean("Item.Area.Minify_CSS_And_JavaScript"); 93 var styleBundle = Dna.Optimizer.Renderer.RenderStyles(string.Format("{0}css", designFolder), minify, true, "-main-styles", new[] { "exceptions" }); 94 var scriptBundleHeader = Dna.Optimizer.Renderer.RenderScripts(string.Format("{0}js/header", designFolder), minify, true, "-main-scripts-header", new[] { "exceptions" }); 95 var scriptBundleFooter = Dna.Optimizer.Renderer.RenderScripts(string.Format("{0}js/footer", designFolder), minify, true, "-main-scripts-footer", new[] { "exceptions" }); 96 } 97 <link rel="stylesheet" href="@styleBundle"> 98 <script src="@scriptBundleHeader"></script> 99 @GetString("Javascripts") 100 @RenderSnippet("externalScripts") 101 @SnippetStart("externalScripts") @SnippetEnd("externalScripts") 102 <!--[if lte IE 9]> 103 <script src="//html5shim.googlecode.com/svn/trunk/html5.js"></script> 104 <script src="//cdnjs.cloudflare.com/ajax/libs/respond.js/1.1.0/respond.min.js"></script> 105 <![endif]--> 106 <script> 107 @RenderSnippet("jsVariables") 108 @SnippetStart("jsVariables") @SnippetEnd("jsVariables") 109 110 var obj_pages = { 111 str_miniCart: '@Dynamicweb.Frontend.SearchEngineFriendlyURLs.GetFriendlyUrl(GetString("Item.Area.MiniCart"))', 112 str_login: '@Dynamicweb.Frontend.SearchEngineFriendlyURLs.GetFriendlyUrl(GetString("Item.Area.Login"))', 113 str_globalTranslates: '@Dynamicweb.Frontend.SearchEngineFriendlyURLs.GetFriendlyUrl(GetString("Item.Area.GlobalTranslates"))', 114 str_contactPopup : '@Dynamicweb.Frontend.SearchEngineFriendlyURLs.GetFriendlyUrl(GetString("Item.Area.ContactUs_Popup"))', 115 str_cartInformation: '@Dynamicweb.Frontend.SearchEngineFriendlyURLs.GetFriendlyUrl(GetString("Item.Area.Cart_Information"))', 116 str_typeAhead : '@Dynamicweb.Frontend.SearchEngineFriendlyURLs.GetFriendlyUrl(GetString("Item.Area.TypeAhead"))' 117 }, 118 obj_user = { 119 str_country: '@userCountryCode', 120 str_state: '@userState', 121 str_accountsNumber:'@userAccountsNumber' 122 }, 123 obj_settings = { 124 str_contactTimeout: '@GetString("Item.Area.Time")', 125 str_cartQty: '@GetString("Ecom:Order.OrderLines.TotalProductQuantity")' 126 }, 127 obj_translates = { 128 str_seeAll: '@Translate("seeAllThe", "See all the")', 129 str_results: '@Translate("results", "results")' 130 }; 131 $(function () { 132 @UserDoesNotExist() 133 @RenderSnippet("jsOnLoadVariables") 134 @SnippetStart("jsOnLoadVariables") @SnippetEnd("jsOnLoadVariables") 135 @RenderSnippet("jsOnLoad") 136 @SnippetStart("jsOnLoad") @SnippetEnd("jsOnLoad") 137 }); 138 139 @if(!string.IsNullOrWhiteSpace(GetString("Item.Area.GoogleAnalytics"))) 140 { 141 <text> 142 (function (i, s, o, g, r, a, m) { 143 i['GoogleAnalyticsObject'] = r; i[r] = i[r] || function () { 144 (i[r].q = i[r].q || []).push(arguments) 145 }, i[r].l = 1 * new Date(); a = s.createElement(o), 146 m = s.getElementsByTagName(o)[0]; a.async = 1; a.src = g; m.parentNode.insertBefore(a, m) 147 })(window, document, 'script', '//www.google-analytics.com/analytics.js', 'ga'); 148 ga('create', '@GetString("Item.Area.GoogleAnalytics")', 'auto'); 149 ga('send', 'pageview'); 150 </text> 151 } 152 @SnippetStart("eCommerceTracking")@SnippetEnd("eCommerceTracking") 153 @RenderSnippet("eCommerceTracking") 154 </script> 155 156 <!-- Global site tag (gtag.js) - Google Ads: 970361168 --> 157 <script async="" src="https://www.googletagmanager.com/gtag/js?id=AW-970361168"></script><script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'AW-970361168'); </script> 158 159 <!-- Hotjar Tracking Code for https://ttonline.ro --> 160 <script> 161 (function(h,o,t,j,a,r){ 162 h.hj=h.hj||function(){(h.hj.q=h.hj.q||[]).push(arguments)}; 163 h._hjSettings={hjid:1231893,hjsv:6}; 164 a=o.getElementsByTagName('head')[0]; 165 r=o.createElement('script');r.async=1; 166 r.src=t+h._hjSettings.hjid+j+h._hjSettings.hjsv; 167 a.appendChild(r); 168 })(window,document,'https://static.hotjar.com/c/hotjar-','.js?sv='); 169 </script> 170 </head> 171 } 172 @helper UserDoesNotExist() 173 { 174 if (Dynamicweb.Environment.ExecutingContext.IsFrontEnd() && !Dynamicweb.Security.UserManagement.User.IsExtranetUserLoggedIn()) 175 { 176 if (!string.IsNullOrEmpty(System.Web.HttpContext.Current.Request.Params["Password"]) && !string.IsNullOrEmpty(System.Web.HttpContext.Current.Request.Params["Username"])) 177 { 178 @SnippetStart("jsOnLoad") 179 @:var showLogin = true; 180 @:alert("@Translate("yourUserNameOrPasswordDidntMatch", "Your user name or password didn't match. Please try again.")"); 181 @SnippetEnd("jsOnLoad") 182 } 183 } 184 } 185 @helper Logo(string cssclass, string companyName, string fileName) 186 { 187 if (!string.IsNullOrEmpty(System.Web.HttpContext.Current.Request.Params["print"])) 188 { 189 <div class="@cssclass"> 190 <a href="/"> 191 <img class="img-responsive hidden-print" src="/Files/Templates/Designs/TTonline/images/@(fileName)" alt="@companyName" title="@companyName"> 192 <img class="img-responsive visible-print" src="/Files/Images/logo_TT.png" alt="@companyName" title="@companyName"> 193 </a> 194 </div> 195 } 196 else 197 { 198 <div class="@cssclass"> 199 <a href="/"> 200 <img class="img-responsive" src="/Files/Templates/Designs/TTonline/images/@(fileName)" alt="@companyName" title="@companyName"> 201 </a> 202 </div> 203 } 204 } 205 206 @helper Copyright() 207 { 208 <div class="copyright">&copy; @DateTime.Now.Year @GetString("Item.Area.CompanyName") - @GetString("Item.Area.Copyright")</div> 209 } 210 @functions { 211 private string CommaSplittedString(string CommaSplittedString, string NewString) 212 { 213 214 if (!string.IsNullOrEmpty(CommaSplittedString)) 215 { 216 CommaSplittedString += ", "; 217 } 218 CommaSplittedString += NewString; 219 220 return CommaSplittedString; 221 } 222 public static string StripHtml(string source) 223 { 224 return Regex.Replace(source, "<.*?>", string.Empty); 225 } 226 } 227 @{ 228 string designName1 = "TTonline"; 229 string device = Pageview.Device.ToString(); 230 string firstPageId = GetString("DwAreaFirstPageID"); 231 string homeOrSubpage = GetString("DwAreaFirstPageID") == GetString("Global:Page.ID") ? "home" : "subpage"; 232 string print = !string.IsNullOrEmpty(System.Web.HttpContext.Current.Request.Params["print"]) ? "printOrPdf" : ""; 233 //string resultsPage = GetString("Item.Area.SearchResults"); 234 //string contactPage = GetString("Item.Area.ContactUs"); 235 string countryCode = "RO";//Dna.IP.Frontend.GetCountryCode(); 236 string longLang = Pageview.GlobalTags.GetTagByName("Global:Area.LongLang").Value.ToString(); 237 //string email = GetString("Item.Area.Email"); 238 //string phone = GetString("Item.Area.Phone"); 239 240 //bool userIsLoggedIn = Dynamicweb.Security.UserManagement.User.IsExtranetUserLoggedIn(); 241 bool isPrint = !string.IsNullOrEmpty(System.Web.HttpContext.Current.Request.Params["print"]); 242 bool bol_backofficeLogged = Dynamicweb.Security.UserManagement.User.GetCurrentBackendUser() != null ? true : false; 243 List<LoopItem> socialMedia = GetLoop("Item.Area.SocialNetworks"); 244 List<LoopItem> websiteLanguages = GetLoop("WebsiteLanguages"); 245 string designFolder = GetString("Template:DesignBaseUrl"); 246 var minify = GetBoolean("Item.Area.Minify_CSS_And_JavaScript"); 247 var scriptBundleFooter = Dna.Optimizer.Renderer.RenderScripts(string.Format("{0}js/footer", designFolder), minify, true, "-main-scripts-footer", new[] { "exceptions" }); 248 249 } 250 <!DOCTYPE HTML> 251 <!--[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)]><!--> 252 <html lang="@(longLang)"><!--<![endif]--> 253 254 @HtmlHead(designName1) 255 256 <body class="@bodyStyle tileStyle"> 257 258 259 <div id="main" class="header-style1"> 260 261 @{ 262 bool userIsLoggedIn = Dynamicweb.Security.UserManagement.User.IsExtranetUserLoggedIn(); 263 string logo = GetString("Item.Area.Logo"); 264 } 265 <header class="header-wrapper clearfix"> 266 267 <div class="header" id="header"> 268 <div class="container-fluid header-first-container"> 269 <div class="mag-content"> 270 <div class="container"> 271 <div class="row header-first-row"> 272 <div class="col-md-9 visible-lg visible-md" id="motto"> 273 <a class="logo" href="/Defaul.aspx?ID=@firstPageId" title="" rel="home"> 274 <img src="@logo"> 275 </a><!-- .logo --> 276 <h4>Industry – Business Opportunities</h4> 277 </div><!--End of col-md-9 visible-lg visible-md--> 278 279 <div class="col-md-2 visible-lg visible-md text-right username"> 280 281 @if (userIsLoggedIn) { 282 string userName = !string.IsNullOrWhiteSpace(Pageview.User.Name) ? Pageview.User.Name : string.Format("{0}{1}", Pageview.User.FirstName, Pageview.User.LastName); 283 284 <div class="welcomeBack hidden-print text-left"> 285 @Translate("welcome", "Welcome"), <span> @(!string.IsNullOrWhiteSpace(userName) ? userName : Pageview.User.UserName)</span> 286 </div> 287 } 288 289 </div> 290 <div id="social-icon" class="social-icon"> 291 <a class="facebook" href='@Pageview.Area.Item["FacebookLink"]' target="_blank"> <i class="fa fa-facebook fa-2x padding" aria-hidden="true"></i> </a> 292 <a class="twitter" href='@Pageview.Area.Item["TwitterLink"]' target="_blank"> <i class="fa fa-twitter fa-2x padding" aria-hidden="true"></i> </a> 293 </div> 294 295 </div> 296 </div> 297 </div> 298 </div> 299 300 <div class="container-fluid header-second-container"> 301 <div class="mag-content"> 302 303 <div class="container"> 304 <div class="row header-second-row"> 305 <div class="col-md-12"> 306 307 <!-- Mobile Menu Button --> 308 <a class="navbar-toggle collapsed" id="nav-button" href="#mobile-nav"> 309 <span class="icon-bar"></span> 310 <span class="icon-bar"></span> 311 <span class="icon-bar"></span> 312 <span class="icon-bar"></span> 313 </a><!-- .navbar-toggle --> 314 <!-- Main Nav Wrapper --> 315 <nav class="navbar mega-menu"> 316 <a class="logo hidden-lg hidden-md" href="/Defaul.aspx?ID=@firstPageId" title="" rel="home"> 317 <img src="@logo"> 318 </a><!-- .logo --> 319 <!-- Navigation Menu --> 320 <div class="navbar-collapse collapse"> 321 @RenderNavigation(new { 322 template = "MainNavigation.xslt", 323 expandmode = "all", 324 id = "header-nav", 325 startlevel = 1, 326 listStyle = "top-navigation", 327 endlevel = 3 328 }) 329 </div><!-- .navbar-collapse --> 330 <!-- End Navigation Menu --> 331 332 333 334 <div class="btn-group dropdown-login"> 335 <button class="btn btn-default btn-sm dropdown-toggle dropdown-login" type="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> 336 <i class="fa fa-user fa-1x" aria-hidden="true">&nbsp; &nbsp;</i><span class=""></span> 337 </button> 338 <ul class="dropdown-menu"> 339 <!-- Button trigger modal --> 340 341 @if (userIsLoggedIn) 342 { 343 <li><a href="/Admin/Public/ExtranetLogoff.aspx?ID=1">Logout</a></li> 344 } else { 345 <li><a href="/Default.aspx?ID=4256">Log in</a></li> 346 <li><a href="/Default.aspx?ID=4255">@Translate("Inregistrare","Inregistrare")</a></li> 347 } 348 </ul> 349 </div> 350 <!-- Single button --> 351 352 <div class="header-right galaxy-s5 nexus-5x iphone-6"> 353 <div class="social-icons"> 354 355 @{ 356 var languageSwitcherValue = ""; 357 foreach (var language in GetLoop("Languages")) { 358 if (language.GetBoolean("IsCurrent")) { 359 languageSwitcherValue = language.GetString("Culture"); 360 } 361 } 362 } 363 @if (languageSwitcherValue == "ro-RO") { 364 <a href="/" class="selected">RO</a> <span>|</span> <a href="/Default.aspx?ID=5557">EN</a> 365 } 366 @if (languageSwitcherValue == "en-US") { 367 <a href="/">RO</a> <span>|</span> <a href="Default.aspx?ID=5557" class="selected">EN</a> 368 } 369 370 @* <a href="#" data-toggle="tooltip" data-placement="bottom" title="Facebook"><i class="fa fa-facebook fa-lg"></i></a> 371 <a href="#" data-toggle="tooltip" data-placement="bottom" title="Twitter"><i class="fa fa-twitter fa-lg"></i></a> 372 <a href="#" data-toggle="tooltip" data-placement="bottom" title="Google+"><i class="fa fa-google-plus fa-lg"></i></a> 373 <!-- Only for Fixed Sidebar Layout --> 374 <a href="#" class="fixed-button navbar-toggle" id="fixed-button"> 375 <i></i> 376 <i></i> 377 <i></i> 378 <i></i> 379 </a><!-- .fixed-button -->*@ 380 </div><!-- .social-icons --> 381 </div><!-- .header-right --> 382 383 384 385 @if(GetString("DwAreaID") == "1"){ 386 387 <div id="sb-search" class="sb-search"> 388 <div class="form-group" style="position: relative;"> 389 <form action="/cautare.aspx" method="GET"> 390 <input class="sb-search-input" placeholder="Termen de cautare..." type="text" value="" name="q" id="q"> 391 <input class="sb-search-submit btn-search" type="submit" value=""> 392 <span class="sb-icon-search fa fa-search" data-toggle="tooltip" data-placement="bottom" title="Search"></span> 393 </form> 394 </div> 395 </div> 396 }else { 397 398 <div id="sb-search" class="sb-search"> 399 <div class="form-group" style="position: relative;"> 400 <form action="/en/search.aspx" method="GET"> 401 <input class="sb-search-input" placeholder="Input keyword ...." type="text" value="" name="q" id="q"> 402 <input class="sb-search-submit btn-search" type="submit" value=""> 403 <span class="sb-icon-search fa fa-search" data-toggle="tooltip" data-placement="bottom" title="Search"></span> 404 </form> 405 </div> 406 </div> 407 } 408 409 410 411 412 413 </nav><!-- .navbar --> 414 415 416 </div> 417 </div> 418 </div> 419 </div> 420 </div><!--.container --> 421 </div><!-- .mag-content --> 422 </header></div><!-- .container --> 423 <!-- .header --> 424 425 <!-- .header-wrapper --> 426 427 <!-- Begin Main Wrapper --> 428 <div class="container main-wrapper"> 429 430 @if (string.IsNullOrEmpty(System.Web.HttpContext.Current.Request.Params["productid"])) 431 { 432 <div class="hidden-xs hidden-sm hidden-md skyscraper--left"> 433 <div class="sticky default"> 434 <span> 435 <ins data-revive-zoneid="2" data-revive-id="30be11c85ce356e14970630466da228f"></ins> 436 <script async="" src="//adserver.dotfusion.ro/revive/www/delivery/asyncjs.php"></script> 437 </span> 438 </div> 439 </div> 440 <div class="hidden-xs hidden-sm hidden-md skyscraper--right"> 441 <div class="sticky default"> 442 <span> 443 <ins data-revive-zoneid="3" data-revive-id="30be11c85ce356e14970630466da228f"></ins> 444 </span> 445 </div> 446 </div> 447 } 448 449 @if(@GetInteger("DwPageID") == 4228) 450 { 451 <style> 452 .ad728-wrapper { 453 margin: 40px auto 0px; 454 } 455 </style> 456 457 string logoSubheader = GetString("Item.Area.Logo_IBuySmart"); 458 string culoareFundal = !string.IsNullOrEmpty(GetString("Item.Area.CuloareFundal")) ? "background:" + GetString("Item.Area.CuloareFundal") + ";" : ""; 459 string culoareFont = !string.IsNullOrEmpty(GetString("Item.Area.CuloareFont")) ? "color:" + GetString("Item.Area.CuloareFont") + ";" : ""; 460 string textSubheader = GetString("Item.Area.Text"); 461 string dimensiuneFont = !string.IsNullOrEmpty(GetString("Item.Area.DimensiuneFont")) ? "font-size:" + GetString("Item.Area.DimensiuneFont") + ";" : ""; 462 463 <div class="subheader row" style="@culoareFundal"> 464 <div class="col-xs-4"> 465 <img src="@logoSubheader"> 466 </div> 467 <div class="col-xs-5"> 468 <h4 style="@culoareFont @dimensiuneFont">@textSubheader</h4> 469 </div> 470 <div class="col-xs-12 col-md-3">@RenderSnippet("SearchProduse")</div> 471 </div> 472 } 473 474 @if(@GetInteger("DwAreaID") == 3){ 475 <style> 476 .ad728-wrapper { 477 margin: 40px auto 0px; 478 } 479 </style> 480 481 string logoSubheader = GetString("Item.Area.LogoIndustryZoom"); 482 string culoareFundal = !string.IsNullOrEmpty(GetString("Item.Area.CuloareFundal_Industryzoom")) ? "background:" + GetString("Item.Area.CuloareFundal_Industryzoom") + ";" : ""; 483 string culoareFont = !string.IsNullOrEmpty(GetString("Item.Area.Culoare_Font_IndustryZoom")) ? "color:" + GetString("Item.Area.Culoare_Font_IndustryZoom") + ";" : ""; 484 string textSubheader = GetString("Item.Area.Text_Subheader_Industry_Zoom"); 485 string dimensiuneFont = !string.IsNullOrEmpty(GetString("Item.Area.Dimensiune_Font_IndustryZoom")) ? "font-size:" + GetString("Item.Area.Dimensiune_Font_IndustryZoom") + ";" : ""; 486 487 <div class="subheader row" style="@culoareFundal"> 488 @if (!string.IsNullOrEmpty(textSubheader)) { 489 <div class="col-xs-4"> 490 <img src="@logoSubheader"> 491 </div> 492 <div class="col-xs-5"> 493 <h4 style="@culoareFont @dimensiuneFont">@textSubheader</h4> 494 </div> 495 <div class="col-xs-12 col-md-3">@RenderSnippet("SearchProduse")</div> 496 } else { 497 <div class="col-xs-12 noPadding"> 498 <img src="@logoSubheader" style="margin: 10px 0 -30px 0;"> 499 </div> 500 } 501 </div> 502 503 } 504 505 506 @if(@GetInteger("DwPageID") == 4218 || @GetInteger("DwPageID") == 4271 || @GetInteger("DwPageID") == 8376 ){ 507 <style> 508 .ad728-wrapper { 509 margin: 40px auto 0px; 510 } 511 </style> 512 513 string logoSubheader = GetString("Item.Area.Logo_Companii"); 514 string culoareFundal = !string.IsNullOrEmpty(GetString("Item.Area.CuloareFundalCompanii")) ? "background:" + GetString("Item.Area.CuloareFundalCompanii") + ";" : ""; 515 string culoareFont = !string.IsNullOrEmpty(GetString("Item.Area.CuloareFontCompanii")) ? "color:" + GetString("Item.Area.CuloareFontCompanii") + ";" : ""; 516 string textSubheader = GetString("Item.Area.TextSubheaderCompanii"); 517 string dimensiuneFont = !string.IsNullOrEmpty(GetString("Item.Area.DimensiuneFontCompanii")) ? "font-size:" + GetString("Item.Area.DimensiuneFontCompanii") + ";" : ""; 518 519 <div class="subheader row" style="@culoareFundal"> 520 <div class="col-xs-4"> 521 <img src="@logoSubheader"> 522 </div> 523 <div class="col-xs-8"> 524 <h4 style="@culoareFont; @dimensiuneFont">@textSubheader</h4> 525 </div> 526 </div> 527 } 528 529 @if(GetString("DwPageID") == "4228" || GetString("DwPageID") == "4218" || GetString("DwPageID") == "8376"){ 530 531 532 } else { 533 <!-- Begin Main Banner --> 534 <div class="mag-content clearfix " style="margin-bottom: 30px; padding-left: 0px; padding-right: 0px;"> 535 <div class="row"> 536 <div class="col-md-12"> 537 538 <div class="ad728-wrapper"> 539 <ins data-revive-zoneid="1" data-revive-id="30be11c85ce356e14970630466da228f"></ins> 540 <script async="" src="//adserver.dotfusion.ro/revive/www/delivery/asyncjs.php"></script> 541 </div> 542 543 </div> 544 </div> 545 </div> 546 <!-- End Main Banner --> 547 } 548 549 @{ 550 string backgroundClassShop = (GetString("DwPageID") == "4228") ? "shop-background" : " "; 551 string backgroundClassCompanii = (GetString("DwPageID") == "4218" || GetString("DwPageID") == "8376" ) ? "companii-background" : " "; 552 string backgroundClassIndustry = (GetString("DwPageID") == "4271") ? "industry-background" : " "; 553 554 } 555 556 <div class="main-content mag-content clearfix @backgroundClassShop @backgroundClassCompanii @backgroundClassIndustry"> 557 558 @inherits RazorTemplateBase<RazorTemplateModel<Template>> 559 @using Dynamicweb.Rendering 560 @using Dynamicweb.Content 561 @using System.Linq; 562 @using System.Web; 563 564 @GetValue("Title(Article page)") 565 @GetValue("Description(Pagina de articol)") 566 @functions { 567 568 //public class Session 569 //{ 570 //public string Id; 571 //public string Title; 572 //public DateTime StartTime; 573 //public DateTime EndTime; 574 //public bool IsBreak; 575 //public string Description; 576 //public string Type; 577 //public string Url; 578 //public string AllowedGroups; 579 //public string Location; 580 //public string Level; 581 //public int NumberOfSeats; 582 //public int NumberOfReservedSeats; 583 //public List<Speaker> 584 //Speakers; 585 //public List<Speaker> 586 //Moderatori; 587 //public LoopItem Item; 588 //} 589 590 public class Autor 591 { 592 public string Id; 593 public string Name; 594 public string Link; 595 public string Description; 596 public string Image; 597 public string Persoana; 598 } 599 600 public class Companie 601 { 602 public string Id; 603 public string Name; 604 public string Link; 605 public string Logo; 606 } 607 608 public class RelevantaGeografica 609 { 610 public string Id; 611 public string Name; 612 public string Link; 613 } 614 615 public class Tag 616 { 617 public string Id; 618 public string Name; 619 public string Link; 620 } 621 622 public class Sectiune 623 { 624 public string Id; 625 public string Name; 626 public string Link; 627 } 628 629 public class Editie 630 { 631 public string Id; 632 public string Name; 633 public string Link; 634 } 635 636 637 638 public static string StripHtmlTagByCharArray(string htmlString) 639 { 640 char[] array = new char[htmlString.Length]; 641 int arrayIndex = 0; 642 bool inside = false; 643 644 for (int i = 0; i < htmlString.Length; i++) 645 { 646 char let = htmlString[i]; 647 if (let == '<') 648 { 649 inside = true; 650 continue; 651 } 652 if (let == '>') 653 { 654 inside = false; 655 continue; 656 } 657 if (!inside) 658 { 659 array[arrayIndex] = let; 660 arrayIndex++; 661 } 662 } 663 return new string(array, 0, arrayIndex); 664 } 665 666 667 private List<Autor> GetAutori(string autoriList) 668 { 669 var autori = new List<Autor> (); 670 671 if(!string.IsNullOrEmpty(autoriList)){ 672 string[] itemIdList = autoriList.Split(','); 673 foreach (string itemId in itemIdList) 674 { 675 var autor = Dynamicweb.Content.Items.Item.GetItemById("Taxonomie_Autori", itemId); 676 if (autor != null) 677 { 678 autori.Add(new Autor 679 { 680 Id = itemId, 681 Name = autor["Name"] != null ? autor["Name"].ToString() : "", 682 Image = autor["Image"] != null ? autor["Image"].ToString() : "", 683 Description = autor["Description"] != null ? autor["Description"].ToString() : "", 684 Link = "/Default.aspx?ID=4250&autor="+itemId, 685 Persoana = autor["Persoana_Companie"] != null ? autor["Persoana_Companie"].ToString() : "" 686 }); 687 } 688 } 689 } 690 691 return autori; 692 } 693 694 private List<RelevantaGeografica> GetRelevanta(string relevantaList) 695 { 696 var relevante = new List<RelevantaGeografica> (); 697 698 if(!string.IsNullOrEmpty(relevantaList)){ 699 string[] itemIdList = relevantaList.Split(','); 700 foreach (string itemId in itemIdList) 701 { 702 var relevanta = Dynamicweb.Content.Items.Item.GetItemById("RelevantaGeografica", itemId); 703 if (relevanta != null) 704 { 705 relevante.Add(new RelevantaGeografica 706 { 707 Id = itemId, 708 Name = relevanta["Name"] != null ? relevanta["Name"].ToString() : "", 709 Link = "" 710 }); 711 } 712 } 713 } 714 715 return relevante; 716 } 717 718 719 private List<Sectiune> GetSectiuni(string sectiuniList) 720 { 721 var sectiuni = new List<Sectiune> (); 722 723 return sectiuni; 724 725 } 726 727 private List<Tag> GetTaguri(string taguriList) 728 { 729 var taguri = new List<Tag>(); 730 if(!string.IsNullOrEmpty(taguriList)){ 731 string[] itemIdList = taguriList.Split(','); 732 foreach (string itemId in itemIdList) 733 { 734 var tag = Dynamicweb.Content.Items.Item.GetItemById("Taxonomie_Taguri", itemId); 735 if (tag != null) 736 { 737 taguri.Add(new Tag 738 { 739 Id = itemId, 740 Name = tag["Name"] != null ? tag["Name"].ToString() : "", 741 Link = "Default.aspx?ID=4252&tag="+itemId 742 }); 743 } 744 } 745 } 746 return taguri; 747 748 } 749 750 751 private List<Companie> GetCompany(string companyList) 752 { 753 var companies = new List<Companie> (); 754 if(!string.IsNullOrEmpty(companyList)){ 755 string[] itemIdList = companyList.Split(','); 756 foreach (string itemId in itemIdList) 757 { 758 var companie = Dynamicweb.Content.Items.Item.GetItemById("Taxonomie_Companii", itemId); 759 if (companie != null) 760 { 761 companies.Add(new Companie 762 { 763 Id = itemId, 764 Name = companie["Name"] != null ? companie["Name"].ToString() : "", 765 Logo = companie["Logo"] != null ? companie["Logo"].ToString() : "", 766 Link = "/Default.aspx?ID=4271&companie="+itemId 767 }); 768 } 769 } 770 } 771 return companies; 772 773 } 774 775 776 777 778 779 } 780 781 @{ 782 string queryAutor = HttpContext.Current.Request.QueryString["tag"]; 783 var autori = GetTaguri(queryAutor); 784 var numeAutor = autori.FirstOrDefault().Name; 785 786 string linkCatalog = Pageview.Area.Item["Link_Catalog"].ToString(); 787 string linkCompanii = Pageview.Area.Item["Link_Companii"].ToString(); 788 } 789 790 <div class="row blog-content"> 791 <div class="col-md-8"> 792 <article class="post-wrapper clearfix"> 793 @* <header class="post-header"> 794 <h1 class="post-title"> 795 @GetString("DwPageName"): 796 @if (numeAutor != null) { 797 @numeAutor 798 } 799 800 </h1><!-- .post-title --> 801 </header><!-- .post-header --> *@ 802 803 <h3 class="block-title"> 804 805 @if (numeAutor != null) { 806 <span>#@numeAutor</span> 807 } 808 809 </h3> 810 811 <div class="post-content clearfix"> 812 @GetValue("DwContent(maincontent)") 813 </div><!-- .post-content --> 814 </article><!-- .post-wrapper --> 815 816 <!-- Mid ad --> 817 @* <div class="row"> 818 <div class="col-md-12"> 819 <div class="ad728-wrapper mid-wrapper"> 820 <a href="#"> 821 <img src="http://placehold.it/728x90" alt=""> 822 </a> 823 </div> 824 </div> 825 </div> *@ 826 <!-- End Mid ad --> 827 828 <div class="row banners"> 829 <div class="col-xs-12 col-sm-12 col-md-6 text-center"><a href="@linkCatalog" alt='@Pageview.Area.Item["Link_Catalog.Name"]' target="blank"><img src='@Pageview.Area.Item["Banner_Catalog"]' alt='@Pageview.Area.Item["Banner_Catalog.Name"]'></a></div> 830 <div class="col-xs-12 col-sm-12 col-md-6 text-center"><a href="@linkCompanii" 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> 831 </div> 832 </div><!-- End Left big column --> 833 834 <div class="col-md-4"> 835 836 <aside class="sidebar clearfix " style="margin-top: 34px;"> 837 838 <div class="widget adwidget "> 839 <ins data-revive-zoneid="4" data-revive-id="30be11c85ce356e14970630466da228f"></ins> 840 </div> 841 842 @if(GetInteger("DwAreaID") == 1){ 843 <div class="widget evenimentewidget" style="margin-bottom:10px;"> 844 845 @RenderItemList(new { 846 ItemType = "Eveniment", 847 ListSourceType = "SelfArea", 848 ItemFieldsList = "*", 849 ListTemplate = "/ItemPublisher/List/Sidebar-Evenimente.cshtml", 850 ListPageSize = 150, 851 ListOrderBy = "Data_Inceput" 852 853 }) 854 </div> 855 856 }else{ 857 <div class="widget evenimentewidget" style="margin-bottom:10px;"> 858 859 @RenderItemList(new { 860 ItemType = "Eveniment_EN", 861 ListSourceType = "SelfArea", 862 ItemFieldsList = "*", 863 ListTemplate = "/ItemPublisher/List/Sidebar-Evenimente.cshtml", 864 ListPageSize = 150, 865 ListOrderBy = "Data_Inceput" 866 867 }) 868 </div> 869 870 } 871 872 @{ 873 string editorialFilterValue = "\"@\"" + "Item.Tip =='Editorial'"; 874 editorialFilterValue = editorialFilterValue + "\"\""; 875 } 876 877 878 @{ 879 int pageID = @GetInteger("DWPageID"); 880 string tip = @GetString("Item.Tip"); 881 } 882 883 884 885 @if( (@pageID != 25) && (@tip != "Editorial")){ 886 887 888 <div class="widget editorialwidget" style="margin-bottom:0px;"> 889 890 <div class="content"> 891 892 @RenderItemList(new 893 { 894 ItemType = "DW_Page", 895 ListSourceType = "SelfArea", 896 ItemFieldsList = "*", 897 ListTemplate = "ItemPublisher/List/Sidebar-Editorial.cshtml", 898 ListPageSize = 1, 899 ListOrderBy = "Data", 900 ListOrderByDirection = "Descending", 901 Filter = editorialFilterValue 902 }) 903 </div> 904 </div> 905 906 } 907 <div class="widget adwidget" style=" margin-top: 20px; margin-bottom:25px;"> 908 <ins data-revive-zoneid="5" data-revive-id="30be11c85ce356e14970630466da228f"></ins> 909 </div> 910 911 912 <div class="widget facebookwidget" style="margin-bottom:20px;"> 913 <h3 class="block-title"><span> T&amp;T @@ Facebook</span></h3> 914 <div class="content"> 915 <div class="fb-page" data-adapt-container-width="true" data-hide-cover="false" data-href="https://www.facebook.com/tehnicasitehnologie/" data-show-facepile="false" data-show-posts="false" data-small-header="true"> 916 <div class="fb-xfbml-parse-ignore"> 917 <blockquote cite="https://www.facebook.com/tehnicasitehnologie/"> 918 <a href="https://www.facebook.com/tehnicasitehnologie/">T&amp;T - Tehnica si Tehnologie</a> 919 </blockquote> 920 </div> 921 </div> 922 </div> 923 <div id="fb-root"></div> 924 <script> 925 (function(d, s, id) { 926 var js, fjs = d.getElementsByTagName(s)[0]; 927 if (d.getElementById(id)) return; 928 js = d.createElement(s); js.id = id; 929 js.async= "async"; 930 js.src = "//connect.facebook.net/ro_RO/sdk.js#xfbml=1&version=v2.5"; 931 fjs.parentNode.insertBefore(js, fjs); 932 }(document, 'script', 'facebook-jssdk')); 933 </script> 934 935 </div> 936 937 938 <div class="widget twitterwidget" style="margin-bottom:0px;"> 939 <h3 class="block-title"><span> T&amp;T @@ Twitter</span></h3> 940 <div class="content"> 941 <a class="twitter-timeline" data-width="365" data-height="108" data-theme="light" href="https://twitter.com/TTehnologie">Tweets by TTehnologie</a> 942 </div> 943 </div> 944 945 <div class="widget multimediawidget" style="margin-bottom:20px;"> 946 @RenderItemList(new { 947 ItemType = "Multimedia", 948 ListSourceType = "Area", 949 ListSourceArea = 1, 950 ItemFieldsList = "*", 951 ListTemplate = "/ItemPublisher/List/Sidebar-Multimedia.cshtml", 952 ListPageSize = 10, 953 ListOrderBy = "", 954 ListOrderByDirection = "", 955 Filter = "" 956 }) 957 </div> 958 959 @RenderSnippet("Tags") 960 961 962 <div class="widget adwidget"> 963 <div class="row" style="margin-bottom:50px;"> 964 <div class="col-xs-6"> 965 <ins data-revive-zoneid="13" data-revive-id="30be11c85ce356e14970630466da228f"></ins> 966 <script async="" src="//adserver.dotfusion.ro/revive/www/delivery/asyncjs.php"></script> 967 </div> 968 <div class="col-xs-6"> 969 <ins data-revive-zoneid="17" data-revive-id="30be11c85ce356e14970630466da228f"></ins> 970 <script async="" src="//adserver.dotfusion.ro/revive/www/delivery/asyncjs.php"></script> 971 </div> 972 </div> 973 <div class="row"> 974 <div class="col-xs-6"> 975 976 <ins data-revive-zoneid="18" data-revive-id="30be11c85ce356e14970630466da228f"></ins> 977 <script async="" src="//adserver.dotfusion.ro/revive/www/delivery/asyncjs.php"></script> 978 </div> 979 <div class="col-xs-6"> 980 981 <ins data-revive-zoneid="19" data-revive-id="30be11c85ce356e14970630466da228f"></ins> 982 <script async="" src="//adserver.dotfusion.ro/revive/www/delivery/asyncjs.php"></script> 983 </div> 984 </div> 985 </div> 986 987 @if(@GetPageIdByNavigationTag("Revista") != @GetInteger("DwPageID")) { 988 @RenderParagraphContent(164) 989 } 990 <div class="widget adwidget "> 991 <ins data-revive-zoneid="6" data-revive-id="30be11c85ce356e14970630466da228f"></ins> 992 </div> 993 @{ 994 995 string filterArticles = "\"@\"" + "Item.Tip='Articole'"+ "\"\"";; 996 997 998 } 999 @if(GetInteger("DwAreaID") == 1){ 1000 <div class="widget tabwidget"> 1001 <ul class="nav nav-tabs" role="tablist" id="widget-tab"> 1002 <li role="presentation" class="active"><a href="#tab-popular" aria-controls="tab-popular" role="tab" data-toggle="tab">@Translate("popular","Cele mai citite")</a></li> 1003 <li role="presentation"><a href="#tab-recent" aria-controls="tab-recent" role="tab" data-toggle="tab">@Translate("recent","Cele mai noi")</a></li> 1004 </ul> 1005 <div class="tab-content"> 1006 <div role="tabpanel" class="tab-pane active" id="tab-popular"> 1007 1008 @RenderItemList(new 1009 { 1010 ItemType = "DW_Page", 1011 ListSourceType = "SelfArea", 1012 ItemFieldsList = "*", 1013 ListTemplate = "ItemPublisher/List/Sidebar-CeleMaiCitite.cshtml", 1014 ListPageSize = 5000, 1015 1016 Filter = @filterArticles 1017 }) 1018 </div><!-- Recent Posts --> 1019 <div role="tabpanel" class="tab-pane" id="tab-recent"> 1020 @RenderItemList(new 1021 { 1022 ItemType = "DW_Page", 1023 ListSourceType = "SelfArea", 1024 ItemFieldsList = "*", 1025 ListTemplate = "ItemPublisher/List/Sidebar-CeleMaiNoi.cshtml", 1026 ListPageSize = 5, 1027 ListOrderBy = "Data", 1028 ListOrderByDirection = "Descending", 1029 Filter = @filterArticles 1030 }) 1031 </div><!-- Recent Posts --> 1032 </div> 1033 </div> 1034 }else{ 1035 1036 <div class="widget tabwidget"> 1037 <ul class="nav nav-tabs" role="tablist" id="widget-tab"> 1038 <li role="presentation" class="active"><a href="#tab-popular" aria-controls="tab-popular" role="tab" data-toggle="tab">@Translate("popular","Cele mai citite")</a></li> 1039 <li role="presentation"><a href="#tab-recent" aria-controls="tab-recent" role="tab" data-toggle="tab">@Translate("recent","Cele mai noi")</a></li> 1040 </ul> 1041 <div class="tab-content"> 1042 <div role="tabpanel" class="tab-pane active" id="tab-popular"> 1043 @RenderItemList(new 1044 { 1045 ItemType = "DW_Page", 1046 ListSourceType = "SelfArea", 1047 //ListSourceArea= 3, 1048 ItemFieldsList = "*", 1049 ListTemplate = "ItemPublisher/List/Sidebar-CeleMaiCitite.cshtml", 1050 ListPageSize = 5000, 1051 Filter = @filterArticles 1052 }) 1053 </div><!-- Recent Posts --> 1054 <div role="tabpanel" class="tab-pane" id="tab-recent"> 1055 @RenderItemList(new 1056 { 1057 ItemType = "DW_Page", 1058 ListSourceType = "Area", 1059 ListSourceArea= 3, 1060 ItemFieldsList = "*", 1061 ListTemplate = "ItemPublisher/List/Sidebar-CeleMaiNoi.cshtml", 1062 ListPageSize = 5, 1063 ListOrderBy = "Data", 1064 ListOrderByDirection = "Descending", 1065 Filter = @filterArticles 1066 }) 1067 </div><!-- Recent Posts --> 1068 </div> 1069 </div> 1070 1071 } 1072 <div class="widget adwidget "> 1073 <ins data-revive-zoneid="8" data-revive-id="30be11c85ce356e14970630466da228f"></ins> 1074 </div> 1075 1076 </aside> 1077 1078 </div><!-- End last column --> 1079 </div><!-- .blog-content --> 1080 1081 1082 1083 1084 </div><!-- .main-content --> 1085 1086 @if (string.IsNullOrEmpty(System.Web.HttpContext.Current.Request.Params["productid"])) 1087 { 1088 <!-- End Main Banner --> 1089 <div class="mag-content clearfix sidebar-stop" style="max-width:1170px; padding-left: 0px; padding-right: 0px;"> 1090 <div class="row"> 1091 <div class="col-md-12"> 1092 <div class="ad728-wrapper"> 1093 <ins data-revive-zoneid="7" data-revive-id="30be11c85ce356e14970630466da228f"></ins> 1094 1095 </div> 1096 </div> 1097 </div> 1098 </div> 1099 <!-- End Main Banner --> 1100 } 1101 1102 </div><!-- .main-wrapper --> 1103 1104 1105 <!-- Footer --> 1106 1107 @{ 1108 1109 string AdresaLogoFooter= "https://" + GetGlobalValue("Global:Request.Host")+ "/Files/Images/tehnicmedia-logo.jpg"; 1110 } 1111 1112 1113 <footer class="footer source-org vcard copyright clearfix" id="footer" role="contentinfo"> 1114 <div class="footer-main"> 1115 <div class="fixed-main"> 1116 <div class="container"> 1117 <div class="mag-content"> 1118 <div class="row"> 1119 <div class="col-md-4"> 1120 <div class="footer-block clearfix"> 1121 <h3>@Translate("link", "Link-uri utile"):</h3> 1122 1123 <ul class="footer-menu"> 1124 @foreach(LoopItem footerMenu in GetLoop("Item.Area.FooterMenu")) { 1125 1126 string footerLink = footerMenu.GetString("Item.Area.FooterMenu.FooterLinkUrl"), 1127 footerLinkText = footerMenu.GetString("Item.Area.FooterMenu.FooterLinkText.Value"), 1128 openInNewWindow = footerMenu.GetBoolean("Item.Area.FooterMenu.OpenInNewWindows") ? "_blank" : "_self"; 1129 1130 <li><a href="@footerLink" target='@openInNewWindow'>@footerLinkText</a></li> 1131 } 1132 </ul> 1133 </div> 1134 </div> 1135 <div class="col-md-4"> 1136 <div class="footer-block clearfix"> 1137 <h3>@Translate("aboutUs", "DESPRE NOI"):</h3> 1138 <p>@Pageview.Area.Item["FooterAbout"]</p> 1139 </div> 1140 </div> 1141 1142 <div class="col-md-3 col-md-offset-1"> 1143 <div class="footer-block clearfix"> 1144 <h3>@Translate("contactUs", "CONTACT"):</h3> 1145 <ul> 1146 <li><i class="fa fa-phone" aria-hidden="true"></i> &nbsp;@Pageview.Area.Item["Phone"]</li> 1147 <li><i class="fa fa-envelope" aria-hidden="true"></i> &nbsp;@Pageview.Area.Item["Email"]</li> 1148 <li> <i class="fa fa-map-marker" aria-hidden="true"></i> &nbsp;@Pageview.Area.Item["Address"]</li> 1149 1150 </ul> 1151 </div> 1152 </div> 1153 1154 </div> 1155 </div> 1156 </div> 1157 </div> 1158 </div> 1159 1160 <div class="footer-bottom clearfix"> 1161 <div class="fixed-main"> 1162 <div class="container"> 1163 <div class="mag-content"> 1164 <div class="row"> 1165 <div class="col-md-6"> 1166 <p>@Translate("copyright", "Copyright"): @Translate("TehnicMedia2017", "Tehnic Media") &copy; @DateTime.Now.Year. 1167 <a href="http://www.tehnicmedia.ro"><img src="@AdresaLogoFooter" width="" height=""></a></p> 1168 </div> 1169 <div class="col-md-6"> 1170 <div class="social-icons pull-right"> 1171 <a href='@Pageview.Area.Item["FacebookLink"]' target="_blank"><i class="fa fa-facebook" style="padding: 0px 8px;"></i></a> 1172 <a href='@Pageview.Area.Item["TwitterLink"]' target="_blank"><i class="fa fa-twitter" style="padding: 0px 8px;"></i></a> 1173 </div> 1174 </div> 1175 </div> 1176 </div> 1177 </div> 1178 </div> 1179 </div> 1180 1181 </footer> 1182 <!-- End Footer --> 1183 1184 1185 1186 <!-- Mobile Menu --> 1187 <nav id="mobile-nav"> 1188 <div> 1189 @RenderNavigation(new { 1190 template = "MainNavigationMobile.xslt", 1191 expandmode = "all", 1192 id = "mobile-nav", 1193 startlevel = 1, 1194 listStyle = "mobile-navigation", 1195 endlevel = 2 1196 }) 1197 </div> 1198 </nav> 1199 <!-- / Mobile Menu --> 1200 <div id="go-top-button" class="fa fa-angle-up" title="Scroll To Top"></div> 1201 <div class="mobile-overlay" id="mobile-overlay"></div> 1202 1203 <script type="text/javascript" src="@scriptBundleFooter"></script> 1204 1205 1206 1207 @*Include("Custom/MasterFooter.cshtml")*@ 1208 @RenderSnippet("Modals") 1209 <!--<script type="text/javascript" src="assets/js/footer_scripts.js"></script>--> 1210 1211 @Pageview.Area.Item["Analytics_Code"] 1212 <!-- Add to Calendar --> 1213 <script type="text/javascript">(function () { 1214 if (window.addtocalendar)if(typeof window.addtocalendar.start == "function")return; 1215 if (window.ifaddtocalendar == undefined) { window.ifaddtocalendar = 1; 1216 var d = document, s = d.createElement('script'), g = 'getElementsByTagName'; 1217 s.type = 'text/javascript';s.charset = 'UTF-8';s.async = true; 1218 s.src = ('https:' == window.location.protocol ? 'https' : 'http')+'://addtocalendar.com/atc/1.5/atc.min.js'; 1219 var h = d[g]('body')[0];h.appendChild(s); } 1220 })(); 1221 </script> 1222 1223 <!-- Go to www.addthis.com/dashboard to customize your tools --> 1224 <script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-58b014abcccaba2d"></script> 1225 1226 <!-- Twitter Widget--> 1227 <!--<script type="text/javascript"> 1228 window.twttr = (function (d,s,id) { 1229 var t, js, fjs = d.getElementsByTagName(s)[0]; 1230 if (d.getElementById(id)) return; js=d.createElement(s); js.id=id; 1231 js.src="https://platform.twitter.com/widgets.js"; fjs.parentNode.insertBefore(js, fjs); 1232 return window.twttr || (t = { _e: [], ready: function(f){ t._e.push(f) } }); 1233 }(document, "script", "twitter-wjs")); 1234 </script>--> 1235 1236 <!-- Twitter Widget Loader --> 1237 1238 @RenderSnippet("bottomJS") 1239 1240 <!-- Start Scroll tracking --> 1241 <script src="@areaLayoutPath/assets/js/gascrolldepth.min.js"></script> 1242 <script> 1243 gascrolldepth.init({ 1244 elements: ['#mm-0', 'footer'], 1245 userTiming: true, 1246 gtmOverride: true, 1247 eventHandler: function(data) { 1248 if (data.event == "ScrollDistance") { 1249 ga('send', 'event', data.eventCategory, data.eventAction, data.eventLabel, data.eventValue); 1250 } 1251 } 1252 }); 1253 </script> 1254 <!-- End Scroll tracking --> 1255 <script type="text/javascript"> 1256 1257 /* <![CDATA[ */ 1258 1259 var google_conversion_id = 1010029401; 1260 1261 var google_custom_params = window.google_tag_params; 1262 1263 var google_remarketing_only = true; 1264 1265 /* ]]> */ 1266 1267 </script> 1268 1269 <script type="text/javascript" src="//www.googleadservices.com/pagead/conversion.js"></script> 1270 <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-multiselect/0.9.15/js/bootstrap-multiselect.min.js"></script> 1271 1272 <noscript> 1273 <div style="display:inline;"> 1274 <img height="1" width="1" style="border-style:none;" alt="" src="//googleads.g.doubleclick.net/pagead/viewthroughconversion/1010029401/?guid=ON&amp;script=0"> 1275 </div> 1276 </noscript> 1277 <div id="loading"></div> 1278 </body> 1279 </html>