Error compiling template "Designs/PacificBag/_parsed/leftMenu.parsed.cshtml"
Line 1325: 'Group.GetGroupById(string)' is obsolete: 'Use Services.ProductGroups.GetGroup instead.'
Line 2925: There is no argument given that corresponds to the required formal parameter 'image' of 'RazorEngine_2111399a588b4acbae82d3467c4743c2.PageTitle(string, string)'

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 2 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 14 using System; 15 16 #line default 17 #line hidden 18 using System.Collections.Generic; 19 20 #line 3 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 21 using System.Linq; 22 23 #line default 24 #line hidden 25 26 #line 578 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 27 using Dynamicweb.Rendering; 28 29 #line default 30 #line hidden 31 32 #line 5 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 33 using Dynamicweb.Content; 34 35 #line default 36 #line hidden 37 38 #line 93 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 39 using System.Text.RegularExpressions; 40 41 #line default 42 #line hidden 43 44 #line 7 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 45 using System.Web.UI.HtmlControls; 46 47 #line default 48 #line hidden 49 50 #line 91 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 51 using System.Runtime; 52 53 #line default 54 #line hidden 55 56 #line 94 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 57 using Dynamicweb.Core; 58 59 #line default 60 #line hidden 61 62 63 public class RazorEngine_2111399a588b4acbae82d3467c4743c2 : RazorTemplateBase<RazorTemplateModel<Template>> { 64 65 #line hidden 66 67 #line 8 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 68 69 public static string GetImage(string sourceString, int imageWidth, int imageHeight, int imageWidthTablet = 0, int imageHeightTablet = 0, int imageWidthMobile = 0, int imageHeightMobile = 0, string imageFormat = "jpg", int imageCompression = 0, int imageCrop = 5, string background = "", string designName = "PacificBag") 70 { 71 Dynamicweb.Frontend.PageView currentPageview = Dynamicweb.Frontend.PageView.Current(); 72 string currDevice = currentPageview.Device.ToString(); 73 string alternativeImage = !String.IsNullOrEmpty(currentPageview.Area.Item["NoImage"].ToString()) ? currentPageview.Area.Item["NoImage"].ToString() : "/Files/Templates/Designs/"+ designName + "/images/alternativeImage.jpg"; 74 string widthString = ""; 75 string heightString = ""; 76 string getImageFormat = imageFormat != "jpg" ? "&amp;Format=" + imageFormat : ""; 77 string getImageCompression = imageCompression != 0 ? "&amp;Compression=" + imageCompression : ""; 78 string bgColor = !string.IsNullOrEmpty(background) ? "&amp;Background="+background : ""; 79 int getImageWidth = imageWidth != 0 ? imageWidth : 0; 80 int getImageHeight = imageHeight != 0 ? imageHeight : 0; 81 82 if (currDevice == Dynamicweb.Frontend.Devices.DeviceType.Tablet.ToString()) 83 { 84 getImageWidth = imageWidthTablet != 0 ? imageWidthTablet : getImageWidth; 85 getImageHeight = imageHeightTablet != 0 ? imageHeightTablet : getImageHeight; 86 } 87 else if (currDevice == Dynamicweb.Frontend.Devices.DeviceType.Mobile.ToString()) 88 { 89 getImageWidth = imageWidthMobile != 0 ? imageWidthMobile : getImageWidth; 90 getImageHeight = imageHeightMobile != 0 ? imageHeightMobile : getImageHeight; 91 } 92 93 if (getImageWidth != 0) 94 { 95 widthString = "&amp;Width=" + getImageWidth; 96 } 97 if (getImageHeight != 0) 98 { 99 heightString = "&amp;Height=" + getImageHeight; 100 } 101 102 string output = "/Admin/Public/GetImage.ashx?Image=" + sourceString + widthString + heightString + "&amp;altFmImage_path=" + alternativeImage + getImageFormat + getImageCompression + "&amp;Crop=" + imageCrop + bgColor; 103 return output; 104 } 105 106 public static string GetImageWhiteSpace(string sourceString, int imageWidth, int imageHeight, int imageWidthTablet = 0, int imageHeightTablet = 0, int imageWidthMobile = 0, int imageHeightMobile = 0, string imageFormat = "jpg", int imageCompression = 0, int imageCrop = 5, string background = "", string designName = "PacificBag") 107 { 108 Dynamicweb.Frontend.PageView currentPageview = Dynamicweb.Frontend.PageView.Current(); 109 string currDevice = currentPageview.Device.ToString(); 110 string alternativeImage = "/Files/Templates/Designs/" + designName + "/images/white80.png"; 111 string widthString = ""; 112 string heightString = ""; 113 string getImageFormat = imageFormat != "jpg" ? "&amp;Format=" + imageFormat : ""; 114 string getImageCompression = imageCompression != 0 ? "&amp;Compression=" + imageCompression : ""; 115 string bgColor = !string.IsNullOrEmpty(background) ? "&amp;Background="+background : ""; 116 int getImageWidth = imageWidth != 0 ? imageWidth : 0; 117 int getImageHeight = imageHeight != 0 ? imageHeight : 0; 118 119 if (currDevice == Dynamicweb.Frontend.Devices.DeviceType.Tablet.ToString()) 120 { 121 getImageWidth = imageWidthTablet != 0 ? imageWidthTablet : getImageWidth; 122 getImageHeight = imageHeightTablet != 0 ? imageHeightTablet : getImageHeight; 123 } 124 else if (currDevice == Dynamicweb.Frontend.Devices.DeviceType.Mobile.ToString()) 125 { 126 getImageWidth = imageWidthMobile != 0 ? imageWidthMobile : getImageWidth; 127 getImageHeight = imageHeightMobile != 0 ? imageHeightMobile : getImageHeight; 128 } 129 130 if (getImageWidth != 0) 131 { 132 widthString = "&amp;Width=" + getImageWidth; 133 } 134 if (getImageHeight != 0) 135 { 136 heightString = "&amp;Height=" + getImageHeight; 137 } 138 139 string output = "/Admin/Public/GetImage.ashx?Image=" + sourceString + widthString + heightString + "&amp;altFmImage_path=" + alternativeImage + getImageFormat + getImageCompression + "&amp;Crop=" + imageCrop + bgColor; 140 return output; 141 } 142 143 #line default 144 #line hidden 145 146 147 #line 83 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 148 149 public string GetCurrentUrl() 150 { 151 string currentUrl = Pageview.GlobalTags.GetTagByName("Global:Request.Scheme").Value.ToString() + "://" + Pageview.GlobalTags.GetTagByName("Global:Request.Host").Value.ToString() + Pageview.GlobalTags.GetTagByName("Global:Pageview.Url").Value.ToString(); 152 153 return currentUrl; 154 } 155 156 #line default 157 #line hidden 158 159 160 #line 97 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 161 public RazorEngine.Templating.TemplateWriter OgMeta(string designName) 162 { 163 #line default 164 #line hidden 165 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 166 167 #line 98 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 168 169 if (string.IsNullOrEmpty(System.Web.HttpContext.Current.Request.Params["ProductID"])) 170 { 171 172 173 #line default 174 #line hidden 175 176 #line 101 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 177 WriteTo(__razor_helper_writer, SnippetStart("OGMeta")); 178 179 180 #line default 181 #line hidden 182 WriteLiteralTo(__razor_helper_writer, "<meta"); 183 184 WriteLiteralTo(__razor_helper_writer, " property=\"og:title\""); 185 186 WriteAttributeTo(__razor_helper_writer, "content", Tuple.Create(" content=\'", 5655), Tuple.Create("\'", 5684) 187 188 #line 101 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 189 , Tuple.Create(Tuple.Create("", 5665), Tuple.Create<System.Object, System.Int32>(GetString("Title") 190 191 #line default 192 #line hidden 193 , 5665), false) 194 ); 195 196 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 197 198 WriteLiteralTo(__razor_helper_writer, " <meta"); 199 200 WriteLiteralTo(__razor_helper_writer, " property=\"og:image\""); 201 202 WriteAttributeTo(__razor_helper_writer, "content", Tuple.Create(" content=\'", 5719), Tuple.Create("\'", 5932) 203 204 #line 102 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 205 , Tuple.Create(Tuple.Create("", 5729), Tuple.Create<System.Object, System.Int32>(Pageview.GlobalTags.GetTagByName("Global:Request.Scheme").Value.ToString() 206 207 #line default 208 #line hidden 209 , 5729), false) 210 , Tuple.Create(Tuple.Create("", 5804), Tuple.Create("://", 5804), true) 211 212 #line 102 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 213 , Tuple.Create(Tuple.Create("", 5807), Tuple.Create<System.Object, System.Int32>(Pageview.GlobalTags.GetTagByName("Global:Request.Host").Value.ToString() 214 215 #line default 216 #line hidden 217 , 5807), false) 218 , Tuple.Create(Tuple.Create("", 5880), Tuple.Create("/Files/Templates/Designs/", 5880), true) 219 220 #line 102 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 221 , Tuple.Create(Tuple.Create("", 5905), Tuple.Create<System.Object, System.Int32>(designName 222 223 #line default 224 #line hidden 225 , 5905), false) 226 , Tuple.Create(Tuple.Create("", 5916), Tuple.Create("/images/logo.png", 5916), true) 227 ); 228 229 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 230 231 WriteLiteralTo(__razor_helper_writer, " <meta"); 232 233 WriteLiteralTo(__razor_helper_writer, " property=\"og:site_name\""); 234 235 WriteAttributeTo(__razor_helper_writer, "content", Tuple.Create(" content=\'", 5973), Tuple.Create("\'", 6018) 236 237 #line 103 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 238 , Tuple.Create(Tuple.Create("", 5983), Tuple.Create<System.Object, System.Int32>(GetString("Item.Area.CompanyName") 239 240 #line default 241 #line hidden 242 , 5983), false) 243 ); 244 245 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 246 247 WriteLiteralTo(__razor_helper_writer, " <meta"); 248 249 WriteLiteralTo(__razor_helper_writer, " property=\"og:url\""); 250 251 WriteAttributeTo(__razor_helper_writer, "content", Tuple.Create(" content=\'", 6053), Tuple.Create("\'", 6287) 252 253 #line 104 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 254 , Tuple.Create(Tuple.Create("", 6063), Tuple.Create<System.Object, System.Int32>(Pageview.GlobalTags.GetTagByName("Global:Request.Scheme").Value.ToString() 255 256 #line default 257 #line hidden 258 , 6063), false) 259 , Tuple.Create(Tuple.Create("", 6138), Tuple.Create("://", 6138), true) 260 261 #line 104 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 262 , Tuple.Create(Tuple.Create("", 6141), Tuple.Create<System.Object, System.Int32>(Pageview.GlobalTags.GetTagByName("Global:Request.Host").Value.ToString() 263 264 #line default 265 #line hidden 266 , 6141), false) 267 268 #line 104 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 269 , Tuple.Create(Tuple.Create("", 6214), Tuple.Create<System.Object, System.Int32>(Pageview.GlobalTags.GetTagByName("Global:Pageview.Url").Value.ToString() 270 271 #line default 272 #line hidden 273 , 6214), false) 274 ); 275 276 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 277 278 WriteLiteralTo(__razor_helper_writer, " <meta"); 279 280 WriteLiteralTo(__razor_helper_writer, " property=\"og:description\""); 281 282 WriteAttributeTo(__razor_helper_writer, "content", Tuple.Create(" content=\'", 6330), Tuple.Create("\'", 6381) 283 284 #line 105 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 285 , Tuple.Create(Tuple.Create("", 6340), Tuple.Create<System.Object, System.Int32>(StripHtml(GetString("Meta.Description")) 286 287 #line default 288 #line hidden 289 , 6340), false) 290 ); 291 292 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 293 294 WriteLiteralTo(__razor_helper_writer, " <meta"); 295 296 WriteLiteralTo(__razor_helper_writer, " property=\"og:type\""); 297 298 WriteLiteralTo(__razor_helper_writer, " content=\"article\""); 299 300 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 301 302 WriteLiteralTo(__razor_helper_writer, " <meta"); 303 304 WriteLiteralTo(__razor_helper_writer, " property=\"og:locale\""); 305 306 WriteAttributeTo(__razor_helper_writer, "content", Tuple.Create(" content=\'", 6472), Tuple.Create("\'", 6574) 307 308 #line 107 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 309 , Tuple.Create(Tuple.Create("", 6482), Tuple.Create<System.Object, System.Int32>(Pageview.GlobalTags.GetTagByName("Global:Area.LongLang").Value.ToString().Replace("-", "_") 310 311 #line default 312 #line hidden 313 , 6482), false) 314 ); 315 316 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 317 318 319 #line 108 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 320 321 322 #line default 323 #line hidden 324 325 #line 108 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 326 WriteTo(__razor_helper_writer, SnippetEnd("OGMeta")); 327 328 329 #line default 330 #line hidden 331 332 #line 108 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 333 334 } 335 336 337 #line default 338 #line hidden 339 }); 340 341 #line 110 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 342 } 343 #line default 344 #line hidden 345 346 347 #line 111 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 348 public RazorEngine.Templating.TemplateWriter HtmlHead(string designName) 349 { 350 #line default 351 #line hidden 352 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 353 354 #line 112 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 355 356 string designFolder = GetString("Template:DesignBaseUrl"); 357 string robots = ""; 358 string ipCountry = Dna.IP.Frontend.GetCountryCode(); 359 var googleReCaptchaSiteKey = GetString("Item.Area.GoogleReCaptchaSiteKey"); 360 string countryCodeModule = !string.IsNullOrEmpty(ipCountry) ? ipCountry : "US"; 361 string userCountryCode = (Pageview.User != null && !string.IsNullOrEmpty(Pageview.User.Country)) ? Pageview.User.Country : ipCountry; 362 string userState = Pageview.User != null ? Pageview.User.State : string.Empty; 363 string userAccountsNumber = (System.Web.HttpContext.Current.Session["AccountsNumber"] ?? "").ToString(); 364 robots = (GetBoolean("Item.Area.DemoBanner") || GetBoolean("Item.Area.NoIndex")) ? CommaSplittedString(robots, "noindex") : ""; 365 robots += (GetBoolean("Item.Area.DemoBanner") || GetBoolean("Item.Area.NoFollow")) ? CommaSplittedString(robots, "nofollow") : ""; 366 367 368 369 #line default 370 #line hidden 371 WriteLiteralTo(__razor_helper_writer, " <head>\r\n \r\n <!-- begin SnapEngage code -->\r\n<script"); 372 373 WriteLiteralTo(__razor_helper_writer, " type=\"text/javascript\""); 374 375 WriteLiteralTo(__razor_helper_writer, @"> 376 (function() { 377 var se = document.createElement('script'); se.type = 'text/javascript'; se.async = true; 378 se.src = '//storage.googleapis.com/code.snapengage.com/js/326bf66f-7884-4214-bcd8-09da130b6534.js'; 379 var done = false; 380 se.onload = se.onreadystatechange = function() { 381 if (!done&&(!this.readyState||this.readyState==='loaded'||this.readyState==='complete')) { 382 done = true; 383 /* Place your SnapEngage JS API code below */ 384 /* SnapEngage.allowChatSound(true); Example JS API: Enable sounds for Visitors. */ 385 } 386 }; 387 var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(se, s); 388 })(); 389 </script> 390 <!-- end SnapEngage code --> 391 392 <!-- begin callrail code --> 393 <script"); 394 395 WriteLiteralTo(__razor_helper_writer, " type=\"text/javascript\""); 396 397 WriteLiteralTo(__razor_helper_writer, " src=\"////cdn.callrail.com/companies/766488212/4fcfef21bce1680f2716/12/swap.js\""); 398 399 WriteLiteralTo(__razor_helper_writer, @"></script> 400 <!-- end callrail code --> 401 402 <!-- begin hellobar code --> 403 <script>(function(w,d,t,r,u){var f,n,i;w[u]=w[u]||[],f=function(){var o={ti:""21000061""};o.q=w[u],w[u]=new UET(o),w[u].push(""pageLoad"")},n=d.createElement(t),n.src=r,n.async=1,n.onload=n.onreadystatechange=function(){var s=this.readyState;s&&s!==""loaded""&&s!==""complete""||(f(),n.onload=n.onreadystatechange=null)},i=d.getElementsByTagName(t)[0],i.parentNode.insertBefore(n,i)})(window,document,""script"",""//bat.bing.com/bat.js"",""uetq"");</script> 404 <script"); 405 406 WriteLiteralTo(__razor_helper_writer, " src=\"https://my.hellobar.com/cef4edf037f4a5eb8a87717b77b678872e81b91e.js\""); 407 408 WriteLiteralTo(__razor_helper_writer, " type=\"text/javascript\""); 409 410 WriteLiteralTo(__razor_helper_writer, " charset=\"utf-8\""); 411 412 WriteLiteralTo(__razor_helper_writer, " async=\"async\""); 413 414 WriteLiteralTo(__razor_helper_writer, @"></script> 415 <!-- end hellobar code --> 416 417 <!-- Facebook Pixel Code --> 418 419 <script> 420 421 !function(f,b,e,v,n,t,s) 422 423 {if(f.fbq)return;n=f.fbq=function(){n.callMethod? 424 425 n.callMethod.apply(n,arguments):n.queue.push(arguments)}; 426 427 if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0'; 428 429 n.queue=[];t=b.createElement(e);t.async=!0; 430 431 t.src=v;s=b.getElementsByTagName(e)[0]; 432 433 s.parentNode.insertBefore(t,s)}(window,document,'script', 434 435 'https://connect.facebook.net/en_US/fbevents.js'); 436 437 438 fbq('init', '1576804409143309'); 439 440 fbq('track', 'PageView'); 441 442 </script> 443 444 <noscript> 445 446 <img"); 447 448 WriteLiteralTo(__razor_helper_writer, " height=\"1\""); 449 450 WriteLiteralTo(__razor_helper_writer, " width=\"1\""); 451 452 WriteLiteralTo(__razor_helper_writer, " src=\"https://www.facebook.com/tr?id=1576804409143309&ev=PageView%0D%0A%0D%0A&nos" + 453 "cript=1\""); 454 455 WriteLiteralTo(__razor_helper_writer, ">\r\n\r\n</noscript>\r\n\r\n<!-- End Facebook Pixel Code --> \r\n \r\n <title>"); 456 457 458 #line 188 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 459 WriteTo(__razor_helper_writer, GetValue("Title")); 460 461 462 #line default 463 #line hidden 464 WriteLiteralTo(__razor_helper_writer, "</title>\r\n <meta"); 465 466 WriteLiteralTo(__razor_helper_writer, " http-equiv=\"content-type\""); 467 468 WriteLiteralTo(__razor_helper_writer, " content=\"text/html; charset=utf-8\""); 469 470 WriteLiteralTo(__razor_helper_writer, ">\r\n <meta"); 471 472 WriteLiteralTo(__razor_helper_writer, " name=\"viewport\""); 473 474 WriteLiteralTo(__razor_helper_writer, " content=\"initial-scale=1.0, width=device-width, user-scalable=no\""); 475 476 WriteLiteralTo(__razor_helper_writer, ">\r\n <meta"); 477 478 WriteLiteralTo(__razor_helper_writer, " http-equiv=\"X-UA-Compatible\""); 479 480 WriteLiteralTo(__razor_helper_writer, " content=\"IE=edge\""); 481 482 WriteLiteralTo(__razor_helper_writer, ">\r\n <meta"); 483 484 WriteLiteralTo(__razor_helper_writer, " name=\"SKYPE_TOOLBAR\""); 485 486 WriteLiteralTo(__razor_helper_writer, " content=\"SKYPE_TOOLBAR_PARSER_COMPATIBLE\""); 487 488 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 489 490 491 #line 193 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 492 493 494 #line default 495 #line hidden 496 497 #line 193 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 498 if (!string.IsNullOrEmpty(robots)) 499 { 500 501 502 #line default 503 #line hidden 504 WriteLiteralTo(__razor_helper_writer, " <meta"); 505 506 WriteLiteralTo(__razor_helper_writer, " name=\"robots\""); 507 508 WriteAttributeTo(__razor_helper_writer, "content", Tuple.Create(" content=\"", 10349), Tuple.Create("\"", 10366) 509 510 #line 195 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 511 , Tuple.Create(Tuple.Create("", 10359), Tuple.Create<System.Object, System.Int32>(robots 512 513 #line default 514 #line hidden 515 , 10359), false) 516 ); 517 518 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 519 520 521 #line 196 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 522 } 523 524 525 #line default 526 #line hidden 527 WriteLiteralTo(__razor_helper_writer, " "); 528 529 530 #line 197 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 531 WriteTo(__razor_helper_writer, OgMeta(designName)); 532 533 534 #line default 535 #line hidden 536 WriteLiteralTo(__razor_helper_writer, "\r\n"); 537 538 WriteLiteralTo(__razor_helper_writer, " "); 539 540 541 #line 198 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 542 WriteTo(__razor_helper_writer, RenderSnippet("OGMeta")); 543 544 545 #line default 546 #line hidden 547 WriteLiteralTo(__razor_helper_writer, "\r\n"); 548 549 WriteLiteralTo(__razor_helper_writer, " "); 550 551 552 #line 199 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 553 WriteTo(__razor_helper_writer, GetString("MetaTags")); 554 555 556 #line default 557 #line hidden 558 WriteLiteralTo(__razor_helper_writer, "\r\n"); 559 560 WriteLiteralTo(__razor_helper_writer, " "); 561 562 563 #line 200 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 564 WriteTo(__razor_helper_writer, GetString("CopyRightNotice")); 565 566 567 #line default 568 #line hidden 569 WriteLiteralTo(__razor_helper_writer, "\r\n"); 570 571 WriteLiteralTo(__razor_helper_writer, " "); 572 573 574 #line 201 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 575 WriteTo(__razor_helper_writer, GetString("Stylesheets")); 576 577 578 #line default 579 #line hidden 580 WriteLiteralTo(__razor_helper_writer, "\r\n"); 581 582 WriteLiteralTo(__razor_helper_writer, " "); 583 584 585 #line 202 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 586 WriteTo(__razor_helper_writer, RenderSnippet("outScripts")); 587 588 589 #line default 590 #line hidden 591 WriteLiteralTo(__razor_helper_writer, "\r\n"); 592 593 WriteLiteralTo(__razor_helper_writer, " "); 594 595 596 #line 203 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 597 WriteTo(__razor_helper_writer, GetString("Javascripts")); 598 599 600 #line default 601 #line hidden 602 WriteLiteralTo(__razor_helper_writer, @" 603 604 <!-- Begin Bing Conversion Tracking --> 605 606 <script>(function(w,d,t,r,u){var f,n,i;w[u]=w[u]||[],f=function(){var o={ti:""21000061""};o.q=w[u],w[u]=new UET(o),w[u].push(""pageLoad"")},n=d.createElement(t),n.src=r,n.async=1,n.onload=n.onreadystatechange=function(){var s=this.readyState;s&&s!==""loaded""&&s!==""complete""||(f(),n.onload=n.onreadystatechange=null)},i=d.getElementsByTagName(t)[0],i.parentNode.insertBefore(n,i)})(window,document,""script"",""//bat.bing.com/bat.js"",""uetq"");</script> 607 608 <!-- End Bing Conversion Tracking Code --> 609 610 <link"); 611 612 WriteLiteralTo(__razor_helper_writer, " rel=\"shortcut icon\""); 613 614 WriteAttributeTo(__razor_helper_writer, "href", Tuple.Create(" href=\"", 11175), Tuple.Create("\"", 11215) 615 616 #line 211 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 617 , Tuple.Create(Tuple.Create("", 11182), Tuple.Create<System.Object, System.Int32>(designFolder 618 619 #line default 620 #line hidden 621 , 11182), false) 622 , Tuple.Create(Tuple.Create("", 11197), Tuple.Create("images/favicon.ico", 11197), true) 623 ); 624 625 WriteLiteralTo(__razor_helper_writer, " type=\"image/x-icon\""); 626 627 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 628 629 630 #line 212 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 631 632 633 #line default 634 #line hidden 635 636 #line 212 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 637 638 var minify = GetBoolean("Item.Area.Minify_CSS_And_JavaScript"); 639 var styleBundle = Dna.Optimizer.Renderer.RenderStyles(string.Format("{0}css", designFolder), "-main-styles", null, new[] { "exceptions" }, minify, true, true); 640 var scriptBundle = Dna.Optimizer.Renderer.RenderScripts(string.Format("{0}js", designFolder), "-main-scripts", null, new[] { "exceptions" }, minify, true, true); 641 642 643 #line default 644 #line hidden 645 WriteLiteralTo(__razor_helper_writer, "\r\n <link"); 646 647 WriteLiteralTo(__razor_helper_writer, " rel=\"stylesheet\""); 648 649 WriteAttributeTo(__razor_helper_writer, "href", Tuple.Create(" href=\"", 11687), Tuple.Create("\"", 11706) 650 651 #line 217 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 652 , Tuple.Create(Tuple.Create("", 11694), Tuple.Create<System.Object, System.Int32>(styleBundle 653 654 #line default 655 #line hidden 656 , 11694), false) 657 ); 658 659 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 660 661 662 #line 218 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 663 664 665 #line default 666 #line hidden 667 668 #line 218 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 669 if (googleReCaptchaSiteKey.IsNotNullOrEmpty()) 670 { 671 672 673 #line default 674 #line hidden 675 WriteLiteralTo(__razor_helper_writer, " <script"); 676 677 WriteLiteralTo(__razor_helper_writer, " src=\"https://www.google.com/recaptcha/api.js\""); 678 679 WriteLiteralTo(__razor_helper_writer, " async=\"\""); 680 681 WriteLiteralTo(__razor_helper_writer, " defer=\"\""); 682 683 WriteLiteralTo(__razor_helper_writer, "></script> \r\n"); 684 685 686 #line 221 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 687 } 688 689 690 #line default 691 #line hidden 692 WriteLiteralTo(__razor_helper_writer, " <script"); 693 694 WriteAttributeTo(__razor_helper_writer, "src", Tuple.Create(" src=\"", 11879), Tuple.Create("\"", 11898) 695 696 #line 222 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 697 , Tuple.Create(Tuple.Create("", 11885), Tuple.Create<System.Object, System.Int32>(scriptBundle 698 699 #line default 700 #line hidden 701 , 11885), false) 702 ); 703 704 WriteLiteralTo(__razor_helper_writer, "></script>\r\n"); 705 706 WriteLiteralTo(__razor_helper_writer, " "); 707 708 709 #line 223 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 710 WriteTo(__razor_helper_writer, SnippetStart("outScripts")); 711 712 713 #line default 714 #line hidden 715 WriteLiteralTo(__razor_helper_writer, " "); 716 717 718 #line 223 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 719 WriteTo(__razor_helper_writer, SnippetEnd("outScripts")); 720 721 722 #line default 723 #line hidden 724 WriteLiteralTo(__razor_helper_writer, "\r\n <!--[if lte IE 9]>\r\n <script src=\"//html5shim.googlecode.com/svn/trunk" + 725 "/html5.js\"></script>\r\n <script src=\"//cdnjs.cloudflare.com/ajax/libs/respon" + 726 "d.js/1.1.0/respond.min.js\"></script>\r\n <![endif]-->\r\n <script>\r\n"); 727 728 WriteLiteralTo(__razor_helper_writer, " "); 729 730 731 #line 229 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 732 WriteTo(__razor_helper_writer, RenderSnippet("jsVariables")); 733 734 735 #line default 736 #line hidden 737 WriteLiteralTo(__razor_helper_writer, "\r\n"); 738 739 WriteLiteralTo(__razor_helper_writer, " "); 740 741 742 #line 230 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 743 WriteTo(__razor_helper_writer, SnippetStart("jsVariables")); 744 745 746 #line default 747 #line hidden 748 WriteLiteralTo(__razor_helper_writer, " "); 749 750 751 #line 230 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 752 WriteTo(__razor_helper_writer, SnippetEnd("jsVariables")); 753 754 755 #line default 756 #line hidden 757 WriteLiteralTo(__razor_helper_writer, "\r\n\r\n var obj_pages = {\r\n str_miniCart: \'"); 758 759 760 #line 233 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 761 WriteTo(__razor_helper_writer, Dynamicweb.Frontend.SearchEngineFriendlyURLs.GetFriendlyUrl(GetString("Item.Area.MiniCart"))); 762 763 764 #line default 765 #line hidden 766 WriteLiteralTo(__razor_helper_writer, "\',\r\n str_login: \'"); 767 768 769 #line 234 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 770 WriteTo(__razor_helper_writer, Dynamicweb.Frontend.SearchEngineFriendlyURLs.GetFriendlyUrl(GetString("Item.Area.Login"))); 771 772 773 #line default 774 #line hidden 775 WriteLiteralTo(__razor_helper_writer, "\',\r\n str_globalTranslates: \'"); 776 777 778 #line 235 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 779 WriteTo(__razor_helper_writer, Dynamicweb.Frontend.SearchEngineFriendlyURLs.GetFriendlyUrl(GetString("Item.Area.GlobalTranslates"))); 780 781 782 #line default 783 #line hidden 784 WriteLiteralTo(__razor_helper_writer, "\',\r\n str_contactPopup : \'"); 785 786 787 #line 236 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 788 WriteTo(__razor_helper_writer, Dynamicweb.Frontend.SearchEngineFriendlyURLs.GetFriendlyUrl(GetString("Item.Area.ContactUs_Popup"))); 789 790 791 #line default 792 #line hidden 793 WriteLiteralTo(__razor_helper_writer, "\',\r\n str_cartInformation: \'"); 794 795 796 #line 237 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 797 WriteTo(__razor_helper_writer, Dynamicweb.Frontend.SearchEngineFriendlyURLs.GetFriendlyUrl(GetString("Item.Area.Cart_Information"))); 798 799 800 #line default 801 #line hidden 802 WriteLiteralTo(__razor_helper_writer, "\',\r\n str_typeAhead : \'"); 803 804 805 #line 238 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 806 WriteTo(__razor_helper_writer, Dynamicweb.Frontend.SearchEngineFriendlyURLs.GetFriendlyUrl(GetString("Item.Area.TypeAhead"))); 807 808 809 #line default 810 #line hidden 811 WriteLiteralTo(__razor_helper_writer, "\'\r\n },\r\n obj_user = {\r\n str_country: \'"); 812 813 814 #line 241 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 815 WriteTo(__razor_helper_writer, userCountryCode); 816 817 818 #line default 819 #line hidden 820 WriteLiteralTo(__razor_helper_writer, "\',\r\n str_state: \'"); 821 822 823 #line 242 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 824 WriteTo(__razor_helper_writer, userState); 825 826 827 #line default 828 #line hidden 829 WriteLiteralTo(__razor_helper_writer, "\',\r\n str_accountsNumber:\'"); 830 831 832 #line 243 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 833 WriteTo(__razor_helper_writer, userAccountsNumber); 834 835 836 #line default 837 #line hidden 838 WriteLiteralTo(__razor_helper_writer, "\'\r\n },\r\n obj_settings = {\r\n str_contactTimeout: \'"); 839 840 841 #line 246 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 842 WriteTo(__razor_helper_writer, GetString("Item.Area.Time")); 843 844 845 #line default 846 #line hidden 847 WriteLiteralTo(__razor_helper_writer, "\',\r\n str_cartQty: \'"); 848 849 850 #line 247 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 851 WriteTo(__razor_helper_writer, GetString("Ecom:Order.OrderLines.TotalProductQuantity")); 852 853 854 #line default 855 #line hidden 856 WriteLiteralTo(__razor_helper_writer, "\'\r\n },\r\n obj_translates = {\r\n str_seeAll: \'"); 857 858 859 #line 250 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 860 WriteTo(__razor_helper_writer, Translate("seeAllThe", "See all the")); 861 862 863 #line default 864 #line hidden 865 WriteLiteralTo(__razor_helper_writer, "\',\r\n str_results: \'"); 866 867 868 #line 251 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 869 WriteTo(__razor_helper_writer, Translate("results", "results")); 870 871 872 #line default 873 #line hidden 874 WriteLiteralTo(__razor_helper_writer, "\',\r\n str_invalidAddress: \'"); 875 876 877 #line 252 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 878 WriteTo(__razor_helper_writer, Translate("invalidAddress", "Something isn’t correct with your address. Please check that each *required line has appropriate information in it, e.g. Address line 1 has an actual street address.")); 879 880 881 #line default 882 #line hidden 883 WriteLiteralTo(__razor_helper_writer, "\'\r\n };\r\n $(function () {\r\n"); 884 885 WriteLiteralTo(__razor_helper_writer, " "); 886 887 888 #line 255 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 889 WriteTo(__razor_helper_writer, UserDoesNotExist()); 890 891 892 #line default 893 #line hidden 894 WriteLiteralTo(__razor_helper_writer, "\r\n"); 895 896 WriteLiteralTo(__razor_helper_writer, " "); 897 898 899 #line 256 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 900 WriteTo(__razor_helper_writer, RenderSnippet("jsOnLoadVariables")); 901 902 903 #line default 904 #line hidden 905 WriteLiteralTo(__razor_helper_writer, "\r\n"); 906 907 WriteLiteralTo(__razor_helper_writer, " "); 908 909 910 #line 257 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 911 WriteTo(__razor_helper_writer, SnippetStart("jsOnLoadVariables")); 912 913 914 #line default 915 #line hidden 916 WriteLiteralTo(__razor_helper_writer, " "); 917 918 919 #line 257 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 920 WriteTo(__razor_helper_writer, SnippetEnd("jsOnLoadVariables")); 921 922 923 #line default 924 #line hidden 925 WriteLiteralTo(__razor_helper_writer, "\r\n"); 926 927 WriteLiteralTo(__razor_helper_writer, " "); 928 929 930 #line 258 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 931 WriteTo(__razor_helper_writer, RenderSnippet("jsOnLoad")); 932 933 934 #line default 935 #line hidden 936 WriteLiteralTo(__razor_helper_writer, "\r\n"); 937 938 WriteLiteralTo(__razor_helper_writer, " "); 939 940 941 #line 259 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 942 WriteTo(__razor_helper_writer, SnippetStart("jsOnLoad")); 943 944 945 #line default 946 #line hidden 947 WriteLiteralTo(__razor_helper_writer, " "); 948 949 950 #line 259 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 951 WriteTo(__razor_helper_writer, SnippetEnd("jsOnLoad")); 952 953 954 #line default 955 #line hidden 956 WriteLiteralTo(__razor_helper_writer, "\r\n });\r\n"); 957 958 959 #line 261 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 960 961 962 #line default 963 #line hidden 964 965 #line 261 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 966 if(!string.IsNullOrWhiteSpace(GetString("Item.Area.GoogleAnalytics"))) 967 { 968 969 970 #line default 971 #line hidden 972 WriteLiteralTo(__razor_helper_writer, " "); 973 974 WriteLiteralTo(__razor_helper_writer, @" 975 (function (i, s, o, g, r, a, m) { 976 i['GoogleAnalyticsObject'] = r; i[r] = i[r] || function () { 977 (i[r].q = i[r].q || []).push(arguments) 978 }, i[r].l = 1 * new Date(); a = s.createElement(o), 979 m = s.getElementsByTagName(o)[0]; a.async = 1; a.src = g; m.parentNode.insertBefore(a, m) 980 })(window, document, 'script', '//www.google-analytics.com/analytics.js', 'ga'); 981 982 ga('create', '"); 983 984 985 #line 271 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 986 WriteTo(__razor_helper_writer, GetString("Item.Area.GoogleAnalytics")); 987 988 989 #line default 990 #line hidden 991 WriteLiteralTo(__razor_helper_writer, "\', \'auto\');\r\n ga(\'send\', \'pageview\');\r\n "); 992 993 WriteLiteralTo(__razor_helper_writer, "\r\n"); 994 995 996 #line 274 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 997 } 998 999 1000 #line default 1001 #line hidden 1002 WriteLiteralTo(__razor_helper_writer, " </script>\r\n"); 1003 1004 1005 #line 276 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 1006 1007 1008 #line default 1009 #line hidden 1010 1011 #line 276 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 1012 1013 var googleAdwords = GetString("Item.Area.GoogleAdwords"); 1014 1015 1016 #line default 1017 #line hidden 1018 WriteLiteralTo(__razor_helper_writer, "\r\n"); 1019 1020 1021 #line 279 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 1022 1023 1024 #line default 1025 #line hidden 1026 1027 #line 279 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 1028 if (!string.IsNullOrWhiteSpace(googleAdwords)) 1029 { 1030 1031 1032 #line default 1033 #line hidden 1034 WriteLiteralTo(__razor_helper_writer, " <script"); 1035 1036 WriteLiteralTo(__razor_helper_writer, " async=\"\""); 1037 1038 WriteAttributeTo(__razor_helper_writer, "src", Tuple.Create(" src=\"", 14983), Tuple.Create("\"", 15047) 1039 , Tuple.Create(Tuple.Create("", 14989), Tuple.Create("https://www.googletagmanager.com/gtag/js?id=", 14989), true) 1040 1041 #line 281 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 1042 , Tuple.Create(Tuple.Create("", 15033), Tuple.Create<System.Object, System.Int32>(googleAdwords 1043 1044 #line default 1045 #line hidden 1046 , 15033), false) 1047 ); 1048 1049 WriteLiteralTo(__razor_helper_writer, "></script>\r\n"); 1050 1051 WriteLiteralTo(__razor_helper_writer, " <script>\r\n window.dataLayer = window.dataLayer || [];\r\n funct" + 1052 "ion gtag(){dataLayer.push(arguments);}\r\n gtag(\'js\', new Date());\r\n \r\n " + 1053 " gtag(\'config\', \'"); 1054 1055 1056 #line 287 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 1057 WriteTo(__razor_helper_writer, googleAdwords); 1058 1059 1060 #line default 1061 #line hidden 1062 WriteLiteralTo(__razor_helper_writer, "\');\r\n </script>\r\n"); 1063 1064 1065 #line 289 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 1066 } 1067 1068 1069 #line default 1070 #line hidden 1071 WriteLiteralTo(__razor_helper_writer, " \r\n"); 1072 1073 WriteLiteralTo(__razor_helper_writer, " "); 1074 1075 1076 #line 291 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 1077 WriteTo(__razor_helper_writer, RenderSnippet("eCommerceTracking")); 1078 1079 1080 #line default 1081 #line hidden 1082 WriteLiteralTo(__razor_helper_writer, "\r\n"); 1083 1084 WriteLiteralTo(__razor_helper_writer, " "); 1085 1086 1087 #line 292 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 1088 WriteTo(__razor_helper_writer, SnippetStart("eCommerceTracking")); 1089 1090 1091 #line default 1092 #line hidden 1093 WriteLiteralTo(__razor_helper_writer, " "); 1094 1095 1096 #line 292 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 1097 WriteTo(__razor_helper_writer, SnippetEnd("eCommerceTracking")); 1098 1099 1100 #line default 1101 #line hidden 1102 WriteLiteralTo(__razor_helper_writer, "\r\n </head>\r\n"); 1103 1104 1105 #line 294 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 1106 1107 1108 #line default 1109 #line hidden 1110 }); 1111 1112 #line 294 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 1113 } 1114 #line default 1115 #line hidden 1116 1117 1118 #line 295 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 1119 public RazorEngine.Templating.TemplateWriter RenderPageImageVideo(string image, string video) 1120 { 1121 #line default 1122 #line hidden 1123 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 1124 1125 #line 296 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 1126 1127 if (!String.IsNullOrWhiteSpace(video)) 1128 { 1129 image = "/Admin/Public/GetImage.ashx?Image=" + image + "&Height=1080&Crop=5"; 1130 1131 1132 1133 #line default 1134 #line hidden 1135 WriteLiteralTo(__razor_helper_writer, " <section"); 1136 1137 WriteLiteralTo(__razor_helper_writer, " id=\"topMediaContainer\""); 1138 1139 WriteLiteralTo(__razor_helper_writer, " data-image=\""); 1140 1141 1142 #line 301 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 1143 WriteTo(__razor_helper_writer, image); 1144 1145 1146 #line default 1147 #line hidden 1148 WriteLiteralTo(__razor_helper_writer, "\""); 1149 1150 WriteLiteralTo(__razor_helper_writer, " data-video=\""); 1151 1152 1153 #line 301 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 1154 WriteTo(__razor_helper_writer, video); 1155 1156 1157 #line default 1158 #line hidden 1159 WriteLiteralTo(__razor_helper_writer, "\""); 1160 1161 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 1162 1163 1164 #line 302 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 1165 1166 1167 #line default 1168 #line hidden 1169 1170 #line 302 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 1171 if (!String.IsNullOrWhiteSpace(image)) 1172 { 1173 1174 1175 #line default 1176 #line hidden 1177 WriteLiteralTo(__razor_helper_writer, " <img"); 1178 1179 WriteAttributeTo(__razor_helper_writer, "src", Tuple.Create(" src=\"", 15798), Tuple.Create("\"", 15810) 1180 1181 #line 304 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 1182 , Tuple.Create(Tuple.Create("", 15804), Tuple.Create<System.Object, System.Int32>(image 1183 1184 #line default 1185 #line hidden 1186 , 15804), false) 1187 ); 1188 1189 WriteLiteralTo(__razor_helper_writer, " class=\"hidden\""); 1190 1191 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 1192 1193 1194 #line 305 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 1195 } 1196 1197 1198 #line default 1199 #line hidden 1200 WriteLiteralTo(__razor_helper_writer, " "); 1201 1202 1203 #line 306 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 1204 if (!String.IsNullOrWhiteSpace(video)) 1205 { 1206 1207 1208 #line default 1209 #line hidden 1210 WriteLiteralTo(__razor_helper_writer, " <span"); 1211 1212 WriteLiteralTo(__razor_helper_writer, " class=\"hidden\""); 1213 1214 WriteLiteralTo(__razor_helper_writer, ">"); 1215 1216 1217 #line 308 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 1218 WriteTo(__razor_helper_writer, video); 1219 1220 1221 #line default 1222 #line hidden 1223 WriteLiteralTo(__razor_helper_writer, "</span>\r\n"); 1224 1225 1226 #line 309 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 1227 } 1228 1229 1230 #line default 1231 #line hidden 1232 WriteLiteralTo(__razor_helper_writer, " </section>\r\n"); 1233 1234 1235 #line 311 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 1236 1237 1238 #line default 1239 #line hidden 1240 1241 #line 311 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 1242 WriteTo(__razor_helper_writer, SnippetStart("jsOnLoad")); 1243 1244 1245 #line default 1246 #line hidden 1247 1248 #line 311 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 1249 1250 1251 1252 #line default 1253 #line hidden 1254 WriteLiteralTo(__razor_helper_writer, " "); 1255 1256 WriteLiteralTo(__razor_helper_writer, "onLoadTopMediaContainer(\""); 1257 1258 1259 #line 312 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 1260 WriteTo(__razor_helper_writer, GetString("Item.Page.ButtonText")); 1261 1262 1263 #line default 1264 #line hidden 1265 WriteLiteralTo(__razor_helper_writer, "\", \""); 1266 1267 1268 #line 312 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 1269 WriteTo(__razor_helper_writer, GetString("Item.Page.ButtonLink")); 1270 1271 1272 #line default 1273 #line hidden 1274 WriteLiteralTo(__razor_helper_writer, "\");\r\n"); 1275 1276 1277 #line 313 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 1278 1279 1280 #line default 1281 #line hidden 1282 1283 #line 313 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 1284 WriteTo(__razor_helper_writer, SnippetEnd("jsOnLoad")); 1285 1286 1287 #line default 1288 #line hidden 1289 1290 #line 313 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 1291 1292 } 1293 1294 1295 #line default 1296 #line hidden 1297 }); 1298 1299 #line 315 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 1300 } 1301 #line default 1302 #line hidden 1303 1304 1305 #line 317 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 1306 public RazorEngine.Templating.TemplateWriter RenderPageHeading(string heading, string subHeading, string image, string video, bool leftAlign) 1307 { 1308 #line default 1309 #line hidden 1310 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 1311 1312 #line 318 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 1313 1314 image = !String.IsNullOrWhiteSpace(image) ? "/Admin/Public/GetImage.ashx?Image=" + image + "&Height=1080&Crop=5" : ""; 1315 string topMediaContainerClass = GetBoolean("Item.Page.BigHeader") ? "bigHeader" : String.Empty; 1316 topMediaContainerClass += GetBoolean("Item.Page.NoWhiteText") ? " noWhiteText" : String.Empty; 1317 var request = System.Web.HttpContext.Current.Request.Params; 1318 string buttonText = GetString("Item.Page.ButtonText"), 1319 buttonLink = GetString("Item.Page.ButtonLink"); 1320 1321 // Group Image - Banner 1322 var isGroupBanner = false; 1323 if (request["groupid"] != null) 1324 { 1325 var group = Dynamicweb.Ecommerce.Products.Group.GetGroupById(request["groupid"].ToString()); 1326 1327 if(group != null){ 1328 if (group.ParentGroups.Count > 0) 1329 { 1330 group = group.ParentGroups[0]; 1331 } 1332 1333 var groupName = group.Name; 1334 var groupImage = !string.IsNullOrWhiteSpace(group.LargeImage) ? group.LargeImage : group.SmallImage; 1335 var groupDescription = group.ProductGroupFieldValues.GetProductGroupFieldValue("BannerDescription").Value.ToString(); 1336 var bannerTextColor = group.ProductGroupFieldValues.GetProductGroupFieldValue("BannerTextColor").Value.ToString(); 1337 var bannerTextBackgroundColor = group.ProductGroupFieldValues.GetProductGroupFieldValue("BannerTextBackgroundColor").Value.ToString(); 1338 var bannerTextBackgroundOpacity = group.ProductGroupFieldValues.GetProductGroupFieldValue("BannerTextBackgroundOpacity").Value.ToString(); 1339 1340 if (!string.IsNullOrWhiteSpace(groupImage)) 1341 { 1342 isGroupBanner = true; 1343 image = "/Admin/Public/GetImage.ashx?Image=/Files" + groupImage + "&Height=1080&Crop=5"; 1344 1345 1346 1347 #line default 1348 #line hidden 1349 WriteLiteralTo(__razor_helper_writer, " <section"); 1350 1351 WriteLiteralTo(__razor_helper_writer, " id=\"pageHeadingContainer\""); 1352 1353 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 18104), Tuple.Create("\"", 18147) 1354 , Tuple.Create(Tuple.Create("", 18112), Tuple.Create("groupBanner", 18112), true) 1355 1356 #line 350 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 1357 , Tuple.Create(Tuple.Create(" ", 18123), Tuple.Create<System.Object, System.Int32>(topMediaContainerClass 1358 1359 #line default 1360 #line hidden 1361 , 18124), false) 1362 ); 1363 1364 WriteAttributeTo(__razor_helper_writer, "style", Tuple.Create(" style=\"", 18148), Tuple.Create("\"", 18186) 1365 , Tuple.Create(Tuple.Create("", 18156), Tuple.Create("background-image:url(\'", 18156), true) 1366 1367 #line 350 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 1368 , Tuple.Create(Tuple.Create("", 18178), Tuple.Create<System.Object, System.Int32>(image 1369 1370 #line default 1371 #line hidden 1372 , 18178), false) 1373 , Tuple.Create(Tuple.Create("", 18184), Tuple.Create("\')", 18184), true) 1374 ); 1375 1376 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 1377 1378 WriteLiteralTo(__razor_helper_writer, " class=\"col-xs-12 col-md-6 col-md-offset-3\""); 1379 1380 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 1381 1382 WriteLiteralTo(__razor_helper_writer, " id=\"bannerTextBackground\""); 1383 1384 WriteAttributeTo(__razor_helper_writer, "style", Tuple.Create(" style=\"", 18296), Tuple.Create("\"", 18381) 1385 , Tuple.Create(Tuple.Create("", 18304), Tuple.Create("background:", 18304), true) 1386 1387 #line 352 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 1388 , Tuple.Create(Tuple.Create(" ", 18315), Tuple.Create<System.Object, System.Int32>(bannerTextBackgroundColor 1389 1390 #line default 1391 #line hidden 1392 , 18316), false) 1393 , Tuple.Create(Tuple.Create("", 18342), Tuple.Create(";", 18342), true) 1394 , Tuple.Create(Tuple.Create(" ", 18343), Tuple.Create("opacity:", 18344), true) 1395 1396 #line 352 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 1397 , Tuple.Create(Tuple.Create(" ", 18352), Tuple.Create<System.Object, System.Int32>(bannerTextBackgroundOpacity 1398 1399 #line default 1400 #line hidden 1401 , 18353), false) 1402 ); 1403 1404 WriteLiteralTo(__razor_helper_writer, "></div>\r\n <h2"); 1405 1406 WriteAttributeTo(__razor_helper_writer, "style", Tuple.Create(" style=\"", 18408), Tuple.Create("\"", 18440) 1407 , Tuple.Create(Tuple.Create("", 18416), Tuple.Create("color:", 18416), true) 1408 1409 #line 353 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 1410 , Tuple.Create(Tuple.Create(" ", 18422), Tuple.Create<System.Object, System.Int32>(bannerTextColor 1411 1412 #line default 1413 #line hidden 1414 , 18423), false) 1415 , Tuple.Create(Tuple.Create("", 18439), Tuple.Create(";", 18439), true) 1416 ); 1417 1418 WriteLiteralTo(__razor_helper_writer, ">"); 1419 1420 1421 #line 353 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 1422 WriteTo(__razor_helper_writer, groupName); 1423 1424 1425 #line default 1426 #line hidden 1427 WriteLiteralTo(__razor_helper_writer, "</h2>\r\n <p"); 1428 1429 WriteAttributeTo(__razor_helper_writer, "style", Tuple.Create(" style=\"", 18475), Tuple.Create("\"", 18518) 1430 , Tuple.Create(Tuple.Create("", 18483), Tuple.Create("color:", 18483), true) 1431 1432 #line 354 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 1433 , Tuple.Create(Tuple.Create(" ", 18489), Tuple.Create<System.Object, System.Int32>(bannerTextColor 1434 1435 #line default 1436 #line hidden 1437 , 18490), false) 1438 , Tuple.Create(Tuple.Create(" ", 18506), Tuple.Create("!important;", 18507), true) 1439 ); 1440 1441 WriteLiteralTo(__razor_helper_writer, ">"); 1442 1443 1444 #line 354 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 1445 WriteTo(__razor_helper_writer, groupDescription); 1446 1447 1448 #line default 1449 #line hidden 1450 WriteLiteralTo(__razor_helper_writer, "</p>\r\n </div>\r\n </section>\r\n"); 1451 1452 1453 #line 357 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 1454 } 1455 } 1456 } 1457 1458 if (!String.IsNullOrWhiteSpace(image) && String.IsNullOrWhiteSpace(video) && !isGroupBanner) 1459 { 1460 string layoutType = !string.IsNullOrWhiteSpace(subHeading) ? "twoColumn" : "oneColumn"; 1461 string headerClass = leftAlign ? "text-left" : ""; 1462 1463 1464 1465 #line default 1466 #line hidden 1467 WriteLiteralTo(__razor_helper_writer, " <section"); 1468 1469 WriteLiteralTo(__razor_helper_writer, " id=\"pageHeadingContainer\""); 1470 1471 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 18920), Tuple.Create("\"", 18951) 1472 1473 #line 366 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 1474 , Tuple.Create(Tuple.Create("", 18928), Tuple.Create<System.Object, System.Int32>(topMediaContainerClass 1475 1476 #line default 1477 #line hidden 1478 , 18928), false) 1479 ); 1480 1481 WriteAttributeTo(__razor_helper_writer, "style", Tuple.Create(" style=\"", 18952), Tuple.Create("\"", 18990) 1482 , Tuple.Create(Tuple.Create("", 18960), Tuple.Create("background-image:url(\'", 18960), true) 1483 1484 #line 366 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 1485 , Tuple.Create(Tuple.Create("", 18982), Tuple.Create<System.Object, System.Int32>(image 1486 1487 #line default 1488 #line hidden 1489 , 18982), false) 1490 , Tuple.Create(Tuple.Create("", 18988), Tuple.Create("\')", 18988), true) 1491 ); 1492 1493 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 1494 1495 WriteLiteralTo(__razor_helper_writer, " id=\"pageHeadingContent\""); 1496 1497 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 19032), Tuple.Create("\"", 19061) 1498 , Tuple.Create(Tuple.Create("", 19040), Tuple.Create("container", 19040), true) 1499 1500 #line 367 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 1501 , Tuple.Create(Tuple.Create(" ", 19049), Tuple.Create<System.Object, System.Int32>(layoutType 1502 1503 #line default 1504 #line hidden 1505 , 19050), false) 1506 ); 1507 1508 WriteLiteralTo(__razor_helper_writer, ">\r\n <p"); 1509 1510 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 19081), Tuple.Create("\"", 19104) 1511 , Tuple.Create(Tuple.Create("", 19089), Tuple.Create("h1", 19089), true) 1512 1513 #line 368 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 1514 , Tuple.Create(Tuple.Create(" ", 19091), Tuple.Create<System.Object, System.Int32>(headerClass 1515 1516 #line default 1517 #line hidden 1518 , 19092), false) 1519 ); 1520 1521 WriteLiteralTo(__razor_helper_writer, ">"); 1522 1523 1524 #line 368 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 1525 WriteTo(__razor_helper_writer, heading); 1526 1527 1528 #line default 1529 #line hidden 1530 WriteLiteralTo(__razor_helper_writer, "</p>\r\n <p>"); 1531 1532 1533 #line 369 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 1534 WriteTo(__razor_helper_writer, subHeading); 1535 1536 1537 #line default 1538 #line hidden 1539 WriteLiteralTo(__razor_helper_writer, "\r\n"); 1540 1541 1542 #line 370 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 1543 1544 1545 #line default 1546 #line hidden 1547 1548 #line 370 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 1549 if (!string.IsNullOrEmpty(buttonLink)) 1550 { 1551 1552 1553 #line default 1554 #line hidden 1555 WriteLiteralTo(__razor_helper_writer, " <a"); 1556 1557 WriteLiteralTo(__razor_helper_writer, " class=\"btn btn-bg pull-left\""); 1558 1559 WriteAttributeTo(__razor_helper_writer, "href", Tuple.Create(" href=\"", 19275), Tuple.Create("\"", 19293) 1560 1561 #line 372 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 1562 , Tuple.Create(Tuple.Create("", 19282), Tuple.Create<System.Object, System.Int32>(buttonLink 1563 1564 #line default 1565 #line hidden 1566 , 19282), false) 1567 ); 1568 1569 WriteLiteralTo(__razor_helper_writer, ">"); 1570 1571 1572 #line 372 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 1573 WriteTo(__razor_helper_writer, buttonText); 1574 1575 1576 #line default 1577 #line hidden 1578 WriteLiteralTo(__razor_helper_writer, "</a>\r\n"); 1579 1580 1581 #line 373 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 1582 } 1583 1584 1585 #line default 1586 #line hidden 1587 WriteLiteralTo(__razor_helper_writer, " </p>\r\n </div>\r\n </section>\r\n"); 1588 1589 1590 #line 377 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 1591 } 1592 1593 1594 #line default 1595 #line hidden 1596 }); 1597 1598 #line 378 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 1599 } 1600 #line default 1601 #line hidden 1602 1603 1604 #line 379 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 1605 public RazorEngine.Templating.TemplateWriter UserDoesNotExist() 1606 { 1607 #line default 1608 #line hidden 1609 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 1610 1611 #line 380 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 1612 1613 if (Dynamicweb.Environment.ExecutingContext.IsFrontEnd() && !Dynamicweb.Security.UserManagement.User.IsExtranetUserLoggedIn()) 1614 { 1615 if (!string.IsNullOrEmpty(System.Web.HttpContext.Current.Request.Params["Password"]) && !string.IsNullOrEmpty(System.Web.HttpContext.Current.Request.Params["Username"])) 1616 { 1617 1618 1619 #line default 1620 #line hidden 1621 1622 #line 385 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 1623 WriteTo(__razor_helper_writer, SnippetStart("jsOnLoad")); 1624 1625 1626 #line default 1627 #line hidden 1628 1629 #line 385 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 1630 1631 1632 1633 #line default 1634 #line hidden 1635 WriteLiteralTo(__razor_helper_writer, " "); 1636 1637 WriteLiteralTo(__razor_helper_writer, "var showLogin = true;\r\n"); 1638 1639 WriteLiteralTo(__razor_helper_writer, " "); 1640 1641 WriteLiteralTo(__razor_helper_writer, "alert(\""); 1642 1643 1644 #line 387 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 1645 WriteTo(__razor_helper_writer, Translate("userNotFoundInTheDatabase", "User not found in the database")); 1646 1647 1648 #line default 1649 #line hidden 1650 WriteLiteralTo(__razor_helper_writer, "\");\r\n"); 1651 1652 1653 #line 388 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 1654 1655 1656 #line default 1657 #line hidden 1658 1659 #line 388 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 1660 WriteTo(__razor_helper_writer, SnippetEnd("jsOnLoad")); 1661 1662 1663 #line default 1664 #line hidden 1665 1666 #line 388 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 1667 1668 } 1669 } 1670 1671 1672 #line default 1673 #line hidden 1674 }); 1675 1676 #line 391 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 1677 } 1678 #line default 1679 #line hidden 1680 1681 1682 #line 392 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 1683 public RazorEngine.Templating.TemplateWriter Logo(string cssclass, string companyName, string designName) 1684 { 1685 #line default 1686 #line hidden 1687 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 1688 1689 #line 393 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 1690 1691 string logo = !string.IsNullOrEmpty(System.Web.HttpContext.Current.Request.Params["print"]) ? "/Admin/Public/GetImage.ashx?Image=/Files/Templates/Designs/"+designName+"/images/logo.png&Width=220" : "/Files/Templates/Designs/"+designName+"/images/logo.png"; 1692 1693 1694 1695 #line default 1696 #line hidden 1697 WriteLiteralTo(__razor_helper_writer, " <figure"); 1698 1699 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 20302), Tuple.Create("\"", 20319) 1700 1701 #line 396 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 1702 , Tuple.Create(Tuple.Create("", 20310), Tuple.Create<System.Object, System.Int32>(cssclass 1703 1704 #line default 1705 #line hidden 1706 , 20310), false) 1707 ); 1708 1709 WriteLiteralTo(__razor_helper_writer, " id=\"logo\""); 1710 1711 WriteLiteralTo(__razor_helper_writer, ">\r\n <a"); 1712 1713 WriteLiteralTo(__razor_helper_writer, " href=\"/\""); 1714 1715 WriteLiteralTo(__razor_helper_writer, ">\r\n <img"); 1716 1717 WriteLiteralTo(__razor_helper_writer, " class=\"img-responsive\""); 1718 1719 WriteAttributeTo(__razor_helper_writer, "src", Tuple.Create(" src=\"", 20384), Tuple.Create("\"", 20395) 1720 1721 #line 398 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 1722 , Tuple.Create(Tuple.Create("", 20390), Tuple.Create<System.Object, System.Int32>(logo 1723 1724 #line default 1725 #line hidden 1726 , 20390), false) 1727 ); 1728 1729 WriteAttributeTo(__razor_helper_writer, "alt", Tuple.Create(" alt=\"", 20396), Tuple.Create("\"", 20414) 1730 1731 #line 398 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 1732 , Tuple.Create(Tuple.Create("", 20402), Tuple.Create<System.Object, System.Int32>(companyName 1733 1734 #line default 1735 #line hidden 1736 , 20402), false) 1737 ); 1738 1739 WriteAttributeTo(__razor_helper_writer, "title", Tuple.Create(" title=\"", 20415), Tuple.Create("\"", 20435) 1740 1741 #line 398 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 1742 , Tuple.Create(Tuple.Create("", 20423), Tuple.Create<System.Object, System.Int32>(companyName 1743 1744 #line default 1745 #line hidden 1746 , 20423), false) 1747 ); 1748 1749 WriteLiteralTo(__razor_helper_writer, ">\r\n </a>\r\n </figure>\r\n"); 1750 1751 1752 #line 401 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 1753 1754 1755 #line default 1756 #line hidden 1757 }); 1758 1759 #line 401 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 1760 } 1761 #line default 1762 #line hidden 1763 1764 1765 #line 402 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 1766 public RazorEngine.Templating.TemplateWriter DemoBanner() 1767 { 1768 #line default 1769 #line hidden 1770 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 1771 1772 #line 403 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 1773 1774 if (GetBoolean("Item.Area.Banner") && System.Web.HttpContext.Current.Request.Cookies["demoMode"] == null) 1775 { 1776 1777 1778 #line default 1779 #line hidden 1780 WriteLiteralTo(__razor_helper_writer, " <div"); 1781 1782 WriteLiteralTo(__razor_helper_writer, " class=\"demoMode\""); 1783 1784 WriteLiteralTo(__razor_helper_writer, ">Demo</div>\r\n"); 1785 1786 1787 #line 407 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 1788 } 1789 1790 1791 #line default 1792 #line hidden 1793 }); 1794 1795 #line 408 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 1796 } 1797 #line default 1798 #line hidden 1799 1800 1801 #line 409 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 1802 public RazorEngine.Templating.TemplateWriter Copyright() 1803 { 1804 #line default 1805 #line hidden 1806 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 1807 1808 #line 410 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 1809 1810 1811 1812 #line default 1813 #line hidden 1814 WriteLiteralTo(__razor_helper_writer, " <div"); 1815 1816 WriteLiteralTo(__razor_helper_writer, " class=\"col-xs-12 copyright\""); 1817 1818 WriteLiteralTo(__razor_helper_writer, ">&copy; "); 1819 1820 1821 #line 411 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 1822 WriteTo(__razor_helper_writer, DateTime.Now.Year); 1823 1824 1825 #line default 1826 #line hidden 1827 WriteLiteralTo(__razor_helper_writer, " "); 1828 1829 1830 #line 411 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 1831 WriteTo(__razor_helper_writer, GetString("Item.Area.CompanyName")); 1832 1833 1834 #line default 1835 #line hidden 1836 WriteLiteralTo(__razor_helper_writer, " "); 1837 1838 WriteLiteralTo(__razor_helper_writer, "</div>\r\n"); 1839 1840 1841 #line 412 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 1842 1843 1844 #line default 1845 #line hidden 1846 }); 1847 1848 #line 412 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 1849 } 1850 #line default 1851 #line hidden 1852 1853 1854 #line 414 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 1855 public RazorEngine.Templating.TemplateWriter RenderSearchBar() 1856 { 1857 #line default 1858 #line hidden 1859 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 1860 1861 #line 415 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 1862 1863 var resultsPage = GetInteger("Item.Area.SearchResults"); 1864 var q = (System.Web.HttpContext.Current.Request["q"] ?? "").ToString(); 1865 1866 1867 1868 #line default 1869 #line hidden 1870 WriteLiteralTo(__razor_helper_writer, " <div"); 1871 1872 WriteLiteralTo(__razor_helper_writer, " id=\"searchContainer\""); 1873 1874 WriteLiteralTo(__razor_helper_writer, " class=\"col-sm-offset-4 col-sm-8 col-xs-12\""); 1875 1876 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 1877 1878 WriteLiteralTo(__razor_helper_writer, " class=\"searchContainer col-xs-12\""); 1879 1880 WriteLiteralTo(__razor_helper_writer, ">\r\n <form"); 1881 1882 WriteLiteralTo(__razor_helper_writer, " action=\"/Default.aspx\""); 1883 1884 WriteLiteralTo(__razor_helper_writer, " id=\"searchForm\""); 1885 1886 WriteLiteralTo(__razor_helper_writer, ">\r\n <fieldset"); 1887 1888 WriteLiteralTo(__razor_helper_writer, " class=\"col-xs-4 Select mandatory pull-right hidden\""); 1889 1890 WriteLiteralTo(__razor_helper_writer, ">\r\n <label"); 1891 1892 WriteLiteralTo(__razor_helper_writer, " for=\"searchSubmit\""); 1893 1894 WriteLiteralTo(__razor_helper_writer, " class=\"hide\""); 1895 1896 WriteLiteralTo(__razor_helper_writer, ">"); 1897 1898 1899 #line 423 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 1900 WriteTo(__razor_helper_writer, Translate("search", "Search")); 1901 1902 1903 #line default 1904 #line hidden 1905 WriteLiteralTo(__razor_helper_writer, "</label>\r\n <select"); 1906 1907 WriteLiteralTo(__razor_helper_writer, " name=\"ID\""); 1908 1909 WriteLiteralTo(__razor_helper_writer, ">\r\n <option"); 1910 1911 WriteAttributeTo(__razor_helper_writer, "value", Tuple.Create(" value=\"", 21373), Tuple.Create("\"", 21393) 1912 1913 #line 425 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 1914 , Tuple.Create(Tuple.Create("", 21381), Tuple.Create<System.Object, System.Int32>(resultsPage 1915 1916 #line default 1917 #line hidden 1918 , 21381), false) 1919 ); 1920 1921 WriteLiteralTo(__razor_helper_writer, " selected=\"\""); 1922 1923 WriteLiteralTo(__razor_helper_writer, ">"); 1924 1925 1926 #line 425 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 1927 WriteTo(__razor_helper_writer, Translate("productSearch", "Product Search")); 1928 1929 1930 #line default 1931 #line hidden 1932 WriteLiteralTo(__razor_helper_writer, "</option>\r\n </select>\r\n </fieldset>\r\n <fieldset"); 1933 1934 WriteLiteralTo(__razor_helper_writer, " class=\"col-xs-12 TextInput mandatory noPadding\""); 1935 1936 WriteLiteralTo(__razor_helper_writer, ">\r\n <label"); 1937 1938 WriteLiteralTo(__razor_helper_writer, " for=\"searchSubmit\""); 1939 1940 WriteLiteralTo(__razor_helper_writer, " class=\"hide\""); 1941 1942 WriteLiteralTo(__razor_helper_writer, ">"); 1943 1944 1945 #line 429 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 1946 WriteTo(__razor_helper_writer, Translate("search", "Search")); 1947 1948 1949 #line default 1950 #line hidden 1951 WriteLiteralTo(__razor_helper_writer, "</label>\r\n <input"); 1952 1953 WriteAttributeTo(__razor_helper_writer, "placeholder", Tuple.Create(" placeholder=\'", 21678), Tuple.Create("\'", 21722) 1954 1955 #line 430 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 1956 , Tuple.Create(Tuple.Create("", 21692), Tuple.Create<System.Object, System.Int32>(Translate("search", "Search") 1957 1958 #line default 1959 #line hidden 1960 , 21692), false) 1961 ); 1962 1963 WriteLiteralTo(__razor_helper_writer, " id=\"searchSubmit\""); 1964 1965 WriteLiteralTo(__razor_helper_writer, " data-error=\'"); 1966 1967 1968 #line 430 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 1969 WriteTo(__razor_helper_writer, Translate("searchText", "Search for something")); 1970 1971 1972 #line default 1973 #line hidden 1974 WriteLiteralTo(__razor_helper_writer, "\'"); 1975 1976 WriteLiteralTo(__razor_helper_writer, " type=\"text\""); 1977 1978 WriteLiteralTo(__razor_helper_writer, " name=\"q\""); 1979 1980 WriteAttributeTo(__razor_helper_writer, "value", Tuple.Create(" value=\"", 21824), Tuple.Create("\"", 21834) 1981 1982 #line 430 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 1983 , Tuple.Create(Tuple.Create("", 21832), Tuple.Create<System.Object, System.Int32>(q 1984 1985 #line default 1986 #line hidden 1987 , 21832), false) 1988 ); 1989 1990 WriteLiteralTo(__razor_helper_writer, ">\r\n </fieldset>\r\n <input"); 1991 1992 WriteLiteralTo(__razor_helper_writer, " type=\"submit\""); 1993 1994 WriteLiteralTo(__razor_helper_writer, " class=\"hidden\""); 1995 1996 WriteLiteralTo(__razor_helper_writer, " value=\"send\""); 1997 1998 WriteLiteralTo(__razor_helper_writer, ">\r\n </form>\r\n </div>\r\n <div"); 1999 2000 WriteLiteralTo(__razor_helper_writer, " id=\"autocompleteWrap\""); 2001 2002 WriteLiteralTo(__razor_helper_writer, ">&nbsp;</div>\r\n </div>\r\n"); 2003 2004 2005 #line 437 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 2006 2007 2008 #line default 2009 #line hidden 2010 }); 2011 2012 #line 437 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 2013 } 2014 #line default 2015 #line hidden 2016 2017 2018 #line 439 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 2019 2020 private string CommaSplittedString(string CommaSplittedString, string NewString) 2021 { 2022 2023 if (!string.IsNullOrEmpty(CommaSplittedString)) 2024 { 2025 CommaSplittedString += ", "; 2026 } 2027 CommaSplittedString += NewString; 2028 2029 return CommaSplittedString; 2030 } 2031 public static string StripHtml(string source) 2032 { 2033 return Regex.Replace(source, "<.*?>", string.Empty); 2034 } 2035 2036 #line default 2037 #line hidden 2038 2039 2040 #line 580 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 2041 public RazorEngine.Templating.TemplateWriter Breadcrumb() { 2042 #line default 2043 #line hidden 2044 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 2045 2046 #line 580 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 2047 2048 if (!string.IsNullOrEmpty(GetString("DwNavigation(breadCrumbsMenu2)"))) 2049 { 2050 2051 2052 #line default 2053 #line hidden 2054 WriteLiteralTo(__razor_helper_writer, " <div"); 2055 2056 WriteLiteralTo(__razor_helper_writer, " class=\"col-xs-12 noPadding\""); 2057 2058 WriteLiteralTo(__razor_helper_writer, ">\r\n <nav"); 2059 2060 WriteLiteralTo(__razor_helper_writer, " id=\"breadMenuContainer\""); 2061 2062 WriteLiteralTo(__razor_helper_writer, " class=\"col-xs-12 noPadding\""); 2063 2064 WriteLiteralTo(__razor_helper_writer, ">\r\n <ul"); 2065 2066 WriteLiteralTo(__razor_helper_writer, " id=\"breadCrumbsMenu\""); 2067 2068 WriteLiteralTo(__razor_helper_writer, ">\r\n <li><a"); 2069 2070 WriteLiteralTo(__razor_helper_writer, " href=\"/\""); 2071 2072 WriteLiteralTo(__razor_helper_writer, ">"); 2073 2074 2075 #line 586 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 2076 WriteTo(__razor_helper_writer, Translate("home", "Home")); 2077 2078 2079 #line default 2080 #line hidden 2081 WriteLiteralTo(__razor_helper_writer, "</a></li>\r\n"); 2082 2083 WriteLiteralTo(__razor_helper_writer, " "); 2084 2085 2086 #line 587 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 2087 WriteTo(__razor_helper_writer, GetValue("DwNavigation(breadCrumbsMenu2)")); 2088 2089 2090 #line default 2091 #line hidden 2092 WriteLiteralTo(__razor_helper_writer, "\r\n"); 2093 2094 2095 #line 588 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 2096 2097 2098 #line default 2099 #line hidden 2100 2101 #line 588 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 2102 if (!string.IsNullOrEmpty(System.Web.HttpContext.Current.Request.Params["productid"])) 2103 { 2104 2105 2106 #line default 2107 #line hidden 2108 WriteLiteralTo(__razor_helper_writer, " <li>\r\n &nbsp;»&nbsp;\r\n"); 2109 2110 WriteLiteralTo(__razor_helper_writer, " "); 2111 2112 2113 #line 592 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 2114 WriteTo(__razor_helper_writer, GetString("Title")); 2115 2116 2117 #line default 2118 #line hidden 2119 WriteLiteralTo(__razor_helper_writer, "\r\n </li>\r\n"); 2120 2121 2122 #line 594 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 2123 } 2124 2125 2126 #line default 2127 #line hidden 2128 WriteLiteralTo(__razor_helper_writer, " </ul>\r\n </nav>\r\n </div>\r\n"); 2129 2130 2131 #line 598 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 2132 } 2133 2134 2135 #line default 2136 #line hidden 2137 }); 2138 2139 #line 599 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 2140 } 2141 #line default 2142 #line hidden 2143 2144 2145 #line 601 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 2146 public RazorEngine.Templating.TemplateWriter PageTitle(string image, string video) 2147 { 2148 #line default 2149 #line hidden 2150 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 2151 2152 #line 602 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 2153 2154 if (String.IsNullOrWhiteSpace(image) && String.IsNullOrWhiteSpace(video) && !GetBoolean("Item.Page.HidePageTitle")) 2155 { 2156 string heading = GetString("Item.Page.PageHeading"), 2157 title = !String.IsNullOrEmpty(heading) ? heading : GetString("DwPageName"); 2158 2159 2160 #line default 2161 #line hidden 2162 WriteLiteralTo(__razor_helper_writer, " <div"); 2163 2164 WriteLiteralTo(__razor_helper_writer, " class=\"container pageTitle\""); 2165 2166 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 2167 2168 WriteLiteralTo(__razor_helper_writer, " class=\"h1\""); 2169 2170 WriteLiteralTo(__razor_helper_writer, ">"); 2171 2172 2173 #line 608 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 2174 WriteTo(__razor_helper_writer, title); 2175 2176 2177 #line default 2178 #line hidden 2179 WriteLiteralTo(__razor_helper_writer, "</div>\r\n </div>\r\n"); 2180 2181 2182 #line 610 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 2183 } 2184 2185 2186 #line default 2187 #line hidden 2188 }); 2189 2190 #line 611 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 2191 } 2192 #line default 2193 #line hidden 2194 2195 2196 #line 613 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 2197 public RazorEngine.Templating.TemplateWriter CentralContent(string rightClass = "col-xs-12 noPadding") { 2198 #line default 2199 #line hidden 2200 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 2201 2202 #line 613 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 2203 2204 if (!string.IsNullOrEmpty(GetString("DwContent(fullWidthContent)"))) 2205 { 2206 2207 2208 #line default 2209 #line hidden 2210 WriteLiteralTo(__razor_helper_writer, " <section"); 2211 2212 WriteLiteralTo(__razor_helper_writer, " id=\"fullWidthContainer\""); 2213 2214 WriteLiteralTo(__razor_helper_writer, " class=\"container-fluid fullWidthSection\""); 2215 2216 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 2217 2218 WriteLiteralTo(__razor_helper_writer, " id=\"fullWidthContent\""); 2219 2220 WriteLiteralTo(__razor_helper_writer, " class=\"row\""); 2221 2222 WriteLiteralTo(__razor_helper_writer, ">"); 2223 2224 2225 #line 617 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 2226 WriteTo(__razor_helper_writer, GetValue("DwContent(fullWidthContent)")); 2227 2228 2229 #line default 2230 #line hidden 2231 WriteLiteralTo(__razor_helper_writer, "</div>\r\n </section>\r\n"); 2232 2233 2234 #line 619 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 2235 } 2236 2237 if (!string.IsNullOrEmpty(GetString("DwContent(centralContent)"))) 2238 { 2239 2240 2241 #line default 2242 #line hidden 2243 WriteLiteralTo(__razor_helper_writer, " <div"); 2244 2245 WriteLiteralTo(__razor_helper_writer, " class=\"container\""); 2246 2247 WriteLiteralTo(__razor_helper_writer, ">\r\n <section"); 2248 2249 WriteLiteralTo(__razor_helper_writer, " id=\"centralContainer\""); 2250 2251 WriteLiteralTo(__razor_helper_writer, " class=\"col-xs-12 noPadding-xs\""); 2252 2253 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 2254 2255 WriteLiteralTo(__razor_helper_writer, " id=\"centralContent\""); 2256 2257 WriteLiteralTo(__razor_helper_writer, " class=\"row\""); 2258 2259 WriteLiteralTo(__razor_helper_writer, ">"); 2260 2261 2262 #line 625 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 2263 WriteTo(__razor_helper_writer, GetValue("DwContent(centralContent)")); 2264 2265 2266 #line default 2267 #line hidden 2268 WriteLiteralTo(__razor_helper_writer, "</div>\r\n </section>\r\n </div>\r\n"); 2269 2270 2271 #line 628 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 2272 } 2273 2274 if (!string.IsNullOrEmpty(GetString("DwContent(fullWidthContent2)"))) 2275 { 2276 2277 2278 #line default 2279 #line hidden 2280 WriteLiteralTo(__razor_helper_writer, " <section"); 2281 2282 WriteLiteralTo(__razor_helper_writer, " id=\"fullWidthContainer2\""); 2283 2284 WriteLiteralTo(__razor_helper_writer, " class=\"container-fluid fullWidthSection\""); 2285 2286 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 2287 2288 WriteLiteralTo(__razor_helper_writer, " id=\"fullWidthContent2\""); 2289 2290 WriteLiteralTo(__razor_helper_writer, " class=\"row\""); 2291 2292 WriteLiteralTo(__razor_helper_writer, ">"); 2293 2294 2295 #line 633 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 2296 WriteTo(__razor_helper_writer, GetValue("DwContent(fullWidthContent2)")); 2297 2298 2299 #line default 2300 #line hidden 2301 WriteLiteralTo(__razor_helper_writer, "</div>\r\n </section>\r\n"); 2302 2303 2304 #line 635 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 2305 } 2306 2307 if (!string.IsNullOrEmpty(GetString("DwContent(centralContent2)"))) 2308 { 2309 2310 2311 #line default 2312 #line hidden 2313 WriteLiteralTo(__razor_helper_writer, " <div"); 2314 2315 WriteLiteralTo(__razor_helper_writer, " class=\"container\""); 2316 2317 WriteLiteralTo(__razor_helper_writer, ">\r\n <section"); 2318 2319 WriteLiteralTo(__razor_helper_writer, " id=\"centralContainer2\""); 2320 2321 WriteLiteralTo(__razor_helper_writer, " class=\"col-xs-12 noPadding-xs\""); 2322 2323 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 2324 2325 WriteLiteralTo(__razor_helper_writer, " id=\"centralContent2\""); 2326 2327 WriteLiteralTo(__razor_helper_writer, " class=\"row\""); 2328 2329 WriteLiteralTo(__razor_helper_writer, ">"); 2330 2331 2332 #line 641 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 2333 WriteTo(__razor_helper_writer, GetValue("DwContent(centralContent2)")); 2334 2335 2336 #line default 2337 #line hidden 2338 WriteLiteralTo(__razor_helper_writer, "</div>\r\n </section>\r\n </div>\r\n"); 2339 2340 2341 #line 644 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 2342 } 2343 2344 2345 #line default 2346 #line hidden 2347 }); 2348 2349 #line 645 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 2350 } 2351 #line default 2352 #line hidden 2353 2354 2355 public RazorEngine_2111399a588b4acbae82d3467c4743c2() { 2356 } 2357 2358 public override void Execute() { 2359 2360 #line 8 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 2361 string designName = GetString("Template:DesignBaseUrl").Replace("/Files/Templates/Designs/", "").Replace("/", ""); 2362 2363 #line default 2364 #line hidden 2365 WriteLiteral("\r\n"); 2366 2367 WriteLiteral("\r\n"); 2368 2369 WriteLiteral("\r\n"); 2370 2371 2372 #line 456 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 2373 2374 var currentQuery = "Default.aspx" + System.Web.HttpContext.Current.Request.Url.Query; 2375 if (!string.IsNullOrEmpty(currentQuery) && currentQuery.ToLower().Equals(string.Format("default.aspx?id={0}", Pageview.Page.ID))) 2376 { 2377 var newQuery = currentQuery; 2378 var filterParamters = GetString("Item.Page.FilterParameters").Split(new string[] {"&", "?"}, StringSplitOptions.RemoveEmptyEntries); 2379 2380 foreach (var fp in filterParamters) 2381 { 2382 if (!currentQuery.Contains(fp.Substring(0, fp.IndexOf("=")) + "=")) 2383 { 2384 newQuery += newQuery.Contains("?") ? "&" : "?"; 2385 newQuery += fp; 2386 } 2387 } 2388 2389 if (currentQuery != newQuery) 2390 { 2391 System.Web.HttpContext.Current.Response.Redirect(Dynamicweb.Frontend.SearchEngineFriendlyURLs.GetFriendlyUrl(newQuery), true); 2392 } 2393 } 2394 2395 string device = Pageview.Device.ToString(); 2396 string homeOrSubpage = GetString("DwAreaFirstPageID") == Pageview.Page.ID.ToString() ? "home" : "subpage"; 2397 string print = !string.IsNullOrEmpty(System.Web.HttpContext.Current.Request.Params["print"]) ? "printOrPdf" : ""; 2398 string contactUsPage = GetString("Item.Area.ContactUs"); 2399 string countryCode = Dna.IP.Frontend.GetCountryCode(); 2400 string longLang = Pageview.GlobalTags.GetTagByName("Global:Area.LongLang").Value.ToString(); 2401 string email = GetString("Item.Area.Email"); 2402 string phone = GetString("Item.Area.Phone"); 2403 bool userIsLoggedIn = Dynamicweb.Security.UserManagement.User.IsExtranetUserLoggedIn(); 2404 bool isPrint = !string.IsNullOrEmpty(System.Web.HttpContext.Current.Request.Params["print"]); 2405 bool bol_backofficeLogged = Dynamicweb.Security.UserManagement.User.GetCurrentBackendUser() != null ? true : false; 2406 List<LoopItem> socialMedia = GetLoop("Item.Area.SocialNetworks"); 2407 List<LoopItem> websiteLanguages = GetLoop("WebsiteLanguages"); 2408 if (userIsLoggedIn) 2409 { 2410 string logedUserId = Pageview.User.CurrentSecondaryUser == null ? Dynamicweb.Security.UserManagement.User.GetCurrentExtranetUserId().ToString() : Pageview.User.CurrentSecondaryUser.ID.ToString(); 2411 System.Web.HttpContext.Current.Session["UserId"] = logedUserId; 2412 2413 if (System.Web.HttpContext.Current.Request["DWExtranetSecondaryUserSelector"] != null && Pageview.User.CurrentSecondaryUser != null) 2414 { 2415 System.Web.HttpContext.Current.Session["AccountsNumber"] = Pageview.User.CurrentSecondaryUser.GetUsersICanSetAsSecondary().Count; 2416 } 2417 } 2418 2419 2420 #line default 2421 #line hidden 2422 WriteLiteral("<!DOCTYPE HTML>\r\n<!--[if lt IE 8 ]><html class=\"ie7\" lang=\""); 2423 2424 2425 #line 502 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 2426 Write(longLang); 2427 2428 2429 #line default 2430 #line hidden 2431 WriteLiteral("\"><![endif]--><!--[if IE 8 ]><html class=\"ie8\" lang=\""); 2432 2433 2434 #line 502 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 2435 Write(longLang); 2436 2437 2438 #line default 2439 #line hidden 2440 WriteLiteral("\"><![endif]--><!--[if IE 9 ]><html class=\"ie9\" lang=\""); 2441 2442 2443 #line 502 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 2444 Write(longLang); 2445 2446 2447 #line default 2448 #line hidden 2449 WriteLiteral("\"><![endif]--><!--[if (gt IE 9)|!(IE)]><!-->\r\n<html"); 2450 2451 WriteAttribute("lang", Tuple.Create(" lang=\"", 25247), Tuple.Create("\"", 25265) 2452 2453 #line 503 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 2454 , Tuple.Create(Tuple.Create("", 25254), Tuple.Create<System.Object, System.Int32>(longLang 2455 2456 #line default 2457 #line hidden 2458 , 25254), false) 2459 ); 2460 2461 WriteLiteral(">\r\n<!--<![endif]-->\r\n"); 2462 2463 2464 #line 505 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 2465 Write(HtmlHead(designName)); 2466 2467 2468 #line default 2469 #line hidden 2470 WriteLiteral("\r\n<body"); 2471 2472 WriteAttribute("class", Tuple.Create(" class=\"", 25315), Tuple.Create("\"", 25386) 2473 2474 #line 506 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 2475 , Tuple.Create(Tuple.Create("", 25323), Tuple.Create<System.Object, System.Int32>(device 2476 2477 #line default 2478 #line hidden 2479 , 25323), false) 2480 , Tuple.Create(Tuple.Create(" ", 25330), Tuple.Create("logged_", 25331), true) 2481 2482 #line 506 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 2483 , Tuple.Create(Tuple.Create("", 25338), Tuple.Create<System.Object, System.Int32>(userIsLoggedIn.ToString() 2484 2485 #line default 2486 #line hidden 2487 , 25338), false) 2488 2489 #line 506 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 2490 , Tuple.Create(Tuple.Create(" ", 25364), Tuple.Create<System.Object, System.Int32>(homeOrSubpage 2491 2492 #line default 2493 #line hidden 2494 , 25365), false) 2495 2496 #line 506 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 2497 , Tuple.Create(Tuple.Create(" ", 25379), Tuple.Create<System.Object, System.Int32>(print 2498 2499 #line default 2500 #line hidden 2501 , 25380), false) 2502 ); 2503 2504 WriteLiteral(" data-countrycode=\""); 2505 2506 2507 #line 506 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 2508 Write(countryCode); 2509 2510 2511 #line default 2512 #line hidden 2513 WriteLiteral("\""); 2514 2515 WriteLiteral(">\r\n<div"); 2516 2517 WriteLiteral(" class=\"wrap\""); 2518 2519 WriteLiteral(">\r\n <header"); 2520 2521 WriteLiteral(" id=\"headerContainer\""); 2522 2523 WriteLiteral(" class=\"container-fluid noPadding\""); 2524 2525 WriteLiteral(">\r\n <h1"); 2526 2527 WriteLiteral(" class=\"hidden\""); 2528 2529 WriteLiteral(">"); 2530 2531 2532 #line 509 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 2533 Write(GetString("Title")); 2534 2535 2536 #line default 2537 #line hidden 2538 WriteLiteral("</h1>\r\n <div"); 2539 2540 WriteLiteral(" id=\"topHeaderContainer\""); 2541 2542 WriteLiteral(" class=\"col-xs-12 noPadding\""); 2543 2544 WriteLiteral(">\r\n <div"); 2545 2546 WriteLiteral(" class=\"container noPadding\""); 2547 2548 WriteLiteral(">\r\n"); 2549 2550 WriteLiteral(" "); 2551 2552 2553 #line 512 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 2554 Write(Logo("col-md-4 col-sm-6 col-xs-12", GetString("Item.Area.CompanyName"), designName)); 2555 2556 2557 #line default 2558 #line hidden 2559 WriteLiteral("\r\n"); 2560 2561 2562 #line 513 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 2563 2564 2565 #line default 2566 #line hidden 2567 2568 #line 513 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 2569 if (!string.IsNullOrEmpty(GetString("DwNavigation(topMenu)")) && !isPrint) 2570 { 2571 2572 2573 #line default 2574 #line hidden 2575 WriteLiteral(" <nav"); 2576 2577 WriteLiteral(" id=\"topMenuContainer\""); 2578 2579 WriteLiteral(" class=\"navbar navbar-default col-xs-12 col-sm-6 col-md-8\""); 2580 2581 WriteLiteral(">\r\n <div"); 2582 2583 WriteLiteral(" class=\"col-xs-12 welcomeBack\""); 2584 2585 WriteLiteral(">\r\n"); 2586 2587 2588 #line 517 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 2589 2590 2591 #line default 2592 #line hidden 2593 2594 #line 517 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 2595 if (userIsLoggedIn) 2596 { 2597 string userName = !string.IsNullOrWhiteSpace(Pageview.User.Name) ? Pageview.User.Name : string.Format("{0}{1}", Pageview.User.FirstName, Pageview.User.LastName); 2598 string pageId = Pageview.Page.ID.ToString(); 2599 bool isImpersonate = Pageview.User.CurrentSecondaryUser != null; 2600 string switchAccountUrl = string.Format("Default.aspx?ID={0}", (Pageview.Area.Item["ManageAccounts"] ?? "").ToString()); 2601 2602 if (isImpersonate && !(System.Web.HttpContext.Current.Session["AccountsNumber"] ?? "").ToString().Equals("1")) 2603 { 2604 2605 2606 #line default 2607 #line hidden 2608 WriteLiteral(" <span>"); 2609 2610 2611 #line 526 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 2612 Write(Translate("managingAccount", "Managing Account")); 2613 2614 2615 #line default 2616 #line hidden 2617 WriteLiteral(": "); 2618 2619 2620 #line 526 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 2621 Write(!string.IsNullOrWhiteSpace(userName) ? userName : Pageview.User.UserName); 2622 2623 2624 #line default 2625 #line hidden 2626 WriteLiteral("</span>\r\n"); 2627 2628 WriteLiteral(" <a"); 2629 2630 WriteAttribute("href", Tuple.Create(" href=\"", 27062), Tuple.Create("\"", 27086) 2631 2632 #line 527 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 2633 , Tuple.Create(Tuple.Create("", 27069), Tuple.Create<System.Object, System.Int32>(switchAccountUrl 2634 2635 #line default 2636 #line hidden 2637 , 27069), false) 2638 ); 2639 2640 WriteLiteral(">"); 2641 2642 2643 #line 527 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 2644 Write(Translate("switchAccount", "SwitchAccount")); 2645 2646 2647 #line default 2648 #line hidden 2649 WriteLiteral("</a>\r\n"); 2650 2651 WriteLiteral(" <a"); 2652 2653 WriteLiteral(" href=\"/Admin/Public/ExtranetLogoff.aspx\""); 2654 2655 WriteLiteral(">"); 2656 2657 2658 #line 528 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 2659 Write(Translate("logout", "Logout")); 2660 2661 2662 #line default 2663 #line hidden 2664 WriteLiteral("</a>\r\n"); 2665 2666 2667 #line 529 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 2668 } 2669 else 2670 { 2671 2672 2673 #line default 2674 #line hidden 2675 WriteLiteral(" <span>"); 2676 2677 2678 #line 532 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 2679 Write(Translate("welcomeBack", "Welcome Back,")); 2680 2681 2682 #line default 2683 #line hidden 2684 WriteLiteral(" "); 2685 2686 2687 #line 532 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 2688 Write(!string.IsNullOrWhiteSpace(userName) ? userName : Pageview.User.UserName); 2689 2690 2691 #line default 2692 #line hidden 2693 WriteLiteral("</span>\r\n"); 2694 2695 WriteLiteral(" <a"); 2696 2697 WriteLiteral(" href=\"/Admin/Public/ExtranetLogoff.aspx\""); 2698 2699 WriteLiteral(">"); 2700 2701 2702 #line 533 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 2703 Write(Translate("logout", "Logout")); 2704 2705 2706 #line default 2707 #line hidden 2708 WriteLiteral("</a>\r\n"); 2709 2710 2711 #line 534 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 2712 } 2713 } 2714 2715 2716 #line default 2717 #line hidden 2718 WriteLiteral(" </div>\r\n"); 2719 2720 WriteLiteral(" "); 2721 2722 2723 #line 537 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 2724 Write(RenderSearchBar()); 2725 2726 2727 #line default 2728 #line hidden 2729 WriteLiteral("\r\n"); 2730 2731 WriteLiteral(" "); 2732 2733 2734 #line 538 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 2735 Write(GetValue("DwNavigation(topMenu)")); 2736 2737 2738 #line default 2739 #line hidden 2740 WriteLiteral("\r\n </nav>\r\n"); 2741 2742 2743 #line 540 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 2744 } 2745 2746 2747 #line default 2748 #line hidden 2749 WriteLiteral(" </div>\r\n </div>\r\n <div"); 2750 2751 WriteLiteral(" id=\"menuMainContainer\""); 2752 2753 WriteLiteral(" class=\"col-xs-12 noPadding\""); 2754 2755 WriteLiteral(">\r\n <div"); 2756 2757 WriteLiteral(" id=\"mainNavContainer\""); 2758 2759 WriteLiteral(" class=\"col-xs-12 noPadding\""); 2760 2761 WriteLiteral(">\r\n <div"); 2762 2763 WriteLiteral(" class=\"container noPadding\""); 2764 2765 WriteLiteral(">\r\n"); 2766 2767 2768 #line 546 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 2769 2770 2771 #line default 2772 #line hidden 2773 2774 #line 546 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 2775 if (!string.IsNullOrEmpty(GetString("DwNavigation(menuMain)"))) 2776 { 2777 2778 2779 #line default 2780 #line hidden 2781 WriteLiteral(" <nav"); 2782 2783 WriteLiteral(" class=\"navbar navbar-default\""); 2784 2785 WriteLiteral(">\r\n <div"); 2786 2787 WriteLiteral(" class=\"navbar-header\""); 2788 2789 WriteLiteral(">\r\n <button"); 2790 2791 WriteLiteral(" type=\"button\""); 2792 2793 WriteLiteral(" class=\"navbar-toggle collapsed\""); 2794 2795 WriteLiteral(" data-toggle=\"collapse\""); 2796 2797 WriteLiteral(" data-target=\"#navbar\""); 2798 2799 WriteLiteral(" aria-expanded=\"false\""); 2800 2801 WriteLiteral(" aria-controls=\"navbar\""); 2802 2803 WriteLiteral(">\r\n <i"); 2804 2805 WriteLiteral(" class=\"fa fa-bars\""); 2806 2807 WriteLiteral("></i>\r\n </button>\r\n </d" + 2808 "iv>\r\n <div"); 2809 2810 WriteLiteral(" id=\"navbar\""); 2811 2812 WriteLiteral(" class=\"navbar-collapse collapse noPadding\""); 2813 2814 WriteLiteral(">\r\n"); 2815 2816 WriteLiteral(" "); 2817 2818 2819 #line 555 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 2820 Write(GetValue("DwNavigation(menuMain)")); 2821 2822 2823 #line default 2824 #line hidden 2825 WriteLiteral("\r\n </div>\r\n </nav>\r\n"); 2826 2827 2828 #line 558 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 2829 } 2830 2831 2832 #line default 2833 #line hidden 2834 WriteLiteral(" </div>\r\n </div>\r\n </div>\r\n"); 2835 2836 WriteLiteral(" "); 2837 2838 2839 #line 562 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 2840 Write(RenderSnippet("loginForm")); 2841 2842 2843 #line default 2844 #line hidden 2845 WriteLiteral("\r\n </header>\r\n"); 2846 2847 WriteLiteral(" "); 2848 2849 2850 #line 564 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 2851 Write(RenderPageImageVideo(GetString("Item.Page.Image"), GetString("Item.Page.Video"))); 2852 2853 2854 #line default 2855 #line hidden 2856 WriteLiteral("\r\n"); 2857 2858 WriteLiteral(" "); 2859 2860 2861 #line 565 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 2862 Write(RenderPageHeading(GetString("Item.Page.PageHeading"), GetString("Item.Page.PageSubHeading"), GetString("Item.Page.Image"), GetString("Item.Page.Video"), GetBoolean("Item.Page.PageHeadingAlignLeft"))); 2863 2864 2865 #line default 2866 #line hidden 2867 WriteLiteral("\r\n\r\n"); 2868 2869 2870 #line 567 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 2871 2872 2873 #line default 2874 #line hidden 2875 2876 #line 567 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 2877 if (!GetBoolean("Item.Page.Hide2ndLevelMenu") && !GetString("Item.ItemInstanceType").Equals("News")) 2878 { 2879 2880 2881 #line default 2882 #line hidden 2883 2884 #line 569 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 2885 Write(GetValue("DwNavigation(groupMenu)")); 2886 2887 2888 #line default 2889 #line hidden 2890 2891 #line 569 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 2892 2893 } 2894 2895 2896 #line default 2897 #line hidden 2898 WriteLiteral("\r\n <section"); 2899 2900 WriteLiteral(" id=\"contentWrapper\""); 2901 2902 WriteLiteral(">\r\n "); 2903 2904 WriteLiteral("\r\n\r\n"); 2905 2906 WriteLiteral("\r\n"); 2907 2908 WriteLiteral("\r\n"); 2909 2910 WriteLiteral("\r\n"); 2911 2912 WriteLiteral("\r\n"); 2913 2914 2915 #line 647 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 2916 Write(Breadcrumb()); 2917 2918 2919 #line default 2920 #line hidden 2921 WriteLiteral("\r\n"); 2922 2923 2924 #line 648 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 2925 Write(PageTitle()); 2926 2927 2928 #line default 2929 #line hidden 2930 WriteLiteral("\r\n"); 2931 2932 2933 #line 649 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 2934 if(!string.IsNullOrEmpty(GetString("DwNavigation(leftMenu)"))){ 2935 2936 2937 #line default 2938 #line hidden 2939 WriteLiteral(" <nav"); 2940 2941 WriteLiteral(" id=\"leftMenuContainer\""); 2942 2943 WriteLiteral(" class=\"col-sm-3 noPaddingLeft\""); 2944 2945 WriteLiteral(">\r\n"); 2946 2947 WriteLiteral(" "); 2948 2949 2950 #line 651 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 2951 Write(GetValue("DwNavigation(leftMenu)")); 2952 2953 2954 #line default 2955 #line hidden 2956 WriteLiteral("\r\n </nav>\r\n"); 2957 2958 2959 #line 653 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 2960 } 2961 2962 2963 #line default 2964 #line hidden 2965 2966 #line 654 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 2967 Write(CentralContent("col-xs-9 noPadding")); 2968 2969 2970 #line default 2971 #line hidden 2972 WriteLiteral("\r\n </section>\r\n\r\n"); 2973 2974 2975 #line 657 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 2976 2977 2978 #line default 2979 #line hidden 2980 2981 #line 657 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 2982 if (!isPrint) 2983 { 2984 2985 2986 #line default 2987 #line hidden 2988 WriteLiteral(" <footer"); 2989 2990 WriteLiteral(" id=\"footer\""); 2991 2992 WriteLiteral(" class=\"container-fluid noPadding\""); 2993 2994 WriteLiteral(">\r\n <div"); 2995 2996 WriteLiteral(" id=\"footerLargeMenuContainer\""); 2997 2998 WriteLiteral(" class=\"container-fluid noPadding\""); 2999 3000 WriteLiteral(">\r\n <div"); 3001 3002 WriteLiteral(" class=\"container\""); 3003 3004 WriteLiteral(">\r\n <div"); 3005 3006 WriteLiteral(" class=\"col-sm-12 socialContainer\""); 3007 3008 WriteLiteral(">\r\n"); 3009 3010 3011 #line 663 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 3012 3013 3014 #line default 3015 #line hidden 3016 3017 #line 663 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 3018 if (socialMedia.Any()) 3019 { 3020 3021 3022 #line default 3023 #line hidden 3024 3025 #line 665 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 3026 Write(SnippetStart("socialMedia")); 3027 3028 3029 #line default 3030 #line hidden 3031 3032 #line 665 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 3033 3034 3035 3036 #line default 3037 #line hidden 3038 WriteLiteral(" <ul"); 3039 3040 WriteLiteral(" class=\"noPadding\""); 3041 3042 WriteLiteral(" id=\"socialMedia\""); 3043 3044 WriteLiteral(">\r\n"); 3045 3046 3047 #line 667 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 3048 3049 3050 #line default 3051 #line hidden 3052 3053 #line 667 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 3054 foreach (LoopItem socialItem in socialMedia) 3055 { 3056 string className = socialItem.GetString("Item.Area.SocialNetworks.Icon"), 3057 socialName = socialItem.GetString("Item.Area.SocialNetworks.Name"), 3058 socialLink = socialItem.GetString("Item.Area.SocialNetworks.Link"); 3059 3060 socialLink = !string.IsNullOrEmpty(socialLink) ? socialLink : "#"; 3061 3062 3063 3064 #line default 3065 #line hidden 3066 WriteLiteral(" <li>\r\n <a"); 3067 3068 WriteAttribute("title", Tuple.Create(" title=\"", 33612), Tuple.Create("\"", 33631) 3069 3070 #line 676 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 3071 , Tuple.Create(Tuple.Create("", 33620), Tuple.Create<System.Object, System.Int32>(socialName 3072 3073 #line default 3074 #line hidden 3075 , 33620), false) 3076 ); 3077 3078 WriteAttribute("class", Tuple.Create(" class=\"", 33632), Tuple.Create("\"", 33653) 3079 3080 #line 676 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 3081 , Tuple.Create(Tuple.Create("", 33640), Tuple.Create<System.Object, System.Int32>(className 3082 3083 #line default 3084 #line hidden 3085 , 33640), false) 3086 , Tuple.Create(Tuple.Create(" ", 33650), Tuple.Create("fa", 33651), true) 3087 ); 3088 3089 WriteLiteral(" target=\"_blank\""); 3090 3091 WriteAttribute("href", Tuple.Create(" href=\"", 33670), Tuple.Create("\"", 33688) 3092 3093 #line 676 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 3094 , Tuple.Create(Tuple.Create("", 33677), Tuple.Create<System.Object, System.Int32>(socialLink 3095 3096 #line default 3097 #line hidden 3098 , 33677), false) 3099 ); 3100 3101 WriteLiteral(">\r\n <span"); 3102 3103 WriteLiteral(" class=\"hidden\""); 3104 3105 WriteLiteral(">"); 3106 3107 3108 #line 677 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 3109 Write(socialName); 3110 3111 3112 #line default 3113 #line hidden 3114 WriteLiteral("</span>\r\n </a>\r\n " + 3115 " </li>\r\n"); 3116 3117 3118 #line 680 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 3119 } 3120 3121 3122 #line default 3123 #line hidden 3124 WriteLiteral(" </ul>\r\n"); 3125 3126 3127 #line 682 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 3128 3129 3130 #line default 3131 #line hidden 3132 3133 #line 682 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 3134 Write(SnippetEnd("socialMedia")); 3135 3136 3137 #line default 3138 #line hidden 3139 3140 #line 682 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 3141 3142 3143 3144 #line default 3145 #line hidden 3146 3147 #line 683 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 3148 Write(RenderSnippet("socialMedia")); 3149 3150 3151 #line default 3152 #line hidden 3153 3154 #line 683 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 3155 3156 } 3157 3158 3159 #line default 3160 #line hidden 3161 WriteLiteral(" </div>\r\n\r\n"); 3162 3163 3164 #line 687 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 3165 3166 3167 #line default 3168 #line hidden 3169 3170 #line 687 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 3171 if (!string.IsNullOrEmpty(GetString("DwNavigation(bottomMenu)"))) 3172 { 3173 3174 3175 #line default 3176 #line hidden 3177 WriteLiteral(" <nav"); 3178 3179 WriteLiteral(" id=\"bottomMenuContainer\""); 3180 3181 WriteLiteral(" class=\"col-xs-12\""); 3182 3183 WriteLiteral(">\r\n"); 3184 3185 WriteLiteral(" "); 3186 3187 3188 #line 690 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 3189 Write(GetValue("DwNavigation(bottomMenu)")); 3190 3191 3192 #line default 3193 #line hidden 3194 WriteLiteral("\r\n </nav>\r\n"); 3195 3196 3197 #line 692 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 3198 } 3199 3200 3201 #line default 3202 #line hidden 3203 WriteLiteral("\r\n <div"); 3204 3205 WriteLiteral(" class=\"footerContactInfo col-xs-12 noPadding-left hidden\""); 3206 3207 WriteLiteral(">\r\n <p"); 3208 3209 WriteLiteral(" class=\"noPadding\""); 3210 3211 WriteLiteral(">\r\n <a"); 3212 3213 WriteAttribute("href", Tuple.Create(" href=\"", 34507), Tuple.Create("\"", 34527) 3214 , Tuple.Create(Tuple.Create("", 34514), Tuple.Create("mailto:", 34514), true) 3215 3216 #line 696 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 3217 , Tuple.Create(Tuple.Create("", 34521), Tuple.Create<System.Object, System.Int32>(email 3218 3219 #line default 3220 #line hidden 3221 , 34521), false) 3222 ); 3223 3224 WriteLiteral(">"); 3225 3226 3227 #line 696 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 3228 Write(email); 3229 3230 3231 #line default 3232 #line hidden 3233 WriteLiteral("</a>\r\n </p>\r\n <p"); 3234 3235 WriteLiteral(" class=\"noPadding\""); 3236 3237 WriteLiteral(">\r\n <a"); 3238 3239 WriteAttribute("href", Tuple.Create(" href=\"", 34636), Tuple.Create("\"", 34653) 3240 , Tuple.Create(Tuple.Create("", 34643), Tuple.Create("tel:", 34643), true) 3241 3242 #line 699 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 3243 , Tuple.Create(Tuple.Create("", 34647), Tuple.Create<System.Object, System.Int32>(phone 3244 3245 #line default 3246 #line hidden 3247 , 34647), false) 3248 ); 3249 3250 WriteLiteral(">"); 3251 3252 3253 #line 699 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 3254 Write(phone); 3255 3256 3257 #line default 3258 #line hidden 3259 WriteLiteral("</a>\r\n </p>\r\n </div>\r\n\r\n </div>\r\n " + 3260 " <div"); 3261 3262 WriteLiteral(" id=\"copyrightContainer\""); 3263 3264 WriteLiteral(" class=\"container-fluid\""); 3265 3266 WriteLiteral(">\r\n <div"); 3267 3268 WriteLiteral(" class=\"container\""); 3269 3270 WriteLiteral(">\r\n <div"); 3271 3272 WriteLiteral(" class=\"row\""); 3273 3274 WriteLiteral(">\r\n <div"); 3275 3276 WriteLiteral(" class=\"col-xs-12 col-md-6\""); 3277 3278 WriteLiteral(">"); 3279 3280 3281 #line 707 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 3282 Write(Copyright()); 3283 3284 3285 #line default 3286 #line hidden 3287 WriteLiteral("</div>\r\n <div"); 3288 3289 WriteLiteral(" class=\"col-xs-12 col-md-6\""); 3290 3291 WriteLiteral(">\r\n"); 3292 3293 3294 #line 709 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 3295 3296 3297 #line default 3298 #line hidden 3299 3300 #line 709 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 3301 if (!string.IsNullOrEmpty(GetString("DwNavigation(copyrightMenu)"))) 3302 { 3303 3304 3305 #line default 3306 #line hidden 3307 WriteLiteral(" <nav"); 3308 3309 WriteLiteral(" id=\"copyrightMenuContainer\""); 3310 3311 WriteLiteral(">\r\n"); 3312 3313 WriteLiteral(" "); 3314 3315 3316 #line 712 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 3317 Write(GetValue("DwNavigation(copyrightMenu)")); 3318 3319 3320 #line default 3321 #line hidden 3322 WriteLiteral("\r\n </nav>\r\n"); 3323 3324 3325 #line 714 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 3326 } 3327 3328 3329 #line default 3330 #line hidden 3331 WriteLiteral("\r\n </div>\r\n </div>\r\n </d" + 3332 "iv>\r\n </div>\r\n"); 3333 3334 WriteLiteral(" "); 3335 3336 3337 #line 720 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 3338 Write(DemoBanner()); 3339 3340 3341 #line default 3342 #line hidden 3343 WriteLiteral("\r\n </div></footer>\r\n"); 3344 3345 3346 #line 722 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 3347 } 3348 3349 3350 #line default 3351 #line hidden 3352 WriteLiteral("\r\n</div>\r\n"); 3353 3354 3355 #line 725 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 3356 if (bol_backofficeLogged) 3357 { 3358 3359 3360 #line default 3361 #line hidden 3362 WriteLiteral(" <div"); 3363 3364 WriteLiteral(" id=\"urlPath\""); 3365 3366 WriteLiteral(" class=\"text-center col-xs-12\""); 3367 3368 WriteLiteral(">\r\n"); 3369 3370 WriteLiteral(" "); 3371 3372 3373 #line 728 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 3374 Write(Pageview.GlobalTags.GetTagByName("Global:Request.PathAndQuery").Value); 3375 3376 3377 #line default 3378 #line hidden 3379 WriteLiteral(" <br>\r\n"); 3380 3381 WriteLiteral(" "); 3382 3383 3384 #line 729 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 3385 Write(Pageview.GlobalTags.GetTagByName("Global:Request.Url").Value); 3386 3387 3388 #line default 3389 #line hidden 3390 WriteLiteral("\r\n </div>\r\n"); 3391 3392 3393 #line 731 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 3394 } 3395 3396 3397 #line default 3398 #line hidden 3399 3400 #line 732 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 3401 Write(RenderSnippet("bodyBeforeEnd")); 3402 3403 3404 #line default 3405 #line hidden 3406 WriteLiteral("\r\n</body>\r\n\r\n</html>\r\n\r\n"); 3407 3408 3409 #line 737 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 3410 Write(SnippetStart("loginForm")); 3411 3412 3413 #line default 3414 #line hidden 3415 WriteLiteral("\r\n"); 3416 3417 3418 #line 738 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 3419 3420 string createAccountPage = GetString("Item.Area.CreateAccount"); 3421 string addUserPage = GetString("Item.Area.AddUser"); 3422 string loginPage = GetString("Item.Area.Login"); 3423 3424 3425 #line default 3426 #line hidden 3427 WriteLiteral("\r\n<form"); 3428 3429 WriteLiteral(" id=\"masterExtUserForm\""); 3430 3431 WriteLiteral(" class=\"col-xs-12 DMForms userRelatedForms hidden\""); 3432 3433 WriteAttribute("action", Tuple.Create(" action=\"", 36147), Tuple.Create("\"", 36190) 3434 , Tuple.Create(Tuple.Create("", 36156), Tuple.Create("/Default.aspx?ID=", 36156), true) 3435 3436 #line 743 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 3437 , Tuple.Create(Tuple.Create("", 36173), Tuple.Create<System.Object, System.Int32>(Pageview.Page.ID 3438 3439 #line default 3440 #line hidden 3441 , 36173), false) 3442 ); 3443 3444 WriteLiteral(" method=\"post\""); 3445 3446 WriteLiteral(">\r\n <fieldset"); 3447 3448 WriteLiteral(" class=\"mandatory TextInput\""); 3449 3450 WriteLiteral(">\r\n <label"); 3451 3452 WriteLiteral(" for=\"Username\""); 3453 3454 WriteLiteral(">"); 3455 3456 3457 #line 745 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 3458 Write(Translate("usernameEmail", "Username / Email")); 3459 3460 3461 #line default 3462 #line hidden 3463 WriteLiteral("</label>\r\n <input"); 3464 3465 WriteLiteral(" type=\"email\""); 3466 3467 WriteLiteral(" id=\"Username\""); 3468 3469 WriteLiteral(" name=\"username\""); 3470 3471 WriteLiteral(" value=\"\""); 3472 3473 WriteLiteral(" tabindex=\"1\""); 3474 3475 WriteLiteral(">\r\n </fieldset>\r\n <fieldset"); 3476 3477 WriteLiteral(" class=\"mandatory TextInput\""); 3478 3479 WriteLiteral(">\r\n <label"); 3480 3481 WriteLiteral(" for=\"Password\""); 3482 3483 WriteLiteral(">"); 3484 3485 3486 #line 749 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 3487 Write(Translate("password", "Password")); 3488 3489 3490 #line default 3491 #line hidden 3492 WriteLiteral("</label>\r\n <input"); 3493 3494 WriteLiteral(" autocomplete=\"off\""); 3495 3496 WriteLiteral(" type=\"password\""); 3497 3498 WriteLiteral(" id=\"Password\""); 3499 3500 WriteLiteral(" name=\"password\""); 3501 3502 WriteLiteral(" value=\"\""); 3503 3504 WriteLiteral(" tabindex=\"2\""); 3505 3506 WriteLiteral(">\r\n </fieldset>\r\n\r\n <div"); 3507 3508 WriteLiteral(" class=\"col-xs-12 noPadding\""); 3509 3510 WriteLiteral(">\r\n <input"); 3511 3512 WriteLiteral(" tabindex=\"3\""); 3513 3514 WriteLiteral(" class=\"btn btn-bg\""); 3515 3516 WriteLiteral(" name=\"LoginAction\""); 3517 3518 WriteLiteral(" type=\"submit\""); 3519 3520 WriteAttribute("value", Tuple.Create(" value=\'", 36797), Tuple.Create("\'", 36833) 3521 3522 #line 754 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 3523 , Tuple.Create(Tuple.Create("", 36805), Tuple.Create<System.Object, System.Int32>(Translate("Login", "Login") 3524 3525 #line default 3526 #line hidden 3527 , 36805), false) 3528 ); 3529 3530 WriteLiteral(">\r\n </div>\r\n <div"); 3531 3532 WriteLiteral(" class=\"forgotButtons col-xs-12 noPadding\""); 3533 3534 WriteLiteral(">\r\n <span"); 3535 3536 WriteLiteral(" class=\"title\""); 3537 3538 WriteLiteral(">"); 3539 3540 3541 #line 757 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 3542 Write(Translate("currentCustomer", "Current Customer?")); 3543 3544 3545 #line default 3546 #line hidden 3547 WriteLiteral("</span>\r\n <a"); 3548 3549 WriteLiteral(" id=\"forgotPassword\""); 3550 3551 WriteAttribute("href", Tuple.Create(" href=\"", 37019), Tuple.Create("\"", 37061) 3552 3553 #line 758 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 3554 , Tuple.Create(Tuple.Create("", 37026), Tuple.Create<System.Object, System.Int32>(loginPage 3555 3556 #line default 3557 #line hidden 3558 , 37026), false) 3559 , Tuple.Create(Tuple.Create("", 37036), Tuple.Create("&amp;LoginAction=Recovery", 37036), true) 3560 ); 3561 3562 WriteLiteral(">"); 3563 3564 3565 #line 758 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 3566 Write(Translate("forgotYourPassword", "Forgot your password?")); 3567 3568 3569 #line default 3570 #line hidden 3571 WriteLiteral("</a>\r\n <a"); 3572 3573 WriteAttribute("href", Tuple.Create(" href=\"", 37136), Tuple.Create("\"", 37155) 3574 3575 #line 759 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 3576 , Tuple.Create(Tuple.Create("", 37143), Tuple.Create<System.Object, System.Int32>(addUserPage 3577 3578 #line default 3579 #line hidden 3580 , 37143), false) 3581 ); 3582 3583 WriteLiteral(">"); 3584 3585 3586 #line 759 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 3587 Write(Translate("addUserToExistingAccount", "Add new user to an existing PBi account")); 3588 3589 3590 #line default 3591 #line hidden 3592 WriteLiteral("</a>\r\n </div>\r\n <div"); 3593 3594 WriteLiteral(" id=\"dontHaveAnAccount\""); 3595 3596 WriteLiteral(" class=\"col-xs-12 noPadding\""); 3597 3598 WriteLiteral(">\r\n <span"); 3599 3600 WriteLiteral(" class=\"title\""); 3601 3602 WriteLiteral(">"); 3603 3604 3605 #line 762 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 3606 Write(Translate("newCustomer", "New Customer?")); 3607 3608 3609 #line default 3610 #line hidden 3611 WriteLiteral("</span>\r\n <a"); 3612 3613 WriteAttribute("href", Tuple.Create(" href=\"", 37407), Tuple.Create("\"", 37432) 3614 3615 #line 763 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 3616 , Tuple.Create(Tuple.Create("", 37414), Tuple.Create<System.Object, System.Int32>(createAccountPage 3617 3618 #line default 3619 #line hidden 3620 , 37414), false) 3621 ); 3622 3623 WriteLiteral(">"); 3624 3625 3626 #line 763 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 3627 Write(Translate("createAccount", "Create account")); 3628 3629 3630 #line default 3631 #line hidden 3632 WriteLiteral("</a>\r\n </div>\r\n</form>\r\n"); 3633 3634 3635 #line 766 "C:\Domains\Sites\pacificbag.com\Files\Templates\Designs\PacificBag\_parsed\leftMenu.parsed.cshtml" 3636 Write(SnippetEnd("loginForm")); 3637 3638 3639 #line default 3640 #line hidden 3641 WriteLiteral("\r\n<!--Start GDPR Cookie Script--> <script"); 3642 3643 WriteLiteral(" type=\"text/javascript\""); 3644 3645 WriteLiteral(" charset=\"UTF-8\""); 3646 3647 WriteLiteral(" src=\"/Files/Templates/Designs/PacificBag/=\""); 3648 3649 WriteLiteral(" ca-eu.cookie-script.com/s/4615528e5aefd86935f9f18ffef91ed5.js\"=\"\""); 3650 3651 WriteLiteral("></script> <!--End GDPR Cookie Script-->"); 3652 3653 } 3654 } 3655 } 3656

1 @inherits RazorTemplateBase<RazorTemplateModel<Template>> 2 @using System 3 @using System.Linq 4 @using Dynamicweb.Rendering 5 @using Dynamicweb.Content 6 @using System.Text.RegularExpressions 7 @using System.Web.UI.HtmlControls 8 @{ string designName = GetString("Template:DesignBaseUrl").Replace("/Files/Templates/Designs/", "").Replace("/", "");}@functions{ 9 public static string GetImage(string sourceString, int imageWidth, int imageHeight, int imageWidthTablet = 0, int imageHeightTablet = 0, int imageWidthMobile = 0, int imageHeightMobile = 0, string imageFormat = "jpg", int imageCompression = 0, int imageCrop = 5, string background = "", string designName = "PacificBag") 10 { 11 Dynamicweb.Frontend.PageView currentPageview = Dynamicweb.Frontend.PageView.Current(); 12 string currDevice = currentPageview.Device.ToString(); 13 string alternativeImage = !String.IsNullOrEmpty(currentPageview.Area.Item["NoImage"].ToString()) ? currentPageview.Area.Item["NoImage"].ToString() : "/Files/Templates/Designs/"+ designName + "/images/alternativeImage.jpg"; 14 string widthString = ""; 15 string heightString = ""; 16 string getImageFormat = imageFormat != "jpg" ? "&amp;Format=" + imageFormat : ""; 17 string getImageCompression = imageCompression != 0 ? "&amp;Compression=" + imageCompression : ""; 18 string bgColor = !string.IsNullOrEmpty(background) ? "&amp;Background="+background : ""; 19 int getImageWidth = imageWidth != 0 ? imageWidth : 0; 20 int getImageHeight = imageHeight != 0 ? imageHeight : 0; 21 22 if (currDevice == Dynamicweb.Frontend.Devices.DeviceType.Tablet.ToString()) 23 { 24 getImageWidth = imageWidthTablet != 0 ? imageWidthTablet : getImageWidth; 25 getImageHeight = imageHeightTablet != 0 ? imageHeightTablet : getImageHeight; 26 } 27 else if (currDevice == Dynamicweb.Frontend.Devices.DeviceType.Mobile.ToString()) 28 { 29 getImageWidth = imageWidthMobile != 0 ? imageWidthMobile : getImageWidth; 30 getImageHeight = imageHeightMobile != 0 ? imageHeightMobile : getImageHeight; 31 } 32 33 if (getImageWidth != 0) 34 { 35 widthString = "&amp;Width=" + getImageWidth; 36 } 37 if (getImageHeight != 0) 38 { 39 heightString = "&amp;Height=" + getImageHeight; 40 } 41 42 string output = "/Admin/Public/GetImage.ashx?Image=" + sourceString + widthString + heightString + "&amp;altFmImage_path=" + alternativeImage + getImageFormat + getImageCompression + "&amp;Crop=" + imageCrop + bgColor; 43 return output; 44 } 45 46 public static string GetImageWhiteSpace(string sourceString, int imageWidth, int imageHeight, int imageWidthTablet = 0, int imageHeightTablet = 0, int imageWidthMobile = 0, int imageHeightMobile = 0, string imageFormat = "jpg", int imageCompression = 0, int imageCrop = 5, string background = "", string designName = "PacificBag") 47 { 48 Dynamicweb.Frontend.PageView currentPageview = Dynamicweb.Frontend.PageView.Current(); 49 string currDevice = currentPageview.Device.ToString(); 50 string alternativeImage = "/Files/Templates/Designs/" + designName + "/images/white80.png"; 51 string widthString = ""; 52 string heightString = ""; 53 string getImageFormat = imageFormat != "jpg" ? "&amp;Format=" + imageFormat : ""; 54 string getImageCompression = imageCompression != 0 ? "&amp;Compression=" + imageCompression : ""; 55 string bgColor = !string.IsNullOrEmpty(background) ? "&amp;Background="+background : ""; 56 int getImageWidth = imageWidth != 0 ? imageWidth : 0; 57 int getImageHeight = imageHeight != 0 ? imageHeight : 0; 58 59 if (currDevice == Dynamicweb.Frontend.Devices.DeviceType.Tablet.ToString()) 60 { 61 getImageWidth = imageWidthTablet != 0 ? imageWidthTablet : getImageWidth; 62 getImageHeight = imageHeightTablet != 0 ? imageHeightTablet : getImageHeight; 63 } 64 else if (currDevice == Dynamicweb.Frontend.Devices.DeviceType.Mobile.ToString()) 65 { 66 getImageWidth = imageWidthMobile != 0 ? imageWidthMobile : getImageWidth; 67 getImageHeight = imageHeightMobile != 0 ? imageHeightMobile : getImageHeight; 68 } 69 70 if (getImageWidth != 0) 71 { 72 widthString = "&amp;Width=" + getImageWidth; 73 } 74 if (getImageHeight != 0) 75 { 76 heightString = "&amp;Height=" + getImageHeight; 77 } 78 79 string output = "/Admin/Public/GetImage.ashx?Image=" + sourceString + widthString + heightString + "&amp;altFmImage_path=" + alternativeImage + getImageFormat + getImageCompression + "&amp;Crop=" + imageCrop + bgColor; 80 return output; 81 } 82 } 83 @functions{ 84 public string GetCurrentUrl() 85 { 86 string currentUrl = Pageview.GlobalTags.GetTagByName("Global:Request.Scheme").Value.ToString() + "://" + Pageview.GlobalTags.GetTagByName("Global:Request.Host").Value.ToString() + Pageview.GlobalTags.GetTagByName("Global:Pageview.Url").Value.ToString(); 87 88 return currentUrl; 89 } 90 } 91 @using System.Runtime 92 @using Dynamicweb.Rendering 93 @using System.Text.RegularExpressions 94 @using Dynamicweb.Core 95 @inherits RazorTemplateBase<RazorTemplateModel<Template>> 96 97 @helper OgMeta(string designName) 98 { 99 if (string.IsNullOrEmpty(System.Web.HttpContext.Current.Request.Params["ProductID"])) 100 { 101 @SnippetStart("OGMeta")<meta property="og:title" content='@GetString("Title")'> 102 <meta property="og:image" content='@Pageview.GlobalTags.GetTagByName("Global:Request.Scheme").Value.ToString()://@Pageview.GlobalTags.GetTagByName("Global:Request.Host").Value.ToString()/Files/Templates/Designs/@designName/images/logo.png'> 103 <meta property="og:site_name" content='@GetString("Item.Area.CompanyName")'> 104 <meta property="og:url" content='@Pageview.GlobalTags.GetTagByName("Global:Request.Scheme").Value.ToString()://@Pageview.GlobalTags.GetTagByName("Global:Request.Host").Value.ToString()@Pageview.GlobalTags.GetTagByName("Global:Pageview.Url").Value.ToString()'> 105 <meta property="og:description" content='@StripHtml(GetString("Meta.Description"))'> 106 <meta property="og:type" content="article"> 107 <meta property="og:locale" content='@Pageview.GlobalTags.GetTagByName("Global:Area.LongLang").Value.ToString().Replace("-", "_")'> 108 @SnippetEnd("OGMeta") 109 } 110 } 111 @helper HtmlHead(string designName) 112 { 113 string designFolder = GetString("Template:DesignBaseUrl"); 114 string robots = ""; 115 string ipCountry = Dna.IP.Frontend.GetCountryCode(); 116 var googleReCaptchaSiteKey = GetString("Item.Area.GoogleReCaptchaSiteKey"); 117 string countryCodeModule = !string.IsNullOrEmpty(ipCountry) ? ipCountry : "US"; 118 string userCountryCode = (Pageview.User != null && !string.IsNullOrEmpty(Pageview.User.Country)) ? Pageview.User.Country : ipCountry; 119 string userState = Pageview.User != null ? Pageview.User.State : string.Empty; 120 string userAccountsNumber = (System.Web.HttpContext.Current.Session["AccountsNumber"] ?? "").ToString(); 121 robots = (GetBoolean("Item.Area.DemoBanner") || GetBoolean("Item.Area.NoIndex")) ? CommaSplittedString(robots, "noindex") : ""; 122 robots += (GetBoolean("Item.Area.DemoBanner") || GetBoolean("Item.Area.NoFollow")) ? CommaSplittedString(robots, "nofollow") : ""; 123 124 <head> 125 126 <!-- begin SnapEngage code --> 127 <script type="text/javascript"> 128 (function() { 129 var se = document.createElement('script'); se.type = 'text/javascript'; se.async = true; 130 se.src = '//storage.googleapis.com/code.snapengage.com/js/326bf66f-7884-4214-bcd8-09da130b6534.js'; 131 var done = false; 132 se.onload = se.onreadystatechange = function() { 133 if (!done&&(!this.readyState||this.readyState==='loaded'||this.readyState==='complete')) { 134 done = true; 135 /* Place your SnapEngage JS API code below */ 136 /* SnapEngage.allowChatSound(true); Example JS API: Enable sounds for Visitors. */ 137 } 138 }; 139 var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(se, s); 140 })(); 141 </script> 142 <!-- end SnapEngage code --> 143 144 <!-- begin callrail code --> 145 <script type="text/javascript" src="////cdn.callrail.com/companies/766488212/4fcfef21bce1680f2716/12/swap.js"></script> 146 <!-- end callrail code --> 147 148 <!-- begin hellobar code --> 149 <script>(function(w,d,t,r,u){var f,n,i;w[u]=w[u]||[],f=function(){var o={ti:"21000061"};o.q=w[u],w[u]=new UET(o),w[u].push("pageLoad")},n=d.createElement(t),n.src=r,n.async=1,n.onload=n.onreadystatechange=function(){var s=this.readyState;s&&s!=="loaded"&&s!=="complete"||(f(),n.onload=n.onreadystatechange=null)},i=d.getElementsByTagName(t)[0],i.parentNode.insertBefore(n,i)})(window,document,"script","//bat.bing.com/bat.js","uetq");</script> 150 <script src="https://my.hellobar.com/cef4edf037f4a5eb8a87717b77b678872e81b91e.js" type="text/javascript" charset="utf-8" async="async"></script> 151 <!-- end hellobar code --> 152 153 <!-- Facebook Pixel Code --> 154 155 <script> 156 157 !function(f,b,e,v,n,t,s) 158 159 {if(f.fbq)return;n=f.fbq=function(){n.callMethod? 160 161 n.callMethod.apply(n,arguments):n.queue.push(arguments)}; 162 163 if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0'; 164 165 n.queue=[];t=b.createElement(e);t.async=!0; 166 167 t.src=v;s=b.getElementsByTagName(e)[0]; 168 169 s.parentNode.insertBefore(t,s)}(window,document,'script', 170 171 'https://connect.facebook.net/en_US/fbevents.js'); 172 173 174 fbq('init', '1576804409143309'); 175 176 fbq('track', 'PageView'); 177 178 </script> 179 180 <noscript> 181 182 <img height="1" width="1" src="https://www.facebook.com/tr?id=1576804409143309&ev=PageView%0D%0A%0D%0A&noscript=1"> 183 184 </noscript> 185 186 <!-- End Facebook Pixel Code --> 187 188 <title>@GetValue("Title")</title> 189 <meta http-equiv="content-type" content="text/html; charset=utf-8"> 190 <meta name="viewport" content="initial-scale=1.0, width=device-width, user-scalable=no"> 191 <meta http-equiv="X-UA-Compatible" content="IE=edge"> 192 <meta name="SKYPE_TOOLBAR" content="SKYPE_TOOLBAR_PARSER_COMPATIBLE"> 193 @if (!string.IsNullOrEmpty(robots)) 194 { 195 <meta name="robots" content="@robots"> 196 } 197 @OgMeta(designName) 198 @RenderSnippet("OGMeta") 199 @GetString("MetaTags") 200 @GetString("CopyRightNotice") 201 @GetString("Stylesheets") 202 @RenderSnippet("outScripts") 203 @GetString("Javascripts") 204 205 <!-- Begin Bing Conversion Tracking --> 206 207 <script>(function(w,d,t,r,u){var f,n,i;w[u]=w[u]||[],f=function(){var o={ti:"21000061"};o.q=w[u],w[u]=new UET(o),w[u].push("pageLoad")},n=d.createElement(t),n.src=r,n.async=1,n.onload=n.onreadystatechange=function(){var s=this.readyState;s&&s!=="loaded"&&s!=="complete"||(f(),n.onload=n.onreadystatechange=null)},i=d.getElementsByTagName(t)[0],i.parentNode.insertBefore(n,i)})(window,document,"script","//bat.bing.com/bat.js","uetq");</script> 208 209 <!-- End Bing Conversion Tracking Code --> 210 211 <link rel="shortcut icon" href="@(designFolder)images/favicon.ico" type="image/x-icon"> 212 @{ 213 var minify = GetBoolean("Item.Area.Minify_CSS_And_JavaScript"); 214 var styleBundle = Dna.Optimizer.Renderer.RenderStyles(string.Format("{0}css", designFolder), "-main-styles", null, new[] { "exceptions" }, minify, true, true); 215 var scriptBundle = Dna.Optimizer.Renderer.RenderScripts(string.Format("{0}js", designFolder), "-main-scripts", null, new[] { "exceptions" }, minify, true, true); 216 } 217 <link rel="stylesheet" href="@styleBundle"> 218 @if (googleReCaptchaSiteKey.IsNotNullOrEmpty()) 219 { 220 <script src="https://www.google.com/recaptcha/api.js" async="" defer=""></script> 221 } 222 <script src="@scriptBundle"></script> 223 @SnippetStart("outScripts") @SnippetEnd("outScripts") 224 <!--[if lte IE 9]> 225 <script src="//html5shim.googlecode.com/svn/trunk/html5.js"></script> 226 <script src="//cdnjs.cloudflare.com/ajax/libs/respond.js/1.1.0/respond.min.js"></script> 227 <![endif]--> 228 <script> 229 @RenderSnippet("jsVariables") 230 @SnippetStart("jsVariables") @SnippetEnd("jsVariables") 231 232 var obj_pages = { 233 str_miniCart: '@Dynamicweb.Frontend.SearchEngineFriendlyURLs.GetFriendlyUrl(GetString("Item.Area.MiniCart"))', 234 str_login: '@Dynamicweb.Frontend.SearchEngineFriendlyURLs.GetFriendlyUrl(GetString("Item.Area.Login"))', 235 str_globalTranslates: '@Dynamicweb.Frontend.SearchEngineFriendlyURLs.GetFriendlyUrl(GetString("Item.Area.GlobalTranslates"))', 236 str_contactPopup : '@Dynamicweb.Frontend.SearchEngineFriendlyURLs.GetFriendlyUrl(GetString("Item.Area.ContactUs_Popup"))', 237 str_cartInformation: '@Dynamicweb.Frontend.SearchEngineFriendlyURLs.GetFriendlyUrl(GetString("Item.Area.Cart_Information"))', 238 str_typeAhead : '@Dynamicweb.Frontend.SearchEngineFriendlyURLs.GetFriendlyUrl(GetString("Item.Area.TypeAhead"))' 239 }, 240 obj_user = { 241 str_country: '@userCountryCode', 242 str_state: '@userState', 243 str_accountsNumber:'@userAccountsNumber' 244 }, 245 obj_settings = { 246 str_contactTimeout: '@GetString("Item.Area.Time")', 247 str_cartQty: '@GetString("Ecom:Order.OrderLines.TotalProductQuantity")' 248 }, 249 obj_translates = { 250 str_seeAll: '@Translate("seeAllThe", "See all the")', 251 str_results: '@Translate("results", "results")', 252 str_invalidAddress: '@Translate("invalidAddress", "Something isn’t correct with your address. Please check that each *required line has appropriate information in it, e.g. Address line 1 has an actual street address.")' 253 }; 254 $(function () { 255 @UserDoesNotExist() 256 @RenderSnippet("jsOnLoadVariables") 257 @SnippetStart("jsOnLoadVariables") @SnippetEnd("jsOnLoadVariables") 258 @RenderSnippet("jsOnLoad") 259 @SnippetStart("jsOnLoad") @SnippetEnd("jsOnLoad") 260 }); 261 @if(!string.IsNullOrWhiteSpace(GetString("Item.Area.GoogleAnalytics"))) 262 { 263 <text> 264 (function (i, s, o, g, r, a, m) { 265 i['GoogleAnalyticsObject'] = r; i[r] = i[r] || function () { 266 (i[r].q = i[r].q || []).push(arguments) 267 }, i[r].l = 1 * new Date(); a = s.createElement(o), 268 m = s.getElementsByTagName(o)[0]; a.async = 1; a.src = g; m.parentNode.insertBefore(a, m) 269 })(window, document, 'script', '//www.google-analytics.com/analytics.js', 'ga'); 270 271 ga('create', '@GetString("Item.Area.GoogleAnalytics")', 'auto'); 272 ga('send', 'pageview'); 273 </text> 274 } 275 </script> 276 @{ 277 var googleAdwords = GetString("Item.Area.GoogleAdwords"); 278 } 279 @if (!string.IsNullOrWhiteSpace(googleAdwords)) 280 { 281 <script async="" src="https://www.googletagmanager.com/gtag/js?id=@googleAdwords"></script> 282 <script> 283 window.dataLayer = window.dataLayer || []; 284 function gtag(){dataLayer.push(arguments);} 285 gtag('js', new Date()); 286 287 gtag('config', '@googleAdwords'); 288 </script> 289 } 290 291 @RenderSnippet("eCommerceTracking") 292 @SnippetStart("eCommerceTracking") @SnippetEnd("eCommerceTracking") 293 </head> 294 } 295 @helper RenderPageImageVideo(string image, string video) 296 { 297 if (!String.IsNullOrWhiteSpace(video)) 298 { 299 image = "/Admin/Public/GetImage.ashx?Image=" + image + "&Height=1080&Crop=5"; 300 301 <section id="topMediaContainer" data-image="@image" data-video="@video"> 302 @if (!String.IsNullOrWhiteSpace(image)) 303 { 304 <img src="@image" class="hidden"> 305 } 306 @if (!String.IsNullOrWhiteSpace(video)) 307 { 308 <span class="hidden">@video</span> 309 } 310 </section> 311 @SnippetStart("jsOnLoad") 312 @:onLoadTopMediaContainer("@(GetString("Item.Page.ButtonText"))", "@(GetString("Item.Page.ButtonLink"))"); 313 @SnippetEnd("jsOnLoad") 314 } 315 } 316 317 @helper RenderPageHeading(string heading, string subHeading, string image, string video, bool leftAlign) 318 { 319 image = !String.IsNullOrWhiteSpace(image) ? "/Admin/Public/GetImage.ashx?Image=" + image + "&Height=1080&Crop=5" : ""; 320 string topMediaContainerClass = GetBoolean("Item.Page.BigHeader") ? "bigHeader" : String.Empty; 321 topMediaContainerClass += GetBoolean("Item.Page.NoWhiteText") ? " noWhiteText" : String.Empty; 322 var request = System.Web.HttpContext.Current.Request.Params; 323 string buttonText = GetString("Item.Page.ButtonText"), 324 buttonLink = GetString("Item.Page.ButtonLink"); 325 326 // Group Image - Banner 327 var isGroupBanner = false; 328 if (request["groupid"] != null) 329 { 330 var group = Dynamicweb.Ecommerce.Products.Group.GetGroupById(request["groupid"].ToString()); 331 332 if(group != null){ 333 if (group.ParentGroups.Count > 0) 334 { 335 group = group.ParentGroups[0]; 336 } 337 338 var groupName = group.Name; 339 var groupImage = !string.IsNullOrWhiteSpace(group.LargeImage) ? group.LargeImage : group.SmallImage; 340 var groupDescription = group.ProductGroupFieldValues.GetProductGroupFieldValue("BannerDescription").Value.ToString(); 341 var bannerTextColor = group.ProductGroupFieldValues.GetProductGroupFieldValue("BannerTextColor").Value.ToString(); 342 var bannerTextBackgroundColor = group.ProductGroupFieldValues.GetProductGroupFieldValue("BannerTextBackgroundColor").Value.ToString(); 343 var bannerTextBackgroundOpacity = group.ProductGroupFieldValues.GetProductGroupFieldValue("BannerTextBackgroundOpacity").Value.ToString(); 344 345 if (!string.IsNullOrWhiteSpace(groupImage)) 346 { 347 isGroupBanner = true; 348 image = "/Admin/Public/GetImage.ashx?Image=/Files" + groupImage + "&Height=1080&Crop=5"; 349 350 <section id="pageHeadingContainer" class="groupBanner @topMediaContainerClass" style="background-image:url('@image')"> 351 <div class="col-xs-12 col-md-6 col-md-offset-3"> 352 <div id="bannerTextBackground" style="background: @bannerTextBackgroundColor; opacity: @bannerTextBackgroundOpacity"></div> 353 <h2 style="color: @bannerTextColor;">@groupName</h2> 354 <p style="color: @bannerTextColor !important;">@groupDescription</p> 355 </div> 356 </section> 357 } 358 } 359 } 360 361 if (!String.IsNullOrWhiteSpace(image) && String.IsNullOrWhiteSpace(video) && !isGroupBanner) 362 { 363 string layoutType = !string.IsNullOrWhiteSpace(subHeading) ? "twoColumn" : "oneColumn"; 364 string headerClass = leftAlign ? "text-left" : ""; 365 366 <section id="pageHeadingContainer" class="@topMediaContainerClass" style="background-image:url('@image')"> 367 <div id="pageHeadingContent" class="container @layoutType"> 368 <p class="h1 @headerClass">@heading</p> 369 <p>@subHeading 370 @if (!string.IsNullOrEmpty(buttonLink)) 371 { 372 <a class="btn btn-bg pull-left" href="@buttonLink">@buttonText</a> 373 } 374 </p> 375 </div> 376 </section> 377 } 378 } 379 @helper UserDoesNotExist() 380 { 381 if (Dynamicweb.Environment.ExecutingContext.IsFrontEnd() && !Dynamicweb.Security.UserManagement.User.IsExtranetUserLoggedIn()) 382 { 383 if (!string.IsNullOrEmpty(System.Web.HttpContext.Current.Request.Params["Password"]) && !string.IsNullOrEmpty(System.Web.HttpContext.Current.Request.Params["Username"])) 384 { 385 @SnippetStart("jsOnLoad") 386 @:var showLogin = true; 387 @:alert("@(Translate("userNotFoundInTheDatabase", "User not found in the database"))"); 388 @SnippetEnd("jsOnLoad") 389 } 390 } 391 } 392 @helper Logo(string cssclass, string companyName, string designName) 393 { 394 string logo = !string.IsNullOrEmpty(System.Web.HttpContext.Current.Request.Params["print"]) ? "/Admin/Public/GetImage.ashx?Image=/Files/Templates/Designs/"+designName+"/images/logo.png&Width=220" : "/Files/Templates/Designs/"+designName+"/images/logo.png"; 395 396 <figure class="@cssclass" id="logo"> 397 <a href="/"> 398 <img class="img-responsive" src="@logo" alt="@companyName" title="@companyName"> 399 </a> 400 </figure> 401 } 402 @helper DemoBanner() 403 { 404 if (GetBoolean("Item.Area.Banner") && System.Web.HttpContext.Current.Request.Cookies["demoMode"] == null) 405 { 406 <div class="demoMode">Demo</div> 407 } 408 } 409 @helper Copyright() 410 { 411 <div class="col-xs-12 copyright">&copy; @DateTime.Now.Year @GetString("Item.Area.CompanyName") @*- @GetString("Item.Area.Copyright")*@</div> 412 } 413 414 @helper RenderSearchBar() 415 { 416 var resultsPage = GetInteger("Item.Area.SearchResults"); 417 var q = (System.Web.HttpContext.Current.Request["q"] ?? "").ToString(); 418 419 <div id="searchContainer" class="col-sm-offset-4 col-sm-8 col-xs-12"> 420 <div class="searchContainer col-xs-12"> 421 <form action="/Default.aspx" id="searchForm"> 422 <fieldset class="col-xs-4 Select mandatory pull-right hidden"> 423 <label for="searchSubmit" class="hide">@Translate("search", "Search")</label> 424 <select name="ID"> 425 <option value="@resultsPage" selected="">@Translate("productSearch", "Product Search")</option> 426 </select> 427 </fieldset> 428 <fieldset class="col-xs-12 TextInput mandatory noPadding"> 429 <label for="searchSubmit" class="hide">@Translate("search", "Search")</label> 430 <input placeholder='@Translate("search", "Search")' id="searchSubmit" data-error='@Translate("searchText", "Search for something")' type="text" name="q" value="@q"> 431 </fieldset> 432 <input type="submit" class="hidden" value="send"> 433 </form> 434 </div> 435 <div id="autocompleteWrap">&nbsp;</div> 436 </div> 437 } 438 439 @functions { 440 private string CommaSplittedString(string CommaSplittedString, string NewString) 441 { 442 443 if (!string.IsNullOrEmpty(CommaSplittedString)) 444 { 445 CommaSplittedString += ", "; 446 } 447 CommaSplittedString += NewString; 448 449 return CommaSplittedString; 450 } 451 public static string StripHtml(string source) 452 { 453 return Regex.Replace(source, "<.*?>", string.Empty); 454 } 455 } 456 @{ 457 var currentQuery = "Default.aspx" + System.Web.HttpContext.Current.Request.Url.Query; 458 if (!string.IsNullOrEmpty(currentQuery) && currentQuery.ToLower().Equals(string.Format("default.aspx?id={0}", Pageview.Page.ID))) 459 { 460 var newQuery = currentQuery; 461 var filterParamters = GetString("Item.Page.FilterParameters").Split(new string[] {"&", "?"}, StringSplitOptions.RemoveEmptyEntries); 462 463 foreach (var fp in filterParamters) 464 { 465 if (!currentQuery.Contains(fp.Substring(0, fp.IndexOf("=")) + "=")) 466 { 467 newQuery += newQuery.Contains("?") ? "&" : "?"; 468 newQuery += fp; 469 } 470 } 471 472 if (currentQuery != newQuery) 473 { 474 System.Web.HttpContext.Current.Response.Redirect(Dynamicweb.Frontend.SearchEngineFriendlyURLs.GetFriendlyUrl(newQuery), true); 475 } 476 } 477 478 string device = Pageview.Device.ToString(); 479 string homeOrSubpage = GetString("DwAreaFirstPageID") == Pageview.Page.ID.ToString() ? "home" : "subpage"; 480 string print = !string.IsNullOrEmpty(System.Web.HttpContext.Current.Request.Params["print"]) ? "printOrPdf" : ""; 481 string contactUsPage = GetString("Item.Area.ContactUs"); 482 string countryCode = Dna.IP.Frontend.GetCountryCode(); 483 string longLang = Pageview.GlobalTags.GetTagByName("Global:Area.LongLang").Value.ToString(); 484 string email = GetString("Item.Area.Email"); 485 string phone = GetString("Item.Area.Phone"); 486 bool userIsLoggedIn = Dynamicweb.Security.UserManagement.User.IsExtranetUserLoggedIn(); 487 bool isPrint = !string.IsNullOrEmpty(System.Web.HttpContext.Current.Request.Params["print"]); 488 bool bol_backofficeLogged = Dynamicweb.Security.UserManagement.User.GetCurrentBackendUser() != null ? true : false; 489 List<LoopItem> socialMedia = GetLoop("Item.Area.SocialNetworks"); 490 List<LoopItem> websiteLanguages = GetLoop("WebsiteLanguages"); 491 if (userIsLoggedIn) 492 { 493 string logedUserId = Pageview.User.CurrentSecondaryUser == null ? Dynamicweb.Security.UserManagement.User.GetCurrentExtranetUserId().ToString() : Pageview.User.CurrentSecondaryUser.ID.ToString(); 494 System.Web.HttpContext.Current.Session["UserId"] = logedUserId; 495 496 if (System.Web.HttpContext.Current.Request["DWExtranetSecondaryUserSelector"] != null && Pageview.User.CurrentSecondaryUser != null) 497 { 498 System.Web.HttpContext.Current.Session["AccountsNumber"] = Pageview.User.CurrentSecondaryUser.GetUsersICanSetAsSecondary().Count; 499 } 500 } 501 }<!DOCTYPE HTML> 502 <!--[if lt IE 8 ]><html class="ie7" lang="@(longLang)"><![endif]--><!--[if IE 8 ]><html class="ie8" lang="@(longLang)"><![endif]--><!--[if IE 9 ]><html class="ie9" lang="@(longLang)"><![endif]--><!--[if (gt IE 9)|!(IE)]><!--> 503 <html lang="@(longLang)"> 504 <!--<![endif]--> 505 @HtmlHead(designName) 506 <body class="@device logged_@userIsLoggedIn.ToString() @homeOrSubpage @print" data-countrycode="@countryCode"> 507 <div class="wrap"> 508 <header id="headerContainer" class="container-fluid noPadding"> 509 <h1 class="hidden">@GetString("Title")</h1> 510 <div id="topHeaderContainer" class="col-xs-12 noPadding"> 511 <div class="container noPadding"> 512 @Logo("col-md-4 col-sm-6 col-xs-12", GetString("Item.Area.CompanyName"), designName) 513 @if (!string.IsNullOrEmpty(GetString("DwNavigation(topMenu)")) && !isPrint) 514 { 515 <nav id="topMenuContainer" class="navbar navbar-default col-xs-12 col-sm-6 col-md-8"> 516 <div class="col-xs-12 welcomeBack"> 517 @if (userIsLoggedIn) 518 { 519 string userName = !string.IsNullOrWhiteSpace(Pageview.User.Name) ? Pageview.User.Name : string.Format("{0}{1}", Pageview.User.FirstName, Pageview.User.LastName); 520 string pageId = Pageview.Page.ID.ToString(); 521 bool isImpersonate = Pageview.User.CurrentSecondaryUser != null; 522 string switchAccountUrl = string.Format("Default.aspx?ID={0}", (Pageview.Area.Item["ManageAccounts"] ?? "").ToString()); 523 524 if (isImpersonate && !(System.Web.HttpContext.Current.Session["AccountsNumber"] ?? "").ToString().Equals("1")) 525 { 526 <span>@Translate("managingAccount", "Managing Account"): @(!string.IsNullOrWhiteSpace(userName) ? userName : Pageview.User.UserName)</span> 527 <a href="@switchAccountUrl">@Translate("switchAccount", "SwitchAccount")</a> 528 <a href="/Admin/Public/ExtranetLogoff.aspx">@Translate("logout", "Logout")</a> 529 } 530 else 531 { 532 <span>@Translate("welcomeBack", "Welcome Back,") @(!string.IsNullOrWhiteSpace(userName) ? userName : Pageview.User.UserName)</span> 533 <a href="/Admin/Public/ExtranetLogoff.aspx">@Translate("logout", "Logout")</a> 534 } 535 } 536 </div> 537 @RenderSearchBar() 538 @GetValue("DwNavigation(topMenu)") 539 </nav> 540 } 541 </div> 542 </div> 543 <div id="menuMainContainer" class="col-xs-12 noPadding"> 544 <div id="mainNavContainer" class="col-xs-12 noPadding"> 545 <div class="container noPadding"> 546 @if (!string.IsNullOrEmpty(GetString("DwNavigation(menuMain)"))) 547 { 548 <nav class="navbar navbar-default"> 549 <div class="navbar-header"> 550 <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar"> 551 <i class="fa fa-bars"></i> 552 </button> 553 </div> 554 <div id="navbar" class="navbar-collapse collapse noPadding"> 555 @GetValue("DwNavigation(menuMain)") 556 </div> 557 </nav> 558 } 559 </div> 560 </div> 561 </div> 562 @RenderSnippet("loginForm") 563 </header> 564 @RenderPageImageVideo(GetString("Item.Page.Image"), GetString("Item.Page.Video")) 565 @RenderPageHeading(GetString("Item.Page.PageHeading"), GetString("Item.Page.PageSubHeading"), GetString("Item.Page.Image"), GetString("Item.Page.Video"), GetBoolean("Item.Page.PageHeadingAlignLeft")) 566 567 @if (!GetBoolean("Item.Page.Hide2ndLevelMenu") && !GetString("Item.ItemInstanceType").Equals("News")) 568 { 569 @GetValue("DwNavigation(groupMenu)") 570 } 571 572 <section id="contentWrapper"> 573 @inherits RazorTemplateBase<RazorTemplateModel<Template>> 574 @using Dynamicweb.Rendering; 575 576 577 @inherits RazorTemplateBase<RazorTemplateModel<Template>> 578 @using Dynamicweb.Rendering; 579 580 @helper Breadcrumb() { 581 if (!string.IsNullOrEmpty(GetString("DwNavigation(breadCrumbsMenu2)"))) 582 { 583 <div class="col-xs-12 noPadding"> 584 <nav id="breadMenuContainer" class="col-xs-12 noPadding"> 585 <ul id="breadCrumbsMenu"> 586 <li><a href="/">@Translate("home", "Home")</a></li> 587 @GetValue("DwNavigation(breadCrumbsMenu2)") 588 @if (!string.IsNullOrEmpty(System.Web.HttpContext.Current.Request.Params["productid"])) 589 { 590 <li> 591 &nbsp;»&nbsp; 592 @GetString("Title") 593 </li> 594 } 595 </ul> 596 </nav> 597 </div> 598 } 599 } 600 601 @helper PageTitle(string image, string video) 602 { 603 if (String.IsNullOrWhiteSpace(image) && String.IsNullOrWhiteSpace(video) && !GetBoolean("Item.Page.HidePageTitle")) 604 { 605 string heading = GetString("Item.Page.PageHeading"), 606 title = !String.IsNullOrEmpty(heading) ? heading : GetString("DwPageName"); 607 <div class="container pageTitle"> 608 <div class="h1">@title</div> 609 </div> 610 } 611 } 612 613 @helper CentralContent(string rightClass = "col-xs-12 noPadding") { 614 if (!string.IsNullOrEmpty(GetString("DwContent(fullWidthContent)"))) 615 { 616 <section id="fullWidthContainer" class="container-fluid fullWidthSection"> 617 <div id="fullWidthContent" class="row">@GetValue("DwContent(fullWidthContent)")</div> 618 </section> 619 } 620 621 if (!string.IsNullOrEmpty(GetString("DwContent(centralContent)"))) 622 { 623 <div class="container"> 624 <section id="centralContainer" class="col-xs-12 noPadding-xs"> 625 <div id="centralContent" class="row">@GetValue("DwContent(centralContent)")</div> 626 </section> 627 </div> 628 } 629 630 if (!string.IsNullOrEmpty(GetString("DwContent(fullWidthContent2)"))) 631 { 632 <section id="fullWidthContainer2" class="container-fluid fullWidthSection"> 633 <div id="fullWidthContent2" class="row">@GetValue("DwContent(fullWidthContent2)")</div> 634 </section> 635 } 636 637 if (!string.IsNullOrEmpty(GetString("DwContent(centralContent2)"))) 638 { 639 <div class="container"> 640 <section id="centralContainer2" class="col-xs-12 noPadding-xs"> 641 <div id="centralContent2" class="row">@GetValue("DwContent(centralContent2)")</div> 642 </section> 643 </div> 644 } 645 } 646 647 @Breadcrumb() 648 @PageTitle() 649 @if(!string.IsNullOrEmpty(GetString("DwNavigation(leftMenu)"))){ 650 <nav id="leftMenuContainer" class="col-sm-3 noPaddingLeft"> 651 @GetValue("DwNavigation(leftMenu)") 652 </nav> 653 } 654 @CentralContent("col-xs-9 noPadding") 655 </section> 656 657 @if (!isPrint) 658 { 659 <footer id="footer" class="container-fluid noPadding"> 660 <div id="footerLargeMenuContainer" class="container-fluid noPadding"> 661 <div class="container"> 662 <div class="col-sm-12 socialContainer"> 663 @if (socialMedia.Any()) 664 { 665 @SnippetStart("socialMedia") 666 <ul class="noPadding" id="socialMedia"> 667 @foreach (LoopItem socialItem in socialMedia) 668 { 669 string className = socialItem.GetString("Item.Area.SocialNetworks.Icon"), 670 socialName = socialItem.GetString("Item.Area.SocialNetworks.Name"), 671 socialLink = socialItem.GetString("Item.Area.SocialNetworks.Link"); 672 673 socialLink = !string.IsNullOrEmpty(socialLink) ? socialLink : "#"; 674 675 <li> 676 <a title="@socialName" class="@className fa" target="_blank" href="@socialLink"> 677 <span class="hidden">@socialName</span> 678 </a> 679 </li> 680 } 681 </ul> 682 @SnippetEnd("socialMedia") 683 @RenderSnippet("socialMedia") 684 } 685 </div> 686 687 @if (!string.IsNullOrEmpty(GetString("DwNavigation(bottomMenu)"))) 688 { 689 <nav id="bottomMenuContainer" class="col-xs-12"> 690 @GetValue("DwNavigation(bottomMenu)") 691 </nav> 692 } 693 694 <div class="footerContactInfo col-xs-12 noPadding-left hidden"> 695 <p class="noPadding"> 696 <a href="mailto:@email">@email</a> 697 </p> 698 <p class="noPadding"> 699 <a href="tel:@phone">@phone</a> 700 </p> 701 </div> 702 703 </div> 704 <div id="copyrightContainer" class="container-fluid"> 705 <div class="container"> 706 <div class="row"> 707 <div class="col-xs-12 col-md-6">@Copyright()</div> 708 <div class="col-xs-12 col-md-6"> 709 @if (!string.IsNullOrEmpty(GetString("DwNavigation(copyrightMenu)"))) 710 { 711 <nav id="copyrightMenuContainer"> 712 @GetValue("DwNavigation(copyrightMenu)") 713 </nav> 714 } 715 716 </div> 717 </div> 718 </div> 719 </div> 720 @DemoBanner() 721 </div></footer> 722 } 723 724 </div> 725 @if (bol_backofficeLogged) 726 { 727 <div id="urlPath" class="text-center col-xs-12"> 728 @Pageview.GlobalTags.GetTagByName("Global:Request.PathAndQuery").Value <br> 729 @Pageview.GlobalTags.GetTagByName("Global:Request.Url").Value 730 </div> 731 } 732 @RenderSnippet("bodyBeforeEnd") 733 </body> 734 735 </html> 736 737 @SnippetStart("loginForm") 738 @{ 739 string createAccountPage = GetString("Item.Area.CreateAccount"); 740 string addUserPage = GetString("Item.Area.AddUser"); 741 string loginPage = GetString("Item.Area.Login"); 742 } 743 <form id="masterExtUserForm" class="col-xs-12 DMForms userRelatedForms hidden" action="/Default.aspx?ID=@Pageview.Page.ID" method="post"> 744 <fieldset class="mandatory TextInput"> 745 <label for="Username">@Translate("usernameEmail", "Username / Email")</label> 746 <input type="email" id="Username" name="username" value="" tabindex="1"> 747 </fieldset> 748 <fieldset class="mandatory TextInput"> 749 <label for="Password">@Translate("password", "Password")</label> 750 <input autocomplete="off" type="password" id="Password" name="password" value="" tabindex="2"> 751 </fieldset> 752 753 <div class="col-xs-12 noPadding"> 754 <input tabindex="3" class="btn btn-bg" name="LoginAction" type="submit" value='@Translate("Login", "Login")'> 755 </div> 756 <div class="forgotButtons col-xs-12 noPadding"> 757 <span class="title">@Translate("currentCustomer", "Current Customer?")</span> 758 <a id="forgotPassword" href="@loginPage&amp;LoginAction=Recovery">@Translate("forgotYourPassword", "Forgot your password?")</a> 759 <a href="@addUserPage">@Translate("addUserToExistingAccount", "Add new user to an existing PBi account")</a> 760 </div> 761 <div id="dontHaveAnAccount" class="col-xs-12 noPadding"> 762 <span class="title">@Translate("newCustomer", "New Customer?")</span> 763 <a href="@createAccountPage">@Translate("createAccount", "Create account")</a> 764 </div> 765 </form> 766 @SnippetEnd("loginForm") 767 <!--Start GDPR Cookie Script--> <script type="text/javascript" charset="UTF-8" src="/Files/Templates/Designs/PacificBag/=" ca-eu.cookie-script.com/s/4615528e5aefd86935f9f18ffef91ed5.js"=""></script> <!--End GDPR Cookie Script-->