Error compiling template "/Designs/HagsCore/Paragraph/AssetsSearch.cshtml"
Line 5161: The name 'printShout' does not exist in the current context

1 //------------------------------------------------------------------------------ 2 // <auto-generated> 3 // This code was generated by a tool. 4 // Runtime Version:4.0.30319.42000 5 // 6 // Changes to this file may cause incorrect behavior and will be lost if 7 // the code is regenerated. 8 // </auto-generated> 9 //------------------------------------------------------------------------------ 10 11 namespace CompiledRazorTemplates.Dynamic { 12 13 #line 853 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 14 using System; 15 16 #line default 17 #line hidden 18 19 #line 861 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 20 using System.Collections.Generic; 21 22 #line default 23 #line hidden 24 25 #line 1261 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 26 using System.Linq; 27 28 #line default 29 #line hidden 30 31 #line 2 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 32 using System.Web.Optimization; 33 34 #line default 35 #line hidden 36 37 #line 523 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 38 using Dynamicweb.Ecommerce.Variants; 39 40 #line default 41 #line hidden 42 43 #line 862 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 44 using HagsWeb.Library.BusinessObjects.UsersLists; 45 46 #line default 47 #line hidden 48 49 #line 858 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 50 using HagsWeb.Library.State; 51 52 #line default 53 #line hidden 54 55 #line 857 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 56 using HagsWeb.Library.Methods.AssetManager; 57 58 #line default 59 #line hidden 60 61 #line 1262 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 62 using Dynamicweb.Content.Items; 63 64 #line default 65 #line hidden 66 67 68 public class RazorEngine_9ef6ecca326d4270a25aaec391d94848 : Dynamicweb.Rendering.RazorTemplateBase<Dynamicweb.Rendering.RazorTemplateModel<Dynamicweb.Rendering.Template>> { 69 70 #line hidden 71 72 #line 864 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 73 public RazorEngine.Templating.TemplateWriter CatalogueHelper(List<ProductCollectionItem> catalogueCollectionItems, string LanguageId, int AreaId) 74 { 75 #line default 76 #line hidden 77 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 78 79 #line 865 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 80 81 82 83 #line default 84 #line hidden 85 WriteLiteralTo(__razor_helper_writer, " <!--Files/Templates/HagsModules/UsersAssetsSearch/MyProductCollection/Catalog" + 86 "ue.cshtml-->\r\n"); 87 88 89 #line 867 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 90 91 92 93 #line default 94 #line hidden 95 96 #line 868 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 97 98 99 100 #line default 101 #line hidden 102 WriteLiteralTo(__razor_helper_writer, " <div"); 103 104 WriteLiteralTo(__razor_helper_writer, " id=\"CreateCatalog\""); 105 106 WriteLiteralTo(__razor_helper_writer, " class=\"modal fade in\""); 107 108 WriteLiteralTo(__razor_helper_writer, " data-background=\"false\""); 109 110 WriteLiteralTo(__razor_helper_writer, " tabindex=\"-1\""); 111 112 WriteLiteralTo(__razor_helper_writer, " role=\"dialog\""); 113 114 WriteLiteralTo(__razor_helper_writer, " aria-labelledby=\"CreateCatalogModalLabel\""); 115 116 WriteLiteralTo(__razor_helper_writer, " aria-hidden=\"true\""); 117 118 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 119 120 WriteLiteralTo(__razor_helper_writer, " class=\"modal-backdrop fade in\""); 121 122 WriteLiteralTo(__razor_helper_writer, " data-backdrop=\"static\""); 123 124 WriteLiteralTo(__razor_helper_writer, " style=\"z-index:180;\""); 125 126 WriteLiteralTo(__razor_helper_writer, "></div>\r\n <div"); 127 128 WriteLiteralTo(__razor_helper_writer, " class=\"modal-dialog\""); 129 130 WriteLiteralTo(__razor_helper_writer, " style=\"width: 1330px;\""); 131 132 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 133 134 WriteLiteralTo(__razor_helper_writer, " class=\"m-form-contact-modal modal-content\""); 135 136 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 137 138 WriteLiteralTo(__razor_helper_writer, " class=\"modal-header\""); 139 140 WriteLiteralTo(__razor_helper_writer, ">\r\n <button"); 141 142 WriteLiteralTo(__razor_helper_writer, " type=\"button\""); 143 144 WriteLiteralTo(__razor_helper_writer, " class=\"close blue-close icon-remove\""); 145 146 WriteLiteralTo(__razor_helper_writer, " data-dismiss=\"modal\""); 147 148 WriteLiteralTo(__razor_helper_writer, "></button>\r\n <button"); 149 150 WriteLiteralTo(__razor_helper_writer, " type=\"button\""); 151 152 WriteLiteralTo(__razor_helper_writer, " class=\"close\""); 153 154 WriteLiteralTo(__razor_helper_writer, " data-dismiss=\"modal\""); 155 156 WriteLiteralTo(__razor_helper_writer, ">\r\n <span"); 157 158 WriteLiteralTo(__razor_helper_writer, " aria-hidden=\"true\""); 159 160 WriteLiteralTo(__razor_helper_writer, ">x</span>\r\n <span"); 161 162 WriteLiteralTo(__razor_helper_writer, " class=\"sr-only\""); 163 164 WriteLiteralTo(__razor_helper_writer, ">Close</span>\r\n </button>\r\n <h4"); 165 166 WriteLiteralTo(__razor_helper_writer, " class=\"modal-title\""); 167 168 WriteLiteralTo(__razor_helper_writer, " id=\"CreateCatalogModalLabel\""); 169 170 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 171 172 WriteLiteralTo(__razor_helper_writer, " "); 173 174 175 #line 880 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 176 WriteTo(__razor_helper_writer, Translate("CreateYourCatalog", "Create Your Catalogue")); 177 178 179 #line default 180 #line hidden 181 WriteLiteralTo(__razor_helper_writer, "\r\n </h4>\r\n </div>\r\n <div"); 182 183 WriteLiteralTo(__razor_helper_writer, " class=\"row2\""); 184 185 WriteLiteralTo(__razor_helper_writer, ">\r\n "); 186 187 WriteLiteralTo(__razor_helper_writer, " <!-- container-fluid -->\r\n </div>\r\n\r\n <div"); 188 189 WriteLiteralTo(__razor_helper_writer, " id=\"div_CreateCatalog\""); 190 191 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 192 193 WriteLiteralTo(__razor_helper_writer, " class=\"row2\""); 194 195 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 196 197 WriteLiteralTo(__razor_helper_writer, " id=\"\""); 198 199 WriteLiteralTo(__razor_helper_writer, " class=\"tab-content\""); 200 201 WriteLiteralTo(__razor_helper_writer, ">\r\n "); 202 203 WriteLiteralTo(__razor_helper_writer, "\r\n <div"); 204 205 WriteLiteralTo(__razor_helper_writer, " id=\"cat-custom\""); 206 207 WriteLiteralTo(__razor_helper_writer, ">\r\n <div>\r\n <di" + 208 "v"); 209 210 WriteLiteralTo(__razor_helper_writer, " class=\"container-fluid\""); 211 212 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 213 214 WriteLiteralTo(__razor_helper_writer, " class=\"col-ms-12 col-sm-12\""); 215 216 WriteLiteralTo(__razor_helper_writer, " style=\"margin-top: 20px;\""); 217 218 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 219 220 WriteLiteralTo(__razor_helper_writer, " class=\"col-ms-6 col-sm-4\""); 221 222 WriteLiteralTo(__razor_helper_writer, ">\r\n\r\n <form"); 223 224 WriteLiteralTo(__razor_helper_writer, " id=\"frm_CreateCatalog\""); 225 226 WriteLiteralTo(__razor_helper_writer, " class=\"form-horizontal\""); 227 228 WriteLiteralTo(__razor_helper_writer, " style=\"display: block\""); 229 230 WriteLiteralTo(__razor_helper_writer, ">\r\n <input"); 231 232 WriteLiteralTo(__razor_helper_writer, " type=\"hidden\""); 233 234 WriteLiteralTo(__razor_helper_writer, " name=\"areaId\""); 235 236 WriteAttributeTo(__razor_helper_writer, "value", Tuple.Create(" value=\"", 60749), Tuple.Create("\"", 60764) 237 238 #line 905 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 239 , Tuple.Create(Tuple.Create("", 60757), Tuple.Create<System.Object, System.Int32>(AreaId 240 241 #line default 242 #line hidden 243 , 60757), false) 244 ); 245 246 WriteLiteralTo(__razor_helper_writer, " />\r\n <input"); 247 248 WriteLiteralTo(__razor_helper_writer, " type=\"hidden\""); 249 250 WriteLiteralTo(__razor_helper_writer, " name=\"languageId\""); 251 252 WriteAttributeTo(__razor_helper_writer, "value", Tuple.Create(" value=\"", 60860), Tuple.Create("\"", 60879) 253 254 #line 906 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 255 , Tuple.Create(Tuple.Create("", 60868), Tuple.Create<System.Object, System.Int32>(LanguageId 256 257 #line default 258 #line hidden 259 , 60868), false) 260 ); 261 262 WriteLiteralTo(__razor_helper_writer, " />\r\n <fieldset"); 263 264 WriteLiteralTo(__razor_helper_writer, " class=\"m-theme-border-grey col-ms-12 col-sm-12\""); 265 266 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 267 268 WriteLiteralTo(__razor_helper_writer, " class=\"row\""); 269 270 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 271 272 WriteLiteralTo(__razor_helper_writer, " class=\"col-ms-12 col-sm-12\""); 273 274 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 275 276 WriteLiteralTo(__razor_helper_writer, " class=\"form-group\""); 277 278 WriteLiteralTo(__razor_helper_writer, ">\r\n <label"); 279 280 WriteLiteralTo(__razor_helper_writer, " for=\"catName\""); 281 282 WriteLiteralTo(__razor_helper_writer, " class=\"col-sm-5 control-label\""); 283 284 WriteLiteralTo(__razor_helper_writer, ">"); 285 286 287 #line 911 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 288 WriteTo(__razor_helper_writer, Translate("CatalogueName", "Catalogue Name")); 289 290 291 #line default 292 #line hidden 293 WriteLiteralTo(__razor_helper_writer, ":</label>\r\n <d" + 294 "iv"); 295 296 WriteLiteralTo(__razor_helper_writer, " class=\"col-sm-7\""); 297 298 WriteLiteralTo(__razor_helper_writer, "><input"); 299 300 WriteLiteralTo(__razor_helper_writer, " type=\"text\""); 301 302 WriteLiteralTo(__razor_helper_writer, " class=\"form-control search-group\""); 303 304 WriteLiteralTo(__razor_helper_writer, " name=\"catName\""); 305 306 WriteAttributeTo(__razor_helper_writer, "placeholder", Tuple.Create(" placeholder=\"", 61590), Tuple.Create("\"", 61649) 307 308 #line 912 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 309 , Tuple.Create(Tuple.Create("", 61604), Tuple.Create<System.Object, System.Int32>(Translate("CatalogueName", "Catalogue Name") 310 311 #line default 312 #line hidden 313 , 61604), false) 314 ); 315 316 WriteLiteralTo(__razor_helper_writer, " maxlength=\"72\""); 317 318 WriteLiteralTo(__razor_helper_writer, " /></div>\r\n </div>" + 319 "\r\n </div>\r\n " + 320 " <div"); 321 322 WriteLiteralTo(__razor_helper_writer, " class=\"col-ms-12 col-sm-12\""); 323 324 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 325 326 WriteLiteralTo(__razor_helper_writer, " class=\"form-group\""); 327 328 WriteLiteralTo(__razor_helper_writer, ">\r\n <label"); 329 330 WriteLiteralTo(__razor_helper_writer, " for=\"catHagsContactName\""); 331 332 WriteLiteralTo(__razor_helper_writer, " class=\"col-sm-5 control-label\""); 333 334 WriteLiteralTo(__razor_helper_writer, ">"); 335 336 337 #line 917 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 338 WriteTo(__razor_helper_writer, Translate("HagsContactName", "Hags Contact Name")); 339 340 341 #line default 342 #line hidden 343 WriteLiteralTo(__razor_helper_writer, ":</label>\r\n <d" + 344 "iv"); 345 346 WriteLiteralTo(__razor_helper_writer, " class=\"col-sm-7\""); 347 348 WriteLiteralTo(__razor_helper_writer, "><input"); 349 350 WriteLiteralTo(__razor_helper_writer, " type=\"text\""); 351 352 WriteLiteralTo(__razor_helper_writer, " class=\"form-control search-group\""); 353 354 WriteLiteralTo(__razor_helper_writer, " name=\"catHagsContactName\""); 355 356 WriteAttributeTo(__razor_helper_writer, "placeholder", Tuple.Create(" placeholder=\"", 62361), Tuple.Create("\"", 62425) 357 358 #line 918 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 359 , Tuple.Create(Tuple.Create("", 62375), Tuple.Create<System.Object, System.Int32>(Translate("HagsContactName", "Hags Contact Name") 360 361 #line default 362 #line hidden 363 , 62375), false) 364 ); 365 366 WriteLiteralTo(__razor_helper_writer, " /></div>\r\n </div>" + 367 "\r\n </div>\r\n " + 368 " <div"); 369 370 WriteLiteralTo(__razor_helper_writer, " class=\"col-ms-12 col-sm-12\""); 371 372 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 373 374 WriteLiteralTo(__razor_helper_writer, " class=\"form-group\""); 375 376 WriteLiteralTo(__razor_helper_writer, ">\r\n <label"); 377 378 WriteLiteralTo(__razor_helper_writer, " for=\"catHagsContactPhone\""); 379 380 WriteLiteralTo(__razor_helper_writer, " class=\"col-sm-5 control-label\""); 381 382 WriteLiteralTo(__razor_helper_writer, ">"); 383 384 385 #line 923 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 386 WriteTo(__razor_helper_writer, Translate("HagsPhoneNumber", "Hags Phone Number")); 387 388 389 #line default 390 #line hidden 391 WriteLiteralTo(__razor_helper_writer, ":</label>\r\n <d" + 392 "iv"); 393 394 WriteLiteralTo(__razor_helper_writer, " class=\"col-sm-7\""); 395 396 WriteLiteralTo(__razor_helper_writer, "><input"); 397 398 WriteLiteralTo(__razor_helper_writer, " type=\"text\""); 399 400 WriteLiteralTo(__razor_helper_writer, " class=\"form-control search-group\""); 401 402 WriteLiteralTo(__razor_helper_writer, " name=\"catHagsContactPhone\""); 403 404 WriteAttributeTo(__razor_helper_writer, "placeholder", Tuple.Create(" placeholder=\"", 63124), Tuple.Create("\"", 63188) 405 406 #line 924 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 407 , Tuple.Create(Tuple.Create("", 63138), Tuple.Create<System.Object, System.Int32>(Translate("HagsPhoneNumber", "Hags Phone Number") 408 409 #line default 410 #line hidden 411 , 63138), false) 412 ); 413 414 WriteLiteralTo(__razor_helper_writer, " /></div>\r\n </div>" + 415 "\r\n </div>\r\n " + 416 " <div"); 417 418 WriteLiteralTo(__razor_helper_writer, " class=\"col-ms-12 col-sm-12\""); 419 420 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 421 422 WriteLiteralTo(__razor_helper_writer, " class=\"form-group\""); 423 424 WriteLiteralTo(__razor_helper_writer, ">\r\n <label"); 425 426 WriteLiteralTo(__razor_helper_writer, " for=\"catHagsContactEmail\""); 427 428 WriteLiteralTo(__razor_helper_writer, " class=\"col-sm-5 control-label\""); 429 430 WriteLiteralTo(__razor_helper_writer, ">"); 431 432 433 #line 929 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 434 WriteTo(__razor_helper_writer, Translate("HagsContactEmail", "Hags Contact Email")); 435 436 437 #line default 438 #line hidden 439 WriteLiteralTo(__razor_helper_writer, ":</label>\r\n <d" + 440 "iv"); 441 442 WriteLiteralTo(__razor_helper_writer, " class=\"col-sm-7\""); 443 444 WriteLiteralTo(__razor_helper_writer, "><input"); 445 446 WriteLiteralTo(__razor_helper_writer, " type=\"text\""); 447 448 WriteLiteralTo(__razor_helper_writer, " class=\"form-control search-group\""); 449 450 WriteLiteralTo(__razor_helper_writer, " name=\"catHagsContactEmail\""); 451 452 WriteAttributeTo(__razor_helper_writer, "placeholder", Tuple.Create(" placeholder=\"", 63889), Tuple.Create("\"", 63955) 453 454 #line 930 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 455 , Tuple.Create(Tuple.Create("", 63903), Tuple.Create<System.Object, System.Int32>(Translate("HagsContactEmail", "Hags Contact Email") 456 457 #line default 458 #line hidden 459 , 63903), false) 460 ); 461 462 WriteLiteralTo(__razor_helper_writer, " /></div>\r\n </div>" + 463 "\r\n </div>\r\n " + 464 " <div"); 465 466 WriteLiteralTo(__razor_helper_writer, " class=\"col-ms-12 col-sm-12\""); 467 468 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 469 470 WriteLiteralTo(__razor_helper_writer, " class=\"form-group\""); 471 472 WriteLiteralTo(__razor_helper_writer, ">\r\n <label"); 473 474 WriteLiteralTo(__razor_helper_writer, " for=\"catCompanyName\""); 475 476 WriteLiteralTo(__razor_helper_writer, " class=\"col-sm-5 control-label\""); 477 478 WriteLiteralTo(__razor_helper_writer, ">"); 479 480 481 #line 935 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 482 WriteTo(__razor_helper_writer, Translate("CompanyName", "Company Name")); 483 484 485 #line default 486 #line hidden 487 WriteLiteralTo(__razor_helper_writer, ":</label>\r\n <d" + 488 "iv"); 489 490 WriteLiteralTo(__razor_helper_writer, " class=\"col-sm-7\""); 491 492 WriteLiteralTo(__razor_helper_writer, "><input"); 493 494 WriteLiteralTo(__razor_helper_writer, " type=\"text\""); 495 496 WriteLiteralTo(__razor_helper_writer, " class=\"form-control search-group\""); 497 498 WriteLiteralTo(__razor_helper_writer, " name=\"catCompanyName\""); 499 500 WriteAttributeTo(__razor_helper_writer, "placeholder", Tuple.Create(" placeholder=\"", 64635), Tuple.Create("\"", 64690) 501 502 #line 936 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 503 , Tuple.Create(Tuple.Create("", 64649), Tuple.Create<System.Object, System.Int32>(Translate("CompanyName", "Company Name") 504 505 #line default 506 #line hidden 507 , 64649), false) 508 ); 509 510 WriteLiteralTo(__razor_helper_writer, " /></div>\r\n </div>" + 511 "\r\n </div>\r\n " + 512 " <div"); 513 514 WriteLiteralTo(__razor_helper_writer, " class=\"col-ms-12 col-sm-12\""); 515 516 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 517 518 WriteLiteralTo(__razor_helper_writer, " class=\"form-group\""); 519 520 WriteLiteralTo(__razor_helper_writer, ">\r\n <label"); 521 522 WriteLiteralTo(__razor_helper_writer, " for=\"catAddress\""); 523 524 WriteLiteralTo(__razor_helper_writer, " class=\"col-sm-5 control-label\""); 525 526 WriteLiteralTo(__razor_helper_writer, ">"); 527 528 529 #line 941 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 530 WriteTo(__razor_helper_writer, Translate("CompanyAddress", "Company Address")); 531 532 533 #line default 534 #line hidden 535 WriteLiteralTo(__razor_helper_writer, ":</label>\r\n <d" + 536 "iv"); 537 538 WriteLiteralTo(__razor_helper_writer, " class=\"col-sm-7\""); 539 540 WriteLiteralTo(__razor_helper_writer, "><input"); 541 542 WriteLiteralTo(__razor_helper_writer, " type=\"text\""); 543 544 WriteLiteralTo(__razor_helper_writer, " class=\"form-control search-group\""); 545 546 WriteLiteralTo(__razor_helper_writer, " name=\"catAddress\""); 547 548 WriteAttributeTo(__razor_helper_writer, "placeholder", Tuple.Create(" placeholder=\"", 65368), Tuple.Create("\"", 65429) 549 550 #line 942 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 551 , Tuple.Create(Tuple.Create("", 65382), Tuple.Create<System.Object, System.Int32>(Translate("CompanyAddress", "Company Address") 552 553 #line default 554 #line hidden 555 , 65382), false) 556 ); 557 558 WriteLiteralTo(__razor_helper_writer, " /></div>\r\n </div>" + 559 "\r\n </div>\r\n " + 560 " <div"); 561 562 WriteLiteralTo(__razor_helper_writer, " class=\"col-ms-12 col-sm-12\""); 563 564 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 565 566 WriteLiteralTo(__razor_helper_writer, " class=\"form-group\""); 567 568 WriteLiteralTo(__razor_helper_writer, ">\r\n <label"); 569 570 WriteLiteralTo(__razor_helper_writer, " for=\"catAddress2\""); 571 572 WriteLiteralTo(__razor_helper_writer, " class=\"col-sm-5 control-label\""); 573 574 WriteLiteralTo(__razor_helper_writer, ">&nbsp;</label>\r\n " + 575 " <div"); 576 577 WriteLiteralTo(__razor_helper_writer, " class=\"col-sm-7\""); 578 579 WriteLiteralTo(__razor_helper_writer, "><input"); 580 581 WriteLiteralTo(__razor_helper_writer, " type=\"text\""); 582 583 WriteLiteralTo(__razor_helper_writer, " class=\"form-control search-group\""); 584 585 WriteLiteralTo(__razor_helper_writer, " name=\"catAddress2\""); 586 587 WriteAttributeTo(__razor_helper_writer, "placeholder", Tuple.Create(" placeholder=\"", 66067), Tuple.Create("\"", 66128) 588 589 #line 948 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 590 , Tuple.Create(Tuple.Create("", 66081), Tuple.Create<System.Object, System.Int32>(Translate("CompanyAddress", "Company Address") 591 592 #line default 593 #line hidden 594 , 66081), false) 595 ); 596 597 WriteLiteralTo(__razor_helper_writer, " /></div>\r\n </div>" + 598 "\r\n </div>\r\n " + 599 " <div"); 600 601 WriteLiteralTo(__razor_helper_writer, " class=\"col-ms-12 col-sm-12\""); 602 603 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 604 605 WriteLiteralTo(__razor_helper_writer, " class=\"form-group\""); 606 607 WriteLiteralTo(__razor_helper_writer, ">\r\n <label"); 608 609 WriteLiteralTo(__razor_helper_writer, " for=\"catAddrTown\""); 610 611 WriteLiteralTo(__razor_helper_writer, " class=\"col-sm-5 control-label\""); 612 613 WriteLiteralTo(__razor_helper_writer, ">"); 614 615 616 #line 953 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 617 WriteTo(__razor_helper_writer, Translate("CompanyTown", "Company Town")); 618 619 620 #line default 621 #line hidden 622 WriteLiteralTo(__razor_helper_writer, ":</label>\r\n <d" + 623 "iv"); 624 625 WriteLiteralTo(__razor_helper_writer, " class=\"col-sm-7\""); 626 627 WriteLiteralTo(__razor_helper_writer, "><input"); 628 629 WriteLiteralTo(__razor_helper_writer, " type=\"text\""); 630 631 WriteLiteralTo(__razor_helper_writer, " class=\"form-control search-group\""); 632 633 WriteLiteralTo(__razor_helper_writer, " name=\"catAddrTown\""); 634 635 WriteAttributeTo(__razor_helper_writer, "placeholder", Tuple.Create(" placeholder=\"", 66802), Tuple.Create("\"", 66857) 636 637 #line 954 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 638 , Tuple.Create(Tuple.Create("", 66816), Tuple.Create<System.Object, System.Int32>(Translate("CompanyTown", "Company Town") 639 640 #line default 641 #line hidden 642 , 66816), false) 643 ); 644 645 WriteLiteralTo(__razor_helper_writer, " /></div>\r\n </div>" + 646 "\r\n </div>\r\n " + 647 " <div"); 648 649 WriteLiteralTo(__razor_helper_writer, " class=\"col-ms-12 col-sm-12\""); 650 651 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 652 653 WriteLiteralTo(__razor_helper_writer, " class=\"form-group\""); 654 655 WriteLiteralTo(__razor_helper_writer, ">\r\n <label"); 656 657 WriteLiteralTo(__razor_helper_writer, " for=\"catAddrPostCode\""); 658 659 WriteLiteralTo(__razor_helper_writer, " class=\"col-sm-5 control-label\""); 660 661 WriteLiteralTo(__razor_helper_writer, ">"); 662 663 664 #line 959 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 665 WriteTo(__razor_helper_writer, Translate("CompanyPostCode", "Company Postal Code")); 666 667 668 #line default 669 #line hidden 670 WriteLiteralTo(__razor_helper_writer, ":</label>\r\n <d" + 671 "iv"); 672 673 WriteLiteralTo(__razor_helper_writer, " class=\"col-sm-7\""); 674 675 WriteLiteralTo(__razor_helper_writer, "><input"); 676 677 WriteLiteralTo(__razor_helper_writer, " type=\"text\""); 678 679 WriteLiteralTo(__razor_helper_writer, " class=\"form-control search-group\""); 680 681 WriteLiteralTo(__razor_helper_writer, " name=\"catAddrPostCode\""); 682 683 WriteAttributeTo(__razor_helper_writer, "placeholder", Tuple.Create(" placeholder=\"", 67550), Tuple.Create("\"", 67616) 684 685 #line 960 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 686 , Tuple.Create(Tuple.Create("", 67564), Tuple.Create<System.Object, System.Int32>(Translate("CompanyPostCode", "Company Postal Code") 687 688 #line default 689 #line hidden 690 , 67564), false) 691 ); 692 693 WriteLiteralTo(__razor_helper_writer, " /></div>\r\n </div>" + 694 "\r\n </div>\r\n " + 695 " <div"); 696 697 WriteLiteralTo(__razor_helper_writer, " class=\"col-ms-12 col-sm-12\""); 698 699 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 700 701 WriteLiteralTo(__razor_helper_writer, " class=\"form-group\""); 702 703 WriteLiteralTo(__razor_helper_writer, ">\r\n <label"); 704 705 WriteLiteralTo(__razor_helper_writer, " for=\"catAddrCountry\""); 706 707 WriteLiteralTo(__razor_helper_writer, " class=\"col-sm-5 control-label\""); 708 709 WriteLiteralTo(__razor_helper_writer, ">"); 710 711 712 #line 965 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 713 WriteTo(__razor_helper_writer, Translate("CompanyCountry", "Company Country")); 714 715 716 #line default 717 #line hidden 718 WriteLiteralTo(__razor_helper_writer, ":</label>\r\n <d" + 719 "iv"); 720 721 WriteLiteralTo(__razor_helper_writer, " class=\"col-sm-7\""); 722 723 WriteLiteralTo(__razor_helper_writer, "><input"); 724 725 WriteLiteralTo(__razor_helper_writer, " type=\"text\""); 726 727 WriteLiteralTo(__razor_helper_writer, " class=\"form-control search-group\""); 728 729 WriteLiteralTo(__razor_helper_writer, " name=\"catAddrCountry\""); 730 731 WriteAttributeTo(__razor_helper_writer, "placeholder", Tuple.Create(" placeholder=\"", 68302), Tuple.Create("\"", 68363) 732 733 #line 966 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 734 , Tuple.Create(Tuple.Create("", 68316), Tuple.Create<System.Object, System.Int32>(Translate("CompanyCountry", "Company Country") 735 736 #line default 737 #line hidden 738 , 68316), false) 739 ); 740 741 WriteLiteralTo(__razor_helper_writer, " /></div>\r\n </div>" + 742 "\r\n </div>\r\n " + 743 " <div"); 744 745 WriteLiteralTo(__razor_helper_writer, " class=\"col-ms-12 col-sm-12\""); 746 747 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 748 749 WriteLiteralTo(__razor_helper_writer, " class=\"m-search-advanced-buttons text-right\""); 750 751 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 752 753 754 #line 971 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 755 756 757 #line default 758 #line hidden 759 760 #line 971 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 761 string printShout = Translate("SaveOrPrint", "Save or Print your Product PDF "); 762 763 #line default 764 #line hidden 765 WriteLiteralTo(__razor_helper_writer, "\r\n <button"); 766 767 WriteLiteralTo(__razor_helper_writer, " class=\"m-btn-search btn btn-default text-uppercase\""); 768 769 WriteLiteralTo(__razor_helper_writer, " name=\"updatecatalogue\""); 770 771 WriteLiteralTo(__razor_helper_writer, " type=\"button\""); 772 773 WriteLiteralTo(__razor_helper_writer, " data-shout=\""); 774 775 776 #line 972 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 777 WriteTo(__razor_helper_writer, printShout); 778 779 780 #line default 781 #line hidden 782 WriteLiteralTo(__razor_helper_writer, "\""); 783 784 WriteLiteralTo(__razor_helper_writer, " role=\"button\""); 785 786 WriteLiteralTo(__razor_helper_writer, ">"); 787 788 789 #line 972 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 790 WriteTo(__razor_helper_writer, Translate("UpdateCatalogue", "Update Catalogue")); 791 792 793 #line default 794 #line hidden 795 WriteLiteralTo(__razor_helper_writer, "</button>\r\n <b" + 796 "utton"); 797 798 WriteLiteralTo(__razor_helper_writer, " class=\"m-btn-search btn btn-default text-uppercase\""); 799 800 WriteLiteralTo(__razor_helper_writer, " style=\"display: none;\""); 801 802 WriteLiteralTo(__razor_helper_writer, " name=\"emailcatalogue\""); 803 804 WriteLiteralTo(__razor_helper_writer, " type=\"button\""); 805 806 WriteLiteralTo(__razor_helper_writer, " role=\"button\""); 807 808 WriteLiteralTo(__razor_helper_writer, ">"); 809 810 811 #line 973 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 812 WriteTo(__razor_helper_writer, Translate("SendEmail", "Send Email")); 813 814 815 #line default 816 #line hidden 817 WriteLiteralTo(__razor_helper_writer, "</button>\r\n <b" + 818 "utton"); 819 820 WriteLiteralTo(__razor_helper_writer, " class=\"m-btn-search btn btn-default text-uppercase\""); 821 822 WriteLiteralTo(__razor_helper_writer, " style=\"display: none;\""); 823 824 WriteLiteralTo(__razor_helper_writer, " name=\"refreshemail\""); 825 826 WriteLiteralTo(__razor_helper_writer, " type=\"button\""); 827 828 WriteLiteralTo(__razor_helper_writer, " role=\"button\""); 829 830 WriteLiteralTo(__razor_helper_writer, ">"); 831 832 833 #line 974 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 834 WriteTo(__razor_helper_writer, Translate("Refresh", "Refresh")); 835 836 837 #line default 838 #line hidden 839 WriteLiteralTo(__razor_helper_writer, "</button>\r\n <b" + 840 "utton"); 841 842 WriteLiteralTo(__razor_helper_writer, " class=\"m-btn-search btn btn-default text-uppercase\""); 843 844 WriteLiteralTo(__razor_helper_writer, " style=\"display: none;\""); 845 846 WriteLiteralTo(__razor_helper_writer, " data-dismiss=\"modal\""); 847 848 WriteLiteralTo(__razor_helper_writer, " type=\"button\""); 849 850 WriteLiteralTo(__razor_helper_writer, " role=\"button\""); 851 852 WriteLiteralTo(__razor_helper_writer, ">"); 853 854 855 #line 975 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 856 WriteTo(__razor_helper_writer, Translate("Cancel", "Cancel")); 857 858 859 #line default 860 #line hidden 861 WriteLiteralTo(__razor_helper_writer, @"</button> 862 </div> 863 </div> 864 </div> <!-- row --> 865 </fieldset> 866 </form> <!--form - horizontal--> 867 "); 868 869 WriteLiteralTo(__razor_helper_writer, "\r\n\r\n <form"); 870 871 WriteLiteralTo(__razor_helper_writer, " id=\"frm_EmailSettings\""); 872 873 WriteLiteralTo(__razor_helper_writer, " role=\"form\""); 874 875 WriteLiteralTo(__razor_helper_writer, " class=\"form-horizontal\""); 876 877 WriteLiteralTo(__razor_helper_writer, " style=\"display:none\""); 878 879 WriteLiteralTo(__razor_helper_writer, ">\r\n <input"); 880 881 WriteLiteralTo(__razor_helper_writer, " type=\"hidden\""); 882 883 WriteLiteralTo(__razor_helper_writer, " name=\"pdfFileName\""); 884 885 WriteLiteralTo(__razor_helper_writer, " value=\"\""); 886 887 WriteLiteralTo(__razor_helper_writer, "/>\r\n <fieldset"); 888 889 WriteLiteralTo(__razor_helper_writer, " class=\"m-theme-border-grey col-ms-12 col-sm-12\""); 890 891 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 892 893 WriteLiteralTo(__razor_helper_writer, " class=\"row\""); 894 895 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 896 897 WriteLiteralTo(__razor_helper_writer, " class=\"col-ms-12 col-sm-12\""); 898 899 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 900 901 WriteLiteralTo(__razor_helper_writer, " class=\"form-group\""); 902 903 WriteLiteralTo(__razor_helper_writer, ">\r\n <label"); 904 905 WriteLiteralTo(__razor_helper_writer, " for=\"emailFrom\""); 906 907 WriteLiteralTo(__razor_helper_writer, " class=\"col-sm-4 control-label\""); 908 909 WriteLiteralTo(__razor_helper_writer, ">"); 910 911 912 #line 989 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 913 WriteTo(__razor_helper_writer, Translate("EmailFrom", "Email from")); 914 915 916 #line default 917 #line hidden 918 WriteLiteralTo(__razor_helper_writer, ":</label>\r\n <d" + 919 "iv"); 920 921 WriteLiteralTo(__razor_helper_writer, " class=\"col-sm-8\""); 922 923 WriteLiteralTo(__razor_helper_writer, "><input"); 924 925 WriteLiteralTo(__razor_helper_writer, " type=\"text\""); 926 927 WriteLiteralTo(__razor_helper_writer, " class=\"form-control search-group\""); 928 929 WriteLiteralTo(__razor_helper_writer, " name=\"emailFrom\""); 930 931 WriteLiteralTo(__razor_helper_writer, " required"); 932 933 WriteAttributeTo(__razor_helper_writer, "placeholder", Tuple.Create(" placeholder=\'", 71261), Tuple.Create("\'", 71312) 934 935 #line 990 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 936 , Tuple.Create(Tuple.Create("", 71275), Tuple.Create<System.Object, System.Int32>(Translate("EmailFrom", "Email from") 937 938 #line default 939 #line hidden 940 , 71275), false) 941 ); 942 943 WriteLiteralTo(__razor_helper_writer, " value=\"\""); 944 945 WriteLiteralTo(__razor_helper_writer, " /></div>\r\n </div>" + 946 "\r\n </div>\r\n " + 947 " <div"); 948 949 WriteLiteralTo(__razor_helper_writer, " class=\"col-ms-12 col-sm-12\""); 950 951 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 952 953 WriteLiteralTo(__razor_helper_writer, " class=\"form-group\""); 954 955 WriteLiteralTo(__razor_helper_writer, ">\r\n <label"); 956 957 WriteLiteralTo(__razor_helper_writer, " for=\"emailTo\""); 958 959 WriteLiteralTo(__razor_helper_writer, " class=\"col-sm-4 control-label\""); 960 961 WriteLiteralTo(__razor_helper_writer, ">"); 962 963 964 #line 995 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 965 WriteTo(__razor_helper_writer, Translate("EmailTo", "Email to")); 966 967 968 #line default 969 #line hidden 970 WriteLiteralTo(__razor_helper_writer, ":</label>\r\n <d" + 971 "iv"); 972 973 WriteLiteralTo(__razor_helper_writer, " class=\"col-sm-8\""); 974 975 WriteLiteralTo(__razor_helper_writer, "><input"); 976 977 WriteLiteralTo(__razor_helper_writer, " type=\"text\""); 978 979 WriteLiteralTo(__razor_helper_writer, " class=\"form-control search-group\""); 980 981 WriteLiteralTo(__razor_helper_writer, " name=\"emailTo\""); 982 983 WriteLiteralTo(__razor_helper_writer, " required"); 984 985 WriteAttributeTo(__razor_helper_writer, "placeholder", Tuple.Create(" placeholder=\'", 71988), Tuple.Create("\'", 72035) 986 987 #line 996 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 988 , Tuple.Create(Tuple.Create("", 72002), Tuple.Create<System.Object, System.Int32>(Translate("EmailTo", "Email to") 989 990 #line default 991 #line hidden 992 , 72002), false) 993 ); 994 995 WriteLiteralTo(__razor_helper_writer, " value=\"\""); 996 997 WriteLiteralTo(__razor_helper_writer, " /></div>\r\n </div>" + 998 "\r\n </div>\r\n " + 999 " <div"); 1000 1001 WriteLiteralTo(__razor_helper_writer, " class=\"col-ms-12 col-sm-12\""); 1002 1003 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 1004 1005 WriteLiteralTo(__razor_helper_writer, " class=\"form-group\""); 1006 1007 WriteLiteralTo(__razor_helper_writer, ">\r\n <label"); 1008 1009 WriteLiteralTo(__razor_helper_writer, " for=\"emailSubject\""); 1010 1011 WriteLiteralTo(__razor_helper_writer, " class=\"col-sm-4 control-label\""); 1012 1013 WriteLiteralTo(__razor_helper_writer, ">"); 1014 1015 1016 #line 1001 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 1017 WriteTo(__razor_helper_writer, Translate("EmailSubject", "Subject")); 1018 1019 1020 #line default 1021 #line hidden 1022 WriteLiteralTo(__razor_helper_writer, ":</label>\r\n <d" + 1023 "iv"); 1024 1025 WriteLiteralTo(__razor_helper_writer, " class=\"col-sm-8\""); 1026 1027 WriteLiteralTo(__razor_helper_writer, "><input"); 1028 1029 WriteLiteralTo(__razor_helper_writer, " type=\"text\""); 1030 1031 WriteLiteralTo(__razor_helper_writer, " class=\"form-control search-group\""); 1032 1033 WriteLiteralTo(__razor_helper_writer, " name=\"emailSubject\""); 1034 1035 WriteAttributeTo(__razor_helper_writer, "placeholder", Tuple.Create(" placeholder=\'", 72716), Tuple.Create("\'", 72767) 1036 1037 #line 1002 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 1038 , Tuple.Create(Tuple.Create("", 72730), Tuple.Create<System.Object, System.Int32>(Translate("EmailSubject", "Subject") 1039 1040 #line default 1041 #line hidden 1042 , 72730), false) 1043 ); 1044 1045 WriteLiteralTo(__razor_helper_writer, " value=\"\""); 1046 1047 WriteLiteralTo(__razor_helper_writer, " /></div>\r\n </div>" + 1048 "\r\n </div>\r\n " + 1049 " <div"); 1050 1051 WriteLiteralTo(__razor_helper_writer, " class=\"col-ms-12 col-sm-12\""); 1052 1053 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 1054 1055 WriteLiteralTo(__razor_helper_writer, " class=\"form-group\""); 1056 1057 WriteLiteralTo(__razor_helper_writer, ">\r\n <label"); 1058 1059 WriteLiteralTo(__razor_helper_writer, " for=\"emailMessage\""); 1060 1061 WriteLiteralTo(__razor_helper_writer, " class=\"col-sm-4 control-label\""); 1062 1063 WriteLiteralTo(__razor_helper_writer, ">"); 1064 1065 1066 #line 1007 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 1067 WriteTo(__razor_helper_writer, Translate("Message", "Message")); 1068 1069 1070 #line default 1071 #line hidden 1072 WriteLiteralTo(__razor_helper_writer, ":</label>\r\n <d" + 1073 "iv"); 1074 1075 WriteLiteralTo(__razor_helper_writer, " class=\"col-sm-8\""); 1076 1077 WriteLiteralTo(__razor_helper_writer, "><textarea"); 1078 1079 WriteLiteralTo(__razor_helper_writer, " class=\"form-control\""); 1080 1081 WriteLiteralTo(__razor_helper_writer, " name=\"emailMessage\""); 1082 1083 WriteLiteralTo(__razor_helper_writer, " cols=\"45\""); 1084 1085 WriteLiteralTo(__razor_helper_writer, " rows=\"7\""); 1086 1087 WriteLiteralTo(__razor_helper_writer, " value=\"Test Message\""); 1088 1089 WriteAttributeTo(__razor_helper_writer, "placeholder", Tuple.Create(" placeholder=\'", 73461), Tuple.Create("\'", 73512) 1090 1091 #line 1008 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 1092 , Tuple.Create(Tuple.Create("", 73475), Tuple.Create<System.Object, System.Int32>(Translate("MyMessage", "My Message") 1093 1094 #line default 1095 #line hidden 1096 , 73475), false) 1097 ); 1098 1099 WriteLiteralTo(__razor_helper_writer, @"></textarea></div> 1100 </div> 1101 </div> 1102 </div> 1103 </fieldset> 1104 1105 <div"); 1106 1107 WriteLiteralTo(__razor_helper_writer, " id=\"emailProgressContent\""); 1108 1109 WriteLiteralTo(__razor_helper_writer, " style=\"display:none;\""); 1110 1111 WriteLiteralTo(__razor_helper_writer, ">\r\n <span"); 1112 1113 WriteLiteralTo(__razor_helper_writer, " id=\"CreateCatalogueEmailLabel\""); 1114 1115 WriteLiteralTo(__razor_helper_writer, " style=\"display: block; text-align: center; margin: auto;\""); 1116 1117 WriteLiteralTo(__razor_helper_writer, ">"); 1118 1119 1120 #line 1015 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 1121 WriteTo(__razor_helper_writer, Translate("SendingYourEmail", "Sending your Email")); 1122 1123 1124 #line default 1125 #line hidden 1126 WriteLiteralTo(__razor_helper_writer, "</span>\r\n <img"); 1127 1128 WriteLiteralTo(__razor_helper_writer, " src=\"Files/Templates/Designs/HagsCore/res/img/loader/ajax-loader.gif\""); 1129 1130 WriteLiteralTo(__razor_helper_writer, " style=\"margin: auto; display: block;\""); 1131 1132 WriteLiteralTo(__razor_helper_writer, " />\r\n </div>\r\n\r\n " + 1133 " <div"); 1134 1135 WriteLiteralTo(__razor_helper_writer, " id=\"emailProgress\""); 1136 1137 WriteLiteralTo(__razor_helper_writer, " style=\"display: none;\""); 1138 1139 WriteLiteralTo(__razor_helper_writer, ">\r\n </div> <!--container - flu" + 1140 "id-->\r\n\r\n <div>\r\n\r\n " + 1141 " <div"); 1142 1143 WriteLiteralTo(__razor_helper_writer, " class=\"m-search-advanced-buttons text-right\""); 1144 1145 WriteLiteralTo(__razor_helper_writer, " id=\"preSendEmail\""); 1146 1147 WriteLiteralTo(__razor_helper_writer, " style=\"display: block;\""); 1148 1149 WriteLiteralTo(__razor_helper_writer, ">\r\n\r\n <button"); 1150 1151 WriteLiteralTo(__razor_helper_writer, " class=\"m-btn-search btn btn-default text-uppercase\""); 1152 1153 WriteLiteralTo(__razor_helper_writer, " name=\"emailcatalogue\""); 1154 1155 WriteLiteralTo(__razor_helper_writer, " type=\"button\""); 1156 1157 WriteLiteralTo(__razor_helper_writer, " role=\"button\""); 1158 1159 WriteLiteralTo(__razor_helper_writer, ">"); 1160 1161 1162 #line 1026 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 1163 WriteTo(__razor_helper_writer, Translate("SendEmail", "Send Email")); 1164 1165 1166 #line default 1167 #line hidden 1168 WriteLiteralTo(__razor_helper_writer, "</button>\r\n <button"); 1169 1170 WriteLiteralTo(__razor_helper_writer, " class=\"m-btn-search btn btn-default text-uppercase\""); 1171 1172 WriteLiteralTo(__razor_helper_writer, " style=\"display: none;\""); 1173 1174 WriteLiteralTo(__razor_helper_writer, " name=\"refreshemail\""); 1175 1176 WriteLiteralTo(__razor_helper_writer, " type=\"button\""); 1177 1178 WriteLiteralTo(__razor_helper_writer, " role=\"button\""); 1179 1180 WriteLiteralTo(__razor_helper_writer, ">"); 1181 1182 1183 #line 1027 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 1184 WriteTo(__razor_helper_writer, Translate("Refresh", "Refresh")); 1185 1186 1187 #line default 1188 #line hidden 1189 WriteLiteralTo(__razor_helper_writer, "</button>\r\n <button"); 1190 1191 WriteLiteralTo(__razor_helper_writer, " class=\"m-btn-search btn btn-default text-uppercase\""); 1192 1193 WriteLiteralTo(__razor_helper_writer, " name=\"cancelemail\""); 1194 1195 WriteLiteralTo(__razor_helper_writer, " type=\"button\""); 1196 1197 WriteLiteralTo(__razor_helper_writer, " role=\"button\""); 1198 1199 WriteLiteralTo(__razor_helper_writer, ">"); 1200 1201 1202 #line 1028 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 1203 WriteTo(__razor_helper_writer, Translate("Cancel", "Cancel")); 1204 1205 1206 #line default 1207 #line hidden 1208 WriteLiteralTo(__razor_helper_writer, @"</button> 1209 1210 </div> 1211 1212 1213 <div"); 1214 1215 WriteLiteralTo(__razor_helper_writer, " class=\"m-search-advanced-buttons text-center\""); 1216 1217 WriteLiteralTo(__razor_helper_writer, " id=\"downloadResend\""); 1218 1219 WriteLiteralTo(__razor_helper_writer, " style=\"display: none;\""); 1220 1221 WriteLiteralTo(__razor_helper_writer, ">\r\n \r\n " + 1222 " <button"); 1223 1224 WriteLiteralTo(__razor_helper_writer, " class=\"m-btn-search btn btn-default text-uppercase\""); 1225 1226 WriteLiteralTo(__razor_helper_writer, " style=\"display: none;\""); 1227 1228 WriteLiteralTo(__razor_helper_writer, " name=\"resendcatalogue\""); 1229 1230 WriteLiteralTo(__razor_helper_writer, " type=\"button\""); 1231 1232 WriteLiteralTo(__razor_helper_writer, " role=\"button\""); 1233 1234 WriteLiteralTo(__razor_helper_writer, ">"); 1235 1236 1237 #line 1035 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 1238 WriteTo(__razor_helper_writer, Translate("SendEmail", "Send Email")); 1239 1240 1241 #line default 1242 #line hidden 1243 WriteLiteralTo(__razor_helper_writer, "</button>\r\n <button"); 1244 1245 WriteLiteralTo(__razor_helper_writer, " class=\"m-btn-sm-more btn btn-default text-uppercase\""); 1246 1247 WriteLiteralTo(__razor_helper_writer, " style=\"margin: 2px;\""); 1248 1249 WriteLiteralTo(__razor_helper_writer, " name=\"refreshemail\""); 1250 1251 WriteLiteralTo(__razor_helper_writer, " type=\"button\""); 1252 1253 WriteLiteralTo(__razor_helper_writer, " role=\"button\""); 1254 1255 WriteLiteralTo(__razor_helper_writer, ">"); 1256 1257 1258 #line 1036 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 1259 WriteTo(__razor_helper_writer, Translate("ClearFormSendAgain", "Clear form and send again")); 1260 1261 1262 #line default 1263 #line hidden 1264 WriteLiteralTo(__razor_helper_writer, "</button><br/>\r\n <a"); 1265 1266 WriteLiteralTo(__razor_helper_writer, " href=\"\""); 1267 1268 WriteLiteralTo(__razor_helper_writer, " class=\"m-btn-sm-more btn btn-default text-uppercase\""); 1269 1270 WriteLiteralTo(__razor_helper_writer, " download>"); 1271 1272 1273 #line 1037 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 1274 WriteTo(__razor_helper_writer, Translate("DownloadCatalogue", "Download Catalogue")); 1275 1276 1277 #line default 1278 #line hidden 1279 WriteLiteralTo(__razor_helper_writer, "</a>\r\n <button"); 1280 1281 WriteLiteralTo(__razor_helper_writer, " class=\"m-btn-sm-more btn btn-default text-uppercase\""); 1282 1283 WriteLiteralTo(__razor_helper_writer, " style=\"margin: 2px;\""); 1284 1285 WriteLiteralTo(__razor_helper_writer, " data-dismiss=\"modal\""); 1286 1287 WriteLiteralTo(__razor_helper_writer, " type=\"button\""); 1288 1289 WriteLiteralTo(__razor_helper_writer, " role=\"button\""); 1290 1291 WriteLiteralTo(__razor_helper_writer, ">"); 1292 1293 1294 #line 1038 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 1295 WriteTo(__razor_helper_writer, Translate("CloseWindow", "Close Window")); 1296 1297 1298 #line default 1299 #line hidden 1300 WriteLiteralTo(__razor_helper_writer, @"</button> 1301 1302 </div> 1303 1304 </div> 1305 1306 </form> 1307 <script> 1308 $(""#frm_EmailSettings"").validate(); 1309 </script> 1310 1311 </div> 1312 <div"); 1313 1314 WriteLiteralTo(__razor_helper_writer, " class=\"col-ms-6 col-sm-8\""); 1315 1316 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 1317 1318 WriteLiteralTo(__razor_helper_writer, " class=\"row2\""); 1319 1320 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 1321 1322 WriteLiteralTo(__razor_helper_writer, " id=\"loader\""); 1323 1324 WriteLiteralTo(__razor_helper_writer, " style=\"display:none;text-align:center\""); 1325 1326 WriteLiteralTo(__razor_helper_writer, ">\r\n <span"); 1327 1328 WriteLiteralTo(__razor_helper_writer, " id=\"CreateCataloguePdfLabel\""); 1329 1330 WriteLiteralTo(__razor_helper_writer, " style=\"display: inline-block;margin: 10px 10px 0 0;padding: 5px 10px\""); 1331 1332 WriteLiteralTo(__razor_helper_writer, "></span>\r\n <img"); 1333 1334 WriteLiteralTo(__razor_helper_writer, " src=\"Files/Templates/Designs/HagsCore/res/img/loader/ajax-loader.gif\""); 1335 1336 WriteLiteralTo(__razor_helper_writer, " style=\"margin:auto;display:block;\""); 1337 1338 WriteLiteralTo(__razor_helper_writer, " />\r\n </div>\r\n\r\n " + 1339 " <div"); 1340 1341 WriteLiteralTo(__razor_helper_writer, " id=\"pdfViewer\""); 1342 1343 WriteLiteralTo(__razor_helper_writer, " style=\"width: 834px;\""); 1344 1345 WriteLiteralTo(__razor_helper_writer, ">\r\n "); 1346 1347 WriteLiteralTo(__razor_helper_writer, @" 1348 </div> 1349 </div> 1350 </div> 1351 </div> 1352 </div> <!--container - fluid--> 1353 </div> 1354 </div> 1355 </div> 1356 </div> 1357 1358 <div"); 1359 1360 WriteLiteralTo(__razor_helper_writer, " id=\"adviceMessage\""); 1361 1362 WriteLiteralTo(__razor_helper_writer, "></div>\r\n\r\n </div>\r\n\r\n <div"); 1363 1364 WriteLiteralTo(__razor_helper_writer, " class=\"modal-footer\""); 1365 1366 WriteLiteralTo(__razor_helper_writer, " id=\"main-footer\""); 1367 1368 WriteLiteralTo(__razor_helper_writer, ">\r\n\r\n <div"); 1369 1370 WriteLiteralTo(__razor_helper_writer, " class=\"m-search-advanced-buttons text-center\""); 1371 1372 WriteLiteralTo(__razor_helper_writer, ">\r\n\r\n <button"); 1373 1374 WriteLiteralTo(__razor_helper_writer, " class=\"m-btn-search btn btn-default text-uppercase\""); 1375 1376 WriteLiteralTo(__razor_helper_writer, " name=\"createemail\""); 1377 1378 WriteLiteralTo(__razor_helper_writer, " type=\"button\""); 1379 1380 WriteLiteralTo(__razor_helper_writer, " role=\"button\""); 1381 1382 WriteLiteralTo(__razor_helper_writer, ">"); 1383 1384 1385 #line 1079 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 1386 WriteTo(__razor_helper_writer, Translate("EmailCatalogue", "Email Catalogue")); 1387 1388 1389 #line default 1390 #line hidden 1391 WriteLiteralTo(__razor_helper_writer, "</button>\r\n\r\n <button"); 1392 1393 WriteLiteralTo(__razor_helper_writer, " class=\"m-btn-search btn btn-default text-uppercase\""); 1394 1395 WriteLiteralTo(__razor_helper_writer, " data-dismiss=\"modal\""); 1396 1397 WriteLiteralTo(__razor_helper_writer, " type=\"button\""); 1398 1399 WriteLiteralTo(__razor_helper_writer, ">"); 1400 1401 1402 #line 1081 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 1403 WriteTo(__razor_helper_writer, Translate("Cancel", "Cancel")); 1404 1405 1406 #line default 1407 #line hidden 1408 WriteLiteralTo(__razor_helper_writer, "</button>\r\n\r\n </div>\r\n\r\n </div>\r\n\r\n " + 1409 "</div>\r\n </div>\r\n\r\n </div>\r\n"); 1410 1411 1412 #line 1091 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 1413 1414 1415 1416 #line default 1417 #line hidden 1418 }); 1419 1420 #line 1092 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 1421 } 1422 #line default 1423 #line hidden 1424 1425 1426 public RazorEngine_9ef6ecca326d4270a25aaec391d94848() { 1427 } 1428 1429 public override void Execute() { 1430 1431 #line 6 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 1432 1433 string validationMessages = string.Format("messages_{0}.min.js", GetGlobalValue("Global:Area.Lang")); 1434 string areaLanguage = GetGlobalValue("Global:Area.Lang"); 1435 string customErrorMessage = HagsWeb.Library.Utilities.DWUtilities.GetTranslation("AdvancedSearchError", "You must provide a Product Code or a Product Name for your Search", GetGlobalValue("Global:Area.LongLang")); 1436 int collectionCount = SessionManager.UsersMyProductCollection != null ? SessionManager.UsersMyProductCollection.Count : 0; 1437 string colnCount = string.Empty; 1438 if (collectionCount > 0) 1439 { 1440 colnCount = collectionCount > 0 ? string.Format(@"<span class='collection-number'>{0}</span>", collectionCount) : string.Empty; 1441 } 1442 1443 1444 #line default 1445 #line hidden 1446 WriteLiteral("\r\n\r\n"); 1447 1448 WriteLiteral("\r\n\r\n<input"); 1449 1450 WriteLiteral(" type=\"hidden\""); 1451 1452 WriteLiteral(" id=\"CultureLanguage\""); 1453 1454 WriteAttribute("value", Tuple.Create(" value=\"", 1335), Tuple.Create("\"", 1382) 1455 1456 #line 26 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 1457 , Tuple.Create(Tuple.Create("", 1343), Tuple.Create<System.Object, System.Int32>(GetGlobalValue("Global:Area.LongLang") 1458 1459 #line default 1460 #line hidden 1461 , 1343), false) 1462 ); 1463 1464 WriteLiteral(" />\r\n<input"); 1465 1466 WriteLiteral(" type=\"hidden\""); 1467 1468 WriteLiteral(" id=\"PageID\""); 1469 1470 WriteAttribute("value", Tuple.Create(" value=\"", 1420), Tuple.Create("\"", 1461) 1471 1472 #line 27 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 1473 , Tuple.Create(Tuple.Create("", 1428), Tuple.Create<System.Object, System.Int32>(GetGlobalValue("Global:Page.ID") 1474 1475 #line default 1476 #line hidden 1477 , 1428), false) 1478 ); 1479 1480 WriteLiteral(" />\r\n<input"); 1481 1482 WriteLiteral(" type=\"hidden\""); 1483 1484 WriteLiteral(" id=\"ErrorMessage\""); 1485 1486 WriteAttribute("value", Tuple.Create(" value=\"", 1505), Tuple.Create("\"", 1532) 1487 1488 #line 28 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 1489 , Tuple.Create(Tuple.Create("", 1513), Tuple.Create<System.Object, System.Int32>(customErrorMessage 1490 1491 #line default 1492 #line hidden 1493 , 1513), false) 1494 ); 1495 1496 WriteLiteral(" />\r\n\r\n<div"); 1497 1498 WriteLiteral(" id=\"advancedSearch\""); 1499 1500 WriteLiteral(">\r\n <div"); 1501 1502 WriteLiteral(" class=\"m-search-primary\""); 1503 1504 WriteLiteral(">\r\n <div"); 1505 1506 WriteLiteral(" class=\"text-center\""); 1507 1508 WriteLiteral(">\r\n <ul>\r\n <li><a"); 1509 1510 WriteLiteral(" class=\"m-btn-search-options btn btn-default text-uppercase\""); 1511 1512 WriteLiteral(" role=\"button\""); 1513 1514 WriteLiteral(" href=\"#advancedsearch-ui\""); 1515 1516 WriteLiteral(" data-toggle=\"tab\""); 1517 1518 WriteLiteral(">"); 1519 1520 1521 #line 34 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 1522 Write(Translate("AdvancedSearch", "Advanced Search")); 1523 1524 1525 #line default 1526 #line hidden 1527 WriteLiteral("</a></li>\r\n <li><a"); 1528 1529 WriteLiteral(" class=\"m-btn-search-options btn btn-default text-uppercase\""); 1530 1531 WriteLiteral(" role=\"button\""); 1532 1533 WriteLiteral(" href=\"#downloadfinder\""); 1534 1535 WriteLiteral(" data-toggle=\"tab\""); 1536 1537 WriteLiteral(">"); 1538 1539 1540 #line 35 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 1541 Write(Translate("ProductDownloads", "Product Downloads")); 1542 1543 1544 #line default 1545 #line hidden 1546 WriteLiteral("</a></li>\r\n <li><a"); 1547 1548 WriteLiteral(" class=\"m-btn-search-options btn btn-default text-uppercase\""); 1549 1550 WriteLiteral(" role=\"button\""); 1551 1552 WriteLiteral(" href=\"#productcollection\""); 1553 1554 WriteLiteral(" data-toggle=\"tab\""); 1555 1556 WriteLiteral(">"); 1557 1558 1559 #line 36 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 1560 Write(Translate("MyProductCollection", "My Product Collection")); 1561 1562 1563 #line default 1564 #line hidden 1565 WriteLiteral("</a>"); 1566 1567 1568 #line 36 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 1569 Write(colnCount); 1570 1571 1572 #line default 1573 #line hidden 1574 WriteLiteral("</li>\r\n <li><a"); 1575 1576 WriteLiteral(" class=\"m-btn-search-options btn btn-default text-uppercase\""); 1577 1578 WriteLiteral(" role=\"button\""); 1579 1580 WriteLiteral(" href=\"#inspirationfinder\""); 1581 1582 WriteLiteral(" data-toggle=\"tab\""); 1583 1584 WriteLiteral(">"); 1585 1586 1587 #line 37 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 1588 Write(Translate("InspirationFinder", "Inspiration Finder")); 1589 1590 1591 #line default 1592 #line hidden 1593 WriteLiteral("</a></li>\r\n </ul>\r\n </div>\r\n </div>\r\n\r\n\r\n <div"); 1594 1595 WriteLiteral(" class=\"container\""); 1596 1597 WriteLiteral(">\r\n\r\n <div"); 1598 1599 WriteLiteral(" class=\"content\""); 1600 1601 WriteLiteral(">\r\n\r\n <div"); 1602 1603 WriteLiteral(" class=\"tab-content\""); 1604 1605 WriteLiteral(">\r\n\r\n <div"); 1606 1607 WriteLiteral(" class=\"tab-pane fade\""); 1608 1609 WriteLiteral(" id=\"advancedsearch-ui\""); 1610 1611 WriteLiteral(">\r\n\r\n"); 1612 1613 1614 #line 51 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 1615 1616 1617 #line default 1618 #line hidden 1619 1620 #line 55 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 1621 1622 1623 #line default 1624 #line hidden 1625 WriteLiteral("\r\n\r\n"); 1626 1627 WriteLiteral("\r\n\r\n\r\n"); 1628 1629 1630 #line 65 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 1631 1632 Dynamicweb.Frontend.PageView advSearchPage = Dynamicweb.Frontend.PageView.Current() ?? Dynamicweb.Frontend.PageView.Current(); 1633 Dynamicweb.Content.Area advSearchArea = new Dynamicweb.Content.AreaService().GetArea(advSearchPage.AreaID); 1634 1635 string advancedSearchUrl = Dynamicweb.Frontend.SearchEngineFriendlyURLs.GetFriendlyUrl((Int32)new Dynamicweb.Content.PageService().GetFirstModulePageForArea(advSearchArea.ID, "Searchv1").ID); 1636 1637 // Search Results in Session - Phase 2 1638 //List<AdvancedSearchState> advancedSearchState = SessionManager.UsersAdvancedSearchState != null ? SessionManager.UsersAdvancedSearchState as List<AdvancedSearchState> : new List<AdvancedSearchState>(); 1639 1640 1641 1642 1643 1644 // Dynamicweb.Frontend.PageView thisPage = Dynamicweb.Frontend.PageView.Current() ?? Dynamicweb.Frontend.PageView.Current(); 1645 // var area = Dynamicweb.Content.Area.GetAreaById(thisPage.AreaID); 1646 1647 //var AnchoringVariants = GlobalAnchoringVariants; // Defined in AssetsSearch.cshtml, the controls' parent 1648 1649 //Dynamicweb.Frontend.PageView thisPage = Dynamicweb.Frontend.PageView.Current() ?? Dynamicweb.Frontend.PageView.Current(); 1650 //var area = Dynamicweb.Content.Area.GetAreaById(thisPage.AreaID); 1651 1652 //Dynamicweb.Frontend.PageView thisPage = Dynamicweb.Frontend.PageView.Current() ?? Dynamicweb.Frontend.PageView.Current(); 1653 //ParagraphCollection pageParagraphCollection = Dynamicweb.Content.Paragraph.GetParagraphsByPageID(thisPage.ID); 1654 //string pageId = thisPage.ID.ToString(); 1655 1656 //var area = Dynamicweb.Content.Area.GetAreaById(thisPage.AreaID); 1657 // //var l = area.EcomLanguageId; 1658 //string EcomLanguageID = area.EcomLanguageId; 1659 //string EcomShopID = area.EcomShopID; 1660 1661 ////string lang = thisPage.GlobalTags.GetTagByName("LongLang").Value; 1662 //string l = thisPage.Area.Values["areaecomlanguageid"].ToString(); 1663 1664 1665 #line default 1666 #line hidden 1667 WriteLiteral("\r\n\r\n<div"); 1668 1669 WriteLiteral(" class=\"m-search-advanced\""); 1670 1671 WriteLiteral(" style=\"display:block;visibility:visible;\""); 1672 1673 WriteLiteral(">\r\n <div"); 1674 1675 WriteLiteral(" class=\"m-search-advanced-panel m-search-advanced-product\""); 1676 1677 WriteLiteral(" style=\"display:block;visibility:visible;\""); 1678 1679 WriteLiteral(">\r\n <div"); 1680 1681 WriteLiteral(" class=\"l-page\""); 1682 1683 WriteLiteral(">\r\n <div"); 1684 1685 WriteLiteral(" class=\"container-fluid\""); 1686 1687 WriteLiteral(">\r\n <nav"); 1688 1689 WriteLiteral(" class=\"text-center\""); 1690 1691 WriteLiteral(">\r\n <ul"); 1692 1693 WriteLiteral(" class=\"m-nav-tabs-search nav nav-tabs text-uppercase\""); 1694 1695 WriteLiteral(">\r\n <li"); 1696 1697 WriteLiteral(" id=\"tabSearchPlay\""); 1698 1699 WriteLiteral(" class=\"active\""); 1700 1701 WriteLiteral("><a"); 1702 1703 WriteLiteral(" href=\"#advancedsearch-Play\""); 1704 1705 WriteLiteral(" data-toggle=\"tab\""); 1706 1707 WriteLiteral(">"); 1708 1709 1710 #line 105 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 1711 Write(Translate("play", "Play")); 1712 1713 1714 #line default 1715 #line hidden 1716 WriteLiteral("</a></li>\r\n <li"); 1717 1718 WriteLiteral(" id=\"tabSearchSportFitness\""); 1719 1720 WriteLiteral("><a"); 1721 1722 WriteLiteral(" href=\"#advancedsearch-SportFitness\""); 1723 1724 WriteLiteral(" data-toggle=\"tab\""); 1725 1726 WriteLiteral(">"); 1727 1728 1729 #line 106 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 1730 Write(Translate("sport", "Sport &amp; Fitness")); 1731 1732 1733 #line default 1734 #line hidden 1735 WriteLiteral("</a></li>\r\n <li"); 1736 1737 WriteLiteral(" id=\"tabSearchParkUrban\""); 1738 1739 WriteLiteral("><a"); 1740 1741 WriteLiteral(" href=\"#advancedsearch-ParkUrban\""); 1742 1743 WriteLiteral(" data-toggle=\"tab\""); 1744 1745 WriteLiteral(">"); 1746 1747 1748 #line 107 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 1749 Write(Translate("park", "Park &amp; Urban")); 1750 1751 1752 #line default 1753 #line hidden 1754 WriteLiteral("</a></li>\r\n <li"); 1755 1756 WriteLiteral(" id=\"tabSearchMarine\""); 1757 1758 WriteLiteral("><a"); 1759 1760 WriteLiteral(" href=\"#advancedsearch-Marine\""); 1761 1762 WriteLiteral(" data-toggle=\"tab\""); 1763 1764 WriteLiteral(">"); 1765 1766 1767 #line 108 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 1768 Write(Translate("marine", "Marine")); 1769 1770 1771 #line default 1772 #line hidden 1773 WriteLiteral("</a></li>\r\n <li"); 1774 1775 WriteLiteral(" id=\"tabSearchShade\""); 1776 1777 WriteLiteral("><a"); 1778 1779 WriteLiteral(" href=\"#advancedsearch-Shade\""); 1780 1781 WriteLiteral(" data-toggle=\"tab\""); 1782 1783 WriteLiteral(">"); 1784 1785 1786 #line 109 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 1787 Write(Translate("shade", "Shade")); 1788 1789 1790 #line default 1791 #line hidden 1792 WriteLiteral("</a></li>\r\n </ul>\r\n </nav>\r\n </div> " + 1793 "<!-- container-fluid -->\r\n <div"); 1794 1795 WriteLiteral(" class=\"tab-content\""); 1796 1797 WriteLiteral(">\r\n <div"); 1798 1799 WriteLiteral(" class=\"tab-pane fade in active\""); 1800 1801 WriteLiteral(" id=\"advancedsearch-Play\""); 1802 1803 WriteLiteral(">\r\n <form"); 1804 1805 WriteLiteral(" id=\"search-play\""); 1806 1807 WriteLiteral(" name=\"search-form\""); 1808 1809 WriteLiteral(" method=\"get\""); 1810 1811 WriteAttribute("action", Tuple.Create(" action=\"", 6537), Tuple.Create("\"", 6564) 1812 1813 #line 115 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 1814 , Tuple.Create(Tuple.Create("", 6546), Tuple.Create<System.Object, System.Int32>(advancedSearchUrl 1815 1816 #line default 1817 #line hidden 1818 , 6546), false) 1819 ); 1820 1821 WriteLiteral(">\r\n <input"); 1822 1823 WriteLiteral(" type=\"hidden\""); 1824 1825 WriteLiteral(" name=\"Products\""); 1826 1827 WriteLiteral(" value=\"Play\""); 1828 1829 WriteLiteral(" />\r\n <div"); 1830 1831 WriteLiteral(" class=\"l-page\""); 1832 1833 WriteLiteral(">\r\n <div"); 1834 1835 WriteLiteral(" class=\"container-fluid\""); 1836 1837 WriteLiteral(">\r\n <div"); 1838 1839 WriteLiteral(" class=\"form-horizontal\""); 1840 1841 WriteLiteral(">\r\n <fieldset"); 1842 1843 WriteLiteral(" class=\"m-theme-border-grey\""); 1844 1845 WriteLiteral(">\r\n\r\n <div"); 1846 1847 WriteLiteral(" class=\"row\""); 1848 1849 WriteLiteral(">\r\n <div"); 1850 1851 WriteLiteral(" class=\"col-ms-4 col-sm-4\""); 1852 1853 WriteLiteral(">\r\n <div"); 1854 1855 WriteLiteral(" class=\"form-group\""); 1856 1857 WriteLiteral(">\r\n <label"); 1858 1859 WriteLiteral(" for=\"aspProductCode\""); 1860 1861 WriteLiteral(" class=\"col-sm-5 control-label\""); 1862 1863 WriteLiteral(">"); 1864 1865 1866 #line 125 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 1867 Write(Translate("ProductCode", "Product Code")); 1868 1869 1870 #line default 1871 #line hidden 1872 WriteLiteral("</label>\r\n <div"); 1873 1874 WriteLiteral(" class=\"col-sm-7\""); 1875 1876 WriteLiteral("><input"); 1877 1878 WriteLiteral(" type=\"text\""); 1879 1880 WriteLiteral(" class=\"form-control search-group\""); 1881 1882 WriteLiteral(" id=\"aspProductCode\""); 1883 1884 WriteLiteral(" name=\"ProductCode\""); 1885 1886 WriteLiteral(" /></div>\r\n </div>\r\n " + 1887 " </div>\r\n " + 1888 " <div"); 1889 1890 WriteLiteral(" class=\"col-ms-4 col-sm-4\""); 1891 1892 WriteLiteral(">\r\n <div"); 1893 1894 WriteLiteral(" class=\"form-group\""); 1895 1896 WriteLiteral(">\r\n <label"); 1897 1898 WriteLiteral(" for=\"aspProductName\""); 1899 1900 WriteLiteral(" class=\"col-sm-5 control-label\""); 1901 1902 WriteLiteral(">"); 1903 1904 1905 #line 131 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 1906 Write(Translate("Name", "Name")); 1907 1908 1909 #line default 1910 #line hidden 1911 WriteLiteral("</label>\r\n <div"); 1912 1913 WriteLiteral(" class=\"col-sm-7\""); 1914 1915 WriteLiteral("><input"); 1916 1917 WriteLiteral(" type=\"text\""); 1918 1919 WriteLiteral(" class=\"form-control search-group\""); 1920 1921 WriteLiteral(" id=\"aspProductName\""); 1922 1923 WriteLiteral(" name=\"ProductName\""); 1924 1925 WriteLiteral(" /></div>\r\n </div>\r\n " + 1926 " </div>\r\n"); 1927 1928 1929 #line 135 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 1930 1931 1932 #line default 1933 #line hidden 1934 1935 #line 135 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 1936 1937 List<VariantOption> PlayAnchoringVariants = new HagsWeb.Library.Methods.AssetSearch.ProductAssets().CheckValidVariantOptions("ATP3", "Play", advSearchArea.EcomLanguageId); 1938 1939 if (PlayAnchoringVariants.Count > 0) 1940 { 1941 1942 1943 #line default 1944 #line hidden 1945 WriteLiteral(" <div"); 1946 1947 WriteLiteral(" class=\"col-ms-4 col-sm-4\""); 1948 1949 WriteLiteral(">\r\n <div"); 1950 1951 WriteLiteral(" class=\"form-group\""); 1952 1953 WriteLiteral(">\r\n\r\n <label"); 1954 1955 WriteLiteral(" for=\"aspAnchoringType\""); 1956 1957 WriteLiteral(" class=\"col-sm-5 control-label\""); 1958 1959 WriteLiteral(">"); 1960 1961 1962 #line 143 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 1963 Write(Translate("Anchoring", "Anchoring")); 1964 1965 1966 #line default 1967 #line hidden 1968 WriteLiteral("</label>\r\n <div"); 1969 1970 WriteLiteral(" class=\"col-sm-7\""); 1971 1972 WriteLiteral(">\r\n <select"); 1973 1974 WriteLiteral(" class=\"form-control\""); 1975 1976 WriteLiteral(" id=\"aspAnchoringType\""); 1977 1978 WriteLiteral(" name=\"AnchoringType\""); 1979 1980 WriteLiteral(">\r\n"); 1981 1982 1983 #line 146 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 1984 1985 1986 #line default 1987 #line hidden 1988 1989 #line 146 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 1990 if (PlayAnchoringVariants.Count > 1) 1991 { 1992 1993 1994 #line default 1995 #line hidden 1996 WriteLiteral(" <option"); 1997 1998 WriteLiteral(" value=\"0\""); 1999 2000 WriteLiteral("> "); 2001 2002 2003 #line 148 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 2004 Write(Translate("SelectAnchoring", "Select Anchoring Type")); 2005 2006 2007 #line default 2008 #line hidden 2009 WriteLiteral(" </option>\r\n"); 2010 2011 2012 #line 149 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 2013 } 2014 2015 2016 #line default 2017 #line hidden 2018 WriteLiteral(" "); 2019 2020 2021 #line 150 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 2022 foreach (var option in PlayAnchoringVariants) 2023 { 2024 2025 2026 #line default 2027 #line hidden 2028 WriteLiteral(" <option"); 2029 2030 WriteAttribute("value", Tuple.Create(" value=\'", 9768), Tuple.Create("\'", 9786) 2031 2032 #line 152 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 2033 , Tuple.Create(Tuple.Create("", 9776), Tuple.Create<System.Object, System.Int32>(option.Id 2034 2035 #line default 2036 #line hidden 2037 , 9776), false) 2038 ); 2039 2040 WriteLiteral(">"); 2041 2042 2043 #line 152 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 2044 Write(option.Name); 2045 2046 2047 #line default 2048 #line hidden 2049 WriteLiteral("</option>\r\n"); 2050 2051 2052 #line 153 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 2053 } 2054 2055 2056 #line default 2057 #line hidden 2058 WriteLiteral(@" </select> 2059 </div> 2060 </div> 2061 </div> 2062 "); 2063 2064 2065 #line 158 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 2066 } 2067 else 2068 { 2069 2070 2071 #line default 2072 #line hidden 2073 WriteLiteral(" <input"); 2074 2075 WriteLiteral(" type=\"hidden\""); 2076 2077 WriteLiteral(" name=\"AnchoringType\""); 2078 2079 WriteLiteral(" value=\"0\""); 2080 2081 WriteLiteral(" />\r\n"); 2082 2083 2084 #line 162 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 2085 } 2086 2087 2088 2089 #line default 2090 #line hidden 2091 WriteLiteral("\r\n\r\n </div> <!-- row -->\r\n " + 2092 " "); 2093 2094 WriteLiteral(@" 2095 2096 </fieldset> 2097 2098 2099 2100 2101 </div> <!--form - horizontal--> 2102 </div> <!--container - fluid--> 2103 </div> <!--l - page--> 2104 <div"); 2105 2106 WriteLiteral(" class=\"m-search-advanced-buttons text-center\""); 2107 2108 WriteLiteral(">\r\n <button"); 2109 2110 WriteLiteral(" class=\"m-btn-search btn btn-default text-uppercase\""); 2111 2112 WriteLiteral(" type=\"reset\""); 2113 2114 WriteLiteral(" name=\"reset\""); 2115 2116 WriteLiteral(">"); 2117 2118 2119 #line 178 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 2120 Write(Translate("Reset", "Reset")); 2121 2122 2123 #line default 2124 #line hidden 2125 WriteLiteral("</button>\r\n <button"); 2126 2127 WriteLiteral(" class=\"m-btn-search btn btn-default text-uppercase\""); 2128 2129 WriteLiteral(" type=\"submit\""); 2130 2131 WriteLiteral(">"); 2132 2133 2134 #line 179 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 2135 Write(Translate("Search", "Search")); 2136 2137 2138 #line default 2139 #line hidden 2140 WriteLiteral("</button>\r\n </div>\r\n </form>\r\n\r\n " + 2141 " "); 2142 2143 WriteLiteral("\r\n <div"); 2144 2145 WriteLiteral(" id=\"results-search-play\""); 2146 2147 WriteLiteral(" class=\"m-search-advanced-results-panel\""); 2148 2149 WriteLiteral(">\r\n\r\n "); 2150 2151 WriteLiteral("\r\n\r\n </div>\r\n </div>\r\n <div"); 2152 2153 WriteLiteral(" class=\"tab-pane fade in\""); 2154 2155 WriteLiteral(" id=\"advancedsearch-SportFitness\""); 2156 2157 WriteLiteral(">\r\n <form"); 2158 2159 WriteLiteral(" id=\"search-sport\""); 2160 2161 WriteLiteral(" name=\"search-form\""); 2162 2163 WriteLiteral(" method=\"get\""); 2164 2165 WriteAttribute("action", Tuple.Create(" action=\"", 12242), Tuple.Create("\"", 12269) 2166 2167 #line 201 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 2168 , Tuple.Create(Tuple.Create("", 12251), Tuple.Create<System.Object, System.Int32>(advancedSearchUrl 2169 2170 #line default 2171 #line hidden 2172 , 12251), false) 2173 ); 2174 2175 WriteLiteral(">\r\n <input"); 2176 2177 WriteLiteral(" type=\"hidden\""); 2178 2179 WriteLiteral(" name=\"Products\""); 2180 2181 WriteLiteral(" value=\"Sport\""); 2182 2183 WriteLiteral(" />\r\n <div"); 2184 2185 WriteLiteral(" class=\"l-page\""); 2186 2187 WriteLiteral(">\r\n <div"); 2188 2189 WriteLiteral(" class=\"container-fluid\""); 2190 2191 WriteLiteral(">\r\n <div"); 2192 2193 WriteLiteral(" class=\"form-horizontal\""); 2194 2195 WriteLiteral(">\r\n <fieldset"); 2196 2197 WriteLiteral(" class=\"m-theme-border-grey\""); 2198 2199 WriteLiteral(">\r\n <div"); 2200 2201 WriteLiteral(" class=\"row\""); 2202 2203 WriteLiteral(">\r\n <div"); 2204 2205 WriteLiteral(" class=\"col-ms-4 col-sm-4\""); 2206 2207 WriteLiteral(">\r\n <div"); 2208 2209 WriteLiteral(" class=\"form-group\""); 2210 2211 WriteLiteral(">\r\n <label"); 2212 2213 WriteLiteral(" for=\"sfProductCode\""); 2214 2215 WriteLiteral(" class=\"col-sm-5 control-label\""); 2216 2217 WriteLiteral(">"); 2218 2219 2220 #line 210 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 2221 Write(Translate("ProductCode", "Product Code")); 2222 2223 2224 #line default 2225 #line hidden 2226 WriteLiteral("</label>\r\n <div"); 2227 2228 WriteLiteral(" class=\"col-sm-7\""); 2229 2230 WriteLiteral("><input"); 2231 2232 WriteLiteral(" type=\"text\""); 2233 2234 WriteLiteral(" class=\"form-control search-group\""); 2235 2236 WriteLiteral(" id=\"sfProductCode\""); 2237 2238 WriteLiteral(" name=\"ProductCode\""); 2239 2240 WriteLiteral(" /></div>\r\n </div>\r\n " + 2241 " </div>\r\n " + 2242 " <div"); 2243 2244 WriteLiteral(" class=\"col-ms-4 col-sm-4\""); 2245 2246 WriteLiteral(">\r\n <div"); 2247 2248 WriteLiteral(" class=\"form-group\""); 2249 2250 WriteLiteral(">\r\n <label"); 2251 2252 WriteLiteral(" for=\"sfProductName\""); 2253 2254 WriteLiteral(" class=\"col-sm-5 control-label\""); 2255 2256 WriteLiteral(">"); 2257 2258 2259 #line 216 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 2260 Write(Translate("Name", "Name")); 2261 2262 2263 #line default 2264 #line hidden 2265 WriteLiteral("</label>\r\n <div"); 2266 2267 WriteLiteral(" class=\"col-sm-7\""); 2268 2269 WriteLiteral("><input"); 2270 2271 WriteLiteral(" type=\"text\""); 2272 2273 WriteLiteral(" class=\"form-control search-group\""); 2274 2275 WriteLiteral(" id=\"sfProductName\""); 2276 2277 WriteLiteral(" name=\"ProductName\""); 2278 2279 WriteLiteral(" /></div>\r\n </div>\r\n " + 2280 " </div>\r\n\r\n"); 2281 2282 2283 #line 221 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 2284 2285 2286 #line default 2287 #line hidden 2288 2289 #line 221 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 2290 2291 List<VariantOption> SportAnchoringVariants = new HagsWeb.Library.Methods.AssetSearch.ProductAssets().CheckValidVariantOptions("ATP3", "Sport", advSearchArea.EcomLanguageId); 2292 2293 if (SportAnchoringVariants.Count > 0) 2294 { 2295 2296 2297 #line default 2298 #line hidden 2299 WriteLiteral(" <div"); 2300 2301 WriteLiteral(" class=\"col-ms-4 col-sm-4\""); 2302 2303 WriteLiteral(">\r\n <div"); 2304 2305 WriteLiteral(" class=\"form-group\""); 2306 2307 WriteLiteral(">\r\n <label"); 2308 2309 WriteLiteral(" for=\"sfAdvancedSearch\""); 2310 2311 WriteLiteral(" class=\"col-sm-5 control-label\""); 2312 2313 WriteLiteral(">"); 2314 2315 2316 #line 228 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 2317 Write(Translate("Anchoring", "Anchoring")); 2318 2319 2320 #line default 2321 #line hidden 2322 WriteLiteral("</label>\r\n <div"); 2323 2324 WriteLiteral(" class=\"col-sm-7\""); 2325 2326 WriteLiteral(">\r\n <select"); 2327 2328 WriteLiteral(" class=\"form-control\""); 2329 2330 WriteLiteral(" id=\"sfAdvancedSearch\""); 2331 2332 WriteLiteral(" name=\"AnchoringType\""); 2333 2334 WriteLiteral(">\r\n"); 2335 2336 2337 #line 231 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 2338 2339 2340 #line default 2341 #line hidden 2342 2343 #line 231 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 2344 if (SportAnchoringVariants.Count > 1) 2345 { 2346 2347 2348 #line default 2349 #line hidden 2350 WriteLiteral(" <option"); 2351 2352 WriteLiteral(" value=\"0\""); 2353 2354 WriteLiteral("> "); 2355 2356 2357 #line 233 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 2358 Write(Translate("SelectAnchoring", "Select Anchoring Type")); 2359 2360 2361 #line default 2362 #line hidden 2363 WriteLiteral(" </option>\r\n"); 2364 2365 2366 #line 234 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 2367 } 2368 2369 2370 #line default 2371 #line hidden 2372 WriteLiteral(" "); 2373 2374 2375 #line 235 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 2376 foreach (var option in SportAnchoringVariants) 2377 { 2378 2379 2380 #line default 2381 #line hidden 2382 WriteLiteral(" <option"); 2383 2384 WriteAttribute("value", Tuple.Create(" value=\'", 15473), Tuple.Create("\'", 15491) 2385 2386 #line 237 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 2387 , Tuple.Create(Tuple.Create("", 15481), Tuple.Create<System.Object, System.Int32>(option.Id 2388 2389 #line default 2390 #line hidden 2391 , 15481), false) 2392 ); 2393 2394 WriteLiteral("> "); 2395 2396 2397 #line 237 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 2398 Write(option.Name); 2399 2400 2401 #line default 2402 #line hidden 2403 WriteLiteral(" </option>\r\n"); 2404 2405 2406 #line 238 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 2407 } 2408 2409 2410 #line default 2411 #line hidden 2412 WriteLiteral(@" </select> 2413 </div> 2414 </div> 2415 </div> 2416 "); 2417 2418 2419 #line 243 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 2420 } 2421 else 2422 { 2423 2424 2425 #line default 2426 #line hidden 2427 WriteLiteral(" <input"); 2428 2429 WriteLiteral(" type=\"hidden\""); 2430 2431 WriteLiteral(" name=\"AnchoringType\""); 2432 2433 WriteLiteral(" value=\"0\""); 2434 2435 WriteLiteral(" />\r\n"); 2436 2437 2438 #line 247 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 2439 } 2440 2441 2442 #line default 2443 #line hidden 2444 WriteLiteral(@" 2445 2446 </div> <!-- row --> 2447 </fieldset> 2448 </div> <!-- form-horizontal --> 2449 </div> <!-- container-fluid --> 2450 </div> <!-- l-page --> 2451 <div"); 2452 2453 WriteLiteral(" class=\"m-search-advanced-buttons text-center\""); 2454 2455 WriteLiteral(">\r\n <button"); 2456 2457 WriteLiteral(" class=\"m-btn-search btn btn-default text-uppercase\""); 2458 2459 WriteLiteral(" type=\"reset\""); 2460 2461 WriteLiteral(" name=\"reset\""); 2462 2463 WriteLiteral(">"); 2464 2465 2466 #line 256 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 2467 Write(Translate("Reset", "Reset")); 2468 2469 2470 #line default 2471 #line hidden 2472 WriteLiteral("</button>\r\n <button"); 2473 2474 WriteLiteral(" class=\"m-btn-search btn btn-default text-uppercase\""); 2475 2476 WriteLiteral(" type=\"submit\""); 2477 2478 WriteLiteral(">"); 2479 2480 2481 #line 257 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 2482 Write(Translate("Search", "Search")); 2483 2484 2485 #line default 2486 #line hidden 2487 WriteLiteral("</button>\r\n </div>\r\n </form>\r\n " + 2488 " <div"); 2489 2490 WriteLiteral(" id=\"results-search-sportfitness\""); 2491 2492 WriteLiteral(" class=\"m-search-advanced-results-panel\""); 2493 2494 WriteLiteral(">\r\n "); 2495 2496 WriteLiteral("\r\n </div>\r\n </div>\r\n <div"); 2497 2498 WriteLiteral(" class=\"tab-pane fade in\""); 2499 2500 WriteLiteral(" id=\"advancedsearch-ParkUrban\""); 2501 2502 WriteLiteral(">\r\n <form"); 2503 2504 WriteLiteral(" id=\"search-park\""); 2505 2506 WriteLiteral(" name=\"search-form\""); 2507 2508 WriteLiteral(" method=\"get\""); 2509 2510 WriteAttribute("action", Tuple.Create(" action=\"", 17676), Tuple.Create("\"", 17703) 2511 2512 #line 273 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 2513 , Tuple.Create(Tuple.Create("", 17685), Tuple.Create<System.Object, System.Int32>(advancedSearchUrl 2514 2515 #line default 2516 #line hidden 2517 , 17685), false) 2518 ); 2519 2520 WriteLiteral(">\r\n <input"); 2521 2522 WriteLiteral(" type=\"hidden\""); 2523 2524 WriteLiteral(" name=\"Products\""); 2525 2526 WriteLiteral(" value=\"Park\""); 2527 2528 WriteLiteral(" />\r\n <div"); 2529 2530 WriteLiteral(" class=\"l-page\""); 2531 2532 WriteLiteral(">\r\n <div"); 2533 2534 WriteLiteral(" class=\"container-fluid\""); 2535 2536 WriteLiteral(">\r\n <div"); 2537 2538 WriteLiteral(" class=\"form-horizontal\""); 2539 2540 WriteLiteral(">\r\n <fieldset"); 2541 2542 WriteLiteral(" class=\"m-theme-border-grey\""); 2543 2544 WriteLiteral(">\r\n <div"); 2545 2546 WriteLiteral(" class=\"row\""); 2547 2548 WriteLiteral(">\r\n <div"); 2549 2550 WriteLiteral(" class=\"col-ms-4 col-sm-4\""); 2551 2552 WriteLiteral(">\r\n <div"); 2553 2554 WriteLiteral(" class=\"form-group\""); 2555 2556 WriteLiteral(">\r\n <label"); 2557 2558 WriteLiteral(" for=\"puProductCode\""); 2559 2560 WriteLiteral(" class=\"col-sm-5 control-label\""); 2561 2562 WriteLiteral(">"); 2563 2564 2565 #line 282 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 2566 Write(Translate("ProductCode", "Product Code")); 2567 2568 2569 #line default 2570 #line hidden 2571 WriteLiteral("</label>\r\n <div"); 2572 2573 WriteLiteral(" class=\"col-sm-7\""); 2574 2575 WriteLiteral("><input"); 2576 2577 WriteLiteral(" type=\"text\""); 2578 2579 WriteLiteral(" class=\"form-control search-group\""); 2580 2581 WriteLiteral(" id=\"puProductCode\""); 2582 2583 WriteLiteral(" name=\"ProductCode\""); 2584 2585 WriteLiteral(" /></div>\r\n </div>\r\n " + 2586 " </div>\r\n " + 2587 " <div"); 2588 2589 WriteLiteral(" class=\"col-ms-4 col-sm-4\""); 2590 2591 WriteLiteral(">\r\n <div"); 2592 2593 WriteLiteral(" class=\"form-group\""); 2594 2595 WriteLiteral(">\r\n <label"); 2596 2597 WriteLiteral(" for=\"puProductName\""); 2598 2599 WriteLiteral(" class=\"col-sm-5 control-label\""); 2600 2601 WriteLiteral(">"); 2602 2603 2604 #line 288 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 2605 Write(Translate("Name", "Name")); 2606 2607 2608 #line default 2609 #line hidden 2610 WriteLiteral("</label>\r\n <div"); 2611 2612 WriteLiteral(" class=\"col-sm-7\""); 2613 2614 WriteLiteral("><input"); 2615 2616 WriteLiteral(" type=\"text\""); 2617 2618 WriteLiteral(" class=\"form-control search-group\""); 2619 2620 WriteLiteral(" id=\"puProductName\""); 2621 2622 WriteLiteral(" name=\"ProductName\""); 2623 2624 WriteLiteral(" /></div>\r\n </div>\r\n " + 2625 " </div>\r\n"); 2626 2627 2628 #line 292 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 2629 2630 2631 #line default 2632 #line hidden 2633 2634 #line 292 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 2635 2636 List<VariantOption> ParkAnchoringVariants = new HagsWeb.Library.Methods.AssetSearch.ProductAssets().CheckValidVariantOptions("ATP3", "Park", advSearchArea.EcomLanguageId); 2637 2638 if (ParkAnchoringVariants.Count > 0) 2639 { 2640 2641 2642 #line default 2643 #line hidden 2644 WriteLiteral(" <div"); 2645 2646 WriteLiteral(" class=\"col-ms-4 col-sm-4\""); 2647 2648 WriteLiteral(">\r\n <div"); 2649 2650 WriteLiteral(" class=\"form-group\""); 2651 2652 WriteLiteral(">\r\n <label"); 2653 2654 WriteLiteral(" for=\"puAnchoringType\""); 2655 2656 WriteLiteral(" class=\"col-sm-5 control-label\""); 2657 2658 WriteLiteral(">"); 2659 2660 2661 #line 299 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 2662 Write(Translate("Anchoring", "Anchoring")); 2663 2664 2665 #line default 2666 #line hidden 2667 WriteLiteral("</label>\r\n <div"); 2668 2669 WriteLiteral(" class=\"col-sm-7\""); 2670 2671 WriteLiteral(">\r\n <select"); 2672 2673 WriteLiteral(" class=\"form-control\""); 2674 2675 WriteLiteral(" id=\"puAnchoringType\""); 2676 2677 WriteLiteral(" name=\"AnchoringType\""); 2678 2679 WriteLiteral(">\r\n"); 2680 2681 2682 #line 302 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 2683 2684 2685 #line default 2686 #line hidden 2687 2688 #line 302 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 2689 if (ParkAnchoringVariants.Count > 1) 2690 { 2691 2692 2693 #line default 2694 #line hidden 2695 WriteLiteral(" <option"); 2696 2697 WriteLiteral(" value=\"0\""); 2698 2699 WriteLiteral("> "); 2700 2701 2702 #line 304 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 2703 Write(Translate("SelectAnchoring", "Select Anchoring Type")); 2704 2705 2706 #line default 2707 #line hidden 2708 WriteLiteral(" </option>\r\n"); 2709 2710 2711 #line 305 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 2712 } 2713 2714 2715 #line default 2716 #line hidden 2717 WriteLiteral(" "); 2718 2719 2720 #line 306 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 2721 foreach (var option in ParkAnchoringVariants) 2722 { 2723 2724 2725 #line default 2726 #line hidden 2727 WriteLiteral(" <option"); 2728 2729 WriteAttribute("value", Tuple.Create(" value=\'", 20897), Tuple.Create("\'", 20915) 2730 2731 #line 308 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 2732 , Tuple.Create(Tuple.Create("", 20905), Tuple.Create<System.Object, System.Int32>(option.Id 2733 2734 #line default 2735 #line hidden 2736 , 20905), false) 2737 ); 2738 2739 WriteLiteral("> "); 2740 2741 2742 #line 308 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 2743 Write(option.Name); 2744 2745 2746 #line default 2747 #line hidden 2748 WriteLiteral(" </option>\r\n"); 2749 2750 2751 #line 309 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 2752 } 2753 2754 2755 #line default 2756 #line hidden 2757 WriteLiteral(@" </select> 2758 </div> 2759 </div> 2760 </div> 2761 "); 2762 2763 2764 #line 314 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 2765 } 2766 else 2767 { 2768 2769 2770 #line default 2771 #line hidden 2772 WriteLiteral(" <input"); 2773 2774 WriteLiteral(" type=\"hidden\""); 2775 2776 WriteLiteral(" name=\"AnchoringType\""); 2777 2778 WriteLiteral(" value=\"0\""); 2779 2780 WriteLiteral(" />\r\n"); 2781 2782 2783 #line 318 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 2784 } 2785 2786 2787 #line default 2788 #line hidden 2789 WriteLiteral(@" 2790 2791 </div> <!-- row --> 2792 </fieldset> 2793 </div> <!-- form-horizontal --> 2794 </div> <!-- container-fluid --> 2795 </div> <!-- l-page --> 2796 <div"); 2797 2798 WriteLiteral(" class=\"m-search-advanced-buttons text-center\""); 2799 2800 WriteLiteral(">\r\n <button"); 2801 2802 WriteLiteral(" class=\"m-btn-search btn btn-default text-uppercase\""); 2803 2804 WriteLiteral(" type=\"reset\""); 2805 2806 WriteLiteral(" name=\"reset\""); 2807 2808 WriteLiteral(">"); 2809 2810 2811 #line 327 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 2812 Write(Translate("Reset", "Reset")); 2813 2814 2815 #line default 2816 #line hidden 2817 WriteLiteral("</button>\r\n <button"); 2818 2819 WriteLiteral(" class=\"m-btn-search btn btn-default text-uppercase\""); 2820 2821 WriteLiteral(" type=\"submit\""); 2822 2823 WriteLiteral(">"); 2824 2825 2826 #line 328 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 2827 Write(Translate("Search", "Search")); 2828 2829 2830 #line default 2831 #line hidden 2832 WriteLiteral("</button>\r\n </div>\r\n </form>\r\n " + 2833 " <div"); 2834 2835 WriteLiteral(" id=\"results-search-parkurban\""); 2836 2837 WriteLiteral(" class=\"m-search-advanced-results-panel\""); 2838 2839 WriteLiteral(">\r\n "); 2840 2841 WriteLiteral("\r\n </div>\r\n </div>\r\n <div"); 2842 2843 WriteLiteral(" class=\"tab-pane fade in\""); 2844 2845 WriteLiteral(" id=\"advancedsearch-Marine\""); 2846 2847 WriteLiteral(">\r\n <form"); 2848 2849 WriteLiteral(" id=\"search-marine\""); 2850 2851 WriteLiteral(" name=\"search-form\""); 2852 2853 WriteLiteral(" method=\"get\""); 2854 2855 WriteAttribute("action", Tuple.Create(" action=\"", 23096), Tuple.Create("\"", 23123) 2856 2857 #line 344 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 2858 , Tuple.Create(Tuple.Create("", 23105), Tuple.Create<System.Object, System.Int32>(advancedSearchUrl 2859 2860 #line default 2861 #line hidden 2862 , 23105), false) 2863 ); 2864 2865 WriteLiteral(">\r\n <input"); 2866 2867 WriteLiteral(" type=\"hidden\""); 2868 2869 WriteLiteral(" name=\"Products\""); 2870 2871 WriteLiteral(" value=\"Marine\""); 2872 2873 WriteLiteral(" />\r\n <div"); 2874 2875 WriteLiteral(" class=\"l-page\""); 2876 2877 WriteLiteral(">\r\n <div"); 2878 2879 WriteLiteral(" class=\"container-fluid\""); 2880 2881 WriteLiteral(">\r\n <div"); 2882 2883 WriteLiteral(" class=\"form-horizontal\""); 2884 2885 WriteLiteral(">\r\n <fieldset"); 2886 2887 WriteLiteral(" class=\"m-theme-border-grey\""); 2888 2889 WriteLiteral(">\r\n <div"); 2890 2891 WriteLiteral(" class=\"row\""); 2892 2893 WriteLiteral(">\r\n <div"); 2894 2895 WriteLiteral(" class=\"col-ms-4 col-sm-4\""); 2896 2897 WriteLiteral(">\r\n <div"); 2898 2899 WriteLiteral(" class=\"form-group\""); 2900 2901 WriteLiteral(">\r\n <label"); 2902 2903 WriteLiteral(" for=\"mProductCode\""); 2904 2905 WriteLiteral(" class=\"col-sm-5 control-label\""); 2906 2907 WriteLiteral(">"); 2908 2909 2910 #line 353 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 2911 Write(Translate("ProductCode", "Product Code")); 2912 2913 2914 #line default 2915 #line hidden 2916 WriteLiteral("</label>\r\n <div"); 2917 2918 WriteLiteral(" class=\"col-sm-7\""); 2919 2920 WriteLiteral("><input"); 2921 2922 WriteLiteral(" type=\"text\""); 2923 2924 WriteLiteral(" class=\"form-control search-group\""); 2925 2926 WriteLiteral(" id=\"mProductCode\""); 2927 2928 WriteLiteral(" name=\"ProductCode\""); 2929 2930 WriteLiteral(" /></div>\r\n </div>\r\n " + 2931 " </div>\r\n " + 2932 " <div"); 2933 2934 WriteLiteral(" class=\"col-ms-4 col-sm-4\""); 2935 2936 WriteLiteral(">\r\n <div"); 2937 2938 WriteLiteral(" class=\"form-group\""); 2939 2940 WriteLiteral(">\r\n <label"); 2941 2942 WriteLiteral(" for=\"mProductName\""); 2943 2944 WriteLiteral(" class=\"col-sm-5 control-label\""); 2945 2946 WriteLiteral(">"); 2947 2948 2949 #line 359 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 2950 Write(Translate("Name", "Name")); 2951 2952 2953 #line default 2954 #line hidden 2955 WriteLiteral("</label>\r\n <div"); 2956 2957 WriteLiteral(" class=\"col-sm-7\""); 2958 2959 WriteLiteral("><input"); 2960 2961 WriteLiteral(" type=\"text\""); 2962 2963 WriteLiteral(" class=\"form-control search-group\""); 2964 2965 WriteLiteral(" id=\"mProductName\""); 2966 2967 WriteLiteral(" name=\"ProductName\""); 2968 2969 WriteLiteral(" /></div>\r\n </div>\r\n " + 2970 " </div>\r\n"); 2971 2972 2973 #line 363 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 2974 2975 2976 #line default 2977 #line hidden 2978 2979 #line 363 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 2980 2981 List<VariantOption> MarineAnchoringVariants = new HagsWeb.Library.Methods.AssetSearch.ProductAssets().CheckValidVariantOptions("ATP3", "Marine", advSearchArea.EcomLanguageId); 2982 2983 if (MarineAnchoringVariants.Count > 0) 2984 { 2985 2986 2987 #line default 2988 #line hidden 2989 WriteLiteral(" <div"); 2990 2991 WriteLiteral(" class=\"col-ms-4 col-sm-4\""); 2992 2993 WriteLiteral(">\r\n <div"); 2994 2995 WriteLiteral(" class=\"form-group\""); 2996 2997 WriteLiteral(">\r\n <label"); 2998 2999 WriteLiteral(" for=\"mAnchoringType\""); 3000 3001 WriteLiteral(" class=\"col-sm-5 control-label\""); 3002 3003 WriteLiteral(">"); 3004 3005 3006 #line 370 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 3007 Write(Translate("Anchoring", "Anchoring")); 3008 3009 3010 #line default 3011 #line hidden 3012 WriteLiteral("</label>\r\n <div"); 3013 3014 WriteLiteral(" class=\"col-sm-7\""); 3015 3016 WriteLiteral(">\r\n <select"); 3017 3018 WriteLiteral(" class=\"form-control\""); 3019 3020 WriteLiteral(" id=\"mAnchoringType\""); 3021 3022 WriteLiteral(" name=\"AnchoringType\""); 3023 3024 WriteLiteral(">\r\n"); 3025 3026 3027 #line 373 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 3028 3029 3030 #line default 3031 #line hidden 3032 3033 #line 373 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 3034 if (MarineAnchoringVariants.Count > 1) 3035 { 3036 3037 3038 #line default 3039 #line hidden 3040 WriteLiteral(" <option"); 3041 3042 WriteLiteral(" value=\"0\""); 3043 3044 WriteLiteral("> "); 3045 3046 3047 #line 375 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 3048 Write(Translate("SelectAnchoring", "Select Anchoring Type")); 3049 3050 3051 #line default 3052 #line hidden 3053 WriteLiteral(" </option>\r\n"); 3054 3055 3056 #line 376 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 3057 } 3058 3059 3060 #line default 3061 #line hidden 3062 WriteLiteral(" "); 3063 3064 3065 #line 377 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 3066 foreach (var option in MarineAnchoringVariants) 3067 { 3068 3069 3070 #line default 3071 #line hidden 3072 WriteLiteral(" <option"); 3073 3074 WriteAttribute("value", Tuple.Create(" value=\'", 26323), Tuple.Create("\'", 26341) 3075 3076 #line 379 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 3077 , Tuple.Create(Tuple.Create("", 26331), Tuple.Create<System.Object, System.Int32>(option.Id 3078 3079 #line default 3080 #line hidden 3081 , 26331), false) 3082 ); 3083 3084 WriteLiteral("> "); 3085 3086 3087 #line 379 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 3088 Write(option.Name); 3089 3090 3091 #line default 3092 #line hidden 3093 WriteLiteral(" </option>\r\n"); 3094 3095 3096 #line 380 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 3097 } 3098 3099 3100 #line default 3101 #line hidden 3102 WriteLiteral(@" </select> 3103 </div> 3104 </div> 3105 </div> 3106 "); 3107 3108 3109 #line 385 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 3110 } 3111 else 3112 { 3113 3114 3115 #line default 3116 #line hidden 3117 WriteLiteral(" <input"); 3118 3119 WriteLiteral(" type=\"hidden\""); 3120 3121 WriteLiteral(" name=\"AnchoringType\""); 3122 3123 WriteLiteral(" value=\"0\""); 3124 3125 WriteLiteral(" />\r\n"); 3126 3127 3128 #line 389 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 3129 } 3130 3131 3132 #line default 3133 #line hidden 3134 WriteLiteral(@" 3135 3136 </div> <!-- row --> 3137 </fieldset> 3138 </div> <!-- form-horizontal --> 3139 </div> <!-- container-fluid --> 3140 </div> <!-- l-page --> 3141 <div"); 3142 3143 WriteLiteral(" class=\"m-search-advanced-buttons text-center\""); 3144 3145 WriteLiteral(">\r\n <button"); 3146 3147 WriteLiteral(" class=\"m-btn-search btn btn-default text-uppercase\""); 3148 3149 WriteLiteral(" type=\"reset\""); 3150 3151 WriteLiteral(" name=\"reset\""); 3152 3153 WriteLiteral(">"); 3154 3155 3156 #line 398 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 3157 Write(Translate("Reset", "Reset")); 3158 3159 3160 #line default 3161 #line hidden 3162 WriteLiteral("</button>\r\n <button"); 3163 3164 WriteLiteral(" class=\"m-btn-search btn btn-default text-uppercase\""); 3165 3166 WriteLiteral(" type=\"submit\""); 3167 3168 WriteLiteral(">"); 3169 3170 3171 #line 399 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 3172 Write(Translate("Search", "Search")); 3173 3174 3175 #line default 3176 #line hidden 3177 WriteLiteral("</button>\r\n </div>\r\n </form>\r\n " + 3178 " <div"); 3179 3180 WriteLiteral(" id=\"results-search-marine\""); 3181 3182 WriteLiteral(" class=\"m-search-advanced-results-panel\""); 3183 3184 WriteLiteral(">\r\n "); 3185 3186 WriteLiteral("\r\n </div>\r\n </div>\r\n <div"); 3187 3188 WriteLiteral(" class=\"tab-pane fade in\""); 3189 3190 WriteLiteral(" id=\"advancedsearch-Shade\""); 3191 3192 WriteLiteral(">\r\n <form"); 3193 3194 WriteLiteral(" id=\"search-shade\""); 3195 3196 WriteLiteral(" name=\"search-form\""); 3197 3198 WriteLiteral(" method=\"get\""); 3199 3200 WriteAttribute("action", Tuple.Create(" action=\"", 28517), Tuple.Create("\"", 28544) 3201 3202 #line 415 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 3203 , Tuple.Create(Tuple.Create("", 28526), Tuple.Create<System.Object, System.Int32>(advancedSearchUrl 3204 3205 #line default 3206 #line hidden 3207 , 28526), false) 3208 ); 3209 3210 WriteLiteral(">\r\n <input"); 3211 3212 WriteLiteral(" type=\"hidden\""); 3213 3214 WriteLiteral(" name=\"Products\""); 3215 3216 WriteLiteral(" value=\"Shade\""); 3217 3218 WriteLiteral(" />\r\n <div"); 3219 3220 WriteLiteral(" class=\"l-page\""); 3221 3222 WriteLiteral(">\r\n <div"); 3223 3224 WriteLiteral(" class=\"container-fluid\""); 3225 3226 WriteLiteral(">\r\n <div"); 3227 3228 WriteLiteral(" class=\"form-horizontal\""); 3229 3230 WriteLiteral(">\r\n <fieldset"); 3231 3232 WriteLiteral(" class=\"m-theme-border-grey\""); 3233 3234 WriteLiteral(">\r\n <div"); 3235 3236 WriteLiteral(" class=\"row\""); 3237 3238 WriteLiteral(">\r\n <div"); 3239 3240 WriteLiteral(" class=\"col-ms-4 col-sm-4\""); 3241 3242 WriteLiteral(">\r\n <div"); 3243 3244 WriteLiteral(" class=\"form-group\""); 3245 3246 WriteLiteral(">\r\n <label"); 3247 3248 WriteLiteral(" for=\"sProductCode\""); 3249 3250 WriteLiteral(" class=\"col-sm-5 control-label\""); 3251 3252 WriteLiteral(">"); 3253 3254 3255 #line 424 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 3256 Write(Translate("ProductCode", "Product Code")); 3257 3258 3259 #line default 3260 #line hidden 3261 WriteLiteral("</label>\r\n <div"); 3262 3263 WriteLiteral(" class=\"col-sm-7\""); 3264 3265 WriteLiteral("><input"); 3266 3267 WriteLiteral(" type=\"text\""); 3268 3269 WriteLiteral(" class=\"form-control search-group\""); 3270 3271 WriteLiteral(" id=\"sProductCode\""); 3272 3273 WriteLiteral(" name=\"ProductCode\""); 3274 3275 WriteLiteral(" /></div>\r\n </div>\r\n " + 3276 " </div>\r\n " + 3277 " <div"); 3278 3279 WriteLiteral(" class=\"col-ms-4 col-sm-4\""); 3280 3281 WriteLiteral(">\r\n <div"); 3282 3283 WriteLiteral(" class=\"form-group\""); 3284 3285 WriteLiteral(">\r\n <label"); 3286 3287 WriteLiteral(" for=\"sProductName\""); 3288 3289 WriteLiteral(" class=\"col-sm-5 control-label\""); 3290 3291 WriteLiteral(">"); 3292 3293 3294 #line 430 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 3295 Write(Translate("Name", "Name")); 3296 3297 3298 #line default 3299 #line hidden 3300 WriteLiteral("</label>\r\n <div"); 3301 3302 WriteLiteral(" class=\"col-sm-7\""); 3303 3304 WriteLiteral("><input"); 3305 3306 WriteLiteral(" type=\"text\""); 3307 3308 WriteLiteral(" class=\"form-control search-group\""); 3309 3310 WriteLiteral(" id=\"sProductName\""); 3311 3312 WriteLiteral(" name=\"ProductName\""); 3313 3314 WriteLiteral(" /></div>\r\n </div>\r\n " + 3315 " </div>\r\n"); 3316 3317 3318 #line 434 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 3319 3320 3321 #line default 3322 #line hidden 3323 3324 #line 434 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 3325 3326 List<VariantOption> ShadeAnchoringVariants = new HagsWeb.Library.Methods.AssetSearch.ProductAssets().CheckValidVariantOptions("ATP3", "Shade", advSearchArea.EcomLanguageId); 3327 3328 if (ShadeAnchoringVariants.Count > 0) 3329 { 3330 3331 3332 #line default 3333 #line hidden 3334 WriteLiteral(" <div"); 3335 3336 WriteLiteral(" class=\"col-ms-4 col-sm-4\""); 3337 3338 WriteLiteral(">\r\n <div"); 3339 3340 WriteLiteral(" class=\"form-group\""); 3341 3342 WriteLiteral(">\r\n <label"); 3343 3344 WriteLiteral(" for=\"sAnchoringType\""); 3345 3346 WriteLiteral(" class=\"col-sm-5 control-label\""); 3347 3348 WriteLiteral(">"); 3349 3350 3351 #line 441 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 3352 Write(Translate("Anchoring", "Anchoring")); 3353 3354 3355 #line default 3356 #line hidden 3357 WriteLiteral("</label>\r\n <div"); 3358 3359 WriteLiteral(" class=\"col-sm-7\""); 3360 3361 WriteLiteral(">\r\n <select"); 3362 3363 WriteLiteral(" class=\"form-control\""); 3364 3365 WriteLiteral(" id=\"sAnchoringType\""); 3366 3367 WriteLiteral(" name=\"AnchoringType\""); 3368 3369 WriteLiteral(">\r\n"); 3370 3371 3372 #line 444 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 3373 3374 3375 #line default 3376 #line hidden 3377 3378 #line 444 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 3379 if (ShadeAnchoringVariants.Count > 1) 3380 { 3381 3382 3383 #line default 3384 #line hidden 3385 WriteLiteral(" <option"); 3386 3387 WriteLiteral(" value=\"0\""); 3388 3389 WriteLiteral("> "); 3390 3391 3392 #line 446 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 3393 Write(Translate("SelectAnchoring", "Select Anchoring Type")); 3394 3395 3396 #line default 3397 #line hidden 3398 WriteLiteral(" </option>\r\n"); 3399 3400 3401 #line 447 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 3402 } 3403 3404 3405 #line default 3406 #line hidden 3407 WriteLiteral(" "); 3408 3409 3410 #line 448 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 3411 foreach (var option in ShadeAnchoringVariants) 3412 { 3413 3414 3415 #line default 3416 #line hidden 3417 WriteLiteral(" <option"); 3418 3419 WriteAttribute("value", Tuple.Create(" value=\'", 31738), Tuple.Create("\'", 31756) 3420 3421 #line 450 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 3422 , Tuple.Create(Tuple.Create("", 31746), Tuple.Create<System.Object, System.Int32>(option.Id 3423 3424 #line default 3425 #line hidden 3426 , 31746), false) 3427 ); 3428 3429 WriteLiteral("> "); 3430 3431 3432 #line 450 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 3433 Write(option.Name); 3434 3435 3436 #line default 3437 #line hidden 3438 WriteLiteral(" </option>\r\n"); 3439 3440 3441 #line 451 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 3442 } 3443 3444 3445 #line default 3446 #line hidden 3447 WriteLiteral(@" </select> 3448 </div> 3449 </div> 3450 </div> 3451 "); 3452 3453 3454 #line 456 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 3455 } 3456 else 3457 { 3458 3459 3460 #line default 3461 #line hidden 3462 WriteLiteral(" <input"); 3463 3464 WriteLiteral(" type=\"hidden\""); 3465 3466 WriteLiteral(" name=\"AnchoringType\""); 3467 3468 WriteLiteral(" value=\"0\""); 3469 3470 WriteLiteral(" />\r\n"); 3471 3472 3473 #line 460 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 3474 } 3475 3476 3477 #line default 3478 #line hidden 3479 WriteLiteral(@" 3480 3481 </div> <!-- row --> 3482 </fieldset> 3483 </div> <!-- form-horizontal --> 3484 </div> <!-- container-fluid --> 3485 </div> <!-- l-page --> 3486 <div"); 3487 3488 WriteLiteral(" class=\"m-search-advanced-buttons text-center\""); 3489 3490 WriteLiteral(">\r\n <button"); 3491 3492 WriteLiteral(" class=\"m-btn-search btn btn-default text-uppercase\""); 3493 3494 WriteLiteral(" type=\"reset\""); 3495 3496 WriteLiteral(" name=\"reset\""); 3497 3498 WriteLiteral(">"); 3499 3500 3501 #line 469 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 3502 Write(Translate("Reset", "Reset")); 3503 3504 3505 #line default 3506 #line hidden 3507 WriteLiteral("</button>\r\n <button"); 3508 3509 WriteLiteral(" class=\"m-btn-search btn btn-default text-uppercase\""); 3510 3511 WriteLiteral(" type=\"submit\""); 3512 3513 WriteLiteral(">"); 3514 3515 3516 #line 470 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 3517 Write(Translate("Search", "Search")); 3518 3519 3520 #line default 3521 #line hidden 3522 WriteLiteral("</button>\r\n </div>\r\n </form>\r\n " + 3523 " <div"); 3524 3525 WriteLiteral(" id=\"results-search-shade\""); 3526 3527 WriteLiteral(" class=\"m-search-advanced-results-panel\""); 3528 3529 WriteLiteral(">\r\n "); 3530 3531 WriteLiteral("\r\n </div>\r\n </div>\r\n </div>\r\n " + 3532 " </div> <!-- l-page -->\r\n </div> <!-- m-search-advanced-product -->\r\n <div" + 3533 ""); 3534 3535 WriteLiteral(" class=\"text-center\""); 3536 3537 WriteLiteral(">\r\n <a"); 3538 3539 WriteLiteral(" href=\"#advancedsearch-ui\""); 3540 3541 WriteLiteral(" class=\"m-search-advanced-close\""); 3542 3543 WriteLiteral("><img"); 3544 3545 WriteLiteral(" src=\"/Files/Templates/Designs/HagsCore/res/img/buttons/search-advanced-close.svg" + 3546 "\""); 3547 3548 WriteLiteral(" data-nosvg=\"/Files/Templates/Designs/HagsCore/res/img/buttons/search-advanced-cl" + 3549 "ose.png\""); 3550 3551 WriteLiteral(" width=\"112\""); 3552 3553 WriteLiteral(" alt=\"Search Advanced Close\""); 3554 3555 WriteLiteral("></a>\r\n </div>\r\n</div>\r\n\r\n\r\n\r\n"); 3556 3557 WriteLiteral("\r\n\r\n\r\n </div>\r\n\r\n <div"); 3558 3559 WriteLiteral(" class=\"tab-pane fade\""); 3560 3561 WriteLiteral(" id=\"downloadfinder\""); 3562 3563 WriteLiteral(">\r\n\r\n"); 3564 3565 3566 #line 520 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 3567 3568 3569 #line default 3570 #line hidden 3571 3572 #line 524 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 3573 3574 Dynamicweb.Frontend.PageView downloadsPage = Dynamicweb.Frontend.PageView.Current() ?? Dynamicweb.Frontend.PageView.Current(); 3575 Dynamicweb.Content.Area downloadsArea = new Dynamicweb.Content.AreaService().GetArea(downloadsPage.AreaID); 3576 3577 string downloadsSearchUrl = Dynamicweb.Frontend.SearchEngineFriendlyURLs.GetFriendlyUrl((Int32)new Dynamicweb.Content.PageService().GetFirstModulePageForArea(downloadsArea.ID, "Searchv1").ID); 3578 3579 // This seems to be still valid 3580 List<VariantOption> ProductDownloadsAnchoringVariants = new HagsWeb.Library.Methods.AssetSearch.ProductAssets().GetVariantOptions("ATP3", downloadsArea.EcomLanguageId); 3581 3582 3583 #region Search Results in Session - Phase 2 3584 3585 3586 //// Search Results in Session - Phase 2 3587 //List<AdvancedSearchState> downloadsSearchState = SessionManager.UsersAdvancedSearchState != null ? SessionManager.UsersAdvancedSearchState as List<AdvancedSearchState> : new List<AdvancedSearchState>(); 3588 //List<AdvancedSearchState> brochuresStateList = new List<AdvancedSearchState>(); 3589 //List<AdvancedSearchState> dwgsStateList = new List<AdvancedSearchState>(); 3590 //List<AdvancedSearchState> certificatesStateList = new List<AdvancedSearchState>(); 3591 //List<AdvancedSearchState> installationGuidesStateList = new List<AdvancedSearchState>(); 3592 3593 //if (downloadsSearchState.Count() > 0) 3594 //{ 3595 // foreach (AdvancedSearchState downloadsState in downloadsSearchState) 3596 // { 3597 // if (!String.IsNullOrEmpty(downloadsState.Brochures)) 3598 // { 3599 // AdvancedSearchState broch = new AdvancedSearchState(); 3600 // broch.Brochures = downloadsState.Brochures; 3601 // brochuresStateList.Add(broch); 3602 // } 3603 // if (!String.IsNullOrEmpty(downloadsState.Dwgs)) 3604 // { 3605 // AdvancedSearchState dwg = new AdvancedSearchState(); 3606 // dwg.Dwgs = downloadsState.Dwgs; 3607 // dwgsStateList.Add(dwg); 3608 // } 3609 // if (!String.IsNullOrEmpty(downloadsState.Certificates)) 3610 // { 3611 // AdvancedSearchState certs = new AdvancedSearchState(); 3612 // certs.Certificates = downloadsState.Certificates; 3613 // certificatesStateList.Add(certs); 3614 // } 3615 // if (!String.IsNullOrEmpty(downloadsState.InstallationGuides)) 3616 // { 3617 // AdvancedSearchState guide = new AdvancedSearchState(); 3618 // guide.InstallationGuides = downloadsState.InstallationGuides; 3619 // installationGuidesStateList.Add(guide); 3620 // } 3621 // } 3622 3623 //} 3624 #endregion 3625 3626 3627 3628 #line default 3629 #line hidden 3630 WriteLiteral("\r\n<div"); 3631 3632 WriteLiteral(" class=\"m-search-advanced\""); 3633 3634 WriteLiteral(" style=\"display:block;visibility:visible;\""); 3635 3636 WriteLiteral(">\r\n <div"); 3637 3638 WriteLiteral(" class=\"m-search-advanced-panel m-search-advanced-product\""); 3639 3640 WriteLiteral(" style=\"display:block;visibility:visible;\""); 3641 3642 WriteLiteral(">\r\n <div"); 3643 3644 WriteLiteral(" class=\"l-page\""); 3645 3646 WriteLiteral(">\r\n <div"); 3647 3648 WriteLiteral(" class=\"container-fluid\""); 3649 3650 WriteLiteral(">\r\n <nav"); 3651 3652 WriteLiteral(" class=\"text-center\""); 3653 3654 WriteLiteral(">\r\n <ul"); 3655 3656 WriteLiteral(" class=\"m-nav-tabs-search nav nav-tabs text-uppercase\""); 3657 3658 WriteLiteral(">\r\n <li><a"); 3659 3660 WriteLiteral(" href=\"#download-brochures\""); 3661 3662 WriteLiteral(" data-toggle=\"tab\""); 3663 3664 WriteLiteral(">"); 3665 3666 3667 #line 584 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 3668 Write(Translate("Brochures", "Brochures")); 3669 3670 3671 #line default 3672 #line hidden 3673 WriteLiteral("</a></li>\r\n <li><a"); 3674 3675 WriteLiteral(" href=\"#download-dwg\""); 3676 3677 WriteLiteral(" data-toggle=\"tab\""); 3678 3679 WriteLiteral(">"); 3680 3681 3682 #line 585 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 3683 Write(Translate("DWGFiles", "DWG Files")); 3684 3685 3686 #line default 3687 #line hidden 3688 WriteLiteral("</a></li>\r\n <li><a"); 3689 3690 WriteLiteral(" href=\"#download-certificates\""); 3691 3692 WriteLiteral(" data-toggle=\"tab\""); 3693 3694 WriteLiteral(">"); 3695 3696 3697 #line 586 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 3698 Write(Translate("Certificates", "Certificates")); 3699 3700 3701 #line default 3702 #line hidden 3703 WriteLiteral("</a></li>\r\n <li><a"); 3704 3705 WriteLiteral(" href=\"#download-installationguides\""); 3706 3707 WriteLiteral(" data-toggle=\"tab\""); 3708 3709 WriteLiteral(">"); 3710 3711 3712 #line 587 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 3713 Write(Translate("InstallationGuides", "Installation Guides")); 3714 3715 3716 #line default 3717 #line hidden 3718 WriteLiteral("</a></li>\r\n </ul>\r\n </nav>\r\n <p>" + 3719 ""); 3720 3721 3722 #line 590 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 3723 Write(Translate("ProductDownloadsInstructions", "To find product downloads simply click on one of the options above and then use the search form displayed to find all the documents associated with your search.")); 3724 3725 3726 #line default 3727 #line hidden 3728 WriteLiteral("</p>\r\n <p>&nbsp;</p>\r\n </div> <!-- container-fluid -->\r" + 3729 "\n <div"); 3730 3731 WriteLiteral(" class=\"tab-content\""); 3732 3733 WriteLiteral(">\r\n\r\n <div"); 3734 3735 WriteLiteral(" class=\"tab-pane fade in\""); 3736 3737 WriteLiteral(" id=\"download-brochures\""); 3738 3739 WriteLiteral(">\r\n <form"); 3740 3741 WriteLiteral(" id=\"search-brochures\""); 3742 3743 WriteLiteral(" name=\"search-form\""); 3744 3745 WriteLiteral(" method=\"post\""); 3746 3747 WriteAttribute("action", Tuple.Create(" action=\"", 39358), Tuple.Create("\"", 39412) 3748 3749 #line 596 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 3750 , Tuple.Create(Tuple.Create("", 39367), Tuple.Create<System.Object, System.Int32>(downloadsSearchUrl 3751 3752 #line default 3753 #line hidden 3754 , 39367), false) 3755 , Tuple.Create(Tuple.Create("", 39386), Tuple.Create("?Assets=download-brochures", 39386), true) 3756 ); 3757 3758 WriteLiteral(">\r\n <div"); 3759 3760 WriteLiteral(" class=\"l-page\""); 3761 3762 WriteLiteral(">\r\n <div"); 3763 3764 WriteLiteral(" class=\"container-fluid\""); 3765 3766 WriteLiteral(">\r\n <div"); 3767 3768 WriteLiteral(" class=\"form-horizontal\""); 3769 3770 WriteLiteral(">\r\n <input"); 3771 3772 WriteLiteral(" type=\"hidden\""); 3773 3774 WriteLiteral(" name=\"SearchType\""); 3775 3776 WriteLiteral(" value=\"download-brochures\""); 3777 3778 WriteLiteral(" />\r\n </div> <!-- form-horizontal -->\r\n " + 3779 " </div> <!-- container-fluid -->\r\n </div>" + 3780 " <!-- l-page -->\r\n <div"); 3781 3782 WriteLiteral(" class=\"m-search-advanced-buttons text-center\""); 3783 3784 WriteLiteral(">\r\n "); 3785 3786 WriteLiteral("\r\n "); 3787 3788 WriteLiteral("\r\n <button"); 3789 3790 WriteLiteral(" class=\"m-btn-search btn btn-default text-uppercase\""); 3791 3792 WriteLiteral(" type=\"submit\""); 3793 3794 WriteLiteral(">"); 3795 3796 3797 #line 607 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 3798 Write(Translate("DisplayBrochures", "Display All Brochures")); 3799 3800 3801 #line default 3802 #line hidden 3803 WriteLiteral("</button>\r\n </div>\r\n <div"); 3804 3805 WriteLiteral(" class=\"l-page\""); 3806 3807 WriteLiteral(">\r\n <div"); 3808 3809 WriteLiteral(" class=\"container-fluid\""); 3810 3811 WriteLiteral(">\r\n\r\n <div"); 3812 3813 WriteLiteral(" id=\"results-brochures\""); 3814 3815 WriteLiteral(" class=\"m-downloads m-search-advanced-results-panel\""); 3816 3817 WriteLiteral(">\r\n "); 3818 3819 WriteLiteral("\r\n </div> <!-- m-downloads -->\r\n " + 3820 " </div> <!-- container-fluid -->\r\n </div> <!-- l" + 3821 "-page -->\r\n </form>\r\n </div>\r\n\r\n " + 3822 " <div"); 3823 3824 WriteLiteral(" class=\"tab-pane fade in\""); 3825 3826 WriteLiteral(" id=\"download-dwg\""); 3827 3828 WriteLiteral(">\r\n <form"); 3829 3830 WriteLiteral(" id=\"search-dwg\""); 3831 3832 WriteLiteral(" name=\"search-form\""); 3833 3834 WriteLiteral(" method=\"post\""); 3835 3836 WriteAttribute("action", Tuple.Create(" action=\"", 41545), Tuple.Create("\"", 41593) 3837 3838 #line 628 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 3839 , Tuple.Create(Tuple.Create("", 41554), Tuple.Create<System.Object, System.Int32>(downloadsSearchUrl 3840 3841 #line default 3842 #line hidden 3843 , 41554), false) 3844 , Tuple.Create(Tuple.Create("", 41573), Tuple.Create("?Assets=download-dwg", 41573), true) 3845 ); 3846 3847 WriteLiteral(">\r\n <div"); 3848 3849 WriteLiteral(" class=\"l-page\""); 3850 3851 WriteLiteral(">\r\n <div"); 3852 3853 WriteLiteral(" class=\"container-fluid\""); 3854 3855 WriteLiteral(">\r\n <div"); 3856 3857 WriteLiteral(" class=\"form-horizontal\""); 3858 3859 WriteLiteral(">\r\n <fieldset"); 3860 3861 WriteLiteral(" id=\"dwg-criteria\""); 3862 3863 WriteLiteral(" class=\"m-theme-border-grey\""); 3864 3865 WriteLiteral(">\r\n <input"); 3866 3867 WriteLiteral(" type=\"hidden\""); 3868 3869 WriteLiteral(" name=\"SearchType\""); 3870 3871 WriteLiteral(" value=\"download-dwg\""); 3872 3873 WriteLiteral(" />\r\n <div"); 3874 3875 WriteLiteral(" class=\"row\""); 3876 3877 WriteLiteral(">\r\n <div"); 3878 3879 WriteLiteral(" class=\"col-ms-4 col-sm-4\""); 3880 3881 WriteLiteral(">\r\n <div"); 3882 3883 WriteLiteral(" class=\"form-group\""); 3884 3885 WriteLiteral(">\r\n <label"); 3886 3887 WriteLiteral(" for=\"dwgProductCode\""); 3888 3889 WriteLiteral(" class=\"col-sm-5 control-label\""); 3890 3891 WriteLiteral(">"); 3892 3893 3894 #line 637 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 3895 Write(Translate("ProductCode", "Product Code")); 3896 3897 3898 #line default 3899 #line hidden 3900 WriteLiteral("</label>\r\n <div"); 3901 3902 WriteLiteral(" class=\"col-sm-7\""); 3903 3904 WriteLiteral("><input"); 3905 3906 WriteLiteral(" type=\"text\""); 3907 3908 WriteLiteral(" class=\"form-control search-group\""); 3909 3910 WriteLiteral(" id=\"dwgProductCode\""); 3911 3912 WriteLiteral(" name=\"ProductCode\""); 3913 3914 WriteLiteral(" /></div>\r\n </div>\r\n " + 3915 " </div>\r\n " + 3916 " <div"); 3917 3918 WriteLiteral(" class=\"col-ms-4 col-sm-4\""); 3919 3920 WriteLiteral(">\r\n <div"); 3921 3922 WriteLiteral(" class=\"form-group\""); 3923 3924 WriteLiteral(">\r\n <label"); 3925 3926 WriteLiteral(" for=\"dwgProductName\""); 3927 3928 WriteLiteral(" class=\"col-sm-5 control-label\""); 3929 3930 WriteLiteral(">"); 3931 3932 3933 #line 643 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 3934 Write(Translate("Name", "Name")); 3935 3936 3937 #line default 3938 #line hidden 3939 WriteLiteral("</label>\r\n <div"); 3940 3941 WriteLiteral(" class=\"col-sm-7\""); 3942 3943 WriteLiteral("><input"); 3944 3945 WriteLiteral(" type=\"text\""); 3946 3947 WriteLiteral(" class=\"form-control search-group\""); 3948 3949 WriteLiteral(" id=\"dwgProductName\""); 3950 3951 WriteLiteral(" name=\"ProductName\""); 3952 3953 WriteLiteral(" /></div>\r\n </div>\r\n " + 3954 " </div>\r\n"); 3955 3956 3957 #line 647 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 3958 3959 3960 #line default 3961 #line hidden 3962 3963 #line 647 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 3964 if (ProductDownloadsAnchoringVariants.Count > 0) 3965 { 3966 3967 3968 3969 #line default 3970 #line hidden 3971 WriteLiteral(" <div"); 3972 3973 WriteLiteral(" class=\"col-ms-4 col-sm-4\""); 3974 3975 WriteLiteral(">\r\n <div"); 3976 3977 WriteLiteral(" class=\"form-group\""); 3978 3979 WriteLiteral(">\r\n\r\n <label"); 3980 3981 WriteLiteral(" for=\"dwgAnchoringType\""); 3982 3983 WriteLiteral(" class=\"col-sm-5 control-label\""); 3984 3985 WriteLiteral(">"); 3986 3987 3988 #line 653 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 3989 Write(Translate("Anchoring", "Anchoring")); 3990 3991 3992 #line default 3993 #line hidden 3994 WriteLiteral("</label>\r\n <div"); 3995 3996 WriteLiteral(" class=\"col-sm-7\""); 3997 3998 WriteLiteral(">\r\n <select"); 3999 4000 WriteLiteral(" class=\"form-control\""); 4001 4002 WriteLiteral(" id=\"dwgAnchoringType\""); 4003 4004 WriteLiteral(" name=\"AnchoringType\""); 4005 4006 WriteLiteral(">\r\n <option"); 4007 4008 WriteLiteral(" value=\"0\""); 4009 4010 WriteLiteral(">"); 4011 4012 4013 #line 656 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 4014 Write(Translate("SelectAnchoring", "Select Anchoring Type")); 4015 4016 4017 #line default 4018 #line hidden 4019 WriteLiteral("</option>\r\n"); 4020 4021 4022 #line 657 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 4023 4024 4025 #line default 4026 #line hidden 4027 4028 #line 657 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 4029 foreach (var option in ProductDownloadsAnchoringVariants) 4030 { 4031 4032 4033 #line default 4034 #line hidden 4035 WriteLiteral(" <option"); 4036 4037 WriteAttribute("value", Tuple.Create(" value=\'", 44296), Tuple.Create("\'", 44314) 4038 4039 #line 659 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 4040 , Tuple.Create(Tuple.Create("", 44304), Tuple.Create<System.Object, System.Int32>(option.Id 4041 4042 #line default 4043 #line hidden 4044 , 44304), false) 4045 ); 4046 4047 WriteLiteral(">"); 4048 4049 4050 #line 659 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 4051 Write(option.Name); 4052 4053 4054 #line default 4055 #line hidden 4056 WriteLiteral("</option>\r\n"); 4057 4058 4059 #line 660 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 4060 } 4061 4062 4063 #line default 4064 #line hidden 4065 WriteLiteral(" </select>\r\n " + 4066 " </div>\r\n " + 4067 " </div>\r\n " + 4068 " </div>\r\n"); 4069 4070 4071 #line 665 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 4072 4073 } 4074 4075 4076 #line default 4077 #line hidden 4078 WriteLiteral(@" </div> <!-- row --> 4079 </fieldset> 4080 </div> <!-- form-horizontal --> 4081 </div> <!-- container-fluid --> 4082 </div> <!-- l-page --> 4083 <div"); 4084 4085 WriteLiteral(" class=\"m-search-advanced-buttons text-center\""); 4086 4087 WriteLiteral(">\r\n "); 4088 4089 WriteLiteral("\r\n <button"); 4090 4091 WriteLiteral(" class=\"m-btn-search btn btn-default text-uppercase\""); 4092 4093 WriteLiteral(" type=\"reset\""); 4094 4095 WriteLiteral(">"); 4096 4097 4098 #line 674 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 4099 Write(Translate("Reset", "Reset")); 4100 4101 4102 #line default 4103 #line hidden 4104 WriteLiteral("</button>\r\n <button"); 4105 4106 WriteLiteral(" class=\"m-btn-search btn btn-default text-uppercase\""); 4107 4108 WriteLiteral(" type=\"submit\""); 4109 4110 WriteLiteral(">"); 4111 4112 4113 #line 675 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 4114 Write(Translate("Search", "Search")); 4115 4116 4117 #line default 4118 #line hidden 4119 WriteLiteral("</button>\r\n </div>\r\n <div"); 4120 4121 WriteLiteral(" class=\"l-page\""); 4122 4123 WriteLiteral(">\r\n <div"); 4124 4125 WriteLiteral(" class=\"container-fluid\""); 4126 4127 WriteLiteral(">\r\n\r\n <div"); 4128 4129 WriteLiteral(" id=\"results-dwgs\""); 4130 4131 WriteLiteral(" class=\"m-downloads m-search-advanced-results-panel\""); 4132 4133 WriteLiteral(">\r\n "); 4134 4135 WriteLiteral("\r\n </div> <!-- m-downloads -->\r\n\r\n\r\n " + 4136 " </div> <!-- container-fluid -->\r\n </div> <!" + 4137 "-- l-page -->\r\n </form>\r\n </div>\r\n " + 4138 " <div"); 4139 4140 WriteLiteral(" class=\"tab-pane fade in\""); 4141 4142 WriteLiteral(" id=\"download-certificates\""); 4143 4144 WriteLiteral(">\r\n <form"); 4145 4146 WriteLiteral(" id=\"search-certificates\""); 4147 4148 WriteLiteral(" name=\"search-form\""); 4149 4150 WriteLiteral(" method=\"post\""); 4151 4152 WriteAttribute("action", Tuple.Create(" action=\"", 46633), Tuple.Create("\"", 46690) 4153 4154 #line 697 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 4155 , Tuple.Create(Tuple.Create("", 46642), Tuple.Create<System.Object, System.Int32>(downloadsSearchUrl 4156 4157 #line default 4158 #line hidden 4159 , 46642), false) 4160 , Tuple.Create(Tuple.Create("", 46661), Tuple.Create("?Assets=download-certificates", 46661), true) 4161 ); 4162 4163 WriteLiteral(">\r\n <div"); 4164 4165 WriteLiteral(" class=\"l-page\""); 4166 4167 WriteLiteral(">\r\n <div"); 4168 4169 WriteLiteral(" class=\"container-fluid\""); 4170 4171 WriteLiteral(">\r\n <div"); 4172 4173 WriteLiteral(" class=\"form-horizontal\""); 4174 4175 WriteLiteral(">\r\n <fieldset"); 4176 4177 WriteLiteral(" id=\"certificates-criteria\""); 4178 4179 WriteLiteral(" class=\"m-theme-border-grey\""); 4180 4181 WriteLiteral(">\r\n <input"); 4182 4183 WriteLiteral(" type=\"hidden\""); 4184 4185 WriteLiteral(" name=\"SearchType\""); 4186 4187 WriteLiteral(" value=\"download-certificates\""); 4188 4189 WriteLiteral(" />\r\n <div"); 4190 4191 WriteLiteral(" class=\"row\""); 4192 4193 WriteLiteral(">\r\n <div"); 4194 4195 WriteLiteral(" class=\"col-ms-4 col-sm-4\""); 4196 4197 WriteLiteral(">\r\n <div"); 4198 4199 WriteLiteral(" class=\"form-group\""); 4200 4201 WriteLiteral(">\r\n <label"); 4202 4203 WriteLiteral(" for=\"certsProductCode\""); 4204 4205 WriteLiteral(" class=\"col-sm-5 control-label\""); 4206 4207 WriteLiteral(">"); 4208 4209 4210 #line 706 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 4211 Write(Translate("ProductCode", "Product Code")); 4212 4213 4214 #line default 4215 #line hidden 4216 WriteLiteral("</label>\r\n <div"); 4217 4218 WriteLiteral(" class=\"col-sm-7\""); 4219 4220 WriteLiteral("><input"); 4221 4222 WriteLiteral(" type=\"text\""); 4223 4224 WriteLiteral(" class=\"form-control search-group\""); 4225 4226 WriteLiteral(" id=\"certsProductCode\""); 4227 4228 WriteLiteral(" name=\"ProductCode\""); 4229 4230 WriteLiteral(" /></div>\r\n </div>\r\n " + 4231 " </div>\r\n " + 4232 " <div"); 4233 4234 WriteLiteral(" class=\"col-ms-4 col-sm-4\""); 4235 4236 WriteLiteral(">\r\n <div"); 4237 4238 WriteLiteral(" class=\"form-group\""); 4239 4240 WriteLiteral(">\r\n <label"); 4241 4242 WriteLiteral(" for=\"certsProductName\""); 4243 4244 WriteLiteral(" class=\"col-sm-5 control-label\""); 4245 4246 WriteLiteral(">"); 4247 4248 4249 #line 712 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 4250 Write(Translate("Name", "Name")); 4251 4252 4253 #line default 4254 #line hidden 4255 WriteLiteral("</label>\r\n <div"); 4256 4257 WriteLiteral(" class=\"col-sm-7\""); 4258 4259 WriteLiteral("><input"); 4260 4261 WriteLiteral(" type=\"text\""); 4262 4263 WriteLiteral(" class=\"form-control search-group\""); 4264 4265 WriteLiteral(" id=\"certsProductName\""); 4266 4267 WriteLiteral(" name=\"ProductName\""); 4268 4269 WriteLiteral(" /></div>\r\n </div>\r\n " + 4270 " </div>\r\n"); 4271 4272 4273 #line 716 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 4274 4275 4276 #line default 4277 #line hidden 4278 4279 #line 716 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 4280 if (ProductDownloadsAnchoringVariants.Count() > 0) 4281 { 4282 4283 4284 4285 #line default 4286 #line hidden 4287 WriteLiteral(" <div"); 4288 4289 WriteLiteral(" class=\"col-ms-4 col-sm-4\""); 4290 4291 WriteLiteral(">\r\n <div"); 4292 4293 WriteLiteral(" class=\"form-group\""); 4294 4295 WriteLiteral(">\r\n\r\n <label"); 4296 4297 WriteLiteral(" for=\"certsAnchoringType\""); 4298 4299 WriteLiteral(" class=\"col-sm-5 control-label\""); 4300 4301 WriteLiteral(">"); 4302 4303 4304 #line 722 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 4305 Write(Translate("Anchoring", "Anchoring")); 4306 4307 4308 #line default 4309 #line hidden 4310 WriteLiteral("</label>\r\n <div"); 4311 4312 WriteLiteral(" class=\"col-sm-7\""); 4313 4314 WriteLiteral(">\r\n <select"); 4315 4316 WriteLiteral(" class=\"form-control\""); 4317 4318 WriteLiteral(" id=\"certsAnchoringType\""); 4319 4320 WriteLiteral(" name=\"AnchoringType\""); 4321 4322 WriteLiteral(">\r\n <option"); 4323 4324 WriteLiteral(" value=\"0\""); 4325 4326 WriteLiteral(">"); 4327 4328 4329 #line 725 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 4330 Write(Translate("SelectAnchoring", "Select Anchoring Type")); 4331 4332 4333 #line default 4334 #line hidden 4335 WriteLiteral("</option>\r\n"); 4336 4337 4338 #line 726 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 4339 4340 4341 #line default 4342 #line hidden 4343 4344 #line 726 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 4345 foreach (var option in ProductDownloadsAnchoringVariants) 4346 { 4347 4348 4349 #line default 4350 #line hidden 4351 WriteLiteral(" <option"); 4352 4353 WriteAttribute("value", Tuple.Create(" value=\'", 49425), Tuple.Create("\'", 49443) 4354 4355 #line 728 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 4356 , Tuple.Create(Tuple.Create("", 49433), Tuple.Create<System.Object, System.Int32>(option.Id 4357 4358 #line default 4359 #line hidden 4360 , 49433), false) 4361 ); 4362 4363 WriteLiteral(">"); 4364 4365 4366 #line 728 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 4367 Write(option.Name); 4368 4369 4370 #line default 4371 #line hidden 4372 WriteLiteral("</option>\r\n"); 4373 4374 4375 #line 729 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 4376 } 4377 4378 4379 #line default 4380 #line hidden 4381 WriteLiteral(" </select>\r\n " + 4382 " </div>\r\n " + 4383 " </div>\r\n " + 4384 " </div>\r\n"); 4385 4386 4387 #line 734 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 4388 4389 } 4390 4391 4392 #line default 4393 #line hidden 4394 WriteLiteral(@" </div> <!-- row --> 4395 </fieldset> 4396 </div> <!-- form-horizontal --> 4397 </div> <!-- container-fluid --> 4398 </div> <!-- l-page --> 4399 <div"); 4400 4401 WriteLiteral(" class=\"m-search-advanced-buttons text-center\""); 4402 4403 WriteLiteral(">\r\n "); 4404 4405 WriteLiteral("\r\n <button"); 4406 4407 WriteLiteral(" class=\"m-btn-search btn btn-default text-uppercase\""); 4408 4409 WriteLiteral(" type=\"reset\""); 4410 4411 WriteLiteral(">"); 4412 4413 4414 #line 743 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 4415 Write(Translate("Reset", "Reset")); 4416 4417 4418 #line default 4419 #line hidden 4420 WriteLiteral("</button>\r\n <button"); 4421 4422 WriteLiteral(" class=\"m-btn-search btn btn-default text-uppercase\""); 4423 4424 WriteLiteral(" type=\"submit\""); 4425 4426 WriteLiteral(">"); 4427 4428 4429 #line 744 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 4430 Write(Translate("Search", "Search")); 4431 4432 4433 #line default 4434 #line hidden 4435 WriteLiteral("</button>\r\n\r\n <div"); 4436 4437 WriteLiteral(" class=\"adviceMessage\""); 4438 4439 WriteLiteral("></div>\r\n\r\n </div>\r\n <div"); 4440 4441 WriteLiteral(" class=\"l-page\""); 4442 4443 WriteLiteral(">\r\n <div"); 4444 4445 WriteLiteral(" class=\"container-fluid\""); 4446 4447 WriteLiteral(">\r\n\r\n <div"); 4448 4449 WriteLiteral(" id=\"results-certificates\""); 4450 4451 WriteLiteral(" class=\"m-downloads m-search-advanced-results-panel\""); 4452 4453 WriteLiteral(">\r\n "); 4454 4455 WriteLiteral("\r\n\r\n </div> <!-- m-downloads -->\r\n\r\n\r\n " + 4456 " </div> <!-- container-fluid -->\r\n\r\n </div" + 4457 "> <!-- l-page -->\r\n </form>\r\n </div>\r\n " + 4458 " <div"); 4459 4460 WriteLiteral(" class=\"tab-pane fade in\""); 4461 4462 WriteLiteral(" id=\"download-installationguides\""); 4463 4464 WriteLiteral(">\r\n <form"); 4465 4466 WriteLiteral(" id=\"search-installationguides\""); 4467 4468 WriteLiteral(" name=\"search-form\""); 4469 4470 WriteLiteral(" method=\"post\""); 4471 4472 WriteAttribute("action", Tuple.Create(" action=\"", 51879), Tuple.Create("\"", 51942) 4473 4474 #line 771 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 4475 , Tuple.Create(Tuple.Create("", 51888), Tuple.Create<System.Object, System.Int32>(downloadsSearchUrl 4476 4477 #line default 4478 #line hidden 4479 , 51888), false) 4480 , Tuple.Create(Tuple.Create("", 51907), Tuple.Create("?Assets=download-installationguides", 51907), true) 4481 ); 4482 4483 WriteLiteral(">\r\n <div"); 4484 4485 WriteLiteral(" class=\"l-page\""); 4486 4487 WriteLiteral(">\r\n <div"); 4488 4489 WriteLiteral(" class=\"container-fluid\""); 4490 4491 WriteLiteral(">\r\n <div"); 4492 4493 WriteLiteral(" class=\"form-horizontal\""); 4494 4495 WriteLiteral(">\r\n <fieldset"); 4496 4497 WriteLiteral(" id=\"installationguides-criteria\""); 4498 4499 WriteLiteral(" class=\"m-theme-border-grey\""); 4500 4501 WriteLiteral(">\r\n <input"); 4502 4503 WriteLiteral(" type=\"hidden\""); 4504 4505 WriteLiteral(" name=\"SearchType\""); 4506 4507 WriteLiteral(" value=\"download-installationguides\""); 4508 4509 WriteLiteral(" />\r\n <div"); 4510 4511 WriteLiteral(" class=\"row\""); 4512 4513 WriteLiteral(">\r\n <div"); 4514 4515 WriteLiteral(" class=\"col-ms-4 col-sm-4\""); 4516 4517 WriteLiteral(">\r\n <div"); 4518 4519 WriteLiteral(" class=\"form-group\""); 4520 4521 WriteLiteral(">\r\n <label"); 4522 4523 WriteLiteral(" for=\"guidesProductCode\""); 4524 4525 WriteLiteral(" class=\"col-sm-5 control-label\""); 4526 4527 WriteLiteral(">"); 4528 4529 4530 #line 780 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 4531 Write(Translate("ProductCode", "Product Code")); 4532 4533 4534 #line default 4535 #line hidden 4536 WriteLiteral("</label>\r\n <div"); 4537 4538 WriteLiteral(" class=\"col-sm-7\""); 4539 4540 WriteLiteral("><input"); 4541 4542 WriteLiteral(" type=\"text\""); 4543 4544 WriteLiteral(" class=\"form-control search-group\""); 4545 4546 WriteLiteral(" id=\"guidesProductCode\""); 4547 4548 WriteLiteral(" name=\"ProductCode\""); 4549 4550 WriteLiteral(" /></div>\r\n </div>\r\n " + 4551 " </div>\r\n " + 4552 " <div"); 4553 4554 WriteLiteral(" class=\"col-ms-4 col-sm-4\""); 4555 4556 WriteLiteral(">\r\n <div"); 4557 4558 WriteLiteral(" class=\"form-group\""); 4559 4560 WriteLiteral(">\r\n <label"); 4561 4562 WriteLiteral(" for=\"guidesProductName\""); 4563 4564 WriteLiteral(" class=\"col-sm-5 control-label\""); 4565 4566 WriteLiteral(">"); 4567 4568 4569 #line 786 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 4570 Write(Translate("Name", "Name")); 4571 4572 4573 #line default 4574 #line hidden 4575 WriteLiteral("</label>\r\n <div"); 4576 4577 WriteLiteral(" class=\"col-sm-7\""); 4578 4579 WriteLiteral("><input"); 4580 4581 WriteLiteral(" type=\"text\""); 4582 4583 WriteLiteral(" class=\"form-control search-group\""); 4584 4585 WriteLiteral(" id=\"guidesProductName\""); 4586 4587 WriteLiteral(" name=\"ProductName\""); 4588 4589 WriteLiteral(" /></div>\r\n </div>\r\n " + 4590 " </div>\r\n"); 4591 4592 4593 #line 790 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 4594 4595 4596 #line default 4597 #line hidden 4598 4599 #line 790 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 4600 if (ProductDownloadsAnchoringVariants.Count() > 0) 4601 { 4602 4603 4604 4605 #line default 4606 #line hidden 4607 WriteLiteral(" <div"); 4608 4609 WriteLiteral(" class=\"col-ms-4 col-sm-4\""); 4610 4611 WriteLiteral(">\r\n <div"); 4612 4613 WriteLiteral(" class=\"form-group\""); 4614 4615 WriteLiteral(">\r\n\r\n <label"); 4616 4617 WriteLiteral(" for=\"guidesAnchoringType\""); 4618 4619 WriteLiteral(" class=\"col-sm-5 control-label\""); 4620 4621 WriteLiteral(">"); 4622 4623 4624 #line 796 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 4625 Write(Translate("Anchoring", "Anchoring")); 4626 4627 4628 #line default 4629 #line hidden 4630 WriteLiteral("</label>\r\n <div"); 4631 4632 WriteLiteral(" class=\"col-sm-7\""); 4633 4634 WriteLiteral(">\r\n <select"); 4635 4636 WriteLiteral(" class=\"form-control\""); 4637 4638 WriteLiteral(" id=\"guidesAnchoringType\""); 4639 4640 WriteLiteral(" name=\"AnchoringType\""); 4641 4642 WriteLiteral(">\r\n <option"); 4643 4644 WriteLiteral(" value=\"0\""); 4645 4646 WriteLiteral(">"); 4647 4648 4649 #line 799 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 4650 Write(Translate("SelectAnchoring", "Select Anchoring Type")); 4651 4652 4653 #line default 4654 #line hidden 4655 WriteLiteral("</option>\r\n"); 4656 4657 4658 #line 800 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 4659 4660 4661 #line default 4662 #line hidden 4663 4664 #line 800 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 4665 foreach (var option in ProductDownloadsAnchoringVariants) 4666 { 4667 4668 4669 #line default 4670 #line hidden 4671 WriteLiteral(" <option"); 4672 4673 WriteAttribute("value", Tuple.Create(" value=\'", 54695), Tuple.Create("\'", 54713) 4674 4675 #line 802 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 4676 , Tuple.Create(Tuple.Create("", 54703), Tuple.Create<System.Object, System.Int32>(option.Id 4677 4678 #line default 4679 #line hidden 4680 , 54703), false) 4681 ); 4682 4683 WriteLiteral(">"); 4684 4685 4686 #line 802 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 4687 Write(option.Name); 4688 4689 4690 #line default 4691 #line hidden 4692 WriteLiteral("</option>\r\n"); 4693 4694 4695 #line 803 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 4696 } 4697 4698 4699 #line default 4700 #line hidden 4701 WriteLiteral(" </select>\r\n " + 4702 " </div>\r\n " + 4703 " </div>\r\n " + 4704 " </div>\r\n"); 4705 4706 4707 #line 808 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 4708 4709 } 4710 4711 4712 #line default 4713 #line hidden 4714 WriteLiteral(@" </div> <!-- row --> 4715 </fieldset> 4716 </div> <!-- form-horizontal --> 4717 </div> <!-- container-fluid --> 4718 </div> <!-- l-page --> 4719 <div"); 4720 4721 WriteLiteral(" class=\"m-search-advanced-buttons text-center\""); 4722 4723 WriteLiteral(">\r\n "); 4724 4725 WriteLiteral("\r\n <button"); 4726 4727 WriteLiteral(" class=\"m-btn-search btn btn-default text-uppercase\""); 4728 4729 WriteLiteral(" type=\"reset\""); 4730 4731 WriteLiteral(">"); 4732 4733 4734 #line 817 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 4735 Write(Translate("Reset", "Reset")); 4736 4737 4738 #line default 4739 #line hidden 4740 WriteLiteral("</button>\r\n <button"); 4741 4742 WriteLiteral(" class=\"m-btn-search btn btn-default text-uppercase\""); 4743 4744 WriteLiteral(" type=\"submit\""); 4745 4746 WriteLiteral(">"); 4747 4748 4749 #line 818 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 4750 Write(Translate("Search", "Search")); 4751 4752 4753 #line default 4754 #line hidden 4755 WriteLiteral("</button>\r\n </div>\r\n <div"); 4756 4757 WriteLiteral(" class=\"l-page\""); 4758 4759 WriteLiteral(">\r\n <div"); 4760 4761 WriteLiteral(" class=\"container-fluid\""); 4762 4763 WriteLiteral(">\r\n\r\n <div"); 4764 4765 WriteLiteral(" id=\"results-guides\""); 4766 4767 WriteLiteral(" class=\"m-downloads m-search-advanced-results-panel\""); 4768 4769 WriteLiteral(">\r\n "); 4770 4771 WriteLiteral(@" 4772 4773 </div> <!-- m-downloads --> 4774 4775 4776 </div> <!-- container-fluid --> 4777 </div> <!-- l-page --> 4778 </form> 4779 </div> 4780 4781 </div> 4782 </div> <!-- l-page --> 4783 </div> <!-- m-search-advanced-product --> 4784 <div"); 4785 4786 WriteLiteral(" class=\"text-center\""); 4787 4788 WriteLiteral(">\r\n <a"); 4789 4790 WriteLiteral(" href=\"#downloadfinder\""); 4791 4792 WriteLiteral(" class=\"m-search-advanced-close\""); 4793 4794 WriteLiteral("><img"); 4795 4796 WriteLiteral(" src=\"/Files/Templates/Designs/HagsCore/res/img/buttons/search-advanced-close.svg" + 4797 "\""); 4798 4799 WriteLiteral(" data-nosvg=\"/Files/Templates/Designs/HagsCore/res/img/buttons/search-advanced-cl" + 4800 "ose.png\""); 4801 4802 WriteLiteral(" width=\"112\""); 4803 4804 WriteLiteral(" alt=\"Search Advanced Close\""); 4805 4806 WriteLiteral("></a>\r\n </div>\r\n</div>\r\n\r\n </div>\r\n <div"); 4807 4808 WriteLiteral(" class=\"tab-pane fade\""); 4809 4810 WriteLiteral(" id=\"productcollection\""); 4811 4812 WriteLiteral(">\r\n\r\n"); 4813 4814 4815 #line 852 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 4816 4817 4818 #line default 4819 #line hidden 4820 WriteLiteral("\r\n"); 4821 4822 WriteLiteral("\r\n"); 4823 4824 4825 #line 1093 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 4826 4827 Dynamicweb.Frontend.PageView collectionPage = Dynamicweb.Frontend.PageView.Current() ?? Dynamicweb.Frontend.PageView.Current(); 4828 Dynamicweb.Content.Area collectionArea = new Dynamicweb.Content.AreaService().GetArea(collectionPage.AreaID); 4829 4830 List<ProductCollectionItem> productCollectionItems = SessionManager.UsersMyProductCollection != null ? SessionManager.UsersMyProductCollection : new List<ProductCollectionItem>(); 4831 bool isQuote = Convert.ToBoolean(collectionArea.Item["QuoteAndOrderChk"]); 4832 bool isCatalog = true; // Convert.ToBoolean(collectionArea.Item["CatalogueServiceChk"]); // To Be Implemented in Site Settings 4833 string downloadingText = HagsWeb.Library.Utilities.DWUtilities.GetTranslation("Downloading...", "Downloading...", collectionArea.Culture); 4834 int currentPage = collectionArea.ID; 4835 4836 4837 #line default 4838 #line hidden 4839 WriteLiteral("\r\n\r\n"); 4840 4841 4842 #line 1104 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 4843 if (isCatalog) 4844 { 4845 4846 } 4847 4848 4849 #line default 4850 #line hidden 4851 4852 #line 1108 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 4853 Write(CatalogueHelper(productCollectionItems, collectionArea.EcomLanguageId, collectionPage.AreaID)); 4854 4855 4856 #line default 4857 #line hidden 4858 WriteLiteral("\r\n\r\n<input"); 4859 4860 WriteLiteral(" type=\"hidden\""); 4861 4862 WriteLiteral(" id=\"isQuote\""); 4863 4864 WriteAttribute("value", Tuple.Create(" value=\"", 80649), Tuple.Create("\"", 80665) 4865 4866 #line 1110 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 4867 , Tuple.Create(Tuple.Create("", 80657), Tuple.Create<System.Object, System.Int32>(isQuote 4868 4869 #line default 4870 #line hidden 4871 , 80657), false) 4872 ); 4873 4874 WriteLiteral(" />\r\n<input"); 4875 4876 WriteLiteral(" type=\"hidden\""); 4877 4878 WriteLiteral(" id=\"downloadingText\""); 4879 4880 WriteAttribute("value", Tuple.Create(" value=\"", 80712), Tuple.Create("\"", 80736) 4881 4882 #line 1111 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 4883 , Tuple.Create(Tuple.Create("", 80720), Tuple.Create<System.Object, System.Int32>(downloadingText 4884 4885 #line default 4886 #line hidden 4887 , 80720), false) 4888 ); 4889 4890 WriteLiteral(" />\r\n<div"); 4891 4892 WriteLiteral(" class=\"m-search-advanced\""); 4893 4894 WriteLiteral(" style=\"display:block;visibility:visible;\""); 4895 4896 WriteLiteral(">\r\n\r\n <!--<div class=\"pull-left\"><h4 class=\"clearfix\">"); 4897 4898 4899 #line 1114 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 4900 Write(Translate("MyProductCollection", "My Product Collection")); 4901 4902 4903 #line default 4904 #line hidden 4905 WriteLiteral("</h4></div>-->\r\n\r\n <div"); 4906 4907 WriteLiteral(" class=\"text-center\""); 4908 4909 WriteLiteral(" style=\"clear:both;padding-top:10px; border-bottom: 2px solid #000; padding-botto" + 4910 "m: 20px;\""); 4911 4912 WriteLiteral(">\r\n <div"); 4913 4914 WriteLiteral(" id=\"btns_MyProductCollection\""); 4915 4916 WriteLiteral(">\r\n"); 4917 4918 4919 #line 1118 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 4920 4921 4922 #line default 4923 #line hidden 4924 4925 #line 1118 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 4926 if (productCollectionItems.Any()) 4927 { 4928 4929 4930 #line default 4931 #line hidden 4932 WriteLiteral(" <p>"); 4933 4934 4935 #line 1120 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 4936 Write(Translate("ProductCollectionButtonInstructions", "Use the buttons below to either download files, create quotes or create orders based on the products you have added to your collection.")); 4937 4938 4939 #line default 4940 #line hidden 4941 WriteLiteral("</p>\r\n"); 4942 4943 4944 #line 1121 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 4945 4946 4947 4948 #line default 4949 #line hidden 4950 WriteLiteral(" <ul"); 4951 4952 WriteLiteral(" class=\"list-inline print-hide\""); 4953 4954 WriteLiteral(">\r\n"); 4955 4956 4957 #line 1123 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 4958 4959 4960 #line default 4961 #line hidden 4962 4963 #line 1123 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 4964 4965 List<ProductAsset> imageFileList = new List<ProductAsset>(); 4966 List<ProductAsset> dwgFileList = new List<ProductAsset>(); 4967 List<ProductAsset> instructionsFileList = new List<ProductAsset>(); 4968 string contactUsLink = HagsWeb.Library.Utilities.DWUtilities.GetPageByNavigationTag("ContactUs", currentPage); // /kontakta-oss?mode=quote#contactForms // /kontakta-oss?success=True&mode=quote#contactForms // restful url 4969 4970 4971 4972 #line default 4973 #line hidden 4974 WriteLiteral(" <div"); 4975 4976 WriteLiteral(" style=\"background:pink;\""); 4977 4978 WriteLiteral(@"> 4979 foreach (var item in productCollectionItems) 4980 { 4981 4982 foreach (ProductAsset asset in item.AssetDownloads.Where(n => n.Index == HagsWeb.Library.Methods.AssetManager.AssetTypeEnum.ToFriendlyAssetName(HagsWeb.Library.Methods.AssetManager.AssetType.Images) && n.FileName == item.ProductNumber + "".jpg"" || n.FileName == item.ProductNumber + ""_Side.jpg"" || n.FileName == item.ProductNumber + ""_Top.jpg"").ToList()) 4983 { 4984 imageFileList.Add(asset); 4985 } 4986 4987 foreach (ProductAsset asset in item.AssetDownloads.Where(n => n.Index == HagsWeb.Library.Methods.AssetManager.AssetTypeEnum.ToFriendlyAssetName(HagsWeb.Library.Methods.AssetManager.AssetType.Drawings)).ToList()) 4988 { 4989 dwgFileList.Add(asset); 4990 } 4991 4992 foreach (ProductAsset asset in item.AssetDownloads.Where(n => n.Index == HagsWeb.Library.Methods.AssetManager.AssetTypeEnum.ToFriendlyAssetName(HagsWeb.Library.Methods.AssetManager.AssetType.AssemblyInstructions)).ToList()) 4993 { 4994 instructionsFileList.Add(asset); 4995 } 4996 4997 4998 } 4999 </div> 5000 "); 5001 5002 5003 #line 1151 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 5004 5005 5006 5007 #line default 5008 #line hidden 5009 WriteLiteral(" <div"); 5010 5011 WriteLiteral(" style=\"background:yellow;\""); 5012 5013 WriteLiteral(">\r\n if (imageFileList.Any())\r\n {\r\n " + 5014 " <li><a"); 5015 5016 WriteLiteral(" class=\"m-btn-xs-more btn btn-default btn-xs text-uppercase\""); 5017 5018 WriteLiteral(" role=\"button\""); 5019 5020 WriteLiteral(" name=\"download\""); 5021 5022 WriteLiteral(" data-parent=\"Bilder\""); 5023 5024 WriteLiteral(" id=\"imageDownloadButton\""); 5025 5026 WriteLiteral(">"); 5027 5028 5029 #line 1155 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 5030 Write(Translate("DownloadImages", "Download Images")); 5031 5032 5033 #line default 5034 #line hidden 5035 WriteLiteral("</a></li>\r\n }\r\n\r\n if (dwgFileList.A" + 5036 "ny())\r\n {\r\n <li><a"); 5037 5038 WriteLiteral(" class=\"m-btn-xs-more btn btn-default btn-xs text-uppercase\""); 5039 5040 WriteLiteral(" role=\"button\""); 5041 5042 WriteLiteral(" name=\"download\""); 5043 5044 WriteLiteral(" data-parent=\"Ritningar\""); 5045 5046 WriteLiteral(" id=\"dwgDownloadButton\""); 5047 5048 WriteLiteral(">"); 5049 5050 5051 #line 1160 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 5052 Write(Translate("DownloadDWGFiles", "Download DWG Files")); 5053 5054 5055 #line default 5056 #line hidden 5057 WriteLiteral("</a></li>\r\n }\r\n\r\n if (instructionsF" + 5058 "ileList.Any())\r\n {\r\n <li><a"); 5059 5060 WriteLiteral(" class=\"m-btn-xs-more btn btn-default btn-xs text-uppercase\""); 5061 5062 WriteLiteral(" role=\"button\""); 5063 5064 WriteLiteral(" name=\"download\""); 5065 5066 WriteLiteral(" data-parent=\"Monteringsanvisningar\""); 5067 5068 WriteLiteral(" id=\"instructionsDownloadButton\""); 5069 5070 WriteLiteral(">"); 5071 5072 5073 #line 1165 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 5074 Write(Translate("DownloadInstallationGuides", "Download Installation Guides")); 5075 5076 5077 #line default 5078 #line hidden 5079 WriteLiteral("</a></li>\r\n }\r\n\r\n if (isQuote)\r\n " + 5080 " {\r\n if (!string.IsNullOrEmpty(co" + 5081 "ntactUsLink))\r\n {\r\n <l" + 5082 "i><a"); 5083 5084 WriteLiteral(" class=\"m-btn-xs-more btn btn-default btn-xs text-uppercase\""); 5085 5086 WriteAttribute("href", Tuple.Create(" href=\"", 84841), Tuple.Create("\"", 84878) 5087 5088 #line 1172 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 5089 , Tuple.Create(Tuple.Create("", 84848), Tuple.Create<System.Object, System.Int32>(contactUsLink 5090 5091 #line default 5092 #line hidden 5093 , 84848), false) 5094 , Tuple.Create(Tuple.Create("", 84862), Tuple.Create("?mode=QuickQuote", 84862), true) 5095 ); 5096 5097 WriteLiteral(" role=\"button\""); 5098 5099 WriteLiteral(" data-parent=\"#quickquote\""); 5100 5101 WriteLiteral(" id=\"quickQuoteButton\""); 5102 5103 WriteLiteral(">"); 5104 5105 5106 #line 1172 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 5107 Write(Translate("CreateQuickQuote", "Create a Quick Quote")); 5108 5109 5110 #line default 5111 #line hidden 5112 WriteLiteral("</a></li>\r\n <li><a"); 5113 5114 WriteLiteral(" class=\"m-btn-xs-more btn btn-default btn-xs text-uppercase\""); 5115 5116 WriteAttribute("href", Tuple.Create(" href=\"", 85105), Tuple.Create("\"", 85142) 5117 5118 #line 1173 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 5119 , Tuple.Create(Tuple.Create("", 85112), Tuple.Create<System.Object, System.Int32>(contactUsLink 5120 5121 #line default 5122 #line hidden 5123 , 85112), false) 5124 , Tuple.Create(Tuple.Create("", 85126), Tuple.Create("?mode=QuickOrder", 85126), true) 5125 ); 5126 5127 WriteLiteral(" role=\"button\""); 5128 5129 WriteLiteral(" data-parent=\"#quickorder\""); 5130 5131 WriteLiteral(" id=\"quickOrderButton\""); 5132 5133 WriteLiteral(">"); 5134 5135 5136 #line 1173 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 5137 Write(Translate("CreateQuickOrder", "Create a Quick Order")); 5138 5139 5140 #line default 5141 #line hidden 5142 WriteLiteral(@"</a></li> 5143 } 5144 } 5145 if (isCatalog && String.IsNullOrEmpty(GetGlobalValue(""Global:Device.IsMobile""))) 5146 { 5147 string printShout = Translate(""SaveOrPrint"", ""Save or Print your Product PDF ""); 5148 5149 <li><a"); 5150 5151 WriteLiteral(" class=\"m-btn-xs-more btn btn-default btn-xs text-uppercase\""); 5152 5153 WriteLiteral(" data-toggle=\"modal\""); 5154 5155 WriteLiteral(" data-target=\"#CreateCatalog\""); 5156 5157 WriteLiteral(" data-shout=\""); 5158 5159 5160 #line 1180 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 5161 Write(printShout); 5162 5163 5164 #line default 5165 #line hidden 5166 WriteLiteral("\""); 5167 5168 WriteLiteral(" Name=\"catalogPublishing\""); 5169 5170 WriteLiteral(" role=\"button\""); 5171 5172 WriteLiteral(" data-parent=\"#catalogue\""); 5173 5174 WriteLiteral(">"); 5175 5176 5177 #line 1180 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 5178 Write(Translate("CreateYourCatalog", "Create Your Catalogue")); 5179 5180 5181 #line default 5182 #line hidden 5183 WriteLiteral("</a></li>\r\n }\r\n </div>\r\n"); 5184 5185 5186 #line 1183 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 5187 5188 5189 #line default 5190 #line hidden 5191 WriteLiteral("\r\n </ul>\r\n"); 5192 5193 5194 #line 1185 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 5195 5196 } 5197 5198 5199 #line default 5200 #line hidden 5201 WriteLiteral("\r\n </div>\r\n\r\n <div"); 5202 5203 WriteLiteral(" class=\"m-search-advanced-results-panel\""); 5204 5205 WriteLiteral(" id=\"frm_MyProductCollection\""); 5206 5207 WriteLiteral(">\r\n <div"); 5208 5209 WriteLiteral(" class=\"row2\""); 5210 5211 WriteLiteral(">\r\n"); 5212 5213 5214 #line 1192 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 5215 5216 5217 #line default 5218 #line hidden 5219 5220 #line 1192 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 5221 if (productCollectionItems.Any()) 5222 { 5223 5224 foreach (ProductCollectionItem item in productCollectionItems) 5225 { 5226 5227 5228 5229 #line default 5230 #line hidden 5231 WriteLiteral(" <div"); 5232 5233 WriteLiteral(" class=\"l-group-5 text-left\""); 5234 5235 WriteLiteral(">\r\n <div"); 5236 5237 WriteLiteral(" class=\"m-attractor\""); 5238 5239 WriteLiteral(">\r\n <div"); 5240 5241 WriteLiteral(" class=\"m-attractor-visual\""); 5242 5243 WriteLiteral(">\r\n\r\n\r\n"); 5244 5245 5246 #line 1203 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 5247 5248 5249 #line default 5250 #line hidden 5251 5252 #line 1203 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 5253 if (item.ProductImageUrl != null && !String.IsNullOrEmpty(item.ProductUrlReference)) 5254 { 5255 5256 5257 #line default 5258 #line hidden 5259 WriteLiteral(" <a"); 5260 5261 WriteAttribute("href", Tuple.Create(" href=\"", 86702), Tuple.Create("\"", 86734) 5262 5263 #line 1205 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 5264 , Tuple.Create(Tuple.Create("", 86709), Tuple.Create<System.Object, System.Int32>(item.ProductUrlReference 5265 5266 #line default 5267 #line hidden 5268 , 86709), false) 5269 ); 5270 5271 WriteLiteral("><img"); 5272 5273 WriteAttribute("src", Tuple.Create(" src=\"", 86740), Tuple.Create("\"", 86767) 5274 5275 #line 1205 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 5276 , Tuple.Create(Tuple.Create("", 86746), Tuple.Create<System.Object, System.Int32>(item.ProductImageUrl 5277 5278 #line default 5279 #line hidden 5280 , 86746), false) 5281 ); 5282 5283 WriteLiteral(" class=\"img-responsive m-product-thumb\""); 5284 5285 WriteLiteral(" /></a>\r\n"); 5286 5287 5288 #line 1206 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 5289 } 5290 else 5291 { 5292 5293 5294 #line default 5295 #line hidden 5296 WriteLiteral(" <img"); 5297 5298 WriteLiteral(" src=\"/Files/Templates/Designs/HagsCore/res/img/image-not-found.png\""); 5299 5300 WriteLiteral(" class=\"img-responsive m-product-thumb\""); 5301 5302 WriteLiteral(" />\r\n"); 5303 5304 5305 #line 1210 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 5306 } 5307 5308 5309 #line default 5310 #line hidden 5311 WriteLiteral("\r\n\r\n </div>\r\n\r\n <di" + 5312 "v"); 5313 5314 WriteLiteral(" class=\"m-attractor-info m-attractor-info-product\""); 5315 5316 WriteLiteral(">\r\n <h3"); 5317 5318 WriteLiteral(" class=\"m-theme-after-yellow m-theme-border-yellow\""); 5319 5320 WriteLiteral("><a"); 5321 5322 WriteAttribute("href", Tuple.Create(" href=\"", 87360), Tuple.Create("\"", 87392) 5323 5324 #line 1216 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 5325 , Tuple.Create(Tuple.Create("", 87367), Tuple.Create<System.Object, System.Int32>(item.ProductUrlReference 5326 5327 #line default 5328 #line hidden 5329 , 87367), false) 5330 ); 5331 5332 WriteLiteral(">"); 5333 5334 5335 #line 1216 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 5336 Write(item.ProductName); 5337 5338 5339 #line default 5340 #line hidden 5341 WriteLiteral("</a></h3>\r\n "); 5342 5343 WriteLiteral("\r\n "); 5344 5345 WriteLiteral("\r\n <p>"); 5346 5347 5348 #line 1219 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 5349 Write(item.ProductNumber); 5350 5351 5352 #line default 5353 #line hidden 5354 WriteLiteral("</p>\r\n <a"); 5355 5356 WriteLiteral(" class=\"m-btn-xs-more btn btn-default btn-xs text-uppercase\""); 5357 5358 WriteAttribute("href", Tuple.Create(" href=\"", 87772), Tuple.Create("\"", 87804) 5359 5360 #line 1220 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 5361 , Tuple.Create(Tuple.Create("", 87779), Tuple.Create<System.Object, System.Int32>(item.ProductUrlReference 5362 5363 #line default 5364 #line hidden 5365 , 87779), false) 5366 ); 5367 5368 WriteLiteral(" role=\"button\""); 5369 5370 WriteLiteral(">"); 5371 5372 5373 #line 1220 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 5374 Write(Translate("ProductDetails", "Product Details")); 5375 5376 5377 #line default 5378 #line hidden 5379 WriteLiteral("</a>\r\n </div> <!-- attractor-info -->\r\n " + 5380 " <div"); 5381 5382 WriteLiteral(" class=\"m-attractor-options\""); 5383 5384 WriteLiteral(">\r\n <ul"); 5385 5386 WriteLiteral(" class=\"m-icon-links list-unstyled\""); 5387 5388 WriteLiteral(">\r\n <li><a"); 5389 5390 WriteLiteral(" href=\"\""); 5391 5392 WriteLiteral(" name=\'productcollection\'"); 5393 5394 WriteLiteral(" class=\"clearfix productcollection\""); 5395 5396 WriteLiteral(" data-removeProductlist=\""); 5397 5398 5399 #line 1224 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 5400 Write(item.ProductNumber); 5401 5402 5403 #line default 5404 #line hidden 5405 WriteLiteral("\""); 5406 5407 WriteLiteral("><img"); 5408 5409 WriteLiteral(" src=\"/Files/Templates/Designs/HagsCore/res/img/icons/plus.svg\""); 5410 5411 WriteLiteral(" data-nosvg=\"/Files/Templates/Designs/HagsCore/res/img/icons/plus.png\""); 5412 5413 WriteLiteral(" class=\"m-icon pull-left\""); 5414 5415 WriteLiteral("><span>"); 5416 5417 5418 #line 1224 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 5419 Write(Translate("RemoveFromCollection", "Remove from my collection")); 5420 5421 5422 #line default 5423 #line hidden 5424 WriteLiteral("</span></a></li>\r\n </ul>\r\n " + 5425 " </div> <!-- m-attractor-options -->\r\n </d" + 5426 "iv>\r\n\r\n </div>\r\n"); 5427 5428 5429 #line 1230 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 5430 5431 5432 } 5433 5434 } 5435 else 5436 { 5437 5438 5439 #line default 5440 #line hidden 5441 WriteLiteral(" <p>"); 5442 5443 5444 #line 1237 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 5445 Write(Translate("NoProductsInCollection", "You have no products in your collection.")); 5446 5447 5448 #line default 5449 #line hidden 5450 WriteLiteral("</p>\r\n"); 5451 5452 5453 #line 1238 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 5454 } 5455 5456 5457 #line default 5458 #line hidden 5459 WriteLiteral(" </div>\r\n\r\n </div>\r\n\r\n </div>\r\n\r\n <div"); 5460 5461 WriteLiteral(" class=\"text-center clearfix\""); 5462 5463 WriteLiteral(" style=\"clear:both;padding-top:10px;\""); 5464 5465 WriteLiteral(">\r\n <a"); 5466 5467 WriteLiteral(" href=\"#productcollection\""); 5468 5469 WriteLiteral(" class=\"m-search-advanced-close\""); 5470 5471 WriteLiteral("><img"); 5472 5473 WriteLiteral(" src=\"/Files/Templates/Designs/HagsCore/res/img/buttons/search-advanced-close.svg" + 5474 "\""); 5475 5476 WriteLiteral(" data-nosvg=\"/Files/Templates/Designs/HagsCore/res/img/buttons/search-advanced-cl" + 5477 "ose.png\""); 5478 5479 WriteLiteral(" width=\"112\""); 5480 5481 WriteLiteral(" alt=\"Search Advanced Close\""); 5482 5483 WriteLiteral("></a>\r\n </div>\r\n</div>\r\n\r\n"); 5484 5485 WriteLiteral("\r\n\r\n </div>\r\n\r\n <div"); 5486 5487 WriteLiteral(" class=\"tab-pane fade\""); 5488 5489 WriteLiteral(" id=\"inspirationfinder\""); 5490 5491 WriteLiteral(">\r\n\r\n"); 5492 5493 5494 #line 1260 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 5495 5496 5497 #line default 5498 #line hidden 5499 5500 #line 1263 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 5501 5502 Dynamicweb.Frontend.PageView thePage = Dynamicweb.Frontend.PageView.Current() ?? Dynamicweb.Frontend.PageView.Current(); 5503 int areaId = thePage.Area.ID; 5504 5505 // Get the current area's Paragraphs and find the ItemPublisher Module, returning a link and its paragraph content. Checks if Normalize latin Chars is set in DW 5506 var tuple = HagsWeb.Library.Methods.Items.ItemTypeMethods.GetDefaultCaseStudies(areaId, 3); 5507 string paraContent = tuple.Item1; 5508 int pageId = tuple.Item2; // The Target Case Study Page listin Case study Item Types 5509 string hyperLink = tuple.Item3; 5510 bool latinCharacters = tuple.Item4; 5511 IEnumerable<Item> caseStudies = tuple.Item5; 5512 5513 //http://developer.dynamicweb-cms.com/documentation/for-developers/item-based-structure/querying-items.aspx 5514 5515 //string DataFromItem = RenderItemList(new 5516 //{ 5517 // ItemType = "Case_Study", 5518 // ListSourceType = "Page", 5519 // ListSourcePage = "62", 5520 // //IncludeAllChildItems = true, 5521 // //IncludeParagraphItems = true, 5522 // ItemFieldsList = "*", 5523 // ListTemplate = "ItemPublisher/List/Case Study List.cshtml", 5524 // ListPageSize = "100" 5525 //}).ToString(); 5526 5527 ////int productsPageId = GetPageIdByNavigationTag("Legals"); 5528 5529 5530 #line default 5531 #line hidden 5532 WriteLiteral("\r\n<div"); 5533 5534 WriteLiteral(" class=\"m-search-advanced\""); 5535 5536 WriteLiteral(" style=\"display:block;visibility:visible;\""); 5537 5538 WriteLiteral(">\r\n <!--<h4>"); 5539 5540 5541 #line 1292 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 5542 Write(Translate("InspirationFinder", "Inspiration Finder")); 5543 5544 5545 #line default 5546 #line hidden 5547 WriteLiteral("</h4>-->\r\n\r\n <div"); 5548 5549 WriteLiteral(" class=\"m-search-advanced-results-panel fade in\""); 5550 5551 WriteLiteral(" id=\"frm_InspirationFinder\""); 5552 5553 WriteLiteral(">\r\n\r\n"); 5554 5555 5556 #line 1296 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 5557 5558 5559 #line default 5560 #line hidden 5561 5562 #line 1296 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 5563 if (caseStudies.Any()) 5564 { 5565 5566 foreach (var study in caseStudies) 5567 { 5568 string studyId = study["Id"].ToString(); 5569 string Name = study["Study_Heading"] == null ? string.Empty : study["Study_Heading"].ToString(); 5570 string hyperlinkId = study["Read_More_Button"] == null ? String.Empty : study["Read_More_Button"].ToString(); 5571 string hyperlinkText = string.Empty; 5572 string Url = "Default.aspx?ID=" + pageId + "&itemId=Case_Study:" + studyId; 5573 5574 5575 // string sb_trim_Original = System.Text.RegularExpressions.Regex.Replace(Name, @"[., ?\/#!$%\^&\*;:{}=\-_`~()]", "-").ToLower(); 5576 //string sb_trim = System.Text.RegularExpressions.Regex.Replace(Name, @"[., ?\/#!$%\^&\*;:{}=\-_`~]", "-").ToLower(); 5577 5578 //string Url = hyperLink + "/" + sb_trim; 5579 5580 //if (latinCharacters) 5581 //{ 5582 // Url = HagsWeb.Library.Utilities.DWUtilities.NormalizeLatinCharacters(Url); 5583 //} 5584 5585 //string Url = hyperLink + "/" + sb_trim; 5586 string DateCreated = study["Study_Created_Date"] == null ? string.Empty : study["Study_Created_Date"].ToString(); 5587 string Description = study["Study_Content"] == null ? string.Empty : study["Study_Content"].ToString(); 5588 string StudyImages = study["Images"] == null ? string.Empty : study["Images"].ToString(); 5589 Item studyImage = null; 5590 5591 if (!string.IsNullOrEmpty(StudyImages)) 5592 { 5593 studyImage = HagsWeb.Library.Methods.Items.ItemTypeMethods.GetItemImages(study["Images"].ToString(), 1).FirstOrDefault(); 5594 } 5595 5596 5597 5598 5599 #line default 5600 #line hidden 5601 WriteLiteral(" <div"); 5602 5603 WriteLiteral(" class=\"l-group-content col-xs-6 col-ms-4 col-sm-3\""); 5604 5605 WriteLiteral(">\r\n\r\n <div"); 5606 5607 WriteLiteral(" class=\"m-attractor\""); 5608 5609 WriteLiteral(">\r\n\r\n <div"); 5610 5611 WriteLiteral(" class=\"m-attractor-visual\""); 5612 5613 WriteLiteral(">\r\n\r\n"); 5614 5615 5616 #line 1336 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 5617 5618 5619 #line default 5620 #line hidden 5621 5622 #line 1336 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 5623 if (studyImage == null) 5624 { 5625 5626 5627 #line default 5628 #line hidden 5629 WriteLiteral(" <a"); 5630 5631 WriteAttribute("href", Tuple.Create(" href=\"", 93460), Tuple.Create("\"", 93471) 5632 5633 #line 1338 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 5634 , Tuple.Create(Tuple.Create("", 93467), Tuple.Create<System.Object, System.Int32>(Url 5635 5636 #line default 5637 #line hidden 5638 , 93467), false) 5639 ); 5640 5641 WriteLiteral("><img"); 5642 5643 WriteLiteral(" src=\"/Files/Templates/Designs/HagsCore/res/img/image-not-found.png\""); 5644 5645 WriteLiteral(" class=\"img-responsive\""); 5646 5647 WriteLiteral(" /></a>\r\n"); 5648 5649 5650 #line 1339 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 5651 } 5652 else 5653 { 5654 5655 5656 #line default 5657 #line hidden 5658 WriteLiteral(" <a"); 5659 5660 WriteAttribute("href", Tuple.Create(" href=\"", 93707), Tuple.Create("\"", 93718) 5661 5662 #line 1342 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 5663 , Tuple.Create(Tuple.Create("", 93714), Tuple.Create<System.Object, System.Int32>(Url 5664 5665 #line default 5666 #line hidden 5667 , 93714), false) 5668 ); 5669 5670 WriteLiteral("><img"); 5671 5672 WriteAttribute("src", Tuple.Create(" src=\'", 93724), Tuple.Create("\'", 93761) 5673 5674 #line 1342 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 5675 , Tuple.Create(Tuple.Create("", 93730), Tuple.Create<System.Object, System.Int32>(studyImage["Image"].ToString() 5676 5677 #line default 5678 #line hidden 5679 , 93730), false) 5680 ); 5681 5682 WriteLiteral(" class=\"img-responsive\""); 5683 5684 WriteLiteral("></a>\r\n"); 5685 5686 5687 #line 1343 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 5688 } 5689 5690 5691 #line default 5692 #line hidden 5693 WriteLiteral("\r\n\r\n "); 5694 5695 WriteLiteral("\r\n </div>\r\n\r\n <div"); 5696 5697 WriteLiteral(" class=\"m-attractor-info m-attractor-info-product\""); 5698 5699 WriteLiteral(">\r\n"); 5700 5701 5702 #line 1350 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 5703 5704 5705 #line default 5706 #line hidden 5707 5708 #line 1350 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 5709 if (!String.IsNullOrEmpty(Name)) 5710 { 5711 5712 5713 #line default 5714 #line hidden 5715 WriteLiteral(" <h3"); 5716 5717 WriteLiteral(" class=\"m-theme-after-yellow m-theme-border-yellow\""); 5718 5719 WriteLiteral("><a"); 5720 5721 WriteAttribute("href", Tuple.Create(" href=\"", 94237), Tuple.Create("\"", 94248) 5722 5723 #line 1352 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 5724 , Tuple.Create(Tuple.Create("", 94244), Tuple.Create<System.Object, System.Int32>(Url 5725 5726 #line default 5727 #line hidden 5728 , 94244), false) 5729 ); 5730 5731 WriteLiteral(">"); 5732 5733 5734 #line 1352 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 5735 Write(Name); 5736 5737 5738 #line default 5739 #line hidden 5740 WriteLiteral("</a></h3>\r\n"); 5741 5742 5743 #line 1353 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 5744 } 5745 5746 5747 #line default 5748 #line hidden 5749 WriteLiteral(" "); 5750 5751 5752 #line 1354 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 5753 if (!String.IsNullOrEmpty(Description)) 5754 { 5755 5756 5757 #line default 5758 #line hidden 5759 WriteLiteral(" <p>"); 5760 5761 5762 #line 1356 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 5763 Write(Description); 5764 5765 5766 #line default 5767 #line hidden 5768 WriteLiteral("</p>\r\n"); 5769 5770 5771 #line 1357 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 5772 } 5773 5774 5775 #line default 5776 #line hidden 5777 WriteLiteral("\r\n"); 5778 5779 5780 #line 1359 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 5781 5782 5783 #line default 5784 #line hidden 5785 5786 #line 1359 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 5787 if (!String.IsNullOrEmpty(DateCreated)) 5788 { 5789 5790 5791 #line default 5792 #line hidden 5793 WriteLiteral(" <p>"); 5794 5795 5796 #line 1361 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 5797 Write(DateCreated); 5798 5799 5800 #line default 5801 #line hidden 5802 WriteLiteral("</p>\r\n"); 5803 5804 5805 #line 1362 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 5806 } 5807 5808 5809 #line default 5810 #line hidden 5811 WriteLiteral("\r\n"); 5812 5813 5814 #line 1364 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 5815 5816 5817 #line default 5818 #line hidden 5819 5820 #line 1364 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 5821 if (!String.IsNullOrEmpty(Url)) 5822 { 5823 5824 5825 #line default 5826 #line hidden 5827 WriteLiteral(" <a"); 5828 5829 WriteLiteral(" class=\"m-btn-xs-more btn btn-default btn-xs text-uppercase\""); 5830 5831 WriteAttribute("href", Tuple.Create(" href=\"", 94858), Tuple.Create("\"", 94869) 5832 5833 #line 1366 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 5834 , Tuple.Create(Tuple.Create("", 94865), Tuple.Create<System.Object, System.Int32>(Url 5835 5836 #line default 5837 #line hidden 5838 , 94865), false) 5839 ); 5840 5841 WriteLiteral(" role=\"button\""); 5842 5843 WriteLiteral(">"); 5844 5845 5846 #line 1366 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 5847 Write(Translate("CaseStudyDetails", "Case Study Details")); 5848 5849 5850 #line default 5851 #line hidden 5852 WriteLiteral("</a>\r\n"); 5853 5854 5855 #line 1367 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 5856 } 5857 5858 5859 #line default 5860 #line hidden 5861 WriteLiteral("\r\n\r\n </div> <!-- attractor-info -->\r\n " + 5862 " "); 5863 5864 WriteLiteral(" <!-- m-attractor-options -->\r\n\r\n </div> <!-- attractor -->\r\n\r" + 5865 "\n </div>\r\n"); 5866 5867 5868 #line 1382 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 5869 } 5870 } 5871 5872 5873 #line default 5874 #line hidden 5875 WriteLiteral("\r\n </div>\r\n\r\n <div"); 5876 5877 WriteLiteral(" class=\"text-center all-case-studies\""); 5878 5879 WriteLiteral(">\r\n\r\n"); 5880 5881 5882 #line 1389 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 5883 5884 5885 #line default 5886 #line hidden 5887 5888 #line 1389 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 5889 if (!String.IsNullOrEmpty(paraContent)) 5890 { 5891 5892 5893 #line default 5894 #line hidden 5895 5896 #line 1391 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 5897 Write(paraContent); 5898 5899 5900 #line default 5901 #line hidden 5902 5903 #line 1391 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 5904 5905 } 5906 5907 5908 #line default 5909 #line hidden 5910 WriteLiteral("\r\n"); 5911 5912 5913 #line 1394 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 5914 5915 5916 #line default 5917 #line hidden 5918 5919 #line 1394 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 5920 if (!String.IsNullOrEmpty(hyperLink)) 5921 { 5922 5923 5924 #line default 5925 #line hidden 5926 WriteLiteral(" <a"); 5927 5928 WriteLiteral(" class=\"m-btn-xs-more btn btn-default btn-xs text-uppercase\""); 5929 5930 WriteAttribute("href", Tuple.Create(" href=\"", 95954), Tuple.Create("\"", 95971) 5931 5932 #line 1396 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 5933 , Tuple.Create(Tuple.Create("", 95961), Tuple.Create<System.Object, System.Int32>(hyperLink 5934 5935 #line default 5936 #line hidden 5937 , 95961), false) 5938 ); 5939 5940 WriteLiteral(" role=\"button\""); 5941 5942 WriteLiteral(">"); 5943 5944 5945 #line 1396 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 5946 Write(Translate("ViewAllCaseStudies", "View all our case studies")); 5947 5948 5949 #line default 5950 #line hidden 5951 WriteLiteral("</a>\r\n"); 5952 5953 5954 #line 1397 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 5955 } 5956 5957 5958 #line default 5959 #line hidden 5960 WriteLiteral("\r\n </div>\r\n\r\n "); 5961 5962 WriteLiteral("\r\n\r\n "); 5963 5964 WriteLiteral("\r\n\r\n <div"); 5965 5966 WriteLiteral(" class=\"text-center\""); 5967 5968 WriteLiteral(">\r\n <a"); 5969 5970 WriteLiteral(" href=\"#inspirationfinder\""); 5971 5972 WriteLiteral(" class=\"m-search-advanced-close\""); 5973 5974 WriteLiteral("><img"); 5975 5976 WriteLiteral(" src=\"/Files/Templates/Designs/HagsCore/res/img/buttons/search-advanced-close.svg" + 5977 "\""); 5978 5979 WriteLiteral(" data-nosvg=\"/Files/Templates/Designs/HagsCore/res/img/buttons/search-advanced-cl" + 5980 "ose.png\""); 5981 5982 WriteLiteral(" width=\"112\""); 5983 5984 WriteLiteral(" alt=\"Search Advanced Close\""); 5985 5986 WriteLiteral("></a>\r\n </div>\r\n</div>\r\n\r\n </div>\r\n </div>\r\n\r\n " + 5987 " <div"); 5988 5989 WriteLiteral(" id=\"NoResults\""); 5990 5991 WriteLiteral(" style=\"display:none;\""); 5992 5993 WriteLiteral(">Sorry there are currently no items that match your search criteria. Please refin" + 5994 "e your search using the options above.</div>\r\n\r\n </div>\r\n </div>\r\n\r\n " + 5995 " <div"); 5996 5997 WriteLiteral(" style=\"margin-top:50px; display:none;\""); 5998 5999 WriteLiteral(" id=\"SearchResults\""); 6000 6001 WriteLiteral(">"); 6002 6003 6004 #line 1420 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 6005 Write(Translate("YourResults", "YourResults")); 6006 6007 6008 #line default 6009 #line hidden 6010 WriteLiteral(" **Search Results here**</div>\r\n\r\n\r\n</div>\r\n\r\n"); 6011 6012 6013 #line 1425 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 6014 Write(Scripts.Render("~/bundle/AssetSearch")); 6015 6016 6017 #line default 6018 #line hidden 6019 WriteLiteral("\r\n\r\n"); 6020 6021 6022 #line 1427 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 6023 if (areaLanguage != "en") 6024 { 6025 // non english validation messages 6026 6027 6028 #line default 6029 #line hidden 6030 WriteLiteral(" <script"); 6031 6032 WriteAttribute("src", Tuple.Create(" src=\"", 97232), Tuple.Create("\"", 97339) 6033 , Tuple.Create(Tuple.Create("", 97238), Tuple.Create("/Files/Templates/Designs/HagsCore/script/source/libraries/validation/localization" + 6034 "/", 97238), true) 6035 6036 #line 1430 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 6037 , Tuple.Create(Tuple.Create("", 97320), Tuple.Create<System.Object, System.Int32>(validationMessages 6038 6039 #line default 6040 #line hidden 6041 , 97320), false) 6042 ); 6043 6044 WriteLiteral("></script>\r\n"); 6045 6046 6047 #line 1431 "C:\Projects\Hags_Dw9\Files\Templates\Designs\HagsCore\Paragraph\AssetsSearch.cshtml" 6048 } 6049 6050 6051 #line default 6052 #line hidden 6053 } 6054 } 6055 } 6056

1 @inherits Dynamicweb.Rendering.RazorTemplateBase<Dynamicweb.Rendering.RazorTemplateModel<Dynamicweb.Rendering.Template>> 2 @using System.Web.Optimization; 3 @using Dynamicweb.Ecommerce.Variants; 4 @using HagsWeb.Library.BusinessObjects.UsersLists 5 @using HagsWeb.Library.State 6 @{ 7 string validationMessages = string.Format("messages_{0}.min.js", GetGlobalValue("Global:Area.Lang")); 8 string areaLanguage = GetGlobalValue("Global:Area.Lang"); 9 string customErrorMessage = HagsWeb.Library.Utilities.DWUtilities.GetTranslation("AdvancedSearchError", "You must provide a Product Code or a Product Name for your Search", GetGlobalValue("Global:Area.LongLang")); 10 int collectionCount = SessionManager.UsersMyProductCollection != null ? SessionManager.UsersMyProductCollection.Count : 0; 11 string colnCount = string.Empty; 12 if (collectionCount > 0) 13 { 14 colnCount = collectionCount > 0 ? string.Format(@"<span class='collection-number'>{0}</span>", collectionCount) : string.Empty; 15 } 16 } 17 18 @*@Scripts.Render("~/bundle/AssetSearch") 19 20 @if (areaLanguage != "en") 21 { 22 // non english validation messages 23 <script src="/Files/Templates/Designs/HagsCore/script/source/libraries/validation/localization/@validationMessages"></script> 24 }*@ 25 26 <input type="hidden" id="CultureLanguage" value="@GetGlobalValue("Global:Area.LongLang")" /> 27 <input type="hidden" id="PageID" value="@GetGlobalValue("Global:Page.ID")" /> 28 <input type="hidden" id="ErrorMessage" value="@customErrorMessage" /> 29 30 <div id="advancedSearch"> 31 <div class="m-search-primary"> 32 <div class="text-center"> 33 <ul> 34 <li><a class="m-btn-search-options btn btn-default text-uppercase" role="button" href="#advancedsearch-ui" data-toggle="tab">@Translate("AdvancedSearch", "Advanced Search")</a></li> 35 <li><a class="m-btn-search-options btn btn-default text-uppercase" role="button" href="#downloadfinder" data-toggle="tab">@Translate("ProductDownloads", "Product Downloads")</a></li> 36 <li><a class="m-btn-search-options btn btn-default text-uppercase" role="button" href="#productcollection" data-toggle="tab">@Translate("MyProductCollection", "My Product Collection")</a>@colnCount</li> 37 <li><a class="m-btn-search-options btn btn-default text-uppercase" role="button" href="#inspirationfinder" data-toggle="tab">@Translate("InspirationFinder", "Inspiration Finder")</a></li> 38 </ul> 39 </div> 40 </div> 41 42 43 <div class="container"> 44 45 <div class="content"> 46 47 <div class="tab-content"> 48 49 <div class="tab-pane fade" id="advancedsearch-ui"> 50 51 @inherits Dynamicweb.Rendering.RazorTemplateBase<Dynamicweb.Rendering.RazorTemplateModel<Dynamicweb.Rendering.Template>> 52 @using Dynamicweb.Ecommerce.Variants; 53 @using HagsWeb.Library.BusinessObjects.UsersLists; 54 @using HagsWeb.Library.State; 55 @{} 56 57 @*@helper AdvancedSearch(string name) { 58 // your helper can contain code and/or markup, e.g. 59 // var msg = "Hello " + name; 60 // <p>@msg</p> 61 // For more information, visit http://go.microsoft.com/fwlink/?LinkID=204658 62 }*@ 63 64 65 @{ 66 Dynamicweb.Frontend.PageView advSearchPage = Dynamicweb.Frontend.PageView.Current() ?? Dynamicweb.Frontend.PageView.Current(); 67 Dynamicweb.Content.Area advSearchArea = new Dynamicweb.Content.AreaService().GetArea(advSearchPage.AreaID); 68 69 string advancedSearchUrl = Dynamicweb.Frontend.SearchEngineFriendlyURLs.GetFriendlyUrl((Int32)new Dynamicweb.Content.PageService().GetFirstModulePageForArea(advSearchArea.ID, "Searchv1").ID); 70 71 // Search Results in Session - Phase 2 72 //List<AdvancedSearchState> advancedSearchState = SessionManager.UsersAdvancedSearchState != null ? SessionManager.UsersAdvancedSearchState as List<AdvancedSearchState> : new List<AdvancedSearchState>(); 73 74 75 76 77 78 // Dynamicweb.Frontend.PageView thisPage = Dynamicweb.Frontend.PageView.Current() ?? Dynamicweb.Frontend.PageView.Current(); 79 // var area = Dynamicweb.Content.Area.GetAreaById(thisPage.AreaID); 80 81 //var AnchoringVariants = GlobalAnchoringVariants; // Defined in AssetsSearch.cshtml, the controls' parent 82 83 //Dynamicweb.Frontend.PageView thisPage = Dynamicweb.Frontend.PageView.Current() ?? Dynamicweb.Frontend.PageView.Current(); 84 //var area = Dynamicweb.Content.Area.GetAreaById(thisPage.AreaID); 85 86 //Dynamicweb.Frontend.PageView thisPage = Dynamicweb.Frontend.PageView.Current() ?? Dynamicweb.Frontend.PageView.Current(); 87 //ParagraphCollection pageParagraphCollection = Dynamicweb.Content.Paragraph.GetParagraphsByPageID(thisPage.ID); 88 //string pageId = thisPage.ID.ToString(); 89 90 //var area = Dynamicweb.Content.Area.GetAreaById(thisPage.AreaID); 91 // //var l = area.EcomLanguageId; 92 //string EcomLanguageID = area.EcomLanguageId; 93 //string EcomShopID = area.EcomShopID; 94 95 ////string lang = thisPage.GlobalTags.GetTagByName("LongLang").Value; 96 //string l = thisPage.Area.Values["areaecomlanguageid"].ToString(); 97 } 98 99 <div class="m-search-advanced" style="display:block;visibility:visible;"> 100 <div class="m-search-advanced-panel m-search-advanced-product" style="display:block;visibility:visible;"> 101 <div class="l-page"> 102 <div class="container-fluid"> 103 <nav class="text-center"> 104 <ul class="m-nav-tabs-search nav nav-tabs text-uppercase"> 105 <li id="tabSearchPlay" class="active"><a href="#advancedsearch-Play" data-toggle="tab">@Translate("play", "Play")</a></li> 106 <li id="tabSearchSportFitness"><a href="#advancedsearch-SportFitness" data-toggle="tab">@Translate("sport", "Sport &amp; Fitness")</a></li> 107 <li id="tabSearchParkUrban"><a href="#advancedsearch-ParkUrban" data-toggle="tab">@Translate("park", "Park &amp; Urban")</a></li> 108 <li id="tabSearchMarine"><a href="#advancedsearch-Marine" data-toggle="tab">@Translate("marine", "Marine")</a></li> 109 <li id="tabSearchShade"><a href="#advancedsearch-Shade" data-toggle="tab">@Translate("shade", "Shade")</a></li> 110 </ul> 111 </nav> 112 </div> <!-- container-fluid --> 113 <div class="tab-content"> 114 <div class="tab-pane fade in active" id="advancedsearch-Play"> 115 <form id="search-play" name="search-form" method="get" action="@advancedSearchUrl"> 116 <input type="hidden" name="Products" value="Play" /> 117 <div class="l-page"> 118 <div class="container-fluid"> 119 <div class="form-horizontal"> 120 <fieldset class="m-theme-border-grey"> 121 122 <div class="row"> 123 <div class="col-ms-4 col-sm-4"> 124 <div class="form-group"> 125 <label for="aspProductCode" class="col-sm-5 control-label">@Translate("ProductCode", "Product Code")</label> 126 <div class="col-sm-7"><input type="text" class="form-control search-group" id="aspProductCode" name="ProductCode" /></div> 127 </div> 128 </div> 129 <div class="col-ms-4 col-sm-4"> 130 <div class="form-group"> 131 <label for="aspProductName" class="col-sm-5 control-label">@Translate("Name", "Name")</label> 132 <div class="col-sm-7"><input type="text" class="form-control search-group" id="aspProductName" name="ProductName" /></div> 133 </div> 134 </div> 135 @{ 136 List<VariantOption> PlayAnchoringVariants = new HagsWeb.Library.Methods.AssetSearch.ProductAssets().CheckValidVariantOptions("ATP3", "Play", advSearchArea.EcomLanguageId); 137 138 if (PlayAnchoringVariants.Count > 0) 139 { 140 <div class="col-ms-4 col-sm-4"> 141 <div class="form-group"> 142 143 <label for="aspAnchoringType" class="col-sm-5 control-label">@Translate("Anchoring", "Anchoring")</label> 144 <div class="col-sm-7"> 145 <select class="form-control" id="aspAnchoringType" name="AnchoringType"> 146 @if (PlayAnchoringVariants.Count > 1) 147 { 148 <option value="0"> @Translate("SelectAnchoring", "Select Anchoring Type") </option> 149 } 150 @foreach (var option in PlayAnchoringVariants) 151 { 152 <option value='@option.Id'>@option.Name</option> 153 } 154 </select> 155 </div> 156 </div> 157 </div> 158 } 159 else 160 { 161 <input type="hidden" name="AnchoringType" value="0" /> 162 } 163 164 } 165 166 </div> <!-- row --> 167 @*<input type="hidden" name="productsInSession" value="@advancedSearchState.Count()" />*@ 168 169 </fieldset> 170 171 172 173 174 </div> <!--form - horizontal--> 175 </div> <!--container - fluid--> 176 </div> <!--l - page--> 177 <div class="m-search-advanced-buttons text-center"> 178 <button class="m-btn-search btn btn-default text-uppercase" type="reset" name="reset">@Translate("Reset", "Reset")</button> 179 <button class="m-btn-search btn btn-default text-uppercase" type="submit">@Translate("Search", "Search")</button> 180 </div> 181 </form> 182 183 @*<script> 184 $("#search-play").validate(); 185 </script>*@ 186 <div id="results-search-play" class="m-search-advanced-results-panel"> 187 188 @*// Search Results in Session - Phase 2 189 @if (advancedSearchState.Any()) 190 { 191 192 foreach (AdvancedSearchState product in advancedSearchState) 193 { 194 @String.Format("{0}", product.Products) 195 } 196 }*@ 197 198 </div> 199 </div> 200 <div class="tab-pane fade in" id="advancedsearch-SportFitness"> 201 <form id="search-sport" name="search-form" method="get" action="@advancedSearchUrl"> 202 <input type="hidden" name="Products" value="Sport" /> 203 <div class="l-page"> 204 <div class="container-fluid"> 205 <div class="form-horizontal"> 206 <fieldset class="m-theme-border-grey"> 207 <div class="row"> 208 <div class="col-ms-4 col-sm-4"> 209 <div class="form-group"> 210 <label for="sfProductCode" class="col-sm-5 control-label">@Translate("ProductCode", "Product Code")</label> 211 <div class="col-sm-7"><input type="text" class="form-control search-group" id="sfProductCode" name="ProductCode" /></div> 212 </div> 213 </div> 214 <div class="col-ms-4 col-sm-4"> 215 <div class="form-group"> 216 <label for="sfProductName" class="col-sm-5 control-label">@Translate("Name", "Name")</label> 217 <div class="col-sm-7"><input type="text" class="form-control search-group" id="sfProductName" name="ProductName" /></div> 218 </div> 219 </div> 220 221 @{ 222 List<VariantOption> SportAnchoringVariants = new HagsWeb.Library.Methods.AssetSearch.ProductAssets().CheckValidVariantOptions("ATP3", "Sport", advSearchArea.EcomLanguageId); 223 224 if (SportAnchoringVariants.Count > 0) 225 { 226 <div class="col-ms-4 col-sm-4"> 227 <div class="form-group"> 228 <label for="sfAdvancedSearch" class="col-sm-5 control-label">@Translate("Anchoring", "Anchoring")</label> 229 <div class="col-sm-7"> 230 <select class="form-control" id="sfAdvancedSearch" name="AnchoringType"> 231 @if (SportAnchoringVariants.Count > 1) 232 { 233 <option value="0"> @Translate("SelectAnchoring", "Select Anchoring Type") </option> 234 } 235 @foreach (var option in SportAnchoringVariants) 236 { 237 <option value='@option.Id'> @option.Name </option> 238 } 239 </select> 240 </div> 241 </div> 242 </div> 243 } 244 else 245 { 246 <input type="hidden" name="AnchoringType" value="0" /> 247 } 248 } 249 250 </div> <!-- row --> 251 </fieldset> 252 </div> <!-- form-horizontal --> 253 </div> <!-- container-fluid --> 254 </div> <!-- l-page --> 255 <div class="m-search-advanced-buttons text-center"> 256 <button class="m-btn-search btn btn-default text-uppercase" type="reset" name="reset">@Translate("Reset", "Reset")</button> 257 <button class="m-btn-search btn btn-default text-uppercase" type="submit">@Translate("Search", "Search")</button> 258 </div> 259 </form> 260 <div id="results-search-sportfitness" class="m-search-advanced-results-panel"> 261 @*// Search Results in Session - Phase 2 262 @if (advancedSearchState.Any()) 263 { 264 265 foreach (AdvancedSearchState product in advancedSearchState) 266 { 267 @String.Format("{0}", product.Products) 268 } 269 }*@ 270 </div> 271 </div> 272 <div class="tab-pane fade in" id="advancedsearch-ParkUrban"> 273 <form id="search-park" name="search-form" method="get" action="@advancedSearchUrl"> 274 <input type="hidden" name="Products" value="Park" /> 275 <div class="l-page"> 276 <div class="container-fluid"> 277 <div class="form-horizontal"> 278 <fieldset class="m-theme-border-grey"> 279 <div class="row"> 280 <div class="col-ms-4 col-sm-4"> 281 <div class="form-group"> 282 <label for="puProductCode" class="col-sm-5 control-label">@Translate("ProductCode", "Product Code")</label> 283 <div class="col-sm-7"><input type="text" class="form-control search-group" id="puProductCode" name="ProductCode" /></div> 284 </div> 285 </div> 286 <div class="col-ms-4 col-sm-4"> 287 <div class="form-group"> 288 <label for="puProductName" class="col-sm-5 control-label">@Translate("Name", "Name")</label> 289 <div class="col-sm-7"><input type="text" class="form-control search-group" id="puProductName" name="ProductName" /></div> 290 </div> 291 </div> 292 @{ 293 List<VariantOption> ParkAnchoringVariants = new HagsWeb.Library.Methods.AssetSearch.ProductAssets().CheckValidVariantOptions("ATP3", "Park", advSearchArea.EcomLanguageId); 294 295 if (ParkAnchoringVariants.Count > 0) 296 { 297 <div class="col-ms-4 col-sm-4"> 298 <div class="form-group"> 299 <label for="puAnchoringType" class="col-sm-5 control-label">@Translate("Anchoring", "Anchoring")</label> 300 <div class="col-sm-7"> 301 <select class="form-control" id="puAnchoringType" name="AnchoringType"> 302 @if (ParkAnchoringVariants.Count > 1) 303 { 304 <option value="0"> @Translate("SelectAnchoring", "Select Anchoring Type") </option> 305 } 306 @foreach (var option in ParkAnchoringVariants) 307 { 308 <option value='@option.Id'> @option.Name </option> 309 } 310 </select> 311 </div> 312 </div> 313 </div> 314 } 315 else 316 { 317 <input type="hidden" name="AnchoringType" value="0" /> 318 } 319 } 320 321 </div> <!-- row --> 322 </fieldset> 323 </div> <!-- form-horizontal --> 324 </div> <!-- container-fluid --> 325 </div> <!-- l-page --> 326 <div class="m-search-advanced-buttons text-center"> 327 <button class="m-btn-search btn btn-default text-uppercase" type="reset" name="reset">@Translate("Reset", "Reset")</button> 328 <button class="m-btn-search btn btn-default text-uppercase" type="submit">@Translate("Search", "Search")</button> 329 </div> 330 </form> 331 <div id="results-search-parkurban" class="m-search-advanced-results-panel"> 332 @*// Search Results in Session - Phase 2 333 @if (advancedSearchState.Any()) 334 { 335 336 foreach (AdvancedSearchState product in advancedSearchState) 337 { 338 @String.Format("{0}", product.Products) 339 } 340 }*@ 341 </div> 342 </div> 343 <div class="tab-pane fade in" id="advancedsearch-Marine"> 344 <form id="search-marine" name="search-form" method="get" action="@advancedSearchUrl"> 345 <input type="hidden" name="Products" value="Marine" /> 346 <div class="l-page"> 347 <div class="container-fluid"> 348 <div class="form-horizontal"> 349 <fieldset class="m-theme-border-grey"> 350 <div class="row"> 351 <div class="col-ms-4 col-sm-4"> 352 <div class="form-group"> 353 <label for="mProductCode" class="col-sm-5 control-label">@Translate("ProductCode", "Product Code")</label> 354 <div class="col-sm-7"><input type="text" class="form-control search-group" id="mProductCode" name="ProductCode" /></div> 355 </div> 356 </div> 357 <div class="col-ms-4 col-sm-4"> 358 <div class="form-group"> 359 <label for="mProductName" class="col-sm-5 control-label">@Translate("Name", "Name")</label> 360 <div class="col-sm-7"><input type="text" class="form-control search-group" id="mProductName" name="ProductName" /></div> 361 </div> 362 </div> 363 @{ 364 List<VariantOption> MarineAnchoringVariants = new HagsWeb.Library.Methods.AssetSearch.ProductAssets().CheckValidVariantOptions("ATP3", "Marine", advSearchArea.EcomLanguageId); 365 366 if (MarineAnchoringVariants.Count > 0) 367 { 368 <div class="col-ms-4 col-sm-4"> 369 <div class="form-group"> 370 <label for="mAnchoringType" class="col-sm-5 control-label">@Translate("Anchoring", "Anchoring")</label> 371 <div class="col-sm-7"> 372 <select class="form-control" id="mAnchoringType" name="AnchoringType"> 373 @if (MarineAnchoringVariants.Count > 1) 374 { 375 <option value="0"> @Translate("SelectAnchoring", "Select Anchoring Type") </option> 376 } 377 @foreach (var option in MarineAnchoringVariants) 378 { 379 <option value='@option.Id'> @option.Name </option> 380 } 381 </select> 382 </div> 383 </div> 384 </div> 385 } 386 else 387 { 388 <input type="hidden" name="AnchoringType" value="0" /> 389 } 390 } 391 392 </div> <!-- row --> 393 </fieldset> 394 </div> <!-- form-horizontal --> 395 </div> <!-- container-fluid --> 396 </div> <!-- l-page --> 397 <div class="m-search-advanced-buttons text-center"> 398 <button class="m-btn-search btn btn-default text-uppercase" type="reset" name="reset">@Translate("Reset", "Reset")</button> 399 <button class="m-btn-search btn btn-default text-uppercase" type="submit">@Translate("Search", "Search")</button> 400 </div> 401 </form> 402 <div id="results-search-marine" class="m-search-advanced-results-panel"> 403 @*// Search Results in Session - Phase 2 404 @if (advancedSearchState.Any()) 405 { 406 407 foreach (AdvancedSearchState product in advancedSearchState) 408 { 409 @String.Format("{0}", product.Products) 410 } 411 }*@ 412 </div> 413 </div> 414 <div class="tab-pane fade in" id="advancedsearch-Shade"> 415 <form id="search-shade" name="search-form" method="get" action="@advancedSearchUrl"> 416 <input type="hidden" name="Products" value="Shade" /> 417 <div class="l-page"> 418 <div class="container-fluid"> 419 <div class="form-horizontal"> 420 <fieldset class="m-theme-border-grey"> 421 <div class="row"> 422 <div class="col-ms-4 col-sm-4"> 423 <div class="form-group"> 424 <label for="sProductCode" class="col-sm-5 control-label">@Translate("ProductCode", "Product Code")</label> 425 <div class="col-sm-7"><input type="text" class="form-control search-group" id="sProductCode" name="ProductCode" /></div> 426 </div> 427 </div> 428 <div class="col-ms-4 col-sm-4"> 429 <div class="form-group"> 430 <label for="sProductName" class="col-sm-5 control-label">@Translate("Name", "Name")</label> 431 <div class="col-sm-7"><input type="text" class="form-control search-group" id="sProductName" name="ProductName" /></div> 432 </div> 433 </div> 434 @{ 435 List<VariantOption> ShadeAnchoringVariants = new HagsWeb.Library.Methods.AssetSearch.ProductAssets().CheckValidVariantOptions("ATP3", "Shade", advSearchArea.EcomLanguageId); 436 437 if (ShadeAnchoringVariants.Count > 0) 438 { 439 <div class="col-ms-4 col-sm-4"> 440 <div class="form-group"> 441 <label for="sAnchoringType" class="col-sm-5 control-label">@Translate("Anchoring", "Anchoring")</label> 442 <div class="col-sm-7"> 443 <select class="form-control" id="sAnchoringType" name="AnchoringType"> 444 @if (ShadeAnchoringVariants.Count > 1) 445 { 446 <option value="0"> @Translate("SelectAnchoring", "Select Anchoring Type") </option> 447 } 448 @foreach (var option in ShadeAnchoringVariants) 449 { 450 <option value='@option.Id'> @option.Name </option> 451 } 452 </select> 453 </div> 454 </div> 455 </div> 456 } 457 else 458 { 459 <input type="hidden" name="AnchoringType" value="0" /> 460 } 461 } 462 463 </div> <!-- row --> 464 </fieldset> 465 </div> <!-- form-horizontal --> 466 </div> <!-- container-fluid --> 467 </div> <!-- l-page --> 468 <div class="m-search-advanced-buttons text-center"> 469 <button class="m-btn-search btn btn-default text-uppercase" type="reset" name="reset">@Translate("Reset", "Reset")</button> 470 <button class="m-btn-search btn btn-default text-uppercase" type="submit">@Translate("Search", "Search")</button> 471 </div> 472 </form> 473 <div id="results-search-shade" class="m-search-advanced-results-panel"> 474 @*// Search Results in Session - Phase 2 475 @if (advancedSearchState.Any()) 476 { 477 478 foreach (AdvancedSearchState product in advancedSearchState) 479 { 480 @String.Format("{0}", product.Products) 481 } 482 }*@ 483 </div> 484 </div> 485 </div> 486 </div> <!-- l-page --> 487 </div> <!-- m-search-advanced-product --> 488 <div class="text-center"> 489 <a href="#advancedsearch-ui" class="m-search-advanced-close"><img src="/Files/Templates/Designs/HagsCore/res/img/buttons/search-advanced-close.svg" data-nosvg="/Files/Templates/Designs/HagsCore/res/img/buttons/search-advanced-close.png" width="112" alt="Search Advanced Close"></a> 490 </div> 491 </div> 492 493 494 495 @*<h1>@GetGlobalValue("Global:Page.Name")</h1> 496 <h1>@GetValue("Global:Page.Name")</h1> 497 <h1>The Advanced Search Include is here.. PageID = @pageId, l=, LanguageID=@EcomLanguageID, ShopID=@EcomShopID, lang=@l</h1> 498 499 <h1>Set Tag = @GetString("CheckTag") // @GetValue("CheckTag") </h1> 500 501 @foreach (var p in pageParagraphCollection) 502 { 503 var a = p.Template; 504 var b = p.ID.ToString(); 505 var c = p.Text; 506 var f = p.Languages; 507 <ul> 508 <li>@a</li> 509 <li>@b</li> 510 <li>@c</li> 511 <li>@f</li> 512 </ul> 513 }*@ 514 515 516 </div> 517 518 <div class="tab-pane fade" id="downloadfinder"> 519 520 @inherits Dynamicweb.Rendering.RazorTemplateBase<Dynamicweb.Rendering.RazorTemplateModel<Dynamicweb.Rendering.Template>> 521 @using HagsWeb.Library.BusinessObjects.UsersLists; 522 @using HagsWeb.Library.State; 523 @using Dynamicweb.Ecommerce.Variants; 524 @{ 525 Dynamicweb.Frontend.PageView downloadsPage = Dynamicweb.Frontend.PageView.Current() ?? Dynamicweb.Frontend.PageView.Current(); 526 Dynamicweb.Content.Area downloadsArea = new Dynamicweb.Content.AreaService().GetArea(downloadsPage.AreaID); 527 528 string downloadsSearchUrl = Dynamicweb.Frontend.SearchEngineFriendlyURLs.GetFriendlyUrl((Int32)new Dynamicweb.Content.PageService().GetFirstModulePageForArea(downloadsArea.ID, "Searchv1").ID); 529 530 // This seems to be still valid 531 List<VariantOption> ProductDownloadsAnchoringVariants = new HagsWeb.Library.Methods.AssetSearch.ProductAssets().GetVariantOptions("ATP3", downloadsArea.EcomLanguageId); 532 533 534 #region Search Results in Session - Phase 2 535 536 537 //// Search Results in Session - Phase 2 538 //List<AdvancedSearchState> downloadsSearchState = SessionManager.UsersAdvancedSearchState != null ? SessionManager.UsersAdvancedSearchState as List<AdvancedSearchState> : new List<AdvancedSearchState>(); 539 //List<AdvancedSearchState> brochuresStateList = new List<AdvancedSearchState>(); 540 //List<AdvancedSearchState> dwgsStateList = new List<AdvancedSearchState>(); 541 //List<AdvancedSearchState> certificatesStateList = new List<AdvancedSearchState>(); 542 //List<AdvancedSearchState> installationGuidesStateList = new List<AdvancedSearchState>(); 543 544 //if (downloadsSearchState.Count() > 0) 545 //{ 546 // foreach (AdvancedSearchState downloadsState in downloadsSearchState) 547 // { 548 // if (!String.IsNullOrEmpty(downloadsState.Brochures)) 549 // { 550 // AdvancedSearchState broch = new AdvancedSearchState(); 551 // broch.Brochures = downloadsState.Brochures; 552 // brochuresStateList.Add(broch); 553 // } 554 // if (!String.IsNullOrEmpty(downloadsState.Dwgs)) 555 // { 556 // AdvancedSearchState dwg = new AdvancedSearchState(); 557 // dwg.Dwgs = downloadsState.Dwgs; 558 // dwgsStateList.Add(dwg); 559 // } 560 // if (!String.IsNullOrEmpty(downloadsState.Certificates)) 561 // { 562 // AdvancedSearchState certs = new AdvancedSearchState(); 563 // certs.Certificates = downloadsState.Certificates; 564 // certificatesStateList.Add(certs); 565 // } 566 // if (!String.IsNullOrEmpty(downloadsState.InstallationGuides)) 567 // { 568 // AdvancedSearchState guide = new AdvancedSearchState(); 569 // guide.InstallationGuides = downloadsState.InstallationGuides; 570 // installationGuidesStateList.Add(guide); 571 // } 572 // } 573 574 //} 575 #endregion 576 577 } 578 <div class="m-search-advanced" style="display:block;visibility:visible;"> 579 <div class="m-search-advanced-panel m-search-advanced-product" style="display:block;visibility:visible;"> 580 <div class="l-page"> 581 <div class="container-fluid"> 582 <nav class="text-center"> 583 <ul class="m-nav-tabs-search nav nav-tabs text-uppercase"> 584 <li><a href="#download-brochures" data-toggle="tab">@Translate("Brochures", "Brochures")</a></li> 585 <li><a href="#download-dwg" data-toggle="tab">@Translate("DWGFiles", "DWG Files")</a></li> 586 <li><a href="#download-certificates" data-toggle="tab">@Translate("Certificates", "Certificates")</a></li> 587 <li><a href="#download-installationguides" data-toggle="tab">@Translate("InstallationGuides", "Installation Guides")</a></li> 588 </ul> 589 </nav> 590 <p>@Translate("ProductDownloadsInstructions", "To find product downloads simply click on one of the options above and then use the search form displayed to find all the documents associated with your search.")</p> 591 <p>&nbsp;</p> 592 </div> <!-- container-fluid --> 593 <div class="tab-content"> 594 595 <div class="tab-pane fade in" id="download-brochures"> 596 <form id="search-brochures" name="search-form" method="post" action="@downloadsSearchUrl?Assets=download-brochures"> 597 <div class="l-page"> 598 <div class="container-fluid"> 599 <div class="form-horizontal"> 600 <input type="hidden" name="SearchType" value="download-brochures" /> 601 </div> <!-- form-horizontal --> 602 </div> <!-- container-fluid --> 603 </div> <!-- l-page --> 604 <div class="m-search-advanced-buttons text-center"> 605 @*<button class="m-btn-search btn btn-default text-uppercase" type="submit">@Translate("DownloadAll", "Download All")</button>*@ 606 @*<button class="m-btn-search btn btn-default text-uppercase" type="reset" >@Translate("Reset", "Reset")</button>*@ 607 <button class="m-btn-search btn btn-default text-uppercase" type="submit">@Translate("DisplayBrochures", "Display All Brochures")</button> 608 </div> 609 <div class="l-page"> 610 <div class="container-fluid"> 611 612 <div id="results-brochures" class="m-downloads m-search-advanced-results-panel"> 613 @*// SearchState - Phase 2 614 @if (brochuresStateList.Any()) 615 { 616 foreach (AdvancedSearchState brochures in brochuresStateList) 617 { 618 @String.Format("{0}", brochures.Brochures) 619 } 620 }*@ 621 </div> <!-- m-downloads --> 622 </div> <!-- container-fluid --> 623 </div> <!-- l-page --> 624 </form> 625 </div> 626 627 <div class="tab-pane fade in" id="download-dwg"> 628 <form id="search-dwg" name="search-form" method="post" action="@downloadsSearchUrl?Assets=download-dwg"> 629 <div class="l-page"> 630 <div class="container-fluid"> 631 <div class="form-horizontal"> 632 <fieldset id="dwg-criteria" class="m-theme-border-grey"> 633 <input type="hidden" name="SearchType" value="download-dwg" /> 634 <div class="row"> 635 <div class="col-ms-4 col-sm-4"> 636 <div class="form-group"> 637 <label for="dwgProductCode" class="col-sm-5 control-label">@Translate("ProductCode", "Product Code")</label> 638 <div class="col-sm-7"><input type="text" class="form-control search-group" id="dwgProductCode" name="ProductCode" /></div> 639 </div> 640 </div> 641 <div class="col-ms-4 col-sm-4"> 642 <div class="form-group"> 643 <label for="dwgProductName" class="col-sm-5 control-label">@Translate("Name", "Name")</label> 644 <div class="col-sm-7"><input type="text" class="form-control search-group" id="dwgProductName" name="ProductName" /></div> 645 </div> 646 </div> 647 @if (ProductDownloadsAnchoringVariants.Count > 0) 648 { 649 650 <div class="col-ms-4 col-sm-4"> 651 <div class="form-group"> 652 653 <label for="dwgAnchoringType" class="col-sm-5 control-label">@Translate("Anchoring", "Anchoring")</label> 654 <div class="col-sm-7"> 655 <select class="form-control" id="dwgAnchoringType" name="AnchoringType"> 656 <option value="0">@Translate("SelectAnchoring", "Select Anchoring Type")</option> 657 @foreach (var option in ProductDownloadsAnchoringVariants) 658 { 659 <option value='@option.Id'>@option.Name</option> 660 } 661 </select> 662 </div> 663 </div> 664 </div> 665 666 } 667 </div> <!-- row --> 668 </fieldset> 669 </div> <!-- form-horizontal --> 670 </div> <!-- container-fluid --> 671 </div> <!-- l-page --> 672 <div class="m-search-advanced-buttons text-center"> 673 @*<button class="m-btn-search btn btn-default text-uppercase" type="submit">@Translate("DownloadAll", "Download All")</button>*@ 674 <button class="m-btn-search btn btn-default text-uppercase" type="reset">@Translate("Reset", "Reset")</button> 675 <button class="m-btn-search btn btn-default text-uppercase" type="submit">@Translate("Search", "Search")</button> 676 </div> 677 <div class="l-page"> 678 <div class="container-fluid"> 679 680 <div id="results-dwgs" class="m-downloads m-search-advanced-results-panel"> 681 @*// SearchState - Phase 2 682 @if (dwgsStateList.Any()) 683 { 684 foreach (AdvancedSearchState dwgs in dwgsStateList) 685 { 686 @String.Format("{0}", dwgs.Dwgs) 687 } 688 }*@ 689 </div> <!-- m-downloads --> 690 691 692 </div> <!-- container-fluid --> 693 </div> <!-- l-page --> 694 </form> 695 </div> 696 <div class="tab-pane fade in" id="download-certificates"> 697 <form id="search-certificates" name="search-form" method="post" action="@downloadsSearchUrl?Assets=download-certificates"> 698 <div class="l-page"> 699 <div class="container-fluid"> 700 <div class="form-horizontal"> 701 <fieldset id="certificates-criteria" class="m-theme-border-grey"> 702 <input type="hidden" name="SearchType" value="download-certificates" /> 703 <div class="row"> 704 <div class="col-ms-4 col-sm-4"> 705 <div class="form-group"> 706 <label for="certsProductCode" class="col-sm-5 control-label">@Translate("ProductCode", "Product Code")</label> 707 <div class="col-sm-7"><input type="text" class="form-control search-group" id="certsProductCode" name="ProductCode" /></div> 708 </div> 709 </div> 710 <div class="col-ms-4 col-sm-4"> 711 <div class="form-group"> 712 <label for="certsProductName" class="col-sm-5 control-label">@Translate("Name", "Name")</label> 713 <div class="col-sm-7"><input type="text" class="form-control search-group" id="certsProductName" name="ProductName" /></div> 714 </div> 715 </div> 716 @if (ProductDownloadsAnchoringVariants.Count() > 0) 717 { 718 719 <div class="col-ms-4 col-sm-4"> 720 <div class="form-group"> 721 722 <label for="certsAnchoringType" class="col-sm-5 control-label">@Translate("Anchoring", "Anchoring")</label> 723 <div class="col-sm-7"> 724 <select class="form-control" id="certsAnchoringType" name="AnchoringType"> 725 <option value="0">@Translate("SelectAnchoring", "Select Anchoring Type")</option> 726 @foreach (var option in ProductDownloadsAnchoringVariants) 727 { 728 <option value='@option.Id'>@option.Name</option> 729 } 730 </select> 731 </div> 732 </div> 733 </div> 734 735 } 736 </div> <!-- row --> 737 </fieldset> 738 </div> <!-- form-horizontal --> 739 </div> <!-- container-fluid --> 740 </div> <!-- l-page --> 741 <div class="m-search-advanced-buttons text-center"> 742 @*<button class="m-btn-search btn btn-default text-uppercase" type="submit">@Translate("DownloadAll", "Download All")</button>*@ 743 <button class="m-btn-search btn btn-default text-uppercase" type="reset">@Translate("Reset", "Reset")</button> 744 <button class="m-btn-search btn btn-default text-uppercase" type="submit">@Translate("Search", "Search")</button> 745 746 <div class="adviceMessage"></div> 747 748 </div> 749 <div class="l-page"> 750 <div class="container-fluid"> 751 752 <div id="results-certificates" class="m-downloads m-search-advanced-results-panel"> 753 @*// SearchState - Phase 2 754 @if (certificatesStateList.Any()) 755 { 756 foreach (AdvancedSearchState certs in certificatesStateList) 757 { 758 @String.Format("{0}", certs.Certificates) 759 } 760 }*@ 761 762 </div> <!-- m-downloads --> 763 764 765 </div> <!-- container-fluid --> 766 767 </div> <!-- l-page --> 768 </form> 769 </div> 770 <div class="tab-pane fade in" id="download-installationguides"> 771 <form id="search-installationguides" name="search-form" method="post" action="@downloadsSearchUrl?Assets=download-installationguides"> 772 <div class="l-page"> 773 <div class="container-fluid"> 774 <div class="form-horizontal"> 775 <fieldset id="installationguides-criteria" class="m-theme-border-grey"> 776 <input type="hidden" name="SearchType" value="download-installationguides" /> 777 <div class="row"> 778 <div class="col-ms-4 col-sm-4"> 779 <div class="form-group"> 780 <label for="guidesProductCode" class="col-sm-5 control-label">@Translate("ProductCode", "Product Code")</label> 781 <div class="col-sm-7"><input type="text" class="form-control search-group" id="guidesProductCode" name="ProductCode" /></div> 782 </div> 783 </div> 784 <div class="col-ms-4 col-sm-4"> 785 <div class="form-group"> 786 <label for="guidesProductName" class="col-sm-5 control-label">@Translate("Name", "Name")</label> 787 <div class="col-sm-7"><input type="text" class="form-control search-group" id="guidesProductName" name="ProductName" /></div> 788 </div> 789 </div> 790 @if (ProductDownloadsAnchoringVariants.Count() > 0) 791 { 792 793 <div class="col-ms-4 col-sm-4"> 794 <div class="form-group"> 795 796 <label for="guidesAnchoringType" class="col-sm-5 control-label">@Translate("Anchoring", "Anchoring")</label> 797 <div class="col-sm-7"> 798 <select class="form-control" id="guidesAnchoringType" name="AnchoringType"> 799 <option value="0">@Translate("SelectAnchoring", "Select Anchoring Type")</option> 800 @foreach (var option in ProductDownloadsAnchoringVariants) 801 { 802 <option value='@option.Id'>@option.Name</option> 803 } 804 </select> 805 </div> 806 </div> 807 </div> 808 809 } 810 </div> <!-- row --> 811 </fieldset> 812 </div> <!-- form-horizontal --> 813 </div> <!-- container-fluid --> 814 </div> <!-- l-page --> 815 <div class="m-search-advanced-buttons text-center"> 816 @*<button class="m-btn-search btn btn-default text-uppercase" type="submit">@Translate("DownloadAll", "Download All")</button>*@ 817 <button class="m-btn-search btn btn-default text-uppercase" type="reset">@Translate("Reset", "Reset")</button> 818 <button class="m-btn-search btn btn-default text-uppercase" type="submit">@Translate("Search", "Search")</button> 819 </div> 820 <div class="l-page"> 821 <div class="container-fluid"> 822 823 <div id="results-guides" class="m-downloads m-search-advanced-results-panel"> 824 @*// SearchState - Phase 2 825 @if (installationGuidesStateList.Any()) 826 { 827 foreach (AdvancedSearchState guide in installationGuidesStateList) 828 { 829 @String.Format("{0}", guide.InstallationGuides) 830 } 831 }*@ 832 833 </div> <!-- m-downloads --> 834 835 836 </div> <!-- container-fluid --> 837 </div> <!-- l-page --> 838 </form> 839 </div> 840 841 </div> 842 </div> <!-- l-page --> 843 </div> <!-- m-search-advanced-product --> 844 <div class="text-center"> 845 <a href="#downloadfinder" class="m-search-advanced-close"><img src="/Files/Templates/Designs/HagsCore/res/img/buttons/search-advanced-close.svg" data-nosvg="/Files/Templates/Designs/HagsCore/res/img/buttons/search-advanced-close.png" width="112" alt="Search Advanced Close"></a> 846 </div> 847 </div> 848 849 </div> 850 <div class="tab-pane fade" id="productcollection"> 851 852 @inherits Dynamicweb.Rendering.RazorTemplateBase<Dynamicweb.Rendering.RazorTemplateModel<Dynamicweb.Rendering.Template>> 853 @using System 854 @using System.Collections.Generic 855 @using System.Linq 856 @using HagsWeb.Library.BusinessObjects.UsersLists; 857 @using HagsWeb.Library.Methods.AssetManager; 858 @using HagsWeb.Library.State; 859 860 @inherits Dynamicweb.Rendering.RazorTemplateBase<Dynamicweb.Rendering.RazorTemplateModel<Dynamicweb.Rendering.Template>> 861 @using System.Collections.Generic 862 @using HagsWeb.Library.BusinessObjects.UsersLists 863 864 @helper CatalogueHelper(List<ProductCollectionItem> catalogueCollectionItems, string LanguageId, int AreaId) 865 { 866 <!--Files/Templates/HagsModules/UsersAssetsSearch/MyProductCollection/Catalogue.cshtml--> 867 868 @*the bootstrap modal background/backdrop misbehaves in some browsers covering the modal completly so turn it off data-background="false"*@ 869 <div id="CreateCatalog" class="modal fade in" data-background="false" tabindex="-1" role="dialog" aria-labelledby="CreateCatalogModalLabel" aria-hidden="true"> 870 <div class="modal-backdrop fade in" data-backdrop="static" style="z-index:180;"></div> 871 <div class="modal-dialog" style="width: 1330px;"> 872 <div class="m-form-contact-modal modal-content"> 873 <div class="modal-header"> 874 <button type="button" class="close blue-close icon-remove" data-dismiss="modal"></button> 875 <button type="button" class="close" data-dismiss="modal"> 876 <span aria-hidden="true">x</span> 877 <span class="sr-only">Close</span> 878 </button> 879 <h4 class="modal-title" id="CreateCatalogModalLabel"> 880 @Translate("CreateYourCatalog", "Create Your Catalogue") 881 </h4> 882 </div> 883 <div class="row2"> 884 @*<div class="container-fluid"> 885 <nav class="text-center"> 886 <ul class="m-nav-tabs-search nav nav-tabs text-uppercase"> 887 <li id="tabCatProductList" class="active"><a href="#cat-productlist" data-toggle="tab">Product List</a></li> 888 <li id="tabCustomCatalogue"><a href="#cat-custom" data-toggle="tab">Catalogue</a></li> 889 </ul> 890 </nav> 891 </div>*@ <!-- container-fluid --> 892 </div> 893 894 <div id="div_CreateCatalog"> 895 <div class="row2"> 896 <div id="" class="tab-content"> 897 @*<div id="cat-custom" class="tab-pane fade in active">*@ 898 <div id="cat-custom"> 899 <div> 900 <div class="container-fluid"> 901 <div class="col-ms-12 col-sm-12" style="margin-top: 20px;"> 902 <div class="col-ms-6 col-sm-4"> 903 904 <form id="frm_CreateCatalog" class="form-horizontal" style="display: block"> 905 <input type="hidden" name="areaId" value="@AreaId" /> 906 <input type="hidden" name="languageId" value="@LanguageId" /> 907 <fieldset class="m-theme-border-grey col-ms-12 col-sm-12"> 908 <div class="row"> 909 <div class="col-ms-12 col-sm-12"> 910 <div class="form-group"> 911 <label for="catName" class="col-sm-5 control-label">@Translate("CatalogueName", "Catalogue Name"):</label> 912 <div class="col-sm-7"><input type="text" class="form-control search-group" name="catName" placeholder="@Translate("CatalogueName", "Catalogue Name")" maxlength="72" /></div> 913 </div> 914 </div> 915 <div class="col-ms-12 col-sm-12"> 916 <div class="form-group"> 917 <label for="catHagsContactName" class="col-sm-5 control-label">@Translate("HagsContactName", "Hags Contact Name"):</label> 918 <div class="col-sm-7"><input type="text" class="form-control search-group" name="catHagsContactName" placeholder="@Translate("HagsContactName", "Hags Contact Name")" /></div> 919 </div> 920 </div> 921 <div class="col-ms-12 col-sm-12"> 922 <div class="form-group"> 923 <label for="catHagsContactPhone" class="col-sm-5 control-label">@Translate("HagsPhoneNumber", "Hags Phone Number"):</label> 924 <div class="col-sm-7"><input type="text" class="form-control search-group" name="catHagsContactPhone" placeholder="@Translate("HagsPhoneNumber", "Hags Phone Number")" /></div> 925 </div> 926 </div> 927 <div class="col-ms-12 col-sm-12"> 928 <div class="form-group"> 929 <label for="catHagsContactEmail" class="col-sm-5 control-label">@Translate("HagsContactEmail", "Hags Contact Email"):</label> 930 <div class="col-sm-7"><input type="text" class="form-control search-group" name="catHagsContactEmail" placeholder="@Translate("HagsContactEmail", "Hags Contact Email")" /></div> 931 </div> 932 </div> 933 <div class="col-ms-12 col-sm-12"> 934 <div class="form-group"> 935 <label for="catCompanyName" class="col-sm-5 control-label">@Translate("CompanyName", "Company Name"):</label> 936 <div class="col-sm-7"><input type="text" class="form-control search-group" name="catCompanyName" placeholder="@Translate("CompanyName", "Company Name")" /></div> 937 </div> 938 </div> 939 <div class="col-ms-12 col-sm-12"> 940 <div class="form-group"> 941 <label for="catAddress" class="col-sm-5 control-label">@Translate("CompanyAddress", "Company Address"):</label> 942 <div class="col-sm-7"><input type="text" class="form-control search-group" name="catAddress" placeholder="@Translate("CompanyAddress", "Company Address")" /></div> 943 </div> 944 </div> 945 <div class="col-ms-12 col-sm-12"> 946 <div class="form-group"> 947 <label for="catAddress2" class="col-sm-5 control-label">&nbsp;</label> 948 <div class="col-sm-7"><input type="text" class="form-control search-group" name="catAddress2" placeholder="@Translate("CompanyAddress", "Company Address")" /></div> 949 </div> 950 </div> 951 <div class="col-ms-12 col-sm-12"> 952 <div class="form-group"> 953 <label for="catAddrTown" class="col-sm-5 control-label">@Translate("CompanyTown", "Company Town"):</label> 954 <div class="col-sm-7"><input type="text" class="form-control search-group" name="catAddrTown" placeholder="@Translate("CompanyTown", "Company Town")" /></div> 955 </div> 956 </div> 957 <div class="col-ms-12 col-sm-12"> 958 <div class="form-group"> 959 <label for="catAddrPostCode" class="col-sm-5 control-label">@Translate("CompanyPostCode", "Company Postal Code"):</label> 960 <div class="col-sm-7"><input type="text" class="form-control search-group" name="catAddrPostCode" placeholder="@Translate("CompanyPostCode", "Company Postal Code")" /></div> 961 </div> 962 </div> 963 <div class="col-ms-12 col-sm-12"> 964 <div class="form-group"> 965 <label for="catAddrCountry" class="col-sm-5 control-label">@Translate("CompanyCountry", "Company Country"):</label> 966 <div class="col-sm-7"><input type="text" class="form-control search-group" name="catAddrCountry" placeholder="@Translate("CompanyCountry", "Company Country")" /></div> 967 </div> 968 </div> 969 <div class="col-ms-12 col-sm-12"> 970 <div class="m-search-advanced-buttons text-right"> 971 @{string printShout = Translate("SaveOrPrint", "Save or Print your Product PDF ");} 972 <button class="m-btn-search btn btn-default text-uppercase" name="updatecatalogue" type="button" data-shout="@printShout" role="button">@Translate("UpdateCatalogue", "Update Catalogue")</button> 973 <button class="m-btn-search btn btn-default text-uppercase" style="display: none;" name="emailcatalogue" type="button" role="button">@Translate("SendEmail", "Send Email")</button> 974 <button class="m-btn-search btn btn-default text-uppercase" style="display: none;" name="refreshemail" type="button" role="button">@Translate("Refresh", "Refresh")</button> 975 <button class="m-btn-search btn btn-default text-uppercase" style="display: none;" data-dismiss="modal" type="button" role="button">@Translate("Cancel", "Cancel")</button> 976 </div> 977 </div> 978 </div> <!-- row --> 979 </fieldset> 980 </form> <!--form - horizontal--> 981 @*Switch Form here*@ 982 983 <form id="frm_EmailSettings" role="form" class="form-horizontal" style="display:none"> 984 <input type="hidden" name="pdfFileName" value=""/> 985 <fieldset class="m-theme-border-grey col-ms-12 col-sm-12"> 986 <div class="row"> 987 <div class="col-ms-12 col-sm-12"> 988 <div class="form-group"> 989 <label for="emailFrom" class="col-sm-4 control-label">@Translate("EmailFrom", "Email from"):</label> 990 <div class="col-sm-8"><input type="text" class="form-control search-group" name="emailFrom" required placeholder='@Translate("EmailFrom", "Email from")' value="" /></div> 991 </div> 992 </div> 993 <div class="col-ms-12 col-sm-12"> 994 <div class="form-group"> 995 <label for="emailTo" class="col-sm-4 control-label">@Translate("EmailTo", "Email to"):</label> 996 <div class="col-sm-8"><input type="text" class="form-control search-group" name="emailTo" required placeholder='@Translate("EmailTo", "Email to")' value="" /></div> 997 </div> 998 </div> 999 <div class="col-ms-12 col-sm-12"> 1000 <div class="form-group"> 1001 <label for="emailSubject" class="col-sm-4 control-label">@Translate("EmailSubject", "Subject"):</label> 1002 <div class="col-sm-8"><input type="text" class="form-control search-group" name="emailSubject" placeholder='@Translate("EmailSubject", "Subject")' value="" /></div> 1003 </div> 1004 </div> 1005 <div class="col-ms-12 col-sm-12"> 1006 <div class="form-group"> 1007 <label for="emailMessage" class="col-sm-4 control-label">@Translate("Message", "Message"):</label> 1008 <div class="col-sm-8"><textarea class="form-control" name="emailMessage" cols="45" rows="7" value="Test Message" placeholder='@Translate("MyMessage", "My Message")'></textarea></div> 1009 </div> 1010 </div> 1011 </div> 1012 </fieldset> 1013 1014 <div id="emailProgressContent" style="display:none;"> 1015 <span id="CreateCatalogueEmailLabel" style="display: block; text-align: center; margin: auto;">@Translate("SendingYourEmail", "Sending your Email")</span> 1016 <img src="Files/Templates/Designs/HagsCore/res/img/loader/ajax-loader.gif" style="margin: auto; display: block;" /> 1017 </div> 1018 1019 <div id="emailProgress" style="display: none;"> 1020 </div> <!--container - fluid--> 1021 1022 <div> 1023 1024 <div class="m-search-advanced-buttons text-right" id="preSendEmail" style="display: block;"> 1025 1026 <button class="m-btn-search btn btn-default text-uppercase" name="emailcatalogue" type="button" role="button">@Translate("SendEmail", "Send Email")</button> 1027 <button class="m-btn-search btn btn-default text-uppercase" style="display: none;" name="refreshemail" type="button" role="button">@Translate("Refresh", "Refresh")</button> 1028 <button class="m-btn-search btn btn-default text-uppercase" name="cancelemail" type="button" role="button">@Translate("Cancel", "Cancel")</button> 1029 1030 </div> 1031 1032 1033 <div class="m-search-advanced-buttons text-center" id="downloadResend" style="display: none;"> 1034 1035 <button class="m-btn-search btn btn-default text-uppercase" style="display: none;" name="resendcatalogue" type="button" role="button">@Translate("SendEmail", "Send Email")</button> 1036 <button class="m-btn-sm-more btn btn-default text-uppercase" style="margin: 2px;" name="refreshemail" type="button" role="button">@Translate("ClearFormSendAgain", "Clear form and send again")</button><br/> 1037 <a href="" class="m-btn-sm-more btn btn-default text-uppercase" download>@Translate("DownloadCatalogue", "Download Catalogue")</a> 1038 <button class="m-btn-sm-more btn btn-default text-uppercase" style="margin: 2px;" data-dismiss="modal" type="button" role="button">@Translate("CloseWindow", "Close Window")</button> 1039 1040 </div> 1041 1042 </div> 1043 1044 </form> 1045 <script> 1046 $("#frm_EmailSettings").validate(); 1047 </script> 1048 1049 </div> 1050 <div class="col-ms-6 col-sm-8"> 1051 <div class="row2"> 1052 <div id="loader" style="display:none;text-align:center"> 1053 <span id="CreateCataloguePdfLabel" style="display: inline-block;margin: 10px 10px 0 0;padding: 5px 10px"></span> 1054 <img src="Files/Templates/Designs/HagsCore/res/img/loader/ajax-loader.gif" style="margin:auto;display:block;" /> 1055 </div> 1056 1057 <div id="pdfViewer" style="width: 834px;"> 1058 @*<object id="pdfObjectViewer" style="display: none;" data="" type="application/pdf" width="100%" height="600" /> 1059 <embed id="pdfViewer" style="display: none;" src="" type="application/pdf" /> 1060 <iframe src="" id="pdfIframeViewer" width="100%" height="600" type="application/pdf" style="display:none;" />*@ 1061 </div> 1062 </div> 1063 </div> 1064 </div> 1065 </div> <!--container - fluid--> 1066 </div> 1067 </div> 1068 </div> 1069 </div> 1070 1071 <div id="adviceMessage"></div> 1072 1073 </div> 1074 1075 <div class="modal-footer" id="main-footer"> 1076 1077 <div class="m-search-advanced-buttons text-center"> 1078 1079 <button class="m-btn-search btn btn-default text-uppercase" name="createemail" type="button" role="button">@Translate("EmailCatalogue", "Email Catalogue")</button> 1080 1081 <button class="m-btn-search btn btn-default text-uppercase" data-dismiss="modal" type="button">@Translate("Cancel", "Cancel")</button> 1082 1083 </div> 1084 1085 </div> 1086 1087 </div> 1088 </div> 1089 1090 </div> 1091 1092 } 1093 @{ 1094 Dynamicweb.Frontend.PageView collectionPage = Dynamicweb.Frontend.PageView.Current() ?? Dynamicweb.Frontend.PageView.Current(); 1095 Dynamicweb.Content.Area collectionArea = new Dynamicweb.Content.AreaService().GetArea(collectionPage.AreaID); 1096 1097 List<ProductCollectionItem> productCollectionItems = SessionManager.UsersMyProductCollection != null ? SessionManager.UsersMyProductCollection : new List<ProductCollectionItem>(); 1098 bool isQuote = Convert.ToBoolean(collectionArea.Item["QuoteAndOrderChk"]); 1099 bool isCatalog = true; // Convert.ToBoolean(collectionArea.Item["CatalogueServiceChk"]); // To Be Implemented in Site Settings 1100 string downloadingText = HagsWeb.Library.Utilities.DWUtilities.GetTranslation("Downloading...", "Downloading...", collectionArea.Culture); 1101 int currentPage = collectionArea.ID; 1102 } 1103 1104 @if (isCatalog) 1105 { 1106 1107 } 1108 @CatalogueHelper(productCollectionItems, collectionArea.EcomLanguageId, collectionPage.AreaID) 1109 1110 <input type="hidden" id="isQuote" value="@isQuote" /> 1111 <input type="hidden" id="downloadingText" value="@downloadingText" /> 1112 <div class="m-search-advanced" style="display:block;visibility:visible;"> 1113 1114 <!--<div class="pull-left"><h4 class="clearfix">@Translate("MyProductCollection", "My Product Collection")</h4></div>--> 1115 1116 <div class="text-center" style="clear:both;padding-top:10px; border-bottom: 2px solid #000; padding-bottom: 20px;"> 1117 <div id="btns_MyProductCollection"> 1118 @if (productCollectionItems.Any()) 1119 { 1120 <p>@Translate("ProductCollectionButtonInstructions", "Use the buttons below to either download files, create quotes or create orders based on the products you have added to your collection.")</p> 1121 1122 <ul class="list-inline print-hide"> 1123 @{ 1124 List<ProductAsset> imageFileList = new List<ProductAsset>(); 1125 List<ProductAsset> dwgFileList = new List<ProductAsset>(); 1126 List<ProductAsset> instructionsFileList = new List<ProductAsset>(); 1127 string contactUsLink = HagsWeb.Library.Utilities.DWUtilities.GetPageByNavigationTag("ContactUs", currentPage); // /kontakta-oss?mode=quote#contactForms // /kontakta-oss?success=True&mode=quote#contactForms // restful url 1128 1129 <div style="background:pink;"> 1130 foreach (var item in productCollectionItems) 1131 { 1132 1133 foreach (ProductAsset asset in item.AssetDownloads.Where(n => n.Index == HagsWeb.Library.Methods.AssetManager.AssetTypeEnum.ToFriendlyAssetName(HagsWeb.Library.Methods.AssetManager.AssetType.Images) && n.FileName == item.ProductNumber + ".jpg" || n.FileName == item.ProductNumber + "_Side.jpg" || n.FileName == item.ProductNumber + "_Top.jpg").ToList()) 1134 { 1135 imageFileList.Add(asset); 1136 } 1137 1138 foreach (ProductAsset asset in item.AssetDownloads.Where(n => n.Index == HagsWeb.Library.Methods.AssetManager.AssetTypeEnum.ToFriendlyAssetName(HagsWeb.Library.Methods.AssetManager.AssetType.Drawings)).ToList()) 1139 { 1140 dwgFileList.Add(asset); 1141 } 1142 1143 foreach (ProductAsset asset in item.AssetDownloads.Where(n => n.Index == HagsWeb.Library.Methods.AssetManager.AssetTypeEnum.ToFriendlyAssetName(HagsWeb.Library.Methods.AssetManager.AssetType.AssemblyInstructions)).ToList()) 1144 { 1145 instructionsFileList.Add(asset); 1146 } 1147 1148 1149 } 1150 </div> 1151 1152 <div style="background:yellow;"> 1153 if (imageFileList.Any()) 1154 { 1155 <li><a class="m-btn-xs-more btn btn-default btn-xs text-uppercase" role="button" name="download" data-parent="Bilder" id="imageDownloadButton">@Translate("DownloadImages", "Download Images")</a></li> 1156 } 1157 1158 if (dwgFileList.Any()) 1159 { 1160 <li><a class="m-btn-xs-more btn btn-default btn-xs text-uppercase" role="button" name="download" data-parent="Ritningar" id="dwgDownloadButton">@Translate("DownloadDWGFiles", "Download DWG Files")</a></li> 1161 } 1162 1163 if (instructionsFileList.Any()) 1164 { 1165 <li><a class="m-btn-xs-more btn btn-default btn-xs text-uppercase" role="button" name="download" data-parent="Monteringsanvisningar" id="instructionsDownloadButton">@Translate("DownloadInstallationGuides", "Download Installation Guides")</a></li> 1166 } 1167 1168 if (isQuote) 1169 { 1170 if (!string.IsNullOrEmpty(contactUsLink)) 1171 { 1172 <li><a class="m-btn-xs-more btn btn-default btn-xs text-uppercase" href="@contactUsLink?mode=QuickQuote" role="button" data-parent="#quickquote" id="quickQuoteButton">@Translate("CreateQuickQuote", "Create a Quick Quote")</a></li> 1173 <li><a class="m-btn-xs-more btn btn-default btn-xs text-uppercase" href="@contactUsLink?mode=QuickOrder" role="button" data-parent="#quickorder" id="quickOrderButton">@Translate("CreateQuickOrder", "Create a Quick Order")</a></li> 1174 } 1175 } 1176 if (isCatalog && String.IsNullOrEmpty(GetGlobalValue("Global:Device.IsMobile"))) 1177 { 1178 string printShout = Translate("SaveOrPrint", "Save or Print your Product PDF "); 1179 1180 <li><a class="m-btn-xs-more btn btn-default btn-xs text-uppercase" data-toggle="modal" data-target="#CreateCatalog" data-shout="@printShout" Name="catalogPublishing" role="button" data-parent="#catalogue">@Translate("CreateYourCatalog", "Create Your Catalogue")</a></li> 1181 } 1182 </div> 1183 } 1184 </ul> 1185 1186 } 1187 1188 </div> 1189 1190 <div class="m-search-advanced-results-panel" id="frm_MyProductCollection"> 1191 <div class="row2"> 1192 @if (productCollectionItems.Any()) 1193 { 1194 1195 foreach (ProductCollectionItem item in productCollectionItems) 1196 { 1197 1198 <div class="l-group-5 text-left"> 1199 <div class="m-attractor"> 1200 <div class="m-attractor-visual"> 1201 1202 1203 @if (item.ProductImageUrl != null && !String.IsNullOrEmpty(item.ProductUrlReference)) 1204 { 1205 <a href="@item.ProductUrlReference"><img src="@item.ProductImageUrl" class="img-responsive m-product-thumb" /></a> 1206 } 1207 else 1208 { 1209 <img src="/Files/Templates/Designs/HagsCore/res/img/image-not-found.png" class="img-responsive m-product-thumb" /> 1210 } 1211 1212 1213 </div> 1214 1215 <div class="m-attractor-info m-attractor-info-product"> 1216 <h3 class="m-theme-after-yellow m-theme-border-yellow"><a href="@item.ProductUrlReference">@item.ProductName</a></h3> 1217 @*<p>@item.ProductDescription</p>*@ 1218 @*<p>@Translate("ProductNumber", "Product Number"): @item.ProductNumber</p>*@ 1219 <p>@item.ProductNumber</p> 1220 <a class="m-btn-xs-more btn btn-default btn-xs text-uppercase" href="@item.ProductUrlReference" role="button">@Translate("ProductDetails", "Product Details")</a> 1221 </div> <!-- attractor-info --> 1222 <div class="m-attractor-options"> 1223 <ul class="m-icon-links list-unstyled"> 1224 <li><a href="" name='productcollection' class="clearfix productcollection" data-removeProductlist="@item.ProductNumber"><img src="/Files/Templates/Designs/HagsCore/res/img/icons/plus.svg" data-nosvg="/Files/Templates/Designs/HagsCore/res/img/icons/plus.png" class="m-icon pull-left"><span>@Translate("RemoveFromCollection", "Remove from my collection")</span></a></li> 1225 </ul> 1226 </div> <!-- m-attractor-options --> 1227 </div> 1228 1229 </div> 1230 1231 1232 } 1233 1234 } 1235 else 1236 { 1237 <p>@Translate("NoProductsInCollection", "You have no products in your collection.")</p> 1238 } 1239 </div> 1240 1241 </div> 1242 1243 </div> 1244 1245 <div class="text-center clearfix" style="clear:both;padding-top:10px;"> 1246 <a href="#productcollection" class="m-search-advanced-close"><img src="/Files/Templates/Designs/HagsCore/res/img/buttons/search-advanced-close.svg" data-nosvg="/Files/Templates/Designs/HagsCore/res/img/buttons/search-advanced-close.png" width="112" alt="Search Advanced Close"></a> 1247 </div> 1248 </div> 1249 1250 @*<div> 1251 <p>Is Desktop: @GetGlobalValue("Global:Device.IsDesktop")</p> 1252 <p>Is Tablet: @GetGlobalValue("Global:Device.IsTablet")</p> 1253 <p>Is Mobile: @GetGlobalValue("Global:Device.IsMobile")</p> 1254 </div>*@ 1255 1256 </div> 1257 1258 <div class="tab-pane fade" id="inspirationfinder"> 1259 1260 @inherits Dynamicweb.Rendering.RazorTemplateBase<Dynamicweb.Rendering.RazorTemplateModel<Dynamicweb.Rendering.Template>> 1261 @using System.Linq; 1262 @using Dynamicweb.Content.Items; 1263 @{ 1264 Dynamicweb.Frontend.PageView thePage = Dynamicweb.Frontend.PageView.Current() ?? Dynamicweb.Frontend.PageView.Current(); 1265 int areaId = thePage.Area.ID; 1266 1267 // Get the current area's Paragraphs and find the ItemPublisher Module, returning a link and its paragraph content. Checks if Normalize latin Chars is set in DW 1268 var tuple = HagsWeb.Library.Methods.Items.ItemTypeMethods.GetDefaultCaseStudies(areaId, 3); 1269 string paraContent = tuple.Item1; 1270 int pageId = tuple.Item2; // The Target Case Study Page listin Case study Item Types 1271 string hyperLink = tuple.Item3; 1272 bool latinCharacters = tuple.Item4; 1273 IEnumerable<Item> caseStudies = tuple.Item5; 1274 1275 //http://developer.dynamicweb-cms.com/documentation/for-developers/item-based-structure/querying-items.aspx 1276 1277 //string DataFromItem = RenderItemList(new 1278 //{ 1279 // ItemType = "Case_Study", 1280 // ListSourceType = "Page", 1281 // ListSourcePage = "62", 1282 // //IncludeAllChildItems = true, 1283 // //IncludeParagraphItems = true, 1284 // ItemFieldsList = "*", 1285 // ListTemplate = "ItemPublisher/List/Case Study List.cshtml", 1286 // ListPageSize = "100" 1287 //}).ToString(); 1288 1289 ////int productsPageId = GetPageIdByNavigationTag("Legals"); 1290 } 1291 <div class="m-search-advanced" style="display:block;visibility:visible;"> 1292 <!--<h4>@Translate("InspirationFinder", "Inspiration Finder")</h4>--> 1293 1294 <div class="m-search-advanced-results-panel fade in" id="frm_InspirationFinder"> 1295 1296 @if (caseStudies.Any()) 1297 { 1298 1299 foreach (var study in caseStudies) 1300 { 1301 string studyId = study["Id"].ToString(); 1302 string Name = study["Study_Heading"] == null ? string.Empty : study["Study_Heading"].ToString(); 1303 string hyperlinkId = study["Read_More_Button"] == null ? String.Empty : study["Read_More_Button"].ToString(); 1304 string hyperlinkText = string.Empty; 1305 string Url = "Default.aspx?ID=" + pageId + "&itemId=Case_Study:" + studyId; 1306 1307 1308 // string sb_trim_Original = System.Text.RegularExpressions.Regex.Replace(Name, @"[., ?\/#!$%\^&\*;:{}=\-_`~()]", "-").ToLower(); 1309 //string sb_trim = System.Text.RegularExpressions.Regex.Replace(Name, @"[., ?\/#!$%\^&\*;:{}=\-_`~]", "-").ToLower(); 1310 1311 //string Url = hyperLink + "/" + sb_trim; 1312 1313 //if (latinCharacters) 1314 //{ 1315 // Url = HagsWeb.Library.Utilities.DWUtilities.NormalizeLatinCharacters(Url); 1316 //} 1317 1318 //string Url = hyperLink + "/" + sb_trim; 1319 string DateCreated = study["Study_Created_Date"] == null ? string.Empty : study["Study_Created_Date"].ToString(); 1320 string Description = study["Study_Content"] == null ? string.Empty : study["Study_Content"].ToString(); 1321 string StudyImages = study["Images"] == null ? string.Empty : study["Images"].ToString(); 1322 Item studyImage = null; 1323 1324 if (!string.IsNullOrEmpty(StudyImages)) 1325 { 1326 studyImage = HagsWeb.Library.Methods.Items.ItemTypeMethods.GetItemImages(study["Images"].ToString(), 1).FirstOrDefault(); 1327 } 1328 1329 1330 <div class="l-group-content col-xs-6 col-ms-4 col-sm-3"> 1331 1332 <div class="m-attractor"> 1333 1334 <div class="m-attractor-visual"> 1335 1336 @if (studyImage == null) 1337 { 1338 <a href="@Url"><img src="/Files/Templates/Designs/HagsCore/res/img/image-not-found.png" class="img-responsive" /></a> 1339 } 1340 else 1341 { 1342 <a href="@Url"><img src='@studyImage["Image"].ToString()' class="img-responsive"></a> 1343 } 1344 1345 1346 @*<img src="/Admin/Public/GetImage.ashx?width=1920&Compression=75&image=@image">*@ 1347 </div> 1348 1349 <div class="m-attractor-info m-attractor-info-product"> 1350 @if (!String.IsNullOrEmpty(Name)) 1351 { 1352 <h3 class="m-theme-after-yellow m-theme-border-yellow"><a href="@Url">@Name</a></h3> 1353 } 1354 @if (!String.IsNullOrEmpty(Description)) 1355 { 1356 <p>@Description</p> 1357 } 1358 1359 @if (!String.IsNullOrEmpty(DateCreated)) 1360 { 1361 <p>@DateCreated</p> 1362 } 1363 1364 @if (!String.IsNullOrEmpty(Url)) 1365 { 1366 <a class="m-btn-xs-more btn btn-default btn-xs text-uppercase" href="@Url" role="button">@Translate("CaseStudyDetails", "Case Study Details")</a> 1367 } 1368 1369 1370 </div> <!-- attractor-info --> 1371 @*<div class="m-attractor-options"> 1372 1373 <ul class="m-icon-links list-unstyled"> 1374 <li><a href="#" class="clearfix"><img src="/Files/Templates/Designs/HagsCore/res/img/icons/plus.svg" data-nosvg="/Files/Templates/Designs/HagsCore/res/img/icons/plus.png" class="m-icon pull-left"><span>Add to my collection</span></a></li> 1375 </ul> 1376 1377 </div>*@ <!-- m-attractor-options --> 1378 1379 </div> <!-- attractor --> 1380 1381 </div> 1382 } 1383 } 1384 1385 </div> 1386 1387 <div class="text-center all-case-studies"> 1388 1389 @if (!String.IsNullOrEmpty(paraContent)) 1390 { 1391 @paraContent 1392 } 1393 1394 @if (!String.IsNullOrEmpty(hyperLink)) 1395 { 1396 <a class="m-btn-xs-more btn btn-default btn-xs text-uppercase" href="@hyperLink" role="button">@Translate("ViewAllCaseStudies", "View all our case studies")</a> 1397 } 1398 1399 </div> 1400 1401 @*<div class="m-search-advanced-buttons text-center"> 1402 <a class="m-btn-xs-more btn btn-default btn-xs text-uppercase" href="@hyperLink" role="button">@Translate("ViewAllCaseStudies", "View all our case studies")</a> 1403 </div>*@ 1404 1405 @*</div>*@ 1406 1407 <div class="text-center"> 1408 <a href="#inspirationfinder" class="m-search-advanced-close"><img src="/Files/Templates/Designs/HagsCore/res/img/buttons/search-advanced-close.svg" data-nosvg="/Files/Templates/Designs/HagsCore/res/img/buttons/search-advanced-close.png" width="112" alt="Search Advanced Close"></a> 1409 </div> 1410 </div> 1411 1412 </div> 1413 </div> 1414 1415 <div id="NoResults" style="display:none;">Sorry there are currently no items that match your search criteria. Please refine your search using the options above.</div> 1416 1417 </div> 1418 </div> 1419 1420 <div style="margin-top:50px; display:none;" id="SearchResults">@Translate("YourResults", "YourResults") **Search Results here**</div> 1421 1422 1423 </div> 1424 1425 @Scripts.Render("~/bundle/AssetSearch") 1426 1427 @if (areaLanguage != "en") 1428 { 1429 // non english validation messages 1430 <script src="/Files/Templates/Designs/HagsCore/script/source/libraries/validation/localization/@validationMessages"></script> 1431 } 1432