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

1 //------------------------------------------------------------------------------ 2 // <auto-generated> 3 // This code was generated by a tool. 4 // Runtime Version:4.0.30319.42000 5 // 6 // Changes to this file may cause incorrect behavior and will be lost if 7 // the code is regenerated. 8 // </auto-generated> 9 //------------------------------------------------------------------------------ 10 11 namespace CompiledRazorTemplates.Dynamic { 12 13 #line 311 "Z:\Sites\_dotFusion\www.businessdays.ro\FIles\Templates\Designs\BusinessDays\_parsed\PricingTable.parsed.cshtml" 14 using System; 15 16 #line default 17 #line hidden 18 using System.Collections.Generic; 19 using System.Linq; 20 21 #line 1 "Z:\Sites\_dotFusion\www.businessdays.ro\FIles\Templates\Designs\BusinessDays\_parsed\PricingTable.parsed.cshtml" 22 using System.Web; 23 24 #line default 25 #line hidden 26 27 #line 310 "Z:\Sites\_dotFusion\www.businessdays.ro\FIles\Templates\Designs\BusinessDays\_parsed\PricingTable.parsed.cshtml" 28 using Dynamicweb.Content; 29 30 #line default 31 #line hidden 32 33 #line 3 "Z:\Sites\_dotFusion\www.businessdays.ro\FIles\Templates\Designs\BusinessDays\_parsed\PricingTable.parsed.cshtml" 34 using Dynamicweb.Data; 35 36 #line default 37 #line hidden 38 39 #line 309 "Z:\Sites\_dotFusion\www.businessdays.ro\FIles\Templates\Designs\BusinessDays\_parsed\PricingTable.parsed.cshtml" 40 using Dynamicweb.Extensibility; 41 42 #line default 43 #line hidden 44 45 #line 306 "Z:\Sites\_dotFusion\www.businessdays.ro\FIles\Templates\Designs\BusinessDays\_parsed\PricingTable.parsed.cshtml" 46 using Dynamicweb.Rendering; 47 48 #line default 49 #line hidden 50 51 #line 307 "Z:\Sites\_dotFusion\www.businessdays.ro\FIles\Templates\Designs\BusinessDays\_parsed\PricingTable.parsed.cshtml" 52 using Dynamicweb.Modules.UserManagement; 53 54 #line default 55 #line hidden 56 57 #line 308 "Z:\Sites\_dotFusion\www.businessdays.ro\FIles\Templates\Designs\BusinessDays\_parsed\PricingTable.parsed.cshtml" 58 using Dynamicweb.Security.UserManagement; 59 60 #line default 61 #line hidden 62 63 64 public class RazorEngine_58089ddad1f447c7b324f32a99a0f98c : RazorTemplateBase<RazorTemplateModel<Template>> { 65 66 #line hidden 67 68 #line 6 "Z:\Sites\_dotFusion\www.businessdays.ro\FIles\Templates\Designs\BusinessDays\_parsed\PricingTable.parsed.cshtml" 69 70 71 //Item 72 73 public static string GetHomeItemProperty(int pageId, string itemType, string propertyName) 74 { 75 try 76 { 77 string propertyValue = ""; 78 string homeItemId = ""; 79 //Dynamicweb.Content.Page page = Dynamicweb.Content.Page.GetPageById(pageId); 80 //Dynamicweb.Content.Page page = ServiceLocator.Current.GetInstance<IPageService>().GetPage(pageId); 81 Dynamicweb.Content.Page page = ServiceLocator.Current.GetPageService().GetPage(pageId); 82 83 while (page != null) 84 { 85 if (page.ItemType.Equals(itemType)) 86 { 87 homeItemId = page.ItemId; 88 } 89 page = page.Parent; 90 } 91 if (!string.IsNullOrEmpty(homeItemId)) 92 { 93 try 94 { 95 Dynamicweb.Content.Items.Item item = Dynamicweb.Content.Items.Item.GetItemById(itemType, homeItemId); 96 propertyValue = item[propertyName].ToString(); 97 } 98 catch { } 99 } 100 101 return propertyValue; 102 } 103 catch(Exception ex) 104 { 105 throw new Exception("GetHomeItemProperty: " + ex.ToString()); 106 } 107 } 108 109 public static bool SetUserIdInItemList(string userId, string itemType, string itemId, string propertyName, bool insert = true) 110 { 111 try 112 { 113 114 115 bool succes = false; 116 if (!string.IsNullOrEmpty(userId) && userId != "0") 117 { 118 Dynamicweb.Content.Items.Item item = Dynamicweb.Content.Items.Item.GetItemById(itemType, itemId); 119 if (item != null) 120 { 121 string listValues = ""; 122 try 123 { 124 //daca e item nou creat adaugam direct userul 125 if (item[propertyName] == null || String.IsNullOrEmpty(item[propertyName].ToString())) 126 { 127 if (insert) 128 { 129 item[propertyName] = (listValues + "," + userId).TrimStart(','); 130 item.Save(); 131 succes = true; 132 } 133 } 134 else 135 { 136 listValues = item[propertyName].ToString(); 137 if (!("," + listValues + ",").Contains("," + userId + ",")) 138 { 139 if (insert) 140 { 141 item[propertyName] = (listValues + "," + userId).TrimStart(','); 142 item.Save(); 143 succes = true; 144 } 145 } 146 else 147 { 148 if (!insert) 149 { 150 item[propertyName] = ("," + listValues + ",").Replace("," + userId + ",", "").TrimEnd(',').TrimStart(','); 151 item.Save(); 152 succes = true; 153 } 154 } 155 } 156 } 157 catch { } 158 } 159 } 160 return succes; 161 } 162 catch(Exception ex) 163 { 164 throw new Exception("SetUserIdInItemList: " + ex.ToString()); 165 } 166 } 167 168 //Page 169 170 public static Dynamicweb.Content.Page GetPageByItem(string itemType, string itemId) 171 { 172 //Dynamicweb.Content.Page page = null; 173 //string sql = string.Format("SELECT * FROM Page WHERE PageItemType = '{0}' and PageItemId = '{1}'", itemType, itemId); 174 //// 😍 175 176 177 178 //var pages = Dynamicweb.Content.Page.GetPagesBySql(sql); 179 180 181 //if (pages.Count == 1) 182 //{ 183 // page = pages[0]; 184 //} 185 //return page; 186 try 187 { 188 189 var page = ServiceLocator.Current.GetInstance<IPageService>().GetPageForItem(itemType, itemId); 190 191 if (page == null) 192 { 193 throw new InvalidOperationException("The page for itemType {itemType}, itemId {itemId} does not exist."); 194 } 195 196 return page; 197 } 198 catch(Exception ex) 199 { 200 throw new Exception("GetPageByItem: " + ex.ToString()); 201 } 202 203 } 204 205 public static string GetPageUrlByItem(string itemType, string itemId) 206 { 207 // TODO: remove after checking 208 //Dynamicweb.Content.Page page = null; 209 //string pageUrl = ""; 210 211 //string sql = string.Format("SELECT * FROM Page WHERE PageItemType = '{0}' and PageItemId = '{1}'", itemType, itemId); 212 ////var pages = Dynamicweb.Content.Page.GetPagesBySql(sql); 213 //if (pages.Count == 1) 214 //{ 215 // page = pages[0]; 216 // pageUrl = Dynamicweb.Frontend.SearchEngineFriendlyURLs.GetFriendlyUrl(page.ID); 217 //} 218 //return pageUrl; 219 try 220 { 221 var page = ServiceLocator.Current.GetInstance<IPageService>().GetPageForItem(itemType, itemId); 222 223 return page == null ? "" : Dynamicweb.Frontend.SearchEngineFriendlyURLs.GetFriendlyUrl(page.ID); 224 } 225 catch(Exception ex) 226 { 227 throw new Exception("GetPageUrlByItem: " + ex.ToString()); 228 } 229 230 } 231 232 public static int GetMostRecentPageForThisItemType(string itemType) 233 { 234 try 235 { 236 int pageId = 0; 237 238 string sqlQuery = string.Format("SELECT PageID FROM Page WHERE pageitemtype = '{0}' order by CAST(ISNULL(PageItemId,0) AS int) DESC", itemType); 239 Int32.TryParse(Database.ExecuteScalar(sqlQuery).ToString(), out pageId); 240 241 return pageId; 242 } 243 catch(Exception ex) 244 { 245 throw new Exception("GetMostRecentPageForThisItemType: " + ex.ToString()); 246 } 247 248 } 249 250 public static int GetMostRecentItemIdForThisItemType(string itemType) 251 { 252 try 253 { 254 int pageItemId = 0; 255 256 string sqlQuery = string.Format("SELECT PageItemId FROM Page WHERE pageitemtype = '{0}' order by CAST(ISNULL(PageItemId,0) AS int) DESC", itemType); 257 Int32.TryParse(Database.ExecuteScalar(sqlQuery).ToString(), out pageItemId); 258 259 return pageItemId; 260 } 261 catch(Exception ex) 262 { 263 throw new Exception("GetMostRecentItemIdForThisItemType: " + ex.ToString()); 264 } 265 266 } 267 268 public static int GetPageByItemTypeAndParentPageId(string itemType, int parentPageId) 269 { 270 try 271 { 272 int pageId = 0; 273 274 string sqlQuery = string.Format("SELECT PageID FROM Page WHERE pageitemtype = '{0}' and PageParentPageID = '{1}'", itemType, parentPageId); 275 Int32.TryParse(Database.ExecuteScalar(sqlQuery).ToString(), out pageId); 276 277 return pageId; 278 } 279 catch(Exception ex) 280 { 281 throw new Exception("GetPageByItemTypeAndParentPageId: " + ex.ToString()); 282 } 283 } 284 285 public static int GetProcesInscrierePageId(int pageId) 286 { 287 try 288 { 289 int procesPageId = 0; 290 // Dynamicweb.Content.Page page = Dynamicweb.Content.Page.GetPageById(pageId); 291 Dynamicweb.Content.Page page = ServiceLocator.Current.GetInstance<IPageService>().GetPage(pageId); //Dynamicweb.Content.Page.GetPage(pageId); 292 while (page != null) 293 { 294 if (page.ItemType.ToLower() == "eveniment") 295 { 296 string sql = string.Format("SELECT PageID FROM Page WHERE PageParentPageID = '{0}' and PageMenuText = 'ProcesInscriere'", page.ID); 297 Int32.TryParse(Database.ExecuteScalar(sql).ToString(), out procesPageId); 298 break; 299 } 300 page = page.Parent; 301 } 302 return procesPageId; 303 } 304 catch(Exception ex) 305 { 306 throw new Exception("GetProcesInscrierePageId: " + ex.ToString()); 307 } 308 } 309 310 //Speakers 311 312 public static string GetConferinteBySpeakerId(string itemId) 313 { 314 try 315 { 316 string listIdsConferinte = ""; 317 318 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); 319 using (System.Data.IDataReader myReader = Database.CreateDataReader(sql.ToString())) 320 { 321 while (myReader.Read()) 322 { 323 listIdsConferinte += myReader["Id"].ToString() + ","; 324 } 325 } 326 listIdsConferinte = listIdsConferinte.TrimEnd(','); 327 328 return listIdsConferinte; 329 } 330 catch(Exception ex) 331 { 332 throw new Exception("GetConferinteBySpeakerId: " + ex.ToString()); 333 } 334 } 335 336 //User 337 338 public static bool CheckIfUserBoughtThisProduct(string userEmail, string productId) 339 { 340 try 341 { 342 bool result = false; 343 344 if (!string.IsNullOrEmpty(userEmail) && !string.IsNullOrEmpty(productId)) 345 { 346 string sql = string.Format("SELECT TOP 1 1 FROM EcomOrderLines where OrderLineProductID = '{0}' and OrderLineFieldValues like '%{1}%'", productId, userEmail); 347 348 using (System.Data.IDataReader myReader = Database.CreateDataReader(sql.ToString())) 349 { 350 while (myReader.Read()) 351 { 352 result = true; 353 break; 354 } 355 } 356 } 357 358 return result; 359 } 360 catch(Exception ex) 361 { 362 throw new Exception("CheckIfUserBoughtThisProduct: " + ex.ToString()); 363 } 364 365 } 366 367 368 #line default 369 #line hidden 370 371 372 public RazorEngine_58089ddad1f447c7b324f32a99a0f98c() { 373 } 374 375 public override void Execute() { 376 WriteLiteral("\r\n"); 377 378 WriteLiteral(@"<!DOCTYPE html> 379 <!--[if lt IE 7]> <html class=""no-js lt-ie9 lt-ie8 lt-ie7""> <![endif]--> 380 <!--[if IE 7]> <html class=""no-js lt-ie9 lt-ie8""> <![endif]--> 381 <!--[if IE 8]> <html class=""no-js lt-ie9""> <![endif]--> 382 <!--[if gt IE 8]> <html class=""no-js""> <![endif]--> 383 <head> 384 385 "); 386 387 388 #line 319 "Z:\Sites\_dotFusion\www.businessdays.ro\FIles\Templates\Designs\BusinessDays\_parsed\PricingTable.parsed.cshtml" 389 390 391 #line default 392 #line hidden 393 394 #line 319 "Z:\Sites\_dotFusion\www.businessdays.ro\FIles\Templates\Designs\BusinessDays\_parsed\PricingTable.parsed.cshtml" 395 396 397 var DisplayOptions = ""; 398 399 if (!string.IsNullOrEmpty(GetString("Item.Page.DisplayOptions"))){ 400 DisplayOptions = (GetString("Item.Page.DisplayOptions") == "wide") ? "container-wide" : ""; 401 402 } 403 404 405 406 #line default 407 #line hidden 408 409 #line 330 "Z:\Sites\_dotFusion\www.businessdays.ro\FIles\Templates\Designs\BusinessDays\_parsed\PricingTable.parsed.cshtml" 410 411 string bannerImage = @GetHomeItemProperty(Convert.ToInt32(GetGlobalValue("Global:Page.ID")),"Eveniment","Banner").TrimStart('/'); 412 string bannerImageMobil = @GetHomeItemProperty(Convert.ToInt32(GetGlobalValue("Global:Page.ID")),"Eveniment","BannerMobil").TrimStart('/'); 413 string inscriereLink = @GetHomeItemProperty(Convert.ToInt32(GetGlobalValue("Global:Page.ID")),"Eveniment","Hyperlink").TrimStart('/'); 414 string inscriereLinkCompare = inscriereLink; 415 416 417 418 419 420 #line default 421 #line hidden 422 WriteLiteral("\r\n\r\n"); 423 424 425 #line 340 "Z:\Sites\_dotFusion\www.businessdays.ro\FIles\Templates\Designs\BusinessDays\_parsed\PricingTable.parsed.cshtml" 426 427 428 #line default 429 #line hidden 430 431 #line 340 "Z:\Sites\_dotFusion\www.businessdays.ro\FIles\Templates\Designs\BusinessDays\_parsed\PricingTable.parsed.cshtml" 432 433 434 if (!String.IsNullOrEmpty(inscriereLink) && inscriereLink.Length >= 26) 435 { 436 inscriereLinkCompare = inscriereLink.Substring(26); 437 438 } 439 440 441 442 443 #line default 444 #line hidden 445 WriteLiteral("\r\n \r\n <meta"); 446 447 WriteLiteral(" charset=\"utf-8\""); 448 449 WriteLiteral(">\r\n <meta"); 450 451 WriteLiteral(" http-equiv=\"X-UA-Compatible\""); 452 453 WriteLiteral(" content=\"IE=edge,chrome=1\""); 454 455 WriteLiteral(">\r\n <meta"); 456 457 WriteLiteral(" name=\"viewport\""); 458 459 WriteLiteral(" content=\"width=device-width\""); 460 461 WriteLiteral(">\r\n\r\n <title>"); 462 463 464 #line 355 "Z:\Sites\_dotFusion\www.businessdays.ro\FIles\Templates\Designs\BusinessDays\_parsed\PricingTable.parsed.cshtml" 465 Write(GetValue("Title")); 466 467 468 #line default 469 #line hidden 470 WriteLiteral("</title>\r\n"); 471 472 473 #line 356 "Z:\Sites\_dotFusion\www.businessdays.ro\FIles\Templates\Designs\BusinessDays\_parsed\PricingTable.parsed.cshtml" 474 Write(GetValue("MetaTags")); 475 476 477 #line default 478 #line hidden 479 WriteLiteral("\r\n"); 480 481 482 #line 357 "Z:\Sites\_dotFusion\www.businessdays.ro\FIles\Templates\Designs\BusinessDays\_parsed\PricingTable.parsed.cshtml" 483 Write(GetValue("CopyRightNotice")); 484 485 486 #line default 487 #line hidden 488 WriteLiteral("\r\n\r\n <link"); 489 490 WriteLiteral(" rel=\"profile\""); 491 492 WriteLiteral(" href=\"http://gmpg.org/xfn/11\""); 493 494 WriteLiteral(">\r\n <link"); 495 496 WriteLiteral(" rel=\"pingback\""); 497 498 WriteLiteral(" href=\"/Files/Templates/Designs/BusinessDays/xmlrpc.php\""); 499 500 WriteLiteral(">\r\n\r\n <!--[if lt IE 9]>\r\n <script src=\"js/html5shiv.js\"></script>\r\n <scr" + 501 "ipt src=\"js/respond.min.js\"></script>\r\n\t<![endif]-->\r\n \r\n "); 502 503 WriteLiteral("\r\n \r\n <!--!Styles--> \r\n <link"); 504 505 WriteLiteral(" href=\'//fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic," + 506 "700italic,800italic,400,600,700,800,300&subset=latin,latin-ext\'"); 507 508 WriteLiteral(" rel=\'stylesheet\'"); 509 510 WriteLiteral(" type=\'text/css\'"); 511 512 WriteLiteral("> \r\n <link"); 513 514 WriteLiteral(" rel=\"alternate\""); 515 516 WriteLiteral(" type=\"application/rss+xml\""); 517 518 WriteLiteral(" title=\"Business Days &raquo; Feed\""); 519 520 WriteLiteral(" href=\"/Files/Templates/Designs/BusinessDays/feed/\""); 521 522 WriteLiteral(">\r\n <link"); 523 524 WriteLiteral(" rel=\"alternate\""); 525 526 WriteLiteral(" type=\"application/rss+xml\""); 527 528 WriteLiteral(" title=\"Business Days &raquo; Comments Feed\""); 529 530 WriteLiteral(" href=\"/Files/Templates/Designs/BusinessDays/comments/feed/\""); 531 532 WriteLiteral(">\r\n <link"); 533 534 WriteLiteral(" rel=\'stylesheet\'"); 535 536 WriteLiteral(" id=\'bootstrap-css\'"); 537 538 WriteLiteral(" href=\'/Files/Templates/Designs/BusinessDays/assets/css/bootstrap.css\'"); 539 540 WriteLiteral(" type=\'text/css\'"); 541 542 WriteLiteral(" media=\'all\'"); 543 544 WriteLiteral(">\r\n <link"); 545 546 WriteLiteral(" rel=\'stylesheet\'"); 547 548 WriteLiteral(" id=\'plugin-css\'"); 549 550 WriteLiteral(" href=\'/Files/Templates/Designs/BusinessDays/assets/css/plugin.css\'"); 551 552 WriteLiteral(" type=\'text/css\'"); 553 554 WriteLiteral(" media=\'all\'"); 555 556 WriteLiteral(">\r\n <link"); 557 558 WriteLiteral(" rel=\'stylesheet\'"); 559 560 WriteLiteral(" id=\'font-awesome-css\'"); 561 562 WriteLiteral(" href=\'/Files/Templates/Designs/BusinessDays/assets/css/font-awesome.min.css?ver=" + 563 "1.0\'"); 564 565 WriteLiteral(" type=\'text/css\'"); 566 567 WriteLiteral(" media=\'all\'"); 568 569 WriteLiteral(">\r\n <link"); 570 571 WriteLiteral(" rel=\'stylesheet\'"); 572 573 WriteLiteral(" id=\'style-css\'"); 574 575 WriteLiteral(" href=\'/Files/Templates/Designs/BusinessDays/assets/style.css\'"); 576 577 WriteLiteral(" type=\'text/css\'"); 578 579 WriteLiteral(" media=\'all\'"); 580 581 WriteLiteral(">\r\n <link"); 582 583 WriteLiteral(" rel=\'stylesheet\'"); 584 585 WriteLiteral(" id=\'style-css\'"); 586 587 WriteLiteral(" href=\'/Files/Templates/Designs/BusinessDays/assets/style2.css\'"); 588 589 WriteLiteral(" type=\'text/css\'"); 590 591 WriteLiteral(" media=\'all\'"); 592 593 WriteLiteral(">\r\n <link"); 594 595 WriteLiteral(" rel=\'stylesheet\'"); 596 597 WriteLiteral(" id=\'responsive-css\'"); 598 599 WriteLiteral(" href=\'/Files/Templates/Designs/BusinessDays/assets/css/responsive.css\'"); 600 601 WriteLiteral(" type=\'text/css\'"); 602 603 WriteLiteral(" media=\'all\'"); 604 605 WriteLiteral(">\r\n <link"); 606 607 WriteLiteral(" rel=\'stylesheet\'"); 608 609 WriteLiteral(" id=\'custom-css\'"); 610 611 WriteLiteral(" href=\'/Files/Templates/Designs/BusinessDays/assets/css/ereven.css\'"); 612 613 WriteLiteral(" type=\'text/css\'"); 614 615 WriteLiteral(" media=\'all\'"); 616 617 WriteLiteral(">\r\n <link"); 618 619 WriteLiteral(" rel=\'stylesheet\'"); 620 621 WriteLiteral(" id=\'style-css\'"); 622 623 WriteLiteral(" href=\'/Files/Templates/Designs/BusinessDays/assets/mobile.css\'"); 624 625 WriteLiteral(" type=\'text/css\'"); 626 627 WriteLiteral(" media=\'all\'"); 628 629 WriteLiteral(">\r\n\r\n \r\n <link"); 630 631 WriteLiteral(" rel=\"shortcut icon\""); 632 633 WriteLiteral(" href=\"/Files/Templates/Designs/BusinessDays/assets/images/favicon.ico\""); 634 635 WriteLiteral("> \r\n \r\n <link"); 636 637 WriteLiteral(" rel=\'stylesheet\'"); 638 639 WriteLiteral(" id=\'demo-css\'"); 640 641 WriteLiteral(" href=\'/Files/Templates/Designs/BusinessDays/assets/css/color.css\'"); 642 643 WriteLiteral(" type=\'text/css\'"); 644 645 WriteLiteral(" media=\'all\'"); 646 647 WriteLiteral(">\r\n <script"); 648 649 WriteLiteral(" type=\'text/javascript\'"); 650 651 WriteLiteral(" src=\'/Files/Templates/Designs/BusinessDays/assets/js/jquery.js\'"); 652 653 WriteLiteral("></script>\r\n <link"); 654 655 WriteLiteral(" rel=\'prev\'"); 656 657 WriteLiteral(" title=\'Video\'"); 658 659 WriteLiteral(" href=\'/Files/Templates/Designs/BusinessDays/shortcodes/video/\'"); 660 661 WriteLiteral(">\r\n <link"); 662 663 WriteLiteral(" rel=\'next\'"); 664 665 WriteLiteral(" title=\'About\'"); 666 667 WriteLiteral(" href=\'/Files/Templates/Designs/BusinessDays/about/\'"); 668 669 WriteLiteral(">\r\n <style"); 670 671 WriteLiteral(" type=\"text/css\""); 672 673 WriteLiteral(@"> 674 .recentcomments a { 675 display:inline!important; 676 padding:0!important; 677 margin:0!important; 678 } 679 </style> 680 681 <!--[if lt IE 9]> 682 <script src=""https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js""></script> 683 <script src=""/Files/Templates/Designs/BusinessDays/assets/js/respond.js""></script> 684 <![endif]--> 685 686 687 <!--trackingjs start--> 688 <!--$$Snippet(trackingJS)--> 689 <!-- start marketizator.com code --> 690 <link"); 691 692 WriteLiteral(" rel=\"dns-prefetch\""); 693 694 WriteLiteral(" href=\"//app.marketizator.com\""); 695 696 WriteLiteral("> \r\n <script"); 697 698 WriteLiteral(" type=\"text/javascript\""); 699 700 WriteLiteral(" src=\"//d2tgfbvjf3q6hn.cloudfront.net/js/84246f.js\""); 701 702 WriteLiteral("></script>\r\n <!-- end marketizator.com code -->\r\n \r\n "); 703 704 WriteLiteral("\r\n"); 705 706 WriteLiteral(" "); 707 708 709 #line 418 "Z:\Sites\_dotFusion\www.businessdays.ro\FIles\Templates\Designs\BusinessDays\_parsed\PricingTable.parsed.cshtml" 710 Write(GetHomeItemProperty( Convert.ToInt32(GetGlobalValue("Global:Page.ID")), "Eveniment","CodRemarketing")); 711 712 713 #line default 714 #line hidden 715 WriteLiteral("\r\n"); 716 717 WriteLiteral(" "); 718 719 720 #line 419 "Z:\Sites\_dotFusion\www.businessdays.ro\FIles\Templates\Designs\BusinessDays\_parsed\PricingTable.parsed.cshtml" 721 Write(GetHomeItemProperty( Convert.ToInt32(GetGlobalValue("Global:Page.ID")), "Eveniment","GoogleAnalytics")); 722 723 724 #line default 725 #line hidden 726 WriteLiteral("\r\n <script"); 727 728 WriteLiteral(" type=\"text/javascript\""); 729 730 WriteLiteral(@"> 731 var _gaq = _gaq || []; 732 _gaq.push(['_setAccount', 'UA-21447422-2']); 733 _gaq.push(['_trackPageview']); 734 735 (function() { 736 var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; 737 ga.src = ('https:' == document.location.protocol ? 'https://' : 'http://') + 'stats.g.doubleclick.net/dc.js'; 738 var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); 739 })(); 740 </script> 741 "); 742 743 WriteLiteral("\t"); 744 745 746 #line 431 "Z:\Sites\_dotFusion\www.businessdays.ro\FIles\Templates\Designs\BusinessDays\_parsed\PricingTable.parsed.cshtml" 747 Write(GetString("Item.Area.Cod.Value")); 748 749 750 #line default 751 #line hidden 752 WriteLiteral("\r\n \r\n"); 753 754 WriteLiteral(" "); 755 756 757 #line 433 "Z:\Sites\_dotFusion\www.businessdays.ro\FIles\Templates\Designs\BusinessDays\_parsed\PricingTable.parsed.cshtml" 758 Write(GetValue("Stylesheets")); 759 760 761 #line default 762 #line hidden 763 WriteLiteral("\r\n"); 764 765 766 #line 434 "Z:\Sites\_dotFusion\www.businessdays.ro\FIles\Templates\Designs\BusinessDays\_parsed\PricingTable.parsed.cshtml" 767 Write(GetValue("Javascripts")); 768 769 770 #line default 771 #line hidden 772 WriteLiteral("\r\n</head>\r\n <body"); 773 774 WriteLiteral(" data-pageid=\'"); 775 776 777 #line 436 "Z:\Sites\_dotFusion\www.businessdays.ro\FIles\Templates\Designs\BusinessDays\_parsed\PricingTable.parsed.cshtml" 778 Write(GetGlobalValue("Global:Page.ID")); 779 780 781 #line default 782 #line hidden 783 WriteLiteral("\'"); 784 785 WriteLiteral(" data-productpage=\'"); 786 787 788 #line 436 "Z:\Sites\_dotFusion\www.businessdays.ro\FIles\Templates\Designs\BusinessDays\_parsed\PricingTable.parsed.cshtml" 789 Write(GetValue("Item.Area.Catalog_Page")); 790 791 792 #line default 793 #line hidden 794 WriteLiteral("\'"); 795 796 WriteLiteral(" data-paragraph=\'"); 797 798 799 #line 436 "Z:\Sites\_dotFusion\www.businessdays.ro\FIles\Templates\Designs\BusinessDays\_parsed\PricingTable.parsed.cshtml" 800 Write(GetValue("Item.Area.InstantSearch_Paragraph")); 801 802 803 #line default 804 #line hidden 805 WriteLiteral("\'"); 806 807 WriteLiteral(" data-areaid=\'"); 808 809 810 #line 436 "Z:\Sites\_dotFusion\www.businessdays.ro\FIles\Templates\Designs\BusinessDays\_parsed\PricingTable.parsed.cshtml" 811 Write(GetGlobalValue("Global:Area.ID")); 812 813 814 #line default 815 #line hidden 816 WriteLiteral("\'"); 817 818 WriteLiteral(@"> 819 <!--[if lt IE 7]> 820 <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> 821 <![endif]--> 822 <div"); 823 824 WriteLiteral(" class=\"mobile-big-wrapper\""); 825 826 WriteLiteral(">\r\n \r\n <!-- Mobile Navigation -->\r\n <div"); 827 828 WriteLiteral(" class=\"mobile-nav left-view\""); 829 830 WriteLiteral("> \r\n <div"); 831 832 WriteLiteral(" class=\"mobile-main-nav\""); 833 834 WriteLiteral("> \r\n"); 835 836 WriteLiteral(" "); 837 838 839 #line 445 "Z:\Sites\_dotFusion\www.businessdays.ro\FIles\Templates\Designs\BusinessDays\_parsed\PricingTable.parsed.cshtml" 840 Write(GetValue("DwNavigation(Navigation)")); 841 842 843 #line default 844 #line hidden 845 WriteLiteral("\r\n </div>\r\n <div"); 846 847 WriteLiteral(" class=\"mobile-secondary-nav\""); 848 849 WriteLiteral(">\r\n <ul>\r\n <li><a"); 850 851 WriteAttribute("href", Tuple.Create(" href=\'", 18937), Tuple.Create("\'", 19017) 852 , Tuple.Create(Tuple.Create("", 18944), Tuple.Create("/Default.aspx?ID=", 18944), true) 853 854 #line 449 "Z:\Sites\_dotFusion\www.businessdays.ro\FIles\Templates\Designs\BusinessDays\_parsed\PricingTable.parsed.cshtml" 855 , Tuple.Create(Tuple.Create("", 18961), Tuple.Create<System.Object, System.Int32>(GetString("LongLang").Equals("ro-RO") ? "1" : "10347" 856 857 #line default 858 #line hidden 859 , 18961), false) 860 ); 861 862 WriteLiteral(">"); 863 864 865 #line 449 "Z:\Sites\_dotFusion\www.businessdays.ro\FIles\Templates\Designs\BusinessDays\_parsed\PricingTable.parsed.cshtml" 866 Write(Translate("home","Acasa")); 867 868 869 #line default 870 #line hidden 871 WriteLiteral("</a></li>\r\n <li><a"); 872 873 WriteAttribute("href", Tuple.Create(" href=\'", 19072), Tuple.Create("\'", 19153) 874 , Tuple.Create(Tuple.Create("", 19079), Tuple.Create("/Default.aspx?ID=", 19079), true) 875 876 #line 450 "Z:\Sites\_dotFusion\www.businessdays.ro\FIles\Templates\Designs\BusinessDays\_parsed\PricingTable.parsed.cshtml" 877 , Tuple.Create(Tuple.Create("", 19096), Tuple.Create<System.Object, System.Int32>(GetString("LongLang").Equals("ro-RO") ? "82" : "10355" 878 879 #line default 880 #line hidden 881 , 19096), false) 882 ); 883 884 WriteLiteral(">Contact</a></li> \r\n"); 885 886 887 #line 451 "Z:\Sites\_dotFusion\www.businessdays.ro\FIles\Templates\Designs\BusinessDays\_parsed\PricingTable.parsed.cshtml" 888 889 890 #line default 891 #line hidden 892 893 #line 451 "Z:\Sites\_dotFusion\www.businessdays.ro\FIles\Templates\Designs\BusinessDays\_parsed\PricingTable.parsed.cshtml" 894 895 //string user2 = Dynamicweb.Frontend.PageView.Current().User.UserName; 896 //var currentUser = Dynamicweb.Security.UserManagement.User.GetCurrentExtranetUser(); 897 var currentUser2 = Dynamicweb.Security.UserManagement.User.GetCurrentExtranetUser(); 898 // string user2 = currentUser == null ? "" : currentUser.Name; 899 900 901 #line default 902 #line hidden 903 WriteLiteral("\r\n \r\n"); 904 905 906 #line 458 "Z:\Sites\_dotFusion\www.businessdays.ro\FIles\Templates\Designs\BusinessDays\_parsed\PricingTable.parsed.cshtml" 907 908 909 #line default 910 #line hidden 911 912 #line 458 "Z:\Sites\_dotFusion\www.businessdays.ro\FIles\Templates\Designs\BusinessDays\_parsed\PricingTable.parsed.cshtml" 913 if(currentUser2 == null) 914 { 915 916 917 #line default 918 #line hidden 919 WriteLiteral(" <li><a"); 920 921 WriteAttribute("href", Tuple.Create(" href=\'", 19638), Tuple.Create("\'", 19719) 922 , Tuple.Create(Tuple.Create("", 19645), Tuple.Create("/Default.aspx?ID=", 19645), true) 923 924 #line 460 "Z:\Sites\_dotFusion\www.businessdays.ro\FIles\Templates\Designs\BusinessDays\_parsed\PricingTable.parsed.cshtml" 925 , Tuple.Create(Tuple.Create("", 19662), Tuple.Create<System.Object, System.Int32>(GetString("LongLang").Equals("ro-RO") ? "12" : "10392" 926 927 #line default 928 #line hidden 929 , 19662), false) 930 ); 931 932 WriteLiteral(">"); 933 934 935 #line 460 "Z:\Sites\_dotFusion\www.businessdays.ro\FIles\Templates\Designs\BusinessDays\_parsed\PricingTable.parsed.cshtml" 936 Write(Translate("createnewuser","Creeaza cont utilizator")); 937 938 939 #line default 940 #line hidden 941 WriteLiteral("</a></li>\r\n"); 942 943 WriteLiteral(" <li><a"); 944 945 WriteAttribute("href", Tuple.Create(" href=\'", 19803), Tuple.Create("\'", 19884) 946 , Tuple.Create(Tuple.Create("", 19810), Tuple.Create("/Default.aspx?ID=", 19810), true) 947 948 #line 461 "Z:\Sites\_dotFusion\www.businessdays.ro\FIles\Templates\Designs\BusinessDays\_parsed\PricingTable.parsed.cshtml" 949 , Tuple.Create(Tuple.Create("", 19827), Tuple.Create<System.Object, System.Int32>(GetString("LongLang").Equals("ro-RO") ? "14" : "10393" 950 951 #line default 952 #line hidden 953 , 19827), false) 954 ); 955 956 WriteLiteral(">Login</a></li>\r\n"); 957 958 959 #line 462 "Z:\Sites\_dotFusion\www.businessdays.ro\FIles\Templates\Designs\BusinessDays\_parsed\PricingTable.parsed.cshtml" 960 } else { 961 962 963 #line default 964 #line hidden 965 WriteLiteral(" <li><a"); 966 967 WriteAttribute("href", Tuple.Create(" href=\'", 19940), Tuple.Create("\'", 20021) 968 , Tuple.Create(Tuple.Create("", 19947), Tuple.Create("/Default.aspx?ID=", 19947), true) 969 970 #line 463 "Z:\Sites\_dotFusion\www.businessdays.ro\FIles\Templates\Designs\BusinessDays\_parsed\PricingTable.parsed.cshtml" 971 , Tuple.Create(Tuple.Create("", 19964), Tuple.Create<System.Object, System.Int32>(GetString("LongLang").Equals("ro-RO") ? "33" : "10391" 972 973 #line default 974 #line hidden 975 , 19964), false) 976 ); 977 978 WriteLiteral(">"); 979 980 981 #line 463 "Z:\Sites\_dotFusion\www.businessdays.ro\FIles\Templates\Designs\BusinessDays\_parsed\PricingTable.parsed.cshtml" 982 Write(Translate("myaccount","Contul meu")); 983 984 985 #line default 986 #line hidden 987 WriteLiteral("</a></li>\r\n"); 988 989 WriteLiteral(" <li><a"); 990 991 WriteAttribute("href", Tuple.Create(" href=\'", 20088), Tuple.Create("\'", 20188) 992 , Tuple.Create(Tuple.Create("", 20095), Tuple.Create("/Admin/Public/ExtranetLogoff.aspx?ID=", 20095), true) 993 994 #line 464 "Z:\Sites\_dotFusion\www.businessdays.ro\FIles\Templates\Designs\BusinessDays\_parsed\PricingTable.parsed.cshtml" 995 , Tuple.Create(Tuple.Create("", 20132), Tuple.Create<System.Object, System.Int32>(GetString("LongLang").Equals("ro-RO") ? "1" : "10347" 996 997 #line default 998 #line hidden 999 , 20132), false) 1000 ); 1001 1002 WriteAttribute("alt", Tuple.Create(" alt=\"", 20189), Tuple.Create("\"", 20213) 1003 1004 #line 464 "Z:\Sites\_dotFusion\www.businessdays.ro\FIles\Templates\Designs\BusinessDays\_parsed\PricingTable.parsed.cshtml" 1005 , Tuple.Create(Tuple.Create("", 20195), Tuple.Create<System.Object, System.Int32>(currentUser2.Name 1006 1007 #line default 1008 #line hidden 1009 , 20195), false) 1010 ); 1011 1012 WriteLiteral(">Logout</a></li>\r\n"); 1013 1014 1015 #line 465 "Z:\Sites\_dotFusion\www.businessdays.ro\FIles\Templates\Designs\BusinessDays\_parsed\PricingTable.parsed.cshtml" 1016 } 1017 1018 1019 #line default 1020 #line hidden 1021 WriteLiteral(" </ul>\r\n </div>\r\n </div>\r\n <!-- Mobile Navigation End --> \r\n " + 1022 " <div"); 1023 1024 WriteLiteral(" class=\"mobile-wrapper\""); 1025 1026 WriteLiteral(">\r\n <div"); 1027 1028 WriteLiteral(" id=\"wrapper\""); 1029 1030 WriteLiteral(">\r\n \r\n \t<header"); 1031 1032 WriteLiteral(" id=\"header\""); 1033 1034 WriteLiteral(" role=\"banner\""); 1035 1036 WriteLiteral(" class=\"bottom-2\""); 1037 1038 WriteLiteral(">\r\n <div"); 1039 1040 WriteLiteral(" class=\"fixedheader hidden-xs hidden-sm\""); 1041 1042 WriteLiteral(">\r\n "); 1043 1044 WriteLiteral("\r\n <div"); 1045 1046 WriteLiteral(" class=\"container\""); 1047 1048 WriteLiteral(">\r\n <div"); 1049 1050 WriteLiteral(" class=\"pull-left\""); 1051 1052 WriteLiteral(">\r\n <div"); 1053 1054 WriteLiteral(" class=\"fullmenu\""); 1055 1056 WriteLiteral(">\r\n <nav>\r\n"); 1057 1058 WriteLiteral(" "); 1059 1060 1061 #line 482 "Z:\Sites\_dotFusion\www.businessdays.ro\FIles\Templates\Designs\BusinessDays\_parsed\PricingTable.parsed.cshtml" 1062 Write(GetValue("DwNavigation(menumainmenu)")); 1063 1064 1065 #line default 1066 #line hidden 1067 WriteLiteral("\r\n </nav>\r\n </div>\r\n </div>\r\n </div>\r\n</div>\r\n\r\n\r\n<div"); 1068 1069 WriteLiteral(" class=\"container\""); 1070 1071 WriteLiteral("> \r\n <!-- header cos -->\r\n"); 1072 1073 1074 #line 492 "Z:\Sites\_dotFusion\www.businessdays.ro\FIles\Templates\Designs\BusinessDays\_parsed\PricingTable.parsed.cshtml" 1075 1076 1077 #line default 1078 #line hidden 1079 1080 #line 492 "Z:\Sites\_dotFusion\www.businessdays.ro\FIles\Templates\Designs\BusinessDays\_parsed\PricingTable.parsed.cshtml" 1081 if(!@GetBoolean("Ecom:Order.IsEmpty")) { 1082 string aux = "product"; 1083 1084 1085 #line default 1086 #line hidden 1087 WriteLiteral(" <div"); 1088 1089 WriteLiteral(" class=\"produse pull-right\""); 1090 1091 WriteLiteral(">\r\n <small>\r\n"); 1092 1093 1094 #line 496 "Z:\Sites\_dotFusion\www.businessdays.ro\FIles\Templates\Designs\BusinessDays\_parsed\PricingTable.parsed.cshtml" 1095 1096 1097 #line default 1098 #line hidden 1099 1100 #line 496 "Z:\Sites\_dotFusion\www.businessdays.ro\FIles\Templates\Designs\BusinessDays\_parsed\PricingTable.parsed.cshtml" 1101 if (@GetInteger("Ecom:Order.OrderLines.TotalProductQuantity") != 1) { 1102 aux = "products"; 1103 } 1104 1105 1106 #line default 1107 #line hidden 1108 WriteLiteral("\t\t<a"); 1109 1110 WriteAttribute("href", Tuple.Create(" href=\'", 21143), Tuple.Create("\'", 21200) 1111 , Tuple.Create(Tuple.Create("", 21150), Tuple.Create("/Default.aspx?ID=", 21150), true) 1112 1113 #line 499 "Z:\Sites\_dotFusion\www.businessdays.ro\FIles\Templates\Designs\BusinessDays\_parsed\PricingTable.parsed.cshtml" 1114 , Tuple.Create(Tuple.Create("", 21167), Tuple.Create<System.Object, System.Int32>(Pageview.Area.Item["CartPageId"] 1115 1116 #line default 1117 #line hidden 1118 , 21167), false) 1119 ); 1120 1121 WriteLiteral(">"); 1122 1123 1124 #line 499 "Z:\Sites\_dotFusion\www.businessdays.ro\FIles\Templates\Designs\BusinessDays\_parsed\PricingTable.parsed.cshtml" 1125 Write(GetValue("Ecom:Order.OrderLines.TotalProductQuantity")); 1126 1127 1128 #line default 1129 #line hidden 1130 WriteLiteral(" "); 1131 1132 1133 #line 499 "Z:\Sites\_dotFusion\www.businessdays.ro\FIles\Templates\Designs\BusinessDays\_parsed\PricingTable.parsed.cshtml" 1134 Write(aux); 1135 1136 1137 #line default 1138 #line hidden 1139 WriteLiteral("</a> <text> - "); 1140 1141 1142 #line 499 "Z:\Sites\_dotFusion\www.businessdays.ro\FIles\Templates\Designs\BusinessDays\_parsed\PricingTable.parsed.cshtml" 1143 Write(GetValue("Ecom:Order.OrderLines.Total.PriceWithVAT")); 1144 1145 1146 #line default 1147 #line hidden 1148 WriteLiteral("</text>\r\n \r\n </small>\r\n </div> \r\n"); 1149 1150 WriteLiteral(" <div"); 1151 1152 WriteLiteral(" class=\"cos pull-right\""); 1153 1154 WriteLiteral(">\r\n <a"); 1155 1156 WriteAttribute("href", Tuple.Create(" href=\'", 21412), Tuple.Create("\'", 21469) 1157 , Tuple.Create(Tuple.Create("", 21419), Tuple.Create("/Default.aspx?ID=", 21419), true) 1158 1159 #line 504 "Z:\Sites\_dotFusion\www.businessdays.ro\FIles\Templates\Designs\BusinessDays\_parsed\PricingTable.parsed.cshtml" 1160 , Tuple.Create(Tuple.Create("", 21436), Tuple.Create<System.Object, System.Int32>(Pageview.Area.Item["CartPageId"] 1161 1162 #line default 1163 #line hidden 1164 , 21436), false) 1165 ); 1166 1167 WriteLiteral(" class=\"header-cos\""); 1168 1169 WriteLiteral("><i"); 1170 1171 WriteLiteral(" class=\"fa fa-shopping-cart\""); 1172 1173 WriteLiteral("></i> <small>"); 1174 1175 1176 #line 504 "Z:\Sites\_dotFusion\www.businessdays.ro\FIles\Templates\Designs\BusinessDays\_parsed\PricingTable.parsed.cshtml" 1177 Write(Translate("shoppingcart", "shopping cart")); 1178 1179 1180 #line default 1181 #line hidden 1182 WriteLiteral("</small></a>\r\n </div>\r\n"); 1183 1184 1185 #line 506 "Z:\Sites\_dotFusion\www.businessdays.ro\FIles\Templates\Designs\BusinessDays\_parsed\PricingTable.parsed.cshtml" 1186 } 1187 1188 1189 #line default 1190 #line hidden 1191 WriteLiteral(" <!-- header navbar -->\r\n <nav"); 1192 1193 WriteLiteral(" class=\"navbar\""); 1194 1195 WriteLiteral(">\r\n <ul"); 1196 1197 WriteLiteral(" class=\"nav navbar-nav navbar-right hidden-sm hidden-xs\""); 1198 1199 WriteLiteral(">\r\n <li><a"); 1200 1201 WriteAttribute("href", Tuple.Create(" href=\'", 21730), Tuple.Create("\'", 21784) 1202 , Tuple.Create(Tuple.Create("", 21737), Tuple.Create("/Default.aspx?ID=", 21737), true) 1203 1204 #line 510 "Z:\Sites\_dotFusion\www.businessdays.ro\FIles\Templates\Designs\BusinessDays\_parsed\PricingTable.parsed.cshtml" 1205 , Tuple.Create(Tuple.Create("", 21754), Tuple.Create<System.Object, System.Int32>(GetValue("DwAreaFirstPageID") 1206 1207 #line default 1208 #line hidden 1209 , 21754), false) 1210 ); 1211 1212 WriteLiteral(">"); 1213 1214 1215 #line 510 "Z:\Sites\_dotFusion\www.businessdays.ro\FIles\Templates\Designs\BusinessDays\_parsed\PricingTable.parsed.cshtml" 1216 Write(Translate("home", "Acasa")); 1217 1218 1219 #line default 1220 #line hidden 1221 WriteLiteral("</a></li>\r\n <li><a"); 1222 1223 WriteAttribute("href", Tuple.Create(" href=\'", 21834), Tuple.Create("\'", 21895) 1224 , Tuple.Create(Tuple.Create("", 21841), Tuple.Create("/Default.aspx?ID=", 21841), true) 1225 1226 #line 511 "Z:\Sites\_dotFusion\www.businessdays.ro\FIles\Templates\Designs\BusinessDays\_parsed\PricingTable.parsed.cshtml" 1227 , Tuple.Create(Tuple.Create("", 21858), Tuple.Create<System.Object, System.Int32>(Pageview.Area.Item["ContactPage_ID"] 1228 1229 #line default 1230 #line hidden 1231 , 21858), false) 1232 ); 1233 1234 WriteLiteral(">"); 1235 1236 1237 #line 511 "Z:\Sites\_dotFusion\www.businessdays.ro\FIles\Templates\Designs\BusinessDays\_parsed\PricingTable.parsed.cshtml" 1238 Write(Translate("contact", "Contact")); 1239 1240 1241 #line default 1242 #line hidden 1243 WriteLiteral("</a></li> \r\n"); 1244 1245 1246 #line 512 "Z:\Sites\_dotFusion\www.businessdays.ro\FIles\Templates\Designs\BusinessDays\_parsed\PricingTable.parsed.cshtml" 1247 1248 1249 #line default 1250 #line hidden 1251 1252 #line 512 "Z:\Sites\_dotFusion\www.businessdays.ro\FIles\Templates\Designs\BusinessDays\_parsed\PricingTable.parsed.cshtml" 1253 1254 //string user = "";//Dynamicweb.Frontend.PageView.Current().User.UserName; 1255 var currentUser = Dynamicweb.Security.UserManagement.User.GetCurrentExtranetUser(); 1256 //if( string.IsNullOrEmpty(user) ) 1257 if( currentUser == null ) 1258 { 1259 1260 1261 #line default 1262 #line hidden 1263 WriteLiteral(" <li><a"); 1264 1265 WriteAttribute("href", Tuple.Create(" href=\'", 22220), Tuple.Create("\'", 22287) 1266 , Tuple.Create(Tuple.Create("", 22227), Tuple.Create("/Default.aspx?ID=", 22227), true) 1267 1268 #line 518 "Z:\Sites\_dotFusion\www.businessdays.ro\FIles\Templates\Designs\BusinessDays\_parsed\PricingTable.parsed.cshtml" 1269 , Tuple.Create(Tuple.Create("", 22244), Tuple.Create<System.Object, System.Int32>(Pageview.Area.Item["CreateAccountPage_ID"] 1270 1271 #line default 1272 #line hidden 1273 , 22244), false) 1274 ); 1275 1276 WriteLiteral(">"); 1277 1278 1279 #line 518 "Z:\Sites\_dotFusion\www.businessdays.ro\FIles\Templates\Designs\BusinessDays\_parsed\PricingTable.parsed.cshtml" 1280 Write(Translate("createNewAccount", "Creeaza cont utilizator")); 1281 1282 1283 #line default 1284 #line hidden 1285 WriteLiteral("</a></li>\r\n"); 1286 1287 WriteLiteral(" <li><a"); 1288 1289 WriteAttribute("href", Tuple.Create(" href=\'", 22371), Tuple.Create("\'", 22430) 1290 , Tuple.Create(Tuple.Create("", 22378), Tuple.Create("/Default.aspx?ID=", 22378), true) 1291 1292 #line 519 "Z:\Sites\_dotFusion\www.businessdays.ro\FIles\Templates\Designs\BusinessDays\_parsed\PricingTable.parsed.cshtml" 1293 , Tuple.Create(Tuple.Create("", 22395), Tuple.Create<System.Object, System.Int32>(Pageview.Area.Item["LoginPAge_ID"] 1294 1295 #line default 1296 #line hidden 1297 , 22395), false) 1298 ); 1299 1300 WriteLiteral(">"); 1301 1302 1303 #line 519 "Z:\Sites\_dotFusion\www.businessdays.ro\FIles\Templates\Designs\BusinessDays\_parsed\PricingTable.parsed.cshtml" 1304 Write(Translate("login", "Login")); 1305 1306 1307 #line default 1308 #line hidden 1309 WriteLiteral("</a></li>\r\n"); 1310 1311 1312 #line 520 "Z:\Sites\_dotFusion\www.businessdays.ro\FIles\Templates\Designs\BusinessDays\_parsed\PricingTable.parsed.cshtml" 1313 } else { 1314 1315 1316 #line default 1317 #line hidden 1318 WriteLiteral(" <li><a"); 1319 1320 WriteAttribute("href", Tuple.Create(" href=\'", 22501), Tuple.Create("\'", 22564) 1321 , Tuple.Create(Tuple.Create("", 22508), Tuple.Create("/Default.aspx?ID=", 22508), true) 1322 1323 #line 521 "Z:\Sites\_dotFusion\www.businessdays.ro\FIles\Templates\Designs\BusinessDays\_parsed\PricingTable.parsed.cshtml" 1324 , Tuple.Create(Tuple.Create("", 22525), Tuple.Create<System.Object, System.Int32>(Pageview.Area.Item["MyAccountPage_ID"] 1325 1326 #line default 1327 #line hidden 1328 , 22525), false) 1329 ); 1330 1331 WriteLiteral(">"); 1332 1333 1334 #line 521 "Z:\Sites\_dotFusion\www.businessdays.ro\FIles\Templates\Designs\BusinessDays\_parsed\PricingTable.parsed.cshtml" 1335 Write(Translate("myaccount", "Contul meu")); 1336 1337 1338 #line default 1339 #line hidden 1340 WriteLiteral("</a></li>\r\n"); 1341 1342 WriteLiteral(" <li><a"); 1343 1344 WriteLiteral(" href=\"/Admin/Public/ExtranetLogoff.aspx?ID=1\""); 1345 1346 WriteAttribute("title", Tuple.Create(" title=\"", 22674), Tuple.Create("\"", 22699) 1347 1348 #line 522 "Z:\Sites\_dotFusion\www.businessdays.ro\FIles\Templates\Designs\BusinessDays\_parsed\PricingTable.parsed.cshtml" 1349 , Tuple.Create(Tuple.Create("", 22682), Tuple.Create<System.Object, System.Int32>(currentUser.Name 1350 1351 #line default 1352 #line hidden 1353 , 22682), false) 1354 ); 1355 1356 WriteLiteral(">"); 1357 1358 1359 #line 522 "Z:\Sites\_dotFusion\www.businessdays.ro\FIles\Templates\Designs\BusinessDays\_parsed\PricingTable.parsed.cshtml" 1360 Write(Translate("logout", "Logout")); 1361 1362 1363 #line default 1364 #line hidden 1365 WriteLiteral("</a></li>\r\n"); 1366 1367 1368 #line 523 "Z:\Sites\_dotFusion\www.businessdays.ro\FIles\Templates\Designs\BusinessDays\_parsed\PricingTable.parsed.cshtml" 1369 } 1370 1371 1372 #line default 1373 #line hidden 1374 WriteLiteral("\r\n \t \t<li>\r\n \t\t<a"); 1375 1376 WriteLiteral(" href=\'/Default.aspx?ID=1\'"); 1377 1378 WriteLiteral(" id=\"selectorLangRO\""); 1379 1380 WriteAttribute("class", Tuple.Create(" class=\'", 22827), Tuple.Create("\'", 22884) 1381 1382 #line 526 "Z:\Sites\_dotFusion\www.businessdays.ro\FIles\Templates\Designs\BusinessDays\_parsed\PricingTable.parsed.cshtml" 1383 , Tuple.Create(Tuple.Create("", 22835), Tuple.Create<System.Object, System.Int32>(GetString("Lang").Equals("ro") ? "active" : "" 1384 1385 #line default 1386 #line hidden 1387 , 22835), false) 1388 ); 1389 1390 WriteLiteral(">\r\n <img"); 1391 1392 WriteLiteral(" src=\"/Files/Templates/Designs/BusinessDays/assets/images/ro.png\""); 1393 1394 WriteLiteral(" alt=\"\""); 1395 1396 WriteLiteral(" class=\"d_inline_m m_right_7\""); 1397 1398 WriteLiteral("> \r\n \t</a>\r\n \t</li>\r\n \t<li>\r\n \t<a"); 1399 1400 WriteLiteral(" href=\'/Default.aspx?ID=10347\'"); 1401 1402 WriteLiteral(" id=\"selectorLangEN\""); 1403 1404 WriteAttribute("class", Tuple.Create(" class=\'", 23137), Tuple.Create("\'", 23194) 1405 1406 #line 531 "Z:\Sites\_dotFusion\www.businessdays.ro\FIles\Templates\Designs\BusinessDays\_parsed\PricingTable.parsed.cshtml" 1407 , Tuple.Create(Tuple.Create("", 23145), Tuple.Create<System.Object, System.Int32>(GetString("Lang").Equals("en") ? "active" : "" 1408 1409 #line default 1410 #line hidden 1411 , 23145), false) 1412 ); 1413 1414 WriteLiteral(">\r\n \t\t<img"); 1415 1416 WriteLiteral(" src=\"/Files/Templates/Designs/BusinessDays/assets/images/uk.png\""); 1417 1418 WriteLiteral(" alt=\"\""); 1419 1420 WriteLiteral(" class=\"d_inline_m m_right_7\""); 1421 1422 WriteLiteral("> \r\n \t</a>\r\n </li>\r\n </ul>\r\n </nav>\r\n" + 1423 "</div>\r\n\r\n\r\n \r\n <div"); 1424 1425 WriteLiteral(" class=\"container\""); 1426 1427 WriteLiteral(">\r\n <div"); 1428 1429 WriteLiteral(" id=\"main-header\""); 1430 1431 WriteLiteral(" class=\"clearfix\""); 1432 1433 WriteLiteral(">\r\n <div"); 1434 1435 WriteLiteral(" class=\"logo\""); 1436 1437 WriteLiteral(" role=\"banner\""); 1438 1439 WriteLiteral(">\r\n <p"); 1440 1441 WriteLiteral(" class=\"site-title bottom-0\""); 1442 1443 WriteLiteral(">\r\n <a"); 1444 1445 WriteLiteral(" title=\"Business Days\""); 1446 1447 WriteLiteral(" rel=\"home\""); 1448 1449 WriteLiteral(" href=\"\""); 1450 1451 WriteLiteral(">\r\n <img"); 1452 1453 WriteLiteral(" class=\"logo_standard img-responsive\""); 1454 1455 WriteLiteral(" src=\"/Files/Templates/Designs/BusinessDays/uploads/2014/01/logo.jpg\""); 1456 1457 WriteLiteral(" alt=\"Business Days\""); 1458 1459 WriteLiteral(">\r\n </a>\r\n </p>\r\n " + 1460 " <span"); 1461 1462 WriteLiteral(" class=\"site-description\""); 1463 1464 WriteLiteral(">Business Days</span>\r\n </div>\r\n <div"); 1465 1466 WriteLiteral(" class=\"responsive-menu col-xs-6 visible-xs visible-sm pull-left reset-padding-le" + 1467 "ft\""); 1468 1469 WriteLiteral(">\r\n <i"); 1470 1471 WriteLiteral(" class=\"fa fa-bars\""); 1472 1473 WriteLiteral("></i>\r\n "); 1474 1475 WriteLiteral("\r\n <ul"); 1476 1477 WriteLiteral(" class=\"responsive-menu-list\""); 1478 1479 WriteLiteral(">\r\n <li>\r\n <a"); 1480 1481 WriteLiteral(" href=\'/Default.aspx?ID=1\'"); 1482 1483 WriteLiteral(" id=\"selectorLangRO\""); 1484 1485 WriteAttribute("class", Tuple.Create(" class=\'", 24455), Tuple.Create("\'", 24512) 1486 1487 #line 556 "Z:\Sites\_dotFusion\www.businessdays.ro\FIles\Templates\Designs\BusinessDays\_parsed\PricingTable.parsed.cshtml" 1488 , Tuple.Create(Tuple.Create("", 24463), Tuple.Create<System.Object, System.Int32>(GetString("Lang").Equals("ro") ? "active" : "" 1489 1490 #line default 1491 #line hidden 1492 , 24463), false) 1493 ); 1494 1495 WriteLiteral(">\r\n <img"); 1496 1497 WriteLiteral(" src=\"/Files/Templates/Designs/BusinessDays/assets/images/ro.png\""); 1498 1499 WriteLiteral(" alt=\"\""); 1500 1501 WriteLiteral(" class=\"d_inline_m m_right_7\""); 1502 1503 WriteLiteral("> \r\n </a>\r\n " + 1504 " </li>\r\n <li>\r\n " + 1505 " <a"); 1506 1507 WriteLiteral(" href=\'/Default.aspx?ID=10347\'"); 1508 1509 WriteLiteral(" id=\"selectorLangEN\""); 1510 1511 WriteAttribute("class", Tuple.Create(" class=\'", 24879), Tuple.Create("\'", 24936) 1512 1513 #line 561 "Z:\Sites\_dotFusion\www.businessdays.ro\FIles\Templates\Designs\BusinessDays\_parsed\PricingTable.parsed.cshtml" 1514 , Tuple.Create(Tuple.Create("", 24887), Tuple.Create<System.Object, System.Int32>(GetString("Lang").Equals("en") ? "active" : "" 1515 1516 #line default 1517 #line hidden 1518 , 24887), false) 1519 ); 1520 1521 WriteLiteral(">\r\n <img"); 1522 1523 WriteLiteral(" src=\"/Files/Templates/Designs/BusinessDays/assets/images/uk.png\""); 1524 1525 WriteLiteral(" alt=\"\""); 1526 1527 WriteLiteral(" class=\"d_inline_m m_right_7\""); 1528 1529 WriteLiteral("> \r\n </a>\r\n " + 1530 " </li>\r\n </ul>\r\n " + 1531 " </div>\r\n <div"); 1532 1533 WriteLiteral(" class=\"countdown-timer-wrapper pull-right hidden-xs hidden-sm\""); 1534 1535 WriteLiteral(">\r\n <!--$$Global:Paragraph.Content(333)-->\r\n " + 1536 " </div>\r\n </div>\r\n <div"); 1537 1538 WriteLiteral(" id=\"mainmenu\""); 1539 1540 WriteLiteral(" class=\"fullmenu hidden-xs hidden-sm\""); 1541 1542 WriteLiteral(">\r\n <nav>\r\n"); 1543 1544 WriteLiteral(" "); 1545 1546 1547 #line 573 "Z:\Sites\_dotFusion\www.businessdays.ro\FIles\Templates\Designs\BusinessDays\_parsed\PricingTable.parsed.cshtml" 1548 Write(GetValue("DwNavigation(menumainmenu1)")); 1549 1550 1551 #line default 1552 #line hidden 1553 WriteLiteral("\r\n </nav>\r\n </div>\r\n \r\n " + 1554 " </div>\r\n </header>\r\n \r\n \r\n <div"); 1555 1556 WriteLiteral(" class=\"container\""); 1557 1558 WriteLiteral(">\r\n <div"); 1559 1560 WriteLiteral(" class=\"row\""); 1561 1562 WriteLiteral(">\r\n\r\n \t<div"); 1563 1564 WriteLiteral(" class=\"banner-image\""); 1565 1566 WriteLiteral(" style=\"padding: 0px 15px\""); 1567 1568 WriteLiteral("> \r\n"); 1569 1570 1571 #line 585 "Z:\Sites\_dotFusion\www.businessdays.ro\FIles\Templates\Designs\BusinessDays\_parsed\PricingTable.parsed.cshtml" 1572 1573 1574 #line default 1575 #line hidden 1576 1577 #line 585 "Z:\Sites\_dotFusion\www.businessdays.ro\FIles\Templates\Designs\BusinessDays\_parsed\PricingTable.parsed.cshtml" 1578 if (Dynamicweb.Core.Converter.ToBoolean(GetGlobalValue("Global:Device.IsMobile"))) { 1579 1580 1581 #line default 1582 #line hidden 1583 WriteLiteral(" <img"); 1584 1585 WriteAttribute("src", Tuple.Create(" src=\'", 26029), Tuple.Create("\'", 26053) 1586 , Tuple.Create(Tuple.Create("", 26035), Tuple.Create("/", 26035), true) 1587 1588 #line 586 "Z:\Sites\_dotFusion\www.businessdays.ro\FIles\Templates\Designs\BusinessDays\_parsed\PricingTable.parsed.cshtml" 1589 , Tuple.Create(Tuple.Create("", 26036), Tuple.Create<System.Object, System.Int32>(bannerImageMobil 1590 1591 #line default 1592 #line hidden 1593 , 26036), false) 1594 ); 1595 1596 WriteLiteral(" class=\"img-responsive\""); 1597 1598 WriteLiteral(">\r\n"); 1599 1600 1601 #line 587 "Z:\Sites\_dotFusion\www.businessdays.ro\FIles\Templates\Designs\BusinessDays\_parsed\PricingTable.parsed.cshtml" 1602 } else { 1603 1604 1605 #line default 1606 #line hidden 1607 WriteLiteral(" <img"); 1608 1609 WriteAttribute("src", Tuple.Create(" src=\'", 26120), Tuple.Create("\'", 26139) 1610 , Tuple.Create(Tuple.Create("", 26126), Tuple.Create("/", 26126), true) 1611 1612 #line 588 "Z:\Sites\_dotFusion\www.businessdays.ro\FIles\Templates\Designs\BusinessDays\_parsed\PricingTable.parsed.cshtml" 1613 , Tuple.Create(Tuple.Create("", 26127), Tuple.Create<System.Object, System.Int32>(bannerImage 1614 1615 #line default 1616 #line hidden 1617 , 26127), false) 1618 ); 1619 1620 WriteLiteral(" class=\"img-responsive\""); 1621 1622 WriteLiteral(">\r\n"); 1623 1624 1625 #line 589 "Z:\Sites\_dotFusion\www.businessdays.ro\FIles\Templates\Designs\BusinessDays\_parsed\PricingTable.parsed.cshtml" 1626 } 1627 1628 1629 #line default 1630 #line hidden 1631 WriteLiteral(" \t\t\r\n \t</div>\r\n \t\t<div"); 1632 1633 WriteLiteral(" id=\"content\""); 1634 1635 WriteLiteral(" class=\"col-md-12 col-lg-12 tab-container\""); 1636 1637 WriteLiteral(">\r\n \t\t\t<div"); 1638 1639 WriteLiteral(" class=\"entry-content bottom-30\""); 1640 1641 WriteLiteral(">\r\n <div"); 1642 1643 WriteLiteral(" class=\"mobile-tab-navigation hidden-md hidden-lg visible-sm visible-xs\""); 1644 1645 WriteLiteral("></div>\r\n \r\n \t\t\t<div"); 1646 1647 WriteLiteral(" id=\"tab-1014904837\""); 1648 1649 WriteLiteral(" class=\"tabs clearfix main\""); 1650 1651 WriteLiteral(">\r\n"); 1652 1653 WriteLiteral(" \t"); 1654 1655 1656 #line 597 "Z:\Sites\_dotFusion\www.businessdays.ro\FIles\Templates\Designs\BusinessDays\_parsed\PricingTable.parsed.cshtml" 1657 Write(GetValue("DwNavigation(secmainmenu1)")); 1658 1659 1660 #line default 1661 #line hidden 1662 WriteLiteral("\r\n \t\r\n\r\n<div"); 1663 1664 WriteLiteral(" class=\"ads below-header hidden-xs hidden-sm\""); 1665 1666 WriteLiteral("></div>\r\n <div"); 1667 1668 WriteLiteral(" id=\"heading\""); 1669 1670 WriteLiteral(" class=\"bottom-30 hidden-xs\""); 1671 1672 WriteLiteral(">\r\n <div"); 1673 1674 WriteLiteral(" class=\"container\""); 1675 1676 WriteLiteral(">\r\n <div"); 1677 1678 WriteLiteral(" class=\"heading-content\""); 1679 1680 WriteLiteral(">\r\n <div"); 1681 1682 WriteLiteral(" class=\"row\""); 1683 1684 WriteLiteral(">\r\n <!-- <div id=\"heading-title\" class=\"col-md-4 col-lg-4 " + 1685 "col-sm-4\">\r\n <h6 class=\"heading-title large bottom-0\"" + 1686 ">&nbsp;</h6>\r\n </div> -->\r\n\t\t\t\t\t\t<!--breadcrumbs-->\r\n\t\t\t\t" + 1687 "\t\t<div"); 1688 1689 WriteLiteral(" id=\"breadcrumbs\""); 1690 1691 WriteLiteral(" class=\"col-md-12 col-lg-12 col-sm-12 hidden-xs\""); 1692 1693 WriteLiteral(">\r\n"); 1694 1695 WriteLiteral("\t\t\t\t\t\t\t"); 1696 1697 1698 #line 610 "Z:\Sites\_dotFusion\www.businessdays.ro\FIles\Templates\Designs\BusinessDays\_parsed\PricingTable.parsed.cshtml" 1699 Write(GetValue("DwNavigation(breadcrumbs)")); 1700 1701 1702 #line default 1703 #line hidden 1704 WriteLiteral("\r\n\t\t\t\t\t\t</div>\r\n </div>\r\n </div>\r\n <" + 1705 "/div>\r\n </div>\r\n<div"); 1706 1707 WriteLiteral(" class=\"ads below-heading hidden-xs hidden-sm\""); 1708 1709 WriteLiteral("> </div>\r\n<section"); 1710 1711 WriteLiteral(" id=\"fullwidth\""); 1712 1713 WriteLiteral(" class=\"container\""); 1714 1715 WriteLiteral(">\r\n <div"); 1716 1717 WriteLiteral(" class=\"fullwidthcontent\""); 1718 1719 WriteLiteral(">\r\n <div"); 1720 1721 WriteLiteral(" id=\"content\""); 1722 1723 WriteLiteral(" class=\"fullwidth\""); 1724 1725 WriteLiteral(">\r\n <div"); 1726 1727 WriteLiteral(" class=\"entry-content bottom-30\""); 1728 1729 WriteLiteral(">\r\n <div"); 1730 1731 WriteLiteral(" id=\"main\""); 1732 1733 WriteLiteral(">"); 1734 1735 1736 #line 621 "Z:\Sites\_dotFusion\www.businessdays.ro\FIles\Templates\Designs\BusinessDays\_parsed\PricingTable.parsed.cshtml" 1737 Write(GetValue("DwContent(main)")); 1738 1739 1740 #line default 1741 #line hidden 1742 WriteLiteral("</div>\r\n </div>\r\n </div>\r\n </div>\r\n</section>\r\n\r\n<!--$$SnippetStart(trac" + 1743 "kingJS)-->\r\n"); 1744 1745 WriteLiteral(" "); 1746 1747 1748 #line 628 "Z:\Sites\_dotFusion\www.businessdays.ro\FIles\Templates\Designs\BusinessDays\_parsed\PricingTable.parsed.cshtml" 1749 Write(BrandFusion.Dw.Functions.Item.GetHomeItemProperty( Convert.ToInt32(GetGlobalValue("Global:Page.ID")), "Eveniment","ConversiePachetePret")); 1750 1751 1752 #line default 1753 #line hidden 1754 WriteLiteral("\r\n<!--$$SnippetEnd(trackingJS)-->\r\n </div>\r\n \t\t\t\t<!-- <div class=\" divi" + 1755 "der clearfix striptags\"></div>\t -->\r\n \t\t\t</div>\r\n \t\t</div>\r\n \r\n " + 1756 " \r\n </div>\r\n </div> \r\n <footer"); 1757 1758 WriteLiteral(" id=\"footer\""); 1759 1760 WriteLiteral(">\r\n <div"); 1761 1762 WriteLiteral(" id=\"widgetarea\""); 1763 1764 WriteLiteral(" class=\"light\""); 1765 1766 WriteLiteral(">\r\n <div"); 1767 1768 WriteLiteral(" class=\"container\""); 1769 1770 WriteLiteral(">\r\n <div"); 1771 1772 WriteLiteral(" class=\"widgetcontent\""); 1773 1774 WriteLiteral(">\r\n <div"); 1775 1776 WriteLiteral(" class=\"row\""); 1777 1778 WriteLiteral(">\r\n <div"); 1779 1780 WriteLiteral(" id=\"footer-widget-1\""); 1781 1782 WriteLiteral(" class=\"bottom-30-sm bottom-30-xs col-lg-4 col-md-4\""); 1783 1784 WriteLiteral(">\r\n \r\n"); 1785 1786 1787 #line 645 "Z:\Sites\_dotFusion\www.businessdays.ro\FIles\Templates\Designs\BusinessDays\_parsed\PricingTable.parsed.cshtml" 1788 1789 1790 #line default 1791 #line hidden 1792 1793 #line 645 "Z:\Sites\_dotFusion\www.businessdays.ro\FIles\Templates\Designs\BusinessDays\_parsed\PricingTable.parsed.cshtml" 1794 if (GetString("LongLang").Equals("ro-RO")) 1795 { 1796 1797 1798 1799 #line default 1800 #line hidden 1801 1802 #line 648 "Z:\Sites\_dotFusion\www.businessdays.ro\FIles\Templates\Designs\BusinessDays\_parsed\PricingTable.parsed.cshtml" 1803 Write(RenderParagraphContent(326)); 1804 1805 1806 #line default 1807 #line hidden 1808 1809 #line 648 "Z:\Sites\_dotFusion\www.businessdays.ro\FIles\Templates\Designs\BusinessDays\_parsed\PricingTable.parsed.cshtml" 1810 ; 1811 1812 } 1813 else if (GetString("LongLang").Equals("en-US")) 1814 { 1815 1816 1817 #line default 1818 #line hidden 1819 1820 #line 653 "Z:\Sites\_dotFusion\www.businessdays.ro\FIles\Templates\Designs\BusinessDays\_parsed\PricingTable.parsed.cshtml" 1821 Write(RenderParagraphContent(4502)); 1822 1823 1824 #line default 1825 #line hidden 1826 1827 #line 653 "Z:\Sites\_dotFusion\www.businessdays.ro\FIles\Templates\Designs\BusinessDays\_parsed\PricingTable.parsed.cshtml" 1828 ; 1829 1830 } 1831 1832 1833 #line default 1834 #line hidden 1835 WriteLiteral(" </div>\r\n <div"); 1836 1837 WriteLiteral(" id=\"footer-widget-2\""); 1838 1839 WriteLiteral(" class=\"bottom-30-sm bottom-30-xs col-lg-4 col-md-4\""); 1840 1841 WriteLiteral(">\r\n <div"); 1842 1843 WriteLiteral(" id=\"recent-comments-3\""); 1844 1845 WriteLiteral(" class=\"widget widget_recent_comments bottom-xs-30 bottom-sm-30\""); 1846 1847 WriteLiteral(">\r\n <div"); 1848 1849 WriteLiteral(" class=\"widget-title\""); 1850 1851 WriteLiteral(">\r\n <h5"); 1852 1853 WriteLiteral(" class=\"widgettile\""); 1854 1855 WriteLiteral(">"); 1856 1857 1858 #line 660 "Z:\Sites\_dotFusion\www.businessdays.ro\FIles\Templates\Designs\BusinessDays\_parsed\PricingTable.parsed.cshtml" 1859 Write(Translate("lastArticles", "Ultimele Articole")); 1860 1861 1862 #line default 1863 #line hidden 1864 WriteLiteral("</h5>\r\n </div>\r\n"); 1865 1866 WriteLiteral("\t\t\t "); 1867 1868 1869 #line 662 "Z:\Sites\_dotFusion\www.businessdays.ro\FIles\Templates\Designs\BusinessDays\_parsed\PricingTable.parsed.cshtml" 1870 Write(GetValue("DwNavigation(agendaeveniment)")); 1871 1872 1873 #line default 1874 #line hidden 1875 WriteLiteral("\r\n </div>\r\n </div>\r\n <div"); 1876 1877 WriteLiteral(" id=\"footer-widget-4\""); 1878 1879 WriteLiteral(" class=\"bottom-30-sm bottom-30-xs col-lg-4 col-md-4\""); 1880 1881 WriteLiteral(">\r\n <div"); 1882 1883 WriteLiteral(" id=\"ereven_twitter-2\""); 1884 1885 WriteLiteral(" class=\"widget last-tweet bottom-xs-30 bottom-sm-30\""); 1886 1887 WriteLiteral(">\r\n <div"); 1888 1889 WriteLiteral(" class=\"widget-title\""); 1890 1891 WriteLiteral(">\r\n <h5"); 1892 1893 WriteLiteral(" class=\"widgettile\""); 1894 1895 WriteLiteral(">"); 1896 1897 1898 #line 668 "Z:\Sites\_dotFusion\www.businessdays.ro\FIles\Templates\Designs\BusinessDays\_parsed\PricingTable.parsed.cshtml" 1899 Write(Translate("socialMedia", "Social Media")); 1900 1901 1902 #line default 1903 #line hidden 1904 WriteLiteral("</h5>\r\n </div>\r\n <div>\r\n <ul"); 1905 1906 WriteLiteral(" id=\"social\""); 1907 1908 WriteLiteral(" class=\"social clearfix\""); 1909 1910 WriteLiteral(">\r\n <!-- <li><a rel=\"nofollow\" href=\"http://www.flickr.com/photo" + 1911 "s/businessdays\" target=\"_blank\"><img src=\"http://www.businessdays.ro/wp-content/" + 1912 "themes/bd/images/flickr_icon.jpg\" alt=\"\" /></a></li> -->\r\n\r\n <l" + 1913 "i><a"); 1914 1915 WriteLiteral(" rel=\"nofollow\""); 1916 1917 WriteLiteral(" href=\"http://feeds.feedburner.com/businessday\""); 1918 1919 WriteLiteral(" target=\"_blank\""); 1920 1921 WriteLiteral("><i"); 1922 1923 WriteLiteral(" class=\"fa fa-rss fa-3x\""); 1924 1925 WriteLiteral("></i></a></li>\r\n <li><a"); 1926 1927 WriteLiteral(" rel=\"nofollow\""); 1928 1929 WriteLiteral(" href=\"http://twitter.com/#!/businessdaysro\""); 1930 1931 WriteLiteral(" target=\"_blank\""); 1932 1933 WriteLiteral("><i"); 1934 1935 WriteLiteral(" class=\"fa fa-twitter fa-3x\""); 1936 1937 WriteLiteral("></i></a></li>\r\n <li><a"); 1938 1939 WriteLiteral(" rel=\"nofollow\""); 1940 1941 WriteLiteral(" href=\"http://www.facebook.com/#!/BusinessDays\""); 1942 1943 WriteLiteral(" target=\"_blank\""); 1944 1945 WriteLiteral("><i"); 1946 1947 WriteLiteral(" class=\"fa fa-facebook fa-3x\""); 1948 1949 WriteLiteral("></i></a></li>\r\n <li><a"); 1950 1951 WriteLiteral(" rel=\"nofollow\""); 1952 1953 WriteLiteral(" href=\"http://www.linkedin.com/groups/Business-Days-3766018\""); 1954 1955 WriteLiteral(" target=\"_blank\""); 1956 1957 WriteLiteral("><i"); 1958 1959 WriteLiteral(" class=\"fa fa-linkedin fa-3x\""); 1960 1961 WriteLiteral("></i></a></li> \r\n <li><a"); 1962 1963 WriteLiteral(" rel=\"nofollow\""); 1964 1965 WriteLiteral(" href=\"https://picasaweb.google.com/businessdaysro\""); 1966 1967 WriteLiteral(" target=\"_blank\""); 1968 1969 WriteLiteral("><span"); 1970 1971 WriteLiteral(" class=\"picasa-icon\""); 1972 1973 WriteLiteral("></span></a></li> \r\n <li><a"); 1974 1975 WriteLiteral(" rel=\"nofollow\""); 1976 1977 WriteLiteral(" href=\"http://www.youtube.com/businessdaysro\""); 1978 1979 WriteLiteral(" target=\"_blank\""); 1980 1981 WriteLiteral("><i"); 1982 1983 WriteLiteral(" class=\"fa fa-youtube fa-3x\""); 1984 1985 WriteLiteral("></i></a></li> \t \r\n <li><a"); 1986 1987 WriteLiteral(" rel=\"nofollow\""); 1988 1989 WriteLiteral(" href=\"http://www.slideshare.net/businessdays\""); 1990 1991 WriteLiteral(" target=\"_blank\""); 1992 1993 WriteLiteral("><span"); 1994 1995 WriteLiteral(" class=\"slideshare-icon\""); 1996 1997 WriteLiteral("></span></a></li> \r\n <li><a"); 1998 1999 WriteLiteral(" rel=\"nofollow\""); 2000 2001 WriteLiteral(" href=\"https://plus.google.com/113464854804572684798/\""); 2002 2003 WriteLiteral(" target=\"_blank\""); 2004 2005 WriteLiteral("><i"); 2006 2007 WriteLiteral(" class=\"fa fa-google-plus fa-3x\""); 2008 2009 WriteLiteral("></i></a></li> \r\n </ul>\r\n </div>\r\n \r\n " + 2010 " </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n <" + 2011 "/div>\r\n <div"); 2012 2013 WriteLiteral(" id=\"credit\""); 2014 2015 WriteLiteral(" class=\"light\""); 2016 2017 WriteLiteral(">\r\n <div"); 2018 2019 WriteLiteral(" class=\"container\""); 2020 2021 WriteLiteral(">\r\n <div"); 2022 2023 WriteLiteral(" class=\"row\""); 2024 2025 WriteLiteral(">\r\n <div"); 2026 2027 WriteLiteral(" class=\"col-lg-3 col-md-3\""); 2028 2029 WriteLiteral(">\r\n <span"); 2030 2031 WriteLiteral(" style=\"font-size:14px;\""); 2032 2033 WriteLiteral(">Copyright 2014 - "); 2034 2035 2036 #line 695 "Z:\Sites\_dotFusion\www.businessdays.ro\FIles\Templates\Designs\BusinessDays\_parsed\PricingTable.parsed.cshtml" 2037 Write(DateTime.Now.Year); 2038 2039 2040 #line default 2041 #line hidden 2042 WriteLiteral(" by Business Days. Powered by <a"); 2043 2044 WriteLiteral(" href=\"http://www.brandfusion.ro/\""); 2045 2046 WriteLiteral(" title=\"BrandFusion\""); 2047 2048 WriteLiteral(">BrandFusion</a></span>\r\n </div>\r\n <div"); 2049 2050 WriteLiteral(" class=\"col-lg-9 col-md-9 text-right\""); 2051 2052 WriteLiteral(">\r\n <nav"); 2053 2054 WriteLiteral(" class=\"footer-menu\""); 2055 2056 WriteLiteral(">\r\n"); 2057 2058 WriteLiteral(" "); 2059 2060 2061 #line 699 "Z:\Sites\_dotFusion\www.businessdays.ro\FIles\Templates\Designs\BusinessDays\_parsed\PricingTable.parsed.cshtml" 2062 Write(GetValue("DwNavigation(footermenu)")); 2063 2064 2065 #line default 2066 #line hidden 2067 WriteLiteral(@" 2068 </nav> 2069 </div> 2070 </div> 2071 </div> 2072 </div> 2073 </footer> 2074 </div> 2075 </div> 2076 </div> 2077 2078 <!-- <script type='text/javascript' src='/Files/Templates/Designs/BusinessDays/includes/js/mediaelement/wp-mediaelement.js'></script> --> 2079 <script"); 2080 2081 WriteLiteral(" type=\'text/javascript\'"); 2082 2083 WriteLiteral(" src=\'/Files/Templates/Designs/BusinessDays/assets/js/bootstrap.js\'"); 2084 2085 WriteLiteral("></script>\r\n <script"); 2086 2087 WriteLiteral(" type=\'text/javascript\'"); 2088 2089 WriteLiteral(" src=\'/Files/Templates/Designs/BusinessDays/assets/js/superfish.js\'"); 2090 2091 WriteLiteral("></script>\r\n <script"); 2092 2093 WriteLiteral(" type=\'text/javascript\'"); 2094 2095 WriteLiteral(" src=\'/Files/Templates/Designs/BusinessDays/assets/js/easing.js\'"); 2096 2097 WriteLiteral("></script>\r\n <script"); 2098 2099 WriteLiteral(" type=\'text/javascript\'"); 2100 2101 WriteLiteral(" src=\'/Files/Templates/Designs/BusinessDays/assets/js/caroufredsel.js\'"); 2102 2103 WriteLiteral("></script>\r\n <script"); 2104 2105 WriteLiteral(" type=\'text/javascript\'"); 2106 2107 WriteLiteral(" src=\'/Files/Templates/Designs/BusinessDays/assets/js/fitvids.js\'"); 2108 2109 WriteLiteral("></script>\r\n <script"); 2110 2111 WriteLiteral(" type=\'text/javascript\'"); 2112 2113 WriteLiteral(" src=\'/Files/Templates/Designs/BusinessDays/assets/js/ticker.js\'"); 2114 2115 WriteLiteral("></script>\r\n <script"); 2116 2117 WriteLiteral(" type=\'text/javascript\'"); 2118 2119 WriteLiteral(" src=\'/Files/Templates/Designs/BusinessDays/assets/js/flexslider.js\'"); 2120 2121 WriteLiteral("></script>\r\n <!-- <script type=\'text/javascript\' src=\'/Files/Templates/Designs" + 2122 "/BusinessDays/assets/js/jpanelmenu.js\'></script> -->\r\n <script"); 2123 2124 WriteLiteral(" type=\'text/javascript\'"); 2125 2126 WriteLiteral(" src=\'/Files/Templates/Designs/BusinessDays/assets/js/magnificpopup.js\'"); 2127 2128 WriteLiteral("></script>\r\n <!-- <script type=\'text/javascript\' src=\'/Files/Templates/Designs" + 2129 "/BusinessDays/assets/js/twitter/tweet.js\'></script> -->\r\n <script"); 2130 2131 WriteLiteral(" type=\'text/javascript\'"); 2132 2133 WriteLiteral(" src=\'/Files/Templates/Designs/BusinessDays/assets/js/masonry.js\'"); 2134 2135 WriteLiteral("></script> \r\n <script"); 2136 2137 WriteLiteral(" type=\'text/javascript\'"); 2138 2139 WriteLiteral(" src=\'/Files/Templates/Designs/BusinessDays/assets/js/affix.js\'"); 2140 2141 WriteLiteral("></script>\r\n <script"); 2142 2143 WriteLiteral(" type=\'text/javascript\'"); 2144 2145 WriteLiteral(" src=\'/Files/Templates/Designs/BusinessDays/assets/js/functions.js\'"); 2146 2147 WriteLiteral("></script>\r\n <script"); 2148 2149 WriteLiteral(" type=\'text/javascript\'"); 2150 2151 WriteLiteral(" src=\'/Files/Templates/Designs/BusinessDays/assets/js/custom.js\'"); 2152 2153 WriteLiteral("></script>\r\n <script"); 2154 2155 WriteLiteral(" type=\'text/javascript\'"); 2156 2157 WriteLiteral(" src=\'/Files/Templates/Designs/BusinessDays/assets/js/jquery.countdown.js\'"); 2158 2159 WriteLiteral("></script>\r\n <script"); 2160 2161 WriteLiteral(" type=\'text/javascript\'"); 2162 2163 WriteLiteral(" src=\'/Files/Templates/Designs/BusinessDays/assets/js/main.js\'"); 2164 2165 WriteLiteral("></script>\r\n <script"); 2166 2167 WriteLiteral(" type=\'text/javascript\'"); 2168 2169 WriteLiteral(" src=\'/Files/Templates/Designs/BusinessDays/assets/js/mobile-menu.js\'"); 2170 2171 WriteLiteral("></script> \r\n\t<!--$$Snippet(footerJS)-->\t\r\n"); 2172 2173 2174 #line 729 "Z:\Sites\_dotFusion\www.businessdays.ro\FIles\Templates\Designs\BusinessDays\_parsed\PricingTable.parsed.cshtml" 2175 Write(GetString("Item.Area.Cod_Body.Value")); 2176 2177 2178 #line default 2179 #line hidden 2180 WriteLiteral("\r\n <script"); 2181 2182 WriteLiteral(" type=\"text/javascript\""); 2183 2184 WriteLiteral(@"> 2185 var _mfq = _mfq || []; 2186 (function() { 2187 var mf = document.createElement(""script""); mf.type = ""text/javascript""; mf.async = true; 2188 mf.src = ""//cdn.mouseflow.com/projects/70c59ee0-2c20-40a4-af33-50f75d54cdbc.js""; 2189 document.getElementsByTagName(""head"")[0].appendChild(mf); 2190 })(); 2191 </script> 2192 2193 </body> 2194 "); 2195 2196 } 2197 } 2198 } 2199

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