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

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