Error compiling template "Designs/BusinessDays/_parsed/PricingTable.parsed.cshtml"
Line 1322: The type or namespace name 'Functions' does not exist in the namespace 'BrandFusion.Dw' (are you missing an assembly reference?)

1 @using System.Web; 2 @using Dynamicweb.Content; 3 @using Dynamicweb.Data; 4 @using Dynamicweb.Extensibility; 5 6 @functions { 7 8 //Item 9 10 public static string GetHomeItemProperty(int pageId, string itemType, string propertyName) 11 { 12 try 13 { 14 string propertyValue = ""; 15 string homeItemId = ""; 16 //Dynamicweb.Content.Page page = Dynamicweb.Content.Page.GetPageById(pageId); 17 //Dynamicweb.Content.Page page = ServiceLocator.Current.GetInstance<IPageService>().GetPage(pageId); 18 Dynamicweb.Content.Page page = ServiceLocator.Current.GetPageService().GetPage(pageId); 19 20 while (page != null) 21 { 22 if (page.ItemType.Equals(itemType)) 23 { 24 homeItemId = page.ItemId; 25 } 26 page = page.Parent; 27 } 28 if (!string.IsNullOrEmpty(homeItemId)) 29 { 30 try 31 { 32 Dynamicweb.Content.Items.Item item = Dynamicweb.Content.Items.Item.GetItemById(itemType, homeItemId); 33 propertyValue = item[propertyName].ToString(); 34 } 35 catch { } 36 } 37 38 return propertyValue; 39 } 40 catch(Exception ex) 41 { 42 throw new Exception("GetHomeItemProperty: " + ex.ToString()); 43 } 44 } 45 46 public static bool SetUserIdInItemList(string userId, string itemType, string itemId, string propertyName, bool insert = true) 47 { 48 try 49 { 50 51 52 bool succes = false; 53 if (!string.IsNullOrEmpty(userId) && userId != "0") 54 { 55 Dynamicweb.Content.Items.Item item = Dynamicweb.Content.Items.Item.GetItemById(itemType, itemId); 56 if (item != null) 57 { 58 string listValues = ""; 59 try 60 { 61 //daca e item nou creat adaugam direct userul 62 if (item[propertyName] == null || String.IsNullOrEmpty(item[propertyName].ToString())) 63 { 64 if (insert) 65 { 66 item[propertyName] = (listValues + "," + userId).TrimStart(','); 67 item.Save(); 68 succes = true; 69 } 70 } 71 else 72 { 73 listValues = item[propertyName].ToString(); 74 if (!("," + listValues + ",").Contains("," + userId + ",")) 75 { 76 if (insert) 77 { 78 item[propertyName] = (listValues + "," + userId).TrimStart(','); 79 item.Save(); 80 succes = true; 81 } 82 } 83 else 84 { 85 if (!insert) 86 { 87 item[propertyName] = ("," + listValues + ",").Replace("," + userId + ",", "").TrimEnd(',').TrimStart(','); 88 item.Save(); 89 succes = true; 90 } 91 } 92 } 93 } 94 catch { } 95 } 96 } 97 return succes; 98 } 99 catch(Exception ex) 100 { 101 throw new Exception("SetUserIdInItemList: " + ex.ToString()); 102 } 103 } 104 105 //Page 106 107 public static Dynamicweb.Content.Page GetPageByItem(string itemType, string itemId) 108 { 109 //Dynamicweb.Content.Page page = null; 110 //string sql = string.Format("SELECT * FROM Page WHERE PageItemType = '{0}' and PageItemId = '{1}'", itemType, itemId); 111 //// 😍 112 113 114 115 //var pages = Dynamicweb.Content.Page.GetPagesBySql(sql); 116 117 118 //if (pages.Count == 1) 119 //{ 120 // page = pages[0]; 121 //} 122 //return page; 123 try 124 { 125 126 var page = ServiceLocator.Current.GetInstance<IPageService>().GetPageForItem(itemType, itemId); 127 128 if (page == null) 129 { 130 throw new InvalidOperationException("The page for itemType {itemType}, itemId {itemId} does not exist."); 131 } 132 133 return page; 134 } 135 catch(Exception ex) 136 { 137 throw new Exception("GetPageByItem: " + ex.ToString()); 138 } 139 140 } 141 142 public static string GetPageUrlByItem(string itemType, string itemId) 143 { 144 // TODO: remove after checking 145 //Dynamicweb.Content.Page page = null; 146 //string pageUrl = ""; 147 148 //string sql = string.Format("SELECT * FROM Page WHERE PageItemType = '{0}' and PageItemId = '{1}'", itemType, itemId); 149 ////var pages = Dynamicweb.Content.Page.GetPagesBySql(sql); 150 //if (pages.Count == 1) 151 //{ 152 // page = pages[0]; 153 // pageUrl = Dynamicweb.Frontend.SearchEngineFriendlyURLs.GetFriendlyUrl(page.ID); 154 //} 155 //return pageUrl; 156 try 157 { 158 var page = ServiceLocator.Current.GetInstance<IPageService>().GetPageForItem(itemType, itemId); 159 160 return page == null ? "" : Dynamicweb.Frontend.SearchEngineFriendlyURLs.GetFriendlyUrl(page.ID); 161 } 162 catch(Exception ex) 163 { 164 throw new Exception("GetPageUrlByItem: " + ex.ToString()); 165 } 166 167 } 168 169 public static int GetMostRecentPageForThisItemType(string itemType) 170 { 171 try 172 { 173 int pageId = 0; 174 175 string sqlQuery = string.Format("SELECT PageID FROM Page WHERE pageitemtype = '{0}' order by CAST(ISNULL(PageItemId,0) AS int) DESC", itemType); 176 Int32.TryParse(Database.ExecuteScalar(sqlQuery).ToString(), out pageId); 177 178 return pageId; 179 } 180 catch(Exception ex) 181 { 182 throw new Exception("GetMostRecentPageForThisItemType: " + ex.ToString()); 183 } 184 185 } 186 187 public static int GetMostRecentItemIdForThisItemType(string itemType) 188 { 189 try 190 { 191 int pageItemId = 0; 192 193 string sqlQuery = string.Format("SELECT PageItemId FROM Page WHERE pageitemtype = '{0}' order by CAST(ISNULL(PageItemId,0) AS int) DESC", itemType); 194 Int32.TryParse(Database.ExecuteScalar(sqlQuery).ToString(), out pageItemId); 195 196 return pageItemId; 197 } 198 catch(Exception ex) 199 { 200 throw new Exception("GetMostRecentItemIdForThisItemType: " + ex.ToString()); 201 } 202 203 } 204 205 public static int GetPageByItemTypeAndParentPageId(string itemType, int parentPageId) 206 { 207 try 208 { 209 int pageId = 0; 210 211 string sqlQuery = string.Format("SELECT PageID FROM Page WHERE pageitemtype = '{0}' and PageParentPageID = '{1}'", itemType, parentPageId); 212 Int32.TryParse(Database.ExecuteScalar(sqlQuery).ToString(), out pageId); 213 214 return pageId; 215 } 216 catch(Exception ex) 217 { 218 throw new Exception("GetPageByItemTypeAndParentPageId: " + ex.ToString()); 219 } 220 } 221 222 public static int GetProcesInscrierePageId(int pageId) 223 { 224 try 225 { 226 int procesPageId = 0; 227 // Dynamicweb.Content.Page page = Dynamicweb.Content.Page.GetPageById(pageId); 228 Dynamicweb.Content.Page page = ServiceLocator.Current.GetInstance<IPageService>().GetPage(pageId); //Dynamicweb.Content.Page.GetPage(pageId); 229 while (page != null) 230 { 231 if (page.ItemType.ToLower() == "eveniment") 232 { 233 string sql = string.Format("SELECT PageID FROM Page WHERE PageParentPageID = '{0}' and PageMenuText = 'ProcesInscriere'", page.ID); 234 Int32.TryParse(Database.ExecuteScalar(sql).ToString(), out procesPageId); 235 break; 236 } 237 page = page.Parent; 238 } 239 return procesPageId; 240 } 241 catch(Exception ex) 242 { 243 throw new Exception("GetProcesInscrierePageId: " + ex.ToString()); 244 } 245 } 246 247 //Speakers 248 249 public static string GetConferinteBySpeakerId(string itemId) 250 { 251 try 252 { 253 string listIdsConferinte = ""; 254 255 string sql = string.Format("SELECT Id, Title FROM ItemType_Conferinta WHERE Id in (SELECT PageItemId FROM Page where PageItemType = 'conferinta') and (',' + RTRIM([Lista_Speakeri]) + ',') LIKE '%,{0},%' ORDER BY Data, OraInceput", itemId); 256 using (System.Data.IDataReader myReader = Database.CreateDataReader(sql.ToString())) 257 { 258 while (myReader.Read()) 259 { 260 listIdsConferinte += myReader["Id"].ToString() + ","; 261 } 262 } 263 listIdsConferinte = listIdsConferinte.TrimEnd(','); 264 265 return listIdsConferinte; 266 } 267 catch(Exception ex) 268 { 269 throw new Exception("GetConferinteBySpeakerId: " + ex.ToString()); 270 } 271 } 272 273 //User 274 275 public static bool CheckIfUserBoughtThisProduct(string userEmail, string productId) 276 { 277 try 278 { 279 bool result = false; 280 281 if (!string.IsNullOrEmpty(userEmail) && !string.IsNullOrEmpty(productId)) 282 { 283 string sql = string.Format("SELECT TOP 1 1 FROM EcomOrderLines where OrderLineProductID = '{0}' and OrderLineFieldValues like '%{1}%'", productId, userEmail); 284 285 using (System.Data.IDataReader myReader = Database.CreateDataReader(sql.ToString())) 286 { 287 while (myReader.Read()) 288 { 289 result = true; 290 break; 291 } 292 } 293 } 294 295 return result; 296 } 297 catch(Exception ex) 298 { 299 throw new Exception("CheckIfUserBoughtThisProduct: " + ex.ToString()); 300 } 301 302 } 303 304 } 305 @inherits RazorTemplateBase<RazorTemplateModel<Template>> 306 @using Dynamicweb.Rendering; 307 @using Dynamicweb.Modules.UserManagement; 308 @using Dynamicweb.Security.UserManagement; 309 @using Dynamicweb.Extensibility; 310 @using Dynamicweb.Content; 311 @using System 312 <!DOCTYPE html> 313 <!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]--> 314 <!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]--> 315 <!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]--> 316 <!--[if gt IE 8]> <html class="no-js"> <![endif]--> 317 <head> 318 319 @{ 320 321 var DisplayOptions = ""; 322 323 if (!string.IsNullOrEmpty(GetString("Item.Page.DisplayOptions"))){ 324 DisplayOptions = (GetString("Item.Page.DisplayOptions") == "wide") ? "container-wide" : ""; 325 326 } 327 328 @*string bannerImage = @BrandFusion.Dw.Functions.Item.GetHomeItemProperty(Convert.ToInt32(GetGlobalValue("Global:Page.ID")),"Eveniment","Banner").TrimStart('/'); 329 string bannerImageMobil = @BrandFusion.Dw.Functions.Item.GetHomeItemProperty(Convert.ToInt32(GetGlobalValue("Global:Page.ID")),"Eveniment","BannerMobil").TrimStart('/'); 330 string inscriereLink = @BrandFusion.Dw.Functions.Item.GetHomeItemProperty(Convert.ToInt32(GetGlobalValue("Global:Page.ID")),"Eveniment","Hyperlink").TrimStart('/');*@ 331 string bannerImage = @GetHomeItemProperty(Convert.ToInt32(GetGlobalValue("Global:Page.ID")),"Eveniment","Banner").TrimStart('/'); 332 string bannerImageMobil = @GetHomeItemProperty(Convert.ToInt32(GetGlobalValue("Global:Page.ID")),"Eveniment","BannerMobil").TrimStart('/'); 333 string inscriereLink = @GetHomeItemProperty(Convert.ToInt32(GetGlobalValue("Global:Page.ID")),"Eveniment","Hyperlink").TrimStart('/'); 334 string inscriereLinkCompare = inscriereLink; 335 336 337 338 } 339 340 @{ 341 342 if (!String.IsNullOrEmpty(inscriereLink) && inscriereLink.Length >= 26) 343 { 344 inscriereLinkCompare = inscriereLink.Substring(26); 345 346 } 347 348 349 } 350 351 <meta charset="utf-8"> 352 <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> 353 <meta name="viewport" content="width=device-width"> 354 355 <title>@GetValue("Title")</title> 356 @GetValue("MetaTags") 357 @GetValue("CopyRightNotice") 358 359 <link rel="profile" href="http://gmpg.org/xfn/11"> 360 <link rel="pingback" href="/Files/Templates/Designs/BusinessDays/xmlrpc.php"> 361 362 <!--[if lt IE 9]> 363 <script src="js/html5shiv.js"></script> 364 <script src="js/respond.min.js"></script> 365 <![endif]--> 366 367 @*foreach (LoopItem i in GetLoop("Item.Area.Groups") ){ 368 if (i.GetString("Item.Area.Group.Name") == "Header"){ 369 foreach (LoopItem j in i.GetLoop("Item.Area.Group.Fields")){ 370 <meta name='@j.GetString("Item.Area.Field.Name")' content='@j.GetString("Item.Area.Field.Value")'> 371 } 372 } 373 }*@ 374 375 <!--!Styles--> 376 <link href='//fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,600,700,800,300&subset=latin,latin-ext' rel='stylesheet' type='text/css'> 377 <link rel="alternate" type="application/rss+xml" title="Business Days &raquo; Feed" href="/Files/Templates/Designs/BusinessDays/feed/"> 378 <link rel="alternate" type="application/rss+xml" title="Business Days &raquo; Comments Feed" href="/Files/Templates/Designs/BusinessDays/comments/feed/"> 379 <link rel='stylesheet' id='bootstrap-css' href='/Files/Templates/Designs/BusinessDays/assets/css/bootstrap.css' type='text/css' media='all'> 380 <link rel='stylesheet' id='plugin-css' href='/Files/Templates/Designs/BusinessDays/assets/css/plugin.css' type='text/css' media='all'> 381 <link rel='stylesheet' id='font-awesome-css' href='/Files/Templates/Designs/BusinessDays/assets/css/font-awesome.min.css?ver=1.0' type='text/css' media='all'> 382 <link rel='stylesheet' id='style-css' href='/Files/Templates/Designs/BusinessDays/assets/style.css' type='text/css' media='all'> 383 <link rel='stylesheet' id='style-css' href='/Files/Templates/Designs/BusinessDays/assets/style2.css' type='text/css' media='all'> 384 <link rel='stylesheet' id='responsive-css' href='/Files/Templates/Designs/BusinessDays/assets/css/responsive.css' type='text/css' media='all'> 385 <link rel='stylesheet' id='custom-css' href='/Files/Templates/Designs/BusinessDays/assets/css/ereven.css' type='text/css' media='all'> 386 <link rel='stylesheet' id='style-css' href='/Files/Templates/Designs/BusinessDays/assets/mobile.css' type='text/css' media='all'> 387 388 389 <link rel="shortcut icon" href="/Files/Templates/Designs/BusinessDays/assets/images/favicon.ico"> 390 391 <link rel='stylesheet' id='demo-css' href='/Files/Templates/Designs/BusinessDays/assets/css/color.css' type='text/css' media='all'> 392 <script type='text/javascript' src='/Files/Templates/Designs/BusinessDays/assets/js/jquery.js'></script> 393 <link rel='prev' title='Video' href='/Files/Templates/Designs/BusinessDays/shortcodes/video/'> 394 <link rel='next' title='About' href='/Files/Templates/Designs/BusinessDays/about/'> 395 <style type="text/css"> 396 .recentcomments a { 397 display:inline!important; 398 padding:0!important; 399 margin:0!important; 400 } 401 </style> 402 403 <!--[if lt IE 9]> 404 <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script> 405 <script src="/Files/Templates/Designs/BusinessDays/assets/js/respond.js"></script> 406 <![endif]--> 407 408 409 <!--trackingjs start--> 410 <!--@Snippet(trackingJS)--> 411 <!-- start marketizator.com code --> 412 <link rel="dns-prefetch" href="//app.marketizator.com"> 413 <script type="text/javascript" src="//d2tgfbvjf3q6hn.cloudfront.net/js/84246f.js"></script> 414 <!-- end marketizator.com code --> 415 416 @*@BrandFusion.Dw.Functions.Item.GetHomeItemProperty( Convert.ToInt32(GetGlobalValue("Global:Page.ID")), "Eveniment","CodRemarketing") 417 @BrandFusion.Dw.Functions.Item.GetHomeItemProperty( Convert.ToInt32(GetGlobalValue("Global:Page.ID")), "Eveniment","GoogleAnalytics")*@ 418 @GetHomeItemProperty( Convert.ToInt32(GetGlobalValue("Global:Page.ID")), "Eveniment","CodRemarketing") 419 @GetHomeItemProperty( Convert.ToInt32(GetGlobalValue("Global:Page.ID")), "Eveniment","GoogleAnalytics") 420 <script type="text/javascript"> 421 var _gaq = _gaq || []; 422 _gaq.push(['_setAccount', 'UA-21447422-2']); 423 _gaq.push(['_trackPageview']); 424 425 (function() { 426 var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; 427 ga.src = ('https:' == document.location.protocol ? 'https://' : 'http://') + 'stats.g.doubleclick.net/dc.js'; 428 var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); 429 })(); 430 </script> 431 @GetString("Item.Area.Cod.Value") 432 433 @GetValue("Stylesheets") 434 @GetValue("Javascripts") 435 </head> 436 <body data-pageid='@GetGlobalValue("Global:Page.ID")' data-productpage='@GetValue("Item.Area.Catalog_Page")' data-paragraph='@GetValue("Item.Area.InstantSearch_Paragraph")' data-areaid='@GetGlobalValue("Global:Area.ID")'> 437 <!--[if lt IE 7]> 438 <p class="chromeframe">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> or <a href="http://www.google.com/chromeframe/?redirect=true">activate Google Chrome Frame</a> to improve your experience.</p> 439 <![endif]--> 440 <div class="mobile-big-wrapper"> 441 442 <!-- Mobile Navigation --> 443 <div class="mobile-nav left-view"> 444 <div class="mobile-main-nav"> 445 @GetValue("DwNavigation(Navigation)") 446 </div> 447 <div class="mobile-secondary-nav"> 448 <ul> 449 <li><a href='/Default.aspx?ID=@(GetString("LongLang").Equals("ro-RO") ? "1" : "10347")'>@Translate("home","Acasa")</a></li> 450 <li><a href='/Default.aspx?ID=@(GetString("LongLang").Equals("ro-RO") ? "82" : "10355")'>Contact</a></li> 451 @{ 452 //string user2 = Dynamicweb.Frontend.PageView.Current().User.UserName; 453 //var currentUser = Dynamicweb.Security.UserManagement.User.GetCurrentExtranetUser(); 454 var currentUser2 = Dynamicweb.Security.UserManagement.User.GetCurrentExtranetUser(); 455 // string user2 = currentUser == null ? "" : currentUser.Name; 456 } 457 458 @if(currentUser2 == null) 459 { 460 <li><a href='/Default.aspx?ID=@(GetString("LongLang").Equals("ro-RO") ? "12" : "10392")'>@Translate("createnewuser","Creeaza cont utilizator")</a></li> 461 <li><a href='/Default.aspx?ID=@(GetString("LongLang").Equals("ro-RO") ? "14" : "10393")'>Login</a></li> 462 } else { 463 <li><a href='/Default.aspx?ID=@(GetString("LongLang").Equals("ro-RO") ? "33" : "10391")'>@Translate("myaccount","Contul meu")</a></li> 464 <li><a href='/Admin/Public/ExtranetLogoff.aspx?ID=@(GetString("LongLang").Equals("ro-RO") ? "1" : "10347")' alt="@currentUser2.Name">Logout</a></li> 465 } 466 </ul> 467 </div> 468 </div> 469 <!-- Mobile Navigation End --> 470 <div class="mobile-wrapper"> 471 <div id="wrapper"> 472 473 <header id="header" role="banner" class="bottom-2"> 474 <div class="fixedheader hidden-xs hidden-sm"> 475 @* 476 <pre>@string.Join("\n", Values.Select(e => string.Format("{0}: {1}", e.Key, System.Web.HttpUtility.HtmlEncode(e.Value))).ToArray())</pre> 477 *@ 478 <div class="container"> 479 <div class="pull-left"> 480 <div class="fullmenu"> 481 <nav> 482 @GetValue("DwNavigation(menumainmenu)") 483 </nav> 484 </div> 485 </div> 486 </div> 487 </div> 488 489 490 <div class="container"> 491 <!-- header cos --> 492 @if(!@GetBoolean("Ecom:Order.IsEmpty")) { 493 string aux = "product"; 494 <div class="produse pull-right"> 495 <small> 496 @if (@GetInteger("Ecom:Order.OrderLines.TotalProductQuantity") != 1) { 497 aux = "products"; 498 } 499 <a href='/Default.aspx?ID=@Pageview.Area.Item["CartPageId"]'>@GetValue("Ecom:Order.OrderLines.TotalProductQuantity") @aux</a> <text> - @GetValue("Ecom:Order.OrderLines.Total.PriceWithVAT")</text> 500 501 </small> 502 </div> 503 <div class="cos pull-right"> 504 <a href='/Default.aspx?ID=@Pageview.Area.Item["CartPageId"]' class="header-cos"><i class="fa fa-shopping-cart"></i> <small>@Translate("shoppingcart", "shopping cart")</small></a> 505 </div> 506 } 507 <!-- header navbar --> 508 <nav class="navbar"> 509 <ul class="nav navbar-nav navbar-right hidden-sm hidden-xs"> 510 <li><a href='/Default.aspx?ID=@GetValue("DwAreaFirstPageID")'>@Translate("home", "Acasa")</a></li> 511 <li><a href='/Default.aspx?ID=@Pageview.Area.Item["ContactPage_ID"]'>@Translate("contact", "Contact")</a></li> 512 @{ 513 //string user = "";//Dynamicweb.Frontend.PageView.Current().User.UserName; 514 var currentUser = Dynamicweb.Security.UserManagement.User.GetCurrentExtranetUser(); 515 //if( string.IsNullOrEmpty(user) ) 516 if( currentUser == null ) 517 { 518 <li><a href='/Default.aspx?ID=@Pageview.Area.Item["CreateAccountPage_ID"]'>@Translate("createNewAccount", "Creeaza cont utilizator")</a></li> 519 <li><a href='/Default.aspx?ID=@Pageview.Area.Item["LoginPAge_ID"]'>@Translate("login", "Login")</a></li> 520 } else { 521 <li><a href='/Default.aspx?ID=@Pageview.Area.Item["MyAccountPage_ID"]'>@Translate("myaccount", "Contul meu")</a></li> 522 <li><a href="/Admin/Public/ExtranetLogoff.aspx?ID=1" title="@currentUser.Name">@Translate("logout", "Logout")</a></li> 523 } 524 } 525 <li> 526 <a href='/Default.aspx?ID=1' id="selectorLangRO" class='@(GetString("Lang").Equals("ro") ? "active" : "")'> 527 <img src="/Files/Templates/Designs/BusinessDays/assets/images/ro.png" alt="" class="d_inline_m m_right_7"> 528 </a> 529 </li> 530 <li> 531 <a href='/Default.aspx?ID=10347' id="selectorLangEN" class='@(GetString("Lang").Equals("en") ? "active" : "")'> 532 <img src="/Files/Templates/Designs/BusinessDays/assets/images/uk.png" alt="" class="d_inline_m m_right_7"> 533 </a> 534 </li> 535 </ul> 536 </nav> 537 </div> 538 539 540 541 <div class="container"> 542 <div id="main-header" class="clearfix"> 543 <div class="logo" role="banner"> 544 <p class="site-title bottom-0"> 545 <a title="Business Days" rel="home" href=""> 546 <img class="logo_standard img-responsive" src="/Files/Templates/Designs/BusinessDays/uploads/2014/01/logo.jpg" alt="Business Days"> 547 </a> 548 </p> 549 <span class="site-description">Business Days</span> 550 </div> 551 <div class="responsive-menu col-xs-6 visible-xs visible-sm pull-left reset-padding-left"> 552 <i class="fa fa-bars"></i> 553 @* <p class="mobile-menu-bars">Meniu</p> *@ 554 <ul class="responsive-menu-list"> 555 <li> 556 <a href='/Default.aspx?ID=1' id="selectorLangRO" class='@(GetString("Lang").Equals("ro") ? "active" : "")'> 557 <img src="/Files/Templates/Designs/BusinessDays/assets/images/ro.png" alt="" class="d_inline_m m_right_7"> 558 </a> 559 </li> 560 <li> 561 <a href='/Default.aspx?ID=10347' id="selectorLangEN" class='@(GetString("Lang").Equals("en") ? "active" : "")'> 562 <img src="/Files/Templates/Designs/BusinessDays/assets/images/uk.png" alt="" class="d_inline_m m_right_7"> 563 </a> 564 </li> 565 </ul> 566 </div> 567 <div class="countdown-timer-wrapper pull-right hidden-xs hidden-sm"> 568 <!--@Global:Paragraph.Content(333)--> 569 </div> 570 </div> 571 <div id="mainmenu" class="fullmenu hidden-xs hidden-sm"> 572 <nav> 573 @GetValue("DwNavigation(menumainmenu1)") 574 </nav> 575 </div> 576 577 </div> 578 </header> 579 580 581 <div class="container"> 582 <div class="row"> 583 584 <div class="banner-image" style="padding: 0px 15px"> 585 @if (Dynamicweb.Core.Converter.ToBoolean(GetGlobalValue("Global:Device.IsMobile"))) { 586 <img src='/@bannerImageMobil' class="img-responsive"> 587 } else { 588 <img src='/@bannerImage' class="img-responsive"> 589 } 590 591 </div> 592 <div id="content" class="col-md-12 col-lg-12 tab-container"> 593 <div class="entry-content bottom-30"> 594 <div class="mobile-tab-navigation hidden-md hidden-lg visible-sm visible-xs"></div> 595 596 <div id="tab-1014904837" class="tabs clearfix main"> 597 @GetValue("DwNavigation(secmainmenu1)") 598 599 600 <div class="ads below-header hidden-xs hidden-sm"></div> 601 <div id="heading" class="bottom-30 hidden-xs"> 602 <div class="container"> 603 <div class="heading-content"> 604 <div class="row"> 605 <!-- <div id="heading-title" class="col-md-4 col-lg-4 col-sm-4"> 606 <h6 class="heading-title large bottom-0">&nbsp;</h6> 607 </div> --> 608 <!--breadcrumbs--> 609 <div id="breadcrumbs" class="col-md-12 col-lg-12 col-sm-12 hidden-xs"> 610 @GetValue("DwNavigation(breadcrumbs)") 611 </div> 612 </div> 613 </div> 614 </div> 615 </div> 616 <div class="ads below-heading hidden-xs hidden-sm"> </div> 617 <section id="fullwidth" class="container"> 618 <div class="fullwidthcontent"> 619 <div id="content" class="fullwidth"> 620 <div class="entry-content bottom-30"> 621 <div id="main">@GetValue("DwContent(main)")</div> 622 </div> 623 </div> 624 </div> 625 </section> 626 627 <!--@SnippetStart(trackingJS)--> 628 @BrandFusion.Dw.Functions.Item.GetHomeItemProperty( Convert.ToInt32(GetGlobalValue("Global:Page.ID")), "Eveniment","ConversiePachetePret") 629 <!--@SnippetEnd(trackingJS)--> 630 </div> 631 <!-- <div class=" divider clearfix striptags"></div> --> 632 </div> 633 </div> 634 635 636 </div> 637 </div> 638 <footer id="footer"> 639 <div id="widgetarea" class="light"> 640 <div class="container"> 641 <div class="widgetcontent"> 642 <div class="row"> 643 <div id="footer-widget-1" class="bottom-30-sm bottom-30-xs col-lg-4 col-md-4"> 644 645 @if (GetString("LongLang").Equals("ro-RO")) 646 { 647 648 @RenderParagraphContent(326); 649 650 } 651 else if (GetString("LongLang").Equals("en-US")) 652 { 653 @RenderParagraphContent(4502); 654 655 } 656 </div> 657 <div id="footer-widget-2" class="bottom-30-sm bottom-30-xs col-lg-4 col-md-4"> 658 <div id="recent-comments-3" class="widget widget_recent_comments bottom-xs-30 bottom-sm-30"> 659 <div class="widget-title"> 660 <h5 class="widgettile">@Translate("lastArticles", "Ultimele Articole")</h5> 661 </div> 662 @GetValue("DwNavigation(agendaeveniment)") 663 </div> 664 </div> 665 <div id="footer-widget-4" class="bottom-30-sm bottom-30-xs col-lg-4 col-md-4"> 666 <div id="ereven_twitter-2" class="widget last-tweet bottom-xs-30 bottom-sm-30"> 667 <div class="widget-title"> 668 <h5 class="widgettile">@Translate("socialMedia", "Social Media")</h5> 669 </div> 670 <div> 671 <ul id="social" class="social clearfix"> 672 <!-- <li><a rel="nofollow" href="http://www.flickr.com/photos/businessdays" target="_blank"><img src="http://www.businessdays.ro/wp-content/themes/bd/images/flickr_icon.jpg" alt="" /></a></li> --> 673 674 <li><a rel="nofollow" href="http://feeds.feedburner.com/businessday" target="_blank"><i class="fa fa-rss fa-3x"></i></a></li> 675 <li><a rel="nofollow" href="http://twitter.com/#!/businessdaysro" target="_blank"><i class="fa fa-twitter fa-3x"></i></a></li> 676 <li><a rel="nofollow" href="http://www.facebook.com/#!/BusinessDays" target="_blank"><i class="fa fa-facebook fa-3x"></i></a></li> 677 <li><a rel="nofollow" href="http://www.linkedin.com/groups/Business-Days-3766018" target="_blank"><i class="fa fa-linkedin fa-3x"></i></a></li> 678 <li><a rel="nofollow" href="https://picasaweb.google.com/businessdaysro" target="_blank"><span class="picasa-icon"></span></a></li> 679 <li><a rel="nofollow" href="http://www.youtube.com/businessdaysro" target="_blank"><i class="fa fa-youtube fa-3x"></i></a></li> 680 <li><a rel="nofollow" href="http://www.slideshare.net/businessdays" target="_blank"><span class="slideshare-icon"></span></a></li> 681 <li><a rel="nofollow" href="https://plus.google.com/113464854804572684798/" target="_blank"><i class="fa fa-google-plus fa-3x"></i></a></li> 682 </ul> 683 </div> 684 685 </div> 686 </div> 687 </div> 688 </div> 689 </div> 690 </div> 691 <div id="credit" class="light"> 692 <div class="container"> 693 <div class="row"> 694 <div class="col-lg-3 col-md-3"> 695 <span style="font-size:14px;">Copyright 2014 - @DateTime.Now.Year by Business Days. Powered by <a href="http://www.brandfusion.ro/" title="BrandFusion">BrandFusion</a></span> 696 </div> 697 <div class="col-lg-9 col-md-9 text-right"> 698 <nav class="footer-menu"> 699 @GetValue("DwNavigation(footermenu)") 700 </nav> 701 </div> 702 </div> 703 </div> 704 </div> 705 </footer> 706 </div> 707 </div> 708 </div> 709 710 <!-- <script type='text/javascript' src='/Files/Templates/Designs/BusinessDays/includes/js/mediaelement/wp-mediaelement.js'></script> --> 711 <script type='text/javascript' src='/Files/Templates/Designs/BusinessDays/assets/js/bootstrap.js'></script> 712 <script type='text/javascript' src='/Files/Templates/Designs/BusinessDays/assets/js/superfish.js'></script> 713 <script type='text/javascript' src='/Files/Templates/Designs/BusinessDays/assets/js/easing.js'></script> 714 <script type='text/javascript' src='/Files/Templates/Designs/BusinessDays/assets/js/caroufredsel.js'></script> 715 <script type='text/javascript' src='/Files/Templates/Designs/BusinessDays/assets/js/fitvids.js'></script> 716 <script type='text/javascript' src='/Files/Templates/Designs/BusinessDays/assets/js/ticker.js'></script> 717 <script type='text/javascript' src='/Files/Templates/Designs/BusinessDays/assets/js/flexslider.js'></script> 718 <!-- <script type='text/javascript' src='/Files/Templates/Designs/BusinessDays/assets/js/jpanelmenu.js'></script> --> 719 <script type='text/javascript' src='/Files/Templates/Designs/BusinessDays/assets/js/magnificpopup.js'></script> 720 <!-- <script type='text/javascript' src='/Files/Templates/Designs/BusinessDays/assets/js/twitter/tweet.js'></script> --> 721 <script type='text/javascript' src='/Files/Templates/Designs/BusinessDays/assets/js/masonry.js'></script> 722 <script type='text/javascript' src='/Files/Templates/Designs/BusinessDays/assets/js/affix.js'></script> 723 <script type='text/javascript' src='/Files/Templates/Designs/BusinessDays/assets/js/functions.js'></script> 724 <script type='text/javascript' src='/Files/Templates/Designs/BusinessDays/assets/js/custom.js'></script> 725 <script type='text/javascript' src='/Files/Templates/Designs/BusinessDays/assets/js/jquery.countdown.js'></script> 726 <script type='text/javascript' src='/Files/Templates/Designs/BusinessDays/assets/js/main.js'></script> 727 <script type='text/javascript' src='/Files/Templates/Designs/BusinessDays/assets/js/mobile-menu.js'></script> 728 <!--@Snippet(footerJS)--> 729 @GetString("Item.Area.Cod_Body.Value") 730 <script type="text/javascript"> 731 var _mfq = _mfq || []; 732 (function() { 733 var mf = document.createElement("script"); mf.type = "text/javascript"; mf.async = true; 734 mf.src = "//cdn.mouseflow.com/projects/70c59ee0-2c20-40a4-af33-50f75d54cdbc.js"; 735 document.getElementsByTagName("head")[0].appendChild(mf); 736 })(); 737 </script> 738 739 </body> 740