Error compiling template "Designs/TWG/_parsed/fullwidth_left.parsed.cshtml"
Line 180: 'ProductCollection' is obsolete: ''
Line 190: 'ProductCollection' is obsolete: ''
Line 185: 'Product.GetProductBySql(string)' is obsolete: 'Don't use this'
Line 196: 'Product.GetProductBySql(string)' is obsolete: 'Don't use this'
Line 3219: 'User.GetCurrentUser()' is obsolete: 'Use Current() with PagePermissionLevels instead.'
Line 3228: 'User.GetCurrentUser()' is obsolete: 'Use Current() with PagePermissionLevels instead.'
Line 3237: 'User.GetCurrentUser()' is obsolete: 'Use Current() with PagePermissionLevels instead.'
Line 5057: 'User.GetCurrentUser()' is obsolete: 'Use Current() with PagePermissionLevels instead.'
Line 5066: 'User.GetCurrentUser()' is obsolete: 'Use Current() with PagePermissionLevels instead.'
Line 5075: 'User.GetCurrentUser()' is obsolete: 'Use Current() with PagePermissionLevels instead.'
Line 5579: The name 'GeneralSettings' does not exist in the current context

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 13 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 14 using System; 15 16 #line default 17 #line hidden 18 19 #line 17 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 20 using System.Collections.Generic; 21 22 #line default 23 #line hidden 24 25 #line 18 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 26 using System.Linq; 27 28 #line default 29 #line hidden 30 31 #line 21 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 32 using Dynamicweb.Rendering; 33 34 #line default 35 #line hidden 36 37 #line 3 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 38 using Apac.Twg; 39 40 #line default 41 #line hidden 42 43 #line 4 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 44 using Apac.Twg.DTO; 45 46 #line default 47 #line hidden 48 49 #line 5 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 50 using Apac.Twg.CustomAPI; 51 52 #line default 53 #line hidden 54 55 #line 15 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 56 using System.Web; 57 58 #line default 59 #line hidden 60 61 #line 7 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 62 using System.Web.Hosting; 63 64 #line default 65 #line hidden 66 67 #line 8 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 68 using System.Xml; 69 70 #line default 71 #line hidden 72 73 #line 9 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 74 using System.Net; 75 76 #line default 77 #line hidden 78 79 #line 10 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 80 using System.Web.Mvc; 81 82 #line default 83 #line hidden 84 85 #line 11 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 86 using System.IO; 87 88 #line default 89 #line hidden 90 91 #line 14 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 92 using System.Text.RegularExpressions; 93 94 #line default 95 #line hidden 96 97 #line 16 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 98 using System.Data.SqlClient; 99 100 #line default 101 #line hidden 102 103 #line 19 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 104 using Dynamicweb.Ecommerce.Products; 105 106 #line default 107 #line hidden 108 109 110 public class RazorEngine_85ef96b857e64cebb5da2c62fa4db327 : RazorTemplateBase<RazorTemplateModel<Template>> { 111 112 #line hidden 113 114 #line 23 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 115 116 117 public class TWGNews 118 { 119 public int NewsId{get;set;} 120 public string NewsItemInstanceType{get;set;} 121 public string NewsDate{get;set;} 122 public string NewsHeading{get;set;} 123 public string NewsGeneralImage{get;set;} 124 public string NewsText{get;set;} 125 public string NewsGeneralAuthor{get;set;} 126 public int NewsSort{get;set;} 127 public string NewsCatagory{get;set;} 128 public string NewsVideoLink{get;set;} 129 public string NewsEndDate{get;set;} 130 public string NewsCarousel{get;set;} 131 public string NewsRelatedProduct{get;set;} 132 133 } 134 public class ShippingMethod 135 { 136 public string ShippingMethodId {get;set;} 137 public string ShippingMethodName {get;set;} 138 public string ShippingFee {get;set;} 139 } 140 public class PaymentMethod 141 { 142 public string PaymentMethodId {get;set;} 143 public string PaymentMethodName {get;set;} 144 145 } 146 147 public class ShowCountry 148 { 149 150 public int CountryId { get;set; } 151 public string CountryName { get;set; } 152 public string CountryCode { get;set; } 153 public string CountryCode2 { get;set; } 154 public string CountryPrefix { get;set; } 155 156 157 } 158 public class TWGBillingCountry 159 { 160 161 public int CountryId { get;set; } 162 public string CountryName { get;set; } 163 public string CountryCode { get;set; } 164 public string CountryCode2 { get;set; } 165 public string CountryPrefix { get;set; } 166 167 168 } 169 public class UtilizeVoucher 170 { 171 public string VoucherName {get;set;} 172 public string VoucherCode{get;set;} 173 public string VoucherNumber {get;set;} 174 } 175 176 177 178 public class WrapMethods 179 { 180 public static ProductCollection getRandomProducts(int count) 181 { 182 Dynamicweb.Content.Page wrapPage = new Dynamicweb.Content.Page(); 183 var areaId = wrapPage.AreaId; 184 string qy = "SELECT TOP " + count + " * FROM Ecomproducts where productprice <> '0' and ProductVariantId='' and ProductId <> 'PROD380' and productActive ='true' and productstock > 0 and ProductLanguageId = (Select AreaEcomLanguageId FROM Area where AreaId="+ areaId + ") ORDER BY NEWID() "; 185 return Dynamicweb.Ecommerce.Products.Product.GetProductBySql(qy); 186 187 } 188 189 //Get product list for back in stock 190 public static ProductCollection getRandomBackInStockProducts(string count) 191 { 192 Dynamicweb.Content.Page wrapPage = new Dynamicweb.Content.Page(); 193 var areaId = wrapPage.AreaId; 194 //string queryString = "SELECT TOP " + count + " * FROM Ecomproducts where productprice <> '0' and ProductVariantId='' and ProductId <> 'PROD380' and productActive ='true' and productstock > 0 and ProductLanguageId = (Select AreaEcomLanguageId FROM Area where AreaId="+ areaId + ") ORDER BY NEWID() "; 195 string sqlString = "Select * From EcomProducts Where ProductID = '" + count + "'"; 196 return Dynamicweb.Ecommerce.Products.Product.GetProductBySql(sqlString); 197 198 } 199 200 201 //Gets the contrasting color 202 public static string getContrastYIQ(string hexcolor) 203 { 204 if (hexcolor != "") 205 { 206 hexcolor = Regex.Replace(hexcolor, "[^0-9a-zA-Z]+",""); 207 208 int r = Convert.ToByte(hexcolor.Substring(0, 2), 16); 209 int g = Convert.ToByte(hexcolor.Substring(2, 2), 16); 210 int b = Convert.ToByte(hexcolor.Substring(4, 2), 16); 211 int yiq = ((r * 299) + (g * 587) + (b * 114)) / 1000; 212 213 if (yiq >= 128) 214 { 215 return "black"; 216 } 217 else 218 { 219 return "white"; 220 } 221 } 222 else 223 { 224 return "black"; 225 } 226 } 227 228 229 //Truncate text 230 public static string Truncate (string value, int count, bool strip=true) 231 { 232 if (strip == true){ 233 value = StripHtmlTagByCharArray(value); 234 } 235 if(value.Length>count){ 236 for(int j=0;j<20;j++){ 237 if(value[count - 1]!=' '){count--;}else{break;} 238 } 239 if (value.Length > count) 240 { 241 value = value.Substring(0, count - 1) + "..."; 242 } 243 } 244 return value; 245 } 246 247 248 //Strip text from HTML 249 public static string StripHtmlTagByCharArray(string htmlString) 250 { 251 char[] array = new char[htmlString.Length]; 252 int arrayIndex = 0; 253 bool inside = false; 254 255 for (int i = 0; i < htmlString.Length; i++) 256 { 257 char let = htmlString[i]; 258 if (let == '<') 259 { 260 inside = true; 261 continue; 262 } 263 if (let == '>') 264 { 265 inside = false; 266 continue; 267 } 268 if (!inside) 269 { 270 array[arrayIndex] = let; 271 arrayIndex++; 272 } 273 } 274 return new string(array, 0, --arrayIndex); 275 } 276 277 //Make the correct count of columns 278 public static string ColumnMaker(int Col, string ScreenSize) 279 { 280 string Columns = ""; 281 282 switch (Col) 283 { 284 case 1: 285 Columns = "col-"+ScreenSize+"-12"; 286 break; 287 288 case 2: 289 Columns = "col-"+ScreenSize+"-6"; 290 break; 291 292 case 3: 293 Columns = "col-"+ScreenSize+"-4"; 294 break; 295 296 case 4: 297 Columns = "col-"+ScreenSize+"-3"; 298 break; 299 300 default: 301 Columns = "col-"+ScreenSize+"-3"; 302 break; 303 } 304 305 return Columns; 306 } 307 308 309 private string Custom(string firstoption, string secondoption) 310 { 311 if (firstoption == "custom") 312 { 313 return secondoption; 314 } 315 else 316 { 317 return firstoption; 318 } 319 } 320 321 public static List<string> getwantList(string userID,string lngID) { 322 List<string> wnatlist=new List<string>(); 323 using(System.Data.IDataReader reader = Dynamicweb.Data.Database.CreateDataReader("SELECT ProductID,ProductVariantID FROM EcomCustomerFavoriteProducts INNER JOIN EcomCustomerFavoriteLists ON EcomCustomerFavoriteLists.ID=EcomCustomerFavoriteProducts.FavoriteListID AND AccessUserID='"+userID+"' AND ProductLanguageID='"+lngID+"'")) 324 { 325 while (reader.Read()) 326 { 327 wnatlist.Add(reader["ProductID"].ToString()+","+reader["ProductVariantID"].ToString()); 328 } 329 } 330 return wnatlist; 331 } 332 } 333 334 335 336 337 #line default 338 #line hidden 339 340 341 public RazorEngine_85ef96b857e64cebb5da2c62fa4db327() { 342 } 343 344 public override void Execute() { 345 WriteLiteral("\r\n"); 346 347 WriteLiteral("\r\n"); 348 349 WriteLiteral("\r\n\r\n<!--------------------Variable Declaration Start---------------------->\r\n\r\n"); 350 351 352 #line 249 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 353 354 string mySiteCompleteAddress = System.Web.HttpContext.Current.Request.Url.Scheme + "://" + System.Web.HttpContext.Current.Request.Url.Host; 355 string currentUrl = HttpContext.Current.Request.Url.AbsolutePath; 356 string testing = GetGlobalValue("Global:Pageview.Url.Raw"); 357 string siteName = GetGlobalValue("Global:Page.Top.Name"); 358 string lang = GetString("Global:Area.LongLang"); 359 360 string googleTagManagerID = GetString("Item.Area.GoogleTagManagerID").Trim(); 361 string facebookPixel = GetString("Item.Area.FacebookPixel").Trim(); 362 string trackingID=GetString("Item.Area.DC_code").Trim(); 363 string trackingIDWithoutDC=GetString("Item.Area.DC_code").Replace("DC-",""); 364 string conversionID=GetString("Item.Area.AW_code").Trim(); 365 string metaDescription = GetString("Meta.Description"); 366 string metaKeywords = GetString("Meta.Keywords"); 367 string logo = GetString("Item.Area.GeneralLogo"); 368 string logoText = GetString("Item.Area.GeneralLogoText"); 369 string favicon = GetString("Item.Area.Favicon"); 370 string footer = GetString("Item.Area.FooterAddress"); 371 string navigationImage = GetString("Item.Area.Navigation_Image"); 372 string currentPageId = GetString("DwPageID"); 373 string itemhome = GetString("Item.Area.Home_Page_Video_Popup.Value"); 374 string homepopupbtn = GetString("Item.Area.HomeImage.Value"); 375 string homePageImageText = GetString("Item.Area.HomePagePopupSubtitle.Value"); 376 //string firstPageId = GetString("DwAreaFirstActivePageID"); 377 int firstPageId = GetPageIdByNavigationTag("MasterPage"); 378 string searchPlaceholder = Translate("Search products", "Search products"); 379 var cartid = GetValue("DwAreaCartPageID"); 380 string generalPurposeString = ""; 381 382 var memberType = ""; 383 var memberNumber = ""; 384 int myfavCount = 0; 385 var cartPageId=GetPageIdByNavigationTag("CartPage"); 386 var loginPageId=GetPageIdByNavigationTag("LoginPage"); 387 var myaccountPageId=GetPageIdByNavigationTag("MyAccountPage"); 388 var myorderPageId=GetPageIdByNavigationTag("MyOrderPage"); 389 var registerPageId=GetPageIdByNavigationTag("RegisterPage"); 390 var favoritePageId = GetPageIdByNavigationTag("MyFavPage"); 391 var servicePageId = GetPageIdByNavigationTag("Service"); 392 var companyPageId = GetPageIdByNavigationTag("Company"); 393 var ChooseYourCountryPageId = GetPageIdByNavigationTag("chooseYourCountry"); 394 var popupPageId=GetPageIdByNavigationTag("PopupPage"); 395 var SearchPageId=GetPageIdByNavigationTag("SearchPage"); 396 var DomainName=HttpContext.Current.Request.Url.Host; 397 var serviceDataSetting="startlevel:1;endlevel:1;template:FooterInformation.xslt;expandmode:all;parentid:"+servicePageId+";"; 398 var companyDataSetting="startlevel:1;endlevel:1;template:FooterInformation.xslt;expandmode:all;parentid:"+companyPageId+";"; 399 var homePageClass = ""; 400 401 402 var pageIdByNavTag = GetPageIdByNavigationTag("MasterPage"); 403 var pageId = GetInteger("Global.PageId"); 404 405 if( pageIdByNavTag == pageId ){ 406 homePageClass = "home-page-content"; 407 } 408 if( pageId == 1030){ 409 homePageClass = "career-page-content"; 410 } 411 if( pageId == 1750){ 412 homePageClass = "mobile-page-content"; 413 } 414 if( pageId == 8){ 415 homePageClass = "news-page-content"; 416 } 417 418 419 420 System.Web.HttpContext.Current.Items["itemsINcart"] = GetLoop("OrderLines"); 421 422 // var inbagTotalQtyCount = GetInteger("Ecom:Order.OrderLines.TotalLinesCount"); 423 var inbagTotalQtyCount = 0; 424 foreach (LoopItem orderline in GetLoop("OrderLines")) 425 { 426 427 if (!string.IsNullOrWhiteSpace(orderline.GetString("Ecom:Order:OrderLine.IsProduct"))) 428 { 429 430 var ParentProductId = ""; 431 foreach (LoopItem Olf in orderline.GetLoop("Order.OrderLineFields")) 432 { 433 if (Olf.GetString("Ecom:Order:OrderLine.OrderLineField.SystemName") == "ParentProductId" && !string.IsNullOrWhiteSpace(Olf.GetString("Ecom:Order:OrderLine.OrderLineField.Value"))) 434 { 435 ParentProductId = "kkk"; 436 } 437 } 438 if (string.IsNullOrWhiteSpace(ParentProductId)) 439 { 440 inbagTotalQtyCount += orderline.GetInteger("Ecom:Order:OrderLine.Quantity"); 441 } 442 } 443 } 444 445 if (Dynamicweb.Core.Converter.ToBoolean(GetGlobalValue("Global:Extranet.UserName"))) 446 { 447 var customerNumber = GetGlobalValue("Global:Extranet.UserName"); 448 var dwMembershipNumber = DwExternalLogin.GetDWMembershipNumber(customerNumber); 449 var allMemberShips = new MemberResponse(); 450 allMemberShips = MembersonIntegration.GetMemberships(customerNumber); 451 452 if (allMemberShips.ResponseStatus.ErrorCode == "200") 453 { 454 foreach (var membership in allMemberShips.Memberships) 455 { 456 if (membership.Status == "ACTIVE") 457 { 458 memberType = membership.Type; 459 memberNumber = membership.MemberNo; 460 } 461 } 462 463 } 464 465 if (dwMembershipNumber != memberNumber) 466 { 467 DwExternalLogin.UpdateMemberShip(customerNumber); 468 dwMembershipNumber = DwExternalLogin.GetDWMembershipNumber(customerNumber); 469 } 470 471 472 } 473 string norm = "",norm2="",norm3=""; 474 //if (!string.IsNullOrWhiteSpace(System.Web.HttpContext.Current.Request["norm"])) 475 //{ 476 // norm = System.Web.HttpContext.Current.Request["norm"]; 477 // norm = norm.Replace('\\', '\''); 478 479 480 //} 481 482 string q=""; 483 if(!string.IsNullOrWhiteSpace(System.Web.HttpContext.Current.Request["q"])){ 484 q=System.Web.HttpContext.Current.Request["q"]; 485 norm = q.Replace("\\", ""); 486 norm2 = q.Replace("\\", ""); 487 norm3 = q.Replace("\\", ""); 488 } 489 490 491 var notiKey=HttpContext.Current.Request.QueryString["notificationkeyredirect"]; 492 if (!string.IsNullOrWhiteSpace(notiKey)){ 493 HttpContext.Current.Response.Redirect("/Default.aspx?ID=10547&notificationkey="+ notiKey +""); 494 } 495 496 497 498 499 #line default 500 #line hidden 501 WriteLiteral("\r\n<!----------------------Variable Declaration End---------------------->\r\n\r\n<!DO" + 502 "CTYPE html>\r\n<html"); 503 504 WriteAttribute("lang", Tuple.Create(" lang=\"", 14159), Tuple.Create("\"", 14171) 505 506 #line 397 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 507 , Tuple.Create(Tuple.Create("", 14166), Tuple.Create<System.Object, System.Int32>(lang 508 509 #line default 510 #line hidden 511 , 14166), false) 512 ); 513 514 WriteLiteral(" class=\"no-js\""); 515 516 WriteLiteral(">\r\n<head>\r\n\r\n <meta"); 517 518 WriteLiteral(" http-equiv=\"X-UA-Compatible\""); 519 520 WriteLiteral(" content=\"IE=edge,chrome=1\""); 521 522 WriteLiteral(">\r\n"); 523 524 WriteLiteral(" "); 525 526 527 #line 401 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 528 Write(RenderSnippet("MetaTags")); 529 530 531 #line default 532 #line hidden 533 WriteLiteral("\r\n"); 534 535 WriteLiteral(" "); 536 537 538 #line 402 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 539 Write(RenderSnippet("meta")); 540 541 542 #line default 543 #line hidden 544 WriteLiteral("\r\n <title>"); 545 546 547 #line 403 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 548 Write(GetValue("Title")); 549 550 551 #line default 552 #line hidden 553 WriteLiteral("</title>\r\n"); 554 555 556 #line 404 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 557 Write(GetValue("MetaTags")); 558 559 560 #line default 561 #line hidden 562 WriteLiteral("\r\n"); 563 564 565 #line 405 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 566 Write(GetValue("CopyRightNotice")); 567 568 569 #line default 570 #line hidden 571 WriteLiteral("\r\n\r\n \r\n \r\n <meta"); 572 573 WriteLiteral(" name=\"viewport\""); 574 575 WriteLiteral(" content=\"width=device-width, initial-scale=1,user-scalable=no\""); 576 577 WriteLiteral(">\r\n <meta"); 578 579 WriteLiteral(" name=\"format-detection\""); 580 581 WriteLiteral(" content=\"telephone=no\""); 582 583 WriteLiteral(">\r\n <link"); 584 585 WriteLiteral(" rel=\"shortcut icon\""); 586 587 WriteLiteral(" type=\"image/png\""); 588 589 WriteLiteral(" href=\"/Files/Templates/Designs/TWG/images/icon175x175.png\""); 590 591 WriteLiteral(" sizes=\"192x192\""); 592 593 WriteLiteral(">\r\n <link"); 594 595 WriteLiteral(" rel=\"shortcut icon\""); 596 597 WriteLiteral(" type=\"image/x-icon\""); 598 599 WriteAttribute("href", Tuple.Create(" href=\"", 14756), Tuple.Create("\"", 14771) 600 601 #line 412 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 602 , Tuple.Create(Tuple.Create("", 14763), Tuple.Create<System.Object, System.Int32>(favicon 603 604 #line default 605 #line hidden 606 , 14763), false) 607 ); 608 609 WriteLiteral(">\r\n <!--<link rel=\"stylesheet\" href=\"https://maxcdn.bootstrapcdn.com/font-awes" + 610 "ome/4.7.0/css/font-awesome.min.css\" />-->\r\n \t<link"); 611 612 WriteLiteral(" rel=\"stylesheet\""); 613 614 WriteLiteral(" href=\"https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome" + 615 ".min.css\""); 616 617 WriteLiteral(">\r\n <!--<link href=\"http://netdna.bootstrapcdn.com/bootstrap/3.3.7/css/bootstr" + 618 "ap.min.css\" rel=\"stylesheet\">-->\r\n <link"); 619 620 WriteLiteral(" rel=\"stylesheet\""); 621 622 WriteLiteral(" href=\"/Files/Templates/Designs/TWG/css/bootstrap.min.css\""); 623 624 WriteLiteral(">\r\n <link"); 625 626 WriteLiteral(" href=\"/Files/Templates/Designs/TWG/css/open-iconic-bootstrap.css\""); 627 628 WriteLiteral(" rel=\"stylesheet\""); 629 630 WriteLiteral(">\r\n <link"); 631 632 WriteLiteral(" rel=\"stylesheet\""); 633 634 WriteLiteral(" href=\"/Files/Templates/Designs/TWG/css/bootstrap-chosen.css\""); 635 636 WriteLiteral(">\r\n <link"); 637 638 WriteLiteral(" rel=\"stylesheet\""); 639 640 WriteLiteral(" href=\"https://cdnjs.cloudflare.com/ajax/libs/bxslider/4.2.12/jquery.bxslider.css" + 641 "\""); 642 643 WriteLiteral(">\r\n <link"); 644 645 WriteLiteral(" rel=\"stylesheet\""); 646 647 WriteLiteral(" href=\"/Files/Templates/Designs/TWG/css/slick.css\""); 648 649 WriteLiteral("> \r\n \r\n"); 650 651 WriteLiteral(" "); 652 653 654 #line 422 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 655 Write(RenderSnippet("HeaderCSS")); 656 657 658 #line default 659 #line hidden 660 WriteLiteral("\r\n\r\n <!-- Analytics code -->\r\n"); 661 662 WriteLiteral(" "); 663 664 665 #line 425 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 666 Write(GetValue("Item.Area.OtherAnalyticsCode")); 667 668 669 #line default 670 #line hidden 671 WriteLiteral("\r\n <!-- Google Tag Manager -->\r\n \r\n"); 672 673 674 #line 428 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 675 676 677 #line default 678 #line hidden 679 680 #line 428 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 681 if (!string.IsNullOrWhiteSpace(googleTagManagerID)) 682 { 683 684 685 686 #line default 687 #line hidden 688 WriteLiteral(" <!-- Google Tag Manager -->\r\n"); 689 690 WriteLiteral(@" <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': 691 new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], 692 j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= 693 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f); 694 })(window,document,'script','dataLayer','"); 695 696 697 #line 436 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 698 Write(googleTagManagerID); 699 700 701 #line default 702 #line hidden 703 WriteLiteral("\');</script>\r\n"); 704 705 WriteLiteral(" <!-- End Google Tag Manager -->\r\n"); 706 707 708 #line 438 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 709 710 } 711 712 713 #line default 714 #line hidden 715 WriteLiteral(" <!-- End Google Tag Manager -->\r\n <!-- Lightning Bolt Begins -->\r\n " + 716 " \t\t<script"); 717 718 WriteLiteral(" type=\"text/javascript\""); 719 720 WriteLiteral(" id=\"lightning_bolt\""); 721 722 WriteLiteral(" src=\"//cdn-akamai.mookie1.com/LB/LightningBolt.js\""); 723 724 WriteLiteral("></script>\r\n \t<!-- Lightning Bolt Ends --> \r\n \r\n \r\n \r\n " + 725 " \r\n <!--Start Facebook Pixel Code --> \r\n \r\n"); 726 727 728 #line 450 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 729 730 731 #line default 732 #line hidden 733 734 #line 450 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 735 if (!string.IsNullOrWhiteSpace(facebookPixel)) 736 { 737 738 739 #line default 740 #line hidden 741 WriteLiteral(" <!-- Facebook Pixel Code -->\r\n"); 742 743 WriteLiteral(@" <script> 744 !function(f,b,e,v,n,t,s) 745 {if(f.fbq)return;n=f.fbq=function(){n.callMethod? 746 n.callMethod.apply(n,arguments):n.queue.push(arguments)}; 747 if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0'; 748 n.queue=[];t=b.createElement(e);t.async=!0; 749 t.src=v;s=b.getElementsByTagName(e)[0]; 750 s.parentNode.insertBefore(t,s)}(window, document,'script', 751 'https://connect.facebook.net/en_US/fbevents.js'); 752 fbq('init', '"); 753 754 755 #line 462 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 756 Write(facebookPixel); 757 758 759 #line default 760 #line hidden 761 WriteLiteral("\');\r\n fbq(\'track\', \'PageView\');\r\n </script>\r\n"); 762 763 WriteLiteral(" <noscript><img"); 764 765 WriteLiteral(" height=\"1\""); 766 767 WriteLiteral(" width=\"1\""); 768 769 WriteLiteral(" style=\"display:none\""); 770 771 WriteAttribute("src", Tuple.Create(" src=\"", 17346), Tuple.Create("\"", 17420) 772 , Tuple.Create(Tuple.Create("", 17352), Tuple.Create("https://www.facebook.com/tr?id=", 17352), true) 773 774 #line 465 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 775 , Tuple.Create(Tuple.Create("", 17383), Tuple.Create<System.Object, System.Int32>(facebookPixel 776 777 #line default 778 #line hidden 779 , 17383), false) 780 , Tuple.Create(Tuple.Create("", 17397), Tuple.Create("&ev=PageView&noscript=1", 17397), true) 781 ); 782 783 WriteLiteral("></noscript>\r\n"); 784 785 WriteLiteral(" <!-- End Facebook Pixel Code -->\r\n"); 786 787 788 #line 467 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 789 } 790 791 792 #line default 793 #line hidden 794 WriteLiteral(" \t<!--Start of global snippet: Please do not remove Place this snippet between th" + 795 "e <head> and </head> tags on every page of your site.-->\r\n <!-- Global site" + 796 " tag (gtag.js) - Google Marketing Platform -->\r\n <script"); 797 798 WriteLiteral(" async=\"\""); 799 800 WriteAttribute("src", Tuple.Create(" src=\"", 17706), Tuple.Create("\"", 17767) 801 , Tuple.Create(Tuple.Create("", 17712), Tuple.Create("https://www.googletagmanager.com/gtag/js?id=", 17712), true) 802 803 #line 470 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 804 , Tuple.Create(Tuple.Create("", 17756), Tuple.Create<System.Object, System.Int32>(trackingID 805 806 #line default 807 #line hidden 808 , 17756), false) 809 ); 810 811 WriteLiteral("></script>\r\n <script>\r\n window.dataLayer = window.dataLayer || [];\r\n " + 812 " function gtag(){dataLayer.push(arguments);}\r\n gtag(\'js\', new Date(" + 813 "));\r\n\r\n gtag(\'config\', \'"); 814 815 816 #line 476 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 817 Write(trackingID); 818 819 820 #line default 821 #line hidden 822 WriteLiteral("\');\r\n gtag(\'config\', \'"); 823 824 825 #line 477 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 826 Write(conversionID); 827 828 829 #line default 830 #line hidden 831 WriteLiteral("\');\r\n </script>\r\n\t<!-- End of global snippet: Please do not remove -->\r\n " + 832 " \r\n <script>\r\n gtag(\'event\', \'page_view\', {\r\n \'send_to\': \'"); 833 834 835 #line 483 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 836 Write(conversionID); 837 838 839 #line default 840 #line hidden 841 WriteLiteral("\',\r\n \'value\': \""); 842 843 844 #line 484 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 845 Write(GetString("DwPageName")); 846 847 848 #line default 849 #line hidden 850 WriteLiteral("\",\r\n \'items\': [{\r\n \'id\': \'"); 851 852 853 #line 486 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 854 Write(GetString("DwPageID")); 855 856 857 #line default 858 #line hidden 859 WriteLiteral("\',\r\n \'google_business_vertical\': \'retail\'\r\n }]\r\n });\r\n </" + 860 "script>\r\n <noscript>\r\n \t<img"); 861 862 WriteAttribute("src", Tuple.Create(" src=\"", 18406), Tuple.Create("\"", 18568) 863 , Tuple.Create(Tuple.Create("", 18412), Tuple.Create("https://ad.doubleclick.net/ddm/activity/src=", 18412), true) 864 865 #line 492 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 866 , Tuple.Create(Tuple.Create("", 18456), Tuple.Create<System.Object, System.Int32>(trackingIDWithoutDC 867 868 #line default 869 #line hidden 870 , 18456), false) 871 , Tuple.Create(Tuple.Create("", 18476), Tuple.Create(";type=accou0;cat=accou0;dc_lat=;dc_rdid=;tag_for_child_directed_treatment=;tfua=;" + 872 "npa=;ord=1?", 18476), true) 873 ); 874 875 WriteLiteral(" width=\"1\""); 876 877 WriteLiteral(" height=\"1\""); 878 879 WriteLiteral(" alt=\"\""); 880 881 WriteLiteral(">\r\n </noscript> \r\n"); 882 883 884 #line 494 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 885 886 887 #line default 888 #line hidden 889 890 #line 494 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 891 if (!string.IsNullOrWhiteSpace(GetString("Item.Page.Custom_Script"))) 892 { 893 894 895 #line default 896 #line hidden 897 WriteLiteral(" "); 898 899 900 #line 496 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 901 Write(GetString("Item.Page.Custom_Script")); 902 903 904 #line default 905 #line hidden 906 WriteLiteral(" \r\n"); 907 908 909 #line 497 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 910 } 911 912 913 #line default 914 #line hidden 915 WriteLiteral(" <script>\r\n var itemsInCart=["); 916 917 918 #line 499 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 919 foreach(LoopItem i in GetLoop("OrderLines")){ 920 921 #line default 922 #line hidden 923 WriteLiteral(" \'"); 924 925 926 #line 499 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 927 Write(i.GetString("Ecom:Order:OrderLine.ProductID")); 928 929 930 #line default 931 #line hidden 932 WriteLiteral("\',"); 933 934 935 #line 499 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 936 } 937 938 #line default 939 #line hidden 940 WriteLiteral("];//for item ids in cart\r\n var cartVarQty=["); 941 942 943 #line 500 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 944 foreach(LoopItem i in GetLoop("OrderLines")){ 945 946 #line default 947 #line hidden 948 WriteLiteral(" \'"); 949 950 951 #line 500 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 952 Write(i.GetString("Ecom:Order:OrderLine.Quantity")); 953 954 955 #line default 956 #line hidden 957 WriteLiteral(","); 958 959 960 #line 500 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 961 Write(i.GetString("Ecom:Order:OrderLine.ProductVariantText")); 962 963 964 #line default 965 #line hidden 966 WriteLiteral("\',"); 967 968 969 #line 500 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 970 } 971 972 #line default 973 #line hidden 974 WriteLiteral("];//for item ids in cart\r\n var isLoggedIn = 0;\r\n var baseUrl = \'\';\r" + 975 "\n var shoppingUrl = \"Default.aspx?ID="); 976 977 978 #line 503 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 979 Write(GetString("DwAreaCartPageID")); 980 981 982 #line default 983 #line hidden 984 WriteLiteral("\";\r\n var googleRecaptcha = \'"); 985 986 987 #line 504 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 988 Write(GetString("Item.Area.GoogleRecaptcha")); 989 990 991 #line default 992 #line hidden 993 WriteLiteral(@"'; 994 995 (function (d, s, id) { 996 var js, fjs = d.getElementsByTagName(s)[0]; 997 if (d.getElementById(id)) return; 998 js = d.createElement(s); js.id = id; 999 js.src = ""//connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.10""; 1000 fjs.parentNode.insertBefore(js, fjs); 1001 }(document, 'script', 'facebook-jssdk')); 1002 1003 ///////check browser version////////////////////////// 1004 navigator.sayswho= (function(){ 1005 var ua= navigator.userAgent, tem, 1006 M= ua.match(/(opera|chrome|safari|firefox|msie|trident(?=\/))\/?\s*(\d+)/i) || []; 1007 if(/trident/i.test(M[1])){ 1008 tem= /\brv[ :]+(\d+)/g.exec(ua) || []; 1009 return 'IE '+(tem[1] || ''); 1010 } 1011 if(M[1]=== 'Chrome'){ 1012 tem= ua.match(/\b(OPR|Edge)\/(\d+)/); 1013 if(tem!= null) return tem.slice(1).join(' ').replace('OPR', 'Opera'); 1014 } 1015 M= M[2]? [M[1], M[2]]: [navigator.appName, navigator.appVersion, '-?']; 1016 if((tem= ua.match(/version\/(\d+)/i))!= null) M.splice(1, 1, tem[1]); 1017 return M.join('-'); 1018 })(); 1019 ///////////////////////////////////////////////////////// 1020 </script> 1021 1022 1023 <link"); 1024 1025 WriteLiteral(" rel=\"stylesheet\""); 1026 1027 WriteLiteral(" type=\"text/css\""); 1028 1029 WriteLiteral(" href=\"/Files/Templates/Designs/TWG/css/animate.min.css\""); 1030 1031 WriteLiteral(">\r\n <link"); 1032 1033 WriteLiteral(" rel=\"stylesheet\""); 1034 1035 WriteLiteral(" href=\"https://use.typekit.net/ibt2soa.css\""); 1036 1037 WriteLiteral(">\r\n <link"); 1038 1039 WriteLiteral(" rel=\"stylesheet\""); 1040 1041 WriteLiteral(" href=\"/Files/Templates/Designs/TWG/css/main.css?v=1.0.3\""); 1042 1043 WriteLiteral(">\r\n <link"); 1044 1045 WriteLiteral(" rel=\"stylesheet\""); 1046 1047 WriteLiteral(" href=\"/Files/Templates/Designs/TWG/css/main_AnujaToMerge.css\""); 1048 1049 WriteLiteral(">\r\n <link"); 1050 1051 WriteLiteral(" rel=\"stylesheet\""); 1052 1053 WriteLiteral(" href=\"/Files/Templates/Designs/TWG/css/responsive.css?v=2.0.5\""); 1054 1055 WriteLiteral(">\r\n <link"); 1056 1057 WriteLiteral(" rel=\"stylesheet\""); 1058 1059 WriteLiteral(" href=\"/Files/Templates/Designs/TWG/css/main_srj.css\""); 1060 1061 WriteLiteral(">\r\n \t<link"); 1062 1063 WriteLiteral(" rel=\"stylesheet\""); 1064 1065 WriteLiteral(" href=\"/Files/Templates/Designs/TWG/vendor/video-js/video-js.min.css\""); 1066 1067 WriteLiteral(">\r\n\r\n\r\n"); 1068 1069 WriteLiteral(" "); 1070 1071 1072 #line 543 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 1073 Write(RenderSnippet("HeaderJavaScript")); 1074 1075 1076 #line default 1077 #line hidden 1078 WriteLiteral("\r\n\r\n <script"); 1079 1080 WriteLiteral(" src=\"/Files/Templates/Designs/TWG/js/jquery-3.3.1.min.js\""); 1081 1082 WriteLiteral("></script>\r\n\t<script"); 1083 1084 WriteLiteral(" src=\"https://cdnjs.cloudflare.com/ajax/libs/jquery-validate/1.17.0/jquery.valida" + 1085 "te.js\""); 1086 1087 WriteLiteral("></script>\r\n <script"); 1088 1089 WriteLiteral(" src=\"https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js\""); 1090 1091 WriteLiteral("></script>\r\n <script"); 1092 1093 WriteLiteral(" src=\"https://cdnjs.cloudflare.com/ajax/libs/jquery.form/4.2.2/jquery.form.js\""); 1094 1095 WriteLiteral("></script> \r\n <script"); 1096 1097 WriteLiteral(" src=\"/Files/Templates/Designs/TWG/js/jquery.blockUI.js\""); 1098 1099 WriteLiteral("></script>\r\n <!--<script src=\"https://ajax.googleapis.com/ajax/libs/jquery/3" + 1100 ".3.1/jquery.min.js\"></script>-->\r\n <script"); 1101 1102 WriteLiteral(" src=\"https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js\""); 1103 1104 WriteLiteral("></script>\r\n <script"); 1105 1106 WriteLiteral(" src=\"https://use.typekit.net/ege4icy.js\""); 1107 1108 WriteLiteral("></script>\r\n\r\n"); 1109 1110 1111 #line 554 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 1112 1113 1114 switch (GetString("DwTopPageID")) 1115 { 1116 case "2": 1117 1118 1119 #line default 1120 #line hidden 1121 WriteLiteral(" "); 1122 1123 WriteLiteral(@" 1124 <script> 1125 function gaProductListData(u1,u2,u3,u4,u5,u6){ 1126 gtag('event', 'conversion', { 1127 'allow_custom_scripts': true, 1128 'u1': ""[""+u1+""]"", 1129 'u2': ""[""+u2+""]"", 1130 'u3': ""[""+u3+""]"", 1131 'u4': ""[""+u4+""]"", 1132 'u5': ""[""+u5+""]"", 1133 'u6': ""[""+u6+""]"", 1134 'send_to': '"); 1135 1136 1137 #line 570 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 1138 Write(trackingID); 1139 1140 1141 #line default 1142 #line hidden 1143 WriteLiteral("/find-0/find-0+standard\'\r\n });\r\n\t\t\t\t\t}\r\n </" + 1144 "script>\r\n\t\t\t\t<noscript>\r\n \t<img"); 1145 1146 WriteAttribute("src", Tuple.Create(" src=\"", 22780), Tuple.Create("\"", 23040) 1147 , Tuple.Create(Tuple.Create("", 22786), Tuple.Create("https://ad.doubleclick.net/ddm/activity/src=", 22786), true) 1148 1149 #line 575 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 1150 , Tuple.Create(Tuple.Create("", 22830), Tuple.Create<System.Object, System.Int32>(trackingIDWithoutDC 1151 1152 #line default 1153 #line hidden 1154 , 22830), false) 1155 , Tuple.Create(Tuple.Create("", 22850), Tuple.Create(";type=find-0;cat=find-0;u1=[product_name];u2=[product_category];u3=[product_id];u" + 1156 "4=[product_value];u5=[country];u6=[city];dc_lat=;dc_rdid=;tag_for_child_directed" + 1157 "_treatment=;tfua=;npa=;ord=1?", 22850), true) 1158 ); 1159 1160 WriteLiteral(" width=\"1\""); 1161 1162 WriteLiteral(" height=\"1\""); 1163 1164 WriteLiteral(" alt=\"\""); 1165 1166 WriteLiteral(">\r\n </noscript>\r\n "); 1167 1168 WriteLiteral("\r\n"); 1169 1170 1171 #line 578 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 1172 break; 1173 case "4": 1174 1175 1176 #line default 1177 #line hidden 1178 WriteLiteral(" \t "); 1179 1180 WriteLiteral(@" 1181 <script> 1182 function gaProductListData(u1,u2,u3,u4,u5,u6){ 1183 gtag('event', 'conversion', { 1184 'allow_custom_scripts': true, 1185 'u1': ""[""+u1+""]"", 1186 'u2': ""[""+u2+""]"", 1187 'u3': ""[""+u3+""]"", 1188 'send_to': '"); 1189 1190 1191 #line 588 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 1192 Write(trackingID); 1193 1194 1195 #line default 1196 #line hidden 1197 WriteLiteral("/for-t0/for-t0+standard\'\r\n });\r\n\t\t\t\t\t}\r\n </" + 1198 "script>\r\n\t\t\t\t<noscript>\r\n <img"); 1199 1200 WriteAttribute("src", Tuple.Create(" src=\"", 23672), Tuple.Create("\"", 23945) 1201 , Tuple.Create(Tuple.Create("", 23678), Tuple.Create("https://ad.doubleclick.net/ddm/activity/src=", 23678), true) 1202 1203 #line 593 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 1204 , Tuple.Create(Tuple.Create("", 23722), Tuple.Create<System.Object, System.Int32>(trackingIDWithoutDC 1205 1206 #line default 1207 #line hidden 1208 , 23722), false) 1209 , Tuple.Create(Tuple.Create("", 23742), Tuple.Create(";type=for-t0;cat=for-t0;u1=[product_name];u2=[product_category];u3=[product_id];u" + 1210 "4=[product_value];u5=[country];u6=[city];u7=[loyalty];dc_lat=;dc_rdid=;tag_for_c" + 1211 "hild_directed_treatment=;tfua=;npa=;ord=1?", 23742), true) 1212 ); 1213 1214 WriteLiteral(" width=\"1\""); 1215 1216 WriteLiteral(" height=\"1\""); 1217 1218 WriteLiteral(" alt=\"\""); 1219 1220 WriteLiteral(">\r\n </noscript>\r\n "); 1221 1222 WriteLiteral("\t\r\n"); 1223 1224 1225 #line 596 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 1226 break; 1227 case "3": 1228 1229 1230 #line default 1231 #line hidden 1232 WriteLiteral("\t\t\t "); 1233 1234 WriteLiteral(@" 1235 <script> 1236 function gaProductListData(u1,u2,u3,u4,u5,u6){ 1237 gtag('event', 'conversion', { 1238 'allow_custom_scripts': true, 1239 'u1': ""[""+u1+""]"", 1240 'u2': ""[""+u2+""]"", 1241 'u3': ""[""+u3+""]"", 1242 'send_to': '"); 1243 1244 1245 #line 606 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 1246 Write(trackingID); 1247 1248 1249 #line default 1250 #line hidden 1251 WriteLiteral("/gifts0/gifts0+standard\'\r\n });\r\n\t\t\t\t\t}\r\n </" + 1252 "script>\r\n\t\t\t\t<noscript>\r\n <img"); 1253 1254 WriteAttribute("src", Tuple.Create(" src=\"", 24563), Tuple.Create("\"", 24836) 1255 , Tuple.Create(Tuple.Create("", 24569), Tuple.Create("https://ad.doubleclick.net/ddm/activity/src=", 24569), true) 1256 1257 #line 611 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 1258 , Tuple.Create(Tuple.Create("", 24613), Tuple.Create<System.Object, System.Int32>(trackingIDWithoutDC 1259 1260 #line default 1261 #line hidden 1262 , 24613), false) 1263 , Tuple.Create(Tuple.Create("", 24633), Tuple.Create(";type=gifts0;cat=gifts0;u1=[product_name];u2=[product_category];u3=[product_id];u" + 1264 "4=[product_value];u5=[country];u6=[city];u7=[loyalty];dc_lat=;dc_rdid=;tag_for_c" + 1265 "hild_directed_treatment=;tfua=;npa=;ord=1?", 24633), true) 1266 ); 1267 1268 WriteLiteral(" width=\"1\""); 1269 1270 WriteLiteral(" height=\"1\""); 1271 1272 WriteLiteral(" alt=\"\""); 1273 1274 WriteLiteral(">\r\n </noscript>\r\n "); 1275 1276 WriteLiteral("\r\n"); 1277 1278 1279 #line 614 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 1280 break; 1281 case "1377": 1282 1283 1284 #line default 1285 #line hidden 1286 WriteLiteral("\t\t\t "); 1287 1288 WriteLiteral(@" 1289 <script> 1290 function gaProductListData(u1,u2,u3,u4,u5,u6){ 1291 gtag('event', 'conversion', { 1292 'allow_custom_scripts': true, 1293 'u1': ""[""+u1+""]"", 1294 'u2': ""[""+u2+""]"", 1295 'u3': ""[""+u3+""]"", 1296 'send_to': '"); 1297 1298 1299 #line 624 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 1300 Write(trackingID); 1301 1302 1303 #line default 1304 #line hidden 1305 WriteLiteral("/searc0/searc0+standard\'\r\n });\r\n\t\t\t\t\t}\r\n </" + 1306 "script>\r\n\t\t\t\t<noscript>\r\n <img"); 1307 1308 WriteAttribute("src", Tuple.Create(" src=\"", 25445), Tuple.Create("\"", 25663) 1309 , Tuple.Create(Tuple.Create("", 25451), Tuple.Create("https://ad.doubleclick.net/ddm/activity/src=", 25451), true) 1310 1311 #line 629 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 1312 , Tuple.Create(Tuple.Create("", 25495), Tuple.Create<System.Object, System.Int32>(trackingIDWithoutDC 1313 1314 #line default 1315 #line hidden 1316 , 25495), false) 1317 , Tuple.Create(Tuple.Create("", 25515), Tuple.Create(";type=searc0;cat=searc0;u1=[product_name];u2=[product_category];u3=[product_id];d" + 1318 "c_lat=;dc_rdid=;tag_for_child_directed_treatment=;tfua=;npa=;ord=1?", 25515), true) 1319 ); 1320 1321 WriteLiteral(" width=\"1\""); 1322 1323 WriteLiteral(" height=\"1\""); 1324 1325 WriteLiteral(" alt=\"\""); 1326 1327 WriteLiteral(">\r\n </noscript>\r\n "); 1328 1329 WriteLiteral("\r\n"); 1330 1331 1332 #line 632 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 1333 break; 1334 default: 1335 1336 1337 #line default 1338 #line hidden 1339 WriteLiteral("\t\t\t"); 1340 1341 WriteLiteral("\r\n <script>\r\n\t\t\t\t\tfunction gaProductListData(u1,u2,u3,u4,u5,u6){\r\n" + 1342 "\t\t\t\t\t\treturn true;\r\n\t\t\t\t\t}\r\n </script>\t\t\t\t\r\n "); 1343 1344 WriteLiteral("\r\n"); 1345 1346 1347 #line 641 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 1348 break; 1349 1350 } 1351 1352 1353 #line default 1354 #line hidden 1355 WriteLiteral("\t\t\r\n \r\n\r\n"); 1356 1357 1358 #line 647 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 1359 Write(GetValue("Stylesheets")); 1360 1361 1362 #line default 1363 #line hidden 1364 WriteLiteral("\r\n"); 1365 1366 1367 #line 648 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 1368 Write(GetValue("Javascripts")); 1369 1370 1371 #line default 1372 #line hidden 1373 WriteLiteral("\r\n</head>\r\n<div"); 1374 1375 WriteLiteral(" class=\"d-none\""); 1376 1377 WriteLiteral(">\r\n <input"); 1378 1379 WriteLiteral(" type=\"hidden\""); 1380 1381 WriteLiteral(" id=\"HomePageId\""); 1382 1383 WriteAttribute("value", Tuple.Create(" value=\"", 26110), Tuple.Create("\"", 26133) 1384 1385 #line 651 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 1386 , Tuple.Create(Tuple.Create("", 26118), Tuple.Create<System.Object, System.Int32>(pageIdByNavTag 1387 1388 #line default 1389 #line hidden 1390 , 26118), false) 1391 ); 1392 1393 WriteLiteral(">\r\n <input"); 1394 1395 WriteLiteral(" type=\"hidden\""); 1396 1397 WriteLiteral(" id=\"CurrentPageId\""); 1398 1399 WriteAttribute("value", Tuple.Create(" value=\"", 26182), Tuple.Create("\"", 26197) 1400 1401 #line 652 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 1402 , Tuple.Create(Tuple.Create("", 26190), Tuple.Create<System.Object, System.Int32>(pageId 1403 1404 #line default 1405 #line hidden 1406 , 26190), false) 1407 ); 1408 1409 WriteLiteral(">\r\n \r\n </div>\r\n \r\n\r\n\r\n \r\n<body"); 1410 1411 WriteAttribute("style", Tuple.Create(" style=\"", 26243), Tuple.Create("\"", 26272) 1412 1413 #line 659 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 1414 , Tuple.Create(Tuple.Create("", 26251), Tuple.Create<System.Object, System.Int32>(generalPurposeString 1415 1416 #line default 1417 #line hidden 1418 , 26251), false) 1419 ); 1420 1421 WriteLiteral(" id=\"sitecontent\""); 1422 1423 WriteLiteral(" ontouchstart=\"\""); 1424 1425 WriteAttribute("class", Tuple.Create(" class=\"", 26306), Tuple.Create("\"", 26328) 1426 1427 #line 659 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 1428 , Tuple.Create(Tuple.Create("", 26314), Tuple.Create<System.Object, System.Int32>(homePageClass 1429 1430 #line default 1431 #line hidden 1432 , 26314), false) 1433 ); 1434 1435 WriteLiteral(">\r\n <!-- Google Tag Manager (noscript) -->\r\n <!-- First page for video popup b" + 1436 "ox --> \r\n \r\n <div"); 1437 1438 WriteLiteral(" class=\"homevideo\""); 1439 1440 WriteLiteral(" id=\"homepopup\""); 1441 1442 WriteLiteral(" style=\"display: none;\""); 1443 1444 WriteLiteral("> \r\n <div"); 1445 1446 WriteLiteral(" class=\"modal-dialog modal-video dialogpopup\""); 1447 1448 WriteLiteral(" role=\"document\""); 1449 1450 WriteLiteral(">\r\n <div"); 1451 1452 WriteLiteral(" class=\"modal-content\""); 1453 1454 WriteLiteral("> \r\n <div"); 1455 1456 WriteLiteral(" class=\"modal-body modal-body-video\""); 1457 1458 WriteLiteral(">\r\n \r\n <video"); 1459 1460 WriteLiteral(" id=\"entrancevideo\""); 1461 1462 WriteLiteral(" width=\"100%\""); 1463 1464 WriteAttribute("poster", Tuple.Create(" poster=\"", 26722), Tuple.Create("\"", 26744) 1465 1466 #line 668 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 1467 , Tuple.Create(Tuple.Create("", 26731), Tuple.Create<System.Object, System.Int32>(homepopupbtn 1468 1469 #line default 1470 #line hidden 1471 , 26731), false) 1472 ); 1473 1474 WriteLiteral(" controls=\"\""); 1475 1476 WriteLiteral(">\r\n <source"); 1477 1478 WriteAttribute("src", Tuple.Create(" src=\"", 26785), Tuple.Create("\"", 26800) 1479 1480 #line 669 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 1481 , Tuple.Create(Tuple.Create("", 26791), Tuple.Create<System.Object, System.Int32>(itemhome 1482 1483 #line default 1484 #line hidden 1485 , 26791), false) 1486 ); 1487 1488 WriteLiteral(" type=\"video/mp4\""); 1489 1490 WriteLiteral(">\r\n <source"); 1491 1492 WriteAttribute("src", Tuple.Create(" src=\"", 26846), Tuple.Create("\"", 26861) 1493 1494 #line 670 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 1495 , Tuple.Create(Tuple.Create("", 26852), Tuple.Create<System.Object, System.Int32>(itemhome 1496 1497 #line default 1498 #line hidden 1499 , 26852), false) 1500 ); 1501 1502 WriteLiteral(" type=\"video/ogg\""); 1503 1504 WriteLiteral(">\r\n <source"); 1505 1506 WriteAttribute("src", Tuple.Create(" src=\"", 26907), Tuple.Create("\"", 26922) 1507 1508 #line 671 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 1509 , Tuple.Create(Tuple.Create("", 26913), Tuple.Create<System.Object, System.Int32>(itemhome 1510 1511 #line default 1512 #line hidden 1513 , 26913), false) 1514 ); 1515 1516 WriteLiteral(" type=\"video/webm\""); 1517 1518 WriteLiteral(">\r\n \t <source"); 1519 1520 WriteAttribute("src", Tuple.Create(" src=\"", 26968), Tuple.Create("\"", 26983) 1521 1522 #line 672 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 1523 , Tuple.Create(Tuple.Create("", 26974), Tuple.Create<System.Object, System.Int32>(itemhome 1524 1525 #line default 1526 #line hidden 1527 , 26974), false) 1528 ); 1529 1530 WriteLiteral(" type=\"video/youtube\""); 1531 1532 WriteLiteral("></source>\r\n \r\n \t <object"); 1533 1534 WriteAttribute("data", Tuple.Create(" data=\"", 27059), Tuple.Create("\"", 27075) 1535 1536 #line 674 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 1537 , Tuple.Create(Tuple.Create("", 27066), Tuple.Create<System.Object, System.Int32>(itemhome 1538 1539 #line default 1540 #line hidden 1541 , 27066), false) 1542 ); 1543 1544 WriteLiteral(" width=\"100%\""); 1545 1546 WriteLiteral(">\r\n <embed"); 1547 1548 WriteAttribute("src", Tuple.Create(" src=\"", 27116), Tuple.Create("\"", 27131) 1549 1550 #line 675 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 1551 , Tuple.Create(Tuple.Create("", 27122), Tuple.Create<System.Object, System.Int32>(itemhome 1552 1553 #line default 1554 #line hidden 1555 , 27122), false) 1556 ); 1557 1558 WriteLiteral(" width=\"100%\""); 1559 1560 WriteLiteral(@"> 1561 </object> 1562 </source></source></source></video> 1563 </div> 1564 </div> 1565 </div> 1566 </div> 1567 <script> 1568 $( ""#homeimage"" ).click(function(e) { 1569 if(e.target == this) 1570 $('#homeimage').fadeOut(); 1571 aleart(""heeh""); 1572 }); 1573 $( ""#homepopup"" ).click(function(e) { 1574 if(e.target == this) 1575 { 1576 var media = $(""#entrancevideo"").get(0); 1577 media.pause(); 1578 media.currentTime = 0; 1579 //$('#entrancevideo').pause(); 1580 $('#homepopup').fadeOut(); 1581 } 1582 }); 1583 function ShowVideo() { 1584 //document.getElementById(""videoplay"").play(); 1585 $('#homeimage').hide(); 1586 aleart(""heeh1""); 1587 $('#homepopup').show(); 1588 aleart(""heeh2""); 1589 } 1590 1591 </script> 1592 <noscript><iframe"); 1593 1594 WriteAttribute("src", Tuple.Create(" src=\"", 27941), Tuple.Create("\"", 28010) 1595 , Tuple.Create(Tuple.Create("", 27947), Tuple.Create("https://www.googletagmanager.com/ns.html?id=", 27947), true) 1596 1597 #line 707 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 1598 , Tuple.Create(Tuple.Create("", 27991), Tuple.Create<System.Object, System.Int32>(googleTagManagerID 1599 1600 #line default 1601 #line hidden 1602 , 27991), false) 1603 ); 1604 1605 WriteLiteral(" height=\"0\""); 1606 1607 WriteLiteral(" width=\"0\""); 1608 1609 WriteLiteral(" style=\"display:none;visibility:hidden\""); 1610 1611 WriteLiteral(@"></iframe></noscript> 1612 <!-- End Google Tag Manager (noscript) --> 1613 <script> 1614 $(document).ready(function(){ 1615 1616 /////////////////////////////////////////////old browser issue fix by AKS //////////////////////////////////////////////// 1617 if(navigator.sayswho.replace(""Safari-"","""") < 8 ){ 1618 1619 if(getCookie(""safariOld"")=="""") 1620 { 1621 var date = new Date(); 1622 date.setTime(date.getTime()+(2*60*60*1000));//2 hours 1623 var expires = ""; expires=""+date.toGMTString(); 1624 document.cookie = ""safariOld=old""+expires+""; path=/""; 1625 "); 1626 1627 1628 #line 721 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 1629 1630 1631 #line default 1632 #line hidden 1633 1634 #line 721 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 1635 if(GetString("Global.PageId") == firstPageId.ToString()) 1636 { 1637 1638 #line default 1639 #line hidden 1640 WriteLiteral("\t\t\t\r\n $(\'#global_popup\').show();\r\n $(\'#c_location\').sho" + 1641 "w();\r\n $(\'#GPheader\').html(\'"); 1642 1643 1644 #line 725 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 1645 Write(Translate("Your browser is old", "Your browser is old")); 1646 1647 1648 #line default 1649 #line hidden 1650 WriteLiteral("\');\r\n \t\t\t $(\'#GPheader\').attr(\"style\",\"margin-top:60px;font-size:18px!important" + 1651 ";font-weight:bold;text-transform: uppercase!important\");\r\n $(\'#GPbo" + 1652 "dy\').html(\'"); 1653 1654 1655 #line 727 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 1656 Write(Translate("Old Safari Browser Message Home", " Please update your browser so you have better experience with our website.")); 1657 1658 1659 #line default 1660 #line hidden 1661 WriteLiteral("\'); \r\n $(\"html, body\").animate({ scrollTop: 0 }, \"fast\");\r\n \t"); 1662 1663 1664 #line 729 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 1665 } 1666 1667 1668 #line default 1669 #line hidden 1670 WriteLiteral(@" } 1671 } 1672 1673 /////////////////////////////////////////////old browser issue fix by AKS end//////////////////////////////////////////////// 1674 1675 var favCookie = getFavoriteCookie(""comefromfavourite""); 1676 var refreshCounter=getFavoriteCookie(""refreshcounterforfav""); 1677 if(parseInt(refreshCounter) > 1) 1678 { 1679 document.cookie = ""comefromfavourite= ; expires = Thu, 01 Jan 1970 00:00:00 GMT;path=/;""; 1680 document.cookie = ""favouriteproductcookie=;expires=Sat, 31 Dec 2050 12:00:00 UTC; path=/;""; 1681 } 1682 1683 if(!('"); 1684 1685 1686 #line 743 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 1687 Write(GetString("DwPageName")); 1688 1689 1690 #line default 1691 #line hidden 1692 WriteLiteral(@"'.includes(""Login""))) 1693 { 1694 var refreshValue=parseInt(refreshCounter)+1; 1695 document.cookie = ""refreshcounterforfav=""+refreshValue+"";expires=Sat, 31 Dec 2050 12:00:00 UTC; path=/;""; 1696 } 1697 1698 function getFavoriteCookie(cname) 1699 { 1700 var name = cname + ""=""; 1701 var ca = document.cookie.split(';'); 1702 for(var i = 0; i < ca.length; i++) 1703 { 1704 var c = ca[i]; 1705 while (c.charAt(0) == ' ') { 1706 c = c.substring(1); 1707 } 1708 if (c.indexOf(name) == 0) { 1709 return c.substring(name.length, c.length); 1710 } 1711 } 1712 return """"; 1713 } 1714 }) 1715 </script> 1716 1717 <script"); 1718 1719 WriteLiteral(" type=\"text/javascript\""); 1720 1721 WriteLiteral(">\r\n var itemsInWant = [];\r\n"); 1722 1723 1724 #line 770 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 1725 1726 1727 #line default 1728 #line hidden 1729 1730 #line 770 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 1731 if (Dynamicweb.Core.Converter.ToBoolean(GetGlobalValue("Global:Extranet.UserName"))) { 1732 List<string> wantitems=new List<string>(); 1733 wantitems = WrapMethods.getwantList(GetGlobalValue("Global:Extranet.UserID"),Dynamicweb.Content.AreaService.Repository.GetArea(Convert.ToInt32(GetGlobalValue("Global:Area.ID"))).EcomLanguageId); 1734 myfavCount = wantitems.Count; 1735 1736 1737 #line default 1738 #line hidden 1739 WriteLiteral(" "); 1740 1741 WriteLiteral("\r\n itemsInWant=[\r\n"); 1742 1743 1744 #line 776 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 1745 1746 1747 #line default 1748 #line hidden 1749 1750 #line 776 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 1751 foreach(string i in wantitems){ 1752 string[] kk=i.Split(','); 1753 if(kk[1]==""){ 1754 1755 #line default 1756 #line hidden 1757 WriteLiteral(" \'"); 1758 1759 1760 #line 778 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 1761 Write(kk[0]); 1762 1763 1764 #line default 1765 #line hidden 1766 WriteLiteral("\',"); 1767 1768 1769 #line 778 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 1770 } 1771 else{ 1772 1773 #line default 1774 #line hidden 1775 WriteLiteral(" \'"); 1776 1777 1778 #line 779 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 1779 Write(kk[0]); 1780 1781 1782 #line default 1783 #line hidden 1784 WriteLiteral(","); 1785 1786 1787 #line 779 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 1788 Write(kk[1]); 1789 1790 1791 #line default 1792 #line hidden 1793 WriteLiteral("\',"); 1794 1795 1796 #line 779 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 1797 } 1798 } 1799 1800 1801 #line default 1802 #line hidden 1803 WriteLiteral(" ];\r\n "); 1804 1805 WriteLiteral("\r\n"); 1806 1807 1808 #line 783 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 1809 } 1810 1811 1812 #line default 1813 #line hidden 1814 WriteLiteral("\r\n\r\n </script>\r\n <!-- Check the promo with Abhinav -->\r\n <!-- Promo Mess" + 1815 "age -->\r\n"); 1816 1817 1818 #line 789 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 1819 1820 1821 #line default 1822 #line hidden 1823 1824 #line 789 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 1825 if (!string.IsNullOrWhiteSpace(GetString("Item.Area.PromotionNote"))) 1826 { 1827 1828 1829 #line default 1830 #line hidden 1831 WriteLiteral(" <div"); 1832 1833 WriteLiteral(" class=\"promo-bar\""); 1834 1835 WriteLiteral(">\r\n <div"); 1836 1837 WriteLiteral(" class=\"promo-message-wrapper\""); 1838 1839 WriteLiteral(">\r\n"); 1840 1841 WriteLiteral(" "); 1842 1843 1844 #line 793 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 1845 Write(GetString("Item.Area.PromotionNote")); 1846 1847 1848 #line default 1849 #line hidden 1850 WriteLiteral("\r\n </div>\r\n </div>\r\n"); 1851 1852 1853 #line 796 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 1854 } 1855 1856 1857 #line default 1858 #line hidden 1859 WriteLiteral(" <!-- //Promo Message -->\r\n \r\n <!-- --------------------------------------" + 1860 "--------------------------------------------------Choose Your Country ----------" + 1861 "----------------------------------------------- -->\r\n <script>\r\n " + 1862 " /*$(window).load(function(){\r\n $(\'#pageLoad\').fadeOu" + 1863 "t();\r\n });*/\r\n\r\n \r\n\r\n\r\n function sh" + 1864 "owLower() {\r\n $(\"#lower_content\").slideToggle(\"slow\");\r\n " + 1865 " }\r\n\r\n function hideAll() {\r\n\r\n docu" + 1866 "ment.getElementById(\"c_location\").style.display = \"none\";\r\n d" + 1867 "ocument.getElementById(\"upper_content\").style.display = \"none\";\r\n " + 1868 " document.getElementById(\"lower_content\").style.display = \"none\";\r\n " + 1869 " $(\'#global_popup\').hide();\r\n document.getElementBy" + 1870 "Id(\"fir_st\").style.display = \"none\";\r\n document.getElementByI" + 1871 "d(\"sec_ond\").style.display = \"none\";\r\n if ($(\'#footer2\').leng" + 1872 "th) {\r\n $(\'#global_popup\').css(\'height\', \'300px\');\r\n " + 1873 " $(\'#footer2\').remove();\r\n }\r\n " + 1874 " }\r\n\r\n function hideAllPopup() {\r\n $(\'#c_loc" + 1875 "ation\').hide();\r\n $(\'#global_popup\').hide();\r\n " + 1876 " $(\'#fir_st\').hide();\r\n $(\'#sec_ond\').hide();\r\n " + 1877 " if ($(\'#footer2\').length) {\r\n $(\'#global_popup\'" + 1878 ").css(\'height\', \'300px\');\r\n $(\'#footer2\').remove();\r\n " + 1879 " }\r\n }\r\n \t\t\t\r\n \t\t\tfunction hideDeliveryP" + 1880 "opup() {\r\n \t\t\t\t$(\'#c_location\').hide();\r\n $(\'#global_pop" + 1881 "up\').hide();\r\n $(\'#fir_st\').hide();\r\n $(\'#" + 1882 "sec_ond\').hide();\r\n \t\t\t\t$(\"#WaitLoading\").show();\r\n \t\t\t\t$(\'#ordersubmi" + 1883 "t\').submit();\r\n if ($(\'#footer2\').length) {\r\n " + 1884 " $(\'#global_popup\').css(\'height\', \'300px\');\r\n $(\'#" + 1885 "footer2\').remove();\r\n }\r\n }\r\n </script>\r\n " + 1886 " <style>\r\n \t.pl-10px{\r\n \t padding-left: 10px;\r\n " + 1887 " }\r\n \t.SubmitLogin{\r\n \t\tpadding: 0px !important;\r\n }\r\n " + 1888 " \t.registerNow{\r\n \t\tpadding-top: 12px !important;\r\n }\r\n /" + 1889 "*.dropDown{\r\n \t\tleft: -270px !important;\r\n \t\t\twidth: 380% !important;\r" + 1890 "\n }Comment By TTL*/\r\n \r\n "); 1891 1892 WriteLiteral("@media (max-width: 414px)\r\n\t\t{\r\n \t.mblposition{\r\n \t\tposition: unset" + 1893 " !important;\r\n \t\t\tmargin-right: -3px !important;\r\n \t}\r\n }\r\n " + 1894 " \r\n "); 1895 1896 WriteLiteral("@media (max-width: 378px)\r\n {\r\n \t.mbldialog{\r\n /*top: -142px" + 1897 ";*/\r\n \t}\r\n }\r\n </style>\r\n <div"); 1898 1899 WriteLiteral(" class=\"Fav-circle-bg\""); 1900 1901 WriteLiteral(">\r\n <div"); 1902 1903 WriteLiteral(" class=\"Fav-circle\""); 1904 1905 WriteLiteral(">\r\n <button"); 1906 1907 WriteLiteral(" class=\"btn-link preloader\""); 1908 1909 WriteLiteral(" style=\"/*! display: none; */\""); 1910 1911 WriteLiteral("><img"); 1912 1913 WriteLiteral(" class=\"fa-spin\""); 1914 1915 WriteLiteral(" src=\"/Files/Images/TWG-Tea/ring.png\""); 1916 1917 WriteLiteral(" alt=\"ring\""); 1918 1919 WriteLiteral("></button>\r\n </div>\r\n </div> \r\n\r\n <div"); 1920 1921 WriteLiteral(" id=\"c_location\""); 1922 1923 WriteLiteral(" style=\"width: 100%;height: 100%;background: #000;opacity: 0.7; background-repeat" + 1924 ":no-repeat;background-position:center; position: fixed;top: 0px;left: 0px;displa" + 1925 "y: none; z-index: 1;\""); 1926 1927 WriteLiteral(" onclick=\"hideAll()\""); 1928 1929 WriteLiteral(">\r\n\r\n </div>\r\n \r\n\r\n <div"); 1930 1931 WriteLiteral(" id=\"fir_st\""); 1932 1933 WriteLiteral(">\r\n <div"); 1934 1935 WriteLiteral(" id=\"PD_box\""); 1936 1937 WriteLiteral(">\r\n <div"); 1938 1939 WriteLiteral(" class=\"row\""); 1940 1941 WriteLiteral(">\r\n <div"); 1942 1943 WriteLiteral(" class=\"col-md-12\""); 1944 1945 WriteLiteral(">\r\n\r\n <form"); 1946 1947 WriteLiteral(" id=\"backStock_notiSubscribe\""); 1948 1949 WriteLiteral(" method=\"get\""); 1950 1951 WriteLiteral(">\r\n\r\n <input"); 1952 1953 WriteLiteral(" type=\"hidden\""); 1954 1955 WriteLiteral(" name=\"ProductID\""); 1956 1957 WriteLiteral(" id=\"PDProductID\""); 1958 1959 WriteLiteral(" value=\"\""); 1960 1961 WriteLiteral(">\r\n <input"); 1962 1963 WriteLiteral(" type=\"hidden\""); 1964 1965 WriteLiteral(" name=\"VariantID\""); 1966 1967 WriteLiteral(" id=\"PDVariantID\""); 1968 1969 WriteLiteral(" value=\"\""); 1970 1971 WriteLiteral(">\r\n <input"); 1972 1973 WriteLiteral(" type=\"hidden\""); 1974 1975 WriteLiteral(" name=\"LanguageID\""); 1976 1977 WriteLiteral(" id=\"PDLanguageID\""); 1978 1979 WriteLiteral(" value=\"\""); 1980 1981 WriteLiteral(">\r\n <input"); 1982 1983 WriteLiteral(" type=\"hidden\""); 1984 1985 WriteLiteral(" name=\"CartCmd\""); 1986 1987 WriteLiteral(" id=\"CartCmd\""); 1988 1989 WriteLiteral(" value=\"createnotificationforthisproduct\""); 1990 1991 WriteLiteral(">\r\n <div"); 1992 1993 WriteLiteral(" class=\"row\""); 1994 1995 WriteLiteral(">\r\n <div"); 1996 1997 WriteLiteral(" class=\"col-sm-12 col-xs-12\""); 1998 1999 WriteLiteral(">\r\n <span"); 2000 2001 WriteLiteral(" class=\"closeAll pull-right\""); 2002 2003 WriteLiteral(" onclick=\"hideAllPopup();\""); 2004 2005 WriteLiteral("><img"); 2006 2007 WriteLiteral(" src=\"/Files/Images/TWG-Tea/close-btn.png\""); 2008 2009 WriteLiteral(" alt=\"Close\""); 2010 2011 WriteLiteral("></span>\r\n </div>\r\n <div"); 2012 2013 WriteLiteral(" class=\"col-md-5 col-sm-5\""); 2014 2015 WriteLiteral(">\r\n <img"); 2016 2017 WriteLiteral(" id=\"PD_Image\""); 2018 2019 WriteLiteral(" src=\"\""); 2020 2021 WriteLiteral(" alt=\"product image\""); 2022 2023 WriteLiteral(">\r\n </div>\r\n <div"); 2024 2025 WriteLiteral(" class=\"col-md-7 col-sm-7 pl-10px\""); 2026 2027 WriteLiteral(">\r\n <div"); 2028 2029 WriteLiteral(" class=\"pd-keepheight\""); 2030 2031 WriteLiteral(">\r\n <div"); 2032 2033 WriteLiteral(" id=\"PD_productName\""); 2034 2035 WriteLiteral(">\r\n\r\n </div>\r\n " + 2036 " <div"); 2037 2038 WriteLiteral(" id=\"PD_productNumber\""); 2039 2040 WriteLiteral(">\r\n\r\n </div>\r\n " + 2041 "</div>\r\n <div"); 2042 2043 WriteLiteral(" id=\"PD_email\""); 2044 2045 WriteLiteral(">\r\n <input"); 2046 2047 WriteLiteral(" type=\"input\""); 2048 2049 WriteLiteral(" id=\"e_mail\""); 2050 2051 WriteLiteral(" name=\"NotificationEmail\""); 2052 2053 WriteLiteral(" class=\"PD_email form-control\""); 2054 2055 WriteAttribute("placeholder", Tuple.Create(" placeholder=\'", 36869), Tuple.Create("\'", 36928) 2056 2057 #line 919 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 2058 , Tuple.Create(Tuple.Create("", 36883), Tuple.Create<System.Object, System.Int32>(Translate("Email address*","Email address*") 2059 2060 #line default 2061 #line hidden 2062 , 36883), false) 2063 ); 2064 2065 WriteLiteral(" autocomplete=\"off\""); 2066 2067 WriteLiteral(" onkeyup=\"EmailChecking(this)\""); 2068 2069 WriteLiteral(">\r\n\r\n\r\n <text"); 2070 2071 WriteLiteral(" id=\"PD_error\""); 2072 2073 WriteLiteral(">"); 2074 2075 2076 #line 922 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 2077 Write(Translate("Invalid email address","Invalid email address")); 2078 2079 2080 #line default 2081 #line hidden 2082 WriteLiteral("</text>\r\n </div>\r\n " + 2083 "<div"); 2084 2085 WriteLiteral(" class=\"PD_submit\""); 2086 2087 WriteLiteral(">\r\n <button"); 2088 2089 WriteLiteral(" class=\"btn-yellow\""); 2090 2091 WriteLiteral(" onclick=\"showSec(event)\""); 2092 2093 WriteLiteral(">"); 2094 2095 2096 #line 925 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 2097 Write(Translate("NOTIFY ME","NOTIFY ME")); 2098 2099 2100 #line default 2101 #line hidden 2102 WriteLiteral("</button>\r\n </div>\r\n </" + 2103 "div>\r\n </div>\r\n </form>\r\n " + 2104 " </div>\r\n </div>\r\n </div>\r\n </div>\r\n <div"); 2105 2106 WriteLiteral(" id=\"sec_ond\""); 2107 2108 WriteLiteral(">\r\n <div"); 2109 2110 WriteLiteral(" id=\"MsgBox\""); 2111 2112 WriteLiteral(">\r\n <div"); 2113 2114 WriteLiteral(" class=\"row\""); 2115 2116 WriteLiteral(">\r\n <div"); 2117 2118 WriteLiteral(" class=\"col-sm-12 col-md-12 col-xs-12 col-lg-12 pull-right\""); 2119 2120 WriteLiteral(">\r\n <span"); 2121 2122 WriteLiteral(" class=\"closeAll\""); 2123 2124 WriteLiteral(" onclick=\"hideAllPopup();\""); 2125 2126 WriteLiteral("><img"); 2127 2128 WriteLiteral(" src=\"/Files/Images/TWG-Tea/close-btn.png\""); 2129 2130 WriteLiteral(" alt=\"Close\""); 2131 2132 WriteLiteral("></span>\r\n </div>\r\n <div"); 2133 2134 WriteLiteral(" class=\"col-sm-12 col-md-12 col-xs-12 col-lg-12 text-center\""); 2135 2136 WriteLiteral(">\r\n <p"); 2137 2138 WriteLiteral(" class=\"comfirmationpopup\""); 2139 2140 WriteLiteral(">"); 2141 2142 2143 #line 941 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 2144 Write(Translate("Confirmation","Confirmation")); 2145 2146 2147 #line default 2148 #line hidden 2149 WriteLiteral("</p>\r\n </div>\r\n <div"); 2150 2151 WriteLiteral(" class=\"col-sm-12 col-md-12 col-xs-12 col-lg-12\""); 2152 2153 WriteLiteral(">\r\n <p"); 2154 2155 WriteLiteral(" class=\"text-center\""); 2156 2157 WriteLiteral(">\r\n"); 2158 2159 WriteLiteral(" "); 2160 2161 2162 #line 945 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 2163 Write(Translate("Your notification request has been noted.","Your notification request has been noted.")); 2164 2165 2166 #line default 2167 #line hidden 2168 WriteLiteral("<br>\r\n"); 2169 2170 WriteLiteral(" "); 2171 2172 2173 #line 946 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 2174 Write(Translate("You will receive an email when the item becomes available in the online boutique.","You will receive an email when the item becomes available in the online boutique.")); 2175 2176 2177 #line default 2178 #line hidden 2179 WriteLiteral("\r\n </p>\r\n </div>\r\n <div"); 2180 2181 WriteLiteral(" class=\"col-sm-12 col-md-12 col-xs-12 col-lg-12 text-center\""); 2182 2183 WriteLiteral(">\r\n <p"); 2184 2185 WriteLiteral(" class=\"comfirmationpopupthank\""); 2186 2187 WriteLiteral(">"); 2188 2189 2190 #line 950 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 2191 Write(Translate("Thank You","Thank You")); 2192 2193 2194 #line default 2195 #line hidden 2196 WriteLiteral("</p>\r\n </div>\r\n <div"); 2197 2198 WriteLiteral(" class=\"col-sm-12 col-md-12 col-xs-12 col-lg-12 text-center\""); 2199 2200 WriteLiteral(">\r\n <a"); 2201 2202 WriteLiteral(" href=\"#\""); 2203 2204 WriteLiteral("><u>"); 2205 2206 2207 #line 953 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 2208 Write(Translate("Continue Shopping","Continue Shopping")); 2209 2210 2211 #line default 2212 #line hidden 2213 WriteLiteral("</u></a>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n <!-" + 2214 "- ---------------------------------------------------- GLOBAL POPUP ------------" + 2215 "------------------------------------------------------------------- -->\r\n <di" + 2216 "v"); 2217 2218 WriteLiteral(" id=\"global_popup\""); 2219 2220 WriteLiteral(" class=\"createAccPopup\""); 2221 2222 WriteLiteral(">\r\n <div"); 2223 2224 WriteLiteral(" class=\"col-md-12\""); 2225 2226 WriteLiteral(">\r\n <div"); 2227 2228 WriteLiteral(" class=\"row\""); 2229 2230 WriteLiteral(">\r\n <div"); 2231 2232 WriteLiteral(" class=\"pull-right\""); 2233 2234 WriteLiteral(">\r\n <button"); 2235 2236 WriteLiteral(" class=\"Cross\""); 2237 2238 WriteLiteral(" id=\"cl_close\""); 2239 2240 WriteLiteral(" type=\"button\""); 2241 2242 WriteLiteral(" name=\"\""); 2243 2244 WriteLiteral(" style=\"background: rgb(255,254,241); border: none; padding: 0;position:absolute;" + 2245 "right: 5px;z-index:9;cursor:pointer;\""); 2246 2247 WriteLiteral(" onclick=\"hideAllPopup();\""); 2248 2249 WriteLiteral(">\r\n <img"); 2250 2251 WriteLiteral(" src=\"/Files/Images/TWG-Tea/close-btn.png\""); 2252 2253 WriteLiteral(" alt=\"Close\""); 2254 2255 WriteLiteral(">\r\n </button>\r\n </div>\r\n </div>\r\n <di" + 2256 "v"); 2257 2258 WriteLiteral(" class=\"row\""); 2259 2260 WriteLiteral(">\r\n <div"); 2261 2262 WriteLiteral(" id=\"GPheader\""); 2263 2264 WriteLiteral(" class=\"col-md-12 successAccPopup\""); 2265 2266 WriteLiteral("></div>\r\n </div>\r\n <div"); 2267 2268 WriteLiteral(" id=\"GPbody\""); 2269 2270 WriteLiteral(" class=\"accCreate col-md-12\""); 2271 2272 WriteLiteral("></div>\r\n <div"); 2273 2274 WriteLiteral(" id=\"GPfooter\""); 2275 2276 WriteLiteral(" class=\"accContinue col-md-12\""); 2277 2278 WriteLiteral(@"></div> 2279 </div> 2280 </div> 2281 2282 <!-- ------------------------------------------------------------------------------------------------------------------------------------------------- --> 2283 <script> 2284 2285 function validateEmail(email) { 2286 var re = /^[a-z0-9\.\_%+-]+"); 2287 2288 WriteLiteral("@[a-z0-9\\.\\-]+\\.[a-z]{2,4}$/i;\r\n return re.test(email);\r\n }\r\n " + 2289 " \r\n $(document).ready(function(){\r\n \r\n \t$(\".relatedimg\").ad" + 2290 "dClass(\"tea-img\");\r\n \t$(\".menuLink\").mouseenter(function(){\r\n " + 2291 "\tvar specific = $(\".relatedimg\").find(\"img\");\r\n \t$(specific).attr(\"sr" + 2292 "c\",$(this).attr(\'relatedImg\'));\r\n $(specific).attr(\"alt\",$(this)." + 2293 "attr(\'menuText\'));\r\n });\r\n \r\n\t\t\t$(\".menuLink\").mouseleave(" + 2294 "function(){\r\n \tvar specific = $(\".relatedimg\").find(\"img\");\r\n " + 2295 " \t$(specific).attr(\"src\",$(specific).attr(\'back\'));\r\n $(specif" + 2296 "ic).attr(\"alt\",$(specific).attr(\'back\'));\r\n });\r\n });\r\n " + 2297 " \r\n \r\n \r\n \r\n function validateForm1(){\r\n var emai" + 2298 "l = $(\"#username1\").val();\r\n var pass = $(\"#password1\").val();\r\n " + 2299 " if (!validateEmail(email) || pass == \"\" )\r\n {\r\n " + 2300 " \tif (!validateEmail(email))\r\n \t\t\t{\r\n \t\t\t\t$(\"#username1\").css(\"b" + 2301 "order-color\", \"#ffdf61\");\r\n \t\t\t}\r\n\t\t\t\t\tif (pass == \"\")\r\n \t\t{\r" + 2302 "\n \t\t$(\"#password1\").css(\"border-color\", \"#ffdf61\");\r\n " + 2303 " \t\t}\r\n return false;\r\n }\r\n return true;\r\n " + 2304 " }\r\n function validateForm2(){\r\n var email = $(\"#username2\").va" + 2305 "l();\r\n var pass = $(\"#password2\").val();\r\n if (!validateEmai" + 2306 "l(email) || pass == \"\" )\r\n {\r\n \tif (!validateEmail" + 2307 "(email))\r\n \t\t\t{\r\n \t\t\t\t$(\"#username2\").css(\"border-color\", \"#ffdf61" + 2308 "\");\r\n \t\t\t}\r\n\t\t\t\t\tif (pass == \"\")\r\n \t\t{\r\n \t\t$(" + 2309 "\"#password2\").css(\"border-color\", \"#ffdf61\");\r\n \t\t}\r\n " + 2310 "return false;\r\n }\r\n return true;\r\n }\r\n\r\n functio" + 2311 "n gotoHome1()\r\n {\r\n location.href=\"/Default.aspx?ID="); 2312 2313 2314 #line 1041 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 2315 Write(firstPageId); 2316 2317 2318 #line default 2319 #line hidden 2320 WriteLiteral("\";\r\n }\r\n </script>\r\n\r\n <!-- ----------------------------------------" + 2321 "--------------------------------------------------------------------------------" + 2322 "------------------------- -->\r\n \r\n <div"); 2323 2324 WriteLiteral(" id=\"cookieWarningDiv\""); 2325 2326 WriteLiteral(" class=\"container-fluid header-note\""); 2327 2328 WriteLiteral(">\r\n <span"); 2329 2330 WriteLiteral(" class=\"closeCookieDiv\""); 2331 2332 WriteLiteral("></span>\r\n <p"); 2333 2334 WriteLiteral(" class=\"text-center pt-0 pb-0 mb-0\""); 2335 2336 WriteLiteral(">\r\n"); 2337 2338 WriteLiteral(" "); 2339 2340 2341 #line 1050 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 2342 Write(Translate("CokieWarning_Info","This website uses cookies to track your behavior and to improve your experience on the site. For more information")); 2343 2344 2345 #line default 2346 #line hidden 2347 WriteLiteral("\r\n </p>\r\n </div>\r\n \r\n \r\n <div"); 2348 2349 WriteLiteral(" class=\"wrapper\""); 2350 2351 WriteLiteral(">\r\n <header"); 2352 2353 WriteLiteral(" class=\"desktop-header\""); 2354 2355 WriteLiteral(">\r\n <div"); 2356 2357 WriteLiteral(" class=\"top-header\""); 2358 2359 WriteLiteral(">\r\n <div"); 2360 2361 WriteLiteral(" class=\"container\""); 2362 2363 WriteLiteral(">\r\n <div"); 2364 2365 WriteLiteral(" class=\"col-12 text-center\""); 2366 2367 WriteLiteral(">\r\n <a"); 2368 2369 WriteAttribute("href", Tuple.Create(" href=\"", 42876), Tuple.Create("\"", 42912) 2370 , Tuple.Create(Tuple.Create("", 42883), Tuple.Create("/default.aspx?id=", 42883), true) 2371 2372 #line 1060 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 2373 , Tuple.Create(Tuple.Create("", 42900), Tuple.Create<System.Object, System.Int32>(firstPageId 2374 2375 #line default 2376 #line hidden 2377 , 42900), false) 2378 ); 2379 2380 WriteLiteral(">\r\n <img"); 2381 2382 WriteAttribute("src", Tuple.Create(" src=\"", 42948), Tuple.Create("\"", 42959) 2383 2384 #line 1061 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 2385 , Tuple.Create(Tuple.Create("", 42954), Tuple.Create<System.Object, System.Int32>(logo 2386 2387 #line default 2388 #line hidden 2389 , 42954), false) 2390 ); 2391 2392 WriteAttribute("alt", Tuple.Create(" alt=\"", 42960), Tuple.Create("\"", 42975) 2393 2394 #line 1061 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 2395 , Tuple.Create(Tuple.Create("", 42966), Tuple.Create<System.Object, System.Int32>(logoText 2396 2397 #line default 2398 #line hidden 2399 , 42966), false) 2400 ); 2401 2402 WriteLiteral(">\r\n </a>\r\n </div>\r\n </di" + 2403 "v>\r\n </div>\r\n <div"); 2404 2405 WriteLiteral(" class=\"main-navigation\""); 2406 2407 WriteLiteral(">\r\n <nav>\r\n <div"); 2408 2409 WriteLiteral(" class=\"container\""); 2410 2411 WriteLiteral(">\r\n <div"); 2412 2413 WriteLiteral(" class=\"row\""); 2414 2415 WriteLiteral(" style=\"margin-left: 5px; margin-right: 5px;\""); 2416 2417 WriteLiteral(">\r\n \r\n <div"); 2418 2419 WriteLiteral(" class=\" col-2 col-sm-2 col-md-1\""); 2420 2421 WriteLiteral(">\r\n\t\t\t\t\t\t\t\t<ul"); 2422 2423 WriteLiteral(" class=\"list-unstyled list-inline mb-0\""); 2424 2425 WriteLiteral(">\r\n\t\t\t\t\t\t\t\t\t<li"); 2426 2427 WriteLiteral(" class=\"list-inline-item pl-0 pr-0\""); 2428 2429 WriteLiteral(">\r\n\t\t\t\t\t\t\t\t\t\t<a"); 2430 2431 WriteLiteral(" class=\"music-icon\""); 2432 2433 WriteLiteral(" href=\"#\""); 2434 2435 WriteLiteral(">&nbsp;</a>\r\n\t\t\t\t\t\t\t\t\t</li>\r\n\t\t\t\t\t\t\t\t</ul>\r\n\t\t\t\t\t\t\t</div>\r\n " + 2436 " \r\n <div"); 2437 2438 WriteLiteral(" class=\"col-7 col-sm-7 col-md-9 main-navigation-content\""); 2439 2440 WriteLiteral(">\r\n <ul"); 2441 2442 WriteLiteral(" class=\"list-unstyled list-inline mb-0\""); 2443 2444 WriteLiteral(">\r\n"); 2445 2446 WriteLiteral(" "); 2447 2448 2449 #line 1081 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 2450 Write(RenderNavigation(new 2451 { 2452 id = "mainNavigation", 2453 cssclass = "list-inline-item nav-item navbar-nav", 2454 startLevel = 1, 2455 ecomStartLevel = 4, 2456 endlevel = 5, 2457 expandmode = "all", 2458 template = "TWGDropDownMenu.xslt" 2459 })); 2460 2461 2462 #line default 2463 #line hidden 2464 WriteLiteral("\r\n </ul>\r\n </div>\r\n " + 2465 " <div"); 2466 2467 WriteLiteral(" class=\"col-3 col-sm-3 col-md-2 side-navigation-content\""); 2468 2469 WriteLiteral(">\r\n <ul"); 2470 2471 WriteLiteral(" class=\"list-unstyled list-inline mb-0 \""); 2472 2473 WriteLiteral(">\r\n <li"); 2474 2475 WriteLiteral(" class=\"list-inline-item\""); 2476 2477 WriteLiteral(">\r\n <a"); 2478 2479 WriteLiteral(" class=\"search-icon\""); 2480 2481 WriteLiteral(" href=\"javascript:void(0);\""); 2482 2483 WriteLiteral(">\r\n <!--<img src=\"images/search-icon.p" + 2484 "ng\" alt=\"Search\">-->\r\n </a>\r\n " + 2485 " <div"); 2486 2487 WriteLiteral(" class=\"nav-dropdown-menu search-dropdown-menu\""); 2488 2489 WriteLiteral(">\r\n <div"); 2490 2491 WriteLiteral(" class=\"row\""); 2492 2493 WriteLiteral(" style=\"display: block; margin-right: auto; margin-left: auto; display: block; mi" + 2494 "n-height: 41px !important; width: 660px !important; top: 51px !important; z-inde" + 2495 "x: 990 !important;\""); 2496 2497 WriteLiteral(">\r\n <div"); 2498 2499 WriteLiteral(" class=\"col-12\""); 2500 2501 WriteLiteral(">\r\n <form"); 2502 2503 WriteLiteral(" class=\"form-search\""); 2504 2505 WriteLiteral(" method=\"GET\""); 2506 2507 WriteLiteral(" action=\"Default.aspx\""); 2508 2509 WriteLiteral(">\r\n <div"); 2510 2511 WriteLiteral(" class=\"input-group\""); 2512 2513 WriteLiteral(">\r\n <input"); 2514 2515 WriteLiteral(" type=\"hidden\""); 2516 2517 WriteLiteral(" name=\"ID\""); 2518 2519 WriteAttribute("value", Tuple.Create(" value=\"", 45623), Tuple.Create("\"", 45644) 2520 2521 #line 1104 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 2522 , Tuple.Create(Tuple.Create("", 45631), Tuple.Create<System.Object, System.Int32>(SearchPageId 2523 2524 #line default 2525 #line hidden 2526 , 45631), false) 2527 ); 2528 2529 WriteLiteral(" autocomplete=\"off\""); 2530 2531 WriteLiteral("><!--$$searchplaceholder -->\r\n " + 2532 " <input"); 2533 2534 WriteLiteral(" name=\"q\""); 2535 2536 WriteLiteral(" id=\"eComQuery1\""); 2537 2538 WriteLiteral(" type=\"hidden\""); 2539 2540 WriteAttribute("value", Tuple.Create(" value=\"", 45800), Tuple.Create("\"", 45810) 2541 2542 #line 1105 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 2543 , Tuple.Create(Tuple.Create("", 45808), Tuple.Create<System.Object, System.Int32>(q 2544 2545 #line default 2546 #line hidden 2547 , 45808), false) 2548 ); 2549 2550 WriteLiteral(">\r\n <input"); 2551 2552 WriteLiteral(" id=\"eComQueryShadow1\""); 2553 2554 WriteAttribute("value", Tuple.Create(" value=\"", 45902), Tuple.Create("\"", 45915) 2555 2556 #line 1106 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 2557 , Tuple.Create(Tuple.Create("", 45910), Tuple.Create<System.Object, System.Int32>(norm 2558 2559 #line default 2560 #line hidden 2561 , 45910), false) 2562 ); 2563 2564 WriteLiteral(" type=\"search\""); 2565 2566 WriteLiteral(" class=\"form-control\""); 2567 2568 WriteLiteral(" autocomplete=\"off\""); 2569 2570 WriteAttribute("placeholder", Tuple.Create(" placeholder=\'", 45970), Tuple.Create("\'", 46020) 2571 2572 #line 1106 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 2573 , Tuple.Create(Tuple.Create("", 45984), Tuple.Create<System.Object, System.Int32>(Translate("Master Search","Search") 2574 2575 #line default 2576 #line hidden 2577 , 45984), false) 2578 ); 2579 2580 WriteLiteral(">\r\n\r\n <input"); 2581 2582 WriteLiteral(" name=\"_charset_\""); 2583 2584 WriteLiteral(" type=\"hidden\""); 2585 2586 WriteLiteral(" value=\"UTF-8\""); 2587 2588 WriteLiteral(" autocomplete=\"off\""); 2589 2590 WriteLiteral(">\r\n <span"); 2591 2592 WriteLiteral(" class=\"input-group-btn\""); 2593 2594 WriteLiteral(">\r\n <button"); 2595 2596 WriteLiteral(" type=\"submit\""); 2597 2598 WriteLiteral(" autocomplete=\"off\""); 2599 2600 WriteLiteral(" class=\"searchIcon\""); 2601 2602 WriteLiteral(" onclick=\"searchEvent();\""); 2603 2604 WriteLiteral(">\r\n <img"); 2605 2606 WriteLiteral(" src=\"/Files/Templates/Designs/TWG/images/search-black.png\""); 2607 2608 WriteLiteral(" alt=\"Search\""); 2609 2610 WriteLiteral(@"> 2611 </button> 2612 </span> 2613 </div> 2614 </form> 2615 </div> 2616 </div> 2617 </div> 2618 </li> 2619 <li"); 2620 2621 WriteLiteral(" class=\"list-inline-item\""); 2622 2623 WriteLiteral(">\r\n \r\n"); 2624 2625 2626 #line 1122 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 2627 2628 2629 #line default 2630 #line hidden 2631 2632 #line 1122 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 2633 if (!Dynamicweb.Core.Converter.ToBoolean(GetGlobalValue("Global:Extranet.UserName"))) 2634 { 2635 if (!testing.Contains("ID=19")) 2636 { 2637 2638 2639 #line default 2640 #line hidden 2641 WriteLiteral(" <a"); 2642 2643 WriteAttribute("href", Tuple.Create(" href=\"", 47470), Tuple.Create("\"", 47506) 2644 , Tuple.Create(Tuple.Create("", 47477), Tuple.Create("/Default.aspx?ID=", 47477), true) 2645 2646 #line 1126 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 2647 , Tuple.Create(Tuple.Create("", 47494), Tuple.Create<System.Object, System.Int32>(loginPageId 2648 2649 #line default 2650 #line hidden 2651 , 47494), false) 2652 ); 2653 2654 WriteLiteral(" class=\"mytwg-icon nav-link\""); 2655 2656 WriteLiteral(" data-target=\".my-account-sub-nav\""); 2657 2658 WriteLiteral("></a>\r\n"); 2659 2660 2661 #line 1127 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 2662 } 2663 else 2664 { 2665 2666 2667 #line default 2668 #line hidden 2669 WriteLiteral(" <a"); 2670 2671 WriteLiteral(" href=\"javascript:void(0);\""); 2672 2673 WriteLiteral(" class=\"mytwg-icon nav-link\""); 2674 2675 WriteLiteral("></a>\r\n"); 2676 2677 2678 #line 1131 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 2679 } 2680 } 2681 else 2682 { 2683 2684 2685 #line default 2686 #line hidden 2687 WriteLiteral(" <a"); 2688 2689 WriteAttribute("href", Tuple.Create(" href=\"", 48056), Tuple.Create("\"", 48096) 2690 , Tuple.Create(Tuple.Create("", 48063), Tuple.Create("/Default.aspx?ID=", 48063), true) 2691 2692 #line 1135 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 2693 , Tuple.Create(Tuple.Create("", 48080), Tuple.Create<System.Object, System.Int32>(myaccountPageId 2694 2695 #line default 2696 #line hidden 2697 , 48080), false) 2698 ); 2699 2700 WriteLiteral(" class=\"mytwg-icon nav-link\""); 2701 2702 WriteLiteral(" data-target=\".my-account-sub-nav\""); 2703 2704 WriteLiteral("></a>\r\n"); 2705 2706 2707 #line 1136 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 2708 } 2709 2710 2711 #line default 2712 #line hidden 2713 WriteLiteral(" "); 2714 2715 2716 #line 1137 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 2717 if (!Dynamicweb.Core.Converter.ToBoolean(GetGlobalValue("Global:Extranet.UserName"))) 2718 { 2719 2720 2721 #line default 2722 #line hidden 2723 WriteLiteral(" <div"); 2724 2725 WriteLiteral(" class=\"nav-dropdown-menu login-dropdown-menu dropDown\""); 2726 2727 WriteLiteral(">\r\n \r\n " + 2728 " <div"); 2729 2730 WriteLiteral(" class=\"row\""); 2731 2732 WriteLiteral(">\r\n <span"); 2733 2734 WriteLiteral(" class=\"cross-btn\""); 2735 2736 WriteLiteral("> <img"); 2737 2738 WriteLiteral(" src=\"/Files/Images/TWG-Tea/top-close-btn.png\""); 2739 2740 WriteLiteral(" alt=\"Close\""); 2741 2742 WriteLiteral("></span>\r\n \r\n " + 2743 " <div"); 2744 2745 WriteLiteral(" class=\"col-sm-6\""); 2746 2747 WriteLiteral(">\r\n <p"); 2748 2749 WriteLiteral(" class=\"border-unlogin logintitle title\""); 2750 2751 WriteLiteral(" style=\"color: #000 !important;\""); 2752 2753 WriteLiteral(">"); 2754 2755 2756 #line 1145 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 2757 Write(Translate("Log In","Log In")); 2758 2759 2760 #line default 2761 #line hidden 2762 WriteLiteral("</p>\r\n <form"); 2763 2764 WriteLiteral(" onsubmit=\"return validateForm1()\""); 2765 2766 WriteAttribute("action", Tuple.Create(" action=\"", 49138), Tuple.Create("\"", 49176) 2767 , Tuple.Create(Tuple.Create("", 49147), Tuple.Create("/Default.aspx?ID=", 49147), true) 2768 2769 #line 1146 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 2770 , Tuple.Create(Tuple.Create("", 49164), Tuple.Create<System.Object, System.Int32>(loginPageId 2771 2772 #line default 2773 #line hidden 2774 , 49164), false) 2775 ); 2776 2777 WriteLiteral(" autocomplete=\"off\""); 2778 2779 WriteLiteral(" class=\"form-horizontal\""); 2780 2781 WriteLiteral(" id=\"loginform1\""); 2782 2783 WriteLiteral(" method=\"post\""); 2784 2785 WriteLiteral(" name=\"loginform\""); 2786 2787 WriteLiteral(@"> 2788 <!--<form onsubmit=""return validateForm1()"" autoComplete=""off"" class=""form-horizontal"" id=""loginform1"" method=""post"" name=""loginform"">--> 2789 <input"); 2790 2791 WriteLiteral(" style=\"visibility: hidden;display:none;\""); 2792 2793 WriteLiteral(" type=\"text\""); 2794 2795 WriteLiteral(">\r\n \t\t\t\t\t\t\t\t\t\t\t\t\t\t<input"); 2796 2797 WriteLiteral(" style=\"visibility: hidden;display:none;\""); 2798 2799 WriteLiteral(" type=\"password\""); 2800 2801 WriteLiteral(">\r\n <!--<input autocom" + 2802 "plete=\"nope\" name=\"currentpage\" type=\"hidden\" value=\"/\" />-->\r\n " + 2803 " \t\t<input"); 2804 2805 WriteLiteral(" type=\'hidden\'"); 2806 2807 WriteAttribute("value", Tuple.Create(" value=\'", 49888), Tuple.Create("\'", 49934) 2808 2809 #line 1151 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 2810 , Tuple.Create(Tuple.Create("", 49896), Tuple.Create<System.Object, System.Int32>(GetGlobalValue("Global:Pageview.Url") 2811 2812 #line default 2813 #line hidden 2814 , 49896), false) 2815 ); 2816 2817 WriteLiteral(" name=\"currentpage\""); 2818 2819 WriteLiteral(">\r\n <!--<input type=\'h" + 2820 "idden\' value=\'"); 2821 2822 2823 #line 1152 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 2824 Write(loginPageId); 2825 2826 2827 #line default 2828 #line hidden 2829 WriteLiteral("\' name=\"currentpage\"/>-->\r\n " + 2830 " \t<div"); 2831 2832 WriteLiteral(" class=\"form-group\""); 2833 2834 WriteLiteral(">\r\n\r\n <div"); 2835 2836 WriteLiteral(" class=\"col-sm-10 pl-0\""); 2837 2838 WriteLiteral(">\r\n <!--<input" + 2839 " autocomplete=\"off\" class=\"form-control\" data-required=\"true\" id=\"username1\" nam" + 2840 "e=\"username\" placeholder=\'"); 2841 2842 2843 #line 1156 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 2844 Write(Translate("Email address*","Email address*")); 2845 2846 2847 #line default 2848 #line hidden 2849 WriteLiteral("\' type=\"text\" onkeypress=\'checkUserName( this, \"#menuinvalidId\")\'>-->\r\n " + 2850 " <input"); 2851 2852 WriteLiteral(" class=\"form-control notNull\""); 2853 2854 WriteLiteral(" id=\"username1\""); 2855 2856 WriteLiteral(" name=\"username\""); 2857 2858 WriteLiteral(" type=\"text\""); 2859 2860 WriteAttribute("placeholder", Tuple.Create(" placeholder=\'", 50714), Tuple.Create("\'", 50773) 2861 2862 #line 1157 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 2863 , Tuple.Create(Tuple.Create("", 50728), Tuple.Create<System.Object, System.Int32>(Translate("Email address*","Email address*") 2864 2865 #line default 2866 #line hidden 2867 , 50728), false) 2868 ); 2869 2870 WriteLiteral(">\r\n </div>\r\n " + 2871 " </div>\r\n " + 2872 " <div"); 2873 2874 WriteLiteral(" class=\"form-group\""); 2875 2876 WriteLiteral(">\r\n\r\n <div"); 2877 2878 WriteLiteral(" class=\"col-sm-10 pl-0\""); 2879 2880 WriteLiteral(">\r\n <input"); 2881 2882 WriteLiteral(" class=\"form-control notNull\""); 2883 2884 WriteLiteral(" data-required=\"true\""); 2885 2886 WriteLiteral(" id=\"password1\""); 2887 2888 WriteLiteral(" name=\"password\""); 2889 2890 WriteAttribute("placeholder", Tuple.Create(" placeholder=\'", 51255), Tuple.Create("\'", 51304) 2891 2892 #line 1163 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 2893 , Tuple.Create(Tuple.Create("", 51269), Tuple.Create<System.Object, System.Int32>(Translate("Password*","Password*") 2894 2895 #line default 2896 #line hidden 2897 , 51269), false) 2898 ); 2899 2900 WriteLiteral(" type=\"password\""); 2901 2902 WriteLiteral(" autocomplete=\"off\""); 2903 2904 WriteLiteral(">\r\n </div>\r\n " + 2905 " </div>\r\n " + 2906 " <div"); 2907 2908 WriteLiteral(" class=\"form-group pl-0\""); 2909 2910 WriteLiteral(" style=\"display:none;\""); 2911 2912 WriteLiteral(">\r\n <div"); 2913 2914 WriteLiteral(" class=\"col-sm-10\""); 2915 2916 WriteLiteral(">\r\n <div"); 2917 2918 WriteLiteral(" class=\"invalidId hide\""); 2919 2920 WriteLiteral(" id=\"menuinvalidId\""); 2921 2922 WriteLiteral(">\r\n \r\n"); 2923 2924 WriteLiteral(" "); 2925 2926 2927 #line 1170 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 2928 Write(Translate("Invalid user name","Invalid user name")); 2929 2930 2931 #line default 2932 #line hidden 2933 WriteLiteral(@" 2934 </div> 2935 </div> 2936 </div> 2937 <div"); 2938 2939 WriteLiteral(" class=\"form-group\""); 2940 2941 WriteLiteral(" style=\"margin-left: -5px; margin-bottom: 0px !important; height: 30px;\""); 2942 2943 WriteLiteral("></div>\r\n <div"); 2944 2945 WriteLiteral(" class=\"form-group\""); 2946 2947 WriteLiteral(">\r\n <div"); 2948 2949 WriteLiteral(" class=\"col-sm-10 ccs_class pl-0\""); 2950 2951 WriteLiteral(">\r\n <div"); 2952 2953 WriteLiteral(" class=\"custom-checkbox\""); 2954 2955 WriteLiteral(">\r\n <input"); 2956 2957 WriteLiteral(" type=\"checkbox\""); 2958 2959 WriteLiteral(" id=\"signed-in\""); 2960 2961 WriteLiteral(">\r\n<!-- 15-Now-2018 Begin Zayar Minn -->\r\n " + 2962 " <label"); 2963 2964 WriteLiteral(" for=\"signed-in\""); 2965 2966 WriteLiteral("> "); 2967 2968 2969 #line 1180 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 2970 Write(Translate("Keep me signed in","Keep me signed in")); 2971 2972 2973 #line default 2974 #line hidden 2975 WriteLiteral(@"</label> 2976 <!-- 15-Now-2018 End Zayar Minn --> 2977 </div> 2978 </div> 2979 </div> 2980 <div"); 2981 2982 WriteLiteral(" class=\"form-group\""); 2983 2984 WriteLiteral(">\r\n <div"); 2985 2986 WriteLiteral(" class=\"col-sm-10 pl-0\""); 2987 2988 WriteLiteral(">\r\n <a"); 2989 2990 WriteLiteral(" class=\"forgot-link\""); 2991 2992 WriteLiteral(" data-target=\"#pwModal\""); 2993 2994 WriteLiteral(" data-toggle=\"modal\""); 2995 2996 WriteLiteral(" id=\"forgetpasswordbtnname\""); 2997 2998 WriteLiteral(" name=\"forgetpasswordbtnname\""); 2999 3000 WriteLiteral(" type=\"text\""); 3001 3002 WriteLiteral(" href=\"javascript:void(0);\""); 3003 3004 WriteLiteral(">"); 3005 3006 3007 #line 1187 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 3008 Write(Translate("Forgot your password?","Forgot your password?")); 3009 3010 3011 #line default 3012 #line hidden 3013 WriteLiteral("</a>\r\n </div>\r\n " + 3014 " </div>\r\n " + 3015 " <div"); 3016 3017 WriteLiteral(" class=\"form-group\""); 3018 3019 WriteLiteral(">\r\n <div"); 3020 3021 WriteLiteral(" class=\"col-sm-10 text-right\""); 3022 3023 WriteLiteral(">\r\n <button"); 3024 3025 WriteLiteral(" class=\"btn-yellow SubmitLogin\""); 3026 3027 WriteLiteral(" id=\"loginbtn\""); 3028 3029 WriteLiteral(" type=\"submit\""); 3030 3031 WriteLiteral(" onclick=\'gaLoginTrack();return checkInput(event, this);\'"); 3032 3033 WriteLiteral(" style=\"min-width: 160px; left: 0; float: right; font-family: Arial !important;fo" + 3034 "nt-size: 16px !important;line-height: 29px;color: #393331 !important;text-transf" + 3035 "orm: uppercase;background-color:#f3d174 !important;\""); 3036 3037 WriteLiteral(" autocomplete=\"off\""); 3038 3039 WriteLiteral("> "); 3040 3041 3042 #line 1192 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 3043 Write(Translate("Sign in","Sign in")); 3044 3045 3046 #line default 3047 #line hidden 3048 WriteLiteral(@"</button> 3049 </div> 3050 </div> 3051 </form> 3052 3053 3054 3055 </div> 3056 <div"); 3057 3058 WriteLiteral(" class=\"col-sm-6 register-dropdown-content\""); 3059 3060 WriteLiteral(">\r\n <label"); 3061 3062 WriteLiteral(" class=\"border-unlogin logintitle title\""); 3063 3064 WriteLiteral(" style=\"color: #000 !important;\""); 3065 3066 WriteLiteral(">"); 3067 3068 3069 #line 1201 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 3070 Write(Translate("Register","Register")); 3071 3072 3073 #line default 3074 #line hidden 3075 WriteLiteral("</label>\r\n <p>"); 3076 3077 3078 #line 1202 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 3079 Write(Translate("Enjoy immediate benefits and richer experience by creating a personal account.","Enjoy immediate benefits and richer experience by creating a personal account.")); 3080 3081 3082 #line default 3083 #line hidden 3084 WriteLiteral("</p><br>\r\n \r\n<!-- 15-Now-20" + 3085 "18 Begin Zayar Minn -->\r\n \t" + 3086 "<div"); 3087 3088 WriteLiteral(" class=\"form-group\""); 3089 3090 WriteLiteral(" style=\"margin-left: -5px; margin-bottom: 0px !important; height: 30px;\""); 3091 3092 WriteLiteral("></div>\r\n<!-- 15-Now-2018 End Zayar Minn -->\r\n " + 3093 " <div"); 3094 3095 WriteLiteral(" class=\"form-group\""); 3096 3097 WriteLiteral(">\r\n <div"); 3098 3099 WriteLiteral(" class=\"col-sm-12 text-right\""); 3100 3101 WriteLiteral(">\r\n <!--<a class=\"" + 3102 "btn-yellow registerNow\" href=\"/Default.aspx?ID="); 3103 3104 3105 #line 1209 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 3106 Write(registerPageId); 3107 3108 3109 #line default 3110 #line hidden 3111 WriteLiteral("\">"); 3112 3113 3114 #line 1209 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 3115 Write(Translate("Register Now","Register Now")); 3116 3117 3118 #line default 3119 #line hidden 3120 WriteLiteral("</a>-->\r\n <a"); 3121 3122 WriteLiteral(" class=\"btn-yellow registerNow\""); 3123 3124 WriteAttribute("href", Tuple.Create(" href=\"", 56139), Tuple.Create("\"", 56178) 3125 , Tuple.Create(Tuple.Create("", 56146), Tuple.Create("/Default.aspx?ID=", 56146), true) 3126 3127 #line 1210 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 3128 , Tuple.Create(Tuple.Create("", 56163), Tuple.Create<System.Object, System.Int32>(registerPageId 3129 3130 #line default 3131 #line hidden 3132 , 56163), false) 3133 ); 3134 3135 WriteLiteral(" style=\"letter-spacing: 2px; font-family: Arial !important;color: #393331 !impor" + 3136 "tant;font-size: 16px !important;background-color: #f3d174 !important;\""); 3137 3138 WriteLiteral(">"); 3139 3140 3141 #line 1210 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 3142 Write(Translate("Register Now","Register Now")); 3143 3144 3145 #line default 3146 #line hidden 3147 WriteLiteral(@"<div></div></a> 3148 </div> 3149 </div> 3150 </div> 3151 </div> 3152 </div> 3153 "); 3154 3155 3156 #line 1216 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 3157 } 3158 else 3159 { 3160 3161 3162 #line default 3163 #line hidden 3164 WriteLiteral(" <div"); 3165 3166 WriteLiteral(" class=\"nav-dropdown-menu login-dropdown-menu\""); 3167 3168 WriteLiteral(">\r\n <span"); 3169 3170 WriteLiteral(" class=\"cross-btn A2\""); 3171 3172 WriteLiteral("><img"); 3173 3174 WriteLiteral(" src=\"/Files/Images/TWG-Tea/top-close-btn.png\""); 3175 3176 WriteLiteral("></span> \r\n <div"); 3177 3178 WriteLiteral(" class=\"row\""); 3179 3180 WriteLiteral(">\r\n <div"); 3181 3182 WriteLiteral(" class=\"col-sm-6\""); 3183 3184 WriteLiteral(" style=\"margin-left: -26px;\""); 3185 3186 WriteLiteral(">\r\n <div"); 3187 3188 WriteLiteral(" class=\"col-sm-6\""); 3189 3190 WriteLiteral(" style=\"border-top: 1px solid #393331;margin-left: 5px; width=50%; \""); 3191 3192 WriteLiteral("></div><!--HSS-->\r\n <div"); 3193 3194 WriteLiteral(" class=\"col-sm-12\""); 3195 3196 WriteLiteral("> \r\n \t<p"); 3197 3198 WriteLiteral(" class=\"mytwgpopup title\""); 3199 3200 WriteLiteral(" style=\"color: #393331 !important;\""); 3201 3202 WriteLiteral(">\r\n <span>\r\n"); 3203 3204 WriteLiteral(" "); 3205 3206 3207 #line 1227 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 3208 Write(Translate("Welcome","Welcome")); 3209 3210 3211 #line default 3212 #line hidden 3213 WriteLiteral("\r\n <br>\r\n"); 3214 3215 WriteLiteral("\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t "); 3216 3217 3218 #line 1229 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 3219 Write(Dynamicweb.Security.UserManagement.User.GetCurrentUser().Title.ToString()); 3220 3221 3222 #line default 3223 #line hidden 3224 WriteLiteral(" "); 3225 3226 3227 #line 1229 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 3228 Write(Dynamicweb.Security.UserManagement.User.GetCurrentUser().FirstName.ToString()); 3229 3230 3231 #line default 3232 #line hidden 3233 WriteLiteral(" "); 3234 3235 3236 #line 1229 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 3237 Write(Dynamicweb.Security.UserManagement.User.GetCurrentUser().LastName.ToString()); 3238 3239 3240 #line default 3241 #line hidden 3242 WriteLiteral("\r\n </span>\r\n " + 3243 " </p>\r\n " + 3244 " \t</div>\r\n"); 3245 3246 3247 #line 1233 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 3248 3249 3250 #line default 3251 #line hidden 3252 3253 #line 1233 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 3254 if (memberType == "Green") 3255 { 3256 3257 3258 #line default 3259 #line hidden 3260 WriteLiteral(" <div"); 3261 3262 WriteLiteral(" class=\"col-md-12\""); 3263 3264 WriteLiteral(">\r\n <img"); 3265 3266 WriteLiteral(" class=\"img-fluid\""); 3267 3268 WriteLiteral(" style=\"height:124px;\""); 3269 3270 WriteLiteral(" src=\"/Files/Images/TWG-Tea/MyTWG-Card-Icon/card-green_250x159.png\""); 3271 3272 WriteLiteral(" alt=\"green member\""); 3273 3274 WriteLiteral(">\r\n </div>\r\n"); 3275 3276 3277 #line 1238 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 3278 } 3279 else if (memberType == "Gold") 3280 { 3281 3282 3283 #line default 3284 #line hidden 3285 WriteLiteral(" <div"); 3286 3287 WriteLiteral(" class=\"col-md-12\""); 3288 3289 WriteLiteral(">\r\n <img"); 3290 3291 WriteLiteral(" class=\"img-fluid\""); 3292 3293 WriteLiteral(" style=\"height:124px;\""); 3294 3295 WriteLiteral(" src=\"/Files/Images/TWG-Tea/MyTWG-Card-Icon/card-gold_250x159.png\""); 3296 3297 WriteLiteral(" alt=\"gold member\""); 3298 3299 WriteLiteral(">\r\n </div>\r\n"); 3300 3301 3302 #line 1244 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 3303 } 3304 else if (memberType == "Media") 3305 { 3306 3307 3308 #line default 3309 #line hidden 3310 WriteLiteral(" <div"); 3311 3312 WriteLiteral(" class=\"col-md-12\""); 3313 3314 WriteLiteral(">\r\n <img"); 3315 3316 WriteLiteral(" class=\"img-fluid\""); 3317 3318 WriteLiteral(" style=\"height:159px;\""); 3319 3320 WriteLiteral(" src=\"/Files/Images/TWG-Tea/MyTWG-Card-Icon/card-media_250x159.png\""); 3321 3322 WriteLiteral(" alt=\"media\""); 3323 3324 WriteLiteral(">\r\n </div>\r\n"); 3325 3326 3327 #line 1250 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 3328 } 3329 else 3330 { 3331 3332 3333 3334 #line default 3335 #line hidden 3336 WriteLiteral(" <div"); 3337 3338 WriteLiteral(" class=\"col-md-12\""); 3339 3340 WriteLiteral(">\r\n <img"); 3341 3342 WriteLiteral(" class=\"img-fluid\""); 3343 3344 WriteLiteral(" style=\"height:159px;\""); 3345 3346 WriteLiteral(" src=\"/Files/Images/TWG-Tea/MyTWG-Card-Icon/card-nonmember_250x159.png\""); 3347 3348 WriteLiteral(" alt=\"scubscriber\""); 3349 3350 WriteLiteral(">\r\n </div>\r\n"); 3351 3352 3353 #line 1257 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 3354 } 3355 3356 3357 #line default 3358 #line hidden 3359 WriteLiteral(" </div>\r\n " + 3360 " <div"); 3361 3362 WriteLiteral(" class=\"col-sm-6 login-option-list\""); 3363 3364 WriteLiteral(">\r\n <div"); 3365 3366 WriteLiteral(" class=\"col-md-6\""); 3367 3368 WriteLiteral(" style=\"border-top: 1px solid #000; margin-left: 10px; height: 116px;\""); 3369 3370 WriteLiteral("></div>\r\n <div"); 3371 3372 WriteLiteral(" class=\"col-md-12\""); 3373 3374 WriteLiteral(" style=\"margin-left: 4px;\""); 3375 3376 WriteLiteral(">\r\n <ul>\r\n " + 3377 " <li><a"); 3378 3379 WriteAttribute("href", Tuple.Create(" href=\"", 60980), Tuple.Create("\"", 61020) 3380 , Tuple.Create(Tuple.Create("", 60987), Tuple.Create("/Default.aspx?ID=", 60987), true) 3381 3382 #line 1263 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 3383 , Tuple.Create(Tuple.Create("", 61004), Tuple.Create<System.Object, System.Int32>(myaccountPageId 3384 3385 #line default 3386 #line hidden 3387 , 61004), false) 3388 ); 3389 3390 WriteLiteral(">"); 3391 3392 3393 #line 1263 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 3394 Write(Translate("My Account", "My Account")); 3395 3396 3397 #line default 3398 #line hidden 3399 WriteLiteral("</a></li>\r\n <li><a" + 3400 ""); 3401 3402 WriteAttribute("href", Tuple.Create(" href=\"", 61141), Tuple.Create("\"", 61205) 3403 , Tuple.Create(Tuple.Create("", 61148), Tuple.Create("/Default.aspx?ID=", 61148), true) 3404 3405 #line 1264 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 3406 , Tuple.Create(Tuple.Create("", 61165), Tuple.Create<System.Object, System.Int32>(myaccountPageId 3407 3408 #line default 3409 #line hidden 3410 , 61165), false) 3411 , Tuple.Create(Tuple.Create("", 61181), Tuple.Create("&changepasswordShow=true", 61181), true) 3412 ); 3413 3414 WriteLiteral(">"); 3415 3416 3417 #line 1264 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 3418 Write(Translate("Change Password", "Change Password")); 3419 3420 3421 #line default 3422 #line hidden 3423 WriteLiteral("</a></li>\r\n <li><a" + 3424 ""); 3425 3426 WriteAttribute("href", Tuple.Create(" href=\"", 61336), Tuple.Create("\"", 61375) 3427 , Tuple.Create(Tuple.Create("", 61343), Tuple.Create("/Default.aspx?ID=", 61343), true) 3428 3429 #line 1265 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 3430 , Tuple.Create(Tuple.Create("", 61360), Tuple.Create<System.Object, System.Int32>(favoritePageId 3431 3432 #line default 3433 #line hidden 3434 , 61360), false) 3435 ); 3436 3437 WriteLiteral(">"); 3438 3439 3440 #line 1265 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 3441 Write(Translate("My Favourites", "My Favourites")); 3442 3443 3444 #line default 3445 #line hidden 3446 WriteLiteral("</a></li>\r\n <li><a" + 3447 ""); 3448 3449 WriteAttribute("href", Tuple.Create(" href=\"", 61502), Tuple.Create("\"", 61540) 3450 , Tuple.Create(Tuple.Create("", 61509), Tuple.Create("/Default.aspx?ID=", 61509), true) 3451 3452 #line 1266 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 3453 , Tuple.Create(Tuple.Create("", 61526), Tuple.Create<System.Object, System.Int32>(myorderPageId 3454 3455 #line default 3456 #line hidden 3457 , 61526), false) 3458 ); 3459 3460 WriteLiteral(">"); 3461 3462 3463 #line 1266 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 3464 Write(Translate("My Orders", "My Orders")); 3465 3466 3467 #line default 3468 #line hidden 3469 WriteLiteral("</a></li>\r\n\r\n </ul>\r\n " + 3470 " </div>\r\n " + 3471 " <div"); 3472 3473 WriteLiteral(" class=\"col-md-12 text-right\""); 3474 3475 WriteLiteral(" style=\"margin-top:75px;\""); 3476 3477 WriteLiteral(">\r\n <a"); 3478 3479 WriteLiteral(" id=\"out_link\""); 3480 3481 WriteLiteral(" class=\"btn-yellow-signout\""); 3482 3483 WriteLiteral(" style=\"margin-right: -53px; margin-top: 36px\""); 3484 3485 WriteLiteral(" href=\"javascript:void(0)\""); 3486 3487 WriteLiteral(" onclick=\"extranetLogOut();\""); 3488 3489 WriteLiteral(">"); 3490 3491 3492 #line 1271 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 3493 Write(Translate("Sign Out", "Sign Out")); 3494 3495 3496 #line default 3497 #line hidden 3498 WriteLiteral("</a>\r\n </div>\r\n " + 3499 " </div>\r\n " + 3500 " </div>\r\n </div>\r\n"); 3501 3502 3503 #line 1276 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 3504 } 3505 3506 3507 #line default 3508 #line hidden 3509 WriteLiteral(" </li>\r\n <l" + 3510 "i"); 3511 3512 WriteLiteral(" class=\"list-inline-item\""); 3513 3514 WriteLiteral(">\r\n"); 3515 3516 3517 #line 1279 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 3518 3519 3520 #line default 3521 #line hidden 3522 3523 #line 1279 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 3524 if (!Dynamicweb.Core.Converter.ToBoolean(GetGlobalValue("Global:Extranet.UserName"))) 3525 { 3526 3527 3528 #line default 3529 #line hidden 3530 WriteLiteral(" <a"); 3531 3532 WriteLiteral(" class=\"favourite-indicator\""); 3533 3534 WriteAttribute("href", Tuple.Create(" href=\"", 62713), Tuple.Create("\"", 62749) 3535 , Tuple.Create(Tuple.Create("", 62720), Tuple.Create("/Default.aspx?ID=", 62720), true) 3536 3537 #line 1281 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 3538 , Tuple.Create(Tuple.Create("", 62737), Tuple.Create<System.Object, System.Int32>(loginPageId 3539 3540 #line default 3541 #line hidden 3542 , 62737), false) 3543 ); 3544 3545 WriteLiteral(">\r\n <span"); 3546 3547 WriteLiteral(" class=\"badge favIcon count\""); 3548 3549 WriteLiteral(">"); 3550 3551 3552 #line 1282 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 3553 Write(myfavCount); 3554 3555 3556 #line default 3557 #line hidden 3558 WriteLiteral("</span>\r\n </a>\r\n"); 3559 3560 3561 #line 1284 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 3562 } 3563 else 3564 { 3565 3566 3567 3568 #line default 3569 #line hidden 3570 WriteLiteral(" <a"); 3571 3572 WriteLiteral(" class=\"favourite-indicator\""); 3573 3574 WriteAttribute("href", Tuple.Create(" href=\"", 63157), Tuple.Create("\"", 63196) 3575 , Tuple.Create(Tuple.Create("", 63164), Tuple.Create("/Default.aspx?id=", 63164), true) 3576 3577 #line 1288 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 3578 , Tuple.Create(Tuple.Create("", 63181), Tuple.Create<System.Object, System.Int32>(favoritePageId 3579 3580 #line default 3581 #line hidden 3582 , 63181), false) 3583 ); 3584 3585 WriteLiteral(">\r\n <span"); 3586 3587 WriteLiteral(" class=\"badge favIcon count\""); 3588 3589 WriteLiteral(">"); 3590 3591 3592 #line 1289 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 3593 Write(myfavCount); 3594 3595 3596 #line default 3597 #line hidden 3598 WriteLiteral("</span>\r\n </a>\r\n"); 3599 3600 3601 #line 1291 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 3602 } 3603 3604 3605 #line default 3606 #line hidden 3607 WriteLiteral("\r\n </li>\r\n " + 3608 "<li"); 3609 3610 WriteLiteral(" class=\"list-inline-item\""); 3611 3612 WriteLiteral(">\r\n\r\n <a"); 3613 3614 WriteLiteral(" class=\"cart-indicator\""); 3615 3616 WriteAttribute("href", Tuple.Create(" href=\"", 63573), Tuple.Create("\"", 63607) 3617 , Tuple.Create(Tuple.Create("", 63580), Tuple.Create("Default.aspx?id=", 63580), true) 3618 3619 #line 1296 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 3620 , Tuple.Create(Tuple.Create("", 63596), Tuple.Create<System.Object, System.Int32>(cartPageId 3621 3622 #line default 3623 #line hidden 3624 , 63596), false) 3625 ); 3626 3627 WriteLiteral(" style=\" margin-left: 20px;\""); 3628 3629 WriteLiteral(">\r\n \r\n " + 3630 " <span"); 3631 3632 WriteLiteral(" class=\"badge count\""); 3633 3634 WriteLiteral(">"); 3635 3636 3637 #line 1298 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 3638 Write(inbagTotalQtyCount); 3639 3640 3641 #line default 3642 #line hidden 3643 WriteLiteral(@"</span> 3644 </a> 3645 </li> 3646 </ul> 3647 </div> 3648 3649 </div> 3650 </div> 3651 </nav> 3652 </div> 3653 </header> 3654 <div"); 3655 3656 WriteLiteral(" class=\"mobile-header-top\""); 3657 3658 WriteLiteral(">\r\n\t\t\t<div"); 3659 3660 WriteLiteral(" class=\"container\""); 3661 3662 WriteLiteral(">\r\n\t\t\t\t<div"); 3663 3664 WriteLiteral(" class=\"row\""); 3665 3666 WriteLiteral(">\r\n\t\t\t\t\t<div"); 3667 3668 WriteLiteral(" class=\"col-12 text-center mobile-margin\""); 3669 3670 WriteLiteral(">\r\n\t\t\t\t\t\t<button"); 3671 3672 WriteLiteral(" class=\"toggle-button\""); 3673 3674 WriteLiteral(">\r\n\t\t\t\t\t\t\t<img"); 3675 3676 WriteLiteral(" src=\"/Files/Templates/Designs/TWG/images/mobile-toggle-menu.png\""); 3677 3678 WriteLiteral(" alt=\"mobile toggle menu\""); 3679 3680 WriteLiteral(">\r\n\t\t\t\t\t\t</button>\r\n\t\t\t\t\t\t<a"); 3681 3682 WriteLiteral(" class=\"mx-auto\""); 3683 3684 WriteAttribute("href", Tuple.Create(" href=\"", 64387), Tuple.Create("\"", 64423) 3685 , Tuple.Create(Tuple.Create("", 64394), Tuple.Create("/default.aspx?id=", 64394), true) 3686 3687 #line 1316 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 3688 , Tuple.Create(Tuple.Create("", 64411), Tuple.Create<System.Object, System.Int32>(firstPageId 3689 3690 #line default 3691 #line hidden 3692 , 64411), false) 3693 ); 3694 3695 WriteLiteral(">\r\n <img"); 3696 3697 WriteAttribute("src", Tuple.Create(" src=\"", 64459), Tuple.Create("\"", 64470) 3698 3699 #line 1317 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 3700 , Tuple.Create(Tuple.Create("", 64465), Tuple.Create<System.Object, System.Int32>(logo 3701 3702 #line default 3703 #line hidden 3704 , 64465), false) 3705 ); 3706 3707 WriteAttribute("alt", Tuple.Create(" alt=\"", 64471), Tuple.Create("\"", 64486) 3708 3709 #line 1317 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 3710 , Tuple.Create(Tuple.Create("", 64477), Tuple.Create<System.Object, System.Int32>(logoText 3711 3712 #line default 3713 #line hidden 3714 , 64477), false) 3715 ); 3716 3717 WriteLiteral(">\r\n </a>\r\n\t\t\t\t\t\t<ul"); 3718 3719 WriteLiteral(" class=\"list-unstyled list-inline mb-0\""); 3720 3721 WriteLiteral(">\r\n\t\t\t\t\t\t\t<li"); 3722 3723 WriteLiteral(" class=\"list-inline-item\""); 3724 3725 WriteLiteral(">\r\n"); 3726 3727 3728 #line 1321 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 3729 3730 3731 #line default 3732 #line hidden 3733 3734 #line 1321 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 3735 if (!Dynamicweb.Core.Converter.ToBoolean(GetGlobalValue("Global:Extranet.UserName"))) 3736 { 3737 3738 3739 #line default 3740 #line hidden 3741 WriteLiteral("\t\t\t\t\t\t\t\t\t<a"); 3742 3743 WriteLiteral(" class=\"favourite-indicator\""); 3744 3745 WriteAttribute("href", Tuple.Create(" href=\"", 64803), Tuple.Create("\"", 64839) 3746 , Tuple.Create(Tuple.Create("", 64810), Tuple.Create("/Default.aspx?ID=", 64810), true) 3747 3748 #line 1323 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 3749 , Tuple.Create(Tuple.Create("", 64827), Tuple.Create<System.Object, System.Int32>(loginPageId 3750 3751 #line default 3752 #line hidden 3753 , 64827), false) 3754 ); 3755 3756 WriteLiteral(">\r\n <span"); 3757 3758 WriteLiteral(" class=\"badge favIcon count\""); 3759 3760 WriteLiteral(">"); 3761 3762 3763 #line 1324 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 3764 Write(myfavCount); 3765 3766 3767 #line default 3768 #line hidden 3769 WriteLiteral("</span>\r\n </a>\r\n"); 3770 3771 3772 #line 1326 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 3773 } 3774 else 3775 { 3776 3777 3778 3779 #line default 3780 #line hidden 3781 WriteLiteral(" <a"); 3782 3783 WriteLiteral(" class=\"favourite-indicator\""); 3784 3785 WriteAttribute("href", Tuple.Create(" href=\"", 65185), Tuple.Create("\"", 65224) 3786 , Tuple.Create(Tuple.Create("", 65192), Tuple.Create("/Default.aspx?id=", 65192), true) 3787 3788 #line 1330 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 3789 , Tuple.Create(Tuple.Create("", 65209), Tuple.Create<System.Object, System.Int32>(favoritePageId 3790 3791 #line default 3792 #line hidden 3793 , 65209), false) 3794 ); 3795 3796 WriteLiteral(">\r\n <span"); 3797 3798 WriteLiteral(" class=\"badge favIcon count\""); 3799 3800 WriteLiteral(">"); 3801 3802 3803 #line 1331 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 3804 Write(myfavCount); 3805 3806 3807 #line default 3808 #line hidden 3809 WriteLiteral("</span>\r\n </a>\r\n"); 3810 3811 3812 #line 1333 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 3813 } 3814 3815 3816 #line default 3817 #line hidden 3818 WriteLiteral("\t\t\t\t\t\t\t</li>\r\n\t\t\t\t\t\t\t<li"); 3819 3820 WriteLiteral(" class=\"list-inline-item\""); 3821 3822 WriteLiteral(">\r\n <a"); 3823 3824 WriteLiteral(" class=\"cart-indicator\""); 3825 3826 WriteAttribute("href", Tuple.Create(" href=\"", 65505), Tuple.Create("\"", 65540) 3827 , Tuple.Create(Tuple.Create("", 65512), Tuple.Create("/Default.aspx?id=", 65512), true) 3828 3829 #line 1336 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 3830 , Tuple.Create(Tuple.Create("", 65529), Tuple.Create<System.Object, System.Int32>(cartPageId 3831 3832 #line default 3833 #line hidden 3834 , 65529), false) 3835 ); 3836 3837 WriteLiteral(">\r\n <span"); 3838 3839 WriteLiteral(" class=\"badge count\""); 3840 3841 WriteLiteral(">"); 3842 3843 3844 #line 1337 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 3845 Write(inbagTotalQtyCount); 3846 3847 3848 #line default 3849 #line hidden 3850 WriteLiteral("</span>\r\n </a>\r\n\t\t\t\t\t\t\t</li>\r\n\t\t\t\t\t\t</ul>\r\n\t\t\t\t\t</" + 3851 "div>\r\n\t\t\t\t</div>\r\n\t\t\t</div>\r\n\t\t</div>\r\n\t\t<div"); 3852 3853 WriteLiteral(" id=\"mobile-menu\""); 3854 3855 WriteLiteral(" class=\"mobile-menu-container\""); 3856 3857 WriteLiteral(">\r\n\t\t\t<div"); 3858 3859 WriteLiteral(" class=\"mobile-navigation\""); 3860 3861 WriteLiteral(">\r\n\t\t\t\t<div"); 3862 3863 WriteLiteral(" class=\"row mobile-logo\""); 3864 3865 WriteLiteral(">\r\n\t\t\t\t\t<div"); 3866 3867 WriteLiteral(" class=\"col-12\""); 3868 3869 WriteLiteral(">\r\n\t\t\t\t\t\t<a"); 3870 3871 WriteLiteral(" href=\"\""); 3872 3873 WriteLiteral("><img"); 3874 3875 WriteLiteral(" class=\"img-responsive\""); 3876 3877 WriteLiteral(" src=\"/Files/Images/TWG-Tea/logo-large.png\""); 3878 3879 WriteLiteral(" alt=\"Logo\""); 3880 3881 WriteLiteral("></a>\r\n\t\t\t\t\t</div>\r\n\t\t\t\t</div>\r\n\t\t\t\t<div"); 3882 3883 WriteLiteral(" class=\"row mobile-login-content\""); 3884 3885 WriteLiteral(">\r\n\t\t\t\t\t<div"); 3886 3887 WriteLiteral(" class=\"col-12\""); 3888 3889 WriteLiteral(">\r\n\t\t\t\t\t\t<ul"); 3890 3891 WriteLiteral(" class=\"list-unstyled list-inline nav-userManagement\""); 3892 3893 WriteLiteral(">\r\n"); 3894 3895 3896 #line 1355 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 3897 3898 3899 #line default 3900 #line hidden 3901 3902 #line 1355 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 3903 if (!Dynamicweb.Core.Converter.ToBoolean(GetGlobalValue("Global:Extranet.UserName"))) 3904 { 3905 3906 3907 #line default 3908 #line hidden 3909 WriteLiteral(" \t\t<li"); 3910 3911 WriteLiteral(" class=\"list-inline-item\""); 3912 3913 WriteLiteral("><a"); 3914 3915 WriteAttribute("href", Tuple.Create(" href=\"", 66369), Tuple.Create("\"", 66405) 3916 , Tuple.Create(Tuple.Create("", 66376), Tuple.Create("/Default.aspx?ID=", 66376), true) 3917 3918 #line 1357 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 3919 , Tuple.Create(Tuple.Create("", 66393), Tuple.Create<System.Object, System.Int32>(loginPageId 3920 3921 #line default 3922 #line hidden 3923 , 66393), false) 3924 ); 3925 3926 WriteLiteral(">"); 3927 3928 3929 #line 1357 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 3930 Write(Translate("Log In","Log In")); 3931 3932 3933 #line default 3934 #line hidden 3935 WriteLiteral("</a></li>\r\n"); 3936 3937 WriteLiteral(" \t\t\t<li"); 3938 3939 WriteLiteral(" class=\"list-inline-item\""); 3940 3941 WriteLiteral("><a"); 3942 3943 WriteAttribute("href", Tuple.Create(" href=\"", 66503), Tuple.Create("\"", 66542) 3944 , Tuple.Create(Tuple.Create("", 66510), Tuple.Create("/Default.aspx?ID=", 66510), true) 3945 3946 #line 1358 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 3947 , Tuple.Create(Tuple.Create("", 66527), Tuple.Create<System.Object, System.Int32>(registerPageId 3948 3949 #line default 3950 #line hidden 3951 , 66527), false) 3952 ); 3953 3954 WriteLiteral(">"); 3955 3956 3957 #line 1358 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 3958 Write(Translate("Register","Register")); 3959 3960 3961 #line default 3962 #line hidden 3963 WriteLiteral("</a></li>\r\n"); 3964 3965 3966 #line 1359 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 3967 } 3968 else 3969 { 3970 3971 3972 #line default 3973 #line hidden 3974 WriteLiteral("\t\t\t\t\t\t\t\t<li"); 3975 3976 WriteLiteral(" class=\"list-inline-item\""); 3977 3978 WriteLiteral("><a"); 3979 3980 WriteAttribute("href", Tuple.Create(" href=\"", 66721), Tuple.Create("\"", 66761) 3981 , Tuple.Create(Tuple.Create("", 66728), Tuple.Create("/Default.aspx?ID=", 66728), true) 3982 3983 #line 1362 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 3984 , Tuple.Create(Tuple.Create("", 66745), Tuple.Create<System.Object, System.Int32>(myaccountPageId 3985 3986 #line default 3987 #line hidden 3988 , 66745), false) 3989 ); 3990 3991 WriteLiteral(" style=\" text-transform: initial !important;\""); 3992 3993 WriteLiteral(">"); 3994 3995 3996 #line 1362 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 3997 Write(Translate("MyTWG","MyTWG")); 3998 3999 4000 #line default 4001 #line hidden 4002 WriteLiteral("</a></li>\r\n"); 4003 4004 WriteLiteral(" \t\t\t\t\t<li"); 4005 4006 WriteLiteral(" class=\"list-inline-item\""); 4007 4008 WriteLiteral("><a"); 4009 4010 WriteLiteral(" href=\"javascript:void(0)\""); 4011 4012 WriteLiteral(" onclick=\"extranetLogOut();\""); 4013 4014 WriteLiteral(">"); 4015 4016 4017 #line 1363 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 4018 Write(Translate("Logout","Logout")); 4019 4020 4021 #line default 4022 #line hidden 4023 WriteLiteral("</a></li>\r\n"); 4024 4025 4026 #line 1364 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 4027 4028 } 4029 4030 4031 #line default 4032 #line hidden 4033 WriteLiteral("\t\t\t\t\t\t\t<li"); 4034 4035 WriteLiteral(" class=\"list-inline-item\""); 4036 4037 WriteLiteral("><a"); 4038 4039 WriteLiteral(" class=\"music-icon\""); 4040 4041 WriteLiteral(" href=\"#\""); 4042 4043 WriteLiteral(">&nbsp;</a></li>\r\n\t\t\t\t\t\t</ul>\r\n\t\t\t\t\t</div>\r\n\t\t\t\t</div>\r\n\t\t\t\t<div"); 4044 4045 WriteLiteral(" class=\"row\""); 4046 4047 WriteLiteral(">\r\n\t\t\t\t\t<div"); 4048 4049 WriteLiteral(" class=\"col-12\""); 4050 4051 WriteLiteral(">\r\n\t\t\t\t\t\t<form"); 4052 4053 WriteLiteral(" class=\"form-search\""); 4054 4055 WriteLiteral(" method=\"GET\""); 4056 4057 WriteLiteral(" action=\"Default.aspx\""); 4058 4059 WriteLiteral(">\r\n <div"); 4060 4061 WriteLiteral(" class=\"input-group\""); 4062 4063 WriteLiteral(">\r\n\r\n <input"); 4064 4065 WriteLiteral(" type=\"hidden\""); 4066 4067 WriteLiteral(" name=\"ID\""); 4068 4069 WriteAttribute("value", Tuple.Create(" value=\"", 67399), Tuple.Create("\"", 67420) 4070 4071 #line 1375 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 4072 , Tuple.Create(Tuple.Create("", 67407), Tuple.Create<System.Object, System.Int32>(SearchPageId 4073 4074 #line default 4075 #line hidden 4076 , 67407), false) 4077 ); 4078 4079 WriteLiteral(" autocomplete=\"off\""); 4080 4081 WriteLiteral(">\r\n <input"); 4082 4083 WriteLiteral(" name=\"q\""); 4084 4085 WriteLiteral(" id=\"eComQuery2\""); 4086 4087 WriteLiteral(" type=\"hidden\""); 4088 4089 WriteAttribute("value", Tuple.Create(" value=\"", 67520), Tuple.Create("\"", 67530) 4090 4091 #line 1376 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 4092 , Tuple.Create(Tuple.Create("", 67528), Tuple.Create<System.Object, System.Int32>(q 4093 4094 #line default 4095 #line hidden 4096 , 67528), false) 4097 ); 4098 4099 WriteLiteral(">\r\n <input"); 4100 4101 WriteLiteral(" id=\"eComQueryShadow2\""); 4102 4103 WriteAttribute("value", Tuple.Create(" value=\"", 67594), Tuple.Create("\"", 67608) 4104 4105 #line 1377 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 4106 , Tuple.Create(Tuple.Create("", 67602), Tuple.Create<System.Object, System.Int32>(norm2 4107 4108 #line default 4109 #line hidden 4110 , 67602), false) 4111 ); 4112 4113 WriteLiteral(" type=\"search\""); 4114 4115 WriteLiteral(" class=\"form-control\""); 4116 4117 WriteLiteral(" autocomplete=\"off\""); 4118 4119 WriteAttribute("placeholder", Tuple.Create(" placeholder=\'", 67663), Tuple.Create("\'", 67713) 4120 4121 #line 1377 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 4122 , Tuple.Create(Tuple.Create("", 67677), Tuple.Create<System.Object, System.Int32>(Translate("Master Search","Search") 4123 4124 #line default 4125 #line hidden 4126 , 67677), false) 4127 ); 4128 4129 WriteLiteral(">\r\n\r\n <input"); 4130 4131 WriteLiteral(" name=\"_charset_\""); 4132 4133 WriteLiteral(" type=\"hidden\""); 4134 4135 WriteLiteral(" value=\"UTF-8\""); 4136 4137 WriteLiteral(" autocomplete=\"off\""); 4138 4139 WriteLiteral(">\r\n <span"); 4140 4141 WriteLiteral(" class=\"input-group-btn\""); 4142 4143 WriteLiteral(">\r\n <button"); 4144 4145 WriteLiteral(" type=\"submit\""); 4146 4147 WriteLiteral(" autocomplete=\"off\""); 4148 4149 WriteLiteral(" class=\"searchIcon\""); 4150 4151 WriteLiteral(">\r\n <img"); 4152 4153 WriteLiteral(" src=\"/Files/Templates/Designs/TWG/images/search-white-small.png\""); 4154 4155 WriteLiteral(" alt=\"Search\""); 4156 4157 WriteLiteral(">\r\n </button>\r\n " + 4158 " </span>\r\n </div>\r\n\t\t\t\t\t\t</form>\r\n\t\t\t\t\t</div>\r\n\t\t\t\t</" + 4159 "div>\r\n\t\t\t\t<div"); 4160 4161 WriteLiteral(" class=\"row\""); 4162 4163 WriteLiteral(">\r\n\t\t\t\t\t<div"); 4164 4165 WriteLiteral(" class=\"col-12\""); 4166 4167 WriteLiteral(">\r\n"); 4168 4169 WriteLiteral("\t\t\t\t\t\t"); 4170 4171 4172 #line 1391 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 4173 Write(RenderNavigation(new 4174 { 4175 id = "mainNavigation", 4176 cssclass = "list-inline-item nav-item navbar-nav", 4177 startLevel = 1, 4178 ecomStartLevel = 4, 4179 endlevel = 1, 4180 expandmode = "all", 4181 template = "MobileLIClean.xslt" 4182 })); 4183 4184 4185 #line default 4186 #line hidden 4187 WriteLiteral("\r\n\t\t\t\t\t</div>\r\n\t\t\t\t</div>\r\n\t\t\t</div>\r\n\t\t</div>\r\n<!-- 13-Nov-2018 Begin Zayar Minn" + 4188 " -->\r\n <div"); 4189 4190 WriteLiteral(" id=\"advbar\""); 4191 4192 WriteLiteral(" style=\"display:none;\""); 4193 4194 WriteLiteral(">\r\n<!-- 13-Nov-2018 End Zayar Minn -->\r\n <div"); 4195 4196 WriteLiteral(" class=\"container\""); 4197 4198 WriteLiteral(">\r\n <div"); 4199 4200 WriteLiteral(" class=\"col-md-12 col-xs-12 text-center\""); 4201 4202 WriteLiteral(">\r\n"); 4203 4204 WriteLiteral(" "); 4205 4206 4207 #line 1410 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 4208 Write(GetString("Item.Area.Adv_Bar")); 4209 4210 4211 #line default 4212 #line hidden 4213 WriteLiteral("\r\n <!-- <p>\r\n <em>Enter promo code -\"Whi" + 4214 "teSky15\" to enjoy 15% off our Mooncake Collection when you order online. Valid f" + 4215 "or self-collection only.</em>\r\n </p>-->\r\n " + 4216 "<a"); 4217 4218 WriteLiteral(" class=\"cross-btn pull-right closeAdb\""); 4219 4220 WriteLiteral(">\r\n <img"); 4221 4222 WriteLiteral(" src=\"/Files/Images/TWG-Tea/top-close-btn.png\""); 4223 4224 WriteLiteral(" alt=\"Close\""); 4225 4226 WriteLiteral(">\r\n </a>\r\n </div>\r\n </div>\r\n " + 4227 "</div>\r\n <div"); 4228 4229 WriteLiteral(" id=\"sliding-nav\""); 4230 4231 WriteLiteral(">\r\n <div"); 4232 4233 WriteLiteral(" class=\"main-navigation\""); 4234 4235 WriteLiteral(">\r\n <div"); 4236 4237 WriteLiteral(" class=\"container\""); 4238 4239 WriteLiteral(">\r\n <div"); 4240 4241 WriteLiteral(" class=\"row\""); 4242 4243 WriteLiteral(">\r\n <div"); 4244 4245 WriteLiteral(" class=\"col-sm-9 col-md-8 col-lg-9\""); 4246 4247 WriteLiteral(">\r\n <div"); 4248 4249 WriteLiteral(" class=\"row\""); 4250 4251 WriteLiteral(">\r\n <div"); 4252 4253 WriteLiteral(" class=\"col-sm-1 col-md-1\""); 4254 4255 WriteLiteral(">\r\n <a"); 4256 4257 WriteAttribute("href", Tuple.Create(" href=\"", 69754), Tuple.Create("\"", 69790) 4258 , Tuple.Create(Tuple.Create("", 69761), Tuple.Create("/default.aspx?id=", 69761), true) 4259 4260 #line 1427 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 4261 , Tuple.Create(Tuple.Create("", 69778), Tuple.Create<System.Object, System.Int32>(firstPageId 4262 4263 #line default 4264 #line hidden 4265 , 69778), false) 4266 ); 4267 4268 WriteLiteral(">\r\n <img"); 4269 4270 WriteLiteral(" class=\"logo-small\""); 4271 4272 WriteAttribute("src", Tuple.Create(" src=\"", 69857), Tuple.Create("\"", 69868) 4273 4274 #line 1428 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 4275 , Tuple.Create(Tuple.Create("", 69863), Tuple.Create<System.Object, System.Int32>(logo 4276 4277 #line default 4278 #line hidden 4279 , 69863), false) 4280 ); 4281 4282 WriteLiteral(" alt=\"logo\""); 4283 4284 WriteLiteral(">\r\n </a>\r\n </di" + 4285 "v>\r\n <div"); 4286 4287 WriteLiteral(" class=\"col-sm-11 col-md-11 main-navigation-content\""); 4288 4289 WriteLiteral(">\r\n <ul"); 4290 4291 WriteLiteral(" class=\"list-unstyled list-inline mb-0\""); 4292 4293 WriteLiteral(">\r\n"); 4294 4295 WriteLiteral(" "); 4296 4297 4298 #line 1433 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 4299 Write(RenderNavigation(new 4300 { 4301 id = "mainNavigation", 4302 cssclass = "list-inline-item nav-item navbar-nav", 4303 startLevel = 1, 4304 ecomStartLevel = 4, 4305 endlevel = 5, 4306 expandmode = "all", 4307 template = "TWGDropDownMenu.xslt" 4308 })); 4309 4310 4311 #line default 4312 #line hidden 4313 WriteLiteral("\r\n </ul>\r\n " + 4314 "<div"); 4315 4316 WriteLiteral(" class=\"clearfix\""); 4317 4318 WriteLiteral("></div>\r\n </div>\r\n </di" + 4319 "v>\r\n </div>\r\n <div"); 4320 4321 WriteLiteral(" class=\"col-sm-3 col-md-4 col-lg-3 side-navigation-content\""); 4322 4323 WriteLiteral(">\r\n <ul"); 4324 4325 WriteLiteral(" class=\"list-unstyled list-inline mb-0\""); 4326 4327 WriteLiteral(">\r\n <li"); 4328 4329 WriteLiteral(" class=\"list-inline-item\""); 4330 4331 WriteLiteral(">\r\n <a"); 4332 4333 WriteLiteral(" class=\"search-icon\""); 4334 4335 WriteLiteral(" href=\"javascript:void(0);\""); 4336 4337 WriteLiteral("></a>\r\n <div"); 4338 4339 WriteLiteral(" class=\"nav-dropdown-menu search-dropdown-menu\""); 4340 4341 WriteLiteral(" style=\" left: -52px;\""); 4342 4343 WriteLiteral(">\r\n <div"); 4344 4345 WriteLiteral(" class=\"row\""); 4346 4347 WriteLiteral(">\r\n <div"); 4348 4349 WriteLiteral(" class=\"col-12\""); 4350 4351 WriteLiteral(">\r\n <form"); 4352 4353 WriteLiteral(" class=\"form-search\""); 4354 4355 WriteLiteral(" method=\"GET\""); 4356 4357 WriteLiteral(" action=\"Default.aspx\""); 4358 4359 WriteLiteral(">\r\n <div"); 4360 4361 WriteLiteral(" class=\"input-group\""); 4362 4363 WriteLiteral(">\r\n <input"); 4364 4365 WriteLiteral(" type=\"hidden\""); 4366 4367 WriteLiteral(" name=\"ID\""); 4368 4369 WriteAttribute("value", Tuple.Create(" value=\"", 71828), Tuple.Create("\"", 71849) 4370 4371 #line 1457 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 4372 , Tuple.Create(Tuple.Create("", 71836), Tuple.Create<System.Object, System.Int32>(SearchPageId 4373 4374 #line default 4375 #line hidden 4376 , 71836), false) 4377 ); 4378 4379 WriteLiteral(" autocomplete=\"off\""); 4380 4381 WriteLiteral("><!--$$searchplaceholder -->\r\n " + 4382 " "); 4383 4384 WriteLiteral("\r\n <input"); 4385 4386 WriteLiteral(" name=\"q\""); 4387 4388 WriteLiteral(" id=\"eComQuery3\""); 4389 4390 WriteLiteral(" type=\"hidden\""); 4391 4392 WriteAttribute("value", Tuple.Create(" value=\"", 72224), Tuple.Create("\"", 72234) 4393 4394 #line 1459 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 4395 , Tuple.Create(Tuple.Create("", 72232), Tuple.Create<System.Object, System.Int32>(q 4396 4397 #line default 4398 #line hidden 4399 , 72232), false) 4400 ); 4401 4402 WriteLiteral(">\r\n <input"); 4403 4404 WriteLiteral(" id=\"eComQueryShadow3\""); 4405 4406 WriteAttribute("value", Tuple.Create(" value=\"", 72322), Tuple.Create("\"", 72336) 4407 4408 #line 1460 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 4409 , Tuple.Create(Tuple.Create("", 72330), Tuple.Create<System.Object, System.Int32>(norm3 4410 4411 #line default 4412 #line hidden 4413 , 72330), false) 4414 ); 4415 4416 WriteLiteral(" type=\"search\""); 4417 4418 WriteLiteral(" class=\"form-control\""); 4419 4420 WriteLiteral(" autocomplete=\"off\""); 4421 4422 WriteAttribute("placeholder", Tuple.Create(" placeholder=\'", 72391), Tuple.Create("\'", 72441) 4423 4424 #line 1460 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 4425 , Tuple.Create(Tuple.Create("", 72405), Tuple.Create<System.Object, System.Int32>(Translate("Master Search","Search") 4426 4427 #line default 4428 #line hidden 4429 , 72405), false) 4430 ); 4431 4432 WriteLiteral(">\r\n\r\n <input"); 4433 4434 WriteLiteral(" name=\"_charset_\""); 4435 4436 WriteLiteral(" type=\"hidden\""); 4437 4438 WriteLiteral(" value=\"UTF-8\""); 4439 4440 WriteLiteral(" autocomplete=\"off\""); 4441 4442 WriteLiteral(">\r\n <span"); 4443 4444 WriteLiteral(" class=\"input-group-btn\""); 4445 4446 WriteLiteral(">\r\n <button"); 4447 4448 WriteLiteral(" type=\"submit\""); 4449 4450 WriteLiteral(" autocomplete=\"off\""); 4451 4452 WriteLiteral(" class=\"searchIcon\""); 4453 4454 WriteLiteral(">\r\n <img"); 4455 4456 WriteLiteral(" src=\"/Files/Templates/Designs/TWG/images/search-black.png\""); 4457 4458 WriteLiteral(" alt=\"Search\""); 4459 4460 WriteLiteral(@"> 4461 </button> 4462 </span> 4463 </div> 4464 </form> 4465 </div> 4466 </div> 4467 </div> 4468 </li> 4469 <li"); 4470 4471 WriteLiteral(" class=\"list-inline-item\""); 4472 4473 WriteLiteral(">\r\n"); 4474 4475 4476 #line 1475 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 4477 4478 4479 #line default 4480 #line hidden 4481 4482 #line 1475 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 4483 if (!Dynamicweb.Core.Converter.ToBoolean(GetGlobalValue("Global:Extranet.UserName"))) 4484 { 4485 if (!testing.Contains("ID=19")) 4486 { 4487 4488 4489 #line default 4490 #line hidden 4491 WriteLiteral(" <a"); 4492 4493 WriteAttribute("href", Tuple.Create(" href=\"", 73753), Tuple.Create("\"", 73789) 4494 , Tuple.Create(Tuple.Create("", 73760), Tuple.Create("/Default.aspx?ID=", 73760), true) 4495 4496 #line 1479 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 4497 , Tuple.Create(Tuple.Create("", 73777), Tuple.Create<System.Object, System.Int32>(loginPageId 4498 4499 #line default 4500 #line hidden 4501 , 73777), false) 4502 ); 4503 4504 WriteLiteral(" class=\"nav-link mytwg-icon\""); 4505 4506 WriteLiteral(" data-target=\".my-account-sub-nav\""); 4507 4508 WriteLiteral("></a>\r\n"); 4509 4510 4511 #line 1480 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 4512 } 4513 else 4514 { 4515 4516 4517 #line default 4518 #line hidden 4519 WriteLiteral(" <a"); 4520 4521 WriteLiteral(" href=\"javascript:void(0);\""); 4522 4523 WriteLiteral(" class=\"nav-link mytwg-icon\""); 4524 4525 WriteLiteral(" data-target=\".my-account-sub-nav\""); 4526 4527 WriteLiteral("></a>\r\n"); 4528 4529 4530 #line 1484 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 4531 } 4532 } 4533 else 4534 { 4535 4536 4537 #line default 4538 #line hidden 4539 WriteLiteral(" <a"); 4540 4541 WriteAttribute("href", Tuple.Create(" href=\"", 74337), Tuple.Create("\"", 74377) 4542 , Tuple.Create(Tuple.Create("", 74344), Tuple.Create("/Default.aspx?ID=", 74344), true) 4543 4544 #line 1488 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 4545 , Tuple.Create(Tuple.Create("", 74361), Tuple.Create<System.Object, System.Int32>(myaccountPageId 4546 4547 #line default 4548 #line hidden 4549 , 74361), false) 4550 ); 4551 4552 WriteLiteral(" class=\"nav-link mytwg-icon\""); 4553 4554 WriteLiteral(" data-target=\".my-account-sub-nav\""); 4555 4556 WriteLiteral("></a>\r\n"); 4557 4558 4559 #line 1489 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 4560 } 4561 4562 4563 #line default 4564 #line hidden 4565 WriteLiteral(" \r\n"); 4566 4567 4568 #line 1491 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 4569 4570 4571 #line default 4572 #line hidden 4573 4574 #line 1491 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 4575 if (!Dynamicweb.Core.Converter.ToBoolean(GetGlobalValue("Global:Extranet.UserName"))) 4576 { 4577 4578 4579 #line default 4580 #line hidden 4581 WriteLiteral(" <div"); 4582 4583 WriteLiteral(" class=\"nav-dropdown-menu login-dropdown-menu\""); 4584 4585 WriteLiteral(">\r\n <div"); 4586 4587 WriteLiteral(" class=\"row\""); 4588 4589 WriteLiteral(">\r\n <span"); 4590 4591 WriteLiteral(" class=\"cross-btn A3\""); 4592 4593 WriteLiteral("><img"); 4594 4595 WriteLiteral(" src=\"/Files/Images/TWG-Tea/top-close-btn.png\""); 4596 4597 WriteLiteral("></span>\r\n <div"); 4598 4599 WriteLiteral(" class=\"col-sm-6\""); 4600 4601 WriteLiteral(">\r\n <h2"); 4602 4603 WriteLiteral(" class=\"border-unlogin title\""); 4604 4605 WriteLiteral(">"); 4606 4607 4608 #line 1497 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 4609 Write(Translate("Log In","Log In")); 4610 4611 4612 #line default 4613 #line hidden 4614 WriteLiteral("</h2>\r\n <form"); 4615 4616 WriteLiteral(" onsubmit=\"return validateForm2()\""); 4617 4618 WriteAttribute("action", Tuple.Create(" action=\"", 75257), Tuple.Create("\"", 75295) 4619 , Tuple.Create(Tuple.Create("", 75266), Tuple.Create("/Default.aspx?ID=", 75266), true) 4620 4621 #line 1498 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 4622 , Tuple.Create(Tuple.Create("", 75283), Tuple.Create<System.Object, System.Int32>(loginPageId 4623 4624 #line default 4625 #line hidden 4626 , 75283), false) 4627 ); 4628 4629 WriteLiteral(" autocomplete=\"false\""); 4630 4631 WriteLiteral(" class=\"form-horizontal\""); 4632 4633 WriteLiteral(" id=\"loginform2\""); 4634 4635 WriteLiteral(" method=\"post\""); 4636 4637 WriteLiteral(" name=\"loginform\""); 4638 4639 WriteLiteral(">\r\n <input"); 4640 4641 WriteLiteral(" style=\"visibility: hidden;display:none;\""); 4642 4643 WriteLiteral(" type=\"text\""); 4644 4645 WriteLiteral(">\r\n \t\t\t\t\t\t\t\t\t\t\t\t\t\t<input"); 4646 4647 WriteLiteral(" style=\"visibility: hidden;display:none;\""); 4648 4649 WriteLiteral(" type=\"password\""); 4650 4651 WriteLiteral("> \r\n <!--<input autocomplete" + 4652 "=\"nope\" name=\"currentpage\" type=\"hidden\" value=\"/\" />-->\r\n " + 4653 " <input"); 4654 4655 WriteLiteral(" type=\'hidden\'"); 4656 4657 WriteAttribute("value", Tuple.Create(" value=\'", 75797), Tuple.Create("\'", 75843) 4658 4659 #line 1502 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 4660 , Tuple.Create(Tuple.Create("", 75805), Tuple.Create<System.Object, System.Int32>(GetGlobalValue("Global:Pageview.Url") 4661 4662 #line default 4663 #line hidden 4664 , 75805), false) 4665 ); 4666 4667 WriteLiteral(" name=\"currentpage\""); 4668 4669 WriteLiteral("><!--<input type=\'hidden\' value=\'/twg-tea-en-sg/\' name=\"currentpage\"/>-->\r\n " + 4670 " <div"); 4671 4672 WriteLiteral(" class=\"form-group\""); 4673 4674 WriteLiteral(">\r\n\r\n <div"); 4675 4676 WriteLiteral(" class=\"col-sm-10 pl-0\""); 4677 4678 WriteLiteral(@"> 4679 <!--<input type=""text"" class=""form-control"" id=""username2"" name=""username"" placeholder=""Email Address*"" onkeypress='checkUserName( this, ""#stickyinvalidId"")' autocomplete=""off"" data-required=""true"">--> 4680 <input"); 4681 4682 WriteLiteral(" class=\"form-control notNull\""); 4683 4684 WriteLiteral(" id=\"username2\""); 4685 4686 WriteLiteral(" name=\"username\""); 4687 4688 WriteLiteral(" type=\"text\""); 4689 4690 WriteAttribute("placeholder", Tuple.Create(" placeholder=\'", 76496), Tuple.Create("\'", 76555) 4691 4692 #line 1507 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 4693 , Tuple.Create(Tuple.Create("", 76510), Tuple.Create<System.Object, System.Int32>(Translate("Email address*","Email address*") 4694 4695 #line default 4696 #line hidden 4697 , 76510), false) 4698 ); 4699 4700 WriteLiteral(" autocomplete=\"off\""); 4701 4702 WriteLiteral(">\r\n </div>\r\n " + 4703 " </div>\r\n " + 4704 " <div"); 4705 4706 WriteLiteral(" class=\"form-group\""); 4707 4708 WriteLiteral(">\r\n\r\n <div"); 4709 4710 WriteLiteral(" class=\"col-sm-10 pl-0\""); 4711 4712 WriteLiteral(">\r\n <!--<input aut" + 4713 "ocomplete=\"off\" class=\"form-control\" data-required=\"true\" id=\"password2\" name=\"p" + 4714 "assword\" placeholder=\'"); 4715 4716 4717 #line 1513 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 4718 Write(Translate("Password*","Password*")); 4719 4720 4721 #line default 4722 #line hidden 4723 WriteLiteral("\' type=\"password\">-->\r\n " + 4724 " <input"); 4725 4726 WriteLiteral(" class=\"form-control notNull\""); 4727 4728 WriteLiteral(" id=\"password2\""); 4729 4730 WriteLiteral(" name=\"password\""); 4731 4732 WriteAttribute("placeholder", Tuple.Create(" placeholder=\'", 77250), Tuple.Create("\'", 77299) 4733 4734 #line 1514 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 4735 , Tuple.Create(Tuple.Create("", 77264), Tuple.Create<System.Object, System.Int32>(Translate("Password*","Password*") 4736 4737 #line default 4738 #line hidden 4739 , 77264), false) 4740 ); 4741 4742 WriteLiteral(" type=\"password\""); 4743 4744 WriteLiteral(" autocomplete=\"off\""); 4745 4746 WriteLiteral(">\r\n </div>\r\n " + 4747 " </div>\r\n " + 4748 " <div"); 4749 4750 WriteLiteral(" class=\"form-group\""); 4751 4752 WriteLiteral(" style=\"display:none;\""); 4753 4754 WriteLiteral(">\r\n <div"); 4755 4756 WriteLiteral(" class=\"col-sm-10 pl-0\""); 4757 4758 WriteLiteral(">\r\n <div"); 4759 4760 WriteLiteral(" class=\"invalidId hide\""); 4761 4762 WriteLiteral(" id=\"stickyinvalidId\""); 4763 4764 WriteLiteral(">\r\n"); 4765 4766 WriteLiteral(" "); 4767 4768 4769 #line 1520 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 4770 Write(Translate("Invalid user name","Invalid user name")); 4771 4772 4773 #line default 4774 #line hidden 4775 WriteLiteral(@" 4776 </div> 4777 </div> 4778 </div> 4779 <!-- 15-Now-2018 Begin Zayar Minn --> 4780 <div"); 4781 4782 WriteLiteral(" class=\"form-group\""); 4783 4784 WriteLiteral(" style=\"margin-left: -5px; margin-bottom: 0px !important; height: 30px;\""); 4785 4786 WriteLiteral("></div>\r\n<!-- 15-Now-2018 End Zayar Minn -->\r\n " + 4787 " <div"); 4788 4789 WriteLiteral(" class=\"form-group\""); 4790 4791 WriteLiteral(">\r\n <div"); 4792 4793 WriteLiteral(" class=\"col-sm-10 ccs_class pl-0\""); 4794 4795 WriteLiteral(">\r\n \t<div"); 4796 4797 WriteLiteral(" class=\"custom-checkbox\""); 4798 4799 WriteLiteral(">\r\n <input"); 4800 4801 WriteLiteral(" type=\"checkbox\""); 4802 4803 WriteLiteral(" id=\"signed-in1\""); 4804 4805 WriteLiteral(">\r\n <label"); 4806 4807 WriteLiteral(" for=\"signed-in1\""); 4808 4809 WriteLiteral(">"); 4810 4811 4812 #line 1531 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 4813 Write(Translate("Keep me signed in","Keep me signed in")); 4814 4815 4816 #line default 4817 #line hidden 4818 WriteLiteral(@"</label> 4819 </div> 4820 </div> 4821 </div> 4822 <div"); 4823 4824 WriteLiteral(" class=\"form-group\""); 4825 4826 WriteLiteral(">\r\n <div"); 4827 4828 WriteLiteral(" class=\"col-sm-10 pl-0\""); 4829 4830 WriteLiteral(">\r\n <a"); 4831 4832 WriteLiteral(" class=\"forgot-link\""); 4833 4834 WriteLiteral(" data-target=\"#pwModal\""); 4835 4836 WriteLiteral(" data-toggle=\"modal\""); 4837 4838 WriteLiteral(" id=\"forgetpasswordbtnname\""); 4839 4840 WriteLiteral(" name=\"forgetpasswordbtnname\""); 4841 4842 WriteLiteral(" type=\"text\""); 4843 4844 WriteLiteral(">"); 4845 4846 4847 #line 1537 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 4848 Write(Translate("Forgot your password?","Forgot your password?")); 4849 4850 4851 #line default 4852 #line hidden 4853 WriteLiteral("</a>\r\n </div>\r\n " + 4854 " </div>\r\n " + 4855 " <div"); 4856 4857 WriteLiteral(" class=\"form-group\""); 4858 4859 WriteLiteral(">\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<!-- 15-Now-2018 Begin Zayar Minn -->\r\n " + 4860 " <div"); 4861 4862 WriteLiteral(" class=\"col-sm-10 text-right\""); 4863 4864 WriteLiteral(">\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<!-- 15-Now-2018 End Zayar Minn --> " + 4865 " \r\n " + 4866 " <button"); 4867 4868 WriteLiteral(" class=\"signInPopup btn-yellow SubmitLogin\""); 4869 4870 WriteLiteral(" id=\"loginbtn\""); 4871 4872 WriteLiteral(" type=\"submit\""); 4873 4874 WriteLiteral(" onclick=\'return checkInput(event, this);\'"); 4875 4876 WriteLiteral(" style=\"min-width: 160px; left: 0; float: right; font-family: Arial !important;fo" + 4877 "nt-size: 16px !important;line-height: 29px;color: #393331 !important;text-transf" + 4878 "orm: uppercase;background-color:#f3d174 !important;\""); 4879 4880 WriteLiteral(" autocomplete=\"off\""); 4881 4882 WriteLiteral("> "); 4883 4884 4885 #line 1544 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 4886 Write(Translate("Sign in","Sign in")); 4887 4888 4889 #line default 4890 #line hidden 4891 WriteLiteral(@"</button> 4892 </div> 4893 </div> 4894 </form> 4895 </div> 4896 <div"); 4897 4898 WriteLiteral(" class=\"col-sm-6 register-dropdown-content\""); 4899 4900 WriteLiteral(">\r\n <h2"); 4901 4902 WriteLiteral(" class=\"border-unlogin title\""); 4903 4904 WriteLiteral(">"); 4905 4906 4907 #line 1550 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 4908 Write(Translate("Register","Register")); 4909 4910 4911 #line default 4912 #line hidden 4913 WriteLiteral("</h2>\r\n <p>"); 4914 4915 4916 #line 1551 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 4917 Write(Translate("Enjoy immediate benefits and richer experience by creating a personal account.","Enjoy immediate benefits and richer experience by creating a personal account.")); 4918 4919 4920 #line default 4921 #line hidden 4922 WriteLiteral("</p><br>\r\n \r\n<!-- 15-Now-2018 B" + 4923 "egin Zayar Minn -->\r\n \t<div"); 4924 4925 WriteLiteral(" class=\"form-group\""); 4926 4927 WriteLiteral(" style=\"margin-left: -5px; margin-bottom: 0px !important; height: 30px;\""); 4928 4929 WriteLiteral("></div>\r\n<!-- 15-Now-2018 End Zayar Minn -->\r\n " + 4930 " <div"); 4931 4932 WriteLiteral(" class=\"form-group\""); 4933 4934 WriteLiteral(">\r\n <div"); 4935 4936 WriteLiteral(" class=\"col-sm-12 text-right\""); 4937 4938 WriteLiteral(">\r\n <!--<a class=\"btn-" + 4939 "yellow registerNow\" href=\"/Default.aspx?ID="); 4940 4941 4942 #line 1558 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 4943 Write(registerPageId); 4944 4945 4946 #line default 4947 #line hidden 4948 WriteLiteral("\">"); 4949 4950 4951 #line 1558 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 4952 Write(Translate("Register Now","Register Now")); 4953 4954 4955 #line default 4956 #line hidden 4957 WriteLiteral("</a>-->\r\n <a"); 4958 4959 WriteLiteral(" class=\"btn-yellow registerNow\""); 4960 4961 WriteAttribute("href", Tuple.Create(" href=\"", 81895), Tuple.Create("\"", 81934) 4962 , Tuple.Create(Tuple.Create("", 81902), Tuple.Create("/Default.aspx?ID=", 81902), true) 4963 4964 #line 1559 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 4965 , Tuple.Create(Tuple.Create("", 81919), Tuple.Create<System.Object, System.Int32>(registerPageId 4966 4967 #line default 4968 #line hidden 4969 , 81919), false) 4970 ); 4971 4972 WriteLiteral(" style=\"letter-spacing: 2px; font-family: Arial !important;color: #393331 !impor" + 4973 "tant;font-size: 16px !important;background-color:#f3d174 !important;\""); 4974 4975 WriteLiteral(">"); 4976 4977 4978 #line 1559 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 4979 Write(Translate("Register Now","Register Now")); 4980 4981 4982 #line default 4983 #line hidden 4984 WriteLiteral(@"<div></div></a> 4985 </div> 4986 </div> 4987 </div> 4988 </div> 4989 </div> 4990 "); 4991 4992 4993 #line 1565 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 4994 } 4995 else 4996 { 4997 4998 4999 5000 #line default 5001 #line hidden 5002 WriteLiteral(" <div"); 5003 5004 WriteLiteral(" class=\"nav-dropdown-menu login-dropdown-menu\""); 5005 5006 WriteLiteral(">\r\n \r\n " + 5007 " <div"); 5008 5009 WriteLiteral(" class=\"row\""); 5010 5011 WriteLiteral(">\r\n <span"); 5012 5013 WriteLiteral(" class=\"cross-btn A4\""); 5014 5015 WriteLiteral("><img"); 5016 5017 WriteLiteral(" src=\"/Files/Images/TWG-Tea/top-close-btn.png\""); 5018 5019 WriteLiteral(" alt=\"Close\""); 5020 5021 WriteLiteral("></span> \r\n <div"); 5022 5023 WriteLiteral(" class=\"col-sm-6\""); 5024 5025 WriteLiteral(" style=\"margin-left:-26px;\""); 5026 5027 WriteLiteral(">\r\n <div"); 5028 5029 WriteLiteral(" class=\"col-sm-6\""); 5030 5031 WriteLiteral(" style=\"border-top: 1px solid #393331; width=50%; \""); 5032 5033 WriteLiteral("></div><!--Toetet 20 Dec-->\r\n " + 5034 "<p"); 5035 5036 WriteLiteral(" class=\"mytwgpopup title\""); 5037 5038 WriteLiteral(" style=\"color: #393331 !important;\""); 5039 5040 WriteLiteral(">\r\n <span>\r\n"); 5041 5042 WriteLiteral(" "); 5043 5044 5045 #line 1577 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 5046 Write(Translate("Welcome","Welcome")); 5047 5048 5049 #line default 5050 #line hidden 5051 WriteLiteral("\r\n <br>\r\n"); 5052 5053 WriteLiteral(" "); 5054 5055 5056 #line 1579 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 5057 Write(Dynamicweb.Security.UserManagement.User.GetCurrentUser().Title.ToString()); 5058 5059 5060 #line default 5061 #line hidden 5062 WriteLiteral(" "); 5063 5064 5065 #line 1579 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 5066 Write(Dynamicweb.Security.UserManagement.User.GetCurrentUser().FirstName.ToString()); 5067 5068 5069 #line default 5070 #line hidden 5071 WriteLiteral(" "); 5072 5073 5074 #line 1579 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 5075 Write(Dynamicweb.Security.UserManagement.User.GetCurrentUser().LastName.ToString()); 5076 5077 5078 #line default 5079 #line hidden 5080 WriteLiteral("\r\n </span>\r\n " + 5081 " </p>\r\n"); 5082 5083 5084 #line 1582 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 5085 5086 5087 #line default 5088 #line hidden 5089 5090 #line 1582 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 5091 if (memberType == "Green") 5092 { 5093 5094 5095 #line default 5096 #line hidden 5097 WriteLiteral(" <div"); 5098 5099 WriteLiteral(" class=\"col-md-12\""); 5100 5101 WriteLiteral(">\r\n <img"); 5102 5103 WriteLiteral(" class=\"img-fluid\""); 5104 5105 WriteLiteral(" style=\"height:124px;\""); 5106 5107 WriteLiteral(" src=\"/Files/Images/TWG-Tea/MyTWG-Card-Icon/card-green_250x159.png\""); 5108 5109 WriteLiteral(" alt=\"green\""); 5110 5111 WriteLiteral(">\r\n </div>\r\n"); 5112 5113 5114 #line 1587 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 5115 } 5116 else if (memberType == "Gold") 5117 { 5118 5119 5120 #line default 5121 #line hidden 5122 WriteLiteral(" <div"); 5123 5124 WriteLiteral(" class=\"col-md-12\""); 5125 5126 WriteLiteral(">\r\n <img"); 5127 5128 WriteLiteral(" class=\"img-fluid\""); 5129 5130 WriteLiteral(" style=\"height:124px;\""); 5131 5132 WriteLiteral(" src=\"/Files/Images/TWG-Tea/MyTWG-Card-Icon/card-gold_250x159.png\""); 5133 5134 WriteLiteral(" alt=\"gold\""); 5135 5136 WriteLiteral(">\r\n </div>\r\n"); 5137 5138 5139 #line 1593 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 5140 } 5141 else if (memberType == "Media") 5142 { 5143 5144 5145 #line default 5146 #line hidden 5147 WriteLiteral(" <div"); 5148 5149 WriteLiteral(" class=\"col-md-12\""); 5150 5151 WriteLiteral(">\r\n <img"); 5152 5153 WriteLiteral(" class=\"img-fluid\""); 5154 5155 WriteLiteral(" style=\"height:159px;\""); 5156 5157 WriteLiteral(" src=\"/Files/Images/TWG-Tea/MyTWG-Card-Icon/card-media_250x159.png\""); 5158 5159 WriteLiteral(" alt=\"media\""); 5160 5161 WriteLiteral(">\r\n </div>\r\n"); 5162 5163 5164 #line 1599 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 5165 } 5166 else 5167 { 5168 5169 5170 5171 #line default 5172 #line hidden 5173 WriteLiteral(" <div"); 5174 5175 WriteLiteral(" class=\"col-md-12\""); 5176 5177 WriteLiteral(">\r\n <img"); 5178 5179 WriteLiteral(" class=\"img-fluid\""); 5180 5181 WriteLiteral(" style=\"height:159px;\""); 5182 5183 WriteLiteral(" src=\"/Files/Images/TWG-Tea/MyTWG-Card-Icon/card-nonmember_250x159.png\""); 5184 5185 WriteLiteral(" alt=\"subscriber\""); 5186 5187 WriteLiteral(">\r\n </div>\r\n"); 5188 5189 5190 #line 1606 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 5191 } 5192 5193 5194 #line default 5195 #line hidden 5196 WriteLiteral(" </div>\r\n " + 5197 " <div"); 5198 5199 WriteLiteral(" class=\"col-sm-6 login-option-list\""); 5200 5201 WriteLiteral(" style=\"margin-left: 25px;\""); 5202 5203 WriteLiteral(">\r\n <div"); 5204 5205 WriteLiteral(" class=\"col-md-6\""); 5206 5207 WriteLiteral(" style=\"border-top: 1px solid #000; margin-left: 10px; height: 116px;\""); 5208 5209 WriteLiteral("></div>\r\n <div"); 5210 5211 WriteLiteral(" class=\"col-md-12\""); 5212 5213 WriteLiteral(" style=\"margin-left: -34px;\""); 5214 5215 WriteLiteral(">\r\n <ul>\r\n " + 5216 " <li><a"); 5217 5218 WriteAttribute("href", Tuple.Create(" href=\"", 86525), Tuple.Create("\"", 86565) 5219 , Tuple.Create(Tuple.Create("", 86532), Tuple.Create("/Default.aspx?ID=", 86532), true) 5220 5221 #line 1612 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 5222 , Tuple.Create(Tuple.Create("", 86549), Tuple.Create<System.Object, System.Int32>(myaccountPageId 5223 5224 #line default 5225 #line hidden 5226 , 86549), false) 5227 ); 5228 5229 WriteLiteral(">"); 5230 5231 5232 #line 1612 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 5233 Write(Translate("My Account", "My Account")); 5234 5235 5236 #line default 5237 #line hidden 5238 WriteLiteral("</a></li>\r\n <li><a"); 5239 5240 WriteAttribute("href", Tuple.Create(" href=\"", 86682), Tuple.Create("\"", 86746) 5241 , Tuple.Create(Tuple.Create("", 86689), Tuple.Create("/Default.aspx?ID=", 86689), true) 5242 5243 #line 1613 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 5244 , Tuple.Create(Tuple.Create("", 86706), Tuple.Create<System.Object, System.Int32>(myaccountPageId 5245 5246 #line default 5247 #line hidden 5248 , 86706), false) 5249 , Tuple.Create(Tuple.Create("", 86722), Tuple.Create("&changepasswordShow=true", 86722), true) 5250 ); 5251 5252 WriteLiteral(">"); 5253 5254 5255 #line 1613 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 5256 Write(Translate("Change Password", "Change Password")); 5257 5258 5259 #line default 5260 #line hidden 5261 WriteLiteral("</a></li>\r\n <li><a"); 5262 5263 WriteAttribute("href", Tuple.Create(" href=\"", 86873), Tuple.Create("\"", 86912) 5264 , Tuple.Create(Tuple.Create("", 86880), Tuple.Create("/Default.aspx?ID=", 86880), true) 5265 5266 #line 1614 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 5267 , Tuple.Create(Tuple.Create("", 86897), Tuple.Create<System.Object, System.Int32>(favoritePageId 5268 5269 #line default 5270 #line hidden 5271 , 86897), false) 5272 ); 5273 5274 WriteLiteral(">"); 5275 5276 5277 #line 1614 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 5278 Write(Translate("My Favourites", "My Favourites")); 5279 5280 5281 #line default 5282 #line hidden 5283 WriteLiteral("</a></li>\r\n <li><a"); 5284 5285 WriteAttribute("href", Tuple.Create(" href=\"", 87035), Tuple.Create("\"", 87073) 5286 , Tuple.Create(Tuple.Create("", 87042), Tuple.Create("/Default.aspx?ID=", 87042), true) 5287 5288 #line 1615 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 5289 , Tuple.Create(Tuple.Create("", 87059), Tuple.Create<System.Object, System.Int32>(myorderPageId 5290 5291 #line default 5292 #line hidden 5293 , 87059), false) 5294 ); 5295 5296 WriteLiteral(">"); 5297 5298 5299 #line 1615 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 5300 Write(Translate("My Orders", "My Orders")); 5301 5302 5303 #line default 5304 #line hidden 5305 WriteLiteral("</a></li>\r\n\r\n </ul>\r\n " + 5306 " </div>\r\n " + 5307 " <div"); 5308 5309 WriteLiteral(" class=\"col-md-12 text-right\""); 5310 5311 WriteLiteral(" style=\"margin-top:75px;\""); 5312 5313 WriteLiteral(">\r\n <a"); 5314 5315 WriteLiteral(" id=\"out_link\""); 5316 5317 WriteLiteral(" class=\"btn-yellow-signout\""); 5318 5319 WriteLiteral(" href=\"javascript:void(0)\""); 5320 5321 WriteLiteral(" onclick=\"extranetLogOut();\""); 5322 5323 WriteLiteral(">"); 5324 5325 5326 #line 1620 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 5327 Write(Translate("Sign Out", "Sign Out")); 5328 5329 5330 #line default 5331 #line hidden 5332 WriteLiteral("</a>\r\n </div>\r\n " + 5333 " </div>\r\n " + 5334 " </div>\r\n </div>\r\n"); 5335 5336 5337 #line 1625 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 5338 } 5339 5340 5341 #line default 5342 #line hidden 5343 WriteLiteral(" </li>\r\n <li"); 5344 5345 WriteLiteral(" class=\"list-inline-item\""); 5346 5347 WriteLiteral(">\r\n"); 5348 5349 5350 #line 1628 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 5351 5352 5353 #line default 5354 #line hidden 5355 5356 #line 1628 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 5357 if (!Dynamicweb.Core.Converter.ToBoolean(GetGlobalValue("Global:Extranet.UserName"))) 5358 { 5359 5360 5361 #line default 5362 #line hidden 5363 WriteLiteral(" <a"); 5364 5365 WriteLiteral(" class=\"favourite-indicator\""); 5366 5367 WriteAttribute("href", Tuple.Create(" href=\"", 88144), Tuple.Create("\"", 88180) 5368 , Tuple.Create(Tuple.Create("", 88151), Tuple.Create("/Default.aspx?ID=", 88151), true) 5369 5370 #line 1630 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 5371 , Tuple.Create(Tuple.Create("", 88168), Tuple.Create<System.Object, System.Int32>(loginPageId 5372 5373 #line default 5374 #line hidden 5375 , 88168), false) 5376 ); 5377 5378 WriteLiteral(">\r\n <span"); 5379 5380 WriteLiteral(" class=\"badge count favIcon\""); 5381 5382 WriteLiteral(">"); 5383 5384 5385 #line 1631 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 5386 Write(myfavCount); 5387 5388 5389 #line default 5390 #line hidden 5391 WriteLiteral("</span>\r\n </a>\r\n"); 5392 5393 5394 #line 1633 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 5395 } 5396 else 5397 { 5398 5399 5400 5401 #line default 5402 #line hidden 5403 WriteLiteral(" <a"); 5404 5405 WriteLiteral(" class=\"favourite-indicator\""); 5406 5407 WriteAttribute("href", Tuple.Create(" href=\"", 88559), Tuple.Create("\"", 88598) 5408 , Tuple.Create(Tuple.Create("", 88566), Tuple.Create("/Default.aspx?id=", 88566), true) 5409 5410 #line 1637 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 5411 , Tuple.Create(Tuple.Create("", 88583), Tuple.Create<System.Object, System.Int32>(favoritePageId 5412 5413 #line default 5414 #line hidden 5415 , 88583), false) 5416 ); 5417 5418 WriteLiteral(">\r\n <span"); 5419 5420 WriteLiteral(" class=\"badge count favIcon\""); 5421 5422 WriteLiteral(">"); 5423 5424 5425 #line 1638 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 5426 Write(myfavCount); 5427 5428 5429 #line default 5430 #line hidden 5431 WriteLiteral("</span>\r\n </a>\r\n"); 5432 5433 5434 #line 1640 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 5435 } 5436 5437 5438 #line default 5439 #line hidden 5440 WriteLiteral(" \r\n </li>\r\n " + 5441 " <li"); 5442 5443 WriteLiteral(" class=\"list-inline-item\""); 5444 5445 WriteLiteral(">\r\n \r\n <a"); 5446 5447 WriteLiteral(" class=\"nav-link cart-indicator\""); 5448 5449 WriteAttribute("href", Tuple.Create(" href=\"", 89032), Tuple.Create("\"", 89067) 5450 , Tuple.Create(Tuple.Create("", 89039), Tuple.Create("/Default.aspx?id=", 89039), true) 5451 5452 #line 1645 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 5453 , Tuple.Create(Tuple.Create("", 89056), Tuple.Create<System.Object, System.Int32>(cartPageId 5454 5455 #line default 5456 #line hidden 5457 , 89056), false) 5458 ); 5459 5460 WriteLiteral(">\r\n <span"); 5461 5462 WriteLiteral(" class=\"badge count\""); 5463 5464 WriteLiteral(">"); 5465 5466 5467 #line 1646 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 5468 Write(inbagTotalQtyCount); 5469 5470 5471 #line default 5472 #line hidden 5473 WriteLiteral(@"</span> 5474 </a> 5475 5476 </li> 5477 5478 </ul> 5479 </div> 5480 </div> 5481 </div> 5482 </div> 5483 </div> 5484 5485 "); 5486 5487 5488 #line 1658 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 5489 Write(GetValue("Title(Full width page)")); 5490 5491 5492 #line default 5493 #line hidden 5494 WriteLiteral("\r\n"); 5495 5496 5497 #line 1659 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 5498 Write(GetValue("Description(Use this page for full width pages with no left navigation.)")); 5499 5500 5501 #line default 5502 #line hidden 5503 WriteLiteral("\r\n\r\n"); 5504 5505 5506 #line 1661 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 5507 5508 string siteurl = GetGlobalValue("Global:Request.Url").ToString(); 5509 5510 5511 #line default 5512 #line hidden 5513 WriteLiteral("\r\n\r\n<style>\r\n /*.widget{\r\n \ttext-align:center;\r\n }*/\r\n #leftnavi{\r\n border-b" + 5514 "ottom:none;\r\n }\r\n .widget {\r\n margin-top: 3px;\r\n}\r\n#leftnavi {\r\n \r\n}\r\n#l" + 5515 "eftnavi li {\r\n /*float: left;\r\n width: 25%;\r\n text-align: left !important" + 5516 ";*/\r\n}\r\n#leftnavi li a {\r\n border: none;\r\n /*color: #acaaa1;*/\r\n \tcolor: " + 5517 "#000 !important;\r\n text-transform: uppercase;\r\n font-family: FuturaMedium;" + 5518 "\r\n border-radius: 0;\r\n border-top: 1px solid transparent;\r\n padding: 1e" + 5519 "m 0 0.2em 0;\r\n display: inline-block;\r\n \tfont-size: 17px;\r\n}\r\n#leftnavi li a" + 5520 ":hover{\r\n /*border-top: 1px solid #ddd;*/\r\n}\r\n\r\n#leftnavi li:nth-child(1) {\r\n " + 5521 " text-align: left;\r\n}\r\n#leftnavi li:nth-child(2) {\r\n padding: 0;\r\n \ttext-al" + 5522 "ign: left;\r\n \t/*padding-right: 88px;*/\r\n}\r\n#leftnavi li:nth-child(3) {\r\n \tpaddi" + 5523 "ng: 0;\r\n \ttext-align: left;\r\n \t/*padding-left: 77px;*/\r\n}\r\n#leftnavi li:nth-ch" + 5524 "ild(4) {\r\n /*text-align: right;*/\r\n text-align: left;\r\n}\r\n#leftnavi li a:aft" + 5525 "er {\r\n content: \'\';\r\n}\r\n#leftnavi .list-active > a,\r\n#leftnavi .list-active >" + 5526 " a:hover,\r\n#leftnavi li > a:hover {\r\n color: #000 !important;\r\n background" + 5527 ": none!important;\r\n /*border-top: 1px solid #d7d5c9!important;*/\r\n border-" + 5528 "radius: 0;\r\n border-bottom: none;\r\n border-left: 0;\r\n border-right: 0;\r" + 5529 "\n}\r\n#leftnavi .list-active,\r\n#leftnavi li:hover {\r\n background: none!importan" + 5530 "t;\r\n \t \r\n}\r\n#leftnavi li:hover {\r\n font-style: italic;\r\n}\r\n \r\n.figure a{\r\n" + 5531 " \tcolor: #8f8987;\r\n \ttext-decoration: underline;\r\n}\r\n</style>\r\n\r\n\r\n<div"); 5532 5533 WriteLiteral(" style=\"display:none\""); 5534 5535 WriteLiteral(">"); 5536 5537 5538 #line 1746 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 5539 Write(TemplateTags()); 5540 5541 5542 #line default 5543 #line hidden 5544 WriteLiteral("</div>\r\n"); 5545 5546 5547 #line 1747 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 5548 if(GetBoolean("Item.Page.LayoutShowBreadcrumb")){ 5549 5550 5551 #line default 5552 #line hidden 5553 WriteLiteral("\t<div"); 5554 5555 WriteLiteral(" class=\"pg-opt pin white remove-background\""); 5556 5557 WriteLiteral(">\r\n\t\t<div"); 5558 5559 WriteLiteral(" class=\"container\""); 5560 5561 WriteLiteral(">\r\n\t\t\t<div"); 5562 5563 WriteLiteral(" class=\"row\""); 5564 5565 WriteLiteral(">\r\n\t\t\t\t<div"); 5566 5567 WriteLiteral(" class=\"col-lg-3 col-md-3 hidden-sm hidden-xs\""); 5568 5569 WriteLiteral(">\r\n"); 5570 5571 5572 #line 1752 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 5573 5574 5575 #line default 5576 #line hidden 5577 5578 #line 1752 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 5579 if (GeneralSettings.Navigation.BreadcrumbMode != "light") 5580 { 5581 5582 5583 #line default 5584 #line hidden 5585 WriteLiteral("\t\t\t\t\t\t<div"); 5586 5587 WriteLiteral(" class=\"dw-breadcrumb-title\""); 5588 5589 WriteLiteral(">"); 5590 5591 5592 #line 1754 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 5593 Write(GetGlobalValue("Global:Page.Top.Name")); 5594 5595 5596 #line default 5597 #line hidden 5598 WriteLiteral("</div>\r\n"); 5599 5600 5601 #line 1755 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 5602 } 5603 5604 5605 #line default 5606 #line hidden 5607 WriteLiteral("\t\t\t\t</div>\r\n\t\t\t\t<div"); 5608 5609 WriteLiteral(" class=\"col-lg-9 col-md-9 col-sm-12 col-xs-12\""); 5610 5611 WriteLiteral(">\r\n"); 5612 5613 WriteLiteral("\t\t\t\t\t"); 5614 5615 5616 #line 1758 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 5617 Write(GetValue("DwNavigation(breadcrumb)")); 5618 5619 5620 #line default 5621 #line hidden 5622 WriteLiteral("\r\n\t\t\t\t</div>\r\n\t\t\t</div>\r\n\t\t</div>\r\n\t</div>\r\n"); 5623 5624 5625 #line 1763 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 5626 } 5627 5628 5629 #line default 5630 #line hidden 5631 WriteLiteral("\r\n<section"); 5632 5633 WriteLiteral(" class=\"slice animate-hover-slide\""); 5634 5635 WriteLiteral(">\r\n\t<div"); 5636 5637 WriteLiteral(" class=\"container\""); 5638 5639 WriteLiteral(">\r\n \r\n\t\t<div"); 5640 5641 WriteLiteral(" class=\"\""); 5642 5643 WriteLiteral(">\r\n"); 5644 5645 5646 #line 1769 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 5647 5648 5649 #line default 5650 #line hidden 5651 5652 #line 1769 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 5653 if(!GetBoolean("Item.Page.LayoutHideLeftMenu")) { 5654 5655 5656 #line default 5657 #line hidden 5658 WriteLiteral("\t\t\t\t<div"); 5659 5660 WriteLiteral(" class=\"col-md-3\""); 5661 5662 WriteLiteral(" style=\"margin-top: 31px;\""); 5663 5664 WriteLiteral(">\r\n\t\t\t\t\t<div"); 5665 5666 WriteLiteral(" class=\"widget\""); 5667 5668 WriteLiteral(">\r\n\t\t\t\t\t\t \r\n\t\t\t\t\t\t\r\n"); 5669 5670 WriteLiteral("\t\t\t\t\t\t"); 5671 5672 5673 #line 1774 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 5674 Write(GetValue("DwNavigation(leftnavi)")); 5675 5676 5677 #line default 5678 #line hidden 5679 WriteLiteral("\r\n\t\t\t\t\t</div>\r\n\t\t\t\t\t\r\n\t\t\t\t</div>\r\n"); 5680 5681 5682 #line 1778 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 5683 } 5684 5685 5686 #line default 5687 #line hidden 5688 WriteLiteral("\r\n"); 5689 5690 5691 #line 1780 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 5692 5693 5694 #line default 5695 #line hidden 5696 5697 #line 1780 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 5698 5699 var attributeValue = "col-md-9 col-sm-4 col-xs-12"; 5700 5701 if(GetBoolean("Item.Page.LayoutHideLeftMenu")) { 5702 attributeValue = "col-md-12 col-sm-4 col-xm-12"; 5703 } 5704 5705 5706 #line default 5707 #line hidden 5708 WriteLiteral("\r\n\r\n\t\t\t<div"); 5709 5710 WriteAttribute("class", Tuple.Create(" class=\"", 92275), Tuple.Create("\"", 92298) 5711 5712 #line 1788 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 5713 , Tuple.Create(Tuple.Create("", 92283), Tuple.Create<System.Object, System.Int32>(attributeValue 5714 5715 #line default 5716 #line hidden 5717 , 92283), false) 5718 ); 5719 5720 WriteLiteral(">\r\n\t\t\t\t<div"); 5721 5722 WriteLiteral(" class=\"row\""); 5723 5724 WriteLiteral(" id=\"maincontent\""); 5725 5726 WriteLiteral(">"); 5727 5728 5729 #line 1789 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 5730 Write(GetValue("DwContent(maincontent)")); 5731 5732 5733 #line default 5734 #line hidden 5735 WriteLiteral("</div>\r\n \t\t\r\n\t\t\t</div>\r\n\t\t\t\r\n"); 5736 5737 5738 #line 1793 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 5739 5740 5741 #line default 5742 #line hidden 5743 5744 #line 1793 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 5745 if (GetBoolean("Item.Page.FacebookLikeButton")){ 5746 5747 5748 #line default 5749 #line hidden 5750 WriteLiteral("\t\t\t\t<div"); 5751 5752 WriteLiteral(" class=\"container\""); 5753 5754 WriteLiteral(">\r\n\t\t\t\t\t<div"); 5755 5756 WriteLiteral(" class=\"col-md-12 col-sm-12 col-xs-12\""); 5757 5758 WriteLiteral(">\r\n\t\t\t\t\t\t<div"); 5759 5760 WriteLiteral(" class=\"row\""); 5761 5762 WriteLiteral(">\r\n\t\t\t\t\t\t\t<iframe"); 5763 5764 WriteAttribute("src", Tuple.Create(" src=\"", 92585), Tuple.Create("\"", 92748) 5765 , Tuple.Create(Tuple.Create("", 92591), Tuple.Create("//www.facebook.com/plugins/like.php?href=", 92591), true) 5766 5767 #line 1797 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 5768 , Tuple.Create(Tuple.Create("", 92632), Tuple.Create<System.Object, System.Int32>(siteurl 5769 5770 #line default 5771 #line hidden 5772 , 92632), false) 5773 , Tuple.Create(Tuple.Create("", 92640), Tuple.Create("&amp;width=200&amp;layout=button_count&amp;action=recommend&amp;show_faces=true&a" + 5774 "mp;share=true&amp;height=21", 92640), true) 5775 ); 5776 5777 WriteLiteral(" scrolling=\"no\""); 5778 5779 WriteLiteral(" frameborder=\"0\""); 5780 5781 WriteLiteral(" style=\"border:none; overflow:hidden; height:21px;\""); 5782 5783 WriteLiteral(" allowtransparency=\"true\""); 5784 5785 WriteLiteral("></iframe> \t\r\n\t\t\t\t\t\t</div>\r\n\t\t\t\t\t</div>\r\n\t\t\t\t</div>\r\n"); 5786 5787 5788 #line 1801 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 5789 } 5790 5791 5792 #line default 5793 #line hidden 5794 WriteLiteral(" \t\t\t<p>"); 5795 5796 5797 #line 1802 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 5798 Write(GetString("Item.Page.Test")); 5799 5800 5801 #line default 5802 #line hidden 5803 WriteLiteral("</p>\r\n\t\t</div>\r\n\t</div>\r\n</section>\r\n\r\n\r\n <div"); 5804 5805 WriteLiteral(" id=\"upper_content\""); 5806 5807 WriteLiteral("></div>\r\n <footer>\r\n <div"); 5808 5809 WriteLiteral(" class=\"container\""); 5810 5811 WriteLiteral(">\r\n <div"); 5812 5813 WriteLiteral(" class=\"footer-navigation\""); 5814 5815 WriteLiteral(" style=\"display: none;\""); 5816 5817 WriteLiteral(">\r\n \t<div"); 5818 5819 WriteLiteral(" class=\"footer-navigation-inner\""); 5820 5821 WriteLiteral(">\r\n <div"); 5822 5823 WriteLiteral(" class=\"row\""); 5824 5825 WriteLiteral(">\r\n <div"); 5826 5827 WriteLiteral(" class=\"col-12 d-none d-md-block\""); 5828 5829 WriteLiteral(">\r\n <a"); 5830 5831 WriteLiteral(" class=\"cross-btn pull-right mblposition\""); 5832 5833 WriteLiteral(" href=\"javascript:void(0)\""); 5834 5835 WriteLiteral(">\r\n <img"); 5836 5837 WriteLiteral(" src=\"/Files/Images/TWG-Tea/top-close-btn.png\""); 5838 5839 WriteLiteral(" alt=\"Close\""); 5840 5841 WriteLiteral(">\r\n </a>\r\n </div>\r\n " + 5842 " </div>\r\n <div"); 5843 5844 WriteLiteral(" class=\"row\""); 5845 5846 WriteLiteral(">\r\n <div"); 5847 5848 WriteLiteral(" class=\"col-12 col-12 col-lg-4 d-block d-sm-block d-md-block d-lg-none sm-mb-3\""); 5849 5850 WriteLiteral(">\r\n <a"); 5851 5852 WriteLiteral(" class=\"cross-btn pull-right mblposition\""); 5853 5854 WriteLiteral(" href=\"javascript:void(0)\""); 5855 5856 WriteLiteral(">\r\n <img"); 5857 5858 WriteLiteral(" src=\"/Files/Images/TWG-Tea/top-close-btn.png\""); 5859 5860 WriteLiteral(">\r\n </a>\r\n </div>\r\n\t\t\t\t\t\t\t<" + 5861 "div"); 5862 5863 WriteLiteral(" class=\"col-12 col-lg-4 d-block d-sm-block d-md-block d-lg-none\""); 5864 5865 WriteLiteral(">\r\n\t\t\t\t\t\t\t\t<h4"); 5866 5867 WriteLiteral(" class=\"font-futura text-uppercase hasfootermenu\""); 5868 5869 WriteLiteral(">"); 5870 5871 5872 #line 1827 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 5873 Write(Translate("Our Company","Our Company")); 5874 5875 5876 #line default 5877 #line hidden 5878 WriteLiteral("</h4>\r\n\t\t\t\t\t\t\t\t<ul"); 5879 5880 WriteLiteral(" class=\"list-unstyled\""); 5881 5882 WriteLiteral(">\r\n\t\t\t\t\t\t\t\t\t<!--<li class=\"dwnavigation\" id=\"explore-nav-list\" data-settings=\"sta" + 5883 "rtlevel:1;endlevel:1;template:FooterInformation.xslt;expandmode:all;parentid:102" + 5884 "2;\"></li>-->\r\n"); 5885 5886 WriteLiteral(" "); 5887 5888 5889 #line 1830 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 5890 Write(RenderNavigation(new 5891 { 5892 id = "service", 5893 cssclass = "list-inline-item nav-item navbar-nav", 5894 startLevel = 1, 5895 endlevel = 1, 5896 expandmode = "all", 5897 parentid=companyPageId, 5898 template = "FooterInformation.xslt" 5899 })); 5900 5901 5902 #line default 5903 #line hidden 5904 WriteLiteral("\r\n\t\t\t\t\t\t\t\t</ul>\r\n\t\t\t\t\t\t\t</div>\r\n <div"); 5905 5906 WriteLiteral(" class=\"col-12 col-lg-4\""); 5907 5908 WriteLiteral(">\r\n \r\n <h4"); 5909 5910 WriteLiteral(" class=\"font-futura text-uppercase hasfootermenu\""); 5911 5912 WriteLiteral(">"); 5913 5914 5915 #line 1844 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 5916 Write(Translate("Customer Service","Customer Service")); 5917 5918 5919 #line default 5920 #line hidden 5921 WriteLiteral("</h4>\r\n <ul"); 5922 5923 WriteLiteral(" class=\"list-unstyled\""); 5924 5925 WriteLiteral("> \r\n <!--<li cl" + 5926 "ass=\"dwnavigation\" id=\"service\" data-settings=\"startlevel:1;endlevel:1;template:" + 5927 "FooterInformation.xslt;expandmode:all;parentid:1021;\"></li>-->\r\n"); 5928 5929 WriteLiteral(" "); 5930 5931 5932 #line 1847 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 5933 Write(RenderNavigation(new 5934 { 5935 id = "service", 5936 cssclass = "list-inline-item nav-item navbar-nav", 5937 startLevel = 1, 5938 endlevel = 1, 5939 expandmode = "all", 5940 parentid=servicePageId, 5941 template = "FooterInformation.xslt" 5942 })); 5943 5944 5945 #line default 5946 #line hidden 5947 WriteLiteral("\r\n </ul>\r\n <h4"); 5948 5949 WriteLiteral(" class=\"font-futura text-uppercase d-none d-sm-none d-md-none d-lg-block\""); 5950 5951 WriteLiteral(">\r\n \t<a"); 5952 5953 WriteLiteral(" href=\"javascript:void(0)\""); 5954 5955 WriteAttribute("onclick", Tuple.Create(" onclick=\"", 96455), Tuple.Create("\"", 96502) 5956 , Tuple.Create(Tuple.Create("", 96465), Tuple.Create("showUpper(\'", 96465), true) 5957 5958 #line 1859 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 5959 , Tuple.Create(Tuple.Create("", 96476), Tuple.Create<System.Object, System.Int32>(ChooseYourCountryPageId 5960 5961 #line default 5962 #line hidden 5963 , 96476), false) 5964 , Tuple.Create(Tuple.Create("", 96500), Tuple.Create("\')", 96500), true) 5965 ); 5966 5967 WriteLiteral(">"); 5968 5969 5970 #line 1859 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 5971 Write(Translate("Choose your country","Choose your country")); 5972 5973 5974 #line default 5975 #line hidden 5976 WriteLiteral("</a>\r\n \t </h4>\r\n </div>\r\n " + 5977 " <div"); 5978 5979 WriteLiteral(" class=\"col-12 col-lg-4 d-none d-sm-none d-md-none d-lg-block cpl-6px\""); 5980 5981 WriteLiteral(">\r\n\t\t\t\t\t\t\t\t<h4"); 5982 5983 WriteLiteral(" class=\"font-futura text-uppercase hasfootermenu\""); 5984 5985 WriteLiteral(">"); 5986 5987 5988 #line 1863 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 5989 Write(Translate("Our Company","Our Company")); 5990 5991 5992 #line default 5993 #line hidden 5994 WriteLiteral("</h4>\r\n\t\t\t\t\t\t\t\t<ul"); 5995 5996 WriteLiteral(" class=\"list-unstyled\""); 5997 5998 WriteLiteral(">\r\n\t\t\t\t\t\t\t\t\t<!--<li class=\"dwnavigation\" id=\"company\" data-settings=\"startlevel:1" + 5999 ";endlevel:1;template:FooterInformation.xslt;expandmode:all;parentid:1022;\"></li>" + 6000 "-->\r\n"); 6001 6002 WriteLiteral(" "); 6003 6004 6005 #line 1866 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 6006 Write(RenderNavigation(new 6007 { 6008 id = "service", 6009 cssclass = "list-inline-item nav-item navbar-nav", 6010 startLevel = 1, 6011 endlevel = 1, 6012 expandmode = "all", 6013 parentid=companyPageId, 6014 template = "FooterInformation.xslt" 6015 })); 6016 6017 6018 #line default 6019 #line hidden 6020 WriteLiteral("\r\n\t\t\t\t\t\t\t\t</ul>\r\n\t\t\t\t\t\t\t</div>\r\n <div"); 6021 6022 WriteLiteral(" class=\"col-12 col-lg-4 cpl-7px\""); 6023 6024 WriteLiteral(">\r\n\t\t\t\t\t\t\t\t<h4"); 6025 6026 WriteLiteral(" class=\"font-futura text-uppercase mt-4 d-block d-sm-block d-md-block d-lg-none " + 6027 "sm-chooseCountry\""); 6028 6029 WriteLiteral("><a"); 6030 6031 WriteLiteral(" href=\"javascript:void(0)\""); 6032 6033 WriteAttribute("onclick", Tuple.Create(" onclick=\"", 97916), Tuple.Create("\"", 97963) 6034 , Tuple.Create(Tuple.Create("", 97926), Tuple.Create("showUpper(\'", 97926), true) 6035 6036 #line 1879 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 6037 , Tuple.Create(Tuple.Create("", 97937), Tuple.Create<System.Object, System.Int32>(ChooseYourCountryPageId 6038 6039 #line default 6040 #line hidden 6041 , 97937), false) 6042 , Tuple.Create(Tuple.Create("", 97961), Tuple.Create("\')", 97961), true) 6043 ); 6044 6045 WriteLiteral(">"); 6046 6047 6048 #line 1879 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 6049 Write(Translate("Choose your country","Choose your country")); 6050 6051 6052 #line default 6053 #line hidden 6054 WriteLiteral("</a></h4>\t\r\n\t\t\t\t\t\t\t\t<h4"); 6055 6056 WriteLiteral(" class=\"font-futura text-uppercase footerMargin\""); 6057 6058 WriteLiteral(">"); 6059 6060 6061 #line 1880 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 6062 Write(Translate("Sign Up For Updates","Sign Up For Updates")); 6063 6064 6065 #line default 6066 #line hidden 6067 WriteLiteral("</h4>\r\n \r\n"); 6068 6069 6070 #line 1882 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 6071 6072 6073 #line default 6074 #line hidden 6075 6076 #line 1882 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 6077 if (GetGlobalValue("Global:Extranet.UserName") != "") 6078 { 6079 6080 6081 #line default 6082 #line hidden 6083 WriteLiteral(" <form"); 6084 6085 WriteAttribute("action", Tuple.Create(" action=\"", 98344), Tuple.Create("\"", 98386) 6086 , Tuple.Create(Tuple.Create("", 98353), Tuple.Create("/Default.aspx?ID=", 98353), true) 6087 6088 #line 1884 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 6089 , Tuple.Create(Tuple.Create("", 98370), Tuple.Create<System.Object, System.Int32>(myaccountPageId 6090 6091 #line default 6092 #line hidden 6093 , 98370), false) 6094 ); 6095 6096 WriteLiteral(" method=\"post\""); 6097 6098 WriteLiteral(" class=\"signUpFooter\""); 6099 6100 WriteLiteral(">\r\n <div"); 6101 6102 WriteLiteral(" class=\"input-group\""); 6103 6104 WriteLiteral(">\r\n <span"); 6105 6106 WriteLiteral(" style=\"\""); 6107 6108 WriteLiteral(">\r\n <input"); 6109 6110 WriteLiteral(" name=\"newsLeterSingupflag\""); 6111 6112 WriteLiteral(" type=\"hidden\""); 6113 6114 WriteLiteral(" value=\"true\""); 6115 6116 WriteLiteral(">\r\n <input"); 6117 6118 WriteLiteral(" name=\"CustomField.AccessUser_AccessUser_ReceiveEmail\""); 6119 6120 WriteLiteral(" type=\"hidden\""); 6121 6122 WriteLiteral(" value=\"true\""); 6123 6124 WriteLiteral(" id=\"UserManagement_Form_Email1\""); 6125 6126 WriteLiteral(" class=\"form-control\""); 6127 6128 WriteLiteral(">\r\n<!-- 15-Now-2018 Begin Zayar Minn -->\r\n " + 6129 " <!--<button name=\"submit\" class=\"subscribe-btn no-outline\" type=\"submit\" id" + 6130 "=\"submit\">"); 6131 6132 6133 #line 1890 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 6134 Write(Translate("Sign Up","Sign Up")); 6135 6136 6137 #line default 6138 #line hidden 6139 WriteLiteral("</button>-->\r\n <input"); 6140 6141 WriteLiteral(" name=\"submit\""); 6142 6143 WriteLiteral(" type=\"submit\""); 6144 6145 WriteLiteral(" class=\"subscribe-btn no-outline\""); 6146 6147 WriteLiteral(" id=\"submit\""); 6148 6149 WriteAttribute("value", Tuple.Create(" value=\'", 99183), Tuple.Create("\'", 99222) 6150 6151 #line 1891 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 6152 , Tuple.Create(Tuple.Create("", 99191), Tuple.Create<System.Object, System.Int32>(Translate("Sign Up","Sign Up") 6153 6154 #line default 6155 #line hidden 6156 , 99191), false) 6157 ); 6158 6159 WriteLiteral(" autocomplete=\"off\""); 6160 6161 WriteLiteral(">\r\n<!-- 15-Now-2018 End Zayar Minn -->\r\n " + 6162 " </span>\r\n </div>\r\n " + 6163 " </form>\r\n"); 6164 6165 6166 #line 1896 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 6167 } 6168 else 6169 { 6170 6171 6172 #line default 6173 #line hidden 6174 WriteLiteral(" <form"); 6175 6176 WriteAttribute("action", Tuple.Create(" action=\"", 99563), Tuple.Create("\"", 99604) 6177 , Tuple.Create(Tuple.Create("", 99572), Tuple.Create("/Default.aspx?ID=", 99572), true) 6178 6179 #line 1899 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 6180 , Tuple.Create(Tuple.Create("", 99589), Tuple.Create<System.Object, System.Int32>(registerPageId 6181 6182 #line default 6183 #line hidden 6184 , 99589), false) 6185 ); 6186 6187 WriteLiteral(" method=\"post\""); 6188 6189 WriteLiteral(" class=\"signUpFooter\""); 6190 6191 WriteLiteral(">\r\n <div"); 6192 6193 WriteLiteral(" class=\"input-group\""); 6194 6195 WriteLiteral(">\r\n <span"); 6196 6197 WriteLiteral(" style=\"\""); 6198 6199 WriteLiteral(">\r\n <input"); 6200 6201 WriteLiteral(" name=\"newsLeterSingupflag\""); 6202 6203 WriteLiteral(" type=\"hidden\""); 6204 6205 WriteLiteral(" value=\"true\""); 6206 6207 WriteLiteral(">\r\n <input"); 6208 6209 WriteLiteral(" name=\"CustomField.AccessUser_AccessUser_ReceiveEmail\""); 6210 6211 WriteLiteral(" type=\"hidden\""); 6212 6213 WriteLiteral(" value=\"true\""); 6214 6215 WriteLiteral(" id=\"UserManagement_Form_Email2\""); 6216 6217 WriteLiteral(" class=\"form-control\""); 6218 6219 WriteLiteral(">\r\n<!-- 15-Now-2018 Begin Zayar Minn -->\r\n " + 6220 " <!--<button name=\"submit\" class=\"subscribe-btn no-outline\" type=\"submit\" i" + 6221 "d=\"submit\">"); 6222 6223 6224 #line 1905 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 6225 Write(Translate("Sign Up","Sign Up")); 6226 6227 6228 #line default 6229 #line hidden 6230 WriteLiteral("</button>-->\r\n <input"); 6231 6232 WriteLiteral(" name=\"submit\""); 6233 6234 WriteLiteral(" type=\"submit\""); 6235 6236 WriteLiteral(" class=\"subscribe-btn no-outline\""); 6237 6238 WriteLiteral(" id=\"submit\""); 6239 6240 WriteAttribute("value", Tuple.Create(" value=\'", 100402), Tuple.Create("\'", 100441) 6241 6242 #line 1906 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 6243 , Tuple.Create(Tuple.Create("", 100410), Tuple.Create<System.Object, System.Int32>(Translate("Sign Up","Sign Up") 6244 6245 #line default 6246 #line hidden 6247 , 100410), false) 6248 ); 6249 6250 WriteLiteral(" autocomplete=\"off\""); 6251 6252 WriteLiteral(">\r\n \r\n<!-- 15-Now-2018 End Zayar Minn " + 6253 "-->\r\n </span>\r\n " + 6254 " </div>\r\n </form>\r\n"); 6255 6256 6257 #line 1912 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 6258 } 6259 6260 6261 #line default 6262 #line hidden 6263 WriteLiteral(" <h4"); 6264 6265 WriteLiteral(" class=\"font-futura text-uppercase mt-5 d-none d-sm-none d-md-none\""); 6266 6267 WriteLiteral(">"); 6268 6269 6270 #line 1913 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 6271 Write(Translate("Follow Us","Follow Us")); 6272 6273 6274 #line default 6275 #line hidden 6276 WriteLiteral("</h4>\r\n <ul"); 6277 6278 WriteLiteral(" class=\"list-unstyled list-inline footer-social-icons\""); 6279 6280 WriteLiteral(">\r\n\t\t\t\t\t\t\t\t\t<li"); 6281 6282 WriteLiteral(" class=\"list-inline-item color-white\""); 6283 6284 WriteLiteral(">\r\n\t\t\t\t\t\t\t\t\t\t<p>"); 6285 6286 6287 #line 1916 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 6288 Write(Translate("Follow Us","Follow Us")); 6289 6290 6291 #line default 6292 #line hidden 6293 WriteLiteral("</p>\r\n\t\t\t\t\t\t\t\t\t</li>\r\n"); 6294 6295 6296 #line 1918 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 6297 6298 6299 #line default 6300 #line hidden 6301 6302 #line 1918 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 6303 foreach (LoopItem i in GetLoop("Item.Area.SocialIconInFooter")) 6304 { 6305 string name = i.GetString("Item.Area.SocialIconInFooter.Social_Name"); 6306 string icon = "/Files/Images/TWG Design/TWG-Tea/" + i.GetString("Item.Area.SocialIconInFooter.Icon"); 6307 string link = i.GetString("Item.Area.SocialIconInFooter.Link"); 6308 6309 6310 #line default 6311 #line hidden 6312 WriteLiteral(" <li"); 6313 6314 WriteLiteral(" class=\"list-inline-item\""); 6315 6316 WriteLiteral(">\r\n <a"); 6317 6318 WriteAttribute("href", Tuple.Create(" href=\"", 101679), Tuple.Create("\"", 101691) 6319 6320 #line 1924 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 6321 , Tuple.Create(Tuple.Create("", 101686), Tuple.Create<System.Object, System.Int32>(link 6322 6323 #line default 6324 #line hidden 6325 , 101686), false) 6326 ); 6327 6328 WriteLiteral(">\r\n <img"); 6329 6330 WriteAttribute("src", Tuple.Create(" src=\"", 101745), Tuple.Create("\"", 101756) 6331 6332 #line 1925 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 6333 , Tuple.Create(Tuple.Create("", 101751), Tuple.Create<System.Object, System.Int32>(icon 6334 6335 #line default 6336 #line hidden 6337 , 101751), false) 6338 ); 6339 6340 WriteAttribute("alt", Tuple.Create(" alt=\"", 101757), Tuple.Create("\"", 101768) 6341 6342 #line 1925 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 6343 , Tuple.Create(Tuple.Create("", 101763), Tuple.Create<System.Object, System.Int32>(name 6344 6345 #line default 6346 #line hidden 6347 , 101763), false) 6348 ); 6349 6350 WriteLiteral(" class=\"img-fluid\""); 6351 6352 WriteLiteral(">\r\n </a>\r\n " + 6353 " </li>\r\n"); 6354 6355 6356 #line 1928 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 6357 } 6358 6359 6360 #line default 6361 #line hidden 6362 WriteLiteral(" \t\t\t\t\t "); 6363 6364 6365 #line 1929 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 6366 if(Pageview.Device.ToString().ToUpper() == "MOBILE" || Pageview.Device.ToString().ToUpper() == "TABLET" || Pageview.Platform.ToString().ToUpper() == "ANDROID"){ 6367 6368 6369 #line default 6370 #line hidden 6371 WriteLiteral(" \t\t\t\t\t\t\t<li"); 6372 6373 WriteLiteral(" class=\"list-inline-item\""); 6374 6375 WriteLiteral(">\r\n <a"); 6376 6377 WriteAttribute("href", Tuple.Create(" href=\'", 102201), Tuple.Create("\'", 102247) 6378 6379 #line 1931 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 6380 , Tuple.Create(Tuple.Create("", 102208), Tuple.Create<System.Object, System.Int32>(GetString("Item.Area.APK_Mobile_Link") 6381 6382 #line default 6383 #line hidden 6384 , 102208), false) 6385 ); 6386 6387 WriteLiteral(">\r\n <img"); 6388 6389 WriteAttribute("src", Tuple.Create(" src=\'", 102301), Tuple.Create("\'", 102346) 6390 6391 #line 1932 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 6392 , Tuple.Create(Tuple.Create("", 102307), Tuple.Create<System.Object, System.Int32>(GetString("Item.Area.APK_Mobile_Icon") 6393 6394 #line default 6395 #line hidden 6396 , 102307), false) 6397 ); 6398 6399 WriteLiteral(" alt=\"APK icon\""); 6400 6401 WriteLiteral(" class=\"img-fluid\""); 6402 6403 WriteLiteral("> \r\n </a>\r\n \t\t\t\t\t\t\t</li>\r\n" + 6404 ""); 6405 6406 6407 #line 1935 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 6408 } 6409 else{ 6410 6411 6412 #line default 6413 #line hidden 6414 WriteLiteral(" \t\t\t\t\t\t\t<li"); 6415 6416 WriteLiteral(" class=\"list-inline-item\""); 6417 6418 WriteLiteral(">\r\n <a"); 6419 6420 WriteAttribute("href", Tuple.Create(" href=\'", 102618), Tuple.Create("\'", 102657) 6421 6422 #line 1938 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 6423 , Tuple.Create(Tuple.Create("", 102625), Tuple.Create<System.Object, System.Int32>(GetString("Item.Area.APK_Link") 6424 6425 #line default 6426 #line hidden 6427 , 102625), false) 6428 ); 6429 6430 WriteLiteral(">\r\n <img"); 6431 6432 WriteAttribute("src", Tuple.Create(" src=\'", 102711), Tuple.Create("\'", 102749) 6433 6434 #line 1939 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 6435 , Tuple.Create(Tuple.Create("", 102717), Tuple.Create<System.Object, System.Int32>(GetString("Item.Area.APK_Icon") 6436 6437 #line default 6438 #line hidden 6439 , 102717), false) 6440 ); 6441 6442 WriteLiteral(" alt=\"APK icon\""); 6443 6444 WriteLiteral(" class=\"img-fluid\""); 6445 6446 WriteLiteral("> \r\n </a>\r\n \t\t\t\t\t\t\t</li>\r\n" + 6447 ""); 6448 6449 6450 #line 1942 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 6451 } 6452 6453 6454 #line default 6455 #line hidden 6456 WriteLiteral(" </ul>\r\n </div>\r\n\t\t\t\t\t\t <d" + 6457 "iv"); 6458 6459 WriteLiteral(" class=\"col-12 d-block d-sm-block d-md-block d-lg-none footer-copyright-mobile\""); 6460 6461 WriteLiteral(">\r\n"); 6462 6463 WriteLiteral("\t\t\t\t\t\t\t"); 6464 6465 6466 #line 1946 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 6467 Write(GetString("Item.Area.FooterAddress")); 6468 6469 6470 #line default 6471 #line hidden 6472 WriteLiteral("\r\n\t\t\t\t\t\t </div>\r\n </div>\r\n </div>\r\n " + 6473 " </div>\r\n </div>\r\n <div"); 6474 6475 WriteLiteral(" class=\"footer-copyright\""); 6476 6477 WriteLiteral(">\r\n\t\t\t\t<div"); 6478 6479 WriteLiteral(" class=\"container\""); 6480 6481 WriteLiteral(">\r\n\t\t\t\t\t<div"); 6482 6483 WriteLiteral(" class=\"footer-copyright-content\""); 6484 6485 WriteLiteral(">\r\n\t\t\t\t\t\t<div"); 6486 6487 WriteLiteral(" class=\"row\""); 6488 6489 WriteLiteral(">\r\n\t\t\t\t\t\t\t<div"); 6490 6491 WriteLiteral(" class=\"col-12 col-sm-8 d-none d-lg-block\""); 6492 6493 WriteLiteral(">\r\n"); 6494 6495 WriteLiteral("\t\t\t\t\t\t\t\t"); 6496 6497 6498 #line 1957 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 6499 Write(GetString("Item.Area.FooterAddress")); 6500 6501 6502 #line default 6503 #line hidden 6504 WriteLiteral("\r\n\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t\t<div"); 6505 6506 WriteLiteral(" class=\"col-12 col-lg-4 text-right align-self-center\""); 6507 6508 WriteLiteral(">\r\n<!-- 15-Now-2018 Begin Zayar Minn -->\r\n\t\t\t\t\t\t\t\t<p"); 6509 6510 WriteLiteral(" class=\"mb-0 text-uppercase footer-shortlink-middle\""); 6511 6512 WriteLiteral("><a"); 6513 6514 WriteLiteral(" href=\"#\""); 6515 6516 WriteLiteral("><span"); 6517 6518 WriteLiteral(" class=\"ar_row\""); 6519 6520 WriteLiteral("></span>"); 6521 6522 6523 #line 1961 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 6524 Write(Translate("More Information","More Information")); 6525 6526 6527 #line default 6528 #line hidden 6529 WriteLiteral("</a></p>\r\n<!-- 15-Now-2018 End Zayar Minn -->\r\n\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t</div>\r\n\t\t\t\t\t" + 6530 "</div>\r\n \t</div>\r\n </div>\r\n </footer>\r\n </div>" + 6531 "\r\n\r\n\t<div"); 6532 6533 WriteLiteral(" class=\"bg-audio-wrapper\""); 6534 6535 WriteLiteral(">\r\n <audio"); 6536 6537 WriteLiteral(" id=\"bg-audio\""); 6538 6539 WriteLiteral(" controls=\"\""); 6540 6541 WriteLiteral(" loop=\"\""); 6542 6543 WriteLiteral(" preload=\"\""); 6544 6545 WriteLiteral(">\r\n \t<source"); 6546 6547 WriteAttribute("src", Tuple.Create(" src=\"", 104023), Tuple.Create("\"", 104142) 6548 6549 #line 1973 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 6550 , Tuple.Create(Tuple.Create("", 104029), Tuple.Create<System.Object, System.Int32>(HttpContext.Current.Request.Url.GetLeftPart(UriPartial.Authority) 6551 6552 #line default 6553 #line hidden 6554 , 104029), false) 6555 , Tuple.Create(Tuple.Create("", 104095), Tuple.Create("/Files/Templates/Designs/TWG/media/bg-music.mp3", 104095), true) 6556 ); 6557 6558 WriteLiteral(" type=\"audio/mpeg\""); 6559 6560 WriteLiteral(">\r\n\t\t\t<source"); 6561 6562 WriteAttribute("src", Tuple.Create(" src=\"", 104174), Tuple.Create("\"", 104293) 6563 6564 #line 1974 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 6565 , Tuple.Create(Tuple.Create("", 104180), Tuple.Create<System.Object, System.Int32>(HttpContext.Current.Request.Url.GetLeftPart(UriPartial.Authority) 6566 6567 #line default 6568 #line hidden 6569 , 104180), false) 6570 , Tuple.Create(Tuple.Create("", 104246), Tuple.Create("/Files/Templates/Designs/TWG/media/bg-music.ogg", 104246), true) 6571 ); 6572 6573 WriteLiteral(" type=\"audio/ogg\""); 6574 6575 WriteLiteral(">\r\n </source></source></audio>\r\n </div>\r\n <input"); 6576 6577 WriteLiteral(" type=\"hidden\""); 6578 6579 WriteLiteral(" id=\"autoplay\""); 6580 6581 WriteLiteral(" name=\"autoplay\""); 6582 6583 WriteLiteral(" value=\"1\""); 6584 6585 WriteLiteral(">\r\n \r\n<!--forget Password Start -->\r\n\t\t\t\r\n"); 6586 6587 6588 #line 1981 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 6589 6590 6591 #line default 6592 #line hidden 6593 6594 #line 1981 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 6595 6596 /////////// Forget Password //////////////// 6597 PasswordForget passwordForgetRequest = new PasswordForget(); 6598 PasswordForgetResponse passwordForgetResponse = new PasswordForgetResponse(); 6599 6600 passwordForgetRequest.Email = System.Web.HttpContext.Current.Request["AccessUserEmail"]; 6601 6602 if(!string.IsNullOrEmpty(passwordForgetRequest.Email)) 6603 { 6604 passwordForgetResponse = MembersonIntegration.ForgetPassword(passwordForgetRequest); 6605 } 6606 6607 6608 #line default 6609 #line hidden 6610 WriteLiteral("\r\n<div"); 6611 6612 WriteLiteral(" id=\"forgetPasswordDialogID\""); 6613 6614 WriteLiteral(">\r\n\t<div"); 6615 6616 WriteLiteral(" class=\"row register-box-wrapper\""); 6617 6618 WriteLiteral(">\r\n \t<div"); 6619 6620 WriteLiteral(" class=\"\""); 6621 6622 WriteLiteral(">\r\n\t\t\t<div"); 6623 6624 WriteLiteral(" id=\"pwModal\""); 6625 6626 WriteLiteral(" class=\"modal fade\""); 6627 6628 WriteLiteral(" role=\"dialog\""); 6629 6630 WriteLiteral(">\r\n\t\t\t\t<div"); 6631 6632 WriteLiteral(" class=\"modal-dialog\""); 6633 6634 WriteLiteral(">\r\n\t\t\t\t<!-- Modal content-->\r\n\t\t\t\t\t<div"); 6635 6636 WriteLiteral(" class=\"modal-content mbldialog\""); 6637 6638 WriteLiteral(">\r\n\t\t\t\t\t\t<button"); 6639 6640 WriteLiteral(" type=\"button\""); 6641 6642 WriteLiteral(" name=\"forgetpasswordbtnclose\""); 6643 6644 WriteLiteral(" class=\"close\""); 6645 6646 WriteLiteral(" data-dismiss=\"modal\""); 6647 6648 WriteLiteral("><img"); 6649 6650 WriteLiteral(" src=\"/Files/Images/TWG-Tea/close-btn.png\""); 6651 6652 WriteLiteral(" alt=\"Close\""); 6653 6654 WriteLiteral("></button>\r\n\t\t\t\t\t\t<div"); 6655 6656 WriteLiteral(" class=\"modal-header mt-3 mb-2\""); 6657 6658 WriteLiteral(">\t\r\n\t\t\t\t\t\t\t<h3"); 6659 6660 WriteLiteral(" class=\"text-uppercase text-center text-dark\""); 6661 6662 WriteLiteral(">"); 6663 6664 6665 #line 2002 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 6666 Write(Translate("Forgotten Password", "Forgotten Password")); 6667 6668 6669 #line default 6670 #line hidden 6671 WriteLiteral("</h3>\r\n\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t<div"); 6672 6673 WriteLiteral(" class=\"modal-body\""); 6674 6675 WriteLiteral("> \r\n\t\t\t\t\t\t\t<p"); 6676 6677 WriteLiteral(" class=\"text-center text-dark\""); 6678 6679 WriteLiteral(">"); 6680 6681 6682 #line 2005 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 6683 Write(Translate("Forget Password Msg","Please enter the email address you use for this account and we will send you your password.")); 6684 6685 6686 #line default 6687 #line hidden 6688 WriteLiteral("</p>\r\n <form"); 6689 6690 WriteLiteral(" class=\"form-body\""); 6691 6692 WriteLiteral(" method=\"post\""); 6693 6694 WriteLiteral(" id=\"forgetpasswordform\""); 6695 6696 WriteLiteral(">\r\n\t\t\t\t\t\t\t\t<input"); 6697 6698 WriteLiteral(" name=\"AccessUserEmail\""); 6699 6700 WriteLiteral(" type=\"input\""); 6701 6702 WriteLiteral(" class=\"form-control notNull\""); 6703 6704 WriteLiteral(" id=\"AccessUserEmail\""); 6705 6706 WriteAttribute("placeholder", Tuple.Create(" placeholder=\'", 106133), Tuple.Create("\'", 106192) 6707 6708 #line 2007 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 6709 , Tuple.Create(Tuple.Create("", 106147), Tuple.Create<System.Object, System.Int32>(Translate("Email address*","Email address*") 6710 6711 #line default 6712 #line hidden 6713 , 106147), false) 6714 ); 6715 6716 WriteLiteral(" autocomplete=\"off\""); 6717 6718 WriteLiteral(">\r\n\t\t\t\t\t\t\t\t<p"); 6719 6720 WriteLiteral(" class=\"error-message\""); 6721 6722 WriteLiteral(">\r\n\t\t\t\t\t\t\t\t<div"); 6723 6724 WriteLiteral(" class=\"text-center\""); 6725 6726 WriteLiteral(">\r\n \t<button"); 6727 6728 WriteLiteral(" type=\"submit\""); 6729 6730 WriteLiteral(" name=\"LoginAction\""); 6731 6732 WriteLiteral(" value=\"Recovery\""); 6733 6734 WriteLiteral(" onclick=\"checkAndSubmit(event, this)\""); 6735 6736 WriteLiteral(" class=\"btn btn-default btn-forget-pw\""); 6737 6738 WriteLiteral(" data-toggle=\"modal\""); 6739 6740 WriteLiteral(">"); 6741 6742 6743 #line 2010 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 6744 Write(Translate("Confirm", "Confirm")); 6745 6746 6747 #line default 6748 #line hidden 6749 WriteLiteral("</button>\r\n\t\t\t\t\t\t\t\t\t<span"); 6750 6751 WriteLiteral(" id=\"forgetpasswordsuccess\""); 6752 6753 WriteLiteral(" data-toggle=\"modal\""); 6754 6755 WriteLiteral(" data-target=\"#forgetPasswordMsg\""); 6756 6757 WriteLiteral(" style=\"display:none;\""); 6758 6759 WriteLiteral("></span>\r\n\t\t\t\t\t\t\t\t</div> \r\n\t\t\t\t\t\t\t</form>\r\n\t\t\t\t\t\t</div>\r\n\t\t\t\t\t</div>\r\n\t\t\t\t</div>" + 6760 "\r\n\t\t\t</div>\r\n\r\n <!--Popup Start-->\r\n <div"); 6761 6762 WriteLiteral(" id=\"closeFun\""); 6763 6764 WriteLiteral(" onclick=\"closeBurn()\""); 6765 6766 WriteLiteral(" style=\"display: none;\""); 6767 6768 WriteLiteral(">\r\n <div"); 6769 6770 WriteLiteral(" id=\"alertPopup\""); 6771 6772 WriteLiteral(" class=\"alert\""); 6773 6774 WriteLiteral(">\r\n <div"); 6775 6776 WriteLiteral(" id=\"loginBody\""); 6777 6778 WriteLiteral(">\r\n <div"); 6779 6780 WriteLiteral(" id=\"loginTitle\""); 6781 6782 WriteLiteral(" class=\"head\""); 6783 6784 WriteLiteral(">\r\n\r\n </div>\r\n <div"); 6785 6786 WriteLiteral(" id=\"loginText\""); 6787 6788 WriteLiteral(" class=\"bod\""); 6789 6790 WriteLiteral(">\r\n </div>\r\n <div"); 6791 6792 WriteLiteral(" id=\"loginButton\""); 6793 6794 WriteLiteral(">\r\n\r\n <label"); 6795 6796 WriteLiteral(" for=\"SignInModalTrigger\""); 6797 6798 WriteLiteral(" class=\"button\""); 6799 6800 WriteLiteral(">"); 6801 6802 6803 #line 2030 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 6804 Write(Translate("Log In","Log In")); 6805 6806 6807 #line default 6808 #line hidden 6809 WriteLiteral("</label>\r\n </div>\r\n <div"); 6810 6811 WriteLiteral(" id=\"homeButton\""); 6812 6813 WriteLiteral(">\r\n <a"); 6814 6815 WriteLiteral(" class=\"homebutton\""); 6816 6817 WriteLiteral(" href=\"\""); 6818 6819 WriteLiteral(">"); 6820 6821 6822 #line 2033 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 6823 Write(Translate("Home Page")); 6824 6825 6826 #line default 6827 #line hidden 6828 WriteLiteral("</a>\r\n </div>\r\n </div>\r\n </div>\r\n " + 6829 " </div>\r\n <!--End Popup-->\r\n\t\t\t<div"); 6830 6831 WriteLiteral(" id=\"forgetPasswordMsg\""); 6832 6833 WriteLiteral(" class=\"modal fade\""); 6834 6835 WriteLiteral(" role=\"dialog\""); 6836 6837 WriteLiteral(">\r\n\t\t\t\t<div"); 6838 6839 WriteLiteral(" class=\"modal-dialog\""); 6840 6841 WriteLiteral(">\r\n\t\t\t\t<!-- Modal content-->\r\n\t\t\t\t\t<div"); 6842 6843 WriteLiteral(" class=\"modal-content\""); 6844 6845 WriteLiteral(">\r\n\t\t\t\t\t\t<button"); 6846 6847 WriteLiteral(" type=\"button\""); 6848 6849 WriteLiteral(" name=\"forgetpasswordbtnclose\""); 6850 6851 WriteLiteral(" class=\"close\""); 6852 6853 WriteLiteral(" data-dismiss=\"modal\""); 6854 6855 WriteLiteral("><img"); 6856 6857 WriteLiteral(" src=\"/Files/Images/TWG-Tea/close-btn.png\""); 6858 6859 WriteLiteral(" alt=\"Close\""); 6860 6861 WriteLiteral("></button>\r\n\t\t\t\t\t\t<div"); 6862 6863 WriteLiteral(" class=\"modal-header mt-3 mb-2\""); 6864 6865 WriteLiteral(">\t\r\n\t\t\t\t\t\t\t<h3"); 6866 6867 WriteLiteral(" class=\"text-uppercase text-center text-dark\""); 6868 6869 WriteLiteral(">"); 6870 6871 6872 #line 2045 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 6873 Write(Translate("Forgotten Password", "Forgotten Password")); 6874 6875 6876 #line default 6877 #line hidden 6878 WriteLiteral("</h3>\r\n\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t<div"); 6879 6880 WriteLiteral(" class=\"modal-body\""); 6881 6882 WriteLiteral("> \r\n\t\t\t\t\t\t\t<p"); 6883 6884 WriteLiteral(" id=\"forgetpasswordMessage\""); 6885 6886 WriteLiteral(" class=\"text-center text-dark\""); 6887 6888 WriteLiteral(">\r\n <div"); 6889 6890 WriteLiteral(" class=\"text-center\""); 6891 6892 WriteLiteral("><br>\r\n <button"); 6893 6894 WriteLiteral(" class=\"btn text-center\""); 6895 6896 WriteLiteral(" style=\"background:none;border:none;letter-spacing:3px;font-size:14.58px;font-fam" + 6897 "ily:Arial !important;color:#000;\""); 6898 6899 WriteLiteral(" onclick=\"gotoHome1();\""); 6900 6901 WriteLiteral("><u>"); 6902 6903 6904 #line 2050 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 6905 Write(Translate("CONTINUE TO SITE", "CONTINUE TO SITE")); 6906 6907 6908 #line default 6909 #line hidden 6910 WriteLiteral("</u></button>\t\t\r\n\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t</div>\r\n\t\t\t\t\t</div>\r\n\t\t\t\t</div>\r\n\t\t\t</div>\r" + 6911 "\n \r\n\t\t\r\n\t\t\t\r\n\t\t</div>\r\n\t</div>\r\n <div"); 6912 6913 WriteLiteral(" id=\"clientLoginForm\""); 6914 6915 WriteLiteral(" style=\"display:none;padding: 0px 5px;\""); 6916 6917 WriteLiteral(">\r\n <h3>Login to site</h3>\r\n <p><label>Password:</label>&nbsp;&nbsp;<" + 6918 "input"); 6919 6920 WriteLiteral(" type=\"text\""); 6921 6922 WriteLiteral(" name=\"clientLoginPassword\""); 6923 6924 WriteLiteral(" id=\"clientLoginPassword\""); 6925 6926 WriteLiteral(" style=\"width:90%;\""); 6927 6928 WriteLiteral("></p>\r\n <input"); 6929 6930 WriteLiteral(" type=\"button\""); 6931 6932 WriteLiteral(" onclick=\"checkPassword()\""); 6933 6934 WriteLiteral(" value=\"Login\""); 6935 6936 WriteLiteral("><br> <br> \r\n </div>\r\n <script>\r\n\r\n " + 6937 " $(document).ready(function () {\r\n\r\n\r\n " + 6938 " $(\'.form-search\').on(\"submit\", function () {\r\n " + 6939 " //const norm = $(\'#eComQueryShadow1\').val();\r\n " + 6940 " var estring = $(\'#eComQueryShadow1\').val();\r\n " + 6941 " estring = estring.replace(/[\\\\]+/g, \"\");\r\n " + 6942 " estring = estring.replace(/[\']+/g, \"\\\\\'\");\r\n " + 6943 " $(\'#eComQuery1\').val(estring);\r\n " + 6944 " //$(\'#eComQueryShadow1\').val(norm);\r\n\r\n v" + 6945 "ar estring2 = $(\'#eComQueryShadow2\').val();\r\n " + 6946 " estring2 = estring2.replace(/[\\\\]+/g, \"\");\r\n " + 6947 " estring2 = estring2.replace(/[\']+/g, \"\\\\\'\");\r\n " + 6948 " $(\'#eComQuery2\').val(estring2);\r\n\r\n va" + 6949 "r estring3 = $(\'#eComQueryShadow3\').val();\r\n " + 6950 " estring3 = estring3.replace(/[\\\\]+/g, \"\");\r\n " + 6951 " estring3 = estring3.replace(/[\']+/g, \"\\\\\'\");\r\n " + 6952 " $(\'#eComQuery3\').val(estring3);\r\n //con" + 6953 "sole.log($(\'#eComQuery1\').val());\r\n\r\n });\r\n " + 6954 " });\r\n \r\n " + 6955 " function extranetLogOut(){ \r\n " + 6956 " \r\n window.location.href=\"/Ad" + 6957 "min/Public/ExtranetLogoff.aspx?ID="); 6958 6959 6960 #line 2095 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 6961 Write(firstPageId); 6962 6963 6964 #line default 6965 #line hidden 6966 WriteLiteral("\"; \t\t\t\r\n }\r\n " + 6967 " if(\'"); 6968 6969 6970 #line 2097 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 6971 Write(passwordForgetResponse.ResponseStatus.Message); 6972 6973 6974 #line default 6975 #line hidden 6976 WriteLiteral("\' != \'\')\r\n {\r\n $(\'#forgetpasswordMessage\').html" + 6977 "(\'"); 6978 6979 6980 #line 2099 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 6981 Write(Translate("ForgetPasswordInvalidEmail", @passwordForgetResponse.ResponseStatus.Message )); 6982 6983 6984 #line default 6985 #line hidden 6986 WriteLiteral("\');\r\n }\r\n else\r\n {\r\n " + 6987 " $(\'#forgetpasswordMessage\').html(\'"); 6988 6989 6990 #line 2103 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 6991 Write(Translate("ForgetPasswordValidEmail","An email had been sent to reset your password.")); 6992 6993 6994 #line default 6995 #line hidden 6996 WriteLiteral("\');\r\n }\r\n \r\n $(document).ready(functio" + 6997 "n() {\r\n\t\t\t\t\t$(\'#forgetPasswordDialogID\').hide();\r\n if(\'"); 6998 6999 7000 #line 2108 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 7001 Write(passwordForgetRequest.Email); 7002 7003 7004 #line default 7005 #line hidden 7006 WriteLiteral(@"' != ''){ 7007 $('#forgetPasswordDialogID').show(); 7008 $('#forgetpasswordsuccess').click(); 7009 } 7010 7011 7012 7013 $('[name=""forgetpasswordbtnname""]').click(function(){ 7014 if($('#forgetPasswordDialogID').css('display') == 'none') 7015 { 7016 $('#forgetPasswordDialogID').show(); 7017 } 7018 }); 7019 7020 $('[name=""forgetpasswordbtnclose""]').click(function(){ 7021 if($('#forgetPasswordDialogID').css('display') != 'none') 7022 { 7023 $('#forgetPasswordDialogID').hide(); 7024 } 7025 }); 7026 }); 7027 </script> 7028 <!-- forget Password Success message end--> 7029 7030 <script"); 7031 7032 WriteLiteral(" src=\"/Files/Templates/Designs/TWG/vendor/video-js/video.js\""); 7033 7034 WriteLiteral("></script>\r\n <script"); 7035 7036 WriteLiteral(" src=\"/Files/Templates/Designs/TWG/js/chosen.jquery.js\""); 7037 7038 WriteLiteral("></script>\r\n \t\r\n <script"); 7039 7040 WriteLiteral(" src=\"/Files/Templates/Designs/TWG/js/slick.min.js\""); 7041 7042 WriteLiteral("></script>\r\n <script"); 7043 7044 WriteLiteral(" src=\"/Files/Templates/Designs/TWG/js/jquery.bxslider.js\""); 7045 7046 WriteLiteral("></script>\r\n <script"); 7047 7048 WriteLiteral(" src=\"/Files/Templates/Designs/TWG/js/jquery.customSelect.min.js\""); 7049 7050 WriteLiteral("></script>\r\n <script"); 7051 7052 WriteLiteral(" src=\"/Files/Templates/Designs/TWG/vendor/elevatezoom/jquery.elevateZoom-2.2.3.mi" + 7053 "n.js\""); 7054 7055 WriteLiteral("></script>\r\n <script"); 7056 7057 WriteLiteral(" src=\"/Files/Templates/Designs/TWG/js/main.js\""); 7058 7059 WriteLiteral("></script>\r\n <script"); 7060 7061 WriteLiteral(" src=\"/Files/Templates/Designs/TWG/js/custom.min.js\""); 7062 7063 WriteLiteral(">\r\n \r\n</div>\r\n\r\n <script type=\"text/javascript\">\r\n \tfunction goToLogin" + 7064 "() {\r\n \t\tlocation.href=\"/Default.aspx?ID="); 7065 7066 7067 #line 2146 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 7068 Write(loginPageId); 7069 7070 7071 #line default 7072 #line hidden 7073 WriteLiteral(@"""; 7074 } 7075 function ajaxsubmitcart2(input) { 7076 7077 $.ajax({ 7078 url: input, 7079 type: ""POST"", 7080 success: function (data) { 7081 $('.cart-indicator .count').html(parseInt($('.cart-indicator .count').html()) + 1); 7082 showTooltip( 'cart' , '"); 7083 7084 7085 #line 2155 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 7086 Write(Translate("Added to bag","Added to bag")); 7087 7088 7089 #line default 7090 #line hidden 7091 WriteLiteral(@"' ); 7092 }, 7093 error: function (xhr, ajaxOptions, thrownError) { 7094 7095 } 7096 }); 7097 } 7098 7099 function ajaxsubmitcart(input) { 7100 var form = input; 7101 //console.log(input); 7102 $.ajax({ 7103 url: ""/"", 7104 type: ""POST"", 7105 data: input.serialize(), 7106 success: function (data) { 7107 $('.cart-indicator .count').html(parseInt($('.cart-indicator .count').html()) + 1); 7108 showTooltip( 'cart' , '"); 7109 7110 7111 #line 2172 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 7112 Write(Translate("Added to bag","Added to bag")); 7113 7114 7115 #line default 7116 #line hidden 7117 WriteLiteral("\' );\r\n },\r\n error: function (xhr, ajaxOptions, thro" + 7118 "wnError) {\r\n\r\n }\r\n });\r\n return false;\r\n " + 7119 " }\r\n\r\n function amountCheck(id, default_variant) {\r\n \r\n " + 7120 " var totalamount = 0;\r\n var curamount = parseInt((default_varia" + 7121 "nt.replace(\'k\', \'\')).replace(\'g\'));\r\n for (var j = 0; j < itemsInCart" + 7122 ".length; j++) {\r\n if (itemsInCart[j] == id) {\r\n " + 7123 " if (parseInt(((cartVarQty[j].split(\',\')[1]).replace(\'k\', \'\')).replace(\'g\')) > " + 7124 "39)\r\n { totalamount += parseInt(cartVarQty[j].split(\',\')[0]) " + 7125 "* parseInt(((cartVarQty[j].split(\',\')[1]).replace(\'k\', \'\')).replace(\'g\')); }\r\n " + 7126 " else\r\n { totalamount += parseInt(cartVarQty" + 7127 "[j].split(\',\')[0]) * parseInt(((cartVarQty[j].split(\',\')[1]).replace(\'k\', \'\')).r" + 7128 "eplace(\'g\')) * 1000; }\r\n }\r\n }\r\n if (totala" + 7129 "mount + curamount > 5000) {\r\n alert(\"You have \" + totalamount / 1" + 7130 "000 + \"Kg of this product in your cart. You acnnot buy more than 5 kg per looset" + 7131 "ea.\");\r\n }\r\n else {\r\n ajaxsubmitcart($(\"#pr" + 7132 "oductID_\" + id));\r\n }\r\n }\r\n\r\n function showtooltip(){\r\n" + 7133 "\r\n $(\'#cart-indicator\').show();\r\n $(\'#cart-indicator1\').sh" + 7134 "ow();\r\n setTimeout(function(){ $(\'#cart-indicator\').hide();$(\'#cart-i" + 7135 "ndicator1\').hide();}, 2000);\r\n return true;\r\n }\r\n \r\n " + 7136 " function setOptInCookie(optInLevel) {\r\n document.getElementById(" + 7137 "\"cookieWarningDiv\").classList.add(\"closed\");\r\n setTimeout(function ()" + 7138 " {\r\n var xmlhttp;\r\n if (window.XMLHttpRequest) {\r\n" + 7139 " xmlhttp = new XMLHttpRequest();\r\n }\r\n " + 7140 " else {\r\n xmlhttp = new ActiveXObject(\"Microsoft.XMLHT" + 7141 "TP\");\r\n }\r\n xmlhttp.onreadystatechange = function " + 7142 "() {\r\n if (xmlhttp.readyState == 4 && xmlhttp.status == 200) " + 7143 "{\r\n var div = document.getElementById(\"cookieWarningDiv\")" + 7144 ";\r\n div.parentNode.removeChild(div);\r\n " + 7145 " return false;\r\n }\r\n }\r\n xm" + 7146 "lhttp.open(\"GET\", \"/admin/public/CookieOptInLevelConfig.aspx?cmd=SetCookieOptInL" + 7147 "evel&OptInLevel=\" + optInLevel, true);\r\n xmlhttp.send();\r\n " + 7148 " return false;\r\n }, 300);\r\n }\r\n\r\n (function (d," + 7149 " s, id) {\r\n var js, fjs = d.getElementsByTagName(s)[0];\r\n " + 7150 "if (d.getElementById(id)) return;\r\n js = d.createElement(s); js.id = " + 7151 "id;\r\n js.src = \"//connect.facebook.net/en_US/sdk.js#xfbml=1&version=v" + 7152 "2.10\";\r\n fjs.parentNode.insertBefore(js, fjs);\r\n }(document, \'" + 7153 "script\', \'facebook-jssdk\'));\r\n\r\n var itemsInWant = [];\r\n\r\n try { T" + 7154 "ypekit.load({ async: true }); } catch (e) { }\r\n\r\n\r\n\r\n \r\n\r\n $(window" + 7155 ").load(function () {\r\n $(\'#pageLoad\').fadeOut();\r\n });\r\n " + 7156 " \r\n function showLower() {\r\n $(\"#lower_content\").slideToggle(" + 7157 "\"slow\");\r\n }\r\n function hideAll() {\r\n document.getEleme" + 7158 "ntById(\"c_location\").style.display = \"none\";\r\n document.getElementByI" + 7159 "d(\"upper_content\").style.display = \"none\";\r\n document.getElementById(" + 7160 "\"lower_content\").style.display = \"none\";\r\n $(\'#global_popup\').hide();" + 7161 "\r\n document.getElementById(\"fir_st\").style.display = \"none\";\r\n " + 7162 " document.getElementById(\"sec_ond\").style.display = \"none\";\r\n }\r\n " + 7163 " function hideAllPopup() {\r\n $(\'#c_location\').hide();\r\n " + 7164 " $(\'#global_popup\').hide();\r\n $(\'#fir_st\').hide();\r\n $(\'#s" + 7165 "ec_ond\').hide();\r\n }\r\n\r\n function playVideo(link) {\r\n v" + 7166 "ar urle = \"<source src=\'\" + link + \"\' type=\'video/mp4\' />\";\r\n $(\'#vid" + 7167 "eo--play\').html();\r\n $(\'#video--play\').html(urle);\r\n $(\'#v" + 7168 "ideoPopUp\').show();\r\n $(\'#video--play\')[0].play();\r\n }\r\n\r\n " + 7169 " $(document).ready(function () {\r\n $(\"#videoPopUp\").on(\'click\', fu" + 7170 "nction () {\r\n $(this).hide();\r\n $(\'#video--play\')[" + 7171 "0].pause();\r\n });\r\n\r\n });\r\n\r\n function hideAllPopup(){\r" + 7172 "\n $(\'#c_location\').hide();\r\n $(\'#global_popup\').hide();\r\n " + 7173 " $(\'#fir_st\').hide();\r\n $(\'#sec_ond\').hide();\r\n }\r\n " + 7174 " \r\n function validateEmailForm1(){\r\n var email = $(\"#usernam" + 7175 "e1\").val();\r\n if (!validateEmail(email))\r\n {\r\n " + 7176 " $(\"#username1\").css(\"border-color\", \"#ffdf61\");\r\n " + 7177 " return false;\r\n }\r\n return true;\r\n }\r\n " + 7178 " function validateEmailForm2(){\r\n var email = $(\"#username2\").val();\r\n" + 7179 " if (!validateEmail(email))\r\n {\r\n " + 7180 " $(\"#username2\").css(\"border-color\", \"#ffdf61\");\r\n return f" + 7181 "alse;\r\n }\r\n return true;\r\n }\r\n function va" + 7182 "lidateEmail(email) {\r\n var re = /^[a-z0-9\\.\\_%+-]+"); 7183 7184 WriteLiteral("@[a-z0-9\\.\\-]+\\.[a-z]{2,4}$/i;\r\n return re.test(email);\r\n } \r\n" + 7185 " \r\n </script>\r\n\r\n"); 7186 7187 WriteLiteral(" "); 7188 7189 7190 #line 2318 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 7191 Write(RenderSnippet("FooterJavaScript")); 7192 7193 7194 #line default 7195 #line hidden 7196 WriteLiteral("\r\n\r\n <script"); 7197 7198 WriteLiteral(" src=\"https://ajax.googleapis.com/ajax/libs/jqueryui/1.9.2/jquery-ui.min.js\""); 7199 7200 WriteLiteral(@"></script> 7201 7202 </div></body></html> 7203 7204 <script> 7205 /* For button input event */ 7206 function checkInput(e, btn){ 7207 e.preventDefault(); 7208 var f = $(btn).closest('form'); 7209 var v = true; 7210 f.find('.notNull').each(function(){ 7211 if($(this).val() == """" ){ 7212 v = false; 7213 $(this).addClass('error-field'); 7214 } 7215 }); 7216 7217 if(v){ 7218 f.submit(); 7219 $('.mytwg-icon').addClass(""disable""); 7220 $('.SubmitLogin').addClass(""disable""); 7221 } 7222 7223 } 7224 /* End */ 7225 //----------------- Popup functions Begin ---------------------// 7226 $(document).ready(function() 7227 { 7228 //This is for home page video cookie 7229 var video = """); 7230 7231 7232 #line 2349 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 7233 Write(itemhome); 7234 7235 7236 #line default 7237 #line hidden 7238 WriteLiteral("\";\r\n \t\tvar image = \""); 7239 7240 7241 #line 2350 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 7242 Write(homepopupbtn); 7243 7244 7245 #line default 7246 #line hidden 7247 WriteLiteral("\"; \t\r\n \t\tconsole.log(video);\r\n \t\t if("); 7248 7249 7250 #line 2352 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 7251 Write(currentPageId); 7252 7253 7254 #line default 7255 #line hidden 7256 WriteLiteral(@" == ""1"") 7257 { 7258 if(video != """" || image != """") 7259 { 7260 document.getElementById(""homepopup"").style.display=""block""; 7261 var cookie = getCookie('HomeVideo'); 7262 if(cookie == """") 7263 { 7264 document.getElementById(""homepopup"").style.display=""block""; 7265 7266 var timeToAdd = 1000 * 60 * 60 * 24; 7267 var date = new Date(); 7268 var expiryTime = parseInt(date.getTime()) + timeToAdd; 7269 date.setTime(expiryTime); 7270 var utcTime = date.toUTCString(); 7271 document.cookie = ""HomeVideo=on; expires="" + utcTime + "";""; 7272 } 7273 else 7274 { 7275 document.getElementById(""homepopup"").style.display=""none""; 7276 } 7277 7278 } 7279 } 7280 //End 7281 document.cookie = ""CurrentPageId="); 7282 7283 7284 #line 2377 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 7285 Write(currentUrl); 7286 7287 7288 #line default 7289 #line hidden 7290 WriteLiteral(@"; expires=Mon, 31 Dec 2050 12:00:00 UTC""; 7291 var domain=window.location.protocol + ""//"" + window.location.host 7292 7293 var HomeId=document.getElementById('HomePageId').value; 7294 var CurrentId=document.getElementById('CurrentPageId').value; 7295 var cookieName=""DomainName_""+'"); 7296 7297 7298 #line 2382 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 7299 Write(GetGlobalValue("Global:Area.Name")); 7300 7301 7302 #line default 7303 #line hidden 7304 WriteLiteral("\';\r\n \r\n \t\tif(getCookie(cookieName) == \'\')\r\n {\r\n \r\n //showHomeP" + 7305 "opup("); 7306 7307 7308 #line 2387 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 7309 Write(popupPageId); 7310 7311 7312 #line default 7313 #line hidden 7314 WriteLiteral(@"); 7315 } 7316 7317 else if ( getCookie(cookieName) != domain){ window.location.href= getCookie(cookieName); } 7318 }); 7319 //-------------End--------------------// 7320 7321 //----------------- lock site functions Begin --------------------- 7322 $(document).ready(function(){ 7323 var UI_Unblock = getCookie(""UI_Unblock""); 7324 7325 if(UI_Unblock == ""True"") { 7326 //$.unblockUI(); 7327 } else { 7328 // This is block for go live. 7329 // $.blockUI({message : $('#clientLoginForm')}); 7330 } 7331 }); 7332 7333 function checkPassword() 7334 { 7335 $.blockUI(); 7336 var uiLoginResult = """"; 7337 7338 $.ajax({ 7339 url: '"); 7340 7341 7342 #line 2412 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 7343 Write(mySiteCompleteAddress); 7344 7345 7346 #line default 7347 #line hidden 7348 WriteLiteral(@"' + '/utilities/json-ui-login?pwd=' + $('#clientLoginPassword').val(), 7349 type: 'GET', 7350 success: function(data){ 7351 7352 uiLoginResult = data.result == ""True""; 7353 7354 if(uiLoginResult) { 7355 document.cookie = ""UI_Unblock=True; expires=Tue, 31 Dec 2019 12:00:00 UTC""; 7356 $.unblockUI(); 7357 } else { 7358 document.cookie = ""UI_Unblock=False; expires=Mon, 31 Dec 2018 12:00:00 UTC""; 7359 $.blockUI({message : $('#clientLoginForm')}); 7360 } 7361 }, 7362 error: function(jqXHR, textStatus, errorThrown) { 7363 console.log(textStatus + ': ' + errorThrown); 7364 $.blockUI({message : $('#clientLoginForm')}); 7365 }, 7366 cache: true 7367 }); 7368 } 7369 function gaLoginTrack(){ 7370 gtag('event', 'conversion', { 7371 'allow_custom_scripts': true, 7372 'send_to': '"); 7373 7374 7375 #line 2436 "W:\Websites-9.6\Solutions\files\Templates\Designs\TWG\_parsed\fullwidth_left.parsed.cshtml" 7376 Write(trackingID); 7377 7378 7379 #line default 7380 #line hidden 7381 WriteLiteral("/accou0/accou0+standard\'\r\n \t });\r\n }\r\n</script>"); 7382 7383 } 7384 } 7385 } 7386

1 @inherits RazorTemplateBase< /><template>> 2 @using Dynamicweb.Rendering; 3 @using Apac.Twg; 4 @using Apac.Twg.DTO; 5 @using Apac.Twg.CustomAPI; 6 @using System.Web; 7 @using System.Web.Hosting; 8 @using System.Xml; 9 @using System.Net; 10 @using System.Web.Mvc; 11 @using System.IO; 12 @inherits RazorTemplateBase<RazorTemplateModel<Template>> 13 @using System 14 @using System.Text.RegularExpressions 15 @using System.Web 16 @using System.Data.SqlClient 17 @using System.Collections.Generic 18 @using System.Linq 19 @using Dynamicweb.Ecommerce.Products 20 21 @using Dynamicweb.Rendering 22 23 @functions{ 24 25 public class TWGNews 26 { 27 public int NewsId{get;set;} 28 public string NewsItemInstanceType{get;set;} 29 public string NewsDate{get;set;} 30 public string NewsHeading{get;set;} 31 public string NewsGeneralImage{get;set;} 32 public string NewsText{get;set;} 33 public string NewsGeneralAuthor{get;set;} 34 public int NewsSort{get;set;} 35 public string NewsCatagory{get;set;} 36 public string NewsVideoLink{get;set;} 37 public string NewsEndDate{get;set;} 38 public string NewsCarousel{get;set;} 39 public string NewsRelatedProduct{get;set;} 40 41 } 42 public class ShippingMethod 43 { 44 public string ShippingMethodId {get;set;} 45 public string ShippingMethodName {get;set;} 46 public string ShippingFee {get;set;} 47 } 48 public class PaymentMethod 49 { 50 public string PaymentMethodId {get;set;} 51 public string PaymentMethodName {get;set;} 52 53 } 54 55 public class ShowCountry 56 { 57 58 public int CountryId { get;set; } 59 public string CountryName { get;set; } 60 public string CountryCode { get;set; } 61 public string CountryCode2 { get;set; } 62 public string CountryPrefix { get;set; } 63 64 65 } 66 public class TWGBillingCountry 67 { 68 69 public int CountryId { get;set; } 70 public string CountryName { get;set; } 71 public string CountryCode { get;set; } 72 public string CountryCode2 { get;set; } 73 public string CountryPrefix { get;set; } 74 75 76 } 77 public class UtilizeVoucher 78 { 79 public string VoucherName {get;set;} 80 public string VoucherCode{get;set;} 81 public string VoucherNumber {get;set;} 82 } 83 84 85 86 public class WrapMethods 87 { 88 public static ProductCollection getRandomProducts(int count) 89 { 90 Dynamicweb.Content.Page wrapPage = new Dynamicweb.Content.Page(); 91 var areaId = wrapPage.AreaId; 92 string qy = "SELECT TOP " + count + " * FROM Ecomproducts where productprice <> '0' and ProductVariantId='' and ProductId <> 'PROD380' and productActive ='true' and productstock > 0 and ProductLanguageId = (Select AreaEcomLanguageId FROM Area where AreaId="+ areaId + ") ORDER BY NEWID() "; 93 return Dynamicweb.Ecommerce.Products.Product.GetProductBySql(qy); 94 95 } 96 97 //Get product list for back in stock 98 public static ProductCollection getRandomBackInStockProducts(string count) 99 { 100 Dynamicweb.Content.Page wrapPage = new Dynamicweb.Content.Page(); 101 var areaId = wrapPage.AreaId; 102 //string queryString = "SELECT TOP " + count + " * FROM Ecomproducts where productprice <> '0' and ProductVariantId='' and ProductId <> 'PROD380' and productActive ='true' and productstock > 0 and ProductLanguageId = (Select AreaEcomLanguageId FROM Area where AreaId="+ areaId + ") ORDER BY NEWID() "; 103 string sqlString = "Select * From EcomProducts Where ProductID = '" + count + "'"; 104 return Dynamicweb.Ecommerce.Products.Product.GetProductBySql(sqlString); 105 106 } 107 108 109 //Gets the contrasting color 110 public static string getContrastYIQ(string hexcolor) 111 { 112 if (hexcolor != "") 113 { 114 hexcolor = Regex.Replace(hexcolor, "[^0-9a-zA-Z]+",""); 115 116 int r = Convert.ToByte(hexcolor.Substring(0, 2), 16); 117 int g = Convert.ToByte(hexcolor.Substring(2, 2), 16); 118 int b = Convert.ToByte(hexcolor.Substring(4, 2), 16); 119 int yiq = ((r * 299) + (g * 587) + (b * 114)) / 1000; 120 121 if (yiq >= 128) 122 { 123 return "black"; 124 } 125 else 126 { 127 return "white"; 128 } 129 } 130 else 131 { 132 return "black"; 133 } 134 } 135 136 137 //Truncate text 138 public static string Truncate (string value, int count, bool strip=true) 139 { 140 if (strip == true){ 141 value = StripHtmlTagByCharArray(value); 142 } 143 if(value.Length>count){ 144 for(int j=0;j<20;j++){ 145 if(value[count - 1]!=' '){count--;}else{break;} 146 } 147 if (value.Length > count) 148 { 149 value = value.Substring(0, count - 1) + "..."; 150 } 151 } 152 return value; 153 } 154 155 156 //Strip text from HTML 157 public static string StripHtmlTagByCharArray(string htmlString) 158 { 159 char[] array = new char[htmlString.Length]; 160 int arrayIndex = 0; 161 bool inside = false; 162 163 for (int i = 0; i < htmlString.Length; i++) 164 { 165 char let = htmlString[i]; 166 if (let == '<') 167 { 168 inside = true; 169 continue; 170 } 171 if (let == '>') 172 { 173 inside = false; 174 continue; 175 } 176 if (!inside) 177 { 178 array[arrayIndex] = let; 179 arrayIndex++; 180 } 181 } 182 return new string(array, 0, --arrayIndex); 183 } 184 185 //Make the correct count of columns 186 public static string ColumnMaker(int Col, string ScreenSize) 187 { 188 string Columns = ""; 189 190 switch (Col) 191 { 192 case 1: 193 Columns = "col-"+ScreenSize+"-12"; 194 break; 195 196 case 2: 197 Columns = "col-"+ScreenSize+"-6"; 198 break; 199 200 case 3: 201 Columns = "col-"+ScreenSize+"-4"; 202 break; 203 204 case 4: 205 Columns = "col-"+ScreenSize+"-3"; 206 break; 207 208 default: 209 Columns = "col-"+ScreenSize+"-3"; 210 break; 211 } 212 213 return Columns; 214 } 215 216 217 private string Custom(string firstoption, string secondoption) 218 { 219 if (firstoption == "custom") 220 { 221 return secondoption; 222 } 223 else 224 { 225 return firstoption; 226 } 227 } 228 229 public static List<string> getwantList(string userID,string lngID) { 230 List<string> wnatlist=new List<string>(); 231 using(System.Data.IDataReader reader = Dynamicweb.Data.Database.CreateDataReader("SELECT ProductID,ProductVariantID FROM EcomCustomerFavoriteProducts INNER JOIN EcomCustomerFavoriteLists ON EcomCustomerFavoriteLists.ID=EcomCustomerFavoriteProducts.FavoriteListID AND AccessUserID='"+userID+"' AND ProductLanguageID='"+lngID+"'")) 232 { 233 while (reader.Read()) 234 { 235 wnatlist.Add(reader["ProductID"].ToString()+","+reader["ProductVariantID"].ToString()); 236 } 237 } 238 return wnatlist; 239 } 240 } 241 242 243 244 } 245 246 247 <!--------------------Variable Declaration Start----------------------> 248 249 @{ 250 string mySiteCompleteAddress = System.Web.HttpContext.Current.Request.Url.Scheme + "://" + System.Web.HttpContext.Current.Request.Url.Host; 251 string currentUrl = HttpContext.Current.Request.Url.AbsolutePath; 252 string testing = GetGlobalValue("Global:Pageview.Url.Raw"); 253 string siteName = GetGlobalValue("Global:Page.Top.Name"); 254 string lang = GetString("Global:Area.LongLang"); 255 256 string googleTagManagerID = GetString("Item.Area.GoogleTagManagerID").Trim(); 257 string facebookPixel = GetString("Item.Area.FacebookPixel").Trim(); 258 string trackingID=GetString("Item.Area.DC_code").Trim(); 259 string trackingIDWithoutDC=GetString("Item.Area.DC_code").Replace("DC-",""); 260 string conversionID=GetString("Item.Area.AW_code").Trim(); 261 string metaDescription = GetString("Meta.Description"); 262 string metaKeywords = GetString("Meta.Keywords"); 263 string logo = GetString("Item.Area.GeneralLogo"); 264 string logoText = GetString("Item.Area.GeneralLogoText"); 265 string favicon = GetString("Item.Area.Favicon"); 266 string footer = GetString("Item.Area.FooterAddress"); 267 string navigationImage = GetString("Item.Area.Navigation_Image"); 268 string currentPageId = GetString("DwPageID"); 269 string itemhome = GetString("Item.Area.Home_Page_Video_Popup.Value"); 270 string homepopupbtn = GetString("Item.Area.HomeImage.Value"); 271 string homePageImageText = GetString("Item.Area.HomePagePopupSubtitle.Value"); 272 //string firstPageId = GetString("DwAreaFirstActivePageID"); 273 int firstPageId = GetPageIdByNavigationTag("MasterPage"); 274 string searchPlaceholder = Translate("Search products", "Search products"); 275 var cartid = GetValue("DwAreaCartPageID"); 276 string generalPurposeString = ""; 277 278 var memberType = ""; 279 var memberNumber = ""; 280 int myfavCount = 0; 281 var cartPageId=GetPageIdByNavigationTag("CartPage"); 282 var loginPageId=GetPageIdByNavigationTag("LoginPage"); 283 var myaccountPageId=GetPageIdByNavigationTag("MyAccountPage"); 284 var myorderPageId=GetPageIdByNavigationTag("MyOrderPage"); 285 var registerPageId=GetPageIdByNavigationTag("RegisterPage"); 286 var favoritePageId = GetPageIdByNavigationTag("MyFavPage"); 287 var servicePageId = GetPageIdByNavigationTag("Service"); 288 var companyPageId = GetPageIdByNavigationTag("Company"); 289 var ChooseYourCountryPageId = GetPageIdByNavigationTag("chooseYourCountry"); 290 var popupPageId=GetPageIdByNavigationTag("PopupPage"); 291 var SearchPageId=GetPageIdByNavigationTag("SearchPage"); 292 var DomainName=HttpContext.Current.Request.Url.Host; 293 var serviceDataSetting="startlevel:1;endlevel:1;template:FooterInformation.xslt;expandmode:all;parentid:"+servicePageId+";"; 294 var companyDataSetting="startlevel:1;endlevel:1;template:FooterInformation.xslt;expandmode:all;parentid:"+companyPageId+";"; 295 var homePageClass = ""; 296 297 298 var pageIdByNavTag = GetPageIdByNavigationTag("MasterPage"); 299 var pageId = GetInteger("Global.PageId"); 300 301 if( pageIdByNavTag == pageId ){ 302 homePageClass = "home-page-content"; 303 } 304 if( pageId == 1030){ 305 homePageClass = "career-page-content"; 306 } 307 if( pageId == 1750){ 308 homePageClass = "mobile-page-content"; 309 } 310 if( pageId == 8){ 311 homePageClass = "news-page-content"; 312 } 313 314 315 316 System.Web.HttpContext.Current.Items["itemsINcart"] = GetLoop("OrderLines"); 317 318 // var inbagTotalQtyCount = GetInteger("Ecom:Order.OrderLines.TotalLinesCount"); 319 var inbagTotalQtyCount = 0; 320 foreach (LoopItem orderline in GetLoop("OrderLines")) 321 { 322 323 if (!string.IsNullOrWhiteSpace(orderline.GetString("Ecom:Order:OrderLine.IsProduct"))) 324 { 325 326 var ParentProductId = ""; 327 foreach (LoopItem Olf in orderline.GetLoop("Order.OrderLineFields")) 328 { 329 if (Olf.GetString("Ecom:Order:OrderLine.OrderLineField.SystemName") == "ParentProductId" && !string.IsNullOrWhiteSpace(Olf.GetString("Ecom:Order:OrderLine.OrderLineField.Value"))) 330 { 331 ParentProductId = "kkk"; 332 } 333 } 334 if (string.IsNullOrWhiteSpace(ParentProductId)) 335 { 336 inbagTotalQtyCount += orderline.GetInteger("Ecom:Order:OrderLine.Quantity"); 337 } 338 } 339 } 340 341 if (Dynamicweb.Core.Converter.ToBoolean(GetGlobalValue("Global:Extranet.UserName"))) 342 { 343 var customerNumber = GetGlobalValue("Global:Extranet.UserName"); 344 var dwMembershipNumber = DwExternalLogin.GetDWMembershipNumber(customerNumber); 345 var allMemberShips = new MemberResponse(); 346 allMemberShips = MembersonIntegration.GetMemberships(customerNumber); 347 348 if (allMemberShips.ResponseStatus.ErrorCode == "200") 349 { 350 foreach (var membership in allMemberShips.Memberships) 351 { 352 if (membership.Status == "ACTIVE") 353 { 354 memberType = membership.Type; 355 memberNumber = membership.MemberNo; 356 } 357 } 358 359 } 360 361 if (dwMembershipNumber != memberNumber) 362 { 363 DwExternalLogin.UpdateMemberShip(customerNumber); 364 dwMembershipNumber = DwExternalLogin.GetDWMembershipNumber(customerNumber); 365 } 366 367 368 } 369 string norm = "",norm2="",norm3=""; 370 //if (!string.IsNullOrWhiteSpace(System.Web.HttpContext.Current.Request["norm"])) 371 //{ 372 // norm = System.Web.HttpContext.Current.Request["norm"]; 373 // norm = norm.Replace('\\', '\''); 374 375 376 //} 377 378 string q=""; 379 if(!string.IsNullOrWhiteSpace(System.Web.HttpContext.Current.Request["q"])){ 380 q=System.Web.HttpContext.Current.Request["q"]; 381 norm = q.Replace("\\", ""); 382 norm2 = q.Replace("\\", ""); 383 norm3 = q.Replace("\\", ""); 384 } 385 386 387 var notiKey=HttpContext.Current.Request.QueryString["notificationkeyredirect"]; 388 if (!string.IsNullOrWhiteSpace(notiKey)){ 389 HttpContext.Current.Response.Redirect("/Default.aspx?ID=10547&notificationkey="+ notiKey +""); 390 } 391 392 393 } 394 <!----------------------Variable Declaration End----------------------> 395 396 <!DOCTYPE html> 397 <html lang="@lang" class="no-js"> 398 <head> 399 400 <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> 401 @RenderSnippet("MetaTags") 402 @RenderSnippet("meta") 403 <title>@GetValue("Title")</title> 404 @GetValue("MetaTags") 405 @GetValue("CopyRightNotice") 406 407 408 409 <meta name="viewport" content="width=device-width, initial-scale=1,user-scalable=no"> 410 <meta name="format-detection" content="telephone=no"> 411 <link rel="shortcut icon" type="image/png" href="/Files/Templates/Designs/TWG/images/icon175x175.png" sizes="192x192"> 412 <link rel="shortcut icon" type="image/x-icon" href="@favicon"> 413 <!--<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" />--> 414 <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"> 415 <!--<link href="http://netdna.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">--> 416 <link rel="stylesheet" href="/Files/Templates/Designs/TWG/css/bootstrap.min.css"> 417 <link href="/Files/Templates/Designs/TWG/css/open-iconic-bootstrap.css" rel="stylesheet"> 418 <link rel="stylesheet" href="/Files/Templates/Designs/TWG/css/bootstrap-chosen.css"> 419 <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bxslider/4.2.12/jquery.bxslider.css"> 420 <link rel="stylesheet" href="/Files/Templates/Designs/TWG/css/slick.css"> 421 422 @RenderSnippet("HeaderCSS") 423 424 <!-- Analytics code --> 425 @GetValue("Item.Area.OtherAnalyticsCode") 426 <!-- Google Tag Manager --> 427 428 @if (!string.IsNullOrWhiteSpace(googleTagManagerID)) 429 { 430 431 <!-- Google Tag Manager --> 432 <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': 433 new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], 434 j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= 435 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f); 436 })(window,document,'script','dataLayer','@googleTagManagerID');</script> 437 <!-- End Google Tag Manager --> 438 439 } 440 <!-- End Google Tag Manager --> 441 <!-- Lightning Bolt Begins --> 442 <script type="text/javascript" id="lightning_bolt" src="//cdn-akamai.mookie1.com/LB/LightningBolt.js"></script> 443 <!-- Lightning Bolt Ends --> 444 445 446 447 448 <!--Start Facebook Pixel Code --> 449 450 @if (!string.IsNullOrWhiteSpace(facebookPixel)) 451 { 452 <!-- Facebook Pixel Code --> 453 <script> 454 !function(f,b,e,v,n,t,s) 455 {if(f.fbq)return;n=f.fbq=function(){n.callMethod? 456 n.callMethod.apply(n,arguments):n.queue.push(arguments)}; 457 if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0'; 458 n.queue=[];t=b.createElement(e);t.async=!0; 459 t.src=v;s=b.getElementsByTagName(e)[0]; 460 s.parentNode.insertBefore(t,s)}(window, document,'script', 461 'https://connect.facebook.net/en_US/fbevents.js'); 462 fbq('init', '@facebookPixel'); 463 fbq('track', 'PageView'); 464 </script> 465 <noscript><img height="1" width="1" style="display:none" src="https://www.facebook.com/tr?id=@facebookPixel&ev=PageView&noscript=1"></noscript> 466 <!-- End Facebook Pixel Code --> 467 } 468 <!--Start of global snippet: Please do not remove Place this snippet between the <head> and </head> tags on every page of your site.--> 469 <!-- Global site tag (gtag.js) - Google Marketing Platform --> 470 <script async="" src="https://www.googletagmanager.com/gtag/js?id=@trackingID"></script> 471 <script> 472 window.dataLayer = window.dataLayer || []; 473 function gtag(){dataLayer.push(arguments);} 474 gtag('js', new Date()); 475 476 gtag('config', '@trackingID'); 477 gtag('config', '@conversionID'); 478 </script> 479 <!-- End of global snippet: Please do not remove --> 480 481 <script> 482 gtag('event', 'page_view', { 483 'send_to': '@conversionID', 484 'value': "@GetString("DwPageName")", 485 'items': [{ 486 'id': '@GetString("DwPageID")', 487 'google_business_vertical': 'retail' 488 }] 489 }); 490 </script> 491 <noscript> 492 <img src="https://ad.doubleclick.net/ddm/activity/src=@trackingIDWithoutDC;type=accou0;cat=accou0;dc_lat=;dc_rdid=;tag_for_child_directed_treatment=;tfua=;npa=;ord=1?" width="1" height="1" alt=""> 493 </noscript> 494 @if (!string.IsNullOrWhiteSpace(GetString("Item.Page.Custom_Script"))) 495 { 496 <text>@GetString("Item.Page.Custom_Script")</text> 497 } 498 <script> 499 var itemsInCart=[@foreach(LoopItem i in GetLoop("OrderLines")){<text> '@i.GetString("Ecom:Order:OrderLine.ProductID")',</text>}];//for item ids in cart 500 var cartVarQty=[@foreach(LoopItem i in GetLoop("OrderLines")){<text> '@i.GetString("Ecom:Order:OrderLine.Quantity"),@i.GetString("Ecom:Order:OrderLine.ProductVariantText")',</text>}];//for item ids in cart 501 var isLoggedIn = 0; 502 var baseUrl = ''; 503 var shoppingUrl = "Default.aspx?ID=@GetString("DwAreaCartPageID")"; 504 var googleRecaptcha = '@GetString("Item.Area.GoogleRecaptcha")'; 505 506 (function (d, s, id) { 507 var js, fjs = d.getElementsByTagName(s)[0]; 508 if (d.getElementById(id)) return; 509 js = d.createElement(s); js.id = id; 510 js.src = "//connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.10"; 511 fjs.parentNode.insertBefore(js, fjs); 512 }(document, 'script', 'facebook-jssdk')); 513 514 ///////check browser version////////////////////////// 515 navigator.sayswho= (function(){ 516 var ua= navigator.userAgent, tem, 517 M= ua.match(/(opera|chrome|safari|firefox|msie|trident(?=\/))\/?\s*(\d+)/i) || []; 518 if(/trident/i.test(M[1])){ 519 tem= /\brv[ :]+(\d+)/g.exec(ua) || []; 520 return 'IE '+(tem[1] || ''); 521 } 522 if(M[1]=== 'Chrome'){ 523 tem= ua.match(/\b(OPR|Edge)\/(\d+)/); 524 if(tem!= null) return tem.slice(1).join(' ').replace('OPR', 'Opera'); 525 } 526 M= M[2]? [M[1], M[2]]: [navigator.appName, navigator.appVersion, '-?']; 527 if((tem= ua.match(/version\/(\d+)/i))!= null) M.splice(1, 1, tem[1]); 528 return M.join('-'); 529 })(); 530 ///////////////////////////////////////////////////////// 531 </script> 532 533 534 <link rel="stylesheet" type="text/css" href="/Files/Templates/Designs/TWG/css/animate.min.css"> 535 <link rel="stylesheet" href="https://use.typekit.net/ibt2soa.css"> 536 <link rel="stylesheet" href="/Files/Templates/Designs/TWG/css/main.css?v=1.0.3"> 537 <link rel="stylesheet" href="/Files/Templates/Designs/TWG/css/main_AnujaToMerge.css"> 538 <link rel="stylesheet" href="/Files/Templates/Designs/TWG/css/responsive.css?v=2.0.5"> 539 <link rel="stylesheet" href="/Files/Templates/Designs/TWG/css/main_srj.css"> 540 <link rel="stylesheet" href="/Files/Templates/Designs/TWG/vendor/video-js/video-js.min.css"> 541 542 543 @RenderSnippet("HeaderJavaScript") 544 545 <script src="/Files/Templates/Designs/TWG/js/jquery-3.3.1.min.js"></script> 546 <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery-validate/1.17.0/jquery.validate.js"></script> 547 <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js"></script> 548 <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery.form/4.2.2/jquery.form.js"></script> 549 <script src="/Files/Templates/Designs/TWG/js/jquery.blockUI.js"></script> 550 <!--<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>--> 551 <script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js"></script> 552 <script src="https://use.typekit.net/ege4icy.js"></script> 553 554 @{ 555 556 switch (GetString("DwTopPageID")) 557 { 558 case "2": 559 <text> 560 <script> 561 function gaProductListData(u1,u2,u3,u4,u5,u6){ 562 gtag('event', 'conversion', { 563 'allow_custom_scripts': true, 564 'u1': "["+u1+"]", 565 'u2': "["+u2+"]", 566 'u3': "["+u3+"]", 567 'u4': "["+u4+"]", 568 'u5': "["+u5+"]", 569 'u6': "["+u6+"]", 570 'send_to': '@trackingID/find-0/find-0+standard' 571 }); 572 } 573 </script> 574 <noscript> 575 <img src="https://ad.doubleclick.net/ddm/activity/src=@trackingIDWithoutDC;type=find-0;cat=find-0;u1=[product_name];u2=[product_category];u3=[product_id];u4=[product_value];u5=[country];u6=[city];dc_lat=;dc_rdid=;tag_for_child_directed_treatment=;tfua=;npa=;ord=1?" width="1" height="1" alt=""> 576 </noscript> 577 </text> 578 break; 579 case "4": 580 <text> 581 <script> 582 function gaProductListData(u1,u2,u3,u4,u5,u6){ 583 gtag('event', 'conversion', { 584 'allow_custom_scripts': true, 585 'u1': "["+u1+"]", 586 'u2': "["+u2+"]", 587 'u3': "["+u3+"]", 588 'send_to': '@trackingID/for-t0/for-t0+standard' 589 }); 590 } 591 </script> 592 <noscript> 593 <img src="https://ad.doubleclick.net/ddm/activity/src=@trackingIDWithoutDC;type=for-t0;cat=for-t0;u1=[product_name];u2=[product_category];u3=[product_id];u4=[product_value];u5=[country];u6=[city];u7=[loyalty];dc_lat=;dc_rdid=;tag_for_child_directed_treatment=;tfua=;npa=;ord=1?" width="1" height="1" alt=""> 594 </noscript> 595 </text> 596 break; 597 case "3": 598 <text> 599 <script> 600 function gaProductListData(u1,u2,u3,u4,u5,u6){ 601 gtag('event', 'conversion', { 602 'allow_custom_scripts': true, 603 'u1': "["+u1+"]", 604 'u2': "["+u2+"]", 605 'u3': "["+u3+"]", 606 'send_to': '@trackingID/gifts0/gifts0+standard' 607 }); 608 } 609 </script> 610 <noscript> 611 <img src="https://ad.doubleclick.net/ddm/activity/src=@trackingIDWithoutDC;type=gifts0;cat=gifts0;u1=[product_name];u2=[product_category];u3=[product_id];u4=[product_value];u5=[country];u6=[city];u7=[loyalty];dc_lat=;dc_rdid=;tag_for_child_directed_treatment=;tfua=;npa=;ord=1?" width="1" height="1" alt=""> 612 </noscript> 613 </text> 614 break; 615 case "1377": 616 <text> 617 <script> 618 function gaProductListData(u1,u2,u3,u4,u5,u6){ 619 gtag('event', 'conversion', { 620 'allow_custom_scripts': true, 621 'u1': "["+u1+"]", 622 'u2': "["+u2+"]", 623 'u3': "["+u3+"]", 624 'send_to': '@trackingID/searc0/searc0+standard' 625 }); 626 } 627 </script> 628 <noscript> 629 <img src="https://ad.doubleclick.net/ddm/activity/src=@trackingIDWithoutDC;type=searc0;cat=searc0;u1=[product_name];u2=[product_category];u3=[product_id];dc_lat=;dc_rdid=;tag_for_child_directed_treatment=;tfua=;npa=;ord=1?" width="1" height="1" alt=""> 630 </noscript> 631 </text> 632 break; 633 default: 634 <text> 635 <script> 636 function gaProductListData(u1,u2,u3,u4,u5,u6){ 637 return true; 638 } 639 </script> 640 </text> 641 break; 642 643 } 644 } 645 646 647 @GetValue("Stylesheets") 648 @GetValue("Javascripts") 649 </head> 650 <div class="d-none"> 651 <input type="hidden" id="HomePageId" value="@pageIdByNavTag"> 652 <input type="hidden" id="CurrentPageId" value="@pageId"> 653 654 </div> 655 656 657 658 659 <body style="@generalPurposeString" id="sitecontent" ontouchstart="" class="@homePageClass"> 660 <!-- Google Tag Manager (noscript) --> 661 <!-- First page for video popup box --> 662 663 <div class="homevideo" id="homepopup" style="display: none;"> 664 <div class="modal-dialog modal-video dialogpopup" role="document"> 665 <div class="modal-content"> 666 <div class="modal-body modal-body-video"> 667 668 <video id="entrancevideo" width="100%" poster="@homepopupbtn" controls=""> 669 <source src="@itemhome" type="video/mp4"> 670 <source src="@itemhome" type="video/ogg"> 671 <source src="@itemhome" type="video/webm"> 672 <source src="@itemhome" type="video/youtube"></source> 673 674 <object data="@itemhome" width="100%"> 675 <embed src="@itemhome" width="100%"> 676 </object> 677 </source></source></source></video> 678 </div> 679 </div> 680 </div> 681 </div> 682 <script> 683 $( "#homeimage" ).click(function(e) { 684 if(e.target == this) 685 $('#homeimage').fadeOut(); 686 aleart("heeh"); 687 }); 688 $( "#homepopup" ).click(function(e) { 689 if(e.target == this) 690 { 691 var media = $("#entrancevideo").get(0); 692 media.pause(); 693 media.currentTime = 0; 694 //$('#entrancevideo').pause(); 695 $('#homepopup').fadeOut(); 696 } 697 }); 698 function ShowVideo() { 699 //document.getElementById("videoplay").play(); 700 $('#homeimage').hide(); 701 aleart("heeh1"); 702 $('#homepopup').show(); 703 aleart("heeh2"); 704 } 705 706 </script> 707 <noscript><iframe src="https://www.googletagmanager.com/ns.html?id=@googleTagManagerID" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> 708 <!-- End Google Tag Manager (noscript) --> 709 <script> 710 $(document).ready(function(){ 711 712 /////////////////////////////////////////////old browser issue fix by AKS //////////////////////////////////////////////// 713 if(navigator.sayswho.replace("Safari-","") < 8 ){ 714 715 if(getCookie("safariOld")=="") 716 { 717 var date = new Date(); 718 date.setTime(date.getTime()+(2*60*60*1000));//2 hours 719 var expires = "; expires="+date.toGMTString(); 720 document.cookie = "safariOld=old"+expires+"; path=/"; 721 @if(GetString("Global.PageId") == firstPageId.ToString()) 722 {<text> 723 $('#global_popup').show(); 724 $('#c_location').show(); 725 $('#GPheader').html('@Translate("Your browser is old", "Your browser is old")'); 726 $('#GPheader').attr("style","margin-top:60px;font-size:18px!important;font-weight:bold;text-transform: uppercase!important"); 727 $('#GPbody').html('@Translate("Old Safari Browser Message Home", " Please update your browser so you have better experience with our website.")'); 728 $("html, body").animate({ scrollTop: 0 }, "fast"); 729 </text>} 730 } 731 } 732 733 /////////////////////////////////////////////old browser issue fix by AKS end//////////////////////////////////////////////// 734 735 var favCookie = getFavoriteCookie("comefromfavourite"); 736 var refreshCounter=getFavoriteCookie("refreshcounterforfav"); 737 if(parseInt(refreshCounter) > 1) 738 { 739 document.cookie = "comefromfavourite= ; expires = Thu, 01 Jan 1970 00:00:00 GMT;path=/;"; 740 document.cookie = "favouriteproductcookie=;expires=Sat, 31 Dec 2050 12:00:00 UTC; path=/;"; 741 } 742 743 if(!('@GetString("DwPageName")'.includes("Login"))) 744 { 745 var refreshValue=parseInt(refreshCounter)+1; 746 document.cookie = "refreshcounterforfav="+refreshValue+";expires=Sat, 31 Dec 2050 12:00:00 UTC; path=/;"; 747 } 748 749 function getFavoriteCookie(cname) 750 { 751 var name = cname + "="; 752 var ca = document.cookie.split(';'); 753 for(var i = 0; i < ca.length; i++) 754 { 755 var c = ca[i]; 756 while (c.charAt(0) == ' ') { 757 c = c.substring(1); 758 } 759 if (c.indexOf(name) == 0) { 760 return c.substring(name.length, c.length); 761 } 762 } 763 return ""; 764 } 765 }) 766 </script> 767 768 <script type="text/javascript"> 769 var itemsInWant = []; 770 @if (Dynamicweb.Core.Converter.ToBoolean(GetGlobalValue("Global:Extranet.UserName"))) { 771 List<string> wantitems=new List<string>(); 772 wantitems = WrapMethods.getwantList(GetGlobalValue("Global:Extranet.UserID"),Dynamicweb.Content.AreaService.Repository.GetArea(Convert.ToInt32(GetGlobalValue("Global:Area.ID"))).EcomLanguageId); 773 myfavCount = wantitems.Count; 774 <text> 775 itemsInWant=[ 776 @foreach(string i in wantitems){ 777 string[] kk=i.Split(','); 778 if(kk[1]==""){<text> '@kk[0]',</text>} 779 else{<text> '@kk[0],@kk[1]',</text>} 780 } 781 ]; 782 </text> 783 } 784 785 786 </script> 787 <!-- Check the promo with Abhinav --> 788 <!-- Promo Message --> 789 @if (!string.IsNullOrWhiteSpace(GetString("Item.Area.PromotionNote"))) 790 { 791 <div class="promo-bar"> 792 <div class="promo-message-wrapper"> 793 @GetString("Item.Area.PromotionNote") 794 </div> 795 </div> 796 } 797 <!-- //Promo Message --> 798 799 <!-- ----------------------------------------------------------------------------------------Choose Your Country --------------------------------------------------------- --> 800 <script> 801 /*$(window).load(function(){ 802 $('#pageLoad').fadeOut(); 803 });*/ 804 805 806 807 808 function showLower() { 809 $("#lower_content").slideToggle("slow"); 810 } 811 812 function hideAll() { 813 814 document.getElementById("c_location").style.display = "none"; 815 document.getElementById("upper_content").style.display = "none"; 816 document.getElementById("lower_content").style.display = "none"; 817 $('#global_popup').hide(); 818 document.getElementById("fir_st").style.display = "none"; 819 document.getElementById("sec_ond").style.display = "none"; 820 if ($('#footer2').length) { 821 $('#global_popup').css('height', '300px'); 822 $('#footer2').remove(); 823 } 824 } 825 826 function hideAllPopup() { 827 $('#c_location').hide(); 828 $('#global_popup').hide(); 829 $('#fir_st').hide(); 830 $('#sec_ond').hide(); 831 if ($('#footer2').length) { 832 $('#global_popup').css('height', '300px'); 833 $('#footer2').remove(); 834 } 835 } 836 837 function hideDeliveryPopup() { 838 $('#c_location').hide(); 839 $('#global_popup').hide(); 840 $('#fir_st').hide(); 841 $('#sec_ond').hide(); 842 $("#WaitLoading").show(); 843 $('#ordersubmit').submit(); 844 if ($('#footer2').length) { 845 $('#global_popup').css('height', '300px'); 846 $('#footer2').remove(); 847 } 848 } 849 </script> 850 <style> 851 .pl-10px{ 852 padding-left: 10px; 853 } 854 .SubmitLogin{ 855 padding: 0px !important; 856 } 857 .registerNow{ 858 padding-top: 12px !important; 859 } 860 /*.dropDown{ 861 left: -270px !important; 862 width: 380% !important; 863 }Comment By TTL*/ 864 865 @@media (max-width: 414px) 866 { 867 .mblposition{ 868 position: unset !important; 869 margin-right: -3px !important; 870 } 871 } 872 873 @@media (max-width: 378px) 874 { 875 .mbldialog{ 876 /*top: -142px;*/ 877 } 878 } 879 </style> 880 <div class="Fav-circle-bg"> 881 <div class="Fav-circle"> 882 <button class="btn-link preloader" style="/*! display: none; */"><img class="fa-spin" src="/Files/Images/TWG-Tea/ring.png" alt="ring"></button> 883 </div> 884 </div> 885 886 <div id="c_location" style="width: 100%;height: 100%;background: #000;opacity: 0.7; background-repeat:no-repeat;background-position:center; position: fixed;top: 0px;left: 0px;display: none; z-index: 1;" onclick="hideAll()"> 887 888 </div> 889 890 891 <div id="fir_st"> 892 <div id="PD_box"> 893 <div class="row"> 894 <div class="col-md-12"> 895 896 <form id="backStock_notiSubscribe" method="get"> 897 898 <input type="hidden" name="ProductID" id="PDProductID" value=""> 899 <input type="hidden" name="VariantID" id="PDVariantID" value=""> 900 <input type="hidden" name="LanguageID" id="PDLanguageID" value=""> 901 <input type="hidden" name="CartCmd" id="CartCmd" value="createnotificationforthisproduct"> 902 <div class="row"> 903 <div class="col-sm-12 col-xs-12"> 904 <span class="closeAll pull-right" onclick="hideAllPopup();"><img src="/Files/Images/TWG-Tea/close-btn.png" alt="Close"></span> 905 </div> 906 <div class="col-md-5 col-sm-5"> 907 <img id="PD_Image" src="" alt="product image"> 908 </div> 909 <div class="col-md-7 col-sm-7 pl-10px"> 910 <div class="pd-keepheight"> 911 <div id="PD_productName"> 912 913 </div> 914 <div id="PD_productNumber"> 915 916 </div> 917 </div> 918 <div id="PD_email"> 919 <input type="input" id="e_mail" name="NotificationEmail" class="PD_email form-control" placeholder='@Translate("Email address*","Email address*")' autocomplete="off" onkeyup="EmailChecking(this)"> 920 921 922 <text id="PD_error">@Translate("Invalid email address","Invalid email address")</text> 923 </div> 924 <div class="PD_submit"> 925 <button class="btn-yellow" onclick="showSec(event)">@Translate("NOTIFY ME","NOTIFY ME")</button> 926 </div> 927 </div> 928 </div> 929 </form> 930 </div> 931 </div> 932 </div> 933 </div> 934 <div id="sec_ond"> 935 <div id="MsgBox"> 936 <div class="row"> 937 <div class="col-sm-12 col-md-12 col-xs-12 col-lg-12 pull-right"> 938 <span class="closeAll" onclick="hideAllPopup();"><img src="/Files/Images/TWG-Tea/close-btn.png" alt="Close"></span> 939 </div> 940 <div class="col-sm-12 col-md-12 col-xs-12 col-lg-12 text-center"> 941 <p class="comfirmationpopup">@Translate("Confirmation","Confirmation")</p> 942 </div> 943 <div class="col-sm-12 col-md-12 col-xs-12 col-lg-12"> 944 <p class="text-center"> 945 @Translate("Your notification request has been noted.","Your notification request has been noted.")<br> 946 @Translate("You will receive an email when the item becomes available in the online boutique.","You will receive an email when the item becomes available in the online boutique.") 947 </p> 948 </div> 949 <div class="col-sm-12 col-md-12 col-xs-12 col-lg-12 text-center"> 950 <p class="comfirmationpopupthank">@Translate("Thank You","Thank You")</p> 951 </div> 952 <div class="col-sm-12 col-md-12 col-xs-12 col-lg-12 text-center"> 953 <a href="#"><u>@Translate("Continue Shopping","Continue Shopping")</u></a> 954 </div> 955 </div> 956 </div> 957 </div> 958 959 <!-- ---------------------------------------------------- GLOBAL POPUP ------------------------------------------------------------------------------- --> 960 <div id="global_popup" class="createAccPopup"> 961 <div class="col-md-12"> 962 <div class="row"> 963 <div class="pull-right"> 964 <button class="Cross" id="cl_close" type="button" name="" style="background: rgb(255,254,241); border: none; padding: 0;position:absolute;right: 5px;z-index:9;cursor:pointer;" onclick="hideAllPopup();"> 965 <img src="/Files/Images/TWG-Tea/close-btn.png" alt="Close"> 966 </button> 967 </div> 968 </div> 969 <div class="row"> 970 <div id="GPheader" class="col-md-12 successAccPopup"></div> 971 </div> 972 <div id="GPbody" class="accCreate col-md-12"></div> 973 <div id="GPfooter" class="accContinue col-md-12"></div> 974 </div> 975 </div> 976 977 <!-- ------------------------------------------------------------------------------------------------------------------------------------------------- --> 978 <script> 979 980 function validateEmail(email) { 981 var re = /^[a-z0-9\.\_%+-]+@@[a-z0-9\.\-]+\.[a-z]{2,4}$/i; 982 return re.test(email); 983 } 984 985 $(document).ready(function(){ 986 987 $(".relatedimg").addClass("tea-img"); 988 $(".menuLink").mouseenter(function(){ 989 var specific = $(".relatedimg").find("img"); 990 $(specific).attr("src",$(this).attr('relatedImg')); 991 $(specific).attr("alt",$(this).attr('menuText')); 992 }); 993 994 $(".menuLink").mouseleave(function(){ 995 var specific = $(".relatedimg").find("img"); 996 $(specific).attr("src",$(specific).attr('back')); 997 $(specific).attr("alt",$(specific).attr('back')); 998 }); 999 }); 1000 1001 1002 1003 1004 function validateForm1(){ 1005 var email = $("#username1").val(); 1006 var pass = $("#password1").val(); 1007 if (!validateEmail(email) || pass == "" ) 1008 { 1009 if (!validateEmail(email)) 1010 { 1011 $("#username1").css("border-color", "#ffdf61"); 1012 } 1013 if (pass == "") 1014 { 1015 $("#password1").css("border-color", "#ffdf61"); 1016 } 1017 return false; 1018 } 1019 return true; 1020 } 1021 function validateForm2(){ 1022 var email = $("#username2").val(); 1023 var pass = $("#password2").val(); 1024 if (!validateEmail(email) || pass == "" ) 1025 { 1026 if (!validateEmail(email)) 1027 { 1028 $("#username2").css("border-color", "#ffdf61"); 1029 } 1030 if (pass == "") 1031 { 1032 $("#password2").css("border-color", "#ffdf61"); 1033 } 1034 return false; 1035 } 1036 return true; 1037 } 1038 1039 function gotoHome1() 1040 { 1041 location.href="/Default.aspx?ID=@firstPageId"; 1042 } 1043 </script> 1044 1045 <!-- ------------------------------------------------------------------------------------------------------------------------------------------------- --> 1046 1047 <div id="cookieWarningDiv" class="container-fluid header-note"> 1048 <span class="closeCookieDiv"></span> 1049 <p class="text-center pt-0 pb-0 mb-0"> 1050 @Translate("CokieWarning_Info","This website uses cookies to track your behavior and to improve your experience on the site. For more information") 1051 </p> 1052 </div> 1053 1054 1055 <div class="wrapper"> 1056 <header class="desktop-header"> 1057 <div class="top-header"> 1058 <div class="container"> 1059 <div class="col-12 text-center"> 1060 <a href="/default.aspx?id=@firstPageId"> 1061 <img src="@logo" alt="@logoText"> 1062 </a> 1063 </div> 1064 </div> 1065 </div> 1066 <div class="main-navigation"> 1067 <nav> 1068 <div class="container"> 1069 <div class="row" style="margin-left: 5px; margin-right: 5px;"> 1070 1071 <div class=" col-2 col-sm-2 col-md-1"> 1072 <ul class="list-unstyled list-inline mb-0"> 1073 <li class="list-inline-item pl-0 pr-0"> 1074 <a class="music-icon" href="#">&nbsp;</a> 1075 </li> 1076 </ul> 1077 </div> 1078 1079 <div class="col-7 col-sm-7 col-md-9 main-navigation-content"> 1080 <ul class="list-unstyled list-inline mb-0"> 1081 @RenderNavigation(new 1082 { 1083 id = "mainNavigation", 1084 cssclass = "list-inline-item nav-item navbar-nav", 1085 startLevel = 1, 1086 ecomStartLevel = 4, 1087 endlevel = 5, 1088 expandmode = "all", 1089 template = "TWGDropDownMenu.xslt" 1090 }) 1091 </ul> 1092 </div> 1093 <div class="col-3 col-sm-3 col-md-2 side-navigation-content"> 1094 <ul class="list-unstyled list-inline mb-0 "> 1095 <li class="list-inline-item"> 1096 <a class="search-icon" href="javascript:void(0);"> 1097 <!--<img src="images/search-icon.png" alt="Search">--> 1098 </a> 1099 <div class="nav-dropdown-menu search-dropdown-menu"> 1100 <div class="row" style="display: block; margin-right: auto; margin-left: auto; display: block; min-height: 41px !important; width: 660px !important; top: 51px !important; z-index: 990 !important;"> 1101 <div class="col-12"> 1102 <form class="form-search" method="GET" action="Default.aspx"> 1103 <div class="input-group"> 1104 <input type="hidden" name="ID" value="@SearchPageId" autocomplete="off"><!--@searchplaceholder --> 1105 <input name="q" id="eComQuery1" type="hidden" value="@q"> 1106 <input id="eComQueryShadow1" value="@norm" type="search" class="form-control" autocomplete="off" placeholder='@Translate("Master Search","Search")'> 1107 1108 <input name="_charset_" type="hidden" value="UTF-8" autocomplete="off"> 1109 <span class="input-group-btn"> 1110 <button type="submit" autocomplete="off" class="searchIcon" onclick="searchEvent();"> 1111 <img src="/Files/Templates/Designs/TWG/images/search-black.png" alt="Search"> 1112 </button> 1113 </span> 1114 </div> 1115 </form> 1116 </div> 1117 </div> 1118 </div> 1119 </li> 1120 <li class="list-inline-item"> 1121 1122 @if (!Dynamicweb.Core.Converter.ToBoolean(GetGlobalValue("Global:Extranet.UserName"))) 1123 { 1124 if (!testing.Contains("ID=19")) 1125 { 1126 <a href="/Default.aspx?ID=@loginPageId" class="mytwg-icon nav-link" data-target=".my-account-sub-nav"></a> 1127 } 1128 else 1129 { 1130 <a href="javascript:void(0);" class="mytwg-icon nav-link"></a> 1131 } 1132 } 1133 else 1134 { 1135 <a href="/Default.aspx?ID=@myaccountPageId" class="mytwg-icon nav-link" data-target=".my-account-sub-nav"></a> 1136 } 1137 @if (!Dynamicweb.Core.Converter.ToBoolean(GetGlobalValue("Global:Extranet.UserName"))) 1138 { 1139 <div class="nav-dropdown-menu login-dropdown-menu dropDown"> 1140 1141 <div class="row"> 1142 <span class="cross-btn"> <img src="/Files/Images/TWG-Tea/top-close-btn.png" alt="Close"></span> 1143 1144 <div class="col-sm-6"> 1145 <p class="border-unlogin logintitle title" style="color: #000 !important;">@Translate("Log In","Log In")</p> 1146 <form onsubmit="return validateForm1()" action="/Default.aspx?ID=@loginPageId" autocomplete="off" class="form-horizontal" id="loginform1" method="post" name="loginform"> 1147 <!--<form onsubmit="return validateForm1()" autoComplete="off" class="form-horizontal" id="loginform1" method="post" name="loginform">--> 1148 <input style="visibility: hidden;display:none;" type="text"> 1149 <input style="visibility: hidden;display:none;" type="password"> 1150 <!--<input autocomplete="nope" name="currentpage" type="hidden" value="/" />--> 1151 <input type='hidden' value='@GetGlobalValue("Global:Pageview.Url")' name="currentpage"> 1152 <!--<input type='hidden' value='@loginPageId' name="currentpage"/>--> 1153 <div class="form-group"> 1154 1155 <div class="col-sm-10 pl-0"> 1156 <!--<input autocomplete="off" class="form-control" data-required="true" id="username1" name="username" placeholder='@Translate("Email address*","Email address*")' type="text" onkeypress='checkUserName( this, "#menuinvalidId")'>--> 1157 <input class="form-control notNull" id="username1" name="username" type="text" placeholder='@Translate("Email address*","Email address*")'> 1158 </div> 1159 </div> 1160 <div class="form-group"> 1161 1162 <div class="col-sm-10 pl-0"> 1163 <input class="form-control notNull" data-required="true" id="password1" name="password" placeholder='@Translate("Password*","Password*")' type="password" autocomplete="off"> 1164 </div> 1165 </div> 1166 <div class="form-group pl-0" style="display:none;"> 1167 <div class="col-sm-10"> 1168 <div class="invalidId hide" id="menuinvalidId"> 1169 1170 @Translate("Invalid user name","Invalid user name") 1171 </div> 1172 </div> 1173 </div> 1174 <div class="form-group" style="margin-left: -5px; margin-bottom: 0px !important; height: 30px;"></div> 1175 <div class="form-group"> 1176 <div class="col-sm-10 ccs_class pl-0"> 1177 <div class="custom-checkbox"> 1178 <input type="checkbox" id="signed-in"> 1179 <!-- 15-Now-2018 Begin Zayar Minn --> 1180 <label for="signed-in"> @Translate("Keep me signed in","Keep me signed in")</label> 1181 <!-- 15-Now-2018 End Zayar Minn --> 1182 </div> 1183 </div> 1184 </div> 1185 <div class="form-group"> 1186 <div class="col-sm-10 pl-0"> 1187 <a class="forgot-link" data-target="#pwModal" data-toggle="modal" id="forgetpasswordbtnname" name="forgetpasswordbtnname" type="text" href="javascript:void(0);">@Translate("Forgot your password?","Forgot your password?")</a> 1188 </div> 1189 </div> 1190 <div class="form-group"> 1191 <div class="col-sm-10 text-right"> 1192 <button class="btn-yellow SubmitLogin" id="loginbtn" type="submit" onclick='gaLoginTrack();return checkInput(event, this);' style="min-width: 160px; left: 0; float: right; font-family: Arial !important;font-size: 16px !important;line-height: 29px;color: #393331 !important;text-transform: uppercase;background-color:#f3d174 !important;" autocomplete="off"> @Translate("Sign in","Sign in")</button> 1193 </div> 1194 </div> 1195 </form> 1196 1197 1198 1199 </div> 1200 <div class="col-sm-6 register-dropdown-content"> 1201 <label class="border-unlogin logintitle title" style="color: #000 !important;">@Translate("Register","Register")</label> 1202 <p>@Translate("Enjoy immediate benefits and richer experience by creating a personal account.","Enjoy immediate benefits and richer experience by creating a personal account.")</p><br> 1203 1204 <!-- 15-Now-2018 Begin Zayar Minn --> 1205 <div class="form-group" style="margin-left: -5px; margin-bottom: 0px !important; height: 30px;"></div> 1206 <!-- 15-Now-2018 End Zayar Minn --> 1207 <div class="form-group"> 1208 <div class="col-sm-12 text-right"> 1209 <!--<a class="btn-yellow registerNow" href="/Default.aspx?ID=@registerPageId">@Translate("Register Now","Register Now")</a>--> 1210 <a class="btn-yellow registerNow" href="/Default.aspx?ID=@registerPageId" style="letter-spacing: 2px; font-family: Arial !important;color: #393331 !important;font-size: 16px !important;background-color: #f3d174 !important;">@Translate("Register Now","Register Now")<div></div></a> 1211 </div> 1212 </div> 1213 </div> 1214 </div> 1215 </div> 1216 } 1217 else 1218 { 1219 <div class="nav-dropdown-menu login-dropdown-menu"> 1220 <span class="cross-btn A2"><img src="/Files/Images/TWG-Tea/top-close-btn.png"></span> 1221 <div class="row"> 1222 <div class="col-sm-6" style="margin-left: -26px;"> 1223 <div class="col-sm-6" style="border-top: 1px solid #393331;margin-left: 5px; width=50%; "></div><!--HSS--> 1224 <div class="col-sm-12"> 1225 <p class="mytwgpopup title" style="color: #393331 !important;"> 1226 <span> 1227 @Translate("Welcome","Welcome") 1228 <br> 1229 @Dynamicweb.Security.UserManagement.User.GetCurrentUser().Title.ToString() @Dynamicweb.Security.UserManagement.User.GetCurrentUser().FirstName.ToString() @Dynamicweb.Security.UserManagement.User.GetCurrentUser().LastName.ToString() 1230 </span> 1231 </p> 1232 </div> 1233 @if (memberType == "Green") 1234 { 1235 <div class="col-md-12"> 1236 <img class="img-fluid" style="height:124px;" src="/Files/Images/TWG-Tea/MyTWG-Card-Icon/card-green_250x159.png" alt="green member"> 1237 </div> 1238 } 1239 else if (memberType == "Gold") 1240 { 1241 <div class="col-md-12"> 1242 <img class="img-fluid" style="height:124px;" src="/Files/Images/TWG-Tea/MyTWG-Card-Icon/card-gold_250x159.png" alt="gold member"> 1243 </div> 1244 } 1245 else if (memberType == "Media") 1246 { 1247 <div class="col-md-12"> 1248 <img class="img-fluid" style="height:159px;" src="/Files/Images/TWG-Tea/MyTWG-Card-Icon/card-media_250x159.png" alt="media"> 1249 </div> 1250 } 1251 else 1252 { 1253 1254 <div class="col-md-12"> 1255 <img class="img-fluid" style="height:159px;" src="/Files/Images/TWG-Tea/MyTWG-Card-Icon/card-nonmember_250x159.png" alt="scubscriber"> 1256 </div> 1257 } 1258 </div> 1259 <div class="col-sm-6 login-option-list"> 1260 <div class="col-md-6" style="border-top: 1px solid #000; margin-left: 10px; height: 116px;"></div> 1261 <div class="col-md-12" style="margin-left: 4px;"> 1262 <ul> 1263 <li><a href="/Default.aspx?ID=@myaccountPageId">@Translate("My Account", "My Account")</a></li> 1264 <li><a href="/Default.aspx?ID=@myaccountPageId&changepasswordShow=true">@Translate("Change Password", "Change Password")</a></li> 1265 <li><a href="/Default.aspx?ID=@favoritePageId">@Translate("My Favourites", "My Favourites")</a></li> 1266 <li><a href="/Default.aspx?ID=@myorderPageId">@Translate("My Orders", "My Orders")</a></li> 1267 1268 </ul> 1269 </div> 1270 <div class="col-md-12 text-right" style="margin-top:75px;"> 1271 <a id="out_link" class="btn-yellow-signout" style="margin-right: -53px; margin-top: 36px" href="javascript:void(0)" onclick="extranetLogOut();">@Translate("Sign Out", "Sign Out")</a> 1272 </div> 1273 </div> 1274 </div> 1275 </div> 1276 } 1277 </li> 1278 <li class="list-inline-item"> 1279 @if (!Dynamicweb.Core.Converter.ToBoolean(GetGlobalValue("Global:Extranet.UserName"))) 1280 { 1281 <a class="favourite-indicator" href="/Default.aspx?ID=@loginPageId"> 1282 <span class="badge favIcon count">@myfavCount</span> 1283 </a> 1284 } 1285 else 1286 { 1287 1288 <a class="favourite-indicator" href="/Default.aspx?id=@favoritePageId"> 1289 <span class="badge favIcon count">@myfavCount</span> 1290 </a> 1291 } 1292 1293 </li> 1294 <li class="list-inline-item"> 1295 1296 <a class="cart-indicator" href="Default.aspx?id=@cartPageId" style=" margin-left: 20px;"> 1297 1298 <span class="badge count">@inbagTotalQtyCount</span> 1299 </a> 1300 </li> 1301 </ul> 1302 </div> 1303 1304 </div> 1305 </div> 1306 </nav> 1307 </div> 1308 </header> 1309 <div class="mobile-header-top"> 1310 <div class="container"> 1311 <div class="row"> 1312 <div class="col-12 text-center mobile-margin"> 1313 <button class="toggle-button"> 1314 <img src="/Files/Templates/Designs/TWG/images/mobile-toggle-menu.png" alt="mobile toggle menu"> 1315 </button> 1316 <a class="mx-auto" href="/default.aspx?id=@firstPageId"> 1317 <img src="@logo" alt="@logoText"> 1318 </a> 1319 <ul class="list-unstyled list-inline mb-0"> 1320 <li class="list-inline-item"> 1321 @if (!Dynamicweb.Core.Converter.ToBoolean(GetGlobalValue("Global:Extranet.UserName"))) 1322 { 1323 <a class="favourite-indicator" href="/Default.aspx?ID=@loginPageId"> 1324 <span class="badge favIcon count">@myfavCount</span> 1325 </a> 1326 } 1327 else 1328 { 1329 1330 <a class="favourite-indicator" href="/Default.aspx?id=@favoritePageId"> 1331 <span class="badge favIcon count">@myfavCount</span> 1332 </a> 1333 } 1334 </li> 1335 <li class="list-inline-item"> 1336 <a class="cart-indicator" href="/Default.aspx?id=@cartPageId"> 1337 <span class="badge count">@inbagTotalQtyCount</span> 1338 </a> 1339 </li> 1340 </ul> 1341 </div> 1342 </div> 1343 </div> 1344 </div> 1345 <div id="mobile-menu" class="mobile-menu-container"> 1346 <div class="mobile-navigation"> 1347 <div class="row mobile-logo"> 1348 <div class="col-12"> 1349 <a href=""><img class="img-responsive" src="/Files/Images/TWG-Tea/logo-large.png" alt="Logo"></a> 1350 </div> 1351 </div> 1352 <div class="row mobile-login-content"> 1353 <div class="col-12"> 1354 <ul class="list-unstyled list-inline nav-userManagement"> 1355 @if (!Dynamicweb.Core.Converter.ToBoolean(GetGlobalValue("Global:Extranet.UserName"))) 1356 { 1357 <li class="list-inline-item"><a href="/Default.aspx?ID=@loginPageId">@Translate("Log In","Log In")</a></li> 1358 <li class="list-inline-item"><a href="/Default.aspx?ID=@registerPageId">@Translate("Register","Register")</a></li> 1359 } 1360 else 1361 { 1362 <li class="list-inline-item"><a href="/Default.aspx?ID=@myaccountPageId" style=" text-transform: initial !important;">@Translate("MyTWG","MyTWG")</a></li> 1363 <li class="list-inline-item"><a href="javascript:void(0)" onclick="extranetLogOut();">@Translate("Logout","Logout")</a></li> 1364 1365 } 1366 <li class="list-inline-item"><a class="music-icon" href="#">&nbsp;</a></li> 1367 </ul> 1368 </div> 1369 </div> 1370 <div class="row"> 1371 <div class="col-12"> 1372 <form class="form-search" method="GET" action="Default.aspx"> 1373 <div class="input-group"> 1374 1375 <input type="hidden" name="ID" value="@SearchPageId" autocomplete="off"> 1376 <input name="q" id="eComQuery2" type="hidden" value="@q"> 1377 <input id="eComQueryShadow2" value="@norm2" type="search" class="form-control" autocomplete="off" placeholder='@Translate("Master Search","Search")'> 1378 1379 <input name="_charset_" type="hidden" value="UTF-8" autocomplete="off"> 1380 <span class="input-group-btn"> 1381 <button type="submit" autocomplete="off" class="searchIcon"> 1382 <img src="/Files/Templates/Designs/TWG/images/search-white-small.png" alt="Search"> 1383 </button> 1384 </span> 1385 </div> 1386 </form> 1387 </div> 1388 </div> 1389 <div class="row"> 1390 <div class="col-12"> 1391 @RenderNavigation(new 1392 { 1393 id = "mainNavigation", 1394 cssclass = "list-inline-item nav-item navbar-nav", 1395 startLevel = 1, 1396 ecomStartLevel = 4, 1397 endlevel = 1, 1398 expandmode = "all", 1399 template = "MobileLIClean.xslt" 1400 }) 1401 </div> 1402 </div> 1403 </div> 1404 </div> 1405 <!-- 13-Nov-2018 Begin Zayar Minn --> 1406 <div id="advbar" style="display:none;"> 1407 <!-- 13-Nov-2018 End Zayar Minn --> 1408 <div class="container"> 1409 <div class="col-md-12 col-xs-12 text-center"> 1410 @GetString("Item.Area.Adv_Bar") 1411 <!-- <p> 1412 <em>Enter promo code -"WhiteSky15" to enjoy 15% off our Mooncake Collection when you order online. Valid for self-collection only.</em> 1413 </p>--> 1414 <a class="cross-btn pull-right closeAdb"> 1415 <img src="/Files/Images/TWG-Tea/top-close-btn.png" alt="Close"> 1416 </a> 1417 </div> 1418 </div> 1419 </div> 1420 <div id="sliding-nav"> 1421 <div class="main-navigation"> 1422 <div class="container"> 1423 <div class="row"> 1424 <div class="col-sm-9 col-md-8 col-lg-9"> 1425 <div class="row"> 1426 <div class="col-sm-1 col-md-1"> 1427 <a href="/default.aspx?id=@firstPageId"> 1428 <img class="logo-small" src="@logo" alt="logo"> 1429 </a> 1430 </div> 1431 <div class="col-sm-11 col-md-11 main-navigation-content"> 1432 <ul class="list-unstyled list-inline mb-0"> 1433 @RenderNavigation(new 1434 { 1435 id = "mainNavigation", 1436 cssclass = "list-inline-item nav-item navbar-nav", 1437 startLevel = 1, 1438 ecomStartLevel = 4, 1439 endlevel = 5, 1440 expandmode = "all", 1441 template = "TWGDropDownMenu.xslt" 1442 }) 1443 </ul> 1444 <div class="clearfix"></div> 1445 </div> 1446 </div> 1447 </div> 1448 <div class="col-sm-3 col-md-4 col-lg-3 side-navigation-content"> 1449 <ul class="list-unstyled list-inline mb-0"> 1450 <li class="list-inline-item"> 1451 <a class="search-icon" href="javascript:void(0);"></a> 1452 <div class="nav-dropdown-menu search-dropdown-menu" style=" left: -52px;"> 1453 <div class="row"> 1454 <div class="col-12"> 1455 <form class="form-search" method="GET" action="Default.aspx"> 1456 <div class="input-group"> 1457 <input type="hidden" name="ID" value="@SearchPageId" autocomplete="off"><!--@searchplaceholder --> 1458 @*<input name="q" id="eComQuery3" type="search" class="form-control" autocomplete="off" tabindex="1" placeholder='@Translate("Master Search","Search")' value="@q">*@ 1459 <input name="q" id="eComQuery3" type="hidden" value="@q"> 1460 <input id="eComQueryShadow3" value="@norm3" type="search" class="form-control" autocomplete="off" placeholder='@Translate("Master Search","Search")'> 1461 1462 <input name="_charset_" type="hidden" value="UTF-8" autocomplete="off"> 1463 <span class="input-group-btn"> 1464 <button type="submit" autocomplete="off" class="searchIcon"> 1465 <img src="/Files/Templates/Designs/TWG/images/search-black.png" alt="Search"> 1466 </button> 1467 </span> 1468 </div> 1469 </form> 1470 </div> 1471 </div> 1472 </div> 1473 </li> 1474 <li class="list-inline-item"> 1475 @if (!Dynamicweb.Core.Converter.ToBoolean(GetGlobalValue("Global:Extranet.UserName"))) 1476 { 1477 if (!testing.Contains("ID=19")) 1478 { 1479 <a href="/Default.aspx?ID=@loginPageId" class="nav-link mytwg-icon" data-target=".my-account-sub-nav"></a> 1480 } 1481 else 1482 { 1483 <a href="javascript:void(0);" class="nav-link mytwg-icon" data-target=".my-account-sub-nav"></a> 1484 } 1485 } 1486 else 1487 { 1488 <a href="/Default.aspx?ID=@myaccountPageId" class="nav-link mytwg-icon" data-target=".my-account-sub-nav"></a> 1489 } 1490 1491 @if (!Dynamicweb.Core.Converter.ToBoolean(GetGlobalValue("Global:Extranet.UserName"))) 1492 { 1493 <div class="nav-dropdown-menu login-dropdown-menu"> 1494 <div class="row"> 1495 <span class="cross-btn A3"><img src="/Files/Images/TWG-Tea/top-close-btn.png"></span> 1496 <div class="col-sm-6"> 1497 <h2 class="border-unlogin title">@Translate("Log In","Log In")</h2> 1498 <form onsubmit="return validateForm2()" action="/Default.aspx?ID=@loginPageId" autocomplete="false" class="form-horizontal" id="loginform2" method="post" name="loginform"> 1499 <input style="visibility: hidden;display:none;" type="text"> 1500 <input style="visibility: hidden;display:none;" type="password"> 1501 <!--<input autocomplete="nope" name="currentpage" type="hidden" value="/" />--> 1502 <input type='hidden' value='@GetGlobalValue("Global:Pageview.Url")' name="currentpage"><!--<input type='hidden' value='/twg-tea-en-sg/' name="currentpage"/>--> 1503 <div class="form-group"> 1504 1505 <div class="col-sm-10 pl-0"> 1506 <!--<input type="text" class="form-control" id="username2" name="username" placeholder="Email Address*" onkeypress='checkUserName( this, "#stickyinvalidId")' autocomplete="off" data-required="true">--> 1507 <input class="form-control notNull" id="username2" name="username" type="text" placeholder='@Translate("Email address*","Email address*")' autocomplete="off"> 1508 </div> 1509 </div> 1510 <div class="form-group"> 1511 1512 <div class="col-sm-10 pl-0"> 1513 <!--<input autocomplete="off" class="form-control" data-required="true" id="password2" name="password" placeholder='@Translate("Password*","Password*")' type="password">--> 1514 <input class="form-control notNull" id="password2" name="password" placeholder='@Translate("Password*","Password*")' type="password" autocomplete="off"> 1515 </div> 1516 </div> 1517 <div class="form-group" style="display:none;"> 1518 <div class="col-sm-10 pl-0"> 1519 <div class="invalidId hide" id="stickyinvalidId"> 1520 @Translate("Invalid user name","Invalid user name") 1521 </div> 1522 </div> 1523 </div> 1524 <!-- 15-Now-2018 Begin Zayar Minn --> 1525 <div class="form-group" style="margin-left: -5px; margin-bottom: 0px !important; height: 30px;"></div> 1526 <!-- 15-Now-2018 End Zayar Minn --> 1527 <div class="form-group"> 1528 <div class="col-sm-10 ccs_class pl-0"> 1529 <div class="custom-checkbox"> 1530 <input type="checkbox" id="signed-in1"> 1531 <label for="signed-in1">@Translate("Keep me signed in","Keep me signed in")</label> 1532 </div> 1533 </div> 1534 </div> 1535 <div class="form-group"> 1536 <div class="col-sm-10 pl-0"> 1537 <a class="forgot-link" data-target="#pwModal" data-toggle="modal" id="forgetpasswordbtnname" name="forgetpasswordbtnname" type="text">@Translate("Forgot your password?","Forgot your password?")</a> 1538 </div> 1539 </div> 1540 <div class="form-group"> 1541 <!-- 15-Now-2018 Begin Zayar Minn --> 1542 <div class="col-sm-10 text-right"> 1543 <!-- 15-Now-2018 End Zayar Minn --> 1544 <button class="signInPopup btn-yellow SubmitLogin" id="loginbtn" type="submit" onclick='return checkInput(event, this);' style="min-width: 160px; left: 0; float: right; font-family: Arial !important;font-size: 16px !important;line-height: 29px;color: #393331 !important;text-transform: uppercase;background-color:#f3d174 !important;" autocomplete="off"> @Translate("Sign in","Sign in")</button> 1545 </div> 1546 </div> 1547 </form> 1548 </div> 1549 <div class="col-sm-6 register-dropdown-content"> 1550 <h2 class="border-unlogin title">@Translate("Register","Register")</h2> 1551 <p>@Translate("Enjoy immediate benefits and richer experience by creating a personal account.","Enjoy immediate benefits and richer experience by creating a personal account.")</p><br> 1552 1553 <!-- 15-Now-2018 Begin Zayar Minn --> 1554 <div class="form-group" style="margin-left: -5px; margin-bottom: 0px !important; height: 30px;"></div> 1555 <!-- 15-Now-2018 End Zayar Minn --> 1556 <div class="form-group"> 1557 <div class="col-sm-12 text-right"> 1558 <!--<a class="btn-yellow registerNow" href="/Default.aspx?ID=@registerPageId">@Translate("Register Now","Register Now")</a>--> 1559 <a class="btn-yellow registerNow" href="/Default.aspx?ID=@registerPageId" style="letter-spacing: 2px; font-family: Arial !important;color: #393331 !important;font-size: 16px !important;background-color:#f3d174 !important;">@Translate("Register Now","Register Now")<div></div></a> 1560 </div> 1561 </div> 1562 </div> 1563 </div> 1564 </div> 1565 } 1566 else 1567 { 1568 1569 <div class="nav-dropdown-menu login-dropdown-menu"> 1570 1571 <div class="row"> 1572 <span class="cross-btn A4"><img src="/Files/Images/TWG-Tea/top-close-btn.png" alt="Close"></span> 1573 <div class="col-sm-6" style="margin-left:-26px;"> 1574 <div class="col-sm-6" style="border-top: 1px solid #393331; width=50%; "></div><!--Toetet 20 Dec--> 1575 <p class="mytwgpopup title" style="color: #393331 !important;"> 1576 <span> 1577 @Translate("Welcome","Welcome") 1578 <br> 1579 @Dynamicweb.Security.UserManagement.User.GetCurrentUser().Title.ToString() @Dynamicweb.Security.UserManagement.User.GetCurrentUser().FirstName.ToString() @Dynamicweb.Security.UserManagement.User.GetCurrentUser().LastName.ToString() 1580 </span> 1581 </p> 1582 @if (memberType == "Green") 1583 { 1584 <div class="col-md-12"> 1585 <img class="img-fluid" style="height:124px;" src="/Files/Images/TWG-Tea/MyTWG-Card-Icon/card-green_250x159.png" alt="green"> 1586 </div> 1587 } 1588 else if (memberType == "Gold") 1589 { 1590 <div class="col-md-12"> 1591 <img class="img-fluid" style="height:124px;" src="/Files/Images/TWG-Tea/MyTWG-Card-Icon/card-gold_250x159.png" alt="gold"> 1592 </div> 1593 } 1594 else if (memberType == "Media") 1595 { 1596 <div class="col-md-12"> 1597 <img class="img-fluid" style="height:159px;" src="/Files/Images/TWG-Tea/MyTWG-Card-Icon/card-media_250x159.png" alt="media"> 1598 </div> 1599 } 1600 else 1601 { 1602 1603 <div class="col-md-12"> 1604 <img class="img-fluid" style="height:159px;" src="/Files/Images/TWG-Tea/MyTWG-Card-Icon/card-nonmember_250x159.png" alt="subscriber"> 1605 </div> 1606 } 1607 </div> 1608 <div class="col-sm-6 login-option-list" style="margin-left: 25px;"> 1609 <div class="col-md-6" style="border-top: 1px solid #000; margin-left: 10px; height: 116px;"></div> 1610 <div class="col-md-12" style="margin-left: -34px;"> 1611 <ul> 1612 <li><a href="/Default.aspx?ID=@myaccountPageId">@Translate("My Account", "My Account")</a></li> 1613 <li><a href="/Default.aspx?ID=@myaccountPageId&changepasswordShow=true">@Translate("Change Password", "Change Password")</a></li> 1614 <li><a href="/Default.aspx?ID=@favoritePageId">@Translate("My Favourites", "My Favourites")</a></li> 1615 <li><a href="/Default.aspx?ID=@myorderPageId">@Translate("My Orders", "My Orders")</a></li> 1616 1617 </ul> 1618 </div> 1619 <div class="col-md-12 text-right" style="margin-top:75px;"> 1620 <a id="out_link" class="btn-yellow-signout" href="javascript:void(0)" onclick="extranetLogOut();">@Translate("Sign Out", "Sign Out")</a> 1621 </div> 1622 </div> 1623 </div> 1624 </div> 1625 } 1626 </li> 1627 <li class="list-inline-item"> 1628 @if (!Dynamicweb.Core.Converter.ToBoolean(GetGlobalValue("Global:Extranet.UserName"))) 1629 { 1630 <a class="favourite-indicator" href="/Default.aspx?ID=@loginPageId"> 1631 <span class="badge count favIcon">@myfavCount</span> 1632 </a> 1633 } 1634 else 1635 { 1636 1637 <a class="favourite-indicator" href="/Default.aspx?id=@favoritePageId"> 1638 <span class="badge count favIcon">@myfavCount</span> 1639 </a> 1640 } 1641 1642 </li> 1643 <li class="list-inline-item"> 1644 1645 <a class="nav-link cart-indicator" href="/Default.aspx?id=@cartPageId"> 1646 <span class="badge count">@inbagTotalQtyCount</span> 1647 </a> 1648 1649 </li> 1650 1651 </ul> 1652 </div> 1653 </div> 1654 </div> 1655 </div> 1656 </div> 1657 1658 @GetValue("Title(Full width page)") 1659 @GetValue("Description(Use this page for full width pages with no left navigation.)") 1660 1661 @{ 1662 string siteurl = GetGlobalValue("Global:Request.Url").ToString(); 1663 } 1664 1665 <style> 1666 /*.widget{ 1667 text-align:center; 1668 }*/ 1669 #leftnavi{ 1670 border-bottom:none; 1671 } 1672 .widget { 1673 margin-top: 3px; 1674 } 1675 #leftnavi { 1676 1677 } 1678 #leftnavi li { 1679 /*float: left; 1680 width: 25%; 1681 text-align: left !important;*/ 1682 } 1683 #leftnavi li a { 1684 border: none; 1685 /*color: #acaaa1;*/ 1686 color: #000 !important; 1687 text-transform: uppercase; 1688 font-family: FuturaMedium; 1689 border-radius: 0; 1690 border-top: 1px solid transparent; 1691 padding: 1em 0 0.2em 0; 1692 display: inline-block; 1693 font-size: 17px; 1694 } 1695 #leftnavi li a:hover{ 1696 /*border-top: 1px solid #ddd;*/ 1697 } 1698 1699 #leftnavi li:nth-child(1) { 1700 text-align: left; 1701 } 1702 #leftnavi li:nth-child(2) { 1703 padding: 0; 1704 text-align: left; 1705 /*padding-right: 88px;*/ 1706 } 1707 #leftnavi li:nth-child(3) { 1708 padding: 0; 1709 text-align: left; 1710 /*padding-left: 77px;*/ 1711 } 1712 #leftnavi li:nth-child(4) { 1713 /*text-align: right;*/ 1714 text-align: left; 1715 } 1716 #leftnavi li a:after { 1717 content: ''; 1718 } 1719 #leftnavi .list-active > a, 1720 #leftnavi .list-active > a:hover, 1721 #leftnavi li > a:hover { 1722 color: #000 !important; 1723 background: none!important; 1724 /*border-top: 1px solid #d7d5c9!important;*/ 1725 border-radius: 0; 1726 border-bottom: none; 1727 border-left: 0; 1728 border-right: 0; 1729 } 1730 #leftnavi .list-active, 1731 #leftnavi li:hover { 1732 background: none!important; 1733 1734 } 1735 #leftnavi li:hover { 1736 font-style: italic; 1737 } 1738 1739 .figure a{ 1740 color: #8f8987; 1741 text-decoration: underline; 1742 } 1743 </style> 1744 1745 1746 <div style="display:none">@TemplateTags()</div> 1747 @if(GetBoolean("Item.Page.LayoutShowBreadcrumb")){ 1748 <div class="pg-opt pin white remove-background"> 1749 <div class="container"> 1750 <div class="row"> 1751 <div class="col-lg-3 col-md-3 hidden-sm hidden-xs"> 1752 @if (GeneralSettings.Navigation.BreadcrumbMode != "light") 1753 { 1754 <div class="dw-breadcrumb-title">@GetGlobalValue("Global:Page.Top.Name")</div> 1755 } 1756 </div> 1757 <div class="col-lg-9 col-md-9 col-sm-12 col-xs-12"> 1758 @GetValue("DwNavigation(breadcrumb)") 1759 </div> 1760 </div> 1761 </div> 1762 </div> 1763 } 1764 1765 <section class="slice animate-hover-slide"> 1766 <div class="container"> 1767 1768 <div class=""> 1769 @if(!GetBoolean("Item.Page.LayoutHideLeftMenu")) { 1770 <div class="col-md-3" style="margin-top: 31px;"> 1771 <div class="widget"> 1772 1773 1774 @GetValue("DwNavigation(leftnavi)") 1775 </div> 1776 1777 </div> 1778 } 1779 1780 @{ 1781 var attributeValue = "col-md-9 col-sm-4 col-xs-12"; 1782 1783 if(GetBoolean("Item.Page.LayoutHideLeftMenu")) { 1784 attributeValue = "col-md-12 col-sm-4 col-xm-12"; 1785 } 1786 } 1787 1788 <div class="@attributeValue"> 1789 <div class="row" id="maincontent">@GetValue("DwContent(maincontent)")</div> 1790 1791 </div> 1792 1793 @if (GetBoolean("Item.Page.FacebookLikeButton")){ 1794 <div class="container"> 1795 <div class="col-md-12 col-sm-12 col-xs-12"> 1796 <div class="row"> 1797 <iframe src="//www.facebook.com/plugins/like.php?href=@siteurl&amp;width=200&amp;layout=button_count&amp;action=recommend&amp;show_faces=true&amp;share=true&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; height:21px;" allowtransparency="true"></iframe> 1798 </div> 1799 </div> 1800 </div> 1801 } 1802 <p>@GetString("Item.Page.Test")</p> 1803 </div> 1804 </div> 1805 </section> 1806 1807 1808 <div id="upper_content"></div> 1809 <footer> 1810 <div class="container"> 1811 <div class="footer-navigation" style="display: none;"> 1812 <div class="footer-navigation-inner"> 1813 <div class="row"> 1814 <div class="col-12 d-none d-md-block"> 1815 <a class="cross-btn pull-right mblposition" href="javascript:void(0)"> 1816 <img src="/Files/Images/TWG-Tea/top-close-btn.png" alt="Close"> 1817 </a> 1818 </div> 1819 </div> 1820 <div class="row"> 1821 <div class="col-12 col-12 col-lg-4 d-block d-sm-block d-md-block d-lg-none sm-mb-3"> 1822 <a class="cross-btn pull-right mblposition" href="javascript:void(0)"> 1823 <img src="/Files/Images/TWG-Tea/top-close-btn.png"> 1824 </a> 1825 </div> 1826 <div class="col-12 col-lg-4 d-block d-sm-block d-md-block d-lg-none"> 1827 <h4 class="font-futura text-uppercase hasfootermenu">@Translate("Our Company","Our Company")</h4> 1828 <ul class="list-unstyled"> 1829 <!--<li class="dwnavigation" id="explore-nav-list" data-settings="startlevel:1;endlevel:1;template:FooterInformation.xslt;expandmode:all;parentid:1022;"></li>--> 1830 @RenderNavigation(new 1831 { 1832 id = "service", 1833 cssclass = "list-inline-item nav-item navbar-nav", 1834 startLevel = 1, 1835 endlevel = 1, 1836 expandmode = "all", 1837 parentid=companyPageId, 1838 template = "FooterInformation.xslt" 1839 }) 1840 </ul> 1841 </div> 1842 <div class="col-12 col-lg-4"> 1843 1844 <h4 class="font-futura text-uppercase hasfootermenu">@Translate("Customer Service","Customer Service")</h4> 1845 <ul class="list-unstyled"> 1846 <!--<li class="dwnavigation" id="service" data-settings="startlevel:1;endlevel:1;template:FooterInformation.xslt;expandmode:all;parentid:1021;"></li>--> 1847 @RenderNavigation(new 1848 { 1849 id = "service", 1850 cssclass = "list-inline-item nav-item navbar-nav", 1851 startLevel = 1, 1852 endlevel = 1, 1853 expandmode = "all", 1854 parentid=servicePageId, 1855 template = "FooterInformation.xslt" 1856 }) 1857 </ul> 1858 <h4 class="font-futura text-uppercase d-none d-sm-none d-md-none d-lg-block"> 1859 <a href="javascript:void(0)" onclick="showUpper('@ChooseYourCountryPageId')">@Translate("Choose your country","Choose your country")</a> 1860 </h4> 1861 </div> 1862 <div class="col-12 col-lg-4 d-none d-sm-none d-md-none d-lg-block cpl-6px"> 1863 <h4 class="font-futura text-uppercase hasfootermenu">@Translate("Our Company","Our Company")</h4> 1864 <ul class="list-unstyled"> 1865 <!--<li class="dwnavigation" id="company" data-settings="startlevel:1;endlevel:1;template:FooterInformation.xslt;expandmode:all;parentid:1022;"></li>--> 1866 @RenderNavigation(new 1867 { 1868 id = "service", 1869 cssclass = "list-inline-item nav-item navbar-nav", 1870 startLevel = 1, 1871 endlevel = 1, 1872 expandmode = "all", 1873 parentid=companyPageId, 1874 template = "FooterInformation.xslt" 1875 }) 1876 </ul> 1877 </div> 1878 <div class="col-12 col-lg-4 cpl-7px"> 1879 <h4 class="font-futura text-uppercase mt-4 d-block d-sm-block d-md-block d-lg-none sm-chooseCountry"><a href="javascript:void(0)" onclick="showUpper('@ChooseYourCountryPageId')">@Translate("Choose your country","Choose your country")</a></h4> 1880 <h4 class="font-futura text-uppercase footerMargin">@Translate("Sign Up For Updates","Sign Up For Updates")</h4> 1881 1882 @if (GetGlobalValue("Global:Extranet.UserName") != "") 1883 { 1884 <form action="/Default.aspx?ID=@myaccountPageId" method="post" class="signUpFooter"> 1885 <div class="input-group"> 1886 <span style=""> 1887 <input name="newsLeterSingupflag" type="hidden" value="true"> 1888 <input name="CustomField.AccessUser_AccessUser_ReceiveEmail" type="hidden" value="true" id="UserManagement_Form_Email1" class="form-control"> 1889 <!-- 15-Now-2018 Begin Zayar Minn --> 1890 <!--<button name="submit" class="subscribe-btn no-outline" type="submit" id="submit">@Translate("Sign Up","Sign Up")</button>--> 1891 <input name="submit" type="submit" class="subscribe-btn no-outline" id="submit" value='@Translate("Sign Up","Sign Up")' autocomplete="off"> 1892 <!-- 15-Now-2018 End Zayar Minn --> 1893 </span> 1894 </div> 1895 </form> 1896 } 1897 else 1898 { 1899 <form action="/Default.aspx?ID=@registerPageId" method="post" class="signUpFooter"> 1900 <div class="input-group"> 1901 <span style=""> 1902 <input name="newsLeterSingupflag" type="hidden" value="true"> 1903 <input name="CustomField.AccessUser_AccessUser_ReceiveEmail" type="hidden" value="true" id="UserManagement_Form_Email2" class="form-control"> 1904 <!-- 15-Now-2018 Begin Zayar Minn --> 1905 <!--<button name="submit" class="subscribe-btn no-outline" type="submit" id="submit">@Translate("Sign Up","Sign Up")</button>--> 1906 <input name="submit" type="submit" class="subscribe-btn no-outline" id="submit" value='@Translate("Sign Up","Sign Up")' autocomplete="off"> 1907 1908 <!-- 15-Now-2018 End Zayar Minn --> 1909 </span> 1910 </div> 1911 </form> 1912 } 1913 <h4 class="font-futura text-uppercase mt-5 d-none d-sm-none d-md-none">@Translate("Follow Us","Follow Us")</h4> 1914 <ul class="list-unstyled list-inline footer-social-icons"> 1915 <li class="list-inline-item color-white"> 1916 <p>@Translate("Follow Us","Follow Us")</p> 1917 </li> 1918 @foreach (LoopItem i in GetLoop("Item.Area.SocialIconInFooter")) 1919 { 1920 string name = i.GetString("Item.Area.SocialIconInFooter.Social_Name"); 1921 string icon = "/Files/Images/TWG Design/TWG-Tea/" + i.GetString("Item.Area.SocialIconInFooter.Icon"); 1922 string link = i.GetString("Item.Area.SocialIconInFooter.Link"); 1923 <li class="list-inline-item"> 1924 <a href="@link"> 1925 <img src="@icon" alt="@name" class="img-fluid"> 1926 </a> 1927 </li> 1928 } 1929 @if(Pageview.Device.ToString().ToUpper() == "MOBILE" || Pageview.Device.ToString().ToUpper() == "TABLET" || Pageview.Platform.ToString().ToUpper() == "ANDROID"){ 1930 <li class="list-inline-item"> 1931 <a href='@GetString("Item.Area.APK_Mobile_Link")'> 1932 <img src='@GetString("Item.Area.APK_Mobile_Icon")' alt="APK icon" class="img-fluid"> 1933 </a> 1934 </li> 1935 } 1936 else{ 1937 <li class="list-inline-item"> 1938 <a href='@GetString("Item.Area.APK_Link")'> 1939 <img src='@GetString("Item.Area.APK_Icon")' alt="APK icon" class="img-fluid"> 1940 </a> 1941 </li> 1942 } 1943 </ul> 1944 </div> 1945 <div class="col-12 d-block d-sm-block d-md-block d-lg-none footer-copyright-mobile"> 1946 @GetString("Item.Area.FooterAddress") 1947 </div> 1948 </div> 1949 </div> 1950 </div> 1951 </div> 1952 <div class="footer-copyright"> 1953 <div class="container"> 1954 <div class="footer-copyright-content"> 1955 <div class="row"> 1956 <div class="col-12 col-sm-8 d-none d-lg-block"> 1957 @GetString("Item.Area.FooterAddress") 1958 </div> 1959 <div class="col-12 col-lg-4 text-right align-self-center"> 1960 <!-- 15-Now-2018 Begin Zayar Minn --> 1961 <p class="mb-0 text-uppercase footer-shortlink-middle"><a href="#"><span class="ar_row"></span>@Translate("More Information","More Information")</a></p> 1962 <!-- 15-Now-2018 End Zayar Minn --> 1963 </div> 1964 </div> 1965 </div> 1966 </div> 1967 </div> 1968 </footer> 1969 </div> 1970 1971 <div class="bg-audio-wrapper"> 1972 <audio id="bg-audio" controls="" loop="" preload=""> 1973 <source src="@HttpContext.Current.Request.Url.GetLeftPart(UriPartial.Authority)/Files/Templates/Designs/TWG/media/bg-music.mp3" type="audio/mpeg"> 1974 <source src="@HttpContext.Current.Request.Url.GetLeftPart(UriPartial.Authority)/Files/Templates/Designs/TWG/media/bg-music.ogg" type="audio/ogg"> 1975 </source></source></audio> 1976 </div> 1977 <input type="hidden" id="autoplay" name="autoplay" value="1"> 1978 1979 <!--forget Password Start --> 1980 1981 @{ 1982 /////////// Forget Password //////////////// 1983 PasswordForget passwordForgetRequest = new PasswordForget(); 1984 PasswordForgetResponse passwordForgetResponse = new PasswordForgetResponse(); 1985 1986 passwordForgetRequest.Email = System.Web.HttpContext.Current.Request["AccessUserEmail"]; 1987 1988 if(!string.IsNullOrEmpty(passwordForgetRequest.Email)) 1989 { 1990 passwordForgetResponse = MembersonIntegration.ForgetPassword(passwordForgetRequest); 1991 } 1992 } 1993 <div id="forgetPasswordDialogID"> 1994 <div class="row register-box-wrapper"> 1995 <div class=""> 1996 <div id="pwModal" class="modal fade" role="dialog"> 1997 <div class="modal-dialog"> 1998 <!-- Modal content--> 1999 <div class="modal-content mbldialog"> 2000 <button type="button" name="forgetpasswordbtnclose" class="close" data-dismiss="modal"><img src="/Files/Images/TWG-Tea/close-btn.png" alt="Close"></button> 2001 <div class="modal-header mt-3 mb-2"> 2002 <h3 class="text-uppercase text-center text-dark">@Translate("Forgotten Password", "Forgotten Password")</h3> 2003 </div> 2004 <div class="modal-body"> 2005 <p class="text-center text-dark">@Translate("Forget Password Msg","Please enter the email address you use for this account and we will send you your password.")</p> 2006 <form class="form-body" method="post" id="forgetpasswordform"> 2007 <input name="AccessUserEmail" type="input" class="form-control notNull" id="AccessUserEmail" placeholder='@Translate("Email address*","Email address*")' autocomplete="off"> 2008 <p class="error-message"> 2009 <div class="text-center"> 2010 <button type="submit" name="LoginAction" value="Recovery" onclick="checkAndSubmit(event, this)" class="btn btn-default btn-forget-pw" data-toggle="modal">@Translate("Confirm", "Confirm")</button> 2011 <span id="forgetpasswordsuccess" data-toggle="modal" data-target="#forgetPasswordMsg" style="display:none;"></span> 2012 </div> 2013 </form> 2014 </div> 2015 </div> 2016 </div> 2017 </div> 2018 2019 <!--Popup Start--> 2020 <div id="closeFun" onclick="closeBurn()" style="display: none;"> 2021 <div id="alertPopup" class="alert"> 2022 <div id="loginBody"> 2023 <div id="loginTitle" class="head"> 2024 2025 </div> 2026 <div id="loginText" class="bod"> 2027 </div> 2028 <div id="loginButton"> 2029 2030 <label for="SignInModalTrigger" class="button">@Translate("Log In","Log In")</label> 2031 </div> 2032 <div id="homeButton"> 2033 <a class="homebutton" href="">@Translate("Home Page")</a> 2034 </div> 2035 </div> 2036 </div> 2037 </div> 2038 <!--End Popup--> 2039 <div id="forgetPasswordMsg" class="modal fade" role="dialog"> 2040 <div class="modal-dialog"> 2041 <!-- Modal content--> 2042 <div class="modal-content"> 2043 <button type="button" name="forgetpasswordbtnclose" class="close" data-dismiss="modal"><img src="/Files/Images/TWG-Tea/close-btn.png" alt="Close"></button> 2044 <div class="modal-header mt-3 mb-2"> 2045 <h3 class="text-uppercase text-center text-dark">@Translate("Forgotten Password", "Forgotten Password")</h3> 2046 </div> 2047 <div class="modal-body"> 2048 <p id="forgetpasswordMessage" class="text-center text-dark"> 2049 <div class="text-center"><br> 2050 <button class="btn text-center" style="background:none;border:none;letter-spacing:3px;font-size:14.58px;font-family:Arial !important;color:#000;" onclick="gotoHome1();"><u>@Translate("CONTINUE TO SITE", "CONTINUE TO SITE")</u></button> 2051 </div> 2052 </div> 2053 </div> 2054 </div> 2055 </div> 2056 2057 2058 2059 </div> 2060 </div> 2061 <div id="clientLoginForm" style="display:none;padding: 0px 5px;"> 2062 <h3>Login to site</h3> 2063 <p><label>Password:</label>&nbsp;&nbsp;<input type="text" name="clientLoginPassword" id="clientLoginPassword" style="width:90%;"></p> 2064 <input type="button" onclick="checkPassword()" value="Login"><br> <br> 2065 </div> 2066 <script> 2067 2068 $(document).ready(function () { 2069 2070 2071 $('.form-search').on("submit", function () { 2072 //const norm = $('#eComQueryShadow1').val(); 2073 var estring = $('#eComQueryShadow1').val(); 2074 estring = estring.replace(/[\\]+/g, ""); 2075 estring = estring.replace(/[']+/g, "\\'"); 2076 $('#eComQuery1').val(estring); 2077 //$('#eComQueryShadow1').val(norm); 2078 2079 var estring2 = $('#eComQueryShadow2').val(); 2080 estring2 = estring2.replace(/[\\]+/g, ""); 2081 estring2 = estring2.replace(/[']+/g, "\\'"); 2082 $('#eComQuery2').val(estring2); 2083 2084 var estring3 = $('#eComQueryShadow3').val(); 2085 estring3 = estring3.replace(/[\\]+/g, ""); 2086 estring3 = estring3.replace(/[']+/g, "\\'"); 2087 $('#eComQuery3').val(estring3); 2088 //console.log($('#eComQuery1').val()); 2089 2090 }); 2091 }); 2092 2093 function extranetLogOut(){ 2094 2095 window.location.href="/Admin/Public/ExtranetLogoff.aspx?ID=@firstPageId"; 2096 } 2097 if('@passwordForgetResponse.ResponseStatus.Message' != '') 2098 { 2099 $('#forgetpasswordMessage').html('@Translate("ForgetPasswordInvalidEmail", @passwordForgetResponse.ResponseStatus.Message )'); 2100 } 2101 else 2102 { 2103 $('#forgetpasswordMessage').html('@Translate("ForgetPasswordValidEmail","An email had been sent to reset your password.")'); 2104 } 2105 2106 $(document).ready(function() { 2107 $('#forgetPasswordDialogID').hide(); 2108 if('@passwordForgetRequest.Email' != ''){ 2109 $('#forgetPasswordDialogID').show(); 2110 $('#forgetpasswordsuccess').click(); 2111 } 2112 2113 2114 2115 $('[name="forgetpasswordbtnname"]').click(function(){ 2116 if($('#forgetPasswordDialogID').css('display') == 'none') 2117 { 2118 $('#forgetPasswordDialogID').show(); 2119 } 2120 }); 2121 2122 $('[name="forgetpasswordbtnclose"]').click(function(){ 2123 if($('#forgetPasswordDialogID').css('display') != 'none') 2124 { 2125 $('#forgetPasswordDialogID').hide(); 2126 } 2127 }); 2128 }); 2129 </script> 2130 <!-- forget Password Success message end--> 2131 2132 <script src="/Files/Templates/Designs/TWG/vendor/video-js/video.js"></script> 2133 <script src="/Files/Templates/Designs/TWG/js/chosen.jquery.js"></script> 2134 2135 <script src="/Files/Templates/Designs/TWG/js/slick.min.js"></script> 2136 <script src="/Files/Templates/Designs/TWG/js/jquery.bxslider.js"></script> 2137 <script src="/Files/Templates/Designs/TWG/js/jquery.customSelect.min.js"></script> 2138 <script src="/Files/Templates/Designs/TWG/vendor/elevatezoom/jquery.elevateZoom-2.2.3.min.js"></script> 2139 <script src="/Files/Templates/Designs/TWG/js/main.js"></script> 2140 <script src="/Files/Templates/Designs/TWG/js/custom.min.js"> 2141 2142 </div> 2143 2144 <script type="text/javascript"> 2145 function goToLogin() { 2146 location.href="/Default.aspx?ID=@loginPageId"; 2147 } 2148 function ajaxsubmitcart2(input) { 2149 2150 $.ajax({ 2151 url: input, 2152 type: "POST", 2153 success: function (data) { 2154 $('.cart-indicator .count').html(parseInt($('.cart-indicator .count').html()) + 1); 2155 showTooltip( 'cart' , '@Translate("Added to bag","Added to bag")' ); 2156 }, 2157 error: function (xhr, ajaxOptions, thrownError) { 2158 2159 } 2160 }); 2161 } 2162 2163 function ajaxsubmitcart(input) { 2164 var form = input; 2165 //console.log(input); 2166 $.ajax({ 2167 url: "/", 2168 type: "POST", 2169 data: input.serialize(), 2170 success: function (data) { 2171 $('.cart-indicator .count').html(parseInt($('.cart-indicator .count').html()) + 1); 2172 showTooltip( 'cart' , '@Translate("Added to bag","Added to bag")' ); 2173 }, 2174 error: function (xhr, ajaxOptions, thrownError) { 2175 2176 } 2177 }); 2178 return false; 2179 } 2180 2181 function amountCheck(id, default_variant) { 2182 2183 var totalamount = 0; 2184 var curamount = parseInt((default_variant.replace('k', '')).replace('g')); 2185 for (var j = 0; j < itemsInCart.length; j++) { 2186 if (itemsInCart[j] == id) { 2187 if (parseInt(((cartVarQty[j].split(',')[1]).replace('k', '')).replace('g')) > 39) 2188 { totalamount += parseInt(cartVarQty[j].split(',')[0]) * parseInt(((cartVarQty[j].split(',')[1]).replace('k', '')).replace('g')); } 2189 else 2190 { totalamount += parseInt(cartVarQty[j].split(',')[0]) * parseInt(((cartVarQty[j].split(',')[1]).replace('k', '')).replace('g')) * 1000; } 2191 } 2192 } 2193 if (totalamount + curamount > 5000) { 2194 alert("You have " + totalamount / 1000 + "Kg of this product in your cart. You acnnot buy more than 5 kg per loosetea."); 2195 } 2196 else { 2197 ajaxsubmitcart($("#productID_" + id)); 2198 } 2199 } 2200 2201 function showtooltip(){ 2202 2203 $('#cart-indicator').show(); 2204 $('#cart-indicator1').show(); 2205 setTimeout(function(){ $('#cart-indicator').hide();$('#cart-indicator1').hide();}, 2000); 2206 return true; 2207 } 2208 2209 function setOptInCookie(optInLevel) { 2210 document.getElementById("cookieWarningDiv").classList.add("closed"); 2211 setTimeout(function () { 2212 var xmlhttp; 2213 if (window.XMLHttpRequest) { 2214 xmlhttp = new XMLHttpRequest(); 2215 } 2216 else { 2217 xmlhttp = new ActiveXObject("Microsoft.XMLHTTP"); 2218 } 2219 xmlhttp.onreadystatechange = function () { 2220 if (xmlhttp.readyState == 4 && xmlhttp.status == 200) { 2221 var div = document.getElementById("cookieWarningDiv"); 2222 div.parentNode.removeChild(div); 2223 return false; 2224 } 2225 } 2226 xmlhttp.open("GET", "/admin/public/CookieOptInLevelConfig.aspx?cmd=SetCookieOptInLevel&OptInLevel=" + optInLevel, true); 2227 xmlhttp.send(); 2228 return false; 2229 }, 300); 2230 } 2231 2232 (function (d, s, id) { 2233 var js, fjs = d.getElementsByTagName(s)[0]; 2234 if (d.getElementById(id)) return; 2235 js = d.createElement(s); js.id = id; 2236 js.src = "//connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.10"; 2237 fjs.parentNode.insertBefore(js, fjs); 2238 }(document, 'script', 'facebook-jssdk')); 2239 2240 var itemsInWant = []; 2241 2242 try { Typekit.load({ async: true }); } catch (e) { } 2243 2244 2245 2246 2247 2248 $(window).load(function () { 2249 $('#pageLoad').fadeOut(); 2250 }); 2251 2252 function showLower() { 2253 $("#lower_content").slideToggle("slow"); 2254 } 2255 function hideAll() { 2256 document.getElementById("c_location").style.display = "none"; 2257 document.getElementById("upper_content").style.display = "none"; 2258 document.getElementById("lower_content").style.display = "none"; 2259 $('#global_popup').hide(); 2260 document.getElementById("fir_st").style.display = "none"; 2261 document.getElementById("sec_ond").style.display = "none"; 2262 } 2263 function hideAllPopup() { 2264 $('#c_location').hide(); 2265 $('#global_popup').hide(); 2266 $('#fir_st').hide(); 2267 $('#sec_ond').hide(); 2268 } 2269 2270 function playVideo(link) { 2271 var urle = "<source src='" + link + "' type='video/mp4' />"; 2272 $('#video--play').html(); 2273 $('#video--play').html(urle); 2274 $('#videoPopUp').show(); 2275 $('#video--play')[0].play(); 2276 } 2277 2278 $(document).ready(function () { 2279 $("#videoPopUp").on('click', function () { 2280 $(this).hide(); 2281 $('#video--play')[0].pause(); 2282 }); 2283 2284 }); 2285 2286 function hideAllPopup(){ 2287 $('#c_location').hide(); 2288 $('#global_popup').hide(); 2289 $('#fir_st').hide(); 2290 $('#sec_ond').hide(); 2291 } 2292 2293 function validateEmailForm1(){ 2294 var email = $("#username1").val(); 2295 if (!validateEmail(email)) 2296 { 2297 $("#username1").css("border-color", "#ffdf61"); 2298 return false; 2299 } 2300 return true; 2301 } 2302 function validateEmailForm2(){ 2303 var email = $("#username2").val(); 2304 if (!validateEmail(email)) 2305 { 2306 $("#username2").css("border-color", "#ffdf61"); 2307 return false; 2308 } 2309 return true; 2310 } 2311 function validateEmail(email) { 2312 var re = /^[a-z0-9\.\_%+-]+@@[a-z0-9\.\-]+\.[a-z]{2,4}$/i; 2313 return re.test(email); 2314 } 2315 2316 </script> 2317 2318 @RenderSnippet("FooterJavaScript") 2319 2320 <script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.9.2/jquery-ui.min.js"></script> 2321 2322 </div></body></html> 2323 2324 <script> 2325 /* For button input event */ 2326 function checkInput(e, btn){ 2327 e.preventDefault(); 2328 var f = $(btn).closest('form'); 2329 var v = true; 2330 f.find('.notNull').each(function(){ 2331 if($(this).val() == "" ){ 2332 v = false; 2333 $(this).addClass('error-field'); 2334 } 2335 }); 2336 2337 if(v){ 2338 f.submit(); 2339 $('.mytwg-icon').addClass("disable"); 2340 $('.SubmitLogin').addClass("disable"); 2341 } 2342 2343 } 2344 /* End */ 2345 //----------------- Popup functions Begin ---------------------// 2346 $(document).ready(function() 2347 { 2348 //This is for home page video cookie 2349 var video = "@itemhome"; 2350 var image = "@homepopupbtn"; 2351 console.log(video); 2352 if(@currentPageId == "1") 2353 { 2354 if(video != "" || image != "") 2355 { 2356 document.getElementById("homepopup").style.display="block"; 2357 var cookie = getCookie('HomeVideo'); 2358 if(cookie == "") 2359 { 2360 document.getElementById("homepopup").style.display="block"; 2361 2362 var timeToAdd = 1000 * 60 * 60 * 24; 2363 var date = new Date(); 2364 var expiryTime = parseInt(date.getTime()) + timeToAdd; 2365 date.setTime(expiryTime); 2366 var utcTime = date.toUTCString(); 2367 document.cookie = "HomeVideo=on; expires=" + utcTime + ";"; 2368 } 2369 else 2370 { 2371 document.getElementById("homepopup").style.display="none"; 2372 } 2373 2374 } 2375 } 2376 //End 2377 document.cookie = "CurrentPageId=@currentUrl; expires=Mon, 31 Dec 2050 12:00:00 UTC"; 2378 var domain=window.location.protocol + "//" + window.location.host 2379 2380 var HomeId=document.getElementById('HomePageId').value; 2381 var CurrentId=document.getElementById('CurrentPageId').value; 2382 var cookieName="DomainName_"+'@GetGlobalValue("Global:Area.Name")'; 2383 2384 if(getCookie(cookieName) == '') 2385 { 2386 2387 //showHomePopup(@popupPageId); 2388 } 2389 2390 else if ( getCookie(cookieName) != domain){ window.location.href= getCookie(cookieName); } 2391 }); 2392 //-------------End--------------------// 2393 2394 //----------------- lock site functions Begin --------------------- 2395 $(document).ready(function(){ 2396 var UI_Unblock = getCookie("UI_Unblock"); 2397 2398 if(UI_Unblock == "True") { 2399 //$.unblockUI(); 2400 } else { 2401 // This is block for go live. 2402 // $.blockUI({message : $('#clientLoginForm')}); 2403 } 2404 }); 2405 2406 function checkPassword() 2407 { 2408 $.blockUI(); 2409 var uiLoginResult = ""; 2410 2411 $.ajax({ 2412 url: '@mySiteCompleteAddress' + '/utilities/json-ui-login?pwd=' + $('#clientLoginPassword').val(), 2413 type: 'GET', 2414 success: function(data){ 2415 2416 uiLoginResult = data.result == "True"; 2417 2418 if(uiLoginResult) { 2419 document.cookie = "UI_Unblock=True; expires=Tue, 31 Dec 2019 12:00:00 UTC"; 2420 $.unblockUI(); 2421 } else { 2422 document.cookie = "UI_Unblock=False; expires=Mon, 31 Dec 2018 12:00:00 UTC"; 2423 $.blockUI({message : $('#clientLoginForm')}); 2424 } 2425 }, 2426 error: function(jqXHR, textStatus, errorThrown) { 2427 console.log(textStatus + ': ' + errorThrown); 2428 $.blockUI({message : $('#clientLoginForm')}); 2429 }, 2430 cache: true 2431 }); 2432 } 2433 function gaLoginTrack(){ 2434 gtag('event', 'conversion', { 2435 'allow_custom_scripts': true, 2436 'send_to': '@trackingID/accou0/accou0+standard' 2437 }); 2438 } 2439 </script>