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

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