Error compiling template "Designs/TTonlineNew/_parsed/Page.parsed.cshtml"
Line 2265: The name 'termeniSiContitiiPageUrl' does not exist in the current context
Line 2356: The variable 'countryCode' is assigned but its value is never used

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 using System; 13 using System.Collections.Generic; 14 using System.Linq; 15 16 #line 599 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 17 using Dynamicweb.Rendering; 18 19 #line default 20 #line hidden 21 22 #line 600 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 23 using Dynamicweb.Content; 24 25 #line default 26 #line hidden 27 28 #line 22 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 29 using System.Text.RegularExpressions; 30 31 #line default 32 #line hidden 33 34 #line 5 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 35 using System.Web.UI.HtmlControls; 36 37 #line default 38 #line hidden 39 40 #line 601 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 41 using BrandFusion.Dw.eCommerce; 42 43 #line default 44 #line hidden 45 46 #line 602 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 47 using Dynamicweb.Ecommerce.Products; 48 49 #line default 50 #line hidden 51 52 #line 821 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 53 using Dna.ImageProcessor; 54 55 #line default 56 #line hidden 57 58 #line 822 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 59 using Dynamicweb.Frontend.Devices; 60 61 #line default 62 #line hidden 63 64 #line 967 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 65 using System.Web; 66 67 #line default 68 #line hidden 69 70 71 public class RazorEngine_1d430c1c71824c56a2cb1eae04596121 : RazorTemplateBase<RazorTemplateModel<Template>> { 72 73 #line hidden 74 75 #line 24 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 76 public RazorEngine.Templating.TemplateWriter OgMeta(string designName) 77 { 78 #line default 79 #line hidden 80 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 81 82 #line 25 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 83 84 if (string.IsNullOrEmpty(System.Web.HttpContext.Current.Request.Params["ProductID"])) 85 { 86 87 88 #line default 89 #line hidden 90 91 #line 28 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 92 WriteTo(__razor_helper_writer, SnippetStart("OGMeta")); 93 94 95 #line default 96 #line hidden 97 WriteLiteralTo(__razor_helper_writer, "<meta"); 98 99 WriteLiteralTo(__razor_helper_writer, " property=\"og:title\""); 100 101 WriteAttributeTo(__razor_helper_writer, "content", Tuple.Create(" content=\'", 1033), Tuple.Create("\'", 1062) 102 103 #line 28 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 104 , Tuple.Create(Tuple.Create("", 1043), Tuple.Create<System.Object, System.Int32>(GetString("Title") 105 106 #line default 107 #line hidden 108 , 1043), false) 109 ); 110 111 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 112 113 114 #line 29 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 115 116 117 #line default 118 #line hidden 119 120 #line 29 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 121 122 123 124 #line default 125 #line hidden 126 WriteLiteralTo(__razor_helper_writer, " <meta"); 127 128 WriteLiteralTo(__razor_helper_writer, " property=\"og:site_name\""); 129 130 WriteAttributeTo(__razor_helper_writer, "content", Tuple.Create(" content=\'", 1359), Tuple.Create("\'", 1388) 131 132 #line 30 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 133 , Tuple.Create(Tuple.Create("", 1369), Tuple.Create<System.Object, System.Int32>(Pageview.Area.Name 134 135 #line default 136 #line hidden 137 , 1369), false) 138 ); 139 140 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 141 142 WriteLiteralTo(__razor_helper_writer, " <meta"); 143 144 WriteLiteralTo(__razor_helper_writer, " property=\"og:url\""); 145 146 WriteAttributeTo(__razor_helper_writer, "content", Tuple.Create(" content=\'", 1423), Tuple.Create("\'", 1657) 147 148 #line 31 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 149 , Tuple.Create(Tuple.Create("", 1433), Tuple.Create<System.Object, System.Int32>(Pageview.GlobalTags.GetTagByName("Global:Request.Scheme").Value.ToString() 150 151 #line default 152 #line hidden 153 , 1433), false) 154 , Tuple.Create(Tuple.Create("", 1508), Tuple.Create("://", 1508), true) 155 156 #line 31 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 157 , Tuple.Create(Tuple.Create("", 1511), Tuple.Create<System.Object, System.Int32>(Pageview.GlobalTags.GetTagByName("Global:Request.Host").Value.ToString() 158 159 #line default 160 #line hidden 161 , 1511), false) 162 163 #line 31 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 164 , Tuple.Create(Tuple.Create("", 1584), Tuple.Create<System.Object, System.Int32>(Pageview.GlobalTags.GetTagByName("Global:Pageview.Url").Value.ToString() 165 166 #line default 167 #line hidden 168 , 1584), false) 169 ); 170 171 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 172 173 WriteLiteralTo(__razor_helper_writer, " <meta"); 174 175 WriteLiteralTo(__razor_helper_writer, " property=\"og:description\""); 176 177 WriteAttributeTo(__razor_helper_writer, "content", Tuple.Create(" content=\'", 1700), Tuple.Create("\'", 1751) 178 179 #line 32 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 180 , Tuple.Create(Tuple.Create("", 1710), Tuple.Create<System.Object, System.Int32>(StripHtml(GetString("Meta.Description")) 181 182 #line default 183 #line hidden 184 , 1710), false) 185 ); 186 187 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 188 189 WriteLiteralTo(__razor_helper_writer, " <meta"); 190 191 WriteLiteralTo(__razor_helper_writer, " property=\"og:type\""); 192 193 WriteLiteralTo(__razor_helper_writer, " content=\"article\""); 194 195 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 196 197 WriteLiteralTo(__razor_helper_writer, " <meta"); 198 199 WriteLiteralTo(__razor_helper_writer, " property=\"og:locale\""); 200 201 WriteAttributeTo(__razor_helper_writer, "content", Tuple.Create(" content=\'", 1842), Tuple.Create("\'", 1944) 202 203 #line 34 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 204 , Tuple.Create(Tuple.Create("", 1852), Tuple.Create<System.Object, System.Int32>(Pageview.GlobalTags.GetTagByName("Global:Area.LongLang").Value.ToString().Replace("-", "_") 205 206 #line default 207 #line hidden 208 , 1852), false) 209 ); 210 211 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 212 213 214 #line 35 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 215 216 217 #line default 218 #line hidden 219 220 #line 35 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 221 WriteTo(__razor_helper_writer, SnippetEnd("OGMeta")); 222 223 224 #line default 225 #line hidden 226 227 #line 35 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 228 229 } 230 231 232 #line default 233 #line hidden 234 }); 235 236 #line 37 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 237 } 238 #line default 239 #line hidden 240 241 242 #line 38 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 243 public RazorEngine.Templating.TemplateWriter HtmlHead(string designName) 244 { 245 #line default 246 #line hidden 247 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 248 249 #line 39 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 250 251 string designFolder = GetString("Template:DesignBaseUrl"); 252 string robots = ""; 253 string ipCountry = "RO";//Dna.IP.Frontend.GetCountryCode(); 254 string countryCodeModule = !string.IsNullOrEmpty(ipCountry) ? ipCountry : "RO"; 255 string userCountryCode = (Pageview.User != null && !string.IsNullOrEmpty(Pageview.User.Country)) ? Pageview.User.Country : ipCountry; 256 string userState = Pageview.User != null ? Pageview.User.State : string.Empty; 257 string userAccountsNumber = (System.Web.HttpContext.Current.Session["AccountsNumber"] ?? "").ToString(); 258 robots = (GetBoolean("Item.Area.DemoBanner") || GetBoolean("Item.Area.NoIndex")) ? CommaSplittedString(robots, "noindex") : ""; 259 robots = (GetBoolean("Item.Area.DemoBanner") || GetBoolean("Item.Area.NoFollow")) ? CommaSplittedString(robots, "nofollow") : ""; 260 261 262 263 #line default 264 #line hidden 265 WriteLiteralTo(__razor_helper_writer, " <head>\r\n <title>"); 266 267 268 #line 51 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 269 WriteTo(__razor_helper_writer, GetValue("Title")); 270 271 272 #line default 273 #line hidden 274 WriteLiteralTo(__razor_helper_writer, "</title>\r\n <meta"); 275 276 WriteLiteralTo(__razor_helper_writer, " http-equiv=\"content-type\""); 277 278 WriteLiteralTo(__razor_helper_writer, " content=\"text/html; charset=utf-8\""); 279 280 WriteLiteralTo(__razor_helper_writer, ">\r\n <meta"); 281 282 WriteLiteralTo(__razor_helper_writer, " name=\"viewport\""); 283 284 WriteLiteralTo(__razor_helper_writer, " content=\"initial-scale=1.0, width=device-width, user-scalable=no\""); 285 286 WriteLiteralTo(__razor_helper_writer, ">\r\n <meta"); 287 288 WriteLiteralTo(__razor_helper_writer, " http-equiv=\"X-UA-Compatible\""); 289 290 WriteLiteralTo(__razor_helper_writer, " content=\"IE=edge\""); 291 292 WriteLiteralTo(__razor_helper_writer, ">\r\n <meta"); 293 294 WriteLiteralTo(__razor_helper_writer, " name=\"SKYPE_TOOLBAR\""); 295 296 WriteLiteralTo(__razor_helper_writer, " content=\"SKYPE_TOOLBAR_PARSER_COMPATIBLE\""); 297 298 WriteLiteralTo(__razor_helper_writer, ">\r\n\r\n <link"); 299 300 WriteLiteralTo(__razor_helper_writer, " rel=\"apple-touch-icon-precomposed\""); 301 302 WriteLiteralTo(__razor_helper_writer, " sizes=\"57x57\""); 303 304 WriteAttributeTo(__razor_helper_writer, "href", Tuple.Create(" href=\"", 3261), Tuple.Create("\"", 3316) 305 306 #line 57 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 307 , Tuple.Create(Tuple.Create("", 3268), Tuple.Create<System.Object, System.Int32>(designFolder 308 309 #line default 310 #line hidden 311 , 3268), false) 312 , Tuple.Create(Tuple.Create("", 3283), Tuple.Create("images/apple-touch-icon-57x57.png", 3283), true) 313 ); 314 315 WriteLiteralTo(__razor_helper_writer, ">\r\n <link"); 316 317 WriteLiteralTo(__razor_helper_writer, " rel=\"apple-touch-icon-precomposed\""); 318 319 WriteLiteralTo(__razor_helper_writer, " sizes=\"114x114\""); 320 321 WriteAttributeTo(__razor_helper_writer, "href", Tuple.Create(" href=\"", 3380), Tuple.Create("\"", 3437) 322 323 #line 58 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 324 , Tuple.Create(Tuple.Create("", 3387), Tuple.Create<System.Object, System.Int32>(designFolder 325 326 #line default 327 #line hidden 328 , 3387), false) 329 , Tuple.Create(Tuple.Create("", 3402), Tuple.Create("images/apple-touch-icon-114x114.png", 3402), true) 330 ); 331 332 WriteLiteralTo(__razor_helper_writer, ">\r\n <link"); 333 334 WriteLiteralTo(__razor_helper_writer, " rel=\"apple-touch-icon-precomposed\""); 335 336 WriteLiteralTo(__razor_helper_writer, " sizes=\"72x72\""); 337 338 WriteAttributeTo(__razor_helper_writer, "href", Tuple.Create(" href=\"", 3499), Tuple.Create("\"", 3554) 339 340 #line 59 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 341 , Tuple.Create(Tuple.Create("", 3506), Tuple.Create<System.Object, System.Int32>(designFolder 342 343 #line default 344 #line hidden 345 , 3506), false) 346 , Tuple.Create(Tuple.Create("", 3521), Tuple.Create("images/apple-touch-icon-72x72.png", 3521), true) 347 ); 348 349 WriteLiteralTo(__razor_helper_writer, ">\r\n <link"); 350 351 WriteLiteralTo(__razor_helper_writer, " rel=\"apple-touch-icon-precomposed\""); 352 353 WriteLiteralTo(__razor_helper_writer, " sizes=\"144x144\""); 354 355 WriteAttributeTo(__razor_helper_writer, "href", Tuple.Create(" href=\"", 3618), Tuple.Create("\"", 3675) 356 357 #line 60 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 358 , Tuple.Create(Tuple.Create("", 3625), Tuple.Create<System.Object, System.Int32>(designFolder 359 360 #line default 361 #line hidden 362 , 3625), false) 363 , Tuple.Create(Tuple.Create("", 3640), Tuple.Create("images/apple-touch-icon-144x144.png", 3640), true) 364 ); 365 366 WriteLiteralTo(__razor_helper_writer, ">\r\n <link"); 367 368 WriteLiteralTo(__razor_helper_writer, " rel=\"apple-touch-icon-precomposed\""); 369 370 WriteLiteralTo(__razor_helper_writer, " sizes=\"60x60\""); 371 372 WriteAttributeTo(__razor_helper_writer, "href", Tuple.Create(" href=\"", 3737), Tuple.Create("\"", 3792) 373 374 #line 61 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 375 , Tuple.Create(Tuple.Create("", 3744), Tuple.Create<System.Object, System.Int32>(designFolder 376 377 #line default 378 #line hidden 379 , 3744), false) 380 , Tuple.Create(Tuple.Create("", 3759), Tuple.Create("images/apple-touch-icon-60x60.png", 3759), true) 381 ); 382 383 WriteLiteralTo(__razor_helper_writer, ">\r\n <link"); 384 385 WriteLiteralTo(__razor_helper_writer, " rel=\"apple-touch-icon-precomposed\""); 386 387 WriteLiteralTo(__razor_helper_writer, " sizes=\"120x120\""); 388 389 WriteAttributeTo(__razor_helper_writer, "href", Tuple.Create(" href=\"", 3856), Tuple.Create("\"", 3913) 390 391 #line 62 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 392 , Tuple.Create(Tuple.Create("", 3863), Tuple.Create<System.Object, System.Int32>(designFolder 393 394 #line default 395 #line hidden 396 , 3863), false) 397 , Tuple.Create(Tuple.Create("", 3878), Tuple.Create("images/apple-touch-icon-120x120.png", 3878), true) 398 ); 399 400 WriteLiteralTo(__razor_helper_writer, ">\r\n <link"); 401 402 WriteLiteralTo(__razor_helper_writer, " rel=\"apple-touch-icon-precomposed\""); 403 404 WriteLiteralTo(__razor_helper_writer, " sizes=\"76x76\""); 405 406 WriteAttributeTo(__razor_helper_writer, "href", Tuple.Create(" href=\"", 3975), Tuple.Create("\"", 4030) 407 408 #line 63 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 409 , Tuple.Create(Tuple.Create("", 3982), Tuple.Create<System.Object, System.Int32>(designFolder 410 411 #line default 412 #line hidden 413 , 3982), false) 414 , Tuple.Create(Tuple.Create("", 3997), Tuple.Create("images/apple-touch-icon-76x76.png", 3997), true) 415 ); 416 417 WriteLiteralTo(__razor_helper_writer, ">\r\n <link"); 418 419 WriteLiteralTo(__razor_helper_writer, " rel=\"apple-touch-icon-precomposed\""); 420 421 WriteLiteralTo(__razor_helper_writer, " sizes=\"152x152\""); 422 423 WriteAttributeTo(__razor_helper_writer, "href", Tuple.Create(" href=\"", 4094), Tuple.Create("\"", 4151) 424 425 #line 64 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 426 , Tuple.Create(Tuple.Create("", 4101), Tuple.Create<System.Object, System.Int32>(designFolder 427 428 #line default 429 #line hidden 430 , 4101), false) 431 , Tuple.Create(Tuple.Create("", 4116), Tuple.Create("images/apple-touch-icon-152x152.png", 4116), true) 432 ); 433 434 WriteLiteralTo(__razor_helper_writer, ">\r\n <link"); 435 436 WriteLiteralTo(__razor_helper_writer, " rel=\"icon\""); 437 438 WriteLiteralTo(__razor_helper_writer, " type=\"image/png\""); 439 440 WriteAttributeTo(__razor_helper_writer, "href", Tuple.Create(" href=\"", 4192), Tuple.Create("\"", 4240) 441 442 #line 65 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 443 , Tuple.Create(Tuple.Create("", 4199), Tuple.Create<System.Object, System.Int32>(designFolder 444 445 #line default 446 #line hidden 447 , 4199), false) 448 , Tuple.Create(Tuple.Create("", 4214), Tuple.Create("images/favicon-196x196.png", 4214), true) 449 ); 450 451 WriteLiteralTo(__razor_helper_writer, " sizes=\"196x196\""); 452 453 WriteLiteralTo(__razor_helper_writer, ">\r\n <link"); 454 455 WriteLiteralTo(__razor_helper_writer, " rel=\"icon\""); 456 457 WriteLiteralTo(__razor_helper_writer, " type=\"image/png\""); 458 459 WriteAttributeTo(__razor_helper_writer, "href", Tuple.Create(" href=\"", 4297), Tuple.Create("\"", 4343) 460 461 #line 66 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 462 , Tuple.Create(Tuple.Create("", 4304), Tuple.Create<System.Object, System.Int32>(designFolder 463 464 #line default 465 #line hidden 466 , 4304), false) 467 , Tuple.Create(Tuple.Create("", 4319), Tuple.Create("images/favicon-96x96.png", 4319), true) 468 ); 469 470 WriteLiteralTo(__razor_helper_writer, " sizes=\"96x96\""); 471 472 WriteLiteralTo(__razor_helper_writer, ">\r\n <link"); 473 474 WriteLiteralTo(__razor_helper_writer, " rel=\"icon\""); 475 476 WriteLiteralTo(__razor_helper_writer, " type=\"image/png\""); 477 478 WriteAttributeTo(__razor_helper_writer, "href", Tuple.Create(" href=\"", 4398), Tuple.Create("\"", 4444) 479 480 #line 67 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 481 , Tuple.Create(Tuple.Create("", 4405), Tuple.Create<System.Object, System.Int32>(designFolder 482 483 #line default 484 #line hidden 485 , 4405), false) 486 , Tuple.Create(Tuple.Create("", 4420), Tuple.Create("images/favicon-32x32.png", 4420), true) 487 ); 488 489 WriteLiteralTo(__razor_helper_writer, " sizes=\"32x32\""); 490 491 WriteLiteralTo(__razor_helper_writer, ">\r\n <link"); 492 493 WriteLiteralTo(__razor_helper_writer, " rel=\"icon\""); 494 495 WriteLiteralTo(__razor_helper_writer, " type=\"image/png\""); 496 497 WriteAttributeTo(__razor_helper_writer, "href", Tuple.Create(" href=\"", 4499), Tuple.Create("\"", 4545) 498 499 #line 68 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 500 , Tuple.Create(Tuple.Create("", 4506), Tuple.Create<System.Object, System.Int32>(designFolder 501 502 #line default 503 #line hidden 504 , 4506), false) 505 , Tuple.Create(Tuple.Create("", 4521), Tuple.Create("images/favicon-16x16.png", 4521), true) 506 ); 507 508 WriteLiteralTo(__razor_helper_writer, " sizes=\"16x16\""); 509 510 WriteLiteralTo(__razor_helper_writer, ">\r\n <link"); 511 512 WriteLiteralTo(__razor_helper_writer, " rel=\"icon\""); 513 514 WriteLiteralTo(__razor_helper_writer, " type=\"image/png\""); 515 516 WriteAttributeTo(__razor_helper_writer, "href", Tuple.Create(" href=\"", 4600), Tuple.Create("\"", 4644) 517 518 #line 69 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 519 , Tuple.Create(Tuple.Create("", 4607), Tuple.Create<System.Object, System.Int32>(designFolder 520 521 #line default 522 #line hidden 523 , 4607), false) 524 , Tuple.Create(Tuple.Create("", 4622), Tuple.Create("images/favicon-128.png", 4622), true) 525 ); 526 527 WriteLiteralTo(__razor_helper_writer, " sizes=\"128x128\""); 528 529 WriteLiteralTo(__razor_helper_writer, ">\r\n <meta"); 530 531 WriteLiteralTo(__razor_helper_writer, " name=\"application-name\""); 532 533 WriteLiteralTo(__razor_helper_writer, " content=\"&nbsp;\""); 534 535 WriteLiteralTo(__razor_helper_writer, ">\r\n <meta"); 536 537 WriteLiteralTo(__razor_helper_writer, " name=\"msapplication-TileColor\""); 538 539 WriteLiteralTo(__razor_helper_writer, " content=\"#FFFFFF\""); 540 541 WriteLiteralTo(__razor_helper_writer, ">\r\n <meta"); 542 543 WriteLiteralTo(__razor_helper_writer, " name=\"msapplication-TileImage\""); 544 545 WriteAttributeTo(__razor_helper_writer, "content", Tuple.Create(" content=\"", 4818), Tuple.Create("\"", 4868) 546 547 #line 72 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 548 , Tuple.Create(Tuple.Create("", 4828), Tuple.Create<System.Object, System.Int32>(designFolder 549 550 #line default 551 #line hidden 552 , 4828), false) 553 , Tuple.Create(Tuple.Create("", 4843), Tuple.Create("images/mstile-144x144.png", 4843), true) 554 ); 555 556 WriteLiteralTo(__razor_helper_writer, ">\r\n <meta"); 557 558 WriteLiteralTo(__razor_helper_writer, " name=\"msapplication-square70x70logo\""); 559 560 WriteAttributeTo(__razor_helper_writer, "content", Tuple.Create(" content=\"", 4918), Tuple.Create("\"", 4966) 561 562 #line 73 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 563 , Tuple.Create(Tuple.Create("", 4928), Tuple.Create<System.Object, System.Int32>(designFolder 564 565 #line default 566 #line hidden 567 , 4928), false) 568 , Tuple.Create(Tuple.Create("", 4943), Tuple.Create("images/mstile-70x70.png", 4943), true) 569 ); 570 571 WriteLiteralTo(__razor_helper_writer, ">\r\n <meta"); 572 573 WriteLiteralTo(__razor_helper_writer, " name=\"msapplication-square150x150logo\""); 574 575 WriteAttributeTo(__razor_helper_writer, "content", Tuple.Create(" content=\"", 5018), Tuple.Create("\"", 5068) 576 577 #line 74 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 578 , Tuple.Create(Tuple.Create("", 5028), Tuple.Create<System.Object, System.Int32>(designFolder 579 580 #line default 581 #line hidden 582 , 5028), false) 583 , Tuple.Create(Tuple.Create("", 5043), Tuple.Create("images/mstile-150x150.png", 5043), true) 584 ); 585 586 WriteLiteralTo(__razor_helper_writer, ">\r\n <meta"); 587 588 WriteLiteralTo(__razor_helper_writer, " name=\"msapplication-wide310x150logo\""); 589 590 WriteAttributeTo(__razor_helper_writer, "content", Tuple.Create(" content=\"", 5118), Tuple.Create("\"", 5168) 591 592 #line 75 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 593 , Tuple.Create(Tuple.Create("", 5128), Tuple.Create<System.Object, System.Int32>(designFolder 594 595 #line default 596 #line hidden 597 , 5128), false) 598 , Tuple.Create(Tuple.Create("", 5143), Tuple.Create("images/mstile-310x150.png", 5143), true) 599 ); 600 601 WriteLiteralTo(__razor_helper_writer, ">\r\n <meta"); 602 603 WriteLiteralTo(__razor_helper_writer, " name=\"msapplication-square310x310logo\""); 604 605 WriteAttributeTo(__razor_helper_writer, "content", Tuple.Create(" content=\"", 5220), Tuple.Create("\"", 5270) 606 607 #line 76 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 608 , Tuple.Create(Tuple.Create("", 5230), Tuple.Create<System.Object, System.Int32>(designFolder 609 610 #line default 611 #line hidden 612 , 5230), false) 613 , Tuple.Create(Tuple.Create("", 5245), Tuple.Create("images/mstile-310x310.png", 5245), true) 614 ); 615 616 WriteLiteralTo(__razor_helper_writer, ">\r\n\r\n"); 617 618 619 #line 78 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 620 621 622 #line default 623 #line hidden 624 625 #line 78 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 626 if (!string.IsNullOrEmpty(robots)) 627 { 628 629 630 #line default 631 #line hidden 632 WriteLiteralTo(__razor_helper_writer, " <meta"); 633 634 WriteLiteralTo(__razor_helper_writer, " name=\"robots\""); 635 636 WriteAttributeTo(__razor_helper_writer, "content", Tuple.Create(" content=\"", 5349), Tuple.Create("\"", 5366) 637 638 #line 80 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 639 , Tuple.Create(Tuple.Create("", 5359), Tuple.Create<System.Object, System.Int32>(robots 640 641 #line default 642 #line hidden 643 , 5359), false) 644 ); 645 646 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 647 648 649 #line 81 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 650 } 651 652 653 #line default 654 #line hidden 655 WriteLiteralTo(__razor_helper_writer, " "); 656 657 658 #line 82 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 659 WriteTo(__razor_helper_writer, OgMeta(designName)); 660 661 662 #line default 663 #line hidden 664 WriteLiteralTo(__razor_helper_writer, "\r\n"); 665 666 WriteLiteralTo(__razor_helper_writer, " "); 667 668 669 #line 83 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 670 WriteTo(__razor_helper_writer, RenderSnippet("OGMeta")); 671 672 673 #line default 674 #line hidden 675 WriteLiteralTo(__razor_helper_writer, "\r\n"); 676 677 WriteLiteralTo(__razor_helper_writer, " "); 678 679 680 #line 84 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 681 WriteTo(__razor_helper_writer, GetString("MetaTags")); 682 683 684 #line default 685 #line hidden 686 WriteLiteralTo(__razor_helper_writer, "\r\n"); 687 688 WriteLiteralTo(__razor_helper_writer, " "); 689 690 691 #line 85 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 692 WriteTo(__razor_helper_writer, GetString("CopyRightNotice")); 693 694 695 #line default 696 #line hidden 697 WriteLiteralTo(__razor_helper_writer, "\r\n"); 698 699 WriteLiteralTo(__razor_helper_writer, " "); 700 701 702 #line 86 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 703 WriteTo(__razor_helper_writer, GetString("Stylesheets")); 704 705 706 #line default 707 #line hidden 708 WriteLiteralTo(__razor_helper_writer, "\r\n\r\n "); 709 710 WriteLiteralTo(__razor_helper_writer, "\r\n\r\n <!-- Icon Font -->\r\n <link"); 711 712 WriteLiteralTo(__razor_helper_writer, " rel=\"stylesheet\""); 713 714 WriteLiteralTo(__razor_helper_writer, " href=\"https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.cs" + 715 "s\""); 716 717 WriteLiteralTo(__razor_helper_writer, ">\r\n \r\n"); 718 719 720 #line 93 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 721 722 723 #line default 724 #line hidden 725 726 #line 93 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 727 728 var minify = GetBoolean("Item.Area.Minify_CSS_And_JavaScript"); 729 var styleBundle = Dna.Optimizer.Renderer.RenderStyles(string.Format("{0}css", designFolder), minify:minify, recursive : true, virtualPathPrefix : "-main-styles", exclusions: new[] { "exceptions" }); 730 var scriptBundleHeader = Dna.Optimizer.Renderer.RenderScripts(string.Format("{0}js/header", designFolder), minify: minify, recursive : true, virtualPathPrefix : "-main-scripts-header",exclusions: new[] { "exceptions" }); 731 // var scriptBundleFooter = Dna.Optimizer.Renderer.RenderScripts(string.Format("{0}js/footer", designFolder), minify: minify, recursive : true, virtualPathPrefix : "-main-scripts-footer",exclusions: new[] { "exceptions" }); 732 733 734 #line default 735 #line hidden 736 WriteLiteralTo(__razor_helper_writer, "\r\n <link"); 737 738 WriteLiteralTo(__razor_helper_writer, " rel=\"stylesheet\""); 739 740 WriteAttributeTo(__razor_helper_writer, "href", Tuple.Create(" href=\"", 6549), Tuple.Create("\"", 6568) 741 742 #line 99 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 743 , Tuple.Create(Tuple.Create("", 6556), Tuple.Create<System.Object, System.Int32>(styleBundle 744 745 #line default 746 #line hidden 747 , 6556), false) 748 ); 749 750 WriteLiteralTo(__razor_helper_writer, ">\r\n "); 751 752 WriteLiteralTo(__razor_helper_writer, "\r\n <script"); 753 754 WriteAttributeTo(__razor_helper_writer, "src", Tuple.Create(" src=\"", 6689), Tuple.Create("\"", 6714) 755 756 #line 101 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 757 , Tuple.Create(Tuple.Create("", 6695), Tuple.Create<System.Object, System.Int32>(scriptBundleHeader 758 759 #line default 760 #line hidden 761 , 6695), false) 762 ); 763 764 WriteLiteralTo(__razor_helper_writer, "></script>\r\n"); 765 766 WriteLiteralTo(__razor_helper_writer, " "); 767 768 769 #line 102 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 770 WriteTo(__razor_helper_writer, GetString("Javascripts")); 771 772 773 #line default 774 #line hidden 775 WriteLiteralTo(__razor_helper_writer, "\r\n"); 776 777 WriteLiteralTo(__razor_helper_writer, " "); 778 779 780 #line 103 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 781 WriteTo(__razor_helper_writer, RenderSnippet("externalScripts")); 782 783 784 #line default 785 #line hidden 786 WriteLiteralTo(__razor_helper_writer, "\r\n"); 787 788 WriteLiteralTo(__razor_helper_writer, " "); 789 790 791 #line 104 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 792 WriteTo(__razor_helper_writer, SnippetStart("externalScripts")); 793 794 795 #line default 796 #line hidden 797 WriteLiteralTo(__razor_helper_writer, " "); 798 799 800 #line 104 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 801 WriteTo(__razor_helper_writer, SnippetEnd("externalScripts")); 802 803 804 #line default 805 #line hidden 806 WriteLiteralTo(__razor_helper_writer, "\r\n <!--[if lte IE 9]>\r\n <script src=\"//html5shim.googlecode.com/svn/trunk" + 807 "/html5.js\"></script>\r\n <script src=\"//cdnjs.cloudflare.com/ajax/libs/respon" + 808 "d.js/1.1.0/respond.min.js\"></script>\r\n <![endif]-->\r\n <script>\r\n"); 809 810 WriteLiteralTo(__razor_helper_writer, " "); 811 812 813 #line 110 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 814 WriteTo(__razor_helper_writer, RenderSnippet("jsVariables")); 815 816 817 #line default 818 #line hidden 819 WriteLiteralTo(__razor_helper_writer, "\r\n"); 820 821 WriteLiteralTo(__razor_helper_writer, " "); 822 823 824 #line 111 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 825 WriteTo(__razor_helper_writer, SnippetStart("jsVariables")); 826 827 828 #line default 829 #line hidden 830 WriteLiteralTo(__razor_helper_writer, " "); 831 832 833 #line 111 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 834 WriteTo(__razor_helper_writer, SnippetEnd("jsVariables")); 835 836 837 #line default 838 #line hidden 839 WriteLiteralTo(__razor_helper_writer, "\r\n\r\n var obj_pages = {\r\n str_miniCart: \'"); 840 841 842 #line 114 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 843 WriteTo(__razor_helper_writer, Dynamicweb.Frontend.SearchEngineFriendlyURLs.GetFriendlyUrl(GetString("Item.Area.MiniCart"))); 844 845 846 #line default 847 #line hidden 848 WriteLiteralTo(__razor_helper_writer, "\',\r\n str_login: \'"); 849 850 851 #line 115 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 852 WriteTo(__razor_helper_writer, Dynamicweb.Frontend.SearchEngineFriendlyURLs.GetFriendlyUrl(GetString("Item.Area.Login"))); 853 854 855 #line default 856 #line hidden 857 WriteLiteralTo(__razor_helper_writer, "\',\r\n str_globalTranslates: \'"); 858 859 860 #line 116 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 861 WriteTo(__razor_helper_writer, Dynamicweb.Frontend.SearchEngineFriendlyURLs.GetFriendlyUrl(GetString("Item.Area.GlobalTranslates"))); 862 863 864 #line default 865 #line hidden 866 WriteLiteralTo(__razor_helper_writer, "\',\r\n str_contactPopup : \'"); 867 868 869 #line 117 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 870 WriteTo(__razor_helper_writer, Dynamicweb.Frontend.SearchEngineFriendlyURLs.GetFriendlyUrl(GetString("Item.Area.ContactUs_Popup"))); 871 872 873 #line default 874 #line hidden 875 WriteLiteralTo(__razor_helper_writer, "\',\r\n str_cartInformation: \'"); 876 877 878 #line 118 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 879 WriteTo(__razor_helper_writer, Dynamicweb.Frontend.SearchEngineFriendlyURLs.GetFriendlyUrl(GetString("Item.Area.Cart_Information"))); 880 881 882 #line default 883 #line hidden 884 WriteLiteralTo(__razor_helper_writer, "\',\r\n str_typeAhead : \'"); 885 886 887 #line 119 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 888 WriteTo(__razor_helper_writer, Dynamicweb.Frontend.SearchEngineFriendlyURLs.GetFriendlyUrl(GetString("Item.Area.TypeAhead"))); 889 890 891 #line default 892 #line hidden 893 WriteLiteralTo(__razor_helper_writer, "\'\r\n },\r\n obj_user = {\r\n str_country: \'"); 894 895 896 #line 122 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 897 WriteTo(__razor_helper_writer, userCountryCode); 898 899 900 #line default 901 #line hidden 902 WriteLiteralTo(__razor_helper_writer, "\',\r\n str_state: \'"); 903 904 905 #line 123 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 906 WriteTo(__razor_helper_writer, userState); 907 908 909 #line default 910 #line hidden 911 WriteLiteralTo(__razor_helper_writer, "\',\r\n str_accountsNumber:\'"); 912 913 914 #line 124 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 915 WriteTo(__razor_helper_writer, userAccountsNumber); 916 917 918 #line default 919 #line hidden 920 WriteLiteralTo(__razor_helper_writer, "\'\r\n },\r\n obj_settings = {\r\n str_contactTimeout: \'"); 921 922 923 #line 127 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 924 WriteTo(__razor_helper_writer, GetString("Item.Area.Time")); 925 926 927 #line default 928 #line hidden 929 WriteLiteralTo(__razor_helper_writer, "\',\r\n str_cartQty: \'"); 930 931 932 #line 128 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 933 WriteTo(__razor_helper_writer, GetString("Ecom:Order.OrderLines.TotalProductQuantity")); 934 935 936 #line default 937 #line hidden 938 WriteLiteralTo(__razor_helper_writer, "\'\r\n },\r\n obj_translates = {\r\n str_seeAll: \'"); 939 940 941 #line 131 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 942 WriteTo(__razor_helper_writer, Translate("seeAllThe", "See all the")); 943 944 945 #line default 946 #line hidden 947 WriteLiteralTo(__razor_helper_writer, "\',\r\n str_results: \'"); 948 949 950 #line 132 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 951 WriteTo(__razor_helper_writer, Translate("results", "results")); 952 953 954 #line default 955 #line hidden 956 WriteLiteralTo(__razor_helper_writer, "\'\r\n };\r\n $(function () {\r\n"); 957 958 WriteLiteralTo(__razor_helper_writer, " "); 959 960 961 #line 135 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 962 WriteTo(__razor_helper_writer, UserDoesNotExist()); 963 964 965 #line default 966 #line hidden 967 WriteLiteralTo(__razor_helper_writer, "\r\n"); 968 969 WriteLiteralTo(__razor_helper_writer, " "); 970 971 972 #line 136 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 973 WriteTo(__razor_helper_writer, RenderSnippet("jsOnLoadVariables")); 974 975 976 #line default 977 #line hidden 978 WriteLiteralTo(__razor_helper_writer, "\r\n"); 979 980 WriteLiteralTo(__razor_helper_writer, " "); 981 982 983 #line 137 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 984 WriteTo(__razor_helper_writer, SnippetStart("jsOnLoadVariables")); 985 986 987 #line default 988 #line hidden 989 WriteLiteralTo(__razor_helper_writer, " "); 990 991 992 #line 137 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 993 WriteTo(__razor_helper_writer, SnippetEnd("jsOnLoadVariables")); 994 995 996 #line default 997 #line hidden 998 WriteLiteralTo(__razor_helper_writer, "\r\n"); 999 1000 WriteLiteralTo(__razor_helper_writer, " "); 1001 1002 1003 #line 138 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 1004 WriteTo(__razor_helper_writer, RenderSnippet("jsOnLoad")); 1005 1006 1007 #line default 1008 #line hidden 1009 WriteLiteralTo(__razor_helper_writer, "\r\n"); 1010 1011 WriteLiteralTo(__razor_helper_writer, " "); 1012 1013 1014 #line 139 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 1015 WriteTo(__razor_helper_writer, SnippetStart("jsOnLoad")); 1016 1017 1018 #line default 1019 #line hidden 1020 WriteLiteralTo(__razor_helper_writer, " "); 1021 1022 1023 #line 139 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 1024 WriteTo(__razor_helper_writer, SnippetEnd("jsOnLoad")); 1025 1026 1027 #line default 1028 #line hidden 1029 WriteLiteralTo(__razor_helper_writer, "\r\n });\r\n \r\n"); 1030 1031 1032 #line 142 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 1033 1034 1035 #line default 1036 #line hidden 1037 1038 #line 142 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 1039 if(!string.IsNullOrWhiteSpace(GetString("Item.Area.GoogleAnalytics"))) 1040 { 1041 1042 1043 #line default 1044 #line hidden 1045 WriteLiteralTo(__razor_helper_writer, " "); 1046 1047 WriteLiteralTo(__razor_helper_writer, @" 1048 (function (i, s, o, g, r, a, m) { 1049 i['GoogleAnalyticsObject'] = r; i[r] = i[r] || function () { 1050 (i[r].q = i[r].q || []).push(arguments) 1051 }, i[r].l = 1 * new Date(); a = s.createElement(o), 1052 m = s.getElementsByTagName(o)[0]; a.async = 1; a.src = g; m.parentNode.insertBefore(a, m) 1053 })(window, document, 'script', '//www.google-analytics.com/analytics.js', 'ga'); 1054 ga('create', '"); 1055 1056 1057 #line 151 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 1058 WriteTo(__razor_helper_writer, GetString("Item.Area.GoogleAnalytics")); 1059 1060 1061 #line default 1062 #line hidden 1063 WriteLiteralTo(__razor_helper_writer, "\', \'auto\');\r\n ga(\'send\', \'pageview\');\r\n "); 1064 1065 WriteLiteralTo(__razor_helper_writer, "\r\n"); 1066 1067 1068 #line 154 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 1069 } 1070 1071 1072 #line default 1073 #line hidden 1074 WriteLiteralTo(__razor_helper_writer, " "); 1075 1076 1077 #line 155 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 1078 WriteTo(__razor_helper_writer, SnippetStart("eCommerceTracking")); 1079 1080 1081 #line default 1082 #line hidden 1083 1084 #line 155 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 1085 WriteTo(__razor_helper_writer, SnippetEnd("eCommerceTracking")); 1086 1087 1088 #line default 1089 #line hidden 1090 WriteLiteralTo(__razor_helper_writer, "\r\n"); 1091 1092 WriteLiteralTo(__razor_helper_writer, " "); 1093 1094 1095 #line 156 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 1096 WriteTo(__razor_helper_writer, RenderSnippet("eCommerceTracking")); 1097 1098 1099 #line default 1100 #line hidden 1101 WriteLiteralTo(__razor_helper_writer, "\r\n </script>\r\n\r\n <!-- Global site tag (gtag.js) - Google Ads: 970361168" + 1102 " --> \r\n <script"); 1103 1104 WriteLiteralTo(__razor_helper_writer, " async=\"\""); 1105 1106 WriteLiteralTo(__razor_helper_writer, " src=\"https://www.googletagmanager.com/gtag/js?id=AW-970361168\""); 1107 1108 WriteLiteralTo(__razor_helper_writer, @"></script><script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'AW-970361168'); </script> 1109 1110 <!-- Hotjar Tracking Code for https://ttonline.ro --> 1111 <script> 1112 (function(h,o,t,j,a,r){ 1113 h.hj=h.hj||function(){(h.hj.q=h.hj.q||[]).push(arguments)}; 1114 h._hjSettings={hjid:1231893,hjsv:6}; 1115 a=o.getElementsByTagName('head')[0]; 1116 r=o.createElement('script');r.async=1; 1117 r.src=t+h._hjSettings.hjid+j+h._hjSettings.hjsv; 1118 a.appendChild(r); 1119 })(window,document,'https://static.hotjar.com/c/hotjar-','.js?sv='); 1120 </script> 1121 <!-- Global site tag (gtag.js) - Google Ads: 1010029401 --> 1122 <script"); 1123 1124 WriteLiteralTo(__razor_helper_writer, " async=\"\""); 1125 1126 WriteLiteralTo(__razor_helper_writer, " src=\"https://www.googletagmanager.com/gtag/js?id=AW-1010029401\""); 1127 1128 WriteLiteralTo(__razor_helper_writer, "></script>\r\n <script>\r\n window.dataLayer = window.dataLayer || [];\r\n " + 1129 " function gtag(){dataLayer.push(arguments);}\r\n gtag(\'js\', new Date());\r\n\r\n " + 1130 " gtag(\'config\', \'AW-1010029401\');\r\n </script>\r\n\r\n </head>\r\n"); 1131 1132 1133 #line 184 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 1134 1135 1136 #line default 1137 #line hidden 1138 }); 1139 1140 #line 184 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 1141 } 1142 #line default 1143 #line hidden 1144 1145 1146 #line 185 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 1147 public RazorEngine.Templating.TemplateWriter UserDoesNotExist() 1148 { 1149 #line default 1150 #line hidden 1151 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 1152 1153 #line 186 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 1154 1155 if (Dynamicweb.Environment.ExecutingContext.IsFrontEnd() && !Dynamicweb.Security.UserManagement.User.IsExtranetUserLoggedIn()) 1156 { 1157 if (!string.IsNullOrEmpty(System.Web.HttpContext.Current.Request.Params["Password"]) && !string.IsNullOrEmpty(System.Web.HttpContext.Current.Request.Params["Username"])) 1158 { 1159 1160 1161 #line default 1162 #line hidden 1163 1164 #line 191 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 1165 WriteTo(__razor_helper_writer, SnippetStart("jsOnLoad")); 1166 1167 1168 #line default 1169 #line hidden 1170 1171 #line 191 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 1172 1173 1174 1175 #line default 1176 #line hidden 1177 WriteLiteralTo(__razor_helper_writer, " "); 1178 1179 WriteLiteralTo(__razor_helper_writer, "var showLogin = true;\r\n"); 1180 1181 WriteLiteralTo(__razor_helper_writer, " "); 1182 1183 WriteLiteralTo(__razor_helper_writer, "alert(\""); 1184 1185 1186 #line 193 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 1187 WriteTo(__razor_helper_writer, Translate("yourUserNameOrPasswordDidntMatch", "Your user name or password didn't match. Please try again.")); 1188 1189 1190 #line default 1191 #line hidden 1192 WriteLiteralTo(__razor_helper_writer, "\");\r\n"); 1193 1194 1195 #line 194 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 1196 1197 1198 #line default 1199 #line hidden 1200 1201 #line 194 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 1202 WriteTo(__razor_helper_writer, SnippetEnd("jsOnLoad")); 1203 1204 1205 #line default 1206 #line hidden 1207 1208 #line 194 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 1209 1210 } 1211 } 1212 1213 1214 #line default 1215 #line hidden 1216 }); 1217 1218 #line 197 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 1219 } 1220 #line default 1221 #line hidden 1222 1223 1224 #line 198 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 1225 public RazorEngine.Templating.TemplateWriter Logo(string cssclass, string companyName, string fileName) 1226 { 1227 #line default 1228 #line hidden 1229 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 1230 1231 #line 199 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 1232 1233 if (!string.IsNullOrEmpty(System.Web.HttpContext.Current.Request.Params["print"])) 1234 { 1235 1236 1237 #line default 1238 #line hidden 1239 WriteLiteralTo(__razor_helper_writer, " <div"); 1240 1241 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 11544), Tuple.Create("\"", 11561) 1242 1243 #line 202 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 1244 , Tuple.Create(Tuple.Create("", 11552), Tuple.Create<System.Object, System.Int32>(cssclass 1245 1246 #line default 1247 #line hidden 1248 , 11552), false) 1249 ); 1250 1251 WriteLiteralTo(__razor_helper_writer, ">\r\n <a"); 1252 1253 WriteLiteralTo(__razor_helper_writer, " href=\"/\""); 1254 1255 WriteLiteralTo(__razor_helper_writer, ">\r\n <img"); 1256 1257 WriteLiteralTo(__razor_helper_writer, " class=\"img-responsive hidden-print\""); 1258 1259 WriteAttributeTo(__razor_helper_writer, "src", Tuple.Create(" src=\"", 11633), Tuple.Create("\"", 11694) 1260 , Tuple.Create(Tuple.Create("", 11639), Tuple.Create("/Files/Templates/Designs/TTonlineNew/images/", 11639), true) 1261 1262 #line 204 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 1263 , Tuple.Create(Tuple.Create("", 11683), Tuple.Create<System.Object, System.Int32>(fileName 1264 1265 #line default 1266 #line hidden 1267 , 11683), false) 1268 ); 1269 1270 WriteAttributeTo(__razor_helper_writer, "alt", Tuple.Create(" alt=\"", 11695), Tuple.Create("\"", 11713) 1271 1272 #line 204 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 1273 , Tuple.Create(Tuple.Create("", 11701), Tuple.Create<System.Object, System.Int32>(companyName 1274 1275 #line default 1276 #line hidden 1277 , 11701), false) 1278 ); 1279 1280 WriteAttributeTo(__razor_helper_writer, "title", Tuple.Create(" title=\"", 11714), Tuple.Create("\"", 11734) 1281 1282 #line 204 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 1283 , Tuple.Create(Tuple.Create("", 11722), Tuple.Create<System.Object, System.Int32>(companyName 1284 1285 #line default 1286 #line hidden 1287 , 11722), false) 1288 ); 1289 1290 WriteLiteralTo(__razor_helper_writer, ">\r\n <img"); 1291 1292 WriteLiteralTo(__razor_helper_writer, " class=\"img-responsive visible-print\""); 1293 1294 WriteLiteralTo(__razor_helper_writer, " src=\"/Files/Images/logo_TT.png\""); 1295 1296 WriteAttributeTo(__razor_helper_writer, "alt", Tuple.Create(" alt=\"", 11819), Tuple.Create("\"", 11837) 1297 1298 #line 205 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 1299 , Tuple.Create(Tuple.Create("", 11825), Tuple.Create<System.Object, System.Int32>(companyName 1300 1301 #line default 1302 #line hidden 1303 , 11825), false) 1304 ); 1305 1306 WriteAttributeTo(__razor_helper_writer, "title", Tuple.Create(" title=\"", 11838), Tuple.Create("\"", 11858) 1307 1308 #line 205 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 1309 , Tuple.Create(Tuple.Create("", 11846), Tuple.Create<System.Object, System.Int32>(companyName 1310 1311 #line default 1312 #line hidden 1313 , 11846), false) 1314 ); 1315 1316 WriteLiteralTo(__razor_helper_writer, ">\r\n </a>\r\n </div>\r\n"); 1317 1318 1319 #line 208 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 1320 } 1321 else 1322 { 1323 1324 1325 #line default 1326 #line hidden 1327 WriteLiteralTo(__razor_helper_writer, " <div"); 1328 1329 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 11912), Tuple.Create("\"", 11929) 1330 1331 #line 211 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 1332 , Tuple.Create(Tuple.Create("", 11920), Tuple.Create<System.Object, System.Int32>(cssclass 1333 1334 #line default 1335 #line hidden 1336 , 11920), false) 1337 ); 1338 1339 WriteLiteralTo(__razor_helper_writer, ">\r\n <a"); 1340 1341 WriteLiteralTo(__razor_helper_writer, " href=\"/\""); 1342 1343 WriteLiteralTo(__razor_helper_writer, ">\r\n <img"); 1344 1345 WriteLiteralTo(__razor_helper_writer, " class=\"img-responsive\""); 1346 1347 WriteAttributeTo(__razor_helper_writer, "src", Tuple.Create(" src=\"", 11988), Tuple.Create("\"", 12049) 1348 , Tuple.Create(Tuple.Create("", 11994), Tuple.Create("/Files/Templates/Designs/TTonlineNew/images/", 11994), true) 1349 1350 #line 213 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 1351 , Tuple.Create(Tuple.Create("", 12038), Tuple.Create<System.Object, System.Int32>(fileName 1352 1353 #line default 1354 #line hidden 1355 , 12038), false) 1356 ); 1357 1358 WriteAttributeTo(__razor_helper_writer, "alt", Tuple.Create(" alt=\"", 12050), Tuple.Create("\"", 12068) 1359 1360 #line 213 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 1361 , Tuple.Create(Tuple.Create("", 12056), Tuple.Create<System.Object, System.Int32>(companyName 1362 1363 #line default 1364 #line hidden 1365 , 12056), false) 1366 ); 1367 1368 WriteAttributeTo(__razor_helper_writer, "title", Tuple.Create(" title=\"", 12069), Tuple.Create("\"", 12089) 1369 1370 #line 213 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 1371 , Tuple.Create(Tuple.Create("", 12077), Tuple.Create<System.Object, System.Int32>(companyName 1372 1373 #line default 1374 #line hidden 1375 , 12077), false) 1376 ); 1377 1378 WriteLiteralTo(__razor_helper_writer, ">\r\n </a>\r\n </div>\r\n"); 1379 1380 1381 #line 216 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 1382 } 1383 1384 1385 #line default 1386 #line hidden 1387 }); 1388 1389 #line 217 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 1390 } 1391 #line default 1392 #line hidden 1393 1394 1395 #line 219 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 1396 public RazorEngine.Templating.TemplateWriter Copyright() 1397 { 1398 #line default 1399 #line hidden 1400 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 1401 1402 #line 220 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 1403 1404 1405 1406 #line default 1407 #line hidden 1408 WriteLiteralTo(__razor_helper_writer, " <div"); 1409 1410 WriteLiteralTo(__razor_helper_writer, " class=\"copyright\""); 1411 1412 WriteLiteralTo(__razor_helper_writer, ">&copy; "); 1413 1414 1415 #line 221 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 1416 WriteTo(__razor_helper_writer, DateTime.Now.Year); 1417 1418 1419 #line default 1420 #line hidden 1421 WriteLiteralTo(__razor_helper_writer, " "); 1422 1423 1424 #line 221 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 1425 WriteTo(__razor_helper_writer, GetString("Item.Area.CompanyName")); 1426 1427 1428 #line default 1429 #line hidden 1430 WriteLiteralTo(__razor_helper_writer, " - "); 1431 1432 1433 #line 221 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 1434 WriteTo(__razor_helper_writer, GetString("Item.Area.Copyright")); 1435 1436 1437 #line default 1438 #line hidden 1439 WriteLiteralTo(__razor_helper_writer, "</div>\r\n"); 1440 1441 1442 #line 222 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 1443 1444 1445 #line default 1446 #line hidden 1447 }); 1448 1449 #line 222 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 1450 } 1451 #line default 1452 #line hidden 1453 1454 1455 #line 223 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 1456 1457 private string CommaSplittedString(string CommaSplittedString, string NewString) 1458 { 1459 1460 if (!string.IsNullOrEmpty(CommaSplittedString)) 1461 { 1462 CommaSplittedString += ", "; 1463 } 1464 CommaSplittedString += NewString; 1465 1466 return CommaSplittedString; 1467 } 1468 public static string StripHtml(string source) 1469 { 1470 return Regex.Replace(source, "<.*?>", string.Empty); 1471 } 1472 1473 #line default 1474 #line hidden 1475 1476 1477 #line 606 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 1478 1479 1480 //public class Session 1481 //{ 1482 //public string Id; 1483 //public string Title; 1484 //public DateTime StartTime; 1485 //public DateTime EndTime; 1486 //public bool IsBreak; 1487 //public string Description; 1488 //public string Type; 1489 //public string Url; 1490 //public string AllowedGroups; 1491 //public string Location; 1492 //public string Level; 1493 //public int NumberOfSeats; 1494 //public int NumberOfReservedSeats; 1495 //public List<Speaker> 1496 //Speakers; 1497 //public List<Speaker> 1498 //Moderatori; 1499 //public LoopItem Item; 1500 //} 1501 1502 public class Autor 1503 { 1504 public string Id; 1505 public string Name; 1506 public string Link; 1507 public string Description; 1508 public string Image; 1509 public string Persoana; 1510 } 1511 1512 public class Companie 1513 { 1514 public string Id; 1515 public string Name; 1516 public string Link; 1517 public string Logo; 1518 } 1519 1520 public class RelevantaGeografica 1521 { 1522 public string Id; 1523 public string Name; 1524 public string Link; 1525 } 1526 1527 public class Tag 1528 { 1529 public string Id; 1530 public string Name; 1531 public string Link; 1532 } 1533 1534 public class Sectiune 1535 { 1536 public string Id; 1537 public string Name; 1538 public string Link; 1539 } 1540 1541 public class Editie 1542 { 1543 public string Id; 1544 public string Name; 1545 public string Link; 1546 } 1547 1548 1549 1550 public static string StripHtmlTagByCharArray(string htmlString) 1551 { 1552 char[] array = new char[htmlString.Length]; 1553 int arrayIndex = 0; 1554 bool inside = false; 1555 1556 for (int i = 0; i < htmlString.Length; i++) 1557 { 1558 char let = htmlString[i]; 1559 if (let == '<') 1560 { 1561 inside = true; 1562 continue; 1563 } 1564 if (let == '>') 1565 { 1566 inside = false; 1567 continue; 1568 } 1569 if (!inside) 1570 { 1571 array[arrayIndex] = let; 1572 arrayIndex++; 1573 } 1574 } 1575 return new string(array, 0, arrayIndex); 1576 } 1577 1578 1579 private List<Autor> GetAutori(string autoriList) 1580 { 1581 var autori = new List<Autor> (); 1582 1583 if(!string.IsNullOrEmpty(autoriList)){ 1584 string[] itemIdList = autoriList.Split(','); 1585 foreach (string itemId in itemIdList) 1586 { 1587 var autor = Dynamicweb.Content.Items.Item.GetItemById("Taxonomie_Autori", itemId); 1588 if (autor != null) 1589 { 1590 autori.Add(new Autor 1591 { 1592 Id = itemId, 1593 Name = autor["Name"] != null ? autor["Name"].ToString() : "", 1594 Image = autor["Image"] != null ? autor["Image"].ToString() : "", 1595 Description = autor["Description"] != null ? autor["Description"].ToString() : "", 1596 Link = "/Default.aspx?ID=4250&autor="+itemId, 1597 Persoana = autor["Persoana_Companie"] != null ? autor["Persoana_Companie"].ToString() : "" 1598 }); 1599 } 1600 } 1601 } 1602 1603 return autori; 1604 } 1605 1606 private List<RelevantaGeografica> GetRelevanta(string relevantaList) 1607 { 1608 var relevante = new List<RelevantaGeografica> (); 1609 1610 if(!string.IsNullOrEmpty(relevantaList)){ 1611 string[] itemIdList = relevantaList.Split(','); 1612 foreach (string itemId in itemIdList) 1613 { 1614 var relevanta = Dynamicweb.Content.Items.Item.GetItemById("RelevantaGeografica", itemId); 1615 if (relevanta != null) 1616 { 1617 relevante.Add(new RelevantaGeografica 1618 { 1619 Id = itemId, 1620 Name = relevanta["Name"] != null ? relevanta["Name"].ToString() : "", 1621 Link = "" 1622 }); 1623 } 1624 } 1625 } 1626 1627 return relevante; 1628 } 1629 1630 1631 private List<Sectiune> GetSectiuni(string sectiuniList) 1632 { 1633 var sectiuni = new List<Sectiune> (); 1634 1635 return sectiuni; 1636 1637 } 1638 1639 private List<Tag> GetTaguri(string taguriList) 1640 { 1641 var taguri = new List<Tag>(); 1642 if(!string.IsNullOrEmpty(taguriList)){ 1643 string[] itemIdList = taguriList.Split(','); 1644 foreach (string itemId in itemIdList) 1645 { 1646 var tag = Dynamicweb.Content.Items.Item.GetItemById("Taxonomie_Taguri", itemId); 1647 if (tag != null) 1648 { 1649 taguri.Add(new Tag 1650 { 1651 Id = itemId, 1652 Name = tag["Name"] != null ? tag["Name"].ToString() : "", 1653 Link = "Default.aspx?ID=4252&tag="+itemId 1654 }); 1655 } 1656 } 1657 } 1658 return taguri; 1659 1660 } 1661 1662 1663 private List<Companie> GetCompany(string companyList) 1664 { 1665 var companies = new List<Companie> (); 1666 if(!string.IsNullOrEmpty(companyList)){ 1667 string[] itemIdList = companyList.Split(','); 1668 foreach (string itemId in itemIdList) 1669 { 1670 var companie = Dynamicweb.Content.Items.Item.GetItemById("Taxonomie_Companii", itemId); 1671 if (companie != null) 1672 { 1673 companies.Add(new Companie 1674 { 1675 Id = itemId, 1676 Name = companie["Name"] != null ? companie["Name"].ToString() : "", 1677 Logo = companie["Logo"] != null ? companie["Logo"].ToString() : "", 1678 Link = "/Default.aspx?ID=4271&companie="+itemId 1679 }); 1680 } 1681 } 1682 } 1683 return companies; 1684 1685 } 1686 1687 1688 1689 1690 1691 1692 #line default 1693 #line hidden 1694 1695 1696 #line 828 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 1697 1698 /// <summary> 1699 /// Returns the URL for the given ImageSettings. 1700 /// </summary> 1701 /// <param name="settings">The ImageSettings used to generate the URL. 1702 private static string GetImage(ImageSettings settings) 1703 { 1704 return settings.ToUrl(); 1705 } 1706 1707 /// <summary> 1708 /// Returns the URL for the given ImageSettings. 1709 /// </summary> 1710 /// <param name="url">The URL to the image. 1711 /// <param name="settings">The ImageSettings used to generate the URL. 1712 public static string GetImage(string url, ImageSettings settings = null) 1713 { 1714 if (settings == null) 1715 { 1716 settings = new ImageSettings(); 1717 } 1718 settings.ImageUrl = url; 1719 return GetImage(settings); 1720 } 1721 1722 /// <summary> 1723 /// Returns the URL for the given ImageSettings. 1724 /// </summary> 1725 /// <param name="url">The URL to the image. 1726 /// <param name="width">The requested width of the image. 1727 /// <param name="height">The requested height of the image. 1728 /// <param name="settings">The ImageSettings used to generate the URL. 1729 public static string GetImage(string url, int width, int height, ImageSettings settings = null) 1730 { 1731 if (settings == null) 1732 { 1733 settings = new ImageSettings(); 1734 } 1735 settings.Width = width; 1736 settings.Height = height; 1737 return GetImage(url, settings); 1738 } 1739 1740 /// <summary> 1741 /// Returns the URL for the given ImageSettings. 1742 /// </summary> 1743 /// <param name="url">The URL to the image. 1744 /// <param name="width">The requested width of the image. 1745 /// <param name="height">The requested height of the image. 1746 /// <param name="widthTablet">The requested width of the image for a tablet device. 1747 /// <param name="heightTablet">The requested height of the image for a tablet device. 1748 /// <param name="widthMobile">The requested width of the image for a mobile device. 1749 /// <param name="heightMobile">The requested height of the image for a mobile device. 1750 /// <param name="settings">The ImageSettings used to generate the URL. 1751 public static string GetImage(string url, int width, int height, int widthTablet, int heightTablet, int widthMobile, int heightMobile, ImageSettings settings = null) 1752 { 1753 var currentDevice = Dynamicweb.Frontend.PageView.Current().Device; 1754 1755 switch (currentDevice) 1756 { 1757 case DeviceType.Tablet: 1758 width = widthTablet != 0 ? widthTablet : width; 1759 height = heightTablet != 0 ? heightTablet : height; 1760 break; 1761 case DeviceType.Mobile: 1762 width = widthMobile != 0 ? widthMobile : width; 1763 height = heightMobile != 0 ? heightMobile : height; 1764 break; 1765 // default: Skip; just use existing width and height 1766 } 1767 if (settings == null) 1768 { 1769 settings = new ImageSettings(); 1770 } 1771 settings.ImageUrl = url; 1772 settings.Width = width; 1773 settings.Height = height; 1774 return GetImage(settings); 1775 } 1776 1777 #line default 1778 #line hidden 1779 1780 1781 #line 908 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 1782 public RazorEngine.Templating.TemplateWriter RenderPlaceholderImageOnLeft() 1783 { 1784 #line default 1785 #line hidden 1786 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 1787 1788 #line 909 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 1789 1790 1791 1792 #line default 1793 #line hidden 1794 WriteLiteralTo(__razor_helper_writer, " <div"); 1795 1796 WriteLiteralTo(__razor_helper_writer, " class=\"row\""); 1797 1798 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 1799 1800 WriteLiteralTo(__razor_helper_writer, " class=\"col-md-4 col-xs-12\""); 1801 1802 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 1803 1804 WriteLiteralTo(__razor_helper_writer, " class=\"pre-render-element pre-render-element--md\""); 1805 1806 WriteLiteralTo(__razor_helper_writer, "></div>\r\n </div>\r\n <div"); 1807 1808 WriteLiteralTo(__razor_helper_writer, " class=\"col-md-8 col-xs-12\""); 1809 1810 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 1811 1812 WriteLiteralTo(__razor_helper_writer, " class=\"pre-render-element pre-render-element--title\""); 1813 1814 WriteLiteralTo(__razor_helper_writer, "></div>\r\n <div"); 1815 1816 WriteLiteralTo(__razor_helper_writer, " class=\"pre-render-element pre-render-element--title\""); 1817 1818 WriteLiteralTo(__razor_helper_writer, "></div>\r\n <div"); 1819 1820 WriteLiteralTo(__razor_helper_writer, " class=\"pre-render-element pre-render-element--text\""); 1821 1822 WriteLiteralTo(__razor_helper_writer, "></div>\r\n <div"); 1823 1824 WriteLiteralTo(__razor_helper_writer, " class=\"pre-render-element pre-render-element--text\""); 1825 1826 WriteLiteralTo(__razor_helper_writer, "></div>\r\n <div"); 1827 1828 WriteLiteralTo(__razor_helper_writer, " class=\"pre-render-element pre-render-element--text\""); 1829 1830 WriteLiteralTo(__razor_helper_writer, "></div>\r\n </div>\r\n </div>\r\n"); 1831 1832 1833 #line 922 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 1834 1835 1836 1837 #line default 1838 #line hidden 1839 }); 1840 1841 #line 923 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 1842 } 1843 #line default 1844 #line hidden 1845 1846 1847 #line 924 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 1848 public RazorEngine.Templating.TemplateWriter RenderPlaceholderImageOnly(string imageSize) 1849 { 1850 #line default 1851 #line hidden 1852 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 1853 1854 #line 925 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 1855 1856 1857 1858 #line default 1859 #line hidden 1860 WriteLiteralTo(__razor_helper_writer, " <div"); 1861 1862 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 42754), Tuple.Create("\"", 42791) 1863 , Tuple.Create(Tuple.Create("", 42762), Tuple.Create("pre-render-element", 42762), true) 1864 1865 #line 926 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 1866 , Tuple.Create(Tuple.Create(" ", 42780), Tuple.Create<System.Object, System.Int32>(imageSize 1867 1868 #line default 1869 #line hidden 1870 , 42781), false) 1871 ); 1872 1873 WriteLiteralTo(__razor_helper_writer, "></div>\r\n"); 1874 1875 1876 #line 927 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 1877 1878 1879 #line default 1880 #line hidden 1881 }); 1882 1883 #line 927 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 1884 } 1885 #line default 1886 #line hidden 1887 1888 1889 #line 929 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 1890 public RazorEngine.Templating.TemplateWriter RenderPlaceholderImageTop(string imageSize) 1891 { 1892 #line default 1893 #line hidden 1894 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 1895 1896 #line 930 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 1897 1898 1899 1900 #line default 1901 #line hidden 1902 WriteLiteralTo(__razor_helper_writer, " <div"); 1903 1904 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 42870), Tuple.Create("\"", 42907) 1905 , Tuple.Create(Tuple.Create("", 42878), Tuple.Create("pre-render-element", 42878), true) 1906 1907 #line 931 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 1908 , Tuple.Create(Tuple.Create(" ", 42896), Tuple.Create<System.Object, System.Int32>(imageSize 1909 1910 #line default 1911 #line hidden 1912 , 42897), false) 1913 ); 1914 1915 WriteLiteralTo(__razor_helper_writer, "></div>\r\n"); 1916 1917 WriteLiteralTo(__razor_helper_writer, " <div"); 1918 1919 WriteLiteralTo(__razor_helper_writer, " class=\"pre-render-element pre-render-element--title\""); 1920 1921 WriteLiteralTo(__razor_helper_writer, "></div>\r\n"); 1922 1923 WriteLiteralTo(__razor_helper_writer, " <div"); 1924 1925 WriteLiteralTo(__razor_helper_writer, " class=\"pre-render-element pre-render-element--text\""); 1926 1927 WriteLiteralTo(__razor_helper_writer, "></div>\r\n"); 1928 1929 WriteLiteralTo(__razor_helper_writer, " <div"); 1930 1931 WriteLiteralTo(__razor_helper_writer, " class=\"pre-render-element pre-render-element--text\""); 1932 1933 WriteLiteralTo(__razor_helper_writer, "></div>\r\n"); 1934 1935 WriteLiteralTo(__razor_helper_writer, " <div"); 1936 1937 WriteLiteralTo(__razor_helper_writer, " class=\"pre-render-element pre-render-element--text\""); 1938 1939 WriteLiteralTo(__razor_helper_writer, "></div>\r\n"); 1940 1941 1942 #line 936 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 1943 1944 1945 #line default 1946 #line hidden 1947 }); 1948 1949 #line 936 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 1950 } 1951 #line default 1952 #line hidden 1953 1954 1955 #line 937 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 1956 public RazorEngine.Templating.TemplateWriter RenderPlaceholderImageTopNoText(string imageSize) 1957 { 1958 #line default 1959 #line hidden 1960 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 1961 1962 #line 938 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 1963 1964 1965 1966 #line default 1967 #line hidden 1968 WriteLiteralTo(__razor_helper_writer, " <div"); 1969 1970 WriteAttributeTo(__razor_helper_writer, "class", Tuple.Create(" class=\"", 43267), Tuple.Create("\"", 43304) 1971 , Tuple.Create(Tuple.Create("", 43275), Tuple.Create("pre-render-element", 43275), true) 1972 1973 #line 939 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 1974 , Tuple.Create(Tuple.Create(" ", 43293), Tuple.Create<System.Object, System.Int32>(imageSize 1975 1976 #line default 1977 #line hidden 1978 , 43294), false) 1979 ); 1980 1981 WriteLiteralTo(__razor_helper_writer, "></div>\r\n"); 1982 1983 WriteLiteralTo(__razor_helper_writer, " <div"); 1984 1985 WriteLiteralTo(__razor_helper_writer, " class=\"pre-render-element pre-render-element--title\""); 1986 1987 WriteLiteralTo(__razor_helper_writer, "></div>\r\n"); 1988 1989 1990 #line 941 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 1991 1992 1993 1994 #line default 1995 #line hidden 1996 }); 1997 1998 #line 942 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 1999 } 2000 #line default 2001 #line hidden 2002 2003 2004 #line 943 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 2005 public RazorEngine.Templating.TemplateWriter RenderPlaceholderNoImage() 2006 { 2007 #line default 2008 #line hidden 2009 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 2010 2011 #line 944 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 2012 2013 2014 2015 #line default 2016 #line hidden 2017 WriteLiteralTo(__razor_helper_writer, " <div"); 2018 2019 WriteLiteralTo(__razor_helper_writer, " class=\"pre-render-element pre-render-element--title\""); 2020 2021 WriteLiteralTo(__razor_helper_writer, "></div>\r\n"); 2022 2023 WriteLiteralTo(__razor_helper_writer, " <div"); 2024 2025 WriteLiteralTo(__razor_helper_writer, " class=\"pre-render-element pre-render-element--title\""); 2026 2027 WriteLiteralTo(__razor_helper_writer, "></div>\r\n"); 2028 2029 WriteLiteralTo(__razor_helper_writer, " <div"); 2030 2031 WriteLiteralTo(__razor_helper_writer, " class=\"pre-render-element pre-render-element--text\""); 2032 2033 WriteLiteralTo(__razor_helper_writer, "></div>\r\n"); 2034 2035 WriteLiteralTo(__razor_helper_writer, " <div"); 2036 2037 WriteLiteralTo(__razor_helper_writer, " class=\"pre-render-element pre-render-element--text\""); 2038 2039 WriteLiteralTo(__razor_helper_writer, "></div>\r\n"); 2040 2041 WriteLiteralTo(__razor_helper_writer, " <div"); 2042 2043 WriteLiteralTo(__razor_helper_writer, " class=\"pre-render-element pre-render-element--text\""); 2044 2045 WriteLiteralTo(__razor_helper_writer, "></div>\r\n"); 2046 2047 2048 #line 950 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 2049 2050 2051 #line default 2052 #line hidden 2053 }); 2054 2055 #line 950 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 2056 } 2057 #line default 2058 #line hidden 2059 2060 2061 #line 952 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 2062 public RazorEngine.Templating.TemplateWriter RenderPlaceholderCaruselText() 2063 { 2064 #line default 2065 #line hidden 2066 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 2067 2068 #line 953 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 2069 2070 2071 2072 #line default 2073 #line hidden 2074 WriteLiteralTo(__razor_helper_writer, " <div"); 2075 2076 WriteLiteralTo(__razor_helper_writer, " class=\"item placeholder\""); 2077 2078 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 2079 2080 WriteLiteralTo(__razor_helper_writer, " class=\"pre-render-element pre-render-element--md\""); 2081 2082 WriteLiteralTo(__razor_helper_writer, "></div>\r\n <div"); 2083 2084 WriteLiteralTo(__razor_helper_writer, " class=\"pre-render-element pre-render-element--title\""); 2085 2086 WriteLiteralTo(__razor_helper_writer, "></div>\r\n <div"); 2087 2088 WriteLiteralTo(__razor_helper_writer, " class=\"pre-render-element pre-render-element--text\""); 2089 2090 WriteLiteralTo(__razor_helper_writer, "></div>\r\n <div"); 2091 2092 WriteLiteralTo(__razor_helper_writer, " class=\"pre-render-element pre-render-element--text\""); 2093 2094 WriteLiteralTo(__razor_helper_writer, "></div>\r\n </div>\r\n"); 2095 2096 2097 #line 960 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 2098 2099 2100 #line default 2101 #line hidden 2102 }); 2103 2104 #line 960 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 2105 } 2106 #line default 2107 #line hidden 2108 2109 2110 #line 961 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 2111 public RazorEngine.Templating.TemplateWriter RenderPlaceholderCaruselImage() 2112 { 2113 #line default 2114 #line hidden 2115 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 2116 2117 #line 962 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 2118 2119 2120 2121 #line default 2122 #line hidden 2123 WriteLiteralTo(__razor_helper_writer, " <div"); 2124 2125 WriteLiteralTo(__razor_helper_writer, " class=\"item\""); 2126 2127 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 2128 2129 WriteLiteralTo(__razor_helper_writer, " class=\"pre-render-element pre-render-element--md\""); 2130 2131 WriteLiteralTo(__razor_helper_writer, "></div>\r\n </div>\r\n"); 2132 2133 2134 #line 966 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 2135 2136 2137 #line default 2138 #line hidden 2139 }); 2140 2141 #line 966 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 2142 } 2143 #line default 2144 #line hidden 2145 2146 2147 #line 1668 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 2148 public RazorEngine.Templating.TemplateWriter RenderCereOfertaButton() 2149 { 2150 #line default 2151 #line hidden 2152 return new RazorEngine.Templating.TemplateWriter(__razor_helper_writer => { 2153 2154 #line 1669 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 2155 2156 2157 2158 #line default 2159 #line hidden 2160 WriteLiteralTo(__razor_helper_writer, " <!-- Large modal -->\r\n"); 2161 2162 WriteLiteralTo(__razor_helper_writer, " <button"); 2163 2164 WriteLiteralTo(__razor_helper_writer, " class=\"btn btn-primary test\""); 2165 2166 WriteLiteralTo(__razor_helper_writer, " data-toggle=\"modal\""); 2167 2168 WriteLiteralTo(__razor_helper_writer, " data-target=\"#modalformularoferta\""); 2169 2170 WriteLiteralTo(__razor_helper_writer, " id=\"buton-modal-cere-detalii\""); 2171 2172 WriteLiteralTo(__razor_helper_writer, ">"); 2173 2174 2175 #line 1671 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 2176 WriteTo(__razor_helper_writer, Translate("askForDetails","Cere detalii sau oferta")); 2177 2178 2179 #line default 2180 #line hidden 2181 WriteLiteralTo(__razor_helper_writer, "</button>\r\n"); 2182 2183 2184 #line 1672 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 2185 2186 2187 2188 #line default 2189 #line hidden 2190 WriteLiteralTo(__razor_helper_writer, " <div"); 2191 2192 WriteLiteralTo(__razor_helper_writer, " class=\"modal fade bd-example-modal-sm\""); 2193 2194 WriteLiteralTo(__razor_helper_writer, " id=\"modalformularoferta\""); 2195 2196 WriteLiteralTo(__razor_helper_writer, " tabindex=\"-1\""); 2197 2198 WriteLiteralTo(__razor_helper_writer, " role=\"dialog\""); 2199 2200 WriteLiteralTo(__razor_helper_writer, " aria-labelledby=\"myLargeModalLabel\""); 2201 2202 WriteLiteralTo(__razor_helper_writer, " aria-hidden=\"true\""); 2203 2204 WriteLiteralTo(__razor_helper_writer, " style=\"background-color:rgba(255,255,255, 0.7);\""); 2205 2206 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 2207 2208 WriteLiteralTo(__razor_helper_writer, " class=\"modal-dialog modal-sm\""); 2209 2210 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 2211 2212 WriteLiteralTo(__razor_helper_writer, " class=\"modal-content\""); 2213 2214 WriteLiteralTo(__razor_helper_writer, ">\r\n <div"); 2215 2216 WriteLiteralTo(__razor_helper_writer, " data-nume=\"test\""); 2217 2218 WriteLiteralTo(__razor_helper_writer, " class=\"form-wrapper\""); 2219 2220 WriteLiteralTo(__razor_helper_writer, ">\r\n"); 2221 2222 WriteLiteralTo(__razor_helper_writer, " "); 2223 2224 2225 #line 1677 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 2226 WriteTo(__razor_helper_writer, RenderParagraphContent(120)); 2227 2228 2229 #line default 2230 #line hidden 2231 WriteLiteralTo(__razor_helper_writer, "\r\n <div"); 2232 2233 WriteLiteralTo(__razor_helper_writer, " class=\"display-flex hidden\""); 2234 2235 WriteLiteralTo(__razor_helper_writer, ">\r\n \t\t<input"); 2236 2237 WriteLiteralTo(__razor_helper_writer, " class=\"subscribe-checkbox\""); 2238 2239 WriteLiteralTo(__razor_helper_writer, " type=\"checkbox\""); 2240 2241 WriteLiteralTo(__razor_helper_writer, " id=\"Suntdeacordcutermeniisiconditiilettonlinero\""); 2242 2243 WriteLiteralTo(__razor_helper_writer, " name=\"Suntdeacordcutermeniisiconditiilettonlinero\""); 2244 2245 WriteLiteralTo(__razor_helper_writer, " required=\"\""); 2246 2247 WriteLiteralTo(__razor_helper_writer, " checked=\"checked\""); 2248 2249 WriteLiteralTo(__razor_helper_writer, ">\r\n \t\t<p>\t"); 2250 2251 2252 #line 1680 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 2253 WriteTo(__razor_helper_writer, Translate("SuntDeAcord", "Sunt de acord cu ")); 2254 2255 2256 #line default 2257 #line hidden 2258 WriteLiteralTo(__razor_helper_writer, " <a"); 2259 2260 WriteLiteralTo(__razor_helper_writer, " class=\"termeniSiConditiiUrl\""); 2261 2262 WriteAttributeTo(__razor_helper_writer, "href", Tuple.Create(" href=\"", 78431), Tuple.Create("\"", 78463) 2263 2264 #line 1680 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 2265 , Tuple.Create(Tuple.Create("", 78438), Tuple.Create<System.Object, System.Int32>(termeniSiContitiiPageUrl 2266 2267 #line default 2268 #line hidden 2269 , 78438), false) 2270 ); 2271 2272 WriteLiteralTo(__razor_helper_writer, ">"); 2273 2274 2275 #line 1680 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 2276 WriteTo(__razor_helper_writer, Translate("termenii si conditiile")); 2277 2278 2279 #line default 2280 #line hidden 2281 WriteLiteralTo(__razor_helper_writer, "</a> "); 2282 2283 2284 #line 1680 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 2285 WriteTo(__razor_helper_writer, Translate("ttonline.ro")); 2286 2287 2288 #line default 2289 #line hidden 2290 WriteLiteralTo(__razor_helper_writer, " </p>\r\n \t</div>\t\r\n \t\r\n </div>\r\n </div>\r\n </div>\r" + 2291 "\n <div"); 2292 2293 WriteLiteralTo(__razor_helper_writer, " class=\"modal-footer\""); 2294 2295 WriteLiteralTo(__razor_helper_writer, ">\r\n <button"); 2296 2297 WriteLiteralTo(__razor_helper_writer, " type=\"button\""); 2298 2299 WriteLiteralTo(__razor_helper_writer, " class=\"btn btn-primary\""); 2300 2301 WriteLiteralTo(__razor_helper_writer, " data-dismiss=\"modal\""); 2302 2303 WriteLiteralTo(__razor_helper_writer, ">Inchide Formularul</button>\r\n </div> \r\n </div>\r\n"); 2304 2305 2306 #line 1690 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 2307 2308 2309 #line default 2310 #line hidden 2311 }); 2312 2313 #line 1690 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 2314 } 2315 #line default 2316 #line hidden 2317 2318 2319 public RazorEngine_1d430c1c71824c56a2cb1eae04596121() { 2320 } 2321 2322 public override void Execute() { 2323 2324 #line 6 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 2325 2326 2327 string areaLayoutPath = "/Files/Templates/Designs/TTonline/"; 2328 areaLayoutPath = areaLayoutPath.Substring(0, areaLayoutPath.LastIndexOf("/")); 2329 2330 string Layout_Style = GetString("Item.Area.Layout_Style.Value"), 2331 Template_Style = GetString("Item.Area.Template_Style.Value"), 2332 Sticky_Header = GetString("Item.Area.Sticky_Header.Value"), 2333 Template_Color = GetString("Item.Area.Template_Color.Value"), 2334 bodyStyle = Layout_Style + " " + Template_Style + " " + Sticky_Header + " " + Template_Color; 2335 2336 2337 2338 #line default 2339 #line hidden 2340 WriteLiteral("\r\n\r\n\r\n"); 2341 2342 WriteLiteral("\r\n"); 2343 2344 WriteLiteral("\r\n"); 2345 2346 2347 #line 240 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 2348 2349 string designName1 = "TTonline"; 2350 string device = Pageview.Device.ToString(); 2351 string firstPageId = GetString("DwAreaFirstPageID"); 2352 string homeOrSubpage = GetString("DwAreaFirstPageID") == GetString("Global:Page.ID") ? "home" : "subpage"; 2353 string print = !string.IsNullOrEmpty(System.Web.HttpContext.Current.Request.Params["print"]) ? "printOrPdf" : ""; 2354 //string resultsPage = GetString("Item.Area.SearchResults"); 2355 //string contactPage = GetString("Item.Area.ContactUs"); 2356 string countryCode = "RO";//Dna.IP.Frontend.GetCountryCode(); 2357 string longLang = Pageview.GlobalTags.GetTagByName("Global:Area.LongLang").Value.ToString(); 2358 //string email = GetString("Item.Area.Email"); 2359 //string phone = GetString("Item.Area.Phone"); 2360 2361 //bool userIsLoggedIn = Dynamicweb.Security.UserManagement.User.IsExtranetUserLoggedIn(); 2362 bool isPrint = !string.IsNullOrEmpty(System.Web.HttpContext.Current.Request.Params["print"]); 2363 bool bol_backofficeLogged = Dynamicweb.Security.UserManagement.User.GetCurrentBackendUser() != null ? true : false; 2364 List<LoopItem> socialMedia = GetLoop("Item.Area.SocialNetworks"); 2365 List<LoopItem> websiteLanguages = GetLoop("WebsiteLanguages"); 2366 string designFolder = GetString("Template:DesignBaseUrl"); 2367 var minify = GetBoolean("Item.Area.Minify_CSS_And_JavaScript"); 2368 //var scriptBundleFooter = Dna.Optimizer.Renderer.RenderScripts(string.Format("{0}js/footer", designFolder), minify, true, "-main-scripts-footer", new[] { "exceptions" }); 2369 var scriptBundleFooter = Dna.Optimizer.Renderer.RenderScripts(string.Format("{0}js/footer", designFolder), minify: minify, recursive: true, virtualPathPrefix : "-main-scripts-footer", exclusions : new[] { "exceptions" }); 2370 var ibuySmartPageId = GetPageIdByNavigationTag("catalog"); 2371 var ibuySmartUrl = "/Default.aspx?ID=" + ibuySmartPageId; 2372 var isMobile = Pageview.Device.ToString() == "Mobile" ? true : false; 2373 2374 2375 2376 #line default 2377 #line hidden 2378 WriteLiteral("\r\n<!DOCTYPE HTML>\r\n<!--[if lt IE 8 ]><html class=\"ie7\" lang=\""); 2379 2380 2381 #line 268 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 2382 Write(longLang); 2383 2384 2385 #line default 2386 #line hidden 2387 WriteLiteral("\"><![endif]--><!--[if IE 8 ]><html class=\"ie8\" lang=\""); 2388 2389 2390 #line 268 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 2391 Write(longLang); 2392 2393 2394 #line default 2395 #line hidden 2396 WriteLiteral("\"><![endif]--><!--[if IE 9 ]><html class=\"ie9\" lang=\""); 2397 2398 2399 #line 268 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 2400 Write(longLang); 2401 2402 2403 #line default 2404 #line hidden 2405 WriteLiteral("\"><![endif]--><!--[if (gt IE 9)|!(IE)]><!-->\r\n<html"); 2406 2407 WriteAttribute("lang", Tuple.Create(" lang=\"", 14879), Tuple.Create("\"", 14897) 2408 2409 #line 269 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 2410 , Tuple.Create(Tuple.Create("", 14886), Tuple.Create<System.Object, System.Int32>(longLang 2411 2412 #line default 2413 #line hidden 2414 , 14886), false) 2415 ); 2416 2417 WriteLiteral("><!--<![endif]-->\r\n\r\n"); 2418 2419 2420 #line 271 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 2421 Write(HtmlHead(designName1)); 2422 2423 2424 #line default 2425 #line hidden 2426 WriteLiteral("\r\n \r\n<body"); 2427 2428 WriteAttribute("class", Tuple.Create(" class=\"", 14951), Tuple.Create("\"", 14979) 2429 2430 #line 273 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 2431 , Tuple.Create(Tuple.Create("", 14959), Tuple.Create<System.Object, System.Int32>(bodyStyle 2432 2433 #line default 2434 #line hidden 2435 , 14959), false) 2436 , Tuple.Create(Tuple.Create(" ", 14969), Tuple.Create("tileStyle", 14970), true) 2437 ); 2438 2439 WriteLiteral(">\r\n\r\n \r\n <div"); 2440 2441 WriteLiteral(" id=\"main\""); 2442 2443 WriteLiteral(" class=\"header-style1\""); 2444 2445 WriteLiteral(">\r\n\r\n"); 2446 2447 2448 #line 278 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 2449 2450 2451 #line default 2452 #line hidden 2453 2454 #line 278 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 2455 2456 bool userIsLoggedIn = Dynamicweb.Security.UserManagement.User.IsExtranetUserLoggedIn(); 2457 string logo = GetString("Item.Area.Logo"); 2458 2459 2460 #line default 2461 #line hidden 2462 WriteLiteral(" \r\n<header"); 2463 2464 WriteLiteral(" class=\"header-wrapper clearfix\""); 2465 2466 WriteLiteral(">\r\n\r\n <div"); 2467 2468 WriteLiteral(" class=\"header\""); 2469 2470 WriteLiteral(" id=\"header\""); 2471 2472 WriteLiteral(">\r\n <div"); 2473 2474 WriteLiteral(" class=\"container-fluid header-first-container\""); 2475 2476 WriteLiteral(">\r\n <div"); 2477 2478 WriteLiteral(" class=\"mag-content\""); 2479 2480 WriteLiteral(">\r\n <div"); 2481 2482 WriteLiteral(" class=\"container\""); 2483 2484 WriteLiteral(">\r\n <div"); 2485 2486 WriteLiteral(" class=\"row header-first-row\""); 2487 2488 WriteLiteral(">\r\n <div"); 2489 2490 WriteLiteral(" class=\"col-md-9 visible-lg visible-md\""); 2491 2492 WriteLiteral(" id=\"motto\""); 2493 2494 WriteLiteral(">\r\n <a"); 2495 2496 WriteLiteral(" class=\"logo\""); 2497 2498 WriteAttribute("href", Tuple.Create(" href=\"", 15609), Tuple.Create("\"", 15644) 2499 , Tuple.Create(Tuple.Create("", 15616), Tuple.Create("/Defaul.aspx?ID=", 15616), true) 2500 2501 #line 290 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 2502 , Tuple.Create(Tuple.Create("", 15632), Tuple.Create<System.Object, System.Int32>(firstPageId 2503 2504 #line default 2505 #line hidden 2506 , 15632), false) 2507 ); 2508 2509 WriteLiteral(" title=\"\""); 2510 2511 WriteLiteral(" rel=\"home\""); 2512 2513 WriteLiteral(">\r\n <img"); 2514 2515 WriteAttribute("src", Tuple.Create(" src=\"", 15712), Tuple.Create("\"", 15723) 2516 2517 #line 291 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 2518 , Tuple.Create(Tuple.Create("", 15718), Tuple.Create<System.Object, System.Int32>(logo 2519 2520 #line default 2521 #line hidden 2522 , 15718), false) 2523 ); 2524 2525 WriteLiteral(@"> 2526 </a><!-- .logo --> 2527 <h4>Industry – Business Opportunities</h4> 2528 </div><!--End of col-md-9 visible-lg visible-md--> 2529 2530 <div"); 2531 2532 WriteLiteral(" class=\"col-md-2 visible-lg visible-md text-right username\""); 2533 2534 WriteLiteral("> \r\n\r\n"); 2535 2536 2537 #line 298 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 2538 2539 2540 #line default 2541 #line hidden 2542 2543 #line 298 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 2544 if (userIsLoggedIn) { 2545 string userName = !string.IsNullOrWhiteSpace(Pageview.User.Name) ? Pageview.User.Name : string.Format("{0}{1}", Pageview.User.FirstName, Pageview.User.LastName); 2546 2547 2548 2549 #line default 2550 #line hidden 2551 WriteLiteral(" <div"); 2552 2553 WriteLiteral(" class=\"welcomeBack hidden-print text-left\""); 2554 2555 WriteLiteral(">\r\n"); 2556 2557 WriteLiteral(" "); 2558 2559 2560 #line 302 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 2561 Write(Translate("welcome", "Welcome")); 2562 2563 2564 #line default 2565 #line hidden 2566 WriteLiteral(", <span> "); 2567 2568 2569 #line 302 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 2570 Write(!string.IsNullOrWhiteSpace(userName) ? userName : Pageview.User.UserName); 2571 2572 2573 #line default 2574 #line hidden 2575 WriteLiteral("</span>\r\n </div>\r\n"); 2576 2577 2578 #line 304 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 2579 } 2580 2581 2582 #line default 2583 #line hidden 2584 WriteLiteral("\r\n </div> \r\n <div"); 2585 2586 WriteLiteral(" id=\"social-icon\""); 2587 2588 WriteLiteral(" class=\"social-icon\""); 2589 2590 WriteLiteral(">\r\n <a"); 2591 2592 WriteLiteral(" class=\"facebook\""); 2593 2594 WriteAttribute("href", Tuple.Create(" href=\'", 16812), Tuple.Create("\'", 16854) 2595 2596 #line 308 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 2597 , Tuple.Create(Tuple.Create("", 16819), Tuple.Create<System.Object, System.Int32>(Pageview.Area.Item["FacebookLink"] 2598 2599 #line default 2600 #line hidden 2601 , 16819), false) 2602 ); 2603 2604 WriteLiteral(" target=\"_blank\""); 2605 2606 WriteLiteral("> <i"); 2607 2608 WriteLiteral(" class=\"fa fa-facebook fa-2x padding\""); 2609 2610 WriteLiteral(" aria-hidden=\"true\""); 2611 2612 WriteLiteral("></i> </a>\r\n <a"); 2613 2614 WriteLiteral(" class=\"twitter\""); 2615 2616 WriteAttribute("href", Tuple.Create(" href=\'", 16993), Tuple.Create("\'", 17034) 2617 2618 #line 309 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 2619 , Tuple.Create(Tuple.Create("", 17000), Tuple.Create<System.Object, System.Int32>(Pageview.Area.Item["TwitterLink"] 2620 2621 #line default 2622 #line hidden 2623 , 17000), false) 2624 ); 2625 2626 WriteLiteral(" target=\"_blank\""); 2627 2628 WriteLiteral("> <i"); 2629 2630 WriteLiteral(" class=\"fa fa-twitter fa-2x padding\""); 2631 2632 WriteLiteral(" aria-hidden=\"true\""); 2633 2634 WriteLiteral("></i> </a>\r\n </div>\r\n\r\n </div" + 2635 ">\r\n </div>\r\n </div>\r\n </div>\r" + 2636 "\n\r\n <div"); 2637 2638 WriteLiteral(" class=\"container-fluid header-second-container\""); 2639 2640 WriteLiteral(">\r\n <div"); 2641 2642 WriteLiteral(" class=\"mag-content\""); 2643 2644 WriteLiteral(">\r\n\r\n <div"); 2645 2646 WriteLiteral(" class=\"container\""); 2647 2648 WriteLiteral(">\r\n <div"); 2649 2650 WriteLiteral(" class=\"row header-second-row\""); 2651 2652 WriteLiteral("> \r\n <div"); 2653 2654 WriteLiteral(" class=\"col-md-12\""); 2655 2656 WriteLiteral(">\r\n \r\n <!--" + 2657 " Mobile Menu Button -->\r\n <a"); 2658 2659 WriteLiteral(" class=\"navbar-toggle collapsed\""); 2660 2661 WriteLiteral(" id=\"nav-button\""); 2662 2663 WriteLiteral(" href=\"#mobile-nav\""); 2664 2665 WriteLiteral(">\r\n <span"); 2666 2667 WriteLiteral(" class=\"icon-bar\""); 2668 2669 WriteLiteral("></span>\r\n <span"); 2670 2671 WriteLiteral(" class=\"icon-bar\""); 2672 2673 WriteLiteral("></span>\r\n <span"); 2674 2675 WriteLiteral(" class=\"icon-bar\""); 2676 2677 WriteLiteral("></span>\r\n <span"); 2678 2679 WriteLiteral(" class=\"icon-bar\""); 2680 2681 WriteLiteral("></span>\r\n </a><!-- .navbar-toggle -->\r\n " + 2682 " <!-- Main Nav Wrapper -->\r\n " + 2683 " <nav"); 2684 2685 WriteLiteral(" class=\"navbar mega-menu\""); 2686 2687 WriteLiteral(">\r\n <a"); 2688 2689 WriteLiteral(" class=\"logo hidden-lg hidden-md\""); 2690 2691 WriteAttribute("href", Tuple.Create(" href=\"", 18342), Tuple.Create("\"", 18378) 2692 , Tuple.Create(Tuple.Create("", 18349), Tuple.Create("/Default.aspx?ID=", 18349), true) 2693 2694 #line 333 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 2695 , Tuple.Create(Tuple.Create("", 18366), Tuple.Create<System.Object, System.Int32>(firstPageId 2696 2697 #line default 2698 #line hidden 2699 , 18366), false) 2700 ); 2701 2702 WriteLiteral(" title=\"\""); 2703 2704 WriteLiteral(" rel=\"home\""); 2705 2706 WriteLiteral(">\r\n <img"); 2707 2708 WriteAttribute("src", Tuple.Create(" src=\"", 18454), Tuple.Create("\"", 18465) 2709 2710 #line 334 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 2711 , Tuple.Create(Tuple.Create("", 18460), Tuple.Create<System.Object, System.Int32>(logo 2712 2713 #line default 2714 #line hidden 2715 , 18460), false) 2716 ); 2717 2718 WriteLiteral(">\r\n </a><!-- .logo -->\r\n " + 2719 " <!-- Navigation Menu -->\r\n " + 2720 " <div"); 2721 2722 WriteLiteral(" class=\"navbar-collapse collapse\""); 2723 2724 WriteLiteral(">\r\n"); 2725 2726 WriteLiteral(" "); 2727 2728 2729 #line 338 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 2730 Write(RenderNavigation(new { 2731 template = "MainNavigation.xslt", 2732 expandmode = "all", 2733 id = "header-nav", 2734 startlevel = 1, 2735 listStyle = "top-navigation", 2736 endlevel = 2 2737 })); 2738 2739 2740 #line default 2741 #line hidden 2742 WriteLiteral(@" 2743 </div><!-- .navbar-collapse --> 2744 <!-- End Navigation Menu --> 2745 2746 2747 2748 <div"); 2749 2750 WriteLiteral(" class=\"btn-group dropdown-login\""); 2751 2752 WriteLiteral(">\r\n <button"); 2753 2754 WriteLiteral(" class=\"btn btn-default btn-sm dropdown-toggle dropdown-login\""); 2755 2756 WriteLiteral(" type=\"button\""); 2757 2758 WriteLiteral(" data-toggle=\"dropdown\""); 2759 2760 WriteLiteral(" aria-haspopup=\"true\""); 2761 2762 WriteLiteral(" aria-expanded=\"false\""); 2763 2764 WriteLiteral(">\r\n <i"); 2765 2766 WriteLiteral(" class=\"fa fa-user fa-1x\""); 2767 2768 WriteLiteral(" aria-hidden=\"true\""); 2769 2770 WriteLiteral(">&nbsp; &nbsp;</i><span"); 2771 2772 WriteLiteral(" class=\"\""); 2773 2774 WriteLiteral("></span>\r\n </button>\r\n <ul"); 2775 2776 WriteLiteral(" class=\"dropdown-menu\""); 2777 2778 WriteLiteral(">\r\n <!-- Button trigger modal -->\r\n \r\n"); 2779 2780 2781 #line 358 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 2782 2783 2784 #line default 2785 #line hidden 2786 2787 #line 358 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 2788 if (userIsLoggedIn) 2789 { 2790 2791 2792 #line default 2793 #line hidden 2794 WriteLiteral(" <li><a"); 2795 2796 WriteLiteral(" href=\"/Admin/Public/ExtranetLogoff.aspx?ID=1\""); 2797 2798 WriteLiteral(">Logout</a></li>\t\r\n"); 2799 2800 2801 #line 361 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 2802 } else { 2803 2804 2805 #line default 2806 #line hidden 2807 WriteLiteral(" <li><a"); 2808 2809 WriteLiteral(" href=\"/Default.aspx?ID=4256\""); 2810 2811 WriteLiteral(">Log in</a></li>\r\n"); 2812 2813 WriteLiteral(" \t <li><a"); 2814 2815 WriteLiteral(" href=\"/Default.aspx?ID=4255\""); 2816 2817 WriteLiteral(">"); 2818 2819 2820 #line 363 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 2821 Write(Translate("Inregistrare","Inregistrare")); 2822 2823 2824 #line default 2825 #line hidden 2826 WriteLiteral("</a></li>\r\n"); 2827 2828 2829 #line 364 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 2830 } 2831 2832 2833 #line default 2834 #line hidden 2835 WriteLiteral(" </ul>\r\n </div>\r\n <!-- " + 2836 "Single button -->\r\n \r\n " + 2837 " <div"); 2838 2839 WriteLiteral(" class=\"header-right galaxy-s5 nexus-5x iphone-6\""); 2840 2841 WriteLiteral(">\r\n <div"); 2842 2843 WriteLiteral(" class=\"social-icons\""); 2844 2845 WriteLiteral(">\r\n\r\n"); 2846 2847 2848 #line 372 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 2849 2850 2851 #line default 2852 #line hidden 2853 2854 #line 372 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 2855 2856 var languageSwitcherValue = ""; 2857 foreach (var language in GetLoop("Languages")) { 2858 if (language.GetBoolean("IsCurrent")) { 2859 languageSwitcherValue = language.GetString("Culture"); 2860 } 2861 } 2862 2863 2864 #line default 2865 #line hidden 2866 WriteLiteral("\r\n"); 2867 2868 2869 #line 380 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 2870 2871 2872 #line default 2873 #line hidden 2874 2875 #line 380 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 2876 if (languageSwitcherValue == "ro-RO") { 2877 2878 2879 #line default 2880 #line hidden 2881 WriteLiteral(" <a"); 2882 2883 WriteLiteral(" href=\"/\""); 2884 2885 WriteLiteral(" class=\"selected\""); 2886 2887 WriteLiteral(">RO</a> "); 2888 2889 WriteLiteral("<span>|</span> "); 2890 2891 WriteLiteral("<a"); 2892 2893 WriteLiteral(" href=\"/Default.aspx?ID=5557\""); 2894 2895 WriteLiteral(">EN</a> \r\n"); 2896 2897 2898 #line 382 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 2899 } 2900 2901 2902 #line default 2903 #line hidden 2904 WriteLiteral(" "); 2905 2906 2907 #line 383 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 2908 if (languageSwitcherValue == "en-US") { 2909 2910 2911 #line default 2912 #line hidden 2913 WriteLiteral(" <a"); 2914 2915 WriteLiteral(" href=\"/\""); 2916 2917 WriteLiteral(">RO</a> "); 2918 2919 WriteLiteral("<span>|</span> "); 2920 2921 WriteLiteral("<a"); 2922 2923 WriteLiteral(" href=\"Default.aspx?ID=5557\""); 2924 2925 WriteLiteral(" class=\"selected\""); 2926 2927 WriteLiteral(">EN</a> \r\n"); 2928 2929 2930 #line 385 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 2931 } 2932 2933 2934 2935 #line default 2936 #line hidden 2937 2938 #line 396 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 2939 2940 2941 2942 #line default 2943 #line hidden 2944 WriteLiteral(" </div><!-- .social-icons -->\r\n " + 2945 " </div><!-- .header-right -->\r\n\r\n " + 2946 " \r\n\r\n"); 2947 2948 2949 #line 402 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 2950 2951 2952 #line default 2953 #line hidden 2954 2955 #line 402 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 2956 if(GetString("DwAreaID") == "1"){ 2957 2958 2959 2960 #line default 2961 #line hidden 2962 WriteLiteral(" <div"); 2963 2964 WriteLiteral(" id=\"sb-search\""); 2965 2966 WriteLiteral(" class=\"sb-search\""); 2967 2968 WriteLiteral("> \r\n \t\t\t <div"); 2969 2970 WriteLiteral(" class=\"form-group\""); 2971 2972 WriteLiteral(" style=\"position: relative;\""); 2973 2974 WriteLiteral(">\r\n \t\t\t <form"); 2975 2976 WriteLiteral(" action=\"/cautare.aspx\""); 2977 2978 WriteLiteral(" method=\"GET\""); 2979 2980 WriteLiteral("> \r\n \t\t\t\t <input"); 2981 2982 WriteLiteral(" class=\"sb-search-input\""); 2983 2984 WriteLiteral(" placeholder=\"Termen de cautare...\""); 2985 2986 WriteLiteral(" type=\"text\""); 2987 2988 WriteLiteral(" value=\"\""); 2989 2990 WriteLiteral(" name=\"q\""); 2991 2992 WriteLiteral(" id=\"q\""); 2993 2994 WriteLiteral(">\r\n \t\t\t\t <input"); 2995 2996 WriteLiteral(" class=\"sb-search-submit btn-search\""); 2997 2998 WriteLiteral(" type=\"submit\""); 2999 3000 WriteLiteral(" value=\"\""); 3001 3002 WriteLiteral(">\r\n \t\t\t<span"); 3003 3004 WriteLiteral(" class=\"sb-icon-search fa fa-search\""); 3005 3006 WriteLiteral(" data-toggle=\"tooltip\""); 3007 3008 WriteLiteral(" data-placement=\"bottom\""); 3009 3010 WriteLiteral(" title=\"Search\""); 3011 3012 WriteLiteral("></span>\r\n \t\t\t</form>\r\n\t\t\t</div> \r\n </div>\r\n"); 3013 3014 3015 #line 413 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 3016 }else { 3017 3018 3019 3020 #line default 3021 #line hidden 3022 WriteLiteral(" <div"); 3023 3024 WriteLiteral(" id=\"sb-search\""); 3025 3026 WriteLiteral(" class=\"sb-search\""); 3027 3028 WriteLiteral("> \r\n <div"); 3029 3030 WriteLiteral(" class=\"form-group\""); 3031 3032 WriteLiteral(" style=\"position: relative;\""); 3033 3034 WriteLiteral(">\r\n <form"); 3035 3036 WriteLiteral(" action=\"/en/search.aspx\""); 3037 3038 WriteLiteral(" method=\"GET\""); 3039 3040 WriteLiteral("> \r\n \t <input"); 3041 3042 WriteLiteral(" class=\"sb-search-input\""); 3043 3044 WriteLiteral(" placeholder=\"Input keyword ....\""); 3045 3046 WriteLiteral(" type=\"text\""); 3047 3048 WriteLiteral(" value=\"\""); 3049 3050 WriteLiteral(" name=\"q\""); 3051 3052 WriteLiteral(" id=\"q\""); 3053 3054 WriteLiteral(">\r\n \t <input"); 3055 3056 WriteLiteral(" class=\"sb-search-submit btn-search\""); 3057 3058 WriteLiteral(" type=\"submit\""); 3059 3060 WriteLiteral(" value=\"\""); 3061 3062 WriteLiteral(">\r\n <span"); 3063 3064 WriteLiteral(" class=\"sb-icon-search fa fa-search\""); 3065 3066 WriteLiteral(" data-toggle=\"tooltip\""); 3067 3068 WriteLiteral(" data-placement=\"bottom\""); 3069 3070 WriteLiteral(" title=\"Search\""); 3071 3072 WriteLiteral("></span>\r\n </form>\r\n\t</div>\r\n </div>\r\n"); 3073 3074 3075 #line 424 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 3076 } 3077 3078 3079 #line default 3080 #line hidden 3081 WriteLiteral(@" 3082 3083 3084 3085 3086 </nav><!-- .navbar --> 3087 3088 3089 </div> 3090 </div> 3091 </div> 3092 </div> 3093 </div><!--.container --> 3094 </div><!-- .mag-content --> 3095 </header></div><!-- .container --> 3096 <!-- .header --> 3097 3098 <!-- .header-wrapper --> 3099 3100 <!-- Begin Main Wrapper --> 3101 <div"); 3102 3103 WriteLiteral(" class=\"container main-wrapper\""); 3104 3105 WriteLiteral(">\r\n\r\n"); 3106 3107 3108 #line 447 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 3109 3110 3111 #line default 3112 #line hidden 3113 3114 #line 447 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 3115 if (string.IsNullOrEmpty(System.Web.HttpContext.Current.Request.Params["productid"])) 3116 { 3117 3118 3119 #line default 3120 #line hidden 3121 WriteLiteral(" <div"); 3122 3123 WriteLiteral(" class=\"hidden-xs hidden-sm hidden-md skyscraper--left\""); 3124 3125 WriteLiteral(">\r\n <div"); 3126 3127 WriteLiteral(" class=\"sticky default\""); 3128 3129 WriteLiteral(">\r\n <span>\r\n <ins"); 3130 3131 WriteLiteral(" data-revive-zoneid=\"2\""); 3132 3133 WriteLiteral(" data-revive-id=\"30be11c85ce356e14970630466da228f\""); 3134 3135 WriteLiteral("></ins>\r\n <script"); 3136 3137 WriteLiteral(" async=\"\""); 3138 3139 WriteLiteral(" src=\"//adserver.dotfusion.ro/revive/www/delivery/asyncjs.php\""); 3140 3141 WriteLiteral("></script>\r\n </span>\r\n </div>\r\n</div>\r\n"); 3142 3143 WriteLiteral(" <div"); 3144 3145 WriteLiteral(" class=\"hidden-xs hidden-sm hidden-md skyscraper--right\""); 3146 3147 WriteLiteral(">\r\n <div"); 3148 3149 WriteLiteral(" class=\"sticky default\""); 3150 3151 WriteLiteral(">\r\n <span>\r\n <ins"); 3152 3153 WriteLiteral(" data-revive-zoneid=\"3\""); 3154 3155 WriteLiteral(" data-revive-id=\"30be11c85ce356e14970630466da228f\""); 3156 3157 WriteLiteral("></ins>\r\n </span>\r\n </div>\r\n</div>\r\n"); 3158 3159 3160 #line 464 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 3161 } 3162 3163 3164 #line default 3165 #line hidden 3166 WriteLiteral(" \r\n"); 3167 3168 3169 #line 466 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 3170 3171 3172 #line default 3173 #line hidden 3174 3175 #line 466 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 3176 if(@GetInteger("DwPageID") == 4228) 3177 { 3178 3179 3180 #line default 3181 #line hidden 3182 WriteLiteral(" <style>\r\n .ad728-wrapper {\r\n marg" + 3183 "in: 40px auto 0px;\r\n }\r\n </style>\r\n"); 3184 3185 3186 #line 473 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 3187 3188 string logoSubheader = GetString("Item.Area.Logo_IBuySmart"); 3189 string culoareFundal = !string.IsNullOrEmpty(GetString("Item.Area.CuloareFundal")) ? "background:" + GetString("Item.Area.CuloareFundal") + ";" : ""; 3190 string culoareFont = !string.IsNullOrEmpty(GetString("Item.Area.CuloareFont")) ? "color:" + GetString("Item.Area.CuloareFont") + ";" : ""; 3191 string textSubheader = GetString("Item.Area.Text"); 3192 string dimensiuneFont = !string.IsNullOrEmpty(GetString("Item.Area.DimensiuneFont")) ? "font-size:" + GetString("Item.Area.DimensiuneFont") + ";" : ""; 3193 3194 3195 if (isMobile) 3196 { 3197 3198 3199 #line default 3200 #line hidden 3201 WriteLiteral(" <div"); 3202 3203 WriteLiteral(" class=\"subheader row\""); 3204 3205 WriteAttribute("style", Tuple.Create(" style=\"", 26549), Tuple.Create("\"", 26571) 3206 3207 #line 483 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 3208 , Tuple.Create(Tuple.Create("", 26557), Tuple.Create<System.Object, System.Int32>(culoareFundal 3209 3210 #line default 3211 #line hidden 3212 , 26557), false) 3213 ); 3214 3215 WriteLiteral(">\r\n <div"); 3216 3217 WriteLiteral(" class=\"row\""); 3218 3219 WriteLiteral(">\r\n <div"); 3220 3221 WriteLiteral(" class=\"col-xs-7\""); 3222 3223 WriteLiteral(">\r\n <a"); 3224 3225 WriteAttribute("href", Tuple.Create(" href=\"", 26716), Tuple.Create("\"", 26736) 3226 3227 #line 486 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 3228 , Tuple.Create(Tuple.Create("", 26723), Tuple.Create<System.Object, System.Int32>(ibuySmartUrl 3229 3230 #line default 3231 #line hidden 3232 , 26723), false) 3233 ); 3234 3235 WriteLiteral("><img"); 3236 3237 WriteAttribute("src", Tuple.Create(" src=\"", 26742), Tuple.Create("\"", 26762) 3238 3239 #line 486 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 3240 , Tuple.Create(Tuple.Create("", 26748), Tuple.Create<System.Object, System.Int32>(logoSubheader 3241 3242 #line default 3243 #line hidden 3244 , 26748), false) 3245 ); 3246 3247 WriteLiteral("></a>\r\n </div>\r\n <d" + 3248 "iv"); 3249 3250 WriteLiteral(" class=\"col-xs-5\""); 3251 3252 WriteLiteral(">\r\n <h4"); 3253 3254 WriteAttribute("style", Tuple.Create(" style=\"", 26905), Tuple.Create("\"", 26941) 3255 3256 #line 489 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 3257 , Tuple.Create(Tuple.Create("", 26913), Tuple.Create<System.Object, System.Int32>(culoareFont 3258 3259 #line default 3260 #line hidden 3261 , 26913), false) 3262 3263 #line 489 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 3264 , Tuple.Create(Tuple.Create(" ", 26925), Tuple.Create<System.Object, System.Int32>(dimensiuneFont 3265 3266 #line default 3267 #line hidden 3268 , 26926), false) 3269 ); 3270 3271 WriteLiteral(">"); 3272 3273 3274 #line 489 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 3275 Write(textSubheader); 3276 3277 3278 #line default 3279 #line hidden 3280 WriteLiteral("</h4>\r\n </div>\r\n </div>" + 3281 "\r\n <div"); 3282 3283 WriteLiteral(" class=\"row\""); 3284 3285 WriteLiteral(">\r\n <div"); 3286 3287 WriteLiteral(" class=\"col-xs-12\""); 3288 3289 WriteLiteral(">"); 3290 3291 3292 #line 493 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 3293 Write(RenderSnippet("SearchProduse")); 3294 3295 3296 #line default 3297 #line hidden 3298 WriteLiteral("</div>\r\n </div>\r\n </div>\r\n"); 3299 3300 3301 #line 496 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 3302 } 3303 else 3304 { 3305 3306 3307 #line default 3308 #line hidden 3309 WriteLiteral(" <div"); 3310 3311 WriteLiteral(" class=\"subheader row\""); 3312 3313 WriteAttribute("style", Tuple.Create(" style=\"", 27371), Tuple.Create("\"", 27393) 3314 3315 #line 499 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 3316 , Tuple.Create(Tuple.Create("", 27379), Tuple.Create<System.Object, System.Int32>(culoareFundal 3317 3318 #line default 3319 #line hidden 3320 , 27379), false) 3321 ); 3322 3323 WriteLiteral(">\r\n <div"); 3324 3325 WriteLiteral(" class=\"col-xs-4\""); 3326 3327 WriteLiteral(">\r\n <a"); 3328 3329 WriteAttribute("href", Tuple.Create(" href=\"", 27483), Tuple.Create("\"", 27503) 3330 3331 #line 501 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 3332 , Tuple.Create(Tuple.Create("", 27490), Tuple.Create<System.Object, System.Int32>(ibuySmartUrl 3333 3334 #line default 3335 #line hidden 3336 , 27490), false) 3337 ); 3338 3339 WriteLiteral("><img"); 3340 3341 WriteAttribute("src", Tuple.Create(" src=\"", 27509), Tuple.Create("\"", 27529) 3342 3343 #line 501 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 3344 , Tuple.Create(Tuple.Create("", 27515), Tuple.Create<System.Object, System.Int32>(logoSubheader 3345 3346 #line default 3347 #line hidden 3348 , 27515), false) 3349 ); 3350 3351 WriteLiteral("></a>\r\n </div>\r\n <div"); 3352 3353 WriteLiteral(" class=\"col-xs-5\""); 3354 3355 WriteLiteral(">\r\n <h4"); 3356 3357 WriteAttribute("style", Tuple.Create(" style=\"", 27660), Tuple.Create("\"", 27696) 3358 3359 #line 504 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 3360 , Tuple.Create(Tuple.Create("", 27668), Tuple.Create<System.Object, System.Int32>(culoareFont 3361 3362 #line default 3363 #line hidden 3364 , 27668), false) 3365 3366 #line 504 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 3367 , Tuple.Create(Tuple.Create(" ", 27680), Tuple.Create<System.Object, System.Int32>(dimensiuneFont 3368 3369 #line default 3370 #line hidden 3371 , 27681), false) 3372 ); 3373 3374 WriteLiteral(">"); 3375 3376 3377 #line 504 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 3378 Write(textSubheader); 3379 3380 3381 #line default 3382 #line hidden 3383 WriteLiteral("</h4>\r\n </div>\r\n <div"); 3384 3385 WriteLiteral(" class=\"col-xs-12 col-md-3\""); 3386 3387 WriteLiteral(">"); 3388 3389 3390 #line 506 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 3391 Write(RenderSnippet("SearchProduse")); 3392 3393 3394 #line default 3395 #line hidden 3396 WriteLiteral("</div>\r\n </div>\r\n"); 3397 3398 3399 #line 508 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 3400 3401 } 3402 3403 3404 } 3405 3406 3407 #line default 3408 #line hidden 3409 WriteLiteral(" \r\n"); 3410 3411 3412 #line 514 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 3413 3414 3415 #line default 3416 #line hidden 3417 3418 #line 514 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 3419 if(@GetInteger("DwAreaID") == 3){ 3420 3421 3422 #line default 3423 #line hidden 3424 WriteLiteral(" <style>\r\n .ad728-wrapper {\r\n " + 3425 " margin: 40px auto 0px;\r\n }\r\n </style>\r\n"); 3426 3427 3428 #line 520 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 3429 3430 string logoSubheader = GetString("Item.Area.LogoIndustryZoom"); 3431 string culoareFundal = !string.IsNullOrEmpty(GetString("Item.Area.CuloareFundal_Industryzoom")) ? "background:" + GetString("Item.Area.CuloareFundal_Industryzoom") + ";" : ""; 3432 string culoareFont = !string.IsNullOrEmpty(GetString("Item.Area.Culoare_Font_IndustryZoom")) ? "color:" + GetString("Item.Area.Culoare_Font_IndustryZoom") + ";" : ""; 3433 string textSubheader = GetString("Item.Area.Text_Subheader_Industry_Zoom"); 3434 string dimensiuneFont = !string.IsNullOrEmpty(GetString("Item.Area.Dimensiune_Font_IndustryZoom")) ? "font-size:" + GetString("Item.Area.Dimensiune_Font_IndustryZoom") + ";" : ""; 3435 3436 3437 3438 #line default 3439 #line hidden 3440 WriteLiteral(" <div"); 3441 3442 WriteLiteral(" class=\"subheader row\""); 3443 3444 WriteAttribute("style", Tuple.Create(" style=\"", 28986), Tuple.Create("\"", 29008) 3445 3446 #line 527 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 3447 , Tuple.Create(Tuple.Create("", 28994), Tuple.Create<System.Object, System.Int32>(culoareFundal 3448 3449 #line default 3450 #line hidden 3451 , 28994), false) 3452 ); 3453 3454 WriteLiteral(">\r\n"); 3455 3456 3457 #line 528 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 3458 3459 3460 #line default 3461 #line hidden 3462 3463 #line 528 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 3464 if (!string.IsNullOrEmpty(textSubheader)) { 3465 3466 3467 #line default 3468 #line hidden 3469 WriteLiteral(" <div"); 3470 3471 WriteLiteral(" class=\"col-xs-4\""); 3472 3473 WriteLiteral(">\r\n <img"); 3474 3475 WriteAttribute("src", Tuple.Create(" src=\"", 29152), Tuple.Create("\"", 29172) 3476 3477 #line 530 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 3478 , Tuple.Create(Tuple.Create("", 29158), Tuple.Create<System.Object, System.Int32>(logoSubheader 3479 3480 #line default 3481 #line hidden 3482 , 29158), false) 3483 ); 3484 3485 WriteLiteral(">\r\n </div>\r\n"); 3486 3487 WriteLiteral(" <div"); 3488 3489 WriteLiteral(" class=\"col-xs-5\""); 3490 3491 WriteLiteral(">\r\n <h4"); 3492 3493 WriteAttribute("style", Tuple.Create(" style=\"", 29279), Tuple.Create("\"", 29315) 3494 3495 #line 533 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 3496 , Tuple.Create(Tuple.Create("", 29287), Tuple.Create<System.Object, System.Int32>(culoareFont 3497 3498 #line default 3499 #line hidden 3500 , 29287), false) 3501 3502 #line 533 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 3503 , Tuple.Create(Tuple.Create(" ", 29299), Tuple.Create<System.Object, System.Int32>(dimensiuneFont 3504 3505 #line default 3506 #line hidden 3507 , 29300), false) 3508 ); 3509 3510 WriteLiteral(">"); 3511 3512 3513 #line 533 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 3514 Write(textSubheader); 3515 3516 3517 #line default 3518 #line hidden 3519 WriteLiteral("</h4>\r\n </div>\r\n"); 3520 3521 WriteLiteral(" <div"); 3522 3523 WriteLiteral(" class=\"col-xs-12 col-md-3\""); 3524 3525 WriteLiteral(">"); 3526 3527 3528 #line 535 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 3529 Write(RenderSnippet("SearchProduse")); 3530 3531 3532 #line default 3533 #line hidden 3534 WriteLiteral("</div>\r\n"); 3535 3536 3537 #line 536 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 3538 } else { 3539 3540 3541 #line default 3542 #line hidden 3543 WriteLiteral(" <div"); 3544 3545 WriteLiteral(" class=\"col-xs-12 noPadding\""); 3546 3547 WriteLiteral(">\r\n <img"); 3548 3549 WriteAttribute("src", Tuple.Create(" src=\"", 29576), Tuple.Create("\"", 29596) 3550 3551 #line 538 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 3552 , Tuple.Create(Tuple.Create("", 29582), Tuple.Create<System.Object, System.Int32>(logoSubheader 3553 3554 #line default 3555 #line hidden 3556 , 29582), false) 3557 ); 3558 3559 WriteLiteral(" style=\"margin: 10px 0 -30px 0;\""); 3560 3561 WriteLiteral(">\r\n </div>\r\n"); 3562 3563 3564 #line 540 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 3565 } 3566 3567 3568 #line default 3569 #line hidden 3570 WriteLiteral(" </div>\r\n"); 3571 3572 3573 #line 542 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 3574 3575 } 3576 3577 3578 #line default 3579 #line hidden 3580 WriteLiteral(" \r\n \r\n"); 3581 3582 3583 #line 546 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 3584 3585 3586 #line default 3587 #line hidden 3588 3589 #line 546 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 3590 if(@GetInteger("DwPageID") == 4218 || @GetInteger("DwPageID") == 4271 || @GetInteger("DwPageID") == 8376 ){ 3591 3592 3593 #line default 3594 #line hidden 3595 WriteLiteral(" <style>\r\n .ad728-wrapper {\r\n margin" + 3596 ": 40px auto 0px;\r\n }\r\n </style>\r\n"); 3597 3598 3599 #line 552 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 3600 3601 string logoSubheader = GetString("Item.Area.Logo_Companii"); 3602 string culoareFundal = !string.IsNullOrEmpty(GetString("Item.Area.CuloareFundalCompanii")) ? "background:" + GetString("Item.Area.CuloareFundalCompanii") + ";" : ""; 3603 string culoareFont = !string.IsNullOrEmpty(GetString("Item.Area.CuloareFontCompanii")) ? "color:" + GetString("Item.Area.CuloareFontCompanii") + ";" : ""; 3604 string textSubheader = GetString("Item.Area.TextSubheaderCompanii"); 3605 string dimensiuneFont = !string.IsNullOrEmpty(GetString("Item.Area.DimensiuneFontCompanii")) ? "font-size:" + GetString("Item.Area.DimensiuneFontCompanii") + ";" : ""; 3606 3607 3608 3609 #line default 3610 #line hidden 3611 WriteLiteral(" <div"); 3612 3613 WriteLiteral(" class=\"subheader row\""); 3614 3615 WriteAttribute("style", Tuple.Create(" style=\"", 30753), Tuple.Create("\"", 30775) 3616 3617 #line 559 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 3618 , Tuple.Create(Tuple.Create("", 30761), Tuple.Create<System.Object, System.Int32>(culoareFundal 3619 3620 #line default 3621 #line hidden 3622 , 30761), false) 3623 ); 3624 3625 WriteLiteral(">\r\n <div"); 3626 3627 WriteLiteral(" class=\"col-xs-4\""); 3628 3629 WriteLiteral(">\r\n <img"); 3630 3631 WriteAttribute("src", Tuple.Create(" src=\"", 30845), Tuple.Create("\"", 30865) 3632 3633 #line 561 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 3634 , Tuple.Create(Tuple.Create("", 30851), Tuple.Create<System.Object, System.Int32>(logoSubheader 3635 3636 #line default 3637 #line hidden 3638 , 30851), false) 3639 ); 3640 3641 WriteLiteral(">\r\n </div>\r\n <div"); 3642 3643 WriteLiteral(" class=\"col-xs-8\""); 3644 3645 WriteLiteral(">\r\n <h4"); 3646 3647 WriteAttribute("style", Tuple.Create(" style=\"", 30960), Tuple.Create("\"", 30997) 3648 3649 #line 564 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 3650 , Tuple.Create(Tuple.Create("", 30968), Tuple.Create<System.Object, System.Int32>(culoareFont 3651 3652 #line default 3653 #line hidden 3654 , 30968), false) 3655 , Tuple.Create(Tuple.Create("", 30980), Tuple.Create(";", 30980), true) 3656 3657 #line 564 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 3658 , Tuple.Create(Tuple.Create(" ", 30981), Tuple.Create<System.Object, System.Int32>(dimensiuneFont 3659 3660 #line default 3661 #line hidden 3662 , 30982), false) 3663 ); 3664 3665 WriteLiteral(">"); 3666 3667 3668 #line 564 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 3669 Write(textSubheader); 3670 3671 3672 #line default 3673 #line hidden 3674 WriteLiteral("</h4>\r\n </div>\r\n </div>\r\n"); 3675 3676 3677 #line 567 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 3678 } 3679 3680 3681 #line default 3682 #line hidden 3683 WriteLiteral(" \r\n"); 3684 3685 3686 #line 569 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 3687 3688 3689 #line default 3690 #line hidden 3691 3692 #line 569 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 3693 if(GetString("DwPageID") == "4228" || GetString("DwPageID") == "4218" || GetString("DwPageID") == "8376"){ 3694 3695 3696 } else { 3697 3698 3699 #line default 3700 #line hidden 3701 WriteLiteral(" <!-- Begin Main Banner -->\r\n"); 3702 3703 WriteLiteral(" <div"); 3704 3705 WriteLiteral(" class=\"mag-content clearfix \""); 3706 3707 WriteLiteral(" style=\"margin-bottom: 30px; padding-left: 0px; padding-right: 0px;\""); 3708 3709 WriteLiteral(">\r\n <div"); 3710 3711 WriteLiteral(" class=\"row\""); 3712 3713 WriteLiteral(">\r\n <div"); 3714 3715 WriteLiteral(" class=\"col-md-12\""); 3716 3717 WriteLiteral(">\r\n \r\n <div"); 3718 3719 WriteLiteral(" class=\"ad728-wrapper\""); 3720 3721 WriteLiteral(">\r\n <ins"); 3722 3723 WriteLiteral(" data-revive-zoneid=\"1\""); 3724 3725 WriteLiteral(" data-revive-id=\"30be11c85ce356e14970630466da228f\""); 3726 3727 WriteLiteral("></ins>\r\n<script"); 3728 3729 WriteLiteral(" async=\"\""); 3730 3731 WriteLiteral(" src=\"//adserver.dotfusion.ro/revive/www/delivery/asyncjs.php\""); 3732 3733 WriteLiteral("></script>\r\n </div>\r\n \r\n " + 3734 " </div>\r\n </div>\r\n </div>\r\n"); 3735 3736 WriteLiteral(" <!-- End Main Banner -->\r\n"); 3737 3738 3739 #line 587 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 3740 } 3741 3742 3743 #line default 3744 #line hidden 3745 WriteLiteral("\r\n"); 3746 3747 3748 #line 589 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 3749 3750 3751 #line default 3752 #line hidden 3753 3754 #line 589 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 3755 3756 string backgroundClassShop = (GetString("DwPageID") == "4228") ? "shop-background" : " "; 3757 string backgroundClassCompanii = (GetString("DwPageID") == "4218" || GetString("DwPageID") == "8376" ) ? "companii-background" : " "; 3758 string backgroundClassIndustry = (GetString("DwPageID") == "4271") ? "industry-background" : " "; 3759 3760 3761 3762 #line default 3763 #line hidden 3764 WriteLiteral("\r\n \r\n <div"); 3765 3766 WriteAttribute("class", Tuple.Create(" class=\"", 32371), Tuple.Create("\"", 32483) 3767 , Tuple.Create(Tuple.Create("", 32379), Tuple.Create("main-content", 32379), true) 3768 , Tuple.Create(Tuple.Create(" ", 32391), Tuple.Create("mag-content", 32392), true) 3769 , Tuple.Create(Tuple.Create(" ", 32403), Tuple.Create("clearfix", 32404), true) 3770 3771 #line 596 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 3772 , Tuple.Create(Tuple.Create(" ", 32412), Tuple.Create<System.Object, System.Int32>(backgroundClassShop 3773 3774 #line default 3775 #line hidden 3776 , 32413), false) 3777 3778 #line 596 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 3779 , Tuple.Create(Tuple.Create(" ", 32433), Tuple.Create<System.Object, System.Int32>(backgroundClassCompanii 3780 3781 #line default 3782 #line hidden 3783 , 32434), false) 3784 3785 #line 596 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 3786 , Tuple.Create(Tuple.Create(" ", 32458), Tuple.Create<System.Object, System.Int32>(backgroundClassIndustry 3787 3788 #line default 3789 #line hidden 3790 , 32459), false) 3791 ); 3792 3793 WriteLiteral(">\r\n\r\n"); 3794 3795 3796 #line 598 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 3797 3798 3799 #line default 3800 #line hidden 3801 WriteLiteral("\r\n"); 3802 3803 3804 #line 604 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 3805 Write(GetValue("Title(Article page)")); 3806 3807 3808 #line default 3809 #line hidden 3810 WriteLiteral("\r\n"); 3811 3812 3813 #line 605 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 3814 Write(GetValue("Description(Pagina de articol)")); 3815 3816 3817 #line default 3818 #line hidden 3819 WriteLiteral("\r\n"); 3820 3821 WriteLiteral("\r\n"); 3822 3823 WriteLiteral("\r\n"); 3824 3825 3826 #line 824 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 3827 3828 string designName = GetString("Template:DesignBaseUrl").Replace("/Files/Templates/Designs/", "").Replace("/", ""); 3829 3830 3831 #line default 3832 #line hidden 3833 WriteLiteral("\r\n\r\n"); 3834 3835 WriteLiteral("\r\n"); 3836 3837 WriteLiteral("\r\n"); 3838 3839 3840 #line 968 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 3841 3842 string articleImage = GetString("Item.ImaginePrincipala.Value"); 3843 string articleAutori = GetString("Item.Autori"); 3844 string articleCompanyDe = GetString("Item.De_Companie"); 3845 int articleSectiuneID = GetInteger("Item.SectiuneParinteId"); 3846 string articleID = GetString("Item.Id.Value"); 3847 bool AdserverBanner = GetBoolean("Item.Adserver_Banner.Value"); 3848 string linkBanner = GetString("Item.Link_Banner"); 3849 string imagineBanner = GetString("Item.Imagine_Banner"); 3850 string linkAutor = ""; 3851 string nrEditie= GetString("Item.Editie.Value"); 3852 3853 var pageId = GetPageIdByNavigationTag("ArticlesFeed").ToString(); 3854 var autorPageID = GetPageIdByNavigationTag("AutoriFeed").ToString(); 3855 var autorPage = GetPageIdByNavigationTag("PaginaAutori").ToString(); 3856 var pageService = new Dynamicweb.Content.PageService(); 3857 var articlesID = pageService.GetPageForItem("Dw_Page", articleID).ID; 3858 var currentPageId = GetInteger("DWPageID"); 3859 var currentPage = GetGlobalValue("Global:Page.ID").ToString(); 3860 3861 3862 #line default 3863 #line hidden 3864 WriteLiteral("\r\n\r\n\r\n"); 3865 3866 3867 #line 990 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 3868 Write(SnippetStart("OGMeta")); 3869 3870 3871 #line default 3872 #line hidden 3873 WriteLiteral("\r\n"); 3874 3875 3876 #line 991 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 3877 3878 var httpdomain = "http://" + GetGlobalValue("Global:Request.Host"); 3879 var og_item_image = Uri.EscapeUriString(logo); 3880 var og_page_image = Uri.EscapeUriString(articleImage); 3881 var ogimage = !string.IsNullOrWhiteSpace(og_page_image) ? string.Format("{0}{1}", httpdomain, og_page_image) : string.Format("{0}{1}", httpdomain, og_item_image); //httpdomain is declared in Master.cshtml 3882 3883 3884 #line default 3885 #line hidden 3886 WriteLiteral("\r\n"); 3887 3888 3889 #line 997 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 3890 if (!string.IsNullOrWhiteSpace(og_item_image) || !string.IsNullOrWhiteSpace(og_page_image)) 3891 { 3892 3893 3894 #line default 3895 #line hidden 3896 WriteLiteral(" <meta"); 3897 3898 WriteLiteral(" property=\"og:image\""); 3899 3900 WriteAttribute("content", Tuple.Create(" content=\"", 45926), Tuple.Create("\"", 45944) 3901 3902 #line 999 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 3903 , Tuple.Create(Tuple.Create("", 45936), Tuple.Create<System.Object, System.Int32>(ogimage 3904 3905 #line default 3906 #line hidden 3907 , 45936), false) 3908 ); 3909 3910 WriteLiteral(">\r\n"); 3911 3912 WriteLiteral(" <meta"); 3913 3914 WriteLiteral(" property=\"og:image:width\""); 3915 3916 WriteLiteral(" content=\"600\""); 3917 3918 WriteLiteral(">\r\n"); 3919 3920 WriteLiteral(" <meta"); 3921 3922 WriteLiteral(" property=\"og:image:height\""); 3923 3924 WriteLiteral(" content=\"600\""); 3925 3926 WriteLiteral(">\r\n"); 3927 3928 3929 #line 1002 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 3930 } 3931 3932 3933 #line default 3934 #line hidden 3935 3936 #line 1003 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 3937 Write(SnippetEnd("OGMeta")); 3938 3939 3940 #line default 3941 #line hidden 3942 WriteLiteral("\r\n <div"); 3943 3944 WriteLiteral(" class=\"row blog-content\""); 3945 3946 WriteLiteral(" data-stickyparent=\"\""); 3947 3948 WriteLiteral("> \r\n <div"); 3949 3950 WriteLiteral(" class=\"col-xs-12 col-sm-12 col-md-8 col-lg-8 \""); 3951 3952 WriteLiteral(">\r\n <article"); 3953 3954 WriteLiteral(" class=\"post-wrapper clearfix\""); 3955 3956 WriteLiteral(">\r\n <div"); 3957 3958 WriteLiteral(" class=\"first-container-article\""); 3959 3960 WriteLiteral(" data-template=\"ArticleBodyTemplate\""); 3961 3962 WriteLiteral(" data-json-feed=\"/Default.aspx?ID="); 3963 3964 3965 #line 1007 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 3966 Write(pageId); 3967 3968 3969 #line default 3970 #line hidden 3971 WriteLiteral("&PageID="); 3972 3973 3974 #line 1007 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 3975 Write(articlesID); 3976 3977 3978 #line default 3979 #line hidden 3980 WriteLiteral("\""); 3981 3982 WriteLiteral(">\r\n"); 3983 3984 WriteLiteral(" "); 3985 3986 3987 #line 1008 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 3988 Write(RenderPlaceholderImageTop("pre-render-element--xl")); 3989 3990 3991 #line default 3992 #line hidden 3993 WriteLiteral("\r\n </div>\r\n </article><!-- .post-wrapper -->\r\n\r\n"); 3994 3995 WriteLiteral(" "); 3996 3997 3998 #line 1012 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 3999 Write(SnippetStart("Tags")); 4000 4001 4002 #line default 4003 #line hidden 4004 WriteLiteral("\r\n <div"); 4005 4006 WriteLiteral(" class=\"sidebar-handlebars-wrapper\""); 4007 4008 WriteLiteral(" data-template=\"TagsTemplate\""); 4009 4010 WriteLiteral(" data-json-feed=\"/Default.aspx?ID="); 4011 4012 4013 #line 1013 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 4014 Write(pageId); 4015 4016 4017 #line default 4018 #line hidden 4019 WriteLiteral("&PageID="); 4020 4021 4022 #line 1013 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 4023 Write(articlesID); 4024 4025 4026 #line default 4027 #line hidden 4028 WriteLiteral("\""); 4029 4030 WriteLiteral(">\r\n </div>\r\n"); 4031 4032 WriteLiteral(" "); 4033 4034 4035 #line 1015 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 4036 Write(SnippetEnd("Tags")); 4037 4038 4039 #line default 4040 #line hidden 4041 WriteLiteral("\r\n <div"); 4042 4043 WriteLiteral(" class=\"row\""); 4044 4045 WriteLiteral(">\r\n"); 4046 4047 WriteLiteral(" "); 4048 4049 4050 #line 1017 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 4051 Write(GetValue("DwNavigation(blogposts)")); 4052 4053 4054 #line default 4055 #line hidden 4056 WriteLiteral("\r\n </div> \r\n <div"); 4057 4058 WriteLiteral(" class=\"related-posts clearfix\""); 4059 4060 WriteLiteral(">\r\n <!-- Mid ad -->\r\n"); 4061 4062 4063 #line 1021 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 4064 4065 4066 #line default 4067 #line hidden 4068 4069 #line 1021 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 4070 if(AdserverBanner == true){ 4071 4072 4073 4074 #line default 4075 #line hidden 4076 WriteLiteral(" <div"); 4077 4078 WriteLiteral(" class=\"row mb-20\""); 4079 4080 WriteLiteral(">\r\n <div"); 4081 4082 WriteLiteral(" class=\"mag-content clearfix\""); 4083 4084 WriteLiteral(">\r\n <div"); 4085 4086 WriteLiteral(" class=\"row\""); 4087 4088 WriteLiteral(">\r\n <div"); 4089 4090 WriteLiteral(" class=\"col-md-12\""); 4091 4092 WriteLiteral("> \r\n <div"); 4093 4094 WriteLiteral(" class=\"ad666-wrapper\""); 4095 4096 WriteLiteral(">\r\n <ins"); 4097 4098 WriteLiteral(" data-revive-zoneid=\"1\""); 4099 4100 WriteLiteral(" data-revive-id=\"30be11c85ce356e14970630466da228f\""); 4101 4102 WriteLiteral("></ins>\r\n<script"); 4103 4104 WriteLiteral(" async=\"\""); 4105 4106 WriteLiteral(" src=\"//adserver.dotfusion.ro/revive/www/delivery/asyncjs.php\""); 4107 4108 WriteLiteral("></script>\r\n </div> \r\n " + 4109 " </div>\r\n </div>\r\n " + 4110 " </div>\r\n </div>\r\n"); 4111 4112 4113 #line 1035 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 4114 }else if( !string.IsNullOrEmpty(linkBanner) && !string.IsNullOrEmpty(imagineBanner) ){ 4115 4116 4117 4118 #line default 4119 #line hidden 4120 WriteLiteral(" <div"); 4121 4122 WriteLiteral(" class=\"row mb-20\""); 4123 4124 WriteLiteral(">\r\n <div"); 4125 4126 WriteLiteral(" class=\"mag-content clearfix\""); 4127 4128 WriteLiteral(">\r\n <div"); 4129 4130 WriteLiteral(" class=\"row\""); 4131 4132 WriteLiteral(">\r\n <div"); 4133 4134 WriteLiteral(" class=\"col-md-12\""); 4135 4136 WriteLiteral("> \r\n <div"); 4137 4138 WriteLiteral(" class=\"ad666-wrapper\""); 4139 4140 WriteLiteral(">\r\n <a"); 4141 4142 WriteAttribute("href", Tuple.Create(" href=\"", 48202), Tuple.Create("\"", 48220) 4143 4144 #line 1042 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 4145 , Tuple.Create(Tuple.Create("", 48209), Tuple.Create<System.Object, System.Int32>(linkBanner 4146 4147 #line default 4148 #line hidden 4149 , 48209), false) 4150 ); 4151 4152 WriteLiteral(">\r\n <img"); 4153 4154 WriteAttribute("src", Tuple.Create(" src=\"", 48268), Tuple.Create("\"", 48288) 4155 4156 #line 1043 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 4157 , Tuple.Create(Tuple.Create("", 48274), Tuple.Create<System.Object, System.Int32>(imagineBanner 4158 4159 #line default 4160 #line hidden 4161 , 48274), false) 4162 ); 4163 4164 WriteLiteral(@"> 4165 4166 </a> 4167 </div> 4168 </div> 4169 </div> 4170 </div> 4171 </div> 4172 "); 4173 4174 4175 #line 1051 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 4176 4177 } 4178 4179 4180 #line default 4181 #line hidden 4182 WriteLiteral(" <!-- End Mid ad -->\r\n \r\n <div"); 4183 4184 WriteLiteral(" class=\"row\""); 4185 4186 WriteLiteral(">\r\n \r\n <div"); 4187 4188 WriteLiteral(" class=\"col-md-6\""); 4189 4190 WriteLiteral(">\r\n <h3"); 4191 4192 WriteLiteral(" class=\"block-title\""); 4193 4194 WriteLiteral("><span>"); 4195 4196 4197 #line 1058 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 4198 Write(Translate("De acelasi autor","De acelasi autor")); 4199 4200 4201 #line default 4202 #line hidden 4203 WriteLiteral("</span></h3>\r\n <div"); 4204 4205 WriteLiteral(" class=\"row author-template\""); 4206 4207 WriteLiteral(" data-template=\"SectionTemplate\""); 4208 4209 WriteLiteral(" data-json-feed=\"/Default.aspx?ID="); 4210 4211 4212 #line 1059 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 4213 Write(pageId); 4214 4215 4216 #line default 4217 #line hidden 4218 WriteLiteral("&PageSize=3&SectiuneParinte="); 4219 4220 4221 #line 1059 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 4222 Write(articleSectiuneID); 4223 4224 4225 #line default 4226 #line hidden 4227 WriteLiteral("&Excluded="); 4228 4229 4230 #line 1059 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 4231 Write(currentPageId); 4232 4233 4234 #line default 4235 #line hidden 4236 WriteLiteral("\""); 4237 4238 WriteLiteral(">\r\n <div"); 4239 4240 WriteLiteral(" style=\"margin-right: 5px\""); 4241 4242 WriteLiteral(">\r\n"); 4243 4244 WriteLiteral(" "); 4245 4246 4247 #line 1061 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 4248 Write(RenderPlaceholderImageTop("pre-render-element--md")); 4249 4250 4251 #line default 4252 #line hidden 4253 WriteLiteral("\r\n"); 4254 4255 WriteLiteral(" "); 4256 4257 4258 #line 1062 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 4259 Write(RenderPlaceholderImageTop("pre-render-element--md")); 4260 4261 4262 #line default 4263 #line hidden 4264 WriteLiteral("\r\n </div> \r\n </div>\r\n </div>\r\n " + 4265 " \r\n <div"); 4266 4267 WriteLiteral(" class=\"col-md-6\""); 4268 4269 WriteLiteral(">\r\n <h3"); 4270 4271 WriteLiteral(" class=\"block-title\""); 4272 4273 WriteLiteral("><span>"); 4274 4275 4276 #line 1068 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 4277 Write(Translate("Din aceeasi sectiune","Din aceeasi sectiune")); 4278 4279 4280 #line default 4281 #line hidden 4282 WriteLiteral("</span></h3>\r\n <div"); 4283 4284 WriteLiteral(" class=\"row section-template\""); 4285 4286 WriteLiteral(" data-template=\"SectionTemplate\""); 4287 4288 WriteLiteral(" data-json-feed=\"/Default.aspx?ID="); 4289 4290 4291 #line 1069 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 4292 Write(pageId); 4293 4294 4295 #line default 4296 #line hidden 4297 WriteLiteral("&PageSize=3&SectiuneParinte="); 4298 4299 4300 #line 1069 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 4301 Write(articleSectiuneID); 4302 4303 4304 #line default 4305 #line hidden 4306 WriteLiteral("&Excluded="); 4307 4308 4309 #line 1069 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 4310 Write(currentPageId); 4311 4312 4313 #line default 4314 #line hidden 4315 WriteLiteral(",\""); 4316 4317 WriteLiteral(">\r\n <div"); 4318 4319 WriteLiteral(" style=\"margin-left: 5px\""); 4320 4321 WriteLiteral(">\r\n"); 4322 4323 WriteLiteral(" "); 4324 4325 4326 #line 1071 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 4327 Write(RenderPlaceholderImageTop("pre-render-element--md")); 4328 4329 4330 #line default 4331 #line hidden 4332 WriteLiteral("\r\n"); 4333 4334 WriteLiteral(" "); 4335 4336 4337 #line 1072 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 4338 Write(RenderPlaceholderImageTop("pre-render-element--md")); 4339 4340 4341 #line default 4342 #line hidden 4343 WriteLiteral("\r\n </div> \r\n </div>\r\n </div>\r\n " + 4344 " </div> \r\n <div"); 4345 4346 WriteLiteral(" class=\"row row-butoane-articol\""); 4347 4348 WriteLiteral(">\r\n <div"); 4349 4350 WriteLiteral(" class=\"col-xs-12 col-sm-6 \""); 4351 4352 WriteLiteral("><a"); 4353 4354 WriteLiteral(" href=\"/revista\""); 4355 4356 WriteLiteral(" class=\"btn btn-primary btn-background\""); 4357 4358 WriteLiteral(">"); 4359 4360 4361 #line 1078 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 4362 Write(Translate("VeziSectiunileRevisteiT&T", "Sectiunile revistei T&T")); 4363 4364 4365 #line default 4366 #line hidden 4367 WriteLiteral("</a></div>\r\n <div"); 4368 4369 WriteLiteral(" class=\"col-xs-12 col-sm-6 \""); 4370 4371 WriteLiteral("><a"); 4372 4373 WriteLiteral(" href=\"/revista/web-exclusive\""); 4374 4375 WriteLiteral(" class=\"btn btn-primary btn-background\""); 4376 4377 WriteLiteral(">"); 4378 4379 4380 #line 1079 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 4381 Write(Translate("VeziArticoleWebExclusive", "Articole web exclusive")); 4382 4383 4384 #line default 4385 #line hidden 4386 WriteLiteral("</a></div>\r\n </div>\r\n \r\n"); 4387 4388 4389 #line 1082 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 4390 4391 4392 #line default 4393 #line hidden 4394 4395 #line 1082 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 4396 4397 int counter = 0; 4398 var Produse = GetLoop("Item.Produse.Value"); 4399 4400 if (Produse.Any()) 4401 { 4402 4403 4404 #line default 4405 #line hidden 4406 WriteLiteral(" <h3"); 4407 4408 WriteLiteral(" class=\"block-title\""); 4409 4410 WriteLiteral("><span>Produse</span></h3>\r\n"); 4411 4412 WriteLiteral(" <div"); 4413 4414 WriteLiteral(" class=\"row\""); 4415 4416 WriteLiteral(">\r\n <div"); 4417 4418 WriteLiteral(" class=\"col-md-12\""); 4419 4420 WriteLiteral(">\r\n <div"); 4421 4422 WriteLiteral(" class=\"owl-carousel owl-theme\""); 4423 4424 WriteLiteral(">\r\n"); 4425 4426 4427 #line 1092 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 4428 4429 4430 #line default 4431 #line hidden 4432 4433 #line 1092 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 4434 foreach (LoopItem i in Produse) 4435 { 4436 string mainImageRaw = i.GetString("Ecom:Product.ImageLarge.Default.Clean"); 4437 string mainImage = !string.IsNullOrEmpty(mainImageRaw) ? GetImage(mainImageRaw, 160, 120) + "&bgcolor=white" : "/Files/Images/NoImage/160x120.png"; 4438 string mainTitle = i.GetString("Ecom:Product.Name"); 4439 string mainURL = i.GetString("Ecom:Product.Link.Clean"); 4440 4441 4442 4443 #line default 4444 #line hidden 4445 WriteLiteral(" <div"); 4446 4447 WriteLiteral(" class=\"item\""); 4448 4449 WriteLiteral(">\r\n"); 4450 4451 4452 #line 1100 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 4453 4454 4455 #line default 4456 #line hidden 4457 4458 #line 1100 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 4459 if (!string.IsNullOrEmpty(i.GetString("Ecom:Product.ImageLarge.Default.Clean"))) 4460 { 4461 4462 4463 #line default 4464 #line hidden 4465 WriteLiteral(" <a"); 4466 4467 WriteAttribute("href", Tuple.Create(" href=\"", 51460), Tuple.Create("\"", 51475) 4468 4469 #line 1102 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 4470 , Tuple.Create(Tuple.Create("", 51467), Tuple.Create<System.Object, System.Int32>(mainURL 4471 4472 #line default 4473 #line hidden 4474 , 51467), false) 4475 ); 4476 4477 WriteLiteral("><img"); 4478 4479 WriteAttribute("src", Tuple.Create(" src=\"", 51481), Tuple.Create("\"", 51497) 4480 4481 #line 1102 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 4482 , Tuple.Create(Tuple.Create("", 51487), Tuple.Create<System.Object, System.Int32>(mainImage 4483 4484 #line default 4485 #line hidden 4486 , 51487), false) 4487 ); 4488 4489 WriteLiteral(" width=\"160\""); 4490 4491 WriteLiteral(" height=\"100\""); 4492 4493 WriteLiteral(" alt=\"\""); 4494 4495 WriteLiteral("></a>\r\n"); 4496 4497 4498 #line 1103 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 4499 } 4500 else 4501 { 4502 4503 4504 #line default 4505 #line hidden 4506 WriteLiteral(" <a"); 4507 4508 WriteAttribute("href", Tuple.Create(" href=\"", 51667), Tuple.Create("\"", 51682) 4509 4510 #line 1106 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 4511 , Tuple.Create(Tuple.Create("", 51674), Tuple.Create<System.Object, System.Int32>(mainURL 4512 4513 #line default 4514 #line hidden 4515 , 51674), false) 4516 ); 4517 4518 WriteLiteral("><img"); 4519 4520 WriteAttribute("src", Tuple.Create(" src=\"", 51688), Tuple.Create("\"", 51737) 4521 4522 #line 1106 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 4523 , Tuple.Create(Tuple.Create("", 51694), Tuple.Create<System.Object, System.Int32>(areaLayoutPath 4524 4525 #line default 4526 #line hidden 4527 , 51694), false) 4528 , Tuple.Create(Tuple.Create("", 51709), Tuple.Create("/assets/img/demo/160x120.png", 51709), true) 4529 ); 4530 4531 WriteLiteral(" height=\"100\""); 4532 4533 WriteLiteral(" alt=\"\""); 4534 4535 WriteLiteral("></a>\r\n"); 4536 4537 4538 #line 1107 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 4539 } 4540 4541 4542 #line default 4543 #line hidden 4544 WriteLiteral(" <h4><a"); 4545 4546 WriteAttribute("href", Tuple.Create(" href=\"", 51830), Tuple.Create("\"", 51845) 4547 4548 #line 1108 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 4549 , Tuple.Create(Tuple.Create("", 51837), Tuple.Create<System.Object, System.Int32>(mainURL 4550 4551 #line default 4552 #line hidden 4553 , 51837), false) 4554 ); 4555 4556 WriteLiteral(">"); 4557 4558 4559 #line 1108 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 4560 Write(mainTitle); 4561 4562 4563 #line default 4564 #line hidden 4565 WriteLiteral("</a></h4>\r\n </div>\r\n"); 4566 4567 4568 #line 1110 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 4569 4570 } 4571 4572 4573 #line default 4574 #line hidden 4575 WriteLiteral(" </div>\r\n </div>\r\n </div>\r\n"); 4576 4577 4578 #line 1115 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 4579 } 4580 else { 4581 var idCompanie = (GetString("Item.De_Companie") ?? "").Split(new[] { ',', ';' }, StringSplitOptions.RemoveEmptyEntries); 4582 Dynamicweb.Content.Items.Item companie = null; 4583 if (idCompanie.Any()){ 4584 companie = Dynamicweb.Content.Items.Item.GetItemById("Taxonomie_Companii", idCompanie.First()); 4585 string representativeProductsArray = companie != null && companie["RepresentativeProducts"] != null ? companie["RepresentativeProducts"].ToString() : ""; 4586 if(companie != null && representativeProductsArray != ""){ 4587 var ProduseReprezentative = ProductFacade.GetItemTypeProducts(representativeProductsArray); 4588 4589 4590 #line default 4591 #line hidden 4592 WriteLiteral(" <!--Standard start -->\r\n"); 4593 4594 4595 #line 1125 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 4596 if(ProduseReprezentative.Any()){ 4597 4598 4599 #line default 4600 #line hidden 4601 WriteLiteral(" <div"); 4602 4603 WriteLiteral(" class=\"row space-10\""); 4604 4605 WriteLiteral(">\r\n \r\n <div"); 4606 4607 WriteLiteral(" class=\"col-xs-12\""); 4608 4609 WriteLiteral("><h3"); 4610 4611 WriteLiteral(" class=\"block-title\""); 4612 4613 WriteLiteral("><span"); 4614 4615 WriteLiteral(" class=\"primary-color-border-bottom\""); 4616 4617 WriteLiteral(">Produse</span></h3></div>\r\n \r\n <div"); 4618 4619 WriteLiteral(" class=\"col-xs-12\""); 4620 4621 WriteLiteral(">\r\n <div"); 4622 4623 WriteLiteral(" class=\"carousel-produse\""); 4624 4625 WriteLiteral(">\r\n <div"); 4626 4627 WriteLiteral(" class=\"owl-carousel owl-theme owl-redactori\""); 4628 4629 WriteLiteral(">\r\n"); 4630 4631 4632 #line 1133 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 4633 4634 4635 #line default 4636 #line hidden 4637 4638 #line 1133 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 4639 foreach (var produsReprezentativ in ProduseReprezentative) { 4640 string mainImage = !string.IsNullOrEmpty(produsReprezentativ.ImageLarge) ? GetImage(produsReprezentativ.ImageLarge, 160, 120) + "&bgcolor=white" : "/Files/Images/NoImage/160x120.png"; 4641 var produsReprezentativManufacturer = produsReprezentativ.Manufacturer; 4642 if (counter <= 8 ) { 4643 4644 4645 #line default 4646 #line hidden 4647 WriteLiteral(" <div"); 4648 4649 WriteLiteral(" class=\"item\""); 4650 4651 WriteLiteral(">\r\n <figure"); 4652 4653 WriteLiteral(" class=\"image-overlay proportie-1 text-center\""); 4654 4655 WriteLiteral(">\r\n <a"); 4656 4657 WriteAttribute("href", Tuple.Create(" href=\"", 53780), Tuple.Create("\"", 53833) 4658 , Tuple.Create(Tuple.Create("", 53787), Tuple.Create("/ibuysmart?ProductID=", 53787), true) 4659 4660 #line 1139 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 4661 , Tuple.Create(Tuple.Create("", 53808), Tuple.Create<System.Object, System.Int32>(produsReprezentativ.Id 4662 4663 #line default 4664 #line hidden 4665 , 53808), false) 4666 ); 4667 4668 WriteLiteral(">\r\n"); 4669 4670 4671 #line 1140 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 4672 4673 4674 #line default 4675 #line hidden 4676 4677 #line 1140 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 4678 if(!String.IsNullOrEmpty(@produsReprezentativ.ImageLarge)) { 4679 4680 4681 #line default 4682 #line hidden 4683 WriteLiteral(" <img"); 4684 4685 WriteAttribute("src", Tuple.Create(" src=\"", 53988), Tuple.Create("\"", 54013) 4686 , Tuple.Create(Tuple.Create("", 53994), Tuple.Create("/Files/", 53994), true) 4687 4688 #line 1141 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 4689 , Tuple.Create(Tuple.Create("", 54001), Tuple.Create<System.Object, System.Int32>(mainImage 4690 4691 #line default 4692 #line hidden 4693 , 54001), false) 4694 ); 4695 4696 WriteAttribute("alt", Tuple.Create(" alt=\"", 54014), Tuple.Create("\"", 54045) 4697 4698 #line 1141 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 4699 , Tuple.Create(Tuple.Create("", 54020), Tuple.Create<System.Object, System.Int32>(produsReprezentativ.Name 4700 4701 #line default 4702 #line hidden 4703 , 54020), false) 4704 ); 4705 4706 WriteLiteral(" width=\"160\""); 4707 4708 WriteLiteral(" height=\"105\""); 4709 4710 WriteLiteral(" class=\"\""); 4711 4712 WriteLiteral(">\r\n"); 4713 4714 4715 #line 1142 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 4716 } else { 4717 4718 4719 #line default 4720 #line hidden 4721 WriteLiteral(" <img"); 4722 4723 WriteLiteral(" src=\"http://placehold.it/350x150\""); 4724 4725 WriteAttribute("alt", Tuple.Create(" alt=\"", 54215), Tuple.Create("\"", 54246) 4726 4727 #line 1143 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 4728 , Tuple.Create(Tuple.Create("", 54221), Tuple.Create<System.Object, System.Int32>(produsReprezentativ.Name 4729 4730 #line default 4731 #line hidden 4732 , 54221), false) 4733 ); 4734 4735 WriteLiteral(" class=\"img-responsive\""); 4736 4737 WriteLiteral(">\r\n"); 4738 4739 4740 #line 1144 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 4741 } 4742 4743 4744 #line default 4745 #line hidden 4746 WriteLiteral("\r\n </a>\r\n </fig" + 4747 "ure>\r\n <header"); 4748 4749 WriteLiteral(" class=\"featured-header\""); 4750 4751 WriteLiteral(">\r\n <h2><a"); 4752 4753 WriteAttribute("href", Tuple.Create(" href=\"", 54511), Tuple.Create("\"", 54564) 4754 , Tuple.Create(Tuple.Create("", 54518), Tuple.Create("/ibuysmart?ProductID=", 54518), true) 4755 4756 #line 1149 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 4757 , Tuple.Create(Tuple.Create("", 54539), Tuple.Create<System.Object, System.Int32>(produsReprezentativ.Id 4758 4759 #line default 4760 #line hidden 4761 , 54539), false) 4762 ); 4763 4764 WriteLiteral("> "); 4765 4766 4767 #line 1149 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 4768 Write(produsReprezentativ.Name); 4769 4770 4771 #line default 4772 #line hidden 4773 WriteLiteral(" "); 4774 4775 4776 #line 1149 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 4777 Write(counter); 4778 4779 4780 #line default 4781 #line hidden 4782 WriteLiteral(" </a></h2> \r\n"); 4783 4784 4785 #line 1150 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 4786 4787 4788 #line default 4789 #line hidden 4790 4791 #line 1150 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 4792 if(produsReprezentativManufacturer != null){ 4793 4794 4795 #line default 4796 #line hidden 4797 WriteLiteral(" <p"); 4798 4799 WriteLiteral(" class=\"manufacturer\""); 4800 4801 WriteLiteral(">Producator: <span>"); 4802 4803 4804 #line 1151 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 4805 Write(produsReprezentativ.Manufacturer.Name); 4806 4807 4808 #line default 4809 #line hidden 4810 WriteLiteral("</span></p>\r\n"); 4811 4812 4813 #line 1152 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 4814 } 4815 4816 4817 #line default 4818 #line hidden 4819 WriteLiteral(" </header>\r\n </div>\r\n"); 4820 4821 4822 #line 1155 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 4823 } 4824 counter++; 4825 } 4826 4827 4828 #line default 4829 #line hidden 4830 WriteLiteral("\r\n </div>\r\n </div>\r\n </d" + 4831 "iv>\r\n \r\n\r\n </div>\r\n"); 4832 4833 4834 #line 1165 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 4835 } 4836 } 4837 4838 } 4839 4840 4841 #line default 4842 #line hidden 4843 WriteLiteral(" <!--End of idCompanie--> \r\n"); 4844 4845 4846 #line 1170 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 4847 } 4848 4849 #line default 4850 #line hidden 4851 WriteLiteral(" <!--End of else-->\r\n"); 4852 4853 4854 #line 1171 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 4855 4856 4857 #line default 4858 #line hidden 4859 WriteLiteral(" \r\n \r\n </div><!-- .related-post --> \r\n <!--" + 4860 " Comentarii -->\r\n <div"); 4861 4862 WriteLiteral(" class=\"comment_block\""); 4863 4864 WriteLiteral(">\r\n <div"); 4865 4866 WriteLiteral(" class=\"col-xs-12\""); 4867 4868 WriteLiteral(">\r\n <h4>Comentarii</h4>\r\n <div"); 4869 4870 WriteLiteral(" class=\"comment_block handlebars-wrapper\""); 4871 4872 WriteLiteral(" data-template=\"CommentsTemplate\""); 4873 4874 WriteLiteral(" data-json-feed=\"/Default.aspx?ID=25352&PAGEID="); 4875 4876 4877 #line 1178 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 4878 Write(currentPage); 4879 4880 4881 #line default 4882 #line hidden 4883 WriteLiteral("\""); 4884 4885 WriteLiteral("> <!--currentPage-->\r\n </div>\r\n </div>\r\n"); 4886 4887 4888 #line 1181 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 4889 4890 4891 #line default 4892 #line hidden 4893 4894 #line 1181 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 4895 if (Dynamicweb.Security.UserManagement.User.IsExtranetUserLoggedIn()){ 4896 4897 4898 #line default 4899 #line hidden 4900 WriteLiteral(" <button"); 4901 4902 WriteLiteral(" class=\"btn btn-primary\""); 4903 4904 WriteLiteral(" id=\"AdaugaComentariu\""); 4905 4906 WriteLiteral(">Adauga Comentariu</button>\r\n"); 4907 4908 4909 #line 1183 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 4910 } 4911 else 4912 { 4913 4914 4915 #line default 4916 #line hidden 4917 WriteLiteral(" <button"); 4918 4919 WriteLiteral(" type=\"button\""); 4920 4921 WriteLiteral(" class=\"btn btn-primary\""); 4922 4923 WriteLiteral(" data-toggle=\"modal\""); 4924 4925 WriteLiteral(" data-target=\"#loginModal\""); 4926 4927 WriteLiteral(">\r\n Adauga Comentariu\r\n </button>\r\n"); 4928 4929 4930 #line 1189 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 4931 } 4932 4933 4934 #line default 4935 #line hidden 4936 WriteLiteral(" <div"); 4937 4938 WriteLiteral(" id=\"comentariuContainer\""); 4939 4940 WriteLiteral(" class=\"hidden\""); 4941 4942 WriteLiteral(">\r\n <div"); 4943 4944 WriteLiteral(" class=\"create_new_comment\""); 4945 4946 WriteLiteral(">\r\n"); 4947 4948 WriteLiteral(" "); 4949 4950 4951 #line 1192 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 4952 Write(RenderParagraphContent(3037)); 4953 4954 4955 #line default 4956 #line hidden 4957 WriteLiteral("\r\n </div>\r\n </div>\r\n </div>\r\n <!-- Logi" + 4958 "n Modal -->\r\n <div"); 4959 4960 WriteLiteral(" class=\"modal fade\""); 4961 4962 WriteLiteral(" id=\"loginModal\""); 4963 4964 WriteLiteral(" tabindex=\"-1\""); 4965 4966 WriteLiteral(" role=\"dialog\""); 4967 4968 WriteLiteral(" aria-labelledby=\"exampleModalLabel\""); 4969 4970 WriteLiteral(" aria-hidden=\"true\""); 4971 4972 WriteLiteral(">\r\n <div"); 4973 4974 WriteLiteral(" class=\"modal-dialog\""); 4975 4976 WriteLiteral(" role=\"document\""); 4977 4978 WriteLiteral(">\r\n <div"); 4979 4980 WriteLiteral(" class=\"modal-content-login\""); 4981 4982 WriteLiteral(">\r\n <div"); 4983 4984 WriteLiteral(" class=\"modal-header\""); 4985 4986 WriteLiteral(">\r\n <h5"); 4987 4988 WriteLiteral(" class=\"modal-title\""); 4989 4990 WriteLiteral(" id=\"exampleModalLabel\""); 4991 4992 WriteLiteral(">Autentificare</h5>\r\n <button"); 4993 4994 WriteLiteral(" type=\"button\""); 4995 4996 WriteLiteral(" class=\"close\""); 4997 4998 WriteLiteral(" data-dismiss=\"modal\""); 4999 5000 WriteLiteral(" aria-label=\"Close\""); 5001 5002 WriteLiteral(">\r\n <span"); 5003 5004 WriteLiteral(" aria-hidden=\"true\""); 5005 5006 WriteLiteral(">&times;</span>\r\n </button>\r\n </div>\r\n " + 5007 " <div"); 5008 5009 WriteLiteral(" class=\"modal-body\""); 5010 5011 WriteLiteral(">\r\n"); 5012 5013 WriteLiteral(" "); 5014 5015 5016 #line 1207 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 5017 Write(RenderParagraphContent(3042)); 5018 5019 5020 #line default 5021 #line hidden 5022 WriteLiteral("\r\n </div>\r\n </div>\r\n </div>\r\n </" + 5023 "div>\r\n\r\n\r\n"); 5024 5025 5026 #line 1214 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 5027 if(@GetInteger("DwAreaID") == 3){ 5028 5029 5030 #line default 5031 #line hidden 5032 WriteLiteral("\t<div"); 5033 5034 WriteLiteral(" class=\"row row-butoane-articol\""); 5035 5036 WriteLiteral(">\r\n <div"); 5037 5038 WriteLiteral(" class=\"col-xs-12 col-sm-6 \""); 5039 5040 WriteLiteral("><a"); 5041 5042 WriteLiteral(" href=\"/ibuysmart\""); 5043 5044 WriteLiteral(" class=\"btn btn-primary btn-background\""); 5045 5046 WriteLiteral(">Go to I Buy Smart</a></div>\r\n <div"); 5047 5048 WriteLiteral(" class=\"col-xs-12 col-sm-6 \""); 5049 5050 WriteLiteral("><a"); 5051 5052 WriteLiteral(" href=\"/Default.aspx?ID=4218\""); 5053 5054 WriteLiteral(" class=\"btn btn-primary btn-background\""); 5055 5056 WriteLiteral(">Go to Business Directory</a></div>\r\n <div"); 5057 5058 WriteLiteral(" class=\"col-xs-12 col-sm-6 \""); 5059 5060 WriteLiteral("><a"); 5061 5062 WriteAttribute("href", Tuple.Create(" href=\"", 57521), Tuple.Create("\"", 57538) 5063 5064 #line 1218 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 5065 , Tuple.Create(Tuple.Create("", 57528), Tuple.Create<System.Object, System.Int32>(linkAutor 5066 5067 #line default 5068 #line hidden 5069 , 57528), false) 5070 ); 5071 5072 WriteLiteral(" class=\"btn btn-primary btn-background\""); 5073 5074 WriteLiteral(">See other articles from the same company</a></div>\r\n<div"); 5075 5076 WriteLiteral(" class=\"col-xs-12 col-sm-6 \""); 5077 5078 WriteLiteral("><a"); 5079 5080 WriteLiteral(" href=\"/Default.aspx?ID=5676\""); 5081 5082 WriteLiteral(" class=\"btn btn-primary btn-background\""); 5083 5084 WriteLiteral(">Go to the T&T</a></div>\r\n <div"); 5085 5086 WriteLiteral(" class=\"col-xs-12 col-sm-6 \""); 5087 5088 WriteLiteral("><a"); 5089 5090 WriteLiteral(" href=\"/Default.aspx?ID=6943\""); 5091 5092 WriteLiteral(" class=\"btn btn-primary btn-background\""); 5093 5094 WriteLiteral(">Go to the Web Exclusive Section</a></div>\r\n"); 5095 5096 5097 #line 1221 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 5098 5099 5100 #line default 5101 #line hidden 5102 5103 #line 1221 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 5104 if(!string.IsNullOrEmpty(GetString("Item.De_Companie"))){ 5105 5106 5107 #line default 5108 #line hidden 5109 WriteLiteral(" <div"); 5110 5111 WriteLiteral(" class=\"col-xs-12 col-sm-6 \""); 5112 5113 WriteLiteral("><a"); 5114 5115 WriteAttribute("href", Tuple.Create(" href=\'", 58018), Tuple.Create("\'", 58076) 5116 , Tuple.Create(Tuple.Create("", 58025), Tuple.Create("companie?companyID=", 58025), true) 5117 5118 #line 1222 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 5119 , Tuple.Create(Tuple.Create("", 58044), Tuple.Create<System.Object, System.Int32>(GetString("Item.De_Companie") 5120 5121 #line default 5122 #line hidden 5123 , 58044), false) 5124 ); 5125 5126 WriteLiteral(" class=\"btn btn-primary btn-background\""); 5127 5128 WriteLiteral(">Go to Company page</a></div>\r\n"); 5129 5130 5131 #line 1223 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 5132 } 5133 5134 5135 #line default 5136 #line hidden 5137 WriteLiteral("\t</div>\r\n"); 5138 5139 5140 #line 1225 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 5141 5142 }else{ 5143 5144 5145 #line default 5146 #line hidden 5147 WriteLiteral(" <div"); 5148 5149 WriteLiteral(" class=\"row row-butoane-articol\""); 5150 5151 WriteLiteral(">\r\n <div"); 5152 5153 WriteLiteral(" class=\"col-xs-12 col-sm-4\""); 5154 5155 WriteLiteral("><a"); 5156 5157 WriteLiteral(" href=\"/ibuysmart\""); 5158 5159 WriteLiteral(" class=\"btn btn-primary btn-background\""); 5160 5161 WriteLiteral(">"); 5162 5163 5164 #line 1228 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 5165 Write(Translate("VeziCatalogulDeProduse", "Catalogul de produse")); 5166 5167 5168 #line default 5169 #line hidden 5170 WriteLiteral("</a></div>\r\n <div"); 5171 5172 WriteLiteral(" class=\"col-xs-12 col-sm-4\""); 5173 5174 WriteLiteral("><a"); 5175 5176 WriteLiteral(" href=\"/Default.aspx?ID=4218\""); 5177 5178 WriteLiteral(" class=\"btn btn-primary btn-background\""); 5179 5180 WriteLiteral(">"); 5181 5182 5183 #line 1229 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 5184 Write(Translate("VeziGhidulCompaniilorDinIndustrie", "Ghidul companiilor din industrie")); 5185 5186 5187 #line default 5188 #line hidden 5189 WriteLiteral("</a></div>\r\n"); 5190 5191 5192 #line 1230 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 5193 5194 5195 #line default 5196 #line hidden 5197 5198 #line 1230 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 5199 if(!string.IsNullOrEmpty(GetString("Item.De_Companie"))){ 5200 5201 5202 #line default 5203 #line hidden 5204 WriteLiteral(" <div"); 5205 5206 WriteLiteral(" class=\"col-xs-12 col-sm-4\""); 5207 5208 WriteLiteral("><a"); 5209 5210 WriteAttribute("href", Tuple.Create(" href=\'", 58702), Tuple.Create("\'", 58760) 5211 , Tuple.Create(Tuple.Create("", 58709), Tuple.Create("companie?companyID=", 58709), true) 5212 5213 #line 1231 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 5214 , Tuple.Create(Tuple.Create("", 58728), Tuple.Create<System.Object, System.Int32>(GetString("Item.De_Companie") 5215 5216 #line default 5217 #line hidden 5218 , 58728), false) 5219 ); 5220 5221 WriteLiteral(" class=\"btn btn-primary btn-background\""); 5222 5223 WriteLiteral(">"); 5224 5225 5226 #line 1231 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 5227 Write(Translate("VeziPaginaCompanieiAutoare", "Pagina companiei autoare")); 5228 5229 5230 #line default 5231 #line hidden 5232 WriteLiteral("</a></div>\r\n"); 5233 5234 5235 #line 1232 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 5236 } 5237 5238 5239 #line default 5240 #line hidden 5241 WriteLiteral("\t</div>\r\n"); 5242 5243 5244 #line 1234 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 5245 } 5246 5247 5248 #line default 5249 #line hidden 5250 WriteLiteral("</div><!-- End Left big column -->\r\n\r\n<div"); 5251 5252 WriteLiteral(" class=\" col-xs-12 col-sm-12 col-md-4 col-lg-4 sticky \""); 5253 5254 WriteLiteral(">\r\n <aside"); 5255 5256 WriteLiteral(" class=\"sidebar clearfix sidebar-container\""); 5257 5258 WriteLiteral(" style=\"margin-top: 34px;\""); 5259 5260 WriteLiteral(">\r\n \r\n <div"); 5261 5262 WriteLiteral(" class=\"widget adwidget \""); 5263 5264 WriteLiteral(">\r\n <ins"); 5265 5266 WriteLiteral(" data-revive-zoneid=\"4\""); 5267 5268 WriteLiteral(" data-revive-id=\"30be11c85ce356e14970630466da228f\""); 5269 5270 WriteLiteral("></ins>\r\n </div>\r\n \r\n"); 5271 5272 5273 #line 1244 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 5274 5275 5276 #line default 5277 #line hidden 5278 5279 #line 1244 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 5280 5281 var eventsPageID = GetPageIdByNavigationTag("EventsFeed"); 5282 5283 5284 #line default 5285 #line hidden 5286 WriteLiteral("\r\n<div"); 5287 5288 WriteLiteral(" class=\"widget evenimentewidget\""); 5289 5290 WriteLiteral(" style=\"margin-bottom:10px;\""); 5291 5292 WriteLiteral(">\r\n\t<h3"); 5293 5294 WriteLiteral(" class=\"block-title\""); 5295 5296 WriteLiteral(">\r\n\t\t<span><a"); 5297 5298 WriteLiteral(" href=\"Default.aspx?ID=4258\""); 5299 5300 WriteLiteral(">"); 5301 5302 5303 #line 1249 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 5304 Write(Translate("Evenimente","Evenimente")); 5305 5306 5307 #line default 5308 #line hidden 5309 WriteLiteral(" </a></span>\r\n\t</h3>\r\n\r\n\t<div"); 5310 5311 WriteLiteral(" id=\"myCarousel\""); 5312 5313 WriteLiteral(" class=\"carousel slide\""); 5314 5315 WriteLiteral(" data-ride=\"carousel\""); 5316 5317 WriteLiteral(">\r\n\t\t<div"); 5318 5319 WriteLiteral(" class=\"carousel-inner sidebar-handlebars-wrapper\""); 5320 5321 WriteLiteral(" role=\"listbox\""); 5322 5323 WriteLiteral(" data-template=\"WidgetEvenimenteTemplate\""); 5324 5325 WriteLiteral(" data-json-feed=\"/Default.aspx?ID="); 5326 5327 5328 #line 1253 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 5329 Write(eventsPageID); 5330 5331 5332 #line default 5333 #line hidden 5334 WriteLiteral("\""); 5335 5336 WriteLiteral(">\r\n\t\t\t"); 5337 5338 WriteLiteral("\r\n"); 5339 5340 WriteLiteral("\t\t\t"); 5341 5342 5343 #line 1255 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 5344 Write(RenderPlaceholderImageTop("pre-render-element--md")); 5345 5346 5347 #line default 5348 #line hidden 5349 WriteLiteral("\r\n\t\t</div>\r\n\t\t\r\n\t\t<a"); 5350 5351 WriteLiteral(" class=\"carousel-control\""); 5352 5353 WriteLiteral(" href=\"#myCarousel\""); 5354 5355 WriteLiteral(" role=\"button\""); 5356 5357 WriteLiteral(" data-slide=\"prev\""); 5358 5359 WriteLiteral(" style=\"color: #ffa700;\""); 5360 5361 WriteLiteral(">\r\n\t\t\t<span"); 5362 5363 WriteLiteral(" class=\"glyphicon glyphicon-chevron-left\""); 5364 5365 WriteLiteral(" aria-hidden=\"true\""); 5366 5367 WriteLiteral("></span>\r\n\t\t\t<span"); 5368 5369 WriteLiteral(" class=\"sr-only\""); 5370 5371 WriteLiteral(">Previous</span>\r\n\t\t</a>\r\n\t\t<a"); 5372 5373 WriteLiteral(" class=\"carousel-control\""); 5374 5375 WriteLiteral(" href=\"#myCarousel\""); 5376 5377 WriteLiteral(" role=\"button\""); 5378 5379 WriteLiteral(" data-slide=\"next\""); 5380 5381 WriteLiteral(" style=\"right: 0; left: auto; color: #ffa700;\""); 5382 5383 WriteLiteral(">\r\n\t\t\t<span"); 5384 5385 WriteLiteral(" class=\"glyphicon glyphicon-chevron-right\""); 5386 5387 WriteLiteral(" aria-hidden=\"true\""); 5388 5389 WriteLiteral("></span>\r\n\t\t\t<span"); 5390 5391 WriteLiteral(" class=\"sr-only\""); 5392 5393 WriteLiteral(">Next</span>\r\n\t\t</a>\r\n\t</div>\r\n</div>\r\n\r\n<script"); 5394 5395 WriteLiteral(" id=\"WidgetEvenimenteTemplate\""); 5396 5397 WriteLiteral(" type=\"text/x-handlebars-template\""); 5398 5399 WriteLiteral(@"> 5400 {{#each EvenimenteContainer}} 5401 <div class=""item""> 5402 <figure class=""image-overlay""> 5403 <img src=""/Admin/Public/GetImage.ashx?Image={{Afis}}&AlternativeImage=/Files/Images/Articole/download (1).png&Crop=5&Format=jpg&Width=350&Height=230"" class=""img-responsive""> 5404 </figure> 5405 <span>{{title}}</span> 5406 <div class=""description"">{{{Descriere}}}</div> 5407 "); 5408 5409 5410 #line 1277 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 5411 5412 5413 #line default 5414 #line hidden 5415 5416 #line 1277 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 5417 if(GetInteger("DwAreaID") == 1){ 5418 5419 5420 #line default 5421 #line hidden 5422 WriteLiteral(" <a"); 5423 5424 WriteLiteral(" href=\"{{link}}\""); 5425 5426 WriteLiteral(" style=\"z-index: 200;\""); 5427 5428 WriteLiteral(" target=\"_blank\""); 5429 5430 WriteLiteral(">Mai mult</a>\r\n"); 5431 5432 5433 #line 1279 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 5434 }else{ 5435 5436 5437 #line default 5438 #line hidden 5439 WriteLiteral(" <a"); 5440 5441 WriteLiteral(" href=\"{{link}}\""); 5442 5443 WriteLiteral(" style=\"z-index: 200;\""); 5444 5445 WriteLiteral(" target=\"_blank\""); 5446 5447 WriteLiteral(">Read More</a>\r\n"); 5448 5449 5450 #line 1281 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 5451 } 5452 5453 5454 #line default 5455 #line hidden 5456 WriteLiteral("\t</div>\r\n{{/each}}\t\r\n</script>\r\n\r\n\r\n<script"); 5457 5458 WriteLiteral(" type=\"text/javascript\""); 5459 5460 WriteLiteral(">\r\n\t\r\n</script>\r\n\r\n\r\n\r\n \r\n"); 5461 5462 5463 #line 1294 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 5464 5465 5466 #line default 5467 #line hidden 5468 5469 #line 1294 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 5470 5471 var urlEditorial = "/Default.aspx?ID=" + GetPageIdByNavigationTag("ArticoleEditorial"); 5472 var feedPageID = GetPageIdByNavigationTag("ArticlesFeed"); 5473 5474 5475 #line default 5476 #line hidden 5477 WriteLiteral("\r\n<div"); 5478 5479 WriteLiteral(" class=\"widget editorialwidget\""); 5480 5481 WriteLiteral(">\r\n <div"); 5482 5483 WriteLiteral(" class=\"content sidebar-handlebars-wrapper\""); 5484 5485 WriteLiteral(" role=\"listbox\""); 5486 5487 WriteLiteral(" data-template=\"WidgetEditorialTemplate\""); 5488 5489 WriteLiteral(" data-json-feed=\"/Default.aspx?ID="); 5490 5491 5492 #line 1299 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 5493 Write(feedPageID); 5494 5495 5496 #line default 5497 #line hidden 5498 WriteLiteral("&type=Editorial&PageSize=1\""); 5499 5500 WriteLiteral(">\r\n"); 5501 5502 WriteLiteral(" "); 5503 5504 5505 #line 1300 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 5506 Write(RenderPlaceholderNoImage()); 5507 5508 5509 #line default 5510 #line hidden 5511 WriteLiteral("\r\n </div>\r\n</div>\r\n\r\n<script"); 5512 5513 WriteLiteral(" id=\"WidgetEditorialTemplate\""); 5514 5515 WriteLiteral(" type=\"text/x-handlebars-template\""); 5516 5517 WriteLiteral("> \r\n{{#ArticlesContainer}}\r\n {{#each Article}}\r\n <h3 class=\"block-title\"><sp" + 5518 "an><a href=\""); 5519 5520 5521 #line 1307 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 5522 Write(urlEditorial); 5523 5524 5525 #line default 5526 #line hidden 5527 WriteLiteral("\">"); 5528 5529 5530 #line 1307 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 5531 Write(Translate("Editorial","Editorial")); 5532 5533 5534 #line default 5535 #line hidden 5536 WriteLiteral("</a></span></h3>\r\n <article class=\"widget-post clearfix\">\r\n <h3><a href=\'" + 5537 "/Default.aspx?ID={{pagePageID}}\'>{{itemTitlu}}</a></h3>\r\n {{{itemSumar}}}" + 5538 "\r\n <p class=\"text-right\"><a href=\"/Default.aspx?ID={{pagePageID}}\" id=\"edi" + 5539 "torialLink\">"); 5540 5541 5542 #line 1311 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 5543 Write(Translate("citeste","Mai mult")); 5544 5545 5546 #line default 5547 #line hidden 5548 WriteLiteral("</a></p> \r\n </article>\r\n {{/each}}\r\n{{/ArticlesContainer}}\r\n \r\n</sc" + 5549 "ript>\r\n <div"); 5550 5551 WriteLiteral(" class=\"widget adwidget\""); 5552 5553 WriteLiteral(" style=\" margin-top: 20px; margin-bottom:25px;\""); 5554 5555 WriteLiteral(">\r\n <ins"); 5556 5557 WriteLiteral(" data-revive-zoneid=\"5\""); 5558 5559 WriteLiteral(" data-revive-id=\"30be11c85ce356e14970630466da228f\""); 5560 5561 WriteLiteral("></ins>\r\n </div>\r\n \r\n \r\n <div"); 5562 5563 WriteLiteral(" class=\"widget facebookwidget\""); 5564 5565 WriteLiteral(" style=\"margin-bottom:20px;\""); 5566 5567 WriteLiteral(">\r\n \t\t<h3"); 5568 5569 WriteLiteral(" class=\"block-title\""); 5570 5571 WriteLiteral("><span> T&amp;T "); 5572 5573 WriteLiteral("@ Facebook</span></h3>\r\n \t\t<div"); 5574 5575 WriteLiteral(" class=\"content\""); 5576 5577 WriteLiteral(">\r\n <div"); 5578 5579 WriteLiteral(" class=\"fb-page\""); 5580 5581 WriteLiteral(" data-adapt-container-width=\"true\""); 5582 5583 WriteLiteral(" data-hide-cover=\"false\""); 5584 5585 WriteLiteral(" data-href=\"https://www.facebook.com/tehnicasitehnologie/\""); 5586 5587 WriteLiteral(" data-show-facepile=\"false\""); 5588 5589 WriteLiteral(" data-show-posts=\"false\""); 5590 5591 WriteLiteral(" data-small-header=\"true\""); 5592 5593 WriteLiteral(">\r\n\t\t\t<div"); 5594 5595 WriteLiteral(" class=\"fb-xfbml-parse-ignore\""); 5596 5597 WriteLiteral(">\r\n\t\t\t\t<blockquote"); 5598 5599 WriteLiteral(" cite=\"https://www.facebook.com/tehnicasitehnologie/\""); 5600 5601 WriteLiteral(">\r\n\t\t\t\t\t<a"); 5602 5603 WriteLiteral(" href=\"https://www.facebook.com/tehnicasitehnologie/\""); 5604 5605 WriteLiteral(">T&amp;T - Tehnica si Tehnologie</a>\r\n \t</blockquote>\r\n\t\t\t</div>\r\n\t\t" + 5606 " </div>\r\n\t\t</div>\r\n\t\t<div"); 5607 5608 WriteLiteral(" id=\"fb-root\""); 5609 5610 WriteLiteral(@"></div> 5611 <script> 5612 (function(d, s, id) { 5613 var js, fjs = d.getElementsByTagName(s)[0]; 5614 if (d.getElementById(id)) return; 5615 js = d.createElement(s); js.id = id; 5616 js.async= ""async""; 5617 js.src = ""//connect.facebook.net/ro_RO/sdk.js#xfbml=1&version=v2.5""; 5618 fjs.parentNode.insertBefore(js, fjs); 5619 }(document, 'script', 'facebook-jssdk')); 5620 </script> 5621 5622 </div> 5623 5624 5625 <div"); 5626 5627 WriteLiteral(" class=\"widget twitterwidget\""); 5628 5629 WriteLiteral(" style=\"margin-bottom:0px;\""); 5630 5631 WriteLiteral(">\r\n\t<h3"); 5632 5633 WriteLiteral(" class=\"block-title\""); 5634 5635 WriteLiteral("><span> T&amp;T "); 5636 5637 WriteLiteral("@ Twitter</span></h3>\r\n\t<div"); 5638 5639 WriteLiteral(" class=\"content\""); 5640 5641 WriteLiteral(">\r\n \t<a"); 5642 5643 WriteLiteral(" class=\"twitter-timeline\""); 5644 5645 WriteLiteral(" data-width=\"365\""); 5646 5647 WriteLiteral(" data-height=\"108\""); 5648 5649 WriteLiteral(" data-theme=\"light\""); 5650 5651 WriteLiteral(" href=\"https://twitter.com/TTehnologie\""); 5652 5653 WriteLiteral(">Tweets by TTehnologie</a>\r\n </div>\r\n</div>\r\n \r\n<div"); 5654 5655 WriteLiteral(" class=\"widget multimediawidget\""); 5656 5657 WriteLiteral(" style=\"margin-bottom:20px;\""); 5658 5659 WriteLiteral(">\r\n"); 5660 5661 WriteLiteral("\t"); 5662 5663 5664 #line 1356 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 5665 Write(RenderItemList(new { 5666 ItemType = "Multimedia", 5667 ListSourceType = "Area", 5668 ListSourceArea = 1, 5669 ItemFieldsList = "*", 5670 ListTemplate = "/ItemPublisher/List/Sidebar-Multimedia.cshtml", 5671 ListPageSize = 10, 5672 ListOrderBy = "", 5673 ListOrderByDirection = "", 5674 Filter = "" 5675 })); 5676 5677 5678 #line default 5679 #line hidden 5680 WriteLiteral("\r\n</div>\r\n\r\n"); 5681 5682 WriteLiteral(" "); 5683 5684 5685 #line 1369 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 5686 Write(RenderSnippet("Tags")); 5687 5688 5689 #line default 5690 #line hidden 5691 WriteLiteral("\r\n\r\n \r\n <div"); 5692 5693 WriteLiteral(" class=\"widget adwidget\""); 5694 5695 WriteLiteral(">\r\n<div"); 5696 5697 WriteLiteral(" class=\"row\""); 5698 5699 WriteLiteral(" style=\"margin-bottom:50px;\""); 5700 5701 WriteLiteral(">\r\n <div"); 5702 5703 WriteLiteral(" class=\"col-xs-6\""); 5704 5705 WriteLiteral(">\r\n <ins"); 5706 5707 WriteLiteral(" data-revive-zoneid=\"13\""); 5708 5709 WriteLiteral(" data-revive-id=\"30be11c85ce356e14970630466da228f\""); 5710 5711 WriteLiteral("></ins>\r\n<script"); 5712 5713 WriteLiteral(" async=\"\""); 5714 5715 WriteLiteral(" src=\"//adserver.dotfusion.ro/revive/www/delivery/asyncjs.php\""); 5716 5717 WriteLiteral("></script>\r\n </div>\r\n <div"); 5718 5719 WriteLiteral(" class=\"col-xs-6\""); 5720 5721 WriteLiteral(">\r\n <ins"); 5722 5723 WriteLiteral(" data-revive-zoneid=\"17\""); 5724 5725 WriteLiteral(" data-revive-id=\"30be11c85ce356e14970630466da228f\""); 5726 5727 WriteLiteral("></ins>\r\n<script"); 5728 5729 WriteLiteral(" async=\"\""); 5730 5731 WriteLiteral(" src=\"//adserver.dotfusion.ro/revive/www/delivery/asyncjs.php\""); 5732 5733 WriteLiteral("></script>\r\n </div>\r\n</div>\r\n<div"); 5734 5735 WriteLiteral(" class=\"row\""); 5736 5737 WriteLiteral(">\r\n <div"); 5738 5739 WriteLiteral(" class=\"col-xs-6\""); 5740 5741 WriteLiteral(">\r\n \r\n<ins"); 5742 5743 WriteLiteral(" data-revive-zoneid=\"18\""); 5744 5745 WriteLiteral(" data-revive-id=\"30be11c85ce356e14970630466da228f\""); 5746 5747 WriteLiteral("></ins>\r\n<script"); 5748 5749 WriteLiteral(" async=\"\""); 5750 5751 WriteLiteral(" src=\"//adserver.dotfusion.ro/revive/www/delivery/asyncjs.php\""); 5752 5753 WriteLiteral("></script>\r\n </div>\r\n <div"); 5754 5755 WriteLiteral(" class=\"col-xs-6\""); 5756 5757 WriteLiteral(">\r\n \r\n<ins"); 5758 5759 WriteLiteral(" data-revive-zoneid=\"19\""); 5760 5761 WriteLiteral(" data-revive-id=\"30be11c85ce356e14970630466da228f\""); 5762 5763 WriteLiteral("></ins>\r\n<script"); 5764 5765 WriteLiteral(" async=\"\""); 5766 5767 WriteLiteral(" src=\"//adserver.dotfusion.ro/revive/www/delivery/asyncjs.php\""); 5768 5769 WriteLiteral("></script>\r\n </div>\r\n</div>\r\n</div>\r\n\r\n"); 5770 5771 5772 #line 1397 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 5773 5774 5775 #line default 5776 #line hidden 5777 5778 #line 1397 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 5779 if(@GetPageIdByNavigationTag("Revista") != @GetInteger("DwPageID")) { 5780 5781 5782 5783 #line default 5784 #line hidden 5785 5786 #line 1399 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 5787 Write(RenderParagraphContent(164)); 5788 5789 5790 #line default 5791 #line hidden 5792 5793 #line 1399 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 5794 5795 } 5796 5797 5798 #line default 5799 #line hidden 5800 WriteLiteral(" <div"); 5801 5802 WriteLiteral(" class=\"widget adwidget \""); 5803 5804 WriteLiteral(">\r\n <ins"); 5805 5806 WriteLiteral(" data-revive-zoneid=\"6\""); 5807 5808 WriteLiteral(" data-revive-id=\"30be11c85ce356e14970630466da228f\""); 5809 5810 WriteLiteral("></ins>\r\n </div>\r\n"); 5811 5812 5813 #line 1404 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 5814 5815 5816 #line default 5817 #line hidden 5818 5819 #line 1404 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 5820 5821 var feedCititePageID = GetPageIdByNavigationTag("ArticlesCititeFeed"); 5822 DateTime currentDate = DateTime.Now; 5823 DateTime ago = currentDate.AddMonths(-4); 5824 var agoString = ago.ToString("yyyy.MM.dd"); 5825 var currentDateString = currentDate.ToString("yyyy.MM.dd"); 5826 5827 5828 #line default 5829 #line hidden 5830 WriteLiteral("\r\n\r\n<div"); 5831 5832 WriteLiteral(" class=\"widget tabwidget\""); 5833 5834 WriteLiteral(">\r\n <ul"); 5835 5836 WriteLiteral(" class=\"nav nav-tabs\""); 5837 5838 WriteLiteral(" role=\"tablist\""); 5839 5840 WriteLiteral(" id=\"widget-tab\""); 5841 5842 WriteLiteral(">\r\n <li"); 5843 5844 WriteLiteral(" role=\"presentation\""); 5845 5846 WriteLiteral(" class=\"active\""); 5847 5848 WriteLiteral("><a"); 5849 5850 WriteLiteral(" href=\"#tab-recent\""); 5851 5852 WriteLiteral(" aria-controls=\"tab-recent\""); 5853 5854 WriteLiteral(" role=\"tab\""); 5855 5856 WriteLiteral(" data-toggle=\"tab\""); 5857 5858 WriteLiteral(">"); 5859 5860 5861 #line 1414 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 5862 Write(Translate("recent","Cele mai noi")); 5863 5864 5865 #line default 5866 #line hidden 5867 WriteLiteral("</a></li>\r\n <li"); 5868 5869 WriteLiteral(" role=\"presentation\""); 5870 5871 WriteLiteral("><a"); 5872 5873 WriteLiteral(" href=\"#tab-popular\""); 5874 5875 WriteLiteral(" aria-controls=\"tab-popular\""); 5876 5877 WriteLiteral(" role=\"tab\""); 5878 5879 WriteLiteral(" data-toggle=\"tab\""); 5880 5881 WriteLiteral(">"); 5882 5883 5884 #line 1415 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 5885 Write(Translate("popular","Cele mai citite")); 5886 5887 5888 #line default 5889 #line hidden 5890 WriteLiteral("</a></li>\r\n </ul>\r\n <div"); 5891 5892 WriteLiteral(" class=\"tab-content\""); 5893 5894 WriteLiteral(">\r\n <div"); 5895 5896 WriteLiteral(" role=\"tabpanel\""); 5897 5898 WriteLiteral(" class=\"tab-pane active sidebar-handlebars-wrapper\""); 5899 5900 WriteLiteral(" id=\"tab-recent\""); 5901 5902 WriteLiteral(" data-template=\"CeleMaiNoiTemplate\""); 5903 5904 WriteLiteral(" data-json-feed=\"/Default.aspx?ID="); 5905 5906 5907 #line 1418 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 5908 Write(feedPageID); 5909 5910 5911 #line default 5912 #line hidden 5913 WriteLiteral("&PageSize=5&type=Articole\""); 5914 5915 WriteLiteral(">\r\n "); 5916 5917 WriteLiteral("\r\n"); 5918 5919 WriteLiteral(" "); 5920 5921 5922 #line 1420 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 5923 Write(RenderPlaceholderImageOnLeft()); 5924 5925 5926 #line default 5927 #line hidden 5928 WriteLiteral("\r\n"); 5929 5930 WriteLiteral(" "); 5931 5932 5933 #line 1421 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 5934 Write(RenderPlaceholderImageOnLeft()); 5935 5936 5937 #line default 5938 #line hidden 5939 WriteLiteral("\r\n"); 5940 5941 WriteLiteral(" "); 5942 5943 5944 #line 1422 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 5945 Write(RenderPlaceholderImageOnLeft()); 5946 5947 5948 #line default 5949 #line hidden 5950 WriteLiteral("\r\n </div><!-- Recent Posts -->\r\n <div"); 5951 5952 WriteLiteral(" role=\"tabpanel\""); 5953 5954 WriteLiteral(" class=\"tab-pane sidebar-handlebars-wrapper\""); 5955 5956 WriteLiteral(" id=\"tab-popular\""); 5957 5958 WriteLiteral(" data-template=\"CeleMaiCititeTemplate\""); 5959 5960 WriteLiteral(" data-json-feed=\"/Default.aspx?ID="); 5961 5962 5963 #line 1424 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 5964 Write(feedCititePageID); 5965 5966 5967 #line default 5968 #line hidden 5969 WriteLiteral("&PageSize=5&type=Articole&ArticleDate="); 5970 5971 5972 #line 1424 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 5973 Write(agoString); 5974 5975 5976 #line default 5977 #line hidden 5978 WriteLiteral("&EndDate="); 5979 5980 5981 #line 1424 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 5982 Write(currentDateString); 5983 5984 5985 #line default 5986 #line hidden 5987 WriteLiteral("\""); 5988 5989 WriteLiteral(">\r\n $1$Handlebars Template goes here#1#\r\n </div><!-- Recent Pos" + 5990 "ts --> \r\n </div>\r\n</div>\r\n\r\n<script"); 5991 5992 WriteLiteral(" id=\"CeleMaiNoiTemplate\""); 5993 5994 WriteLiteral(" type=\"text/x-handlebars-template\""); 5995 5996 WriteLiteral(@"> 5997 {{#ArticlesContainer}} 5998 {{#each Article}} 5999 <article class='widget-post clearfix'> 6000 <div class=""simple-thumb""> 6001 <img src='/Admin/Public/GetImage.ashx?Image={{itemImaginePrincipala}}&AlternativeImage=/Files/Images/Articole/download (1).png&Crop=5&Format=jpg&Width=95&Height=90' alt=""{{itemTitlu}}"" /> 6002 </div> 6003 <header> 6004 <h3> 6005 <a href='/Default.aspx?ID={{pagePageID}}'>{{itemTitlu}}</a> 6006 </h3> 6007 </header> 6008 </article> 6009 {{/each}} 6010 {{/ArticlesContainer}} 6011 </script> 6012 6013 <script"); 6014 6015 WriteLiteral(" id=\"CeleMaiCititeTemplate\""); 6016 6017 WriteLiteral(" type=\"text/x-handlebars-template\""); 6018 6019 WriteLiteral(@"> 6020 {{#ArticlesContainer}} 6021 {{#each Article}} 6022 <article class=""widget-post clearfix""> 6023 <div class=""simple-thumb""> 6024 <img src='/Admin/Public/GetImage.ashx?Image={{itemImaginePrincipala}}&AlternativeImage=/Files/Images/Articole/download (1).png&Crop=5&Format=jpg&Width=95&Height=80' alt=""{{itemTitlu}}"" /> 6025 </div> 6026 <header> 6027 <h3> 6028 <a href='/Default.aspx?ID={{pagePageID}}'>{{itemTitlu}}</a> 6029 </h3> 6030 <p class=""simple-share""> 6031 <span><i class=""fa fa-clock-o""></i>{{itemData}}</span> 6032 </p> 6033 </header> 6034 </article> 6035 {{/each}} 6036 {{/ArticlesContainer}} 6037 </script> 6038 6039 6040 <div"); 6041 6042 WriteLiteral(" class=\"widget adwidget \""); 6043 6044 WriteLiteral(">\r\n <ins"); 6045 6046 WriteLiteral(" data-revive-zoneid=\"8\""); 6047 6048 WriteLiteral(" data-revive-id=\"30be11c85ce356e14970630466da228f\""); 6049 6050 WriteLiteral("></ins>\r\n </div>\r\n \r\n</aside>\r\n</div><!-- End last column --> \r\n\r\n</div><!" + 6051 "-- .blog-content -->\r\n\r\n<!-- IBuy and IndustryDirectory-->\r\n<div"); 6052 6053 WriteLiteral(" class=\"row\""); 6054 6055 WriteLiteral(">\r\n <div"); 6056 6057 WriteLiteral(" class=\"col-xs-12\""); 6058 6059 WriteLiteral(" style=\"margin: 30px 0;\""); 6060 6061 WriteLiteral(">\r\n <div"); 6062 6063 WriteLiteral(" class=\"col-xs-12 col-sm-12 col-md-6 text-center\""); 6064 6065 WriteLiteral("><a"); 6066 6067 WriteAttribute("href", Tuple.Create(" href=\'", 68823), Tuple.Create("\'", 68865) 6068 6069 #line 1480 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 6070 , Tuple.Create(Tuple.Create("", 68830), Tuple.Create<System.Object, System.Int32>(Pageview.Area.Item["Link_Catalog"] 6071 6072 #line default 6073 #line hidden 6074 , 68830), false) 6075 ); 6076 6077 WriteAttribute("alt", Tuple.Create(" alt=\'", 68866), Tuple.Create("\'", 68912) 6078 6079 #line 1480 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 6080 , Tuple.Create(Tuple.Create("", 68872), Tuple.Create<System.Object, System.Int32>(Pageview.Area.Item["Link_Catalog.Name"] 6081 6082 #line default 6083 #line hidden 6084 , 68872), false) 6085 ); 6086 6087 WriteLiteral(" target=\"blank\""); 6088 6089 WriteLiteral("><img"); 6090 6091 WriteAttribute("src", Tuple.Create(" src=\'", 68933), Tuple.Create("\'", 68976) 6092 6093 #line 1480 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 6094 , Tuple.Create(Tuple.Create("", 68939), Tuple.Create<System.Object, System.Int32>(Pageview.Area.Item["Banner_Catalog"] 6095 6096 #line default 6097 #line hidden 6098 , 68939), false) 6099 ); 6100 6101 WriteAttribute("alt", Tuple.Create(" alt=\'", 68977), Tuple.Create("\'", 69025) 6102 6103 #line 1480 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 6104 , Tuple.Create(Tuple.Create("", 68983), Tuple.Create<System.Object, System.Int32>(Pageview.Area.Item["Banner_Catalog.Name"] 6105 6106 #line default 6107 #line hidden 6108 , 68983), false) 6109 ); 6110 6111 WriteLiteral("></a></div>\r\n <div"); 6112 6113 WriteLiteral(" class=\"col-xs-12 col-sm-12 col-md-6 text-center\""); 6114 6115 WriteLiteral("><a"); 6116 6117 WriteAttribute("href", Tuple.Create(" href=\'", 69099), Tuple.Create("\'", 69142) 6118 6119 #line 1481 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 6120 , Tuple.Create(Tuple.Create("", 69106), Tuple.Create<System.Object, System.Int32>(Pageview.Area.Item["Link_Companii"] 6121 6122 #line default 6123 #line hidden 6124 , 69106), false) 6125 ); 6126 6127 WriteAttribute("alt", Tuple.Create(" alt=\'", 69143), Tuple.Create("\'", 69190) 6128 6129 #line 1481 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 6130 , Tuple.Create(Tuple.Create("", 69149), Tuple.Create<System.Object, System.Int32>(Pageview.Area.Item["Link_Companii.Name"] 6131 6132 #line default 6133 #line hidden 6134 , 69149), false) 6135 ); 6136 6137 WriteLiteral(" target=\"blank\""); 6138 6139 WriteLiteral("><img"); 6140 6141 WriteAttribute("src", Tuple.Create(" src=\'", 69211), Tuple.Create("\'", 69255) 6142 6143 #line 1481 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 6144 , Tuple.Create(Tuple.Create("", 69217), Tuple.Create<System.Object, System.Int32>(Pageview.Area.Item["Banner_Companii"] 6145 6146 #line default 6147 #line hidden 6148 , 69217), false) 6149 ); 6150 6151 WriteAttribute("alt", Tuple.Create(" alt=\'", 69256), Tuple.Create("\'", 69305) 6152 6153 #line 1481 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 6154 , Tuple.Create(Tuple.Create("", 69262), Tuple.Create<System.Object, System.Int32>(Pageview.Area.Item["Banner_Companii.Name"] 6155 6156 #line default 6157 #line hidden 6158 , 69262), false) 6159 ); 6160 6161 WriteLiteral("></a></div>\r\n </div>\r\n</div>\r\n<!-- end IBuy and IndustryDirectory -->\r\n\r\n<script" + 6162 ""); 6163 6164 WriteLiteral(" id=\"ArticleBodyTemplate\""); 6165 6166 WriteLiteral(" type=\"text/x-handlebars-template\""); 6167 6168 WriteLiteral(@"> 6169 {{#ArticlesContainer}} 6170 {{#each Article}} 6171 <header class=""post-header""> 6172 <h1 class=""post-title""> 6173 {{itemTitlu}} 6174 </h1><!-- .post-title --> 6175 <a href='/Default.aspx?ID={{itemSectiuneParinteId}}' class=""category bg{{itemSectiuneParinteId}}""> 6176 {{itemSectiuneParinte}} 6177 </a> 6178 6179 <p class=""simple-share""> 6180 <span class=""m-0"">"); 6181 6182 6183 #line 1498 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 6184 Write(Translate("articolde","de")); 6185 6186 6187 #line default 6188 #line hidden 6189 WriteLiteral(@" 6190 {{#foreach articleAutori}} 6191 {{#if $last}} 6192 <a href=""{{Link}}"">{{Name}}</a> 6193 {{else}} 6194 <a href=""{{Link}}"">{{Name}},</a> 6195 {{/if}} 6196 {{/foreach}} 6197 </span> 6198 <span><span class=""article-date""><i class=""fa fa-clock-o""></i> {{itemData}}</span></span> 6199 {{#if showItemVisits}} 6200 <span><i class=""fa fa-eye""></i> {{itemVisits}} vizualizari</span> 6201 {{/if}} 6202 </p> 6203 {{#ifCond itemImaginePrincipala ""!=="" """"}} 6204 <figure class=""image-overlay""> 6205 <img src=""/Admin/Public/GetImage.ashx?Image={{itemImaginePrincipala}}&Crop=5&Format=jpg&Width=730&Height=355"" alt=""{{itemTitlu}}""> 6206 </figure> 6207 {{/ifCond}} 6208 </header><!-- .post-header --> 6209 <div class=""post-content clearfix""> 6210 {{{itemContinut}}} 6211 <hr/> 6212 6213 <!-- Banner articol --> 6214 {{#ifCond pdf ""!=="" """" }} 6215 <div class=""row""> 6216 <div class=""col-xs-12 col-pdf""> 6217 <a href='{{pdf}}'>PDF</a> 6218 </div> 6219 </div> 6220 {{/ifCond}} 6221 <!-- End Banner Articol --> 6222 <div class=""row text-center mb-20""> 6223 {{#if cereOferta}} 6224 "); 6225 6226 WriteLiteral(" "); 6227 6228 6229 #line 1533 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 6230 Write(RenderCereOfertaButton()); 6231 6232 6233 #line default 6234 #line hidden 6235 WriteLiteral(@" 6236 {{/if}} 6237 </div> 6238 </div><!-- .post-content --> 6239 <footer class=""post-meta""> 6240 <div class="" clearfix""> 6241 <div class=""share-buttons""> 6242 <!-- Go to www.addthis.com/dashboard to customize your tools --> 6243 <div class=""addthis_inline_share_toolbox""></div> 6244 </div> 6245 <div class=""author-section"" data-template=""AuthorsTemplate"" data-json-feed=""Default.aspx?ID="); 6246 6247 6248 #line 1543 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 6249 Write(autorPageID); 6250 6251 6252 #line default 6253 #line hidden 6254 WriteLiteral("&Autor=\">\r\n </div> \r\n </div>" + 6255 " \r\n \r\n </footer>\r\n \r\n " + 6256 " {{/each}}\r\n{{/ArticlesContainer}} \r\n</script>\r\n<script"); 6257 6258 WriteLiteral(" id=\"TagsTemplate\""); 6259 6260 WriteLiteral(" type=\"text/x-handlebars-template\""); 6261 6262 WriteLiteral(">\r\n{{#ArticlesContainer}}\r\n\t {{#each Article}}\r\n <div class=\"tags-wrapper" + 6263 "\">\r\n <ul class=\"tags-widget clearfix\">\r\n <li class=\"trendi" + 6264 "ng\">"); 6265 6266 6267 #line 1557 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 6268 Write(Translate("TAGURI","TAGURI")); 6269 6270 6271 #line default 6272 #line hidden 6273 WriteLiteral(@":</li> 6274 {{#articleTags}} 6275 <li><a href=""{{Link}}""><b>{{Name}}</b></a></li> 6276 {{/articleTags}} 6277 6278 </ul> 6279 </div><!-- .tags-wrapper --> 6280 {{/each}} 6281 {{/ArticlesContainer}} 6282 </script> 6283 <script"); 6284 6285 WriteLiteral(" id=\"AuthorsTemplate\""); 6286 6287 WriteLiteral(" type=\"text/x-handlebars-template\""); 6288 6289 WriteLiteral(@"> 6290 {{#ifCond counterAutori ""!=="" ""1""}} 6291 <div class=""col-xs-12""> 6292 <h5>Autori</h5> 6293 </div> 6294 <div class=""col-xs-12 col-sm-12 col-md-12 evenimentewidget""> 6295 <span class=""simple-share""> 6296 {{#foreach Autori}} 6297 {{#if $last}} 6298 {{#ifCond persoana_companie ""==="" ""Persoana""}} 6299 <a href=""/Default.aspx?ID="); 6300 6301 6302 #line 1577 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 6303 Write(autorPage); 6304 6305 6306 #line default 6307 #line hidden 6308 WriteLiteral("&autor={{autorId}}\">{{name}}</a>\r\n {{/ifCond}}\r\n " + 6309 " {{else}}\r\n {{#ifCond persoana_companie \"===\" \"Persoana\"}} " + 6310 " \r\n <a href=\"/Default.aspx?ID="); 6311 6312 6313 #line 1581 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 6314 Write(autorPage); 6315 6316 6317 #line default 6318 #line hidden 6319 WriteLiteral(@"&autor={{autorId}}"">{{name}}, </a> 6320 {{/ifCond}} 6321 {{/if}} 6322 {{/foreach}} 6323 </span> 6324 </div> 6325 {{/ifCond}} 6326 {{#ifCond counterAutori ""==="" ""1""}} 6327 {{#Autori}} 6328 {{#ifCond persoana_companie ""==="" ""Persoana""}} 6329 <div class=""row row-butoane-articol""> 6330 <div class=""col-xs-12 col-sm-12""><a href=""/Default.aspx?ID="); 6331 6332 6333 #line 1592 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 6334 Write(autorPage); 6335 6336 6337 #line default 6338 #line hidden 6339 WriteLiteral("&autor={{autorId}}\" class=\"btn btn-primary btn-background\">"); 6340 6341 6342 #line 1592 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 6343 Write(Translate("VeziAlteArticoleAleAutorului", "Alte articole ale autorului")); 6344 6345 6346 #line default 6347 #line hidden 6348 WriteLiteral(@"</a></div> 6349 </div> 6350 <div class=""author-box clearfix""> 6351 <div class=""author-avatar""> 6352 <img alt="""" src=""/Admin/Public/GetImage.ashx?Image={{imagine}}&AlternativeImage=/Files/Images/Articole/download (1).png&Crop=0&Format=jpg&Width=100&Height=150&bgcolor=white"" > 6353 </div> 6354 <div class=""author-info""> 6355 <h3><a href=""/Default.aspx?ID="); 6356 6357 6358 #line 1599 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 6359 Write(autorPage); 6360 6361 6362 #line default 6363 #line hidden 6364 WriteLiteral(@"&autor={{autorId}}"">{{name}}</a></h3> 6365 <p class=""author-bio"">{{description}}</p> 6366 </div> 6367 </div> 6368 {{/ifCond}} 6369 {{#ifCond persoana_companie ""==="" ""Persoana""}} 6370 <div class=""row row-butoane-articol""> 6371 <div class=""col-xs-12 col-sm-12""><a href=""/Default.aspx?ID="); 6372 6373 6374 #line 1606 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 6375 Write(autorPage); 6376 6377 6378 #line default 6379 #line hidden 6380 WriteLiteral("&autor={{autorId}}\" class=\"btn btn-primary btn-background\">"); 6381 6382 6383 #line 1606 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 6384 Write(Translate("VeziAlteArticoleAleCompanieiAutoare", "Alte articole ale companiei autoare")); 6385 6386 6387 #line default 6388 #line hidden 6389 WriteLiteral("</a></div>\r\n </div> \r\n {{/ifCond}} \r\n {{/Autori}}\r\n " + 6390 " {{/ifCond}}\r\n</script>\r\n<script"); 6391 6392 WriteLiteral(" id=\"SectionTemplate\""); 6393 6394 WriteLiteral(" type=\"text/x-handlebars-template\""); 6395 6396 WriteLiteral(@"> 6397 {{#ArticlesContainer}} 6398 {{#each Article}} 6399 <div class=""col-xs-12""> 6400 <article class=""news-block small-block"" style=""margin-bottom: 110px;""> 6401 <a href=""/Default.aspx?ID={{pagePageID}}"" class=""overlay-link""> 6402 <figure class=""image-overlay proportie-1""> 6403 <img src=""/Admin/Public/GetImage.ashx?Image={{itemImaginePrincipala}}&AlternativeImage=/Files/Images/Articole/download (1).png&Crop=0&Format=jpg&Width=350&Height=230"" alt=""{{itemTitlu}}"" class=""img-responsive"" /> 6404 </figure> 6405 </a> 6406 6407 <a href='/Default.aspx?ID={{itemSectiuneParinteId}}' class=""bg{{itemSectiuneParinteId}} category"">{{itemSectiuneParinte}}</a> 6408 <header class=""news-details""> 6409 6410 <h3 class=""news-title""><a href=""/Default.aspx?ID={{pagePageID}}"">{{itemTitlu}}</a></h3> 6411 <p class=""simple-share""> 6412 <a href=""#"">{{itemSectiuneParinte}}</a> 6413 "); 6414 6415 WriteLiteral(" "); 6416 6417 6418 #line 1629 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 6419 Write(Translate("articolde","de")); 6420 6421 6422 #line default 6423 #line hidden 6424 WriteLiteral(@" 6425 {{#articleAutori}} 6426 <a href=""{{Link}}"">{{Name}}</a> 6427 {{/articleAutori}} 6428 <br/> 6429 <span><i class=""fa fa-clock-o""></i> {{itemData}}</span> 6430 {{#if showItemVisits}} 6431 <span><i class=""fa fa-eye""></i> {{itemVisits}} vizualizari</span> 6432 {{/if}} 6433 </p> 6434 </article><!-- News block --> <p> 6435 </div> 6436 {{/each}} 6437 {{/ArticlesContainer}} 6438 </script> 6439 <script"); 6440 6441 WriteLiteral(" id=\"CommentsTemplate\""); 6442 6443 WriteLiteral(" type=\"text/x-handlebars-template\""); 6444 6445 WriteLiteral(@"> 6446 {{#each Comentarii}} 6447 <div class=""new_comment""> 6448 <ul class=""user_comment""> 6449 <div class=""user_avatar""> 6450 <img src=""/Admin/Public/GetImage.ashx?Image={{imagine}}&AlternativeImage=/Files/Images/Articole/download.png&Crop=0&Format=jpg&Width=350&Height=230""> 6451 </div> 6452 <div class=""comment_body""> 6453 <p>{{comment}}</p> 6454 </div> 6455 <div class=""comment_toolbar""> 6456 <div class=""comment_details""> 6457 <ul> 6458 <li><i class=""fa fa-clock-o""></i> {{ora}}</li> 6459 <li><i class=""fa fa-calendar""></i> {{data}}</li> 6460 <li><i class=""fa fa-pencil""></i> <span class=""user""> {{nume}}</span></li> 6461 </ul> 6462 </div> 6463 </div> 6464 </ul> 6465 </div> 6466 {{/each}} 6467 </script> 6468 6469 "); 6470 6471 WriteLiteral("<div"); 6472 6473 WriteLiteral(" id=\"loading\""); 6474 6475 WriteLiteral("></div>\r\n<div"); 6476 6477 WriteLiteral(" id=\"loader\""); 6478 6479 WriteLiteral("><div"); 6480 6481 WriteLiteral(" class=\"loader-icon\""); 6482 6483 WriteLiteral(@"></div></div> 6484 <!-- Google Analytics --> 6485 <script> 6486 window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)};ga.l=+new Date; 6487 ga('create', 'UA-26068739-1', 'auto'); 6488 // START DIMENSIUNI 6489 // DIMENSIUNI PENTRU Romanian Industry Zoom: 6490 var dw_editie = '"); 6491 6492 6493 #line 1699 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 6494 Write(nrEditie); 6495 6496 6497 #line default 6498 #line hidden 6499 WriteLiteral("\';\r\n var dw_autor = \'"); 6500 6501 6502 #line 1700 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 6503 Write(articleAutori); 6504 6505 6506 #line default 6507 #line hidden 6508 WriteLiteral("\';\r\n var dw_companie = \'"); 6509 6510 6511 #line 1701 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 6512 Write(articleCompanyDe); 6513 6514 6515 #line default 6516 #line hidden 6517 WriteLiteral("\';\r\n var dw_data_aparitie = \'"); 6518 6519 6520 #line 1702 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 6521 Write(GetDate("Item.Data.Value").ToString("dd/MM/yyyy")); 6522 6523 6524 #line default 6525 #line hidden 6526 WriteLiteral(@"'; // format dd.mm.yyyy 6527 ga('set', 'dimension1', dw_editie); 6528 ga('set', 'dimension2', dw_autor); 6529 ga('set', 'dimension3', dw_companie); 6530 ga('set', 'dimension9', dw_data_aparitie); 6531 // END DIMENSIUNI 6532 ga('send', 'pageview'); 6533 </script> 6534 <script"); 6535 6536 WriteLiteral(" async=\"\""); 6537 6538 WriteLiteral(" src=\'https://www.google-analytics.com/analytics.js\'"); 6539 6540 WriteLiteral("></script>\r\n<!-- End Google Analytics -->\r\n \r\n\r\n </div><!-- .main-cont" + 6541 "ent -->\r\n \r\n"); 6542 6543 6544 #line 1716 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 6545 6546 6547 #line default 6548 #line hidden 6549 6550 #line 1716 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 6551 if (string.IsNullOrEmpty(System.Web.HttpContext.Current.Request.Params["productid"])) 6552 { 6553 6554 6555 #line default 6556 #line hidden 6557 WriteLiteral(" <!-- End Main Banner -->\r\n"); 6558 6559 WriteLiteral(" <div"); 6560 6561 WriteLiteral(" class=\"mag-content clearfix sidebar-stop\""); 6562 6563 WriteLiteral(" style=\"max-width:1170px; padding-left: 0px; padding-right: 0px;\""); 6564 6565 WriteLiteral(">\r\n <div"); 6566 6567 WriteLiteral(" class=\"row\""); 6568 6569 WriteLiteral(">\r\n <div"); 6570 6571 WriteLiteral(" class=\"col-md-12\""); 6572 6573 WriteLiteral(">\r\n <div"); 6574 6575 WriteLiteral(" class=\"ad728-wrapper\""); 6576 6577 WriteLiteral(">\r\n <ins"); 6578 6579 WriteLiteral(" data-revive-zoneid=\"7\""); 6580 6581 WriteLiteral(" data-revive-id=\"30be11c85ce356e14970630466da228f\""); 6582 6583 WriteLiteral("></ins>\r\n\r\n </div>\r\n </div>\r\n " + 6584 " </div>\r\n </div>\r\n"); 6585 6586 WriteLiteral(" <!-- End Main Banner -->\r\n"); 6587 6588 6589 #line 1730 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 6590 } 6591 6592 6593 #line default 6594 #line hidden 6595 WriteLiteral(" \r\n </div><!-- .main-wrapper -->\r\n\r\n\r\n <!-- Footer -->\r\n\r\n"); 6596 6597 6598 #line 1737 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 6599 6600 6601 string AdresaLogoFooter= "https://" + GetGlobalValue("Global:Request.Host")+ "/Files/Images/tehnicmedia-logo.jpg"; 6602 6603 6604 #line default 6605 #line hidden 6606 WriteLiteral("\r\n\r\n\r\n<footer"); 6607 6608 WriteLiteral(" class=\"footer source-org vcard copyright clearfix\""); 6609 6610 WriteLiteral(" id=\"footer\""); 6611 6612 WriteLiteral(" role=\"contentinfo\""); 6613 6614 WriteLiteral(">\r\n <div"); 6615 6616 WriteLiteral(" class=\"footer-main\""); 6617 6618 WriteLiteral(">\r\n <div"); 6619 6620 WriteLiteral(" class=\"fixed-main\""); 6621 6622 WriteLiteral(">\r\n <div"); 6623 6624 WriteLiteral(" class=\"container\""); 6625 6626 WriteLiteral(">\r\n <div"); 6627 6628 WriteLiteral(" class=\"mag-content\""); 6629 6630 WriteLiteral(">\r\n <div"); 6631 6632 WriteLiteral(" class=\"row\""); 6633 6634 WriteLiteral(">\r\n <div"); 6635 6636 WriteLiteral(" class=\"col-md-4\""); 6637 6638 WriteLiteral(">\r\n <div"); 6639 6640 WriteLiteral(" class=\"footer-block clearfix\""); 6641 6642 WriteLiteral(">\r\n <h3>"); 6643 6644 6645 #line 1751 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 6646 Write(Translate("link", "Link-uri utile")); 6647 6648 6649 #line default 6650 #line hidden 6651 WriteLiteral(":</h3> \r\n\r\n <ul"); 6652 6653 WriteLiteral(" class=\"footer-menu\""); 6654 6655 WriteLiteral(">\r\n"); 6656 6657 6658 #line 1754 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 6659 6660 6661 #line default 6662 #line hidden 6663 6664 #line 1754 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 6665 foreach(LoopItem footerMenu in GetLoop("Item.Area.FooterMenu")) { 6666 6667 string footerLink = footerMenu.GetString("Item.Area.FooterMenu.FooterLinkUrl"), 6668 footerLinkText = footerMenu.GetString("Item.Area.FooterMenu.FooterLinkText.Value"), 6669 openInNewWindow = footerMenu.GetBoolean("Item.Area.FooterMenu.OpenInNewWindows") ? "_blank" : "_self"; 6670 6671 6672 6673 #line default 6674 #line hidden 6675 WriteLiteral(" <li><a"); 6676 6677 WriteAttribute("href", Tuple.Create(" href=\"", 81699), Tuple.Create("\"", 81717) 6678 6679 #line 1760 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 6680 , Tuple.Create(Tuple.Create("", 81706), Tuple.Create<System.Object, System.Int32>(footerLink 6681 6682 #line default 6683 #line hidden 6684 , 81706), false) 6685 ); 6686 6687 WriteAttribute("target", Tuple.Create(" target=\'", 81718), Tuple.Create("\'", 81743) 6688 6689 #line 1760 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 6690 , Tuple.Create(Tuple.Create("", 81727), Tuple.Create<System.Object, System.Int32>(openInNewWindow 6691 6692 #line default 6693 #line hidden 6694 , 81727), false) 6695 ); 6696 6697 WriteLiteral(">"); 6698 6699 6700 #line 1760 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 6701 Write(footerLinkText); 6702 6703 6704 #line default 6705 #line hidden 6706 WriteLiteral("</a></li>\r\n"); 6707 6708 6709 #line 1761 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 6710 } 6711 6712 6713 #line default 6714 #line hidden 6715 WriteLiteral(" </ul>\r\n </div>\r\n " + 6716 " </div>\r\n <div"); 6717 6718 WriteLiteral(" class=\"col-md-4\""); 6719 6720 WriteLiteral(">\r\n <div"); 6721 6722 WriteLiteral(" class=\"footer-block clearfix\""); 6723 6724 WriteLiteral(">\r\n <h3>"); 6725 6726 6727 #line 1767 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 6728 Write(Translate("aboutUs", "DESPRE NOI")); 6729 6730 6731 #line default 6732 #line hidden 6733 WriteLiteral(":</h3>\r\n <p>"); 6734 6735 6736 #line 1768 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 6737 Write(Pageview.Area.Item["FooterAbout"]); 6738 6739 6740 #line default 6741 #line hidden 6742 WriteLiteral("</p>\r\n </div>\r\n </div>\r\n\r\n " + 6743 " <div"); 6744 6745 WriteLiteral(" class=\"col-md-3 col-md-offset-1\""); 6746 6747 WriteLiteral(">\r\n <div"); 6748 6749 WriteLiteral(" class=\"footer-block clearfix\""); 6750 6751 WriteLiteral(">\r\n <h3>"); 6752 6753 6754 #line 1774 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 6755 Write(Translate("contactUs", "CONTACT")); 6756 6757 6758 #line default 6759 #line hidden 6760 WriteLiteral(":</h3>\r\n <ul>\r\n " + 6761 " <li><i"); 6762 6763 WriteLiteral(" class=\"fa fa-phone\""); 6764 6765 WriteLiteral(" aria-hidden=\"true\""); 6766 6767 WriteLiteral("></i> &nbsp;"); 6768 6769 6770 #line 1776 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 6771 Write(Pageview.Area.Item["Phone"]); 6772 6773 6774 #line default 6775 #line hidden 6776 WriteLiteral("</li>\r\n <li><i"); 6777 6778 WriteLiteral(" class=\"fa fa-envelope\""); 6779 6780 WriteLiteral(" aria-hidden=\"true\""); 6781 6782 WriteLiteral("></i> &nbsp;"); 6783 6784 6785 #line 1777 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 6786 Write(Pageview.Area.Item["Email"]); 6787 6788 6789 #line default 6790 #line hidden 6791 WriteLiteral("</li>\r\n <li> <i"); 6792 6793 WriteLiteral(" class=\"fa fa-map-marker\""); 6794 6795 WriteLiteral(" aria-hidden=\"true\""); 6796 6797 WriteLiteral("></i> &nbsp;"); 6798 6799 6800 #line 1778 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 6801 Write(Pageview.Area.Item["Address"]); 6802 6803 6804 #line default 6805 #line hidden 6806 WriteLiteral(@"</li> 6807 6808 </ul> 6809 </div> 6810 </div> 6811 6812 </div> 6813 </div> 6814 </div> 6815 </div> 6816 </div> 6817 6818 <div"); 6819 6820 WriteLiteral(" class=\"footer-bottom clearfix\""); 6821 6822 WriteLiteral(">\r\n <div"); 6823 6824 WriteLiteral(" class=\"fixed-main\""); 6825 6826 WriteLiteral(">\r\n <div"); 6827 6828 WriteLiteral(" class=\"container\""); 6829 6830 WriteLiteral(">\r\n <div"); 6831 6832 WriteLiteral(" class=\"mag-content\""); 6833 6834 WriteLiteral(">\r\n <div"); 6835 6836 WriteLiteral(" class=\"row\""); 6837 6838 WriteLiteral(">\r\n <div"); 6839 6840 WriteLiteral(" class=\"col-md-6\""); 6841 6842 WriteLiteral(">\r\n <p>"); 6843 6844 6845 #line 1796 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 6846 Write(Translate("copyright", "Copyright")); 6847 6848 6849 #line default 6850 #line hidden 6851 WriteLiteral(": "); 6852 6853 6854 #line 1796 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 6855 Write(Translate("TehnicMedia2017", "Tehnic Media")); 6856 6857 6858 #line default 6859 #line hidden 6860 WriteLiteral(" &copy; "); 6861 6862 6863 #line 1796 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 6864 Write(DateTime.Now.Year); 6865 6866 6867 #line default 6868 #line hidden 6869 WriteLiteral(".\r\n <a"); 6870 6871 WriteLiteral(" href=\"http://www.tehnicmedia.ro\""); 6872 6873 WriteLiteral("><img"); 6874 6875 WriteAttribute("src", Tuple.Create(" src=\"", 83597), Tuple.Create("\"", 83620) 6876 6877 #line 1797 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 6878 , Tuple.Create(Tuple.Create("", 83603), Tuple.Create<System.Object, System.Int32>(AdresaLogoFooter 6879 6880 #line default 6881 #line hidden 6882 , 83603), false) 6883 ); 6884 6885 WriteLiteral(" width=\"\""); 6886 6887 WriteLiteral(" height=\"\""); 6888 6889 WriteLiteral("></a></p>\r\n </div>\r\n <div"); 6890 6891 WriteLiteral(" class=\"col-md-6\""); 6892 6893 WriteLiteral(">\r\n <div"); 6894 6895 WriteLiteral(" class=\"social-icons pull-right\""); 6896 6897 WriteLiteral(">\r\n <a"); 6898 6899 WriteAttribute("href", Tuple.Create(" href=\'", 83832), Tuple.Create("\'", 83874) 6900 6901 #line 1801 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 6902 , Tuple.Create(Tuple.Create("", 83839), Tuple.Create<System.Object, System.Int32>(Pageview.Area.Item["FacebookLink"] 6903 6904 #line default 6905 #line hidden 6906 , 83839), false) 6907 ); 6908 6909 WriteLiteral(" target=\"_blank\""); 6910 6911 WriteLiteral("><i"); 6912 6913 WriteLiteral(" class=\"fa fa-facebook\""); 6914 6915 WriteLiteral(" style=\"padding: 0px 8px;\""); 6916 6917 WriteLiteral("></i></a>\r\n <a"); 6918 6919 WriteAttribute("href", Tuple.Create(" href=\'", 83988), Tuple.Create("\'", 84029) 6920 6921 #line 1802 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 6922 , Tuple.Create(Tuple.Create("", 83995), Tuple.Create<System.Object, System.Int32>(Pageview.Area.Item["TwitterLink"] 6923 6924 #line default 6925 #line hidden 6926 , 83995), false) 6927 ); 6928 6929 WriteLiteral(" target=\"_blank\""); 6930 6931 WriteLiteral("><i"); 6932 6933 WriteLiteral(" class=\"fa fa-twitter\""); 6934 6935 WriteLiteral(" style=\"padding: 0px 8px;\""); 6936 6937 WriteLiteral(@"></i></a> 6938 </div> 6939 </div> 6940 </div> 6941 </div> 6942 </div> 6943 </div> 6944 </div> 6945 6946 </footer> 6947 <!-- End Footer --> 6948 6949 6950 6951 <!-- Mobile Menu --> 6952 <nav"); 6953 6954 WriteLiteral(" id=\"mobile-nav\""); 6955 6956 WriteLiteral(">\r\n <div>\r\n"); 6957 6958 WriteLiteral(" "); 6959 6960 6961 #line 1819 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 6962 Write(RenderNavigation(new { 6963 template = "MainNavigationMobile.xslt", 6964 expandmode = "all", 6965 id = "mobile-nav", 6966 startlevel = 1, 6967 listStyle = "mobile-navigation", 6968 endlevel = 2 6969 })); 6970 6971 6972 #line default 6973 #line hidden 6974 WriteLiteral("\r\n </div>\r\n </nav>\r\n <!-- / Mobile Menu -->\r\n <div"); 6975 6976 WriteLiteral(" id=\"go-top-button\""); 6977 6978 WriteLiteral(" class=\"fa fa-angle-up\""); 6979 6980 WriteLiteral(" title=\"Scroll To Top\""); 6981 6982 WriteLiteral("></div>\r\n <div"); 6983 6984 WriteLiteral(" class=\"mobile-overlay\""); 6985 6986 WriteLiteral(" id=\"mobile-overlay\""); 6987 6988 WriteLiteral("></div>\r\n <script"); 6989 6990 WriteLiteral(" type=\"text/javascript\""); 6991 6992 WriteAttribute("src", Tuple.Create(" src=\"", 84865), Tuple.Create("\"", 84890) 6993 6994 #line 1832 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 6995 , Tuple.Create(Tuple.Create("", 84871), Tuple.Create<System.Object, System.Int32>(scriptBundleFooter 6996 6997 #line default 6998 #line hidden 6999 , 84871), false) 7000 ); 7001 7002 WriteLiteral("></script>\r\n\r\n\r\n\r\n"); 7003 7004 WriteLiteral("\r\n"); 7005 7006 7007 #line 1837 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 7008 Write(RenderSnippet("Modals")); 7009 7010 7011 #line default 7012 #line hidden 7013 WriteLiteral("\r\n<!--<script type=\"text/javascript\" src=\"assets/js/footer_scripts.js\"></script>-" + 7014 "->\r\n \r\n"); 7015 7016 7017 #line 1840 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 7018 Write(Pageview.Area.Item["Analytics_Code"]); 7019 7020 7021 #line default 7022 #line hidden 7023 WriteLiteral("\r\n<!-- Add to Calendar -->\r\n<script"); 7024 7025 WriteLiteral(" type=\"text/javascript\""); 7026 7027 WriteLiteral(@">(function () { 7028 if (window.addtocalendar)if(typeof window.addtocalendar.start == ""function"")return; 7029 if (window.ifaddtocalendar == undefined) { window.ifaddtocalendar = 1; 7030 var d = document, s = d.createElement('script'), g = 'getElementsByTagName'; 7031 s.type = 'text/javascript';s.charset = 'UTF-8';s.async = true; 7032 s.src = ('https:' == window.location.protocol ? 'https' : 'http')+'://addtocalendar.com/atc/1.5/atc.min.js'; 7033 var h = d[g]('body')[0];h.appendChild(s); } 7034 })(); 7035 </script> 7036 7037 <!-- Go to www.addthis.com/dashboard to customize your tools --> 7038 <script"); 7039 7040 WriteLiteral(" type=\"text/javascript\""); 7041 7042 WriteLiteral(" src=\"//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-58b014abcccaba2d\""); 7043 7044 WriteLiteral(@"></script> 7045 7046 <!-- Twitter Widget--> 7047 <!--<script type=""text/javascript""> 7048 window.twttr = (function (d,s,id) { 7049 var t, js, fjs = d.getElementsByTagName(s)[0]; 7050 if (d.getElementById(id)) return; js=d.createElement(s); js.id=id; 7051 js.src=""https://platform.twitter.com/widgets.js""; fjs.parentNode.insertBefore(js, fjs); 7052 return window.twttr || (t = { _e: [], ready: function(f){ t._e.push(f) } }); 7053 }(document, ""script"", ""twitter-wjs"")); 7054 </script>--> 7055 7056 <!-- Twitter Widget Loader --> 7057 7058 "); 7059 7060 7061 #line 1867 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 7062 Write(RenderSnippet("bottomJS")); 7063 7064 7065 #line default 7066 #line hidden 7067 WriteLiteral("\r\n\r\n<!-- Start Scroll tracking -->\r\n<script"); 7068 7069 WriteAttribute("src", Tuple.Create(" src=\"", 86415), Tuple.Create("\"", 86467) 7070 7071 #line 1870 "Z:\Sites\_dotFusion\www.ttonline.ro\Files\Templates\Designs\TTonlineNew\_parsed\Page.parsed.cshtml" 7072 , Tuple.Create(Tuple.Create("", 86421), Tuple.Create<System.Object, System.Int32>(areaLayoutPath 7073 7074 #line default 7075 #line hidden 7076 , 86421), false) 7077 , Tuple.Create(Tuple.Create("", 86436), Tuple.Create("/assets/js/gascrolldepth.min.js", 86436), true) 7078 ); 7079 7080 WriteLiteral(@"></script> 7081 <script> 7082 gascrolldepth.init({ 7083 elements: ['#mm-0', 'footer'], 7084 userTiming: true, 7085 gtmOverride: true, 7086 eventHandler: function(data) { 7087 if (data.event == ""ScrollDistance"") { 7088 ga('send', 'event', data.eventCategory, data.eventAction, data.eventLabel, data.eventValue); 7089 } 7090 } 7091 }); 7092 </script> 7093 <!-- End Scroll tracking --> 7094 <script"); 7095 7096 WriteLiteral(" type=\"text/javascript\""); 7097 7098 WriteLiteral(">\r\n\r\n/* <![CDATA[ */\r\n\r\nvar google_conversion_id = 1010029401;\r\n\r\nvar google_cust" + 7099 "om_params = window.google_tag_params;\r\n\r\nvar google_remarketing_only = true;\r\n\r\n" + 7100 "/* ]]> */\r\n\r\n</script>\r\n\r\n<script"); 7101 7102 WriteLiteral(" type=\"text/javascript\""); 7103 7104 WriteLiteral(" src=\"//www.googleadservices.com/pagead/conversion.js\""); 7105 7106 WriteLiteral("></script> \r\n<script"); 7107 7108 WriteLiteral(" type=\"text/javascript\""); 7109 7110 WriteLiteral(" src=\"https://cdnjs.cloudflare.com/ajax/libs/bootstrap-multiselect/0.9.15/js/boot" + 7111 "strap-multiselect.min.js\""); 7112 7113 WriteLiteral("></script>\r\n\r\n<script"); 7114 7115 WriteLiteral(" type=\"text/javascript\""); 7116 7117 WriteLiteral(" src=\"/Files/Templates/Designs/TTOnlineNew/js/minified/00_libraries/00_handlebars" + 7118 ".js\""); 7119 7120 WriteLiteral("></script> \r\n<script"); 7121 7122 WriteLiteral(" type=\"text/javascript\""); 7123 7124 WriteLiteral(" src=\"/Files/Templates/Designs/TTOnlineNew/js/minified/00_libraries/05_axios.js\""); 7125 7126 WriteLiteral("></script> \r\n<script"); 7127 7128 WriteLiteral(" type=\"text/javascript\""); 7129 7130 WriteLiteral(" src=\"/Files/Templates/Designs/TTOnlineNew/js/minified/00_libraries/10_es6promise" + 7131 ".js\""); 7132 7133 WriteLiteral("></script> \r\n<script"); 7134 7135 WriteLiteral(" type=\"text/javascript\""); 7136 7137 WriteLiteral(" src=\"/Files/Templates/Designs/TTOnlineNew/js/minified/05_custom/00_main.min.js\""); 7138 7139 WriteLiteral("></script> \r\n<script"); 7140 7141 WriteLiteral(" type=\"text/javascript\""); 7142 7143 WriteLiteral(" src=\"/Files/Templates/Designs/TTOnlineNew/js/minified/05_custom/05_handlebarsHel" + 7144 "per.min.js\""); 7145 7146 WriteLiteral("></script> \r\n\r\n<noscript>\r\n <div"); 7147 7148 WriteLiteral(" style=\"display:inline;\""); 7149 7150 WriteLiteral(">\r\n <img"); 7151 7152 WriteLiteral(" height=\"1\""); 7153 7154 WriteLiteral(" width=\"1\""); 7155 7156 WriteLiteral(" style=\"border-style:none;\""); 7157 7158 WriteLiteral(" alt=\"\""); 7159 7160 WriteLiteral(" src=\"//googleads.g.doubleclick.net/pagead/viewthroughconversion/1010029401/?guid" + 7161 "=ON&amp;script=0\""); 7162 7163 WriteLiteral(">\r\n </div>\r\n</noscript>\r\n<div"); 7164 7165 WriteLiteral(" id=\"loading\""); 7166 7167 WriteLiteral("></div>\r\n</body>\r\n</html>"); 7168 7169 } 7170 } 7171 } 7172

1 @inherits RazorTemplateBase<RazorTemplateModel<Template>> 2 @using Dynamicweb.Rendering 3 @using Dynamicweb.Content 4 @using System.Text.RegularExpressions 5 @using System.Web.UI.HtmlControls 6 @{ 7 8 string areaLayoutPath = "/Files/Templates/Designs/TTonline/"; 9 areaLayoutPath = areaLayoutPath.Substring(0, areaLayoutPath.LastIndexOf("/")); 10 11 string Layout_Style = GetString("Item.Area.Layout_Style.Value"), 12 Template_Style = GetString("Item.Area.Template_Style.Value"), 13 Sticky_Header = GetString("Item.Area.Sticky_Header.Value"), 14 Template_Color = GetString("Item.Area.Template_Color.Value"), 15 bodyStyle = Layout_Style + " " + Template_Style + " " + Sticky_Header + " " + Template_Color; 16 17 } 18 19 20 @inherits RazorTemplateBase<RazorTemplateModel<Template>> 21 @using Dynamicweb.Rendering; 22 @using System.Text.RegularExpressions 23 24 @helper OgMeta(string designName) 25 { 26 if (string.IsNullOrEmpty(System.Web.HttpContext.Current.Request.Params["ProductID"])) 27 { 28 @SnippetStart("OGMeta")<meta property="og:title" content='@GetString("Title")'> 29 @* <meta property="og:image" content='@Pageview.GlobalTags.GetTagByName("Global:Request.Scheme").Value.ToString()://@Pageview.GlobalTags.GetTagByName("Global:Request.Host").Value.ToString()/Files/Templates/Designs/@designName/images/logo.png'> *@ 30 <meta property="og:site_name" content='@Pageview.Area.Name'> 31 <meta property="og:url" content='@Pageview.GlobalTags.GetTagByName("Global:Request.Scheme").Value.ToString()://@Pageview.GlobalTags.GetTagByName("Global:Request.Host").Value.ToString()@Pageview.GlobalTags.GetTagByName("Global:Pageview.Url").Value.ToString()'> 32 <meta property="og:description" content='@StripHtml(GetString("Meta.Description"))'> 33 <meta property="og:type" content="article"> 34 <meta property="og:locale" content='@Pageview.GlobalTags.GetTagByName("Global:Area.LongLang").Value.ToString().Replace("-", "_")'> 35 @SnippetEnd("OGMeta") 36 } 37 } 38 @helper HtmlHead(string designName) 39 { 40 string designFolder = GetString("Template:DesignBaseUrl"); 41 string robots = ""; 42 string ipCountry = "RO";//Dna.IP.Frontend.GetCountryCode(); 43 string countryCodeModule = !string.IsNullOrEmpty(ipCountry) ? ipCountry : "RO"; 44 string userCountryCode = (Pageview.User != null && !string.IsNullOrEmpty(Pageview.User.Country)) ? Pageview.User.Country : ipCountry; 45 string userState = Pageview.User != null ? Pageview.User.State : string.Empty; 46 string userAccountsNumber = (System.Web.HttpContext.Current.Session["AccountsNumber"] ?? "").ToString(); 47 robots = (GetBoolean("Item.Area.DemoBanner") || GetBoolean("Item.Area.NoIndex")) ? CommaSplittedString(robots, "noindex") : ""; 48 robots = (GetBoolean("Item.Area.DemoBanner") || GetBoolean("Item.Area.NoFollow")) ? CommaSplittedString(robots, "nofollow") : ""; 49 50 <head> 51 <title>@GetValue("Title")</title> 52 <meta http-equiv="content-type" content="text/html; charset=utf-8"> 53 <meta name="viewport" content="initial-scale=1.0, width=device-width, user-scalable=no"> 54 <meta http-equiv="X-UA-Compatible" content="IE=edge"> 55 <meta name="SKYPE_TOOLBAR" content="SKYPE_TOOLBAR_PARSER_COMPATIBLE"> 56 57 <link rel="apple-touch-icon-precomposed" sizes="57x57" href="@(designFolder)images/apple-touch-icon-57x57.png"> 58 <link rel="apple-touch-icon-precomposed" sizes="114x114" href="@(designFolder)images/apple-touch-icon-114x114.png"> 59 <link rel="apple-touch-icon-precomposed" sizes="72x72" href="@(designFolder)images/apple-touch-icon-72x72.png"> 60 <link rel="apple-touch-icon-precomposed" sizes="144x144" href="@(designFolder)images/apple-touch-icon-144x144.png"> 61 <link rel="apple-touch-icon-precomposed" sizes="60x60" href="@(designFolder)images/apple-touch-icon-60x60.png"> 62 <link rel="apple-touch-icon-precomposed" sizes="120x120" href="@(designFolder)images/apple-touch-icon-120x120.png"> 63 <link rel="apple-touch-icon-precomposed" sizes="76x76" href="@(designFolder)images/apple-touch-icon-76x76.png"> 64 <link rel="apple-touch-icon-precomposed" sizes="152x152" href="@(designFolder)images/apple-touch-icon-152x152.png"> 65 <link rel="icon" type="image/png" href="@(designFolder)images/favicon-196x196.png" sizes="196x196"> 66 <link rel="icon" type="image/png" href="@(designFolder)images/favicon-96x96.png" sizes="96x96"> 67 <link rel="icon" type="image/png" href="@(designFolder)images/favicon-32x32.png" sizes="32x32"> 68 <link rel="icon" type="image/png" href="@(designFolder)images/favicon-16x16.png" sizes="16x16"> 69 <link rel="icon" type="image/png" href="@(designFolder)images/favicon-128.png" sizes="128x128"> 70 <meta name="application-name" content="&nbsp;"> 71 <meta name="msapplication-TileColor" content="#FFFFFF"> 72 <meta name="msapplication-TileImage" content="@(designFolder)images/mstile-144x144.png"> 73 <meta name="msapplication-square70x70logo" content="@(designFolder)images/mstile-70x70.png"> 74 <meta name="msapplication-square150x150logo" content="@(designFolder)images/mstile-150x150.png"> 75 <meta name="msapplication-wide310x150logo" content="@(designFolder)images/mstile-310x150.png"> 76 <meta name="msapplication-square310x310logo" content="@(designFolder)images/mstile-310x310.png"> 77 78 @if (!string.IsNullOrEmpty(robots)) 79 { 80 <meta name="robots" content="@robots"> 81 } 82 @OgMeta(designName) 83 @RenderSnippet("OGMeta") 84 @GetString("MetaTags") 85 @GetString("CopyRightNotice") 86 @GetString("Stylesheets") 87 88 @* <link rel="shortcut icon" href="@(designFolder)images/favicon.ico" type="image/x-icon"> *@ 89 90 <!-- Icon Font --> 91 <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css"> 92 93 @{ 94 var minify = GetBoolean("Item.Area.Minify_CSS_And_JavaScript"); 95 var styleBundle = Dna.Optimizer.Renderer.RenderStyles(string.Format("{0}css", designFolder), minify:minify, recursive : true, virtualPathPrefix : "-main-styles", exclusions: new[] { "exceptions" }); 96 var scriptBundleHeader = Dna.Optimizer.Renderer.RenderScripts(string.Format("{0}js/header", designFolder), minify: minify, recursive : true, virtualPathPrefix : "-main-scripts-header",exclusions: new[] { "exceptions" }); 97 // var scriptBundleFooter = Dna.Optimizer.Renderer.RenderScripts(string.Format("{0}js/footer", designFolder), minify: minify, recursive : true, virtualPathPrefix : "-main-scripts-footer",exclusions: new[] { "exceptions" }); 98 } 99 <link rel="stylesheet" href="@styleBundle"> 100 @*<link rel="stylesheet" href="/Files/Templates/Designs/TTonlineNew/css/10_custom/custom.min.css">*@ 101 <script src="@scriptBundleHeader"></script> 102 @GetString("Javascripts") 103 @RenderSnippet("externalScripts") 104 @SnippetStart("externalScripts") @SnippetEnd("externalScripts") 105 <!--[if lte IE 9]> 106 <script src="//html5shim.googlecode.com/svn/trunk/html5.js"></script> 107 <script src="//cdnjs.cloudflare.com/ajax/libs/respond.js/1.1.0/respond.min.js"></script> 108 <![endif]--> 109 <script> 110 @RenderSnippet("jsVariables") 111 @SnippetStart("jsVariables") @SnippetEnd("jsVariables") 112 113 var obj_pages = { 114 str_miniCart: '@Dynamicweb.Frontend.SearchEngineFriendlyURLs.GetFriendlyUrl(GetString("Item.Area.MiniCart"))', 115 str_login: '@Dynamicweb.Frontend.SearchEngineFriendlyURLs.GetFriendlyUrl(GetString("Item.Area.Login"))', 116 str_globalTranslates: '@Dynamicweb.Frontend.SearchEngineFriendlyURLs.GetFriendlyUrl(GetString("Item.Area.GlobalTranslates"))', 117 str_contactPopup : '@Dynamicweb.Frontend.SearchEngineFriendlyURLs.GetFriendlyUrl(GetString("Item.Area.ContactUs_Popup"))', 118 str_cartInformation: '@Dynamicweb.Frontend.SearchEngineFriendlyURLs.GetFriendlyUrl(GetString("Item.Area.Cart_Information"))', 119 str_typeAhead : '@Dynamicweb.Frontend.SearchEngineFriendlyURLs.GetFriendlyUrl(GetString("Item.Area.TypeAhead"))' 120 }, 121 obj_user = { 122 str_country: '@userCountryCode', 123 str_state: '@userState', 124 str_accountsNumber:'@userAccountsNumber' 125 }, 126 obj_settings = { 127 str_contactTimeout: '@GetString("Item.Area.Time")', 128 str_cartQty: '@GetString("Ecom:Order.OrderLines.TotalProductQuantity")' 129 }, 130 obj_translates = { 131 str_seeAll: '@Translate("seeAllThe", "See all the")', 132 str_results: '@Translate("results", "results")' 133 }; 134 $(function () { 135 @UserDoesNotExist() 136 @RenderSnippet("jsOnLoadVariables") 137 @SnippetStart("jsOnLoadVariables") @SnippetEnd("jsOnLoadVariables") 138 @RenderSnippet("jsOnLoad") 139 @SnippetStart("jsOnLoad") @SnippetEnd("jsOnLoad") 140 }); 141 142 @if(!string.IsNullOrWhiteSpace(GetString("Item.Area.GoogleAnalytics"))) 143 { 144 <text> 145 (function (i, s, o, g, r, a, m) { 146 i['GoogleAnalyticsObject'] = r; i[r] = i[r] || function () { 147 (i[r].q = i[r].q || []).push(arguments) 148 }, i[r].l = 1 * new Date(); a = s.createElement(o), 149 m = s.getElementsByTagName(o)[0]; a.async = 1; a.src = g; m.parentNode.insertBefore(a, m) 150 })(window, document, 'script', '//www.google-analytics.com/analytics.js', 'ga'); 151 ga('create', '@GetString("Item.Area.GoogleAnalytics")', 'auto'); 152 ga('send', 'pageview'); 153 </text> 154 } 155 @SnippetStart("eCommerceTracking")@SnippetEnd("eCommerceTracking") 156 @RenderSnippet("eCommerceTracking") 157 </script> 158 159 <!-- Global site tag (gtag.js) - Google Ads: 970361168 --> 160 <script async="" src="https://www.googletagmanager.com/gtag/js?id=AW-970361168"></script><script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'AW-970361168'); </script> 161 162 <!-- Hotjar Tracking Code for https://ttonline.ro --> 163 <script> 164 (function(h,o,t,j,a,r){ 165 h.hj=h.hj||function(){(h.hj.q=h.hj.q||[]).push(arguments)}; 166 h._hjSettings={hjid:1231893,hjsv:6}; 167 a=o.getElementsByTagName('head')[0]; 168 r=o.createElement('script');r.async=1; 169 r.src=t+h._hjSettings.hjid+j+h._hjSettings.hjsv; 170 a.appendChild(r); 171 })(window,document,'https://static.hotjar.com/c/hotjar-','.js?sv='); 172 </script> 173 <!-- Global site tag (gtag.js) - Google Ads: 1010029401 --> 174 <script async="" src="https://www.googletagmanager.com/gtag/js?id=AW-1010029401"></script> 175 <script> 176 window.dataLayer = window.dataLayer || []; 177 function gtag(){dataLayer.push(arguments);} 178 gtag('js', new Date()); 179 180 gtag('config', 'AW-1010029401'); 181 </script> 182 183 </head> 184 } 185 @helper UserDoesNotExist() 186 { 187 if (Dynamicweb.Environment.ExecutingContext.IsFrontEnd() && !Dynamicweb.Security.UserManagement.User.IsExtranetUserLoggedIn()) 188 { 189 if (!string.IsNullOrEmpty(System.Web.HttpContext.Current.Request.Params["Password"]) && !string.IsNullOrEmpty(System.Web.HttpContext.Current.Request.Params["Username"])) 190 { 191 @SnippetStart("jsOnLoad") 192 @:var showLogin = true; 193 @:alert("@Translate("yourUserNameOrPasswordDidntMatch", "Your user name or password didn't match. Please try again.")"); 194 @SnippetEnd("jsOnLoad") 195 } 196 } 197 } 198 @helper Logo(string cssclass, string companyName, string fileName) 199 { 200 if (!string.IsNullOrEmpty(System.Web.HttpContext.Current.Request.Params["print"])) 201 { 202 <div class="@cssclass"> 203 <a href="/"> 204 <img class="img-responsive hidden-print" src="/Files/Templates/Designs/TTonlineNew/images/@(fileName)" alt="@companyName" title="@companyName"> 205 <img class="img-responsive visible-print" src="/Files/Images/logo_TT.png" alt="@companyName" title="@companyName"> 206 </a> 207 </div> 208 } 209 else 210 { 211 <div class="@cssclass"> 212 <a href="/"> 213 <img class="img-responsive" src="/Files/Templates/Designs/TTonlineNew/images/@(fileName)" alt="@companyName" title="@companyName"> 214 </a> 215 </div> 216 } 217 } 218 219 @helper Copyright() 220 { 221 <div class="copyright">&copy; @DateTime.Now.Year @GetString("Item.Area.CompanyName") - @GetString("Item.Area.Copyright")</div> 222 } 223 @functions { 224 private string CommaSplittedString(string CommaSplittedString, string NewString) 225 { 226 227 if (!string.IsNullOrEmpty(CommaSplittedString)) 228 { 229 CommaSplittedString += ", "; 230 } 231 CommaSplittedString += NewString; 232 233 return CommaSplittedString; 234 } 235 public static string StripHtml(string source) 236 { 237 return Regex.Replace(source, "<.*?>", string.Empty); 238 } 239 } 240 @{ 241 string designName1 = "TTonline"; 242 string device = Pageview.Device.ToString(); 243 string firstPageId = GetString("DwAreaFirstPageID"); 244 string homeOrSubpage = GetString("DwAreaFirstPageID") == GetString("Global:Page.ID") ? "home" : "subpage"; 245 string print = !string.IsNullOrEmpty(System.Web.HttpContext.Current.Request.Params["print"]) ? "printOrPdf" : ""; 246 //string resultsPage = GetString("Item.Area.SearchResults"); 247 //string contactPage = GetString("Item.Area.ContactUs"); 248 string countryCode = "RO";//Dna.IP.Frontend.GetCountryCode(); 249 string longLang = Pageview.GlobalTags.GetTagByName("Global:Area.LongLang").Value.ToString(); 250 //string email = GetString("Item.Area.Email"); 251 //string phone = GetString("Item.Area.Phone"); 252 253 //bool userIsLoggedIn = Dynamicweb.Security.UserManagement.User.IsExtranetUserLoggedIn(); 254 bool isPrint = !string.IsNullOrEmpty(System.Web.HttpContext.Current.Request.Params["print"]); 255 bool bol_backofficeLogged = Dynamicweb.Security.UserManagement.User.GetCurrentBackendUser() != null ? true : false; 256 List<LoopItem> socialMedia = GetLoop("Item.Area.SocialNetworks"); 257 List<LoopItem> websiteLanguages = GetLoop("WebsiteLanguages"); 258 string designFolder = GetString("Template:DesignBaseUrl"); 259 var minify = GetBoolean("Item.Area.Minify_CSS_And_JavaScript"); 260 //var scriptBundleFooter = Dna.Optimizer.Renderer.RenderScripts(string.Format("{0}js/footer", designFolder), minify, true, "-main-scripts-footer", new[] { "exceptions" }); 261 var scriptBundleFooter = Dna.Optimizer.Renderer.RenderScripts(string.Format("{0}js/footer", designFolder), minify: minify, recursive: true, virtualPathPrefix : "-main-scripts-footer", exclusions : new[] { "exceptions" }); 262 var ibuySmartPageId = GetPageIdByNavigationTag("catalog"); 263 var ibuySmartUrl = "/Default.aspx?ID=" + ibuySmartPageId; 264 var isMobile = Pageview.Device.ToString() == "Mobile" ? true : false; 265 266 } 267 <!DOCTYPE HTML> 268 <!--[if lt IE 8 ]><html class="ie7" lang="@(longLang)"><![endif]--><!--[if IE 8 ]><html class="ie8" lang="@(longLang)"><![endif]--><!--[if IE 9 ]><html class="ie9" lang="@(longLang)"><![endif]--><!--[if (gt IE 9)|!(IE)]><!--> 269 <html lang="@(longLang)"><!--<![endif]--> 270 271 @HtmlHead(designName1) 272 273 <body class="@bodyStyle tileStyle"> 274 275 276 <div id="main" class="header-style1"> 277 278 @{ 279 bool userIsLoggedIn = Dynamicweb.Security.UserManagement.User.IsExtranetUserLoggedIn(); 280 string logo = GetString("Item.Area.Logo"); 281 } 282 <header class="header-wrapper clearfix"> 283 284 <div class="header" id="header"> 285 <div class="container-fluid header-first-container"> 286 <div class="mag-content"> 287 <div class="container"> 288 <div class="row header-first-row"> 289 <div class="col-md-9 visible-lg visible-md" id="motto"> 290 <a class="logo" href="/Defaul.aspx?ID=@firstPageId" title="" rel="home"> 291 <img src="@logo"> 292 </a><!-- .logo --> 293 <h4>Industry – Business Opportunities</h4> 294 </div><!--End of col-md-9 visible-lg visible-md--> 295 296 <div class="col-md-2 visible-lg visible-md text-right username"> 297 298 @if (userIsLoggedIn) { 299 string userName = !string.IsNullOrWhiteSpace(Pageview.User.Name) ? Pageview.User.Name : string.Format("{0}{1}", Pageview.User.FirstName, Pageview.User.LastName); 300 301 <div class="welcomeBack hidden-print text-left"> 302 @Translate("welcome", "Welcome"), <span> @(!string.IsNullOrWhiteSpace(userName) ? userName : Pageview.User.UserName)</span> 303 </div> 304 } 305 306 </div> 307 <div id="social-icon" class="social-icon"> 308 <a class="facebook" href='@Pageview.Area.Item["FacebookLink"]' target="_blank"> <i class="fa fa-facebook fa-2x padding" aria-hidden="true"></i> </a> 309 <a class="twitter" href='@Pageview.Area.Item["TwitterLink"]' target="_blank"> <i class="fa fa-twitter fa-2x padding" aria-hidden="true"></i> </a> 310 </div> 311 312 </div> 313 </div> 314 </div> 315 </div> 316 317 <div class="container-fluid header-second-container"> 318 <div class="mag-content"> 319 320 <div class="container"> 321 <div class="row header-second-row"> 322 <div class="col-md-12"> 323 324 <!-- Mobile Menu Button --> 325 <a class="navbar-toggle collapsed" id="nav-button" href="#mobile-nav"> 326 <span class="icon-bar"></span> 327 <span class="icon-bar"></span> 328 <span class="icon-bar"></span> 329 <span class="icon-bar"></span> 330 </a><!-- .navbar-toggle --> 331 <!-- Main Nav Wrapper --> 332 <nav class="navbar mega-menu"> 333 <a class="logo hidden-lg hidden-md" href="/Default.aspx?ID=@firstPageId" title="" rel="home"> 334 <img src="@logo"> 335 </a><!-- .logo --> 336 <!-- Navigation Menu --> 337 <div class="navbar-collapse collapse"> 338 @RenderNavigation(new { 339 template = "MainNavigation.xslt", 340 expandmode = "all", 341 id = "header-nav", 342 startlevel = 1, 343 listStyle = "top-navigation", 344 endlevel = 2 345 }) 346 </div><!-- .navbar-collapse --> 347 <!-- End Navigation Menu --> 348 349 350 351 <div class="btn-group dropdown-login"> 352 <button class="btn btn-default btn-sm dropdown-toggle dropdown-login" type="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> 353 <i class="fa fa-user fa-1x" aria-hidden="true">&nbsp; &nbsp;</i><span class=""></span> 354 </button> 355 <ul class="dropdown-menu"> 356 <!-- Button trigger modal --> 357 358 @if (userIsLoggedIn) 359 { 360 <li><a href="/Admin/Public/ExtranetLogoff.aspx?ID=1">Logout</a></li> 361 } else { 362 <li><a href="/Default.aspx?ID=4256">Log in</a></li> 363 <li><a href="/Default.aspx?ID=4255">@Translate("Inregistrare","Inregistrare")</a></li> 364 } 365 </ul> 366 </div> 367 <!-- Single button --> 368 369 <div class="header-right galaxy-s5 nexus-5x iphone-6"> 370 <div class="social-icons"> 371 372 @{ 373 var languageSwitcherValue = ""; 374 foreach (var language in GetLoop("Languages")) { 375 if (language.GetBoolean("IsCurrent")) { 376 languageSwitcherValue = language.GetString("Culture"); 377 } 378 } 379 } 380 @if (languageSwitcherValue == "ro-RO") { 381 <a href="/" class="selected">RO</a> <span>|</span> <a href="/Default.aspx?ID=5557">EN</a> 382 } 383 @if (languageSwitcherValue == "en-US") { 384 <a href="/">RO</a> <span>|</span> <a href="Default.aspx?ID=5557" class="selected">EN</a> 385 } 386 387 @* <a href="#" data-toggle="tooltip" data-placement="bottom" title="Facebook"><i class="fa fa-facebook fa-lg"></i></a> 388 <a href="#" data-toggle="tooltip" data-placement="bottom" title="Twitter"><i class="fa fa-twitter fa-lg"></i></a> 389 <a href="#" data-toggle="tooltip" data-placement="bottom" title="Google+"><i class="fa fa-google-plus fa-lg"></i></a> 390 <!-- Only for Fixed Sidebar Layout --> 391 <a href="#" class="fixed-button navbar-toggle" id="fixed-button"> 392 <i></i> 393 <i></i> 394 <i></i> 395 <i></i> 396 </a><!-- .fixed-button -->*@ 397 </div><!-- .social-icons --> 398 </div><!-- .header-right --> 399 400 401 402 @if(GetString("DwAreaID") == "1"){ 403 404 <div id="sb-search" class="sb-search"> 405 <div class="form-group" style="position: relative;"> 406 <form action="/cautare.aspx" method="GET"> 407 <input class="sb-search-input" placeholder="Termen de cautare..." type="text" value="" name="q" id="q"> 408 <input class="sb-search-submit btn-search" type="submit" value=""> 409 <span class="sb-icon-search fa fa-search" data-toggle="tooltip" data-placement="bottom" title="Search"></span> 410 </form> 411 </div> 412 </div> 413 }else { 414 415 <div id="sb-search" class="sb-search"> 416 <div class="form-group" style="position: relative;"> 417 <form action="/en/search.aspx" method="GET"> 418 <input class="sb-search-input" placeholder="Input keyword ...." type="text" value="" name="q" id="q"> 419 <input class="sb-search-submit btn-search" type="submit" value=""> 420 <span class="sb-icon-search fa fa-search" data-toggle="tooltip" data-placement="bottom" title="Search"></span> 421 </form> 422 </div> 423 </div> 424 } 425 426 427 428 429 430 </nav><!-- .navbar --> 431 432 433 </div> 434 </div> 435 </div> 436 </div> 437 </div><!--.container --> 438 </div><!-- .mag-content --> 439 </header></div><!-- .container --> 440 <!-- .header --> 441 442 <!-- .header-wrapper --> 443 444 <!-- Begin Main Wrapper --> 445 <div class="container main-wrapper"> 446 447 @if (string.IsNullOrEmpty(System.Web.HttpContext.Current.Request.Params["productid"])) 448 { 449 <div class="hidden-xs hidden-sm hidden-md skyscraper--left"> 450 <div class="sticky default"> 451 <span> 452 <ins data-revive-zoneid="2" data-revive-id="30be11c85ce356e14970630466da228f"></ins> 453 <script async="" src="//adserver.dotfusion.ro/revive/www/delivery/asyncjs.php"></script> 454 </span> 455 </div> 456 </div> 457 <div class="hidden-xs hidden-sm hidden-md skyscraper--right"> 458 <div class="sticky default"> 459 <span> 460 <ins data-revive-zoneid="3" data-revive-id="30be11c85ce356e14970630466da228f"></ins> 461 </span> 462 </div> 463 </div> 464 } 465 466 @if(@GetInteger("DwPageID") == 4228) 467 { 468 <style> 469 .ad728-wrapper { 470 margin: 40px auto 0px; 471 } 472 </style> 473 474 string logoSubheader = GetString("Item.Area.Logo_IBuySmart"); 475 string culoareFundal = !string.IsNullOrEmpty(GetString("Item.Area.CuloareFundal")) ? "background:" + GetString("Item.Area.CuloareFundal") + ";" : ""; 476 string culoareFont = !string.IsNullOrEmpty(GetString("Item.Area.CuloareFont")) ? "color:" + GetString("Item.Area.CuloareFont") + ";" : ""; 477 string textSubheader = GetString("Item.Area.Text"); 478 string dimensiuneFont = !string.IsNullOrEmpty(GetString("Item.Area.DimensiuneFont")) ? "font-size:" + GetString("Item.Area.DimensiuneFont") + ";" : ""; 479 480 481 if (isMobile) 482 { 483 <div class="subheader row" style="@culoareFundal"> 484 <div class="row"> 485 <div class="col-xs-7"> 486 <a href="@ibuySmartUrl"><img src="@logoSubheader"></a> 487 </div> 488 <div class="col-xs-5"> 489 <h4 style="@culoareFont @dimensiuneFont">@textSubheader</h4> 490 </div> 491 </div> 492 <div class="row"> 493 <div class="col-xs-12">@RenderSnippet("SearchProduse")</div> 494 </div> 495 </div> 496 } 497 else 498 { 499 <div class="subheader row" style="@culoareFundal"> 500 <div class="col-xs-4"> 501 <a href="@ibuySmartUrl"><img src="@logoSubheader"></a> 502 </div> 503 <div class="col-xs-5"> 504 <h4 style="@culoareFont @dimensiuneFont">@textSubheader</h4> 505 </div> 506 <div class="col-xs-12 col-md-3">@RenderSnippet("SearchProduse")</div> 507 </div> 508 509 } 510 511 512 } 513 514 @if(@GetInteger("DwAreaID") == 3){ 515 <style> 516 .ad728-wrapper { 517 margin: 40px auto 0px; 518 } 519 </style> 520 521 string logoSubheader = GetString("Item.Area.LogoIndustryZoom"); 522 string culoareFundal = !string.IsNullOrEmpty(GetString("Item.Area.CuloareFundal_Industryzoom")) ? "background:" + GetString("Item.Area.CuloareFundal_Industryzoom") + ";" : ""; 523 string culoareFont = !string.IsNullOrEmpty(GetString("Item.Area.Culoare_Font_IndustryZoom")) ? "color:" + GetString("Item.Area.Culoare_Font_IndustryZoom") + ";" : ""; 524 string textSubheader = GetString("Item.Area.Text_Subheader_Industry_Zoom"); 525 string dimensiuneFont = !string.IsNullOrEmpty(GetString("Item.Area.Dimensiune_Font_IndustryZoom")) ? "font-size:" + GetString("Item.Area.Dimensiune_Font_IndustryZoom") + ";" : ""; 526 527 <div class="subheader row" style="@culoareFundal"> 528 @if (!string.IsNullOrEmpty(textSubheader)) { 529 <div class="col-xs-4"> 530 <img src="@logoSubheader"> 531 </div> 532 <div class="col-xs-5"> 533 <h4 style="@culoareFont @dimensiuneFont">@textSubheader</h4> 534 </div> 535 <div class="col-xs-12 col-md-3">@RenderSnippet("SearchProduse")</div> 536 } else { 537 <div class="col-xs-12 noPadding"> 538 <img src="@logoSubheader" style="margin: 10px 0 -30px 0;"> 539 </div> 540 } 541 </div> 542 543 } 544 545 546 @if(@GetInteger("DwPageID") == 4218 || @GetInteger("DwPageID") == 4271 || @GetInteger("DwPageID") == 8376 ){ 547 <style> 548 .ad728-wrapper { 549 margin: 40px auto 0px; 550 } 551 </style> 552 553 string logoSubheader = GetString("Item.Area.Logo_Companii"); 554 string culoareFundal = !string.IsNullOrEmpty(GetString("Item.Area.CuloareFundalCompanii")) ? "background:" + GetString("Item.Area.CuloareFundalCompanii") + ";" : ""; 555 string culoareFont = !string.IsNullOrEmpty(GetString("Item.Area.CuloareFontCompanii")) ? "color:" + GetString("Item.Area.CuloareFontCompanii") + ";" : ""; 556 string textSubheader = GetString("Item.Area.TextSubheaderCompanii"); 557 string dimensiuneFont = !string.IsNullOrEmpty(GetString("Item.Area.DimensiuneFontCompanii")) ? "font-size:" + GetString("Item.Area.DimensiuneFontCompanii") + ";" : ""; 558 559 <div class="subheader row" style="@culoareFundal"> 560 <div class="col-xs-4"> 561 <img src="@logoSubheader"> 562 </div> 563 <div class="col-xs-8"> 564 <h4 style="@culoareFont; @dimensiuneFont">@textSubheader</h4> 565 </div> 566 </div> 567 } 568 569 @if(GetString("DwPageID") == "4228" || GetString("DwPageID") == "4218" || GetString("DwPageID") == "8376"){ 570 571 572 } else { 573 <!-- Begin Main Banner --> 574 <div class="mag-content clearfix " style="margin-bottom: 30px; padding-left: 0px; padding-right: 0px;"> 575 <div class="row"> 576 <div class="col-md-12"> 577 578 <div class="ad728-wrapper"> 579 <ins data-revive-zoneid="1" data-revive-id="30be11c85ce356e14970630466da228f"></ins> 580 <script async="" src="//adserver.dotfusion.ro/revive/www/delivery/asyncjs.php"></script> 581 </div> 582 583 </div> 584 </div> 585 </div> 586 <!-- End Main Banner --> 587 } 588 589 @{ 590 string backgroundClassShop = (GetString("DwPageID") == "4228") ? "shop-background" : " "; 591 string backgroundClassCompanii = (GetString("DwPageID") == "4218" || GetString("DwPageID") == "8376" ) ? "companii-background" : " "; 592 string backgroundClassIndustry = (GetString("DwPageID") == "4271") ? "industry-background" : " "; 593 594 } 595 596 <div class="main-content mag-content clearfix @backgroundClassShop @backgroundClassCompanii @backgroundClassIndustry"> 597 598 @inherits RazorTemplateBase<RazorTemplateModel<Template>> 599 @using Dynamicweb.Rendering 600 @using Dynamicweb.Content 601 @using BrandFusion.Dw.eCommerce 602 @using Dynamicweb.Ecommerce.Products 603 604 @GetValue("Title(Article page)") 605 @GetValue("Description(Pagina de articol)") 606 @functions { 607 608 //public class Session 609 //{ 610 //public string Id; 611 //public string Title; 612 //public DateTime StartTime; 613 //public DateTime EndTime; 614 //public bool IsBreak; 615 //public string Description; 616 //public string Type; 617 //public string Url; 618 //public string AllowedGroups; 619 //public string Location; 620 //public string Level; 621 //public int NumberOfSeats; 622 //public int NumberOfReservedSeats; 623 //public List<Speaker> 624 //Speakers; 625 //public List<Speaker> 626 //Moderatori; 627 //public LoopItem Item; 628 //} 629 630 public class Autor 631 { 632 public string Id; 633 public string Name; 634 public string Link; 635 public string Description; 636 public string Image; 637 public string Persoana; 638 } 639 640 public class Companie 641 { 642 public string Id; 643 public string Name; 644 public string Link; 645 public string Logo; 646 } 647 648 public class RelevantaGeografica 649 { 650 public string Id; 651 public string Name; 652 public string Link; 653 } 654 655 public class Tag 656 { 657 public string Id; 658 public string Name; 659 public string Link; 660 } 661 662 public class Sectiune 663 { 664 public string Id; 665 public string Name; 666 public string Link; 667 } 668 669 public class Editie 670 { 671 public string Id; 672 public string Name; 673 public string Link; 674 } 675 676 677 678 public static string StripHtmlTagByCharArray(string htmlString) 679 { 680 char[] array = new char[htmlString.Length]; 681 int arrayIndex = 0; 682 bool inside = false; 683 684 for (int i = 0; i < htmlString.Length; i++) 685 { 686 char let = htmlString[i]; 687 if (let == '<') 688 { 689 inside = true; 690 continue; 691 } 692 if (let == '>') 693 { 694 inside = false; 695 continue; 696 } 697 if (!inside) 698 { 699 array[arrayIndex] = let; 700 arrayIndex++; 701 } 702 } 703 return new string(array, 0, arrayIndex); 704 } 705 706 707 private List<Autor> GetAutori(string autoriList) 708 { 709 var autori = new List<Autor> (); 710 711 if(!string.IsNullOrEmpty(autoriList)){ 712 string[] itemIdList = autoriList.Split(','); 713 foreach (string itemId in itemIdList) 714 { 715 var autor = Dynamicweb.Content.Items.Item.GetItemById("Taxonomie_Autori", itemId); 716 if (autor != null) 717 { 718 autori.Add(new Autor 719 { 720 Id = itemId, 721 Name = autor["Name"] != null ? autor["Name"].ToString() : "", 722 Image = autor["Image"] != null ? autor["Image"].ToString() : "", 723 Description = autor["Description"] != null ? autor["Description"].ToString() : "", 724 Link = "/Default.aspx?ID=4250&autor="+itemId, 725 Persoana = autor["Persoana_Companie"] != null ? autor["Persoana_Companie"].ToString() : "" 726 }); 727 } 728 } 729 } 730 731 return autori; 732 } 733 734 private List<RelevantaGeografica> GetRelevanta(string relevantaList) 735 { 736 var relevante = new List<RelevantaGeografica> (); 737 738 if(!string.IsNullOrEmpty(relevantaList)){ 739 string[] itemIdList = relevantaList.Split(','); 740 foreach (string itemId in itemIdList) 741 { 742 var relevanta = Dynamicweb.Content.Items.Item.GetItemById("RelevantaGeografica", itemId); 743 if (relevanta != null) 744 { 745 relevante.Add(new RelevantaGeografica 746 { 747 Id = itemId, 748 Name = relevanta["Name"] != null ? relevanta["Name"].ToString() : "", 749 Link = "" 750 }); 751 } 752 } 753 } 754 755 return relevante; 756 } 757 758 759 private List<Sectiune> GetSectiuni(string sectiuniList) 760 { 761 var sectiuni = new List<Sectiune> (); 762 763 return sectiuni; 764 765 } 766 767 private List<Tag> GetTaguri(string taguriList) 768 { 769 var taguri = new List<Tag>(); 770 if(!string.IsNullOrEmpty(taguriList)){ 771 string[] itemIdList = taguriList.Split(','); 772 foreach (string itemId in itemIdList) 773 { 774 var tag = Dynamicweb.Content.Items.Item.GetItemById("Taxonomie_Taguri", itemId); 775 if (tag != null) 776 { 777 taguri.Add(new Tag 778 { 779 Id = itemId, 780 Name = tag["Name"] != null ? tag["Name"].ToString() : "", 781 Link = "Default.aspx?ID=4252&tag="+itemId 782 }); 783 } 784 } 785 } 786 return taguri; 787 788 } 789 790 791 private List<Companie> GetCompany(string companyList) 792 { 793 var companies = new List<Companie> (); 794 if(!string.IsNullOrEmpty(companyList)){ 795 string[] itemIdList = companyList.Split(','); 796 foreach (string itemId in itemIdList) 797 { 798 var companie = Dynamicweb.Content.Items.Item.GetItemById("Taxonomie_Companii", itemId); 799 if (companie != null) 800 { 801 companies.Add(new Companie 802 { 803 Id = itemId, 804 Name = companie["Name"] != null ? companie["Name"].ToString() : "", 805 Logo = companie["Logo"] != null ? companie["Logo"].ToString() : "", 806 Link = "/Default.aspx?ID=4271&companie="+itemId 807 }); 808 } 809 } 810 } 811 return companies; 812 813 } 814 815 816 817 818 819 } 820 821 @using Dna.ImageProcessor; 822 @using Dynamicweb.Frontend.Devices; 823 824 @{ 825 string designName = GetString("Template:DesignBaseUrl").Replace("/Files/Templates/Designs/", "").Replace("/", ""); 826 } 827 828 @functions{ 829 /// <summary> 830 /// Returns the URL for the given ImageSettings. 831 /// </summary> 832 /// <param name="settings">The ImageSettings used to generate the URL. 833 private static string GetImage(ImageSettings settings) 834 { 835 return settings.ToUrl(); 836 } 837 838 /// <summary> 839 /// Returns the URL for the given ImageSettings. 840 /// </summary> 841 /// <param name="url">The URL to the image. 842 /// <param name="settings">The ImageSettings used to generate the URL. 843 public static string GetImage(string url, ImageSettings settings = null) 844 { 845 if (settings == null) 846 { 847 settings = new ImageSettings(); 848 } 849 settings.ImageUrl = url; 850 return GetImage(settings); 851 } 852 853 /// <summary> 854 /// Returns the URL for the given ImageSettings. 855 /// </summary> 856 /// <param name="url">The URL to the image. 857 /// <param name="width">The requested width of the image. 858 /// <param name="height">The requested height of the image. 859 /// <param name="settings">The ImageSettings used to generate the URL. 860 public static string GetImage(string url, int width, int height, ImageSettings settings = null) 861 { 862 if (settings == null) 863 { 864 settings = new ImageSettings(); 865 } 866 settings.Width = width; 867 settings.Height = height; 868 return GetImage(url, settings); 869 } 870 871 /// <summary> 872 /// Returns the URL for the given ImageSettings. 873 /// </summary> 874 /// <param name="url">The URL to the image. 875 /// <param name="width">The requested width of the image. 876 /// <param name="height">The requested height of the image. 877 /// <param name="widthTablet">The requested width of the image for a tablet device. 878 /// <param name="heightTablet">The requested height of the image for a tablet device. 879 /// <param name="widthMobile">The requested width of the image for a mobile device. 880 /// <param name="heightMobile">The requested height of the image for a mobile device. 881 /// <param name="settings">The ImageSettings used to generate the URL. 882 public static string GetImage(string url, int width, int height, int widthTablet, int heightTablet, int widthMobile, int heightMobile, ImageSettings settings = null) 883 { 884 var currentDevice = Dynamicweb.Frontend.PageView.Current().Device; 885 886 switch (currentDevice) 887 { 888 case DeviceType.Tablet: 889 width = widthTablet != 0 ? widthTablet : width; 890 height = heightTablet != 0 ? heightTablet : height; 891 break; 892 case DeviceType.Mobile: 893 width = widthMobile != 0 ? widthMobile : width; 894 height = heightMobile != 0 ? heightMobile : height; 895 break; 896 // default: Skip; just use existing width and height 897 } 898 if (settings == null) 899 { 900 settings = new ImageSettings(); 901 } 902 settings.ImageUrl = url; 903 settings.Width = width; 904 settings.Height = height; 905 return GetImage(settings); 906 } 907 } 908 @helper RenderPlaceholderImageOnLeft() 909 { 910 <div class="row"> 911 <div class="col-md-4 col-xs-12"> 912 <div class="pre-render-element pre-render-element--md"></div> 913 </div> 914 <div class="col-md-8 col-xs-12"> 915 <div class="pre-render-element pre-render-element--title"></div> 916 <div class="pre-render-element pre-render-element--title"></div> 917 <div class="pre-render-element pre-render-element--text"></div> 918 <div class="pre-render-element pre-render-element--text"></div> 919 <div class="pre-render-element pre-render-element--text"></div> 920 </div> 921 </div> 922 923 } 924 @helper RenderPlaceholderImageOnly(string imageSize) 925 { 926 <div class="pre-render-element @imageSize"></div> 927 } 928 929 @helper RenderPlaceholderImageTop(string imageSize) 930 { 931 <div class="pre-render-element @imageSize"></div> 932 <div class="pre-render-element pre-render-element--title"></div> 933 <div class="pre-render-element pre-render-element--text"></div> 934 <div class="pre-render-element pre-render-element--text"></div> 935 <div class="pre-render-element pre-render-element--text"></div> 936 } 937 @helper RenderPlaceholderImageTopNoText(string imageSize) 938 { 939 <div class="pre-render-element @imageSize"></div> 940 <div class="pre-render-element pre-render-element--title"></div> 941 942 } 943 @helper RenderPlaceholderNoImage() 944 { 945 <div class="pre-render-element pre-render-element--title"></div> 946 <div class="pre-render-element pre-render-element--title"></div> 947 <div class="pre-render-element pre-render-element--text"></div> 948 <div class="pre-render-element pre-render-element--text"></div> 949 <div class="pre-render-element pre-render-element--text"></div> 950 } 951 952 @helper RenderPlaceholderCaruselText() 953 { 954 <div class="item placeholder"> 955 <div class="pre-render-element pre-render-element--md"></div> 956 <div class="pre-render-element pre-render-element--title"></div> 957 <div class="pre-render-element pre-render-element--text"></div> 958 <div class="pre-render-element pre-render-element--text"></div> 959 </div> 960 } 961 @helper RenderPlaceholderCaruselImage() 962 { 963 <div class="item"> 964 <div class="pre-render-element pre-render-element--md"></div> 965 </div> 966 } 967 @using System.Web 968 @{ 969 string articleImage = GetString("Item.ImaginePrincipala.Value"); 970 string articleAutori = GetString("Item.Autori"); 971 string articleCompanyDe = GetString("Item.De_Companie"); 972 int articleSectiuneID = GetInteger("Item.SectiuneParinteId"); 973 string articleID = GetString("Item.Id.Value"); 974 bool AdserverBanner = GetBoolean("Item.Adserver_Banner.Value"); 975 string linkBanner = GetString("Item.Link_Banner"); 976 string imagineBanner = GetString("Item.Imagine_Banner"); 977 string linkAutor = ""; 978 string nrEditie= GetString("Item.Editie.Value"); 979 980 var pageId = GetPageIdByNavigationTag("ArticlesFeed").ToString(); 981 var autorPageID = GetPageIdByNavigationTag("AutoriFeed").ToString(); 982 var autorPage = GetPageIdByNavigationTag("PaginaAutori").ToString(); 983 var pageService = new Dynamicweb.Content.PageService(); 984 var articlesID = pageService.GetPageForItem("Dw_Page", articleID).ID; 985 var currentPageId = GetInteger("DWPageID"); 986 var currentPage = GetGlobalValue("Global:Page.ID").ToString(); 987 } 988 989 990 @SnippetStart("OGMeta") 991 @{ 992 var httpdomain = "http://" + GetGlobalValue("Global:Request.Host"); 993 var og_item_image = Uri.EscapeUriString(logo); 994 var og_page_image = Uri.EscapeUriString(articleImage); 995 var ogimage = !string.IsNullOrWhiteSpace(og_page_image) ? string.Format("{0}{1}", httpdomain, og_page_image) : string.Format("{0}{1}", httpdomain, og_item_image); //httpdomain is declared in Master.cshtml 996 } 997 @if (!string.IsNullOrWhiteSpace(og_item_image) || !string.IsNullOrWhiteSpace(og_page_image)) 998 { 999 <meta property="og:image" content="@ogimage"> 1000 <meta property="og:image:width" content="600"> 1001 <meta property="og:image:height" content="600"> 1002 } 1003 @SnippetEnd("OGMeta") 1004 <div class="row blog-content" data-stickyparent=""> 1005 <div class="col-xs-12 col-sm-12 col-md-8 col-lg-8 "> 1006 <article class="post-wrapper clearfix"> 1007 <div class="first-container-article" data-template="ArticleBodyTemplate" data-json-feed="/Default.aspx?ID=@pageId&PageID=@articlesID"> 1008 @RenderPlaceholderImageTop("pre-render-element--xl") 1009 </div> 1010 </article><!-- .post-wrapper --> 1011 1012 @SnippetStart("Tags") 1013 <div class="sidebar-handlebars-wrapper" data-template="TagsTemplate" data-json-feed="/Default.aspx?ID=@pageId&PageID=@articlesID"> 1014 </div> 1015 @SnippetEnd("Tags") 1016 <div class="row"> 1017 @GetValue("DwNavigation(blogposts)") 1018 </div> 1019 <div class="related-posts clearfix"> 1020 <!-- Mid ad --> 1021 @if(AdserverBanner == true){ 1022 1023 <div class="row mb-20"> 1024 <div class="mag-content clearfix"> 1025 <div class="row"> 1026 <div class="col-md-12"> 1027 <div class="ad666-wrapper"> 1028 <ins data-revive-zoneid="1" data-revive-id="30be11c85ce356e14970630466da228f"></ins> 1029 <script async="" src="//adserver.dotfusion.ro/revive/www/delivery/asyncjs.php"></script> 1030 </div> 1031 </div> 1032 </div> 1033 </div> 1034 </div> 1035 }else if( !string.IsNullOrEmpty(linkBanner) && !string.IsNullOrEmpty(imagineBanner) ){ 1036 1037 <div class="row mb-20"> 1038 <div class="mag-content clearfix"> 1039 <div class="row"> 1040 <div class="col-md-12"> 1041 <div class="ad666-wrapper"> 1042 <a href="@linkBanner"> 1043 <img src="@imagineBanner"> 1044 1045 </a> 1046 </div> 1047 </div> 1048 </div> 1049 </div> 1050 </div> 1051 1052 } 1053 <!-- End Mid ad --> 1054 1055 <div class="row"> 1056 1057 <div class="col-md-6"> 1058 <h3 class="block-title"><span>@Translate("De acelasi autor","De acelasi autor")</span></h3> 1059 <div class="row author-template" data-template="SectionTemplate" data-json-feed="/Default.aspx?ID=@pageId&PageSize=3&SectiuneParinte=@articleSectiuneID&Excluded=@currentPageId"> 1060 <div style="margin-right: 5px"> 1061 @RenderPlaceholderImageTop("pre-render-element--md") 1062 @RenderPlaceholderImageTop("pre-render-element--md") 1063 </div> 1064 </div> 1065 </div> 1066 1067 <div class="col-md-6"> 1068 <h3 class="block-title"><span>@Translate("Din aceeasi sectiune","Din aceeasi sectiune")</span></h3> 1069 <div class="row section-template" data-template="SectionTemplate" data-json-feed="/Default.aspx?ID=@pageId&PageSize=3&SectiuneParinte=@articleSectiuneID&Excluded=@currentPageId,"> 1070 <div style="margin-left: 5px"> 1071 @RenderPlaceholderImageTop("pre-render-element--md") 1072 @RenderPlaceholderImageTop("pre-render-element--md") 1073 </div> 1074 </div> 1075 </div> 1076 </div> 1077 <div class="row row-butoane-articol"> 1078 <div class="col-xs-12 col-sm-6 "><a href="/revista" class="btn btn-primary btn-background">@Translate("VeziSectiunileRevisteiT&T", "Sectiunile revistei T&T")</a></div> 1079 <div class="col-xs-12 col-sm-6 "><a href="/revista/web-exclusive" class="btn btn-primary btn-background">@Translate("VeziArticoleWebExclusive", "Articole web exclusive")</a></div> 1080 </div> 1081 1082 @{ 1083 int counter = 0; 1084 var Produse = GetLoop("Item.Produse.Value"); 1085 1086 if (Produse.Any()) 1087 { 1088 <h3 class="block-title"><span>Produse</span></h3> 1089 <div class="row"> 1090 <div class="col-md-12"> 1091 <div class="owl-carousel owl-theme"> 1092 @foreach (LoopItem i in Produse) 1093 { 1094 string mainImageRaw = i.GetString("Ecom:Product.ImageLarge.Default.Clean"); 1095 string mainImage = !string.IsNullOrEmpty(mainImageRaw) ? GetImage(mainImageRaw, 160, 120) + "&bgcolor=white" : "/Files/Images/NoImage/160x120.png"; 1096 string mainTitle = i.GetString("Ecom:Product.Name"); 1097 string mainURL = i.GetString("Ecom:Product.Link.Clean"); 1098 1099 <div class="item"> 1100 @if (!string.IsNullOrEmpty(i.GetString("Ecom:Product.ImageLarge.Default.Clean"))) 1101 { 1102 <a href="@mainURL"><img src="@mainImage" width="160" height="100" alt=""></a> 1103 } 1104 else 1105 { 1106 <a href="@mainURL"><img src="@areaLayoutPath/assets/img/demo/160x120.png" height="100" alt=""></a> 1107 } 1108 <h4><a href="@mainURL">@mainTitle</a></h4> 1109 </div> 1110 1111 } 1112 </div> 1113 </div> 1114 </div> 1115 } 1116 else { 1117 var idCompanie = (GetString("Item.De_Companie") ?? "").Split(new[] { ',', ';' }, StringSplitOptions.RemoveEmptyEntries); 1118 Dynamicweb.Content.Items.Item companie = null; 1119 if (idCompanie.Any()){ 1120 companie = Dynamicweb.Content.Items.Item.GetItemById("Taxonomie_Companii", idCompanie.First()); 1121 string representativeProductsArray = companie != null && companie["RepresentativeProducts"] != null ? companie["RepresentativeProducts"].ToString() : ""; 1122 if(companie != null && representativeProductsArray != ""){ 1123 var ProduseReprezentative = ProductFacade.GetItemTypeProducts(representativeProductsArray); 1124 <!--Standard start --> 1125 if(ProduseReprezentative.Any()){ 1126 <div class="row space-10"> 1127 1128 <div class="col-xs-12"><h3 class="block-title"><span class="primary-color-border-bottom">Produse</span></h3></div> 1129 1130 <div class="col-xs-12"> 1131 <div class="carousel-produse"> 1132 <div class="owl-carousel owl-theme owl-redactori"> 1133 @foreach (var produsReprezentativ in ProduseReprezentative) { 1134 string mainImage = !string.IsNullOrEmpty(produsReprezentativ.ImageLarge) ? GetImage(produsReprezentativ.ImageLarge, 160, 120) + "&bgcolor=white" : "/Files/Images/NoImage/160x120.png"; 1135 var produsReprezentativManufacturer = produsReprezentativ.Manufacturer; 1136 if (counter <= 8 ) { 1137 <div class="item"> 1138 <figure class="image-overlay proportie-1 text-center"> 1139 <a href="/ibuysmart?ProductID=@(produsReprezentativ.Id)"> 1140 @if(!String.IsNullOrEmpty(@produsReprezentativ.ImageLarge)) { 1141 <img src="/Files/@(mainImage)" alt="@produsReprezentativ.Name" width="160" height="105" class=""> 1142 } else { 1143 <img src="http://placehold.it/350x150" alt="@produsReprezentativ.Name" class="img-responsive"> 1144 } 1145 1146 </a> 1147 </figure> 1148 <header class="featured-header"> 1149 <h2><a href="/ibuysmart?ProductID=@(produsReprezentativ.Id)"> @produsReprezentativ.Name @counter </a></h2> 1150 @if(produsReprezentativManufacturer != null){ 1151 <p class="manufacturer">Producator: <span>@produsReprezentativ.Manufacturer.Name</span></p> 1152 } 1153 </header> 1154 </div> 1155 } 1156 counter++; 1157 } 1158 1159 </div> 1160 </div> 1161 </div> 1162 1163 1164 </div> 1165 } 1166 } 1167 1168 } 1169 <!--End of idCompanie--> 1170 } <!--End of else--> 1171 } 1172 1173 </div><!-- .related-post --> 1174 <!-- Comentarii --> 1175 <div class="comment_block"> 1176 <div class="col-xs-12"> 1177 <h4>Comentarii</h4> 1178 <div class="comment_block handlebars-wrapper" data-template="CommentsTemplate" data-json-feed="/Default.aspx?ID=25352&PAGEID=@currentPage"> <!--currentPage--> 1179 </div> 1180 </div> 1181 @if (Dynamicweb.Security.UserManagement.User.IsExtranetUserLoggedIn()){ 1182 <button class="btn btn-primary" id="AdaugaComentariu">Adauga Comentariu</button> 1183 } 1184 else 1185 { 1186 <button type="button" class="btn btn-primary" data-toggle="modal" data-target="#loginModal"> 1187 Adauga Comentariu 1188 </button> 1189 } 1190 <div id="comentariuContainer" class="hidden"> 1191 <div class="create_new_comment"> 1192 @RenderParagraphContent(3037) 1193 </div> 1194 </div> 1195 </div> 1196 <!-- Login Modal --> 1197 <div class="modal fade" id="loginModal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true"> 1198 <div class="modal-dialog" role="document"> 1199 <div class="modal-content-login"> 1200 <div class="modal-header"> 1201 <h5 class="modal-title" id="exampleModalLabel">Autentificare</h5> 1202 <button type="button" class="close" data-dismiss="modal" aria-label="Close"> 1203 <span aria-hidden="true">&times;</span> 1204 </button> 1205 </div> 1206 <div class="modal-body"> 1207 @RenderParagraphContent(3042) 1208 </div> 1209 </div> 1210 </div> 1211 </div> 1212 1213 1214 @if(@GetInteger("DwAreaID") == 3){ 1215 <div class="row row-butoane-articol"> 1216 <div class="col-xs-12 col-sm-6 "><a href="/ibuysmart" class="btn btn-primary btn-background">Go to I Buy Smart</a></div> 1217 <div class="col-xs-12 col-sm-6 "><a href="/Default.aspx?ID=4218" class="btn btn-primary btn-background">Go to Business Directory</a></div> 1218 <div class="col-xs-12 col-sm-6 "><a href="@linkAutor" class="btn btn-primary btn-background">See other articles from the same company</a></div> 1219 <div class="col-xs-12 col-sm-6 "><a href="/Default.aspx?ID=5676" class="btn btn-primary btn-background">Go to the T&T</a></div> 1220 <div class="col-xs-12 col-sm-6 "><a href="/Default.aspx?ID=6943" class="btn btn-primary btn-background">Go to the Web Exclusive Section</a></div> 1221 @if(!string.IsNullOrEmpty(GetString("Item.De_Companie"))){ 1222 <div class="col-xs-12 col-sm-6 "><a href='companie?companyID=@(GetString("Item.De_Companie"))' class="btn btn-primary btn-background">Go to Company page</a></div> 1223 } 1224 </div> 1225 1226 }else{ 1227 <div class="row row-butoane-articol"> 1228 <div class="col-xs-12 col-sm-4"><a href="/ibuysmart" class="btn btn-primary btn-background">@Translate("VeziCatalogulDeProduse", "Catalogul de produse")</a></div> 1229 <div class="col-xs-12 col-sm-4"><a href="/Default.aspx?ID=4218" class="btn btn-primary btn-background">@Translate("VeziGhidulCompaniilorDinIndustrie", "Ghidul companiilor din industrie")</a></div> 1230 @if(!string.IsNullOrEmpty(GetString("Item.De_Companie"))){ 1231 <div class="col-xs-12 col-sm-4"><a href='companie?companyID=@(GetString("Item.De_Companie"))' class="btn btn-primary btn-background">@Translate("VeziPaginaCompanieiAutoare", "Pagina companiei autoare")</a></div> 1232 } 1233 </div> 1234 } 1235 </div><!-- End Left big column --> 1236 1237 <div class=" col-xs-12 col-sm-12 col-md-4 col-lg-4 sticky "> 1238 <aside class="sidebar clearfix sidebar-container" style="margin-top: 34px;"> 1239 1240 <div class="widget adwidget "> 1241 <ins data-revive-zoneid="4" data-revive-id="30be11c85ce356e14970630466da228f"></ins> 1242 </div> 1243 1244 @{ 1245 var eventsPageID = GetPageIdByNavigationTag("EventsFeed"); 1246 } 1247 <div class="widget evenimentewidget" style="margin-bottom:10px;"> 1248 <h3 class="block-title"> 1249 <span><a href="Default.aspx?ID=4258">@Translate("Evenimente","Evenimente") </a></span> 1250 </h3> 1251 1252 <div id="myCarousel" class="carousel slide" data-ride="carousel"> 1253 <div class="carousel-inner sidebar-handlebars-wrapper" role="listbox" data-template="WidgetEvenimenteTemplate" data-json-feed="/Default.aspx?ID=@eventsPageID"> 1254 @*Handlebars goes here*@ 1255 @RenderPlaceholderImageTop("pre-render-element--md") 1256 </div> 1257 1258 <a class="carousel-control" href="#myCarousel" role="button" data-slide="prev" style="color: #ffa700;"> 1259 <span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span> 1260 <span class="sr-only">Previous</span> 1261 </a> 1262 <a class="carousel-control" href="#myCarousel" role="button" data-slide="next" style="right: 0; left: auto; color: #ffa700;"> 1263 <span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span> 1264 <span class="sr-only">Next</span> 1265 </a> 1266 </div> 1267 </div> 1268 1269 <script id="WidgetEvenimenteTemplate" type="text/x-handlebars-template"> 1270 {{#each EvenimenteContainer}} 1271 <div class="item"> 1272 <figure class="image-overlay"> 1273 <img src="/Admin/Public/GetImage.ashx?Image={{Afis}}&AlternativeImage=/Files/Images/Articole/download (1).png&Crop=5&Format=jpg&Width=350&Height=230" class="img-responsive"> 1274 </figure> 1275 <span>{{title}}</span> 1276 <div class="description">{{{Descriere}}}</div> 1277 @if(GetInteger("DwAreaID") == 1){ 1278 <a href="{{link}}" style="z-index: 200;" target="_blank">Mai mult</a> 1279 }else{ 1280 <a href="{{link}}" style="z-index: 200;" target="_blank">Read More</a> 1281 } 1282 </div> 1283 {{/each}} 1284 </script> 1285 1286 1287 <script type="text/javascript"> 1288 1289 </script> 1290 1291 1292 1293 1294 @{ 1295 var urlEditorial = "/Default.aspx?ID=" + GetPageIdByNavigationTag("ArticoleEditorial"); 1296 var feedPageID = GetPageIdByNavigationTag("ArticlesFeed"); 1297 } 1298 <div class="widget editorialwidget"> 1299 <div class="content sidebar-handlebars-wrapper" role="listbox" data-template="WidgetEditorialTemplate" data-json-feed="/Default.aspx?ID=@feedPageID&type=Editorial&PageSize=1"> 1300 @RenderPlaceholderNoImage() 1301 </div> 1302 </div> 1303 1304 <script id="WidgetEditorialTemplate" type="text/x-handlebars-template"> 1305 {{#ArticlesContainer}} 1306 {{#each Article}} 1307 <h3 class="block-title"><span><a href="@urlEditorial">@Translate("Editorial","Editorial")</a></span></h3> 1308 <article class="widget-post clearfix"> 1309 <h3><a href='/Default.aspx?ID={{pagePageID}}'>{{itemTitlu}}</a></h3> 1310 {{{itemSumar}}} 1311 <p class="text-right"><a href="/Default.aspx?ID={{pagePageID}}" id="editorialLink">@Translate("citeste","Mai mult")</a></p> 1312 </article> 1313 {{/each}} 1314 {{/ArticlesContainer}} 1315 1316 </script> 1317 <div class="widget adwidget" style=" margin-top: 20px; margin-bottom:25px;"> 1318 <ins data-revive-zoneid="5" data-revive-id="30be11c85ce356e14970630466da228f"></ins> 1319 </div> 1320 1321 1322 <div class="widget facebookwidget" style="margin-bottom:20px;"> 1323 <h3 class="block-title"><span> T&amp;T @@ Facebook</span></h3> 1324 <div class="content"> 1325 <div class="fb-page" data-adapt-container-width="true" data-hide-cover="false" data-href="https://www.facebook.com/tehnicasitehnologie/" data-show-facepile="false" data-show-posts="false" data-small-header="true"> 1326 <div class="fb-xfbml-parse-ignore"> 1327 <blockquote cite="https://www.facebook.com/tehnicasitehnologie/"> 1328 <a href="https://www.facebook.com/tehnicasitehnologie/">T&amp;T - Tehnica si Tehnologie</a> 1329 </blockquote> 1330 </div> 1331 </div> 1332 </div> 1333 <div id="fb-root"></div> 1334 <script> 1335 (function(d, s, id) { 1336 var js, fjs = d.getElementsByTagName(s)[0]; 1337 if (d.getElementById(id)) return; 1338 js = d.createElement(s); js.id = id; 1339 js.async= "async"; 1340 js.src = "//connect.facebook.net/ro_RO/sdk.js#xfbml=1&version=v2.5"; 1341 fjs.parentNode.insertBefore(js, fjs); 1342 }(document, 'script', 'facebook-jssdk')); 1343 </script> 1344 1345 </div> 1346 1347 1348 <div class="widget twitterwidget" style="margin-bottom:0px;"> 1349 <h3 class="block-title"><span> T&amp;T @@ Twitter</span></h3> 1350 <div class="content"> 1351 <a class="twitter-timeline" data-width="365" data-height="108" data-theme="light" href="https://twitter.com/TTehnologie">Tweets by TTehnologie</a> 1352 </div> 1353 </div> 1354 1355 <div class="widget multimediawidget" style="margin-bottom:20px;"> 1356 @RenderItemList(new { 1357 ItemType = "Multimedia", 1358 ListSourceType = "Area", 1359 ListSourceArea = 1, 1360 ItemFieldsList = "*", 1361 ListTemplate = "/ItemPublisher/List/Sidebar-Multimedia.cshtml", 1362 ListPageSize = 10, 1363 ListOrderBy = "", 1364 ListOrderByDirection = "", 1365 Filter = "" 1366 }) 1367 </div> 1368 1369 @RenderSnippet("Tags") 1370 1371 1372 <div class="widget adwidget"> 1373 <div class="row" style="margin-bottom:50px;"> 1374 <div class="col-xs-6"> 1375 <ins data-revive-zoneid="13" data-revive-id="30be11c85ce356e14970630466da228f"></ins> 1376 <script async="" src="//adserver.dotfusion.ro/revive/www/delivery/asyncjs.php"></script> 1377 </div> 1378 <div class="col-xs-6"> 1379 <ins data-revive-zoneid="17" data-revive-id="30be11c85ce356e14970630466da228f"></ins> 1380 <script async="" src="//adserver.dotfusion.ro/revive/www/delivery/asyncjs.php"></script> 1381 </div> 1382 </div> 1383 <div class="row"> 1384 <div class="col-xs-6"> 1385 1386 <ins data-revive-zoneid="18" data-revive-id="30be11c85ce356e14970630466da228f"></ins> 1387 <script async="" src="//adserver.dotfusion.ro/revive/www/delivery/asyncjs.php"></script> 1388 </div> 1389 <div class="col-xs-6"> 1390 1391 <ins data-revive-zoneid="19" data-revive-id="30be11c85ce356e14970630466da228f"></ins> 1392 <script async="" src="//adserver.dotfusion.ro/revive/www/delivery/asyncjs.php"></script> 1393 </div> 1394 </div> 1395 </div> 1396 1397 @if(@GetPageIdByNavigationTag("Revista") != @GetInteger("DwPageID")) { 1398 1399 @RenderParagraphContent(164) 1400 } 1401 <div class="widget adwidget "> 1402 <ins data-revive-zoneid="6" data-revive-id="30be11c85ce356e14970630466da228f"></ins> 1403 </div> 1404 @{ 1405 var feedCititePageID = GetPageIdByNavigationTag("ArticlesCititeFeed"); 1406 DateTime currentDate = DateTime.Now; 1407 DateTime ago = currentDate.AddMonths(-4); 1408 var agoString = ago.ToString("yyyy.MM.dd"); 1409 var currentDateString = currentDate.ToString("yyyy.MM.dd"); 1410 } 1411 1412 <div class="widget tabwidget"> 1413 <ul class="nav nav-tabs" role="tablist" id="widget-tab"> 1414 <li role="presentation" class="active"><a href="#tab-recent" aria-controls="tab-recent" role="tab" data-toggle="tab">@Translate("recent","Cele mai noi")</a></li> 1415 <li role="presentation"><a href="#tab-popular" aria-controls="tab-popular" role="tab" data-toggle="tab">@Translate("popular","Cele mai citite")</a></li> 1416 </ul> 1417 <div class="tab-content"> 1418 <div role="tabpanel" class="tab-pane active sidebar-handlebars-wrapper" id="tab-recent" data-template="CeleMaiNoiTemplate" data-json-feed="/Default.aspx?ID=@feedPageID&PageSize=5&type=Articole"> 1419 @*Handlebars Template goes here*@ 1420 @RenderPlaceholderImageOnLeft() 1421 @RenderPlaceholderImageOnLeft() 1422 @RenderPlaceholderImageOnLeft() 1423 </div><!-- Recent Posts --> 1424 <div role="tabpanel" class="tab-pane sidebar-handlebars-wrapper" id="tab-popular" data-template="CeleMaiCititeTemplate" data-json-feed="/Default.aspx?ID=@feedCititePageID&PageSize=5&type=Articole&ArticleDate=@(agoString)&EndDate=@currentDateString"> 1425 $1$Handlebars Template goes here#1# 1426 </div><!-- Recent Posts --> 1427 </div> 1428 </div> 1429 1430 <script id="CeleMaiNoiTemplate" type="text/x-handlebars-template"> 1431 {{#ArticlesContainer}} 1432 {{#each Article}} 1433 <article class='widget-post clearfix'> 1434 <div class="simple-thumb"> 1435 <img src='/Admin/Public/GetImage.ashx?Image={{itemImaginePrincipala}}&AlternativeImage=/Files/Images/Articole/download (1).png&Crop=5&Format=jpg&Width=95&Height=90' alt="{{itemTitlu}}" /> 1436 </div> 1437 <header> 1438 <h3> 1439 <a href='/Default.aspx?ID={{pagePageID}}'>{{itemTitlu}}</a> 1440 </h3> 1441 </header> 1442 </article> 1443 {{/each}} 1444 {{/ArticlesContainer}} 1445 </script> 1446 1447 <script id="CeleMaiCititeTemplate" type="text/x-handlebars-template"> 1448 {{#ArticlesContainer}} 1449 {{#each Article}} 1450 <article class="widget-post clearfix"> 1451 <div class="simple-thumb"> 1452 <img src='/Admin/Public/GetImage.ashx?Image={{itemImaginePrincipala}}&AlternativeImage=/Files/Images/Articole/download (1).png&Crop=5&Format=jpg&Width=95&Height=80' alt="{{itemTitlu}}" /> 1453 </div> 1454 <header> 1455 <h3> 1456 <a href='/Default.aspx?ID={{pagePageID}}'>{{itemTitlu}}</a> 1457 </h3> 1458 <p class="simple-share"> 1459 <span><i class="fa fa-clock-o"></i>{{itemData}}</span> 1460 </p> 1461 </header> 1462 </article> 1463 {{/each}} 1464 {{/ArticlesContainer}} 1465 </script> 1466 1467 1468 <div class="widget adwidget "> 1469 <ins data-revive-zoneid="8" data-revive-id="30be11c85ce356e14970630466da228f"></ins> 1470 </div> 1471 1472 </aside> 1473 </div><!-- End last column --> 1474 1475 </div><!-- .blog-content --> 1476 1477 <!-- IBuy and IndustryDirectory--> 1478 <div class="row"> 1479 <div class="col-xs-12" style="margin: 30px 0;"> 1480 <div class="col-xs-12 col-sm-12 col-md-6 text-center"><a href='@Pageview.Area.Item["Link_Catalog"]' alt='@Pageview.Area.Item["Link_Catalog.Name"]' target="blank"><img src='@Pageview.Area.Item["Banner_Catalog"]' alt='@Pageview.Area.Item["Banner_Catalog.Name"]'></a></div> 1481 <div class="col-xs-12 col-sm-12 col-md-6 text-center"><a href='@Pageview.Area.Item["Link_Companii"]' alt='@Pageview.Area.Item["Link_Companii.Name"]' target="blank"><img src='@Pageview.Area.Item["Banner_Companii"]' alt='@Pageview.Area.Item["Banner_Companii.Name"]'></a></div> 1482 </div> 1483 </div> 1484 <!-- end IBuy and IndustryDirectory --> 1485 1486 <script id="ArticleBodyTemplate" type="text/x-handlebars-template"> 1487 {{#ArticlesContainer}} 1488 {{#each Article}} 1489 <header class="post-header"> 1490 <h1 class="post-title"> 1491 {{itemTitlu}} 1492 </h1><!-- .post-title --> 1493 <a href='/Default.aspx?ID={{itemSectiuneParinteId}}' class="category bg{{itemSectiuneParinteId}}"> 1494 {{itemSectiuneParinte}} 1495 </a> 1496 1497 <p class="simple-share"> 1498 <span class="m-0">@Translate("articolde","de") 1499 {{#foreach articleAutori}} 1500 {{#if $last}} 1501 <a href="{{Link}}">{{Name}}</a> 1502 {{else}} 1503 <a href="{{Link}}">{{Name}},</a> 1504 {{/if}} 1505 {{/foreach}} 1506 </span> 1507 <span><span class="article-date"><i class="fa fa-clock-o"></i> {{itemData}}</span></span> 1508 {{#if showItemVisits}} 1509 <span><i class="fa fa-eye"></i> {{itemVisits}} vizualizari</span> 1510 {{/if}} 1511 </p> 1512 {{#ifCond itemImaginePrincipala "!==" ""}} 1513 <figure class="image-overlay"> 1514 <img src="/Admin/Public/GetImage.ashx?Image={{itemImaginePrincipala}}&Crop=5&Format=jpg&Width=730&Height=355" alt="{{itemTitlu}}"> 1515 </figure> 1516 {{/ifCond}} 1517 </header><!-- .post-header --> 1518 <div class="post-content clearfix"> 1519 {{{itemContinut}}} 1520 <hr/> 1521 1522 <!-- Banner articol --> 1523 {{#ifCond pdf "!==" "" }} 1524 <div class="row"> 1525 <div class="col-xs-12 col-pdf"> 1526 <a href='{{pdf}}'>PDF</a> 1527 </div> 1528 </div> 1529 {{/ifCond}} 1530 <!-- End Banner Articol --> 1531 <div class="row text-center mb-20"> 1532 {{#if cereOferta}} 1533 @RenderCereOfertaButton() 1534 {{/if}} 1535 </div> 1536 </div><!-- .post-content --> 1537 <footer class="post-meta"> 1538 <div class=" clearfix"> 1539 <div class="share-buttons"> 1540 <!-- Go to www.addthis.com/dashboard to customize your tools --> 1541 <div class="addthis_inline_share_toolbox"></div> 1542 </div> 1543 <div class="author-section" data-template="AuthorsTemplate" data-json-feed="Default.aspx?ID=@autorPageID&Autor="> 1544 </div> 1545 </div> 1546 1547 </footer> 1548 1549 {{/each}} 1550 {{/ArticlesContainer}} 1551 </script> 1552 <script id="TagsTemplate" type="text/x-handlebars-template"> 1553 {{#ArticlesContainer}} 1554 {{#each Article}} 1555 <div class="tags-wrapper"> 1556 <ul class="tags-widget clearfix"> 1557 <li class="trending">@Translate("TAGURI","TAGURI"):</li> 1558 {{#articleTags}} 1559 <li><a href="{{Link}}"><b>{{Name}}</b></a></li> 1560 {{/articleTags}} 1561 1562 </ul> 1563 </div><!-- .tags-wrapper --> 1564 {{/each}} 1565 {{/ArticlesContainer}} 1566 </script> 1567 <script id="AuthorsTemplate" type="text/x-handlebars-template"> 1568 {{#ifCond counterAutori "!==" "1"}} 1569 <div class="col-xs-12"> 1570 <h5>Autori</h5> 1571 </div> 1572 <div class="col-xs-12 col-sm-12 col-md-12 evenimentewidget"> 1573 <span class="simple-share"> 1574 {{#foreach Autori}} 1575 {{#if $last}} 1576 {{#ifCond persoana_companie "===" "Persoana"}} 1577 <a href="/Default.aspx?ID=@autorPage&autor={{autorId}}">{{name}}</a> 1578 {{/ifCond}} 1579 {{else}} 1580 {{#ifCond persoana_companie "===" "Persoana"}} 1581 <a href="/Default.aspx?ID=@autorPage&autor={{autorId}}">{{name}}, </a> 1582 {{/ifCond}} 1583 {{/if}} 1584 {{/foreach}} 1585 </span> 1586 </div> 1587 {{/ifCond}} 1588 {{#ifCond counterAutori "===" "1"}} 1589 {{#Autori}} 1590 {{#ifCond persoana_companie "===" "Persoana"}} 1591 <div class="row row-butoane-articol"> 1592 <div class="col-xs-12 col-sm-12"><a href="/Default.aspx?ID=@autorPage&autor={{autorId}}" class="btn btn-primary btn-background">@Translate("VeziAlteArticoleAleAutorului", "Alte articole ale autorului")</a></div> 1593 </div> 1594 <div class="author-box clearfix"> 1595 <div class="author-avatar"> 1596 <img alt="" src="/Admin/Public/GetImage.ashx?Image={{imagine}}&AlternativeImage=/Files/Images/Articole/download (1).png&Crop=0&Format=jpg&Width=100&Height=150&bgcolor=white" > 1597 </div> 1598 <div class="author-info"> 1599 <h3><a href="/Default.aspx?ID=@autorPage&autor={{autorId}}">{{name}}</a></h3> 1600 <p class="author-bio">{{description}}</p> 1601 </div> 1602 </div> 1603 {{/ifCond}} 1604 {{#ifCond persoana_companie "===" "Persoana"}} 1605 <div class="row row-butoane-articol"> 1606 <div class="col-xs-12 col-sm-12"><a href="/Default.aspx?ID=@autorPage&autor={{autorId}}" class="btn btn-primary btn-background">@Translate("VeziAlteArticoleAleCompanieiAutoare", "Alte articole ale companiei autoare")</a></div> 1607 </div> 1608 {{/ifCond}} 1609 {{/Autori}} 1610 {{/ifCond}} 1611 </script> 1612 <script id="SectionTemplate" type="text/x-handlebars-template"> 1613 {{#ArticlesContainer}} 1614 {{#each Article}} 1615 <div class="col-xs-12"> 1616 <article class="news-block small-block" style="margin-bottom: 110px;"> 1617 <a href="/Default.aspx?ID={{pagePageID}}" class="overlay-link"> 1618 <figure class="image-overlay proportie-1"> 1619 <img src="/Admin/Public/GetImage.ashx?Image={{itemImaginePrincipala}}&AlternativeImage=/Files/Images/Articole/download (1).png&Crop=0&Format=jpg&Width=350&Height=230" alt="{{itemTitlu}}" class="img-responsive" /> 1620 </figure> 1621 </a> 1622 1623 <a href='/Default.aspx?ID={{itemSectiuneParinteId}}' class="bg{{itemSectiuneParinteId}} category">{{itemSectiuneParinte}}</a> 1624 <header class="news-details"> 1625 1626 <h3 class="news-title"><a href="/Default.aspx?ID={{pagePageID}}">{{itemTitlu}}</a></h3> 1627 <p class="simple-share"> 1628 <a href="#">{{itemSectiuneParinte}}</a> 1629 @Translate("articolde","de") 1630 {{#articleAutori}} 1631 <a href="{{Link}}">{{Name}}</a> 1632 {{/articleAutori}} 1633 <br/> 1634 <span><i class="fa fa-clock-o"></i> {{itemData}}</span> 1635 {{#if showItemVisits}} 1636 <span><i class="fa fa-eye"></i> {{itemVisits}} vizualizari</span> 1637 {{/if}} 1638 </p> 1639 </article><!-- News block --> <p> 1640 </div> 1641 {{/each}} 1642 {{/ArticlesContainer}} 1643 </script> 1644 <script id="CommentsTemplate" type="text/x-handlebars-template"> 1645 {{#each Comentarii}} 1646 <div class="new_comment"> 1647 <ul class="user_comment"> 1648 <div class="user_avatar"> 1649 <img src="/Admin/Public/GetImage.ashx?Image={{imagine}}&AlternativeImage=/Files/Images/Articole/download.png&Crop=0&Format=jpg&Width=350&Height=230"> 1650 </div> 1651 <div class="comment_body"> 1652 <p>{{comment}}</p> 1653 </div> 1654 <div class="comment_toolbar"> 1655 <div class="comment_details"> 1656 <ul> 1657 <li><i class="fa fa-clock-o"></i> {{ora}}</li> 1658 <li><i class="fa fa-calendar"></i> {{data}}</li> 1659 <li><i class="fa fa-pencil"></i> <span class="user"> {{nume}}</span></li> 1660 </ul> 1661 </div> 1662 </div> 1663 </ul> 1664 </div> 1665 {{/each}} 1666 </script> 1667 1668 @helper RenderCereOfertaButton() 1669 { 1670 <!-- Large modal --> 1671 <button class="btn btn-primary test" data-toggle="modal" data-target="#modalformularoferta" id="buton-modal-cere-detalii">@Translate("askForDetails","Cere detalii sau oferta")</button> 1672 1673 <div class="modal fade bd-example-modal-sm" id="modalformularoferta" tabindex="-1" role="dialog" aria-labelledby="myLargeModalLabel" aria-hidden="true" style="background-color:rgba(255,255,255, 0.7);"> 1674 <div class="modal-dialog modal-sm"> 1675 <div class="modal-content"> 1676 <div data-nume="test" class="form-wrapper"> 1677 @RenderParagraphContent(120) 1678 <div class="display-flex hidden"> 1679 <input class="subscribe-checkbox" type="checkbox" id="Suntdeacordcutermeniisiconditiilettonlinero" name="Suntdeacordcutermeniisiconditiilettonlinero" required="" checked="checked"> 1680 <p> @Translate("SuntDeAcord", "Sunt de acord cu ") <a class="termeniSiConditiiUrl" href="@termeniSiContitiiPageUrl">@Translate("termenii si conditiile")</a> @Translate("ttonline.ro") </p> 1681 </div> 1682 1683 </div> 1684 </div> 1685 </div> 1686 <div class="modal-footer"> 1687 <button type="button" class="btn btn-primary" data-dismiss="modal">Inchide Formularul</button> 1688 </div> 1689 </div> 1690 } 1691 <div id="loading"></div> 1692 <div id="loader"><div class="loader-icon"></div></div> 1693 <!-- Google Analytics --> 1694 <script> 1695 window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)};ga.l=+new Date; 1696 ga('create', 'UA-26068739-1', 'auto'); 1697 // START DIMENSIUNI 1698 // DIMENSIUNI PENTRU Romanian Industry Zoom: 1699 var dw_editie = '@nrEditie'; 1700 var dw_autor = '@articleAutori'; 1701 var dw_companie = '@articleCompanyDe'; 1702 var dw_data_aparitie = '@GetDate("Item.Data.Value").ToString("dd/MM/yyyy")'; // format dd.mm.yyyy 1703 ga('set', 'dimension1', dw_editie); 1704 ga('set', 'dimension2', dw_autor); 1705 ga('set', 'dimension3', dw_companie); 1706 ga('set', 'dimension9', dw_data_aparitie); 1707 // END DIMENSIUNI 1708 ga('send', 'pageview'); 1709 </script> 1710 <script async="" src='https://www.google-analytics.com/analytics.js'></script> 1711 <!-- End Google Analytics --> 1712 1713 1714 </div><!-- .main-content --> 1715 1716 @if (string.IsNullOrEmpty(System.Web.HttpContext.Current.Request.Params["productid"])) 1717 { 1718 <!-- End Main Banner --> 1719 <div class="mag-content clearfix sidebar-stop" style="max-width:1170px; padding-left: 0px; padding-right: 0px;"> 1720 <div class="row"> 1721 <div class="col-md-12"> 1722 <div class="ad728-wrapper"> 1723 <ins data-revive-zoneid="7" data-revive-id="30be11c85ce356e14970630466da228f"></ins> 1724 1725 </div> 1726 </div> 1727 </div> 1728 </div> 1729 <!-- End Main Banner --> 1730 } 1731 1732 </div><!-- .main-wrapper --> 1733 1734 1735 <!-- Footer --> 1736 1737 @{ 1738 1739 string AdresaLogoFooter= "https://" + GetGlobalValue("Global:Request.Host")+ "/Files/Images/tehnicmedia-logo.jpg"; 1740 } 1741 1742 1743 <footer class="footer source-org vcard copyright clearfix" id="footer" role="contentinfo"> 1744 <div class="footer-main"> 1745 <div class="fixed-main"> 1746 <div class="container"> 1747 <div class="mag-content"> 1748 <div class="row"> 1749 <div class="col-md-4"> 1750 <div class="footer-block clearfix"> 1751 <h3>@Translate("link", "Link-uri utile"):</h3> 1752 1753 <ul class="footer-menu"> 1754 @foreach(LoopItem footerMenu in GetLoop("Item.Area.FooterMenu")) { 1755 1756 string footerLink = footerMenu.GetString("Item.Area.FooterMenu.FooterLinkUrl"), 1757 footerLinkText = footerMenu.GetString("Item.Area.FooterMenu.FooterLinkText.Value"), 1758 openInNewWindow = footerMenu.GetBoolean("Item.Area.FooterMenu.OpenInNewWindows") ? "_blank" : "_self"; 1759 1760 <li><a href="@footerLink" target='@openInNewWindow'>@footerLinkText</a></li> 1761 } 1762 </ul> 1763 </div> 1764 </div> 1765 <div class="col-md-4"> 1766 <div class="footer-block clearfix"> 1767 <h3>@Translate("aboutUs", "DESPRE NOI"):</h3> 1768 <p>@Pageview.Area.Item["FooterAbout"]</p> 1769 </div> 1770 </div> 1771 1772 <div class="col-md-3 col-md-offset-1"> 1773 <div class="footer-block clearfix"> 1774 <h3>@Translate("contactUs", "CONTACT"):</h3> 1775 <ul> 1776 <li><i class="fa fa-phone" aria-hidden="true"></i> &nbsp;@Pageview.Area.Item["Phone"]</li> 1777 <li><i class="fa fa-envelope" aria-hidden="true"></i> &nbsp;@Pageview.Area.Item["Email"]</li> 1778 <li> <i class="fa fa-map-marker" aria-hidden="true"></i> &nbsp;@Pageview.Area.Item["Address"]</li> 1779 1780 </ul> 1781 </div> 1782 </div> 1783 1784 </div> 1785 </div> 1786 </div> 1787 </div> 1788 </div> 1789 1790 <div class="footer-bottom clearfix"> 1791 <div class="fixed-main"> 1792 <div class="container"> 1793 <div class="mag-content"> 1794 <div class="row"> 1795 <div class="col-md-6"> 1796 <p>@Translate("copyright", "Copyright"): @Translate("TehnicMedia2017", "Tehnic Media") &copy; @DateTime.Now.Year. 1797 <a href="http://www.tehnicmedia.ro"><img src="@AdresaLogoFooter" width="" height=""></a></p> 1798 </div> 1799 <div class="col-md-6"> 1800 <div class="social-icons pull-right"> 1801 <a href='@Pageview.Area.Item["FacebookLink"]' target="_blank"><i class="fa fa-facebook" style="padding: 0px 8px;"></i></a> 1802 <a href='@Pageview.Area.Item["TwitterLink"]' target="_blank"><i class="fa fa-twitter" style="padding: 0px 8px;"></i></a> 1803 </div> 1804 </div> 1805 </div> 1806 </div> 1807 </div> 1808 </div> 1809 </div> 1810 1811 </footer> 1812 <!-- End Footer --> 1813 1814 1815 1816 <!-- Mobile Menu --> 1817 <nav id="mobile-nav"> 1818 <div> 1819 @RenderNavigation(new { 1820 template = "MainNavigationMobile.xslt", 1821 expandmode = "all", 1822 id = "mobile-nav", 1823 startlevel = 1, 1824 listStyle = "mobile-navigation", 1825 endlevel = 2 1826 }) 1827 </div> 1828 </nav> 1829 <!-- / Mobile Menu --> 1830 <div id="go-top-button" class="fa fa-angle-up" title="Scroll To Top"></div> 1831 <div class="mobile-overlay" id="mobile-overlay"></div> 1832 <script type="text/javascript" src="@scriptBundleFooter"></script> 1833 1834 1835 1836 @*Include("Custom/MasterFooter.cshtml")*@ 1837 @RenderSnippet("Modals") 1838 <!--<script type="text/javascript" src="assets/js/footer_scripts.js"></script>--> 1839 1840 @Pageview.Area.Item["Analytics_Code"] 1841 <!-- Add to Calendar --> 1842 <script type="text/javascript">(function () { 1843 if (window.addtocalendar)if(typeof window.addtocalendar.start == "function")return; 1844 if (window.ifaddtocalendar == undefined) { window.ifaddtocalendar = 1; 1845 var d = document, s = d.createElement('script'), g = 'getElementsByTagName'; 1846 s.type = 'text/javascript';s.charset = 'UTF-8';s.async = true; 1847 s.src = ('https:' == window.location.protocol ? 'https' : 'http')+'://addtocalendar.com/atc/1.5/atc.min.js'; 1848 var h = d[g]('body')[0];h.appendChild(s); } 1849 })(); 1850 </script> 1851 1852 <!-- Go to www.addthis.com/dashboard to customize your tools --> 1853 <script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-58b014abcccaba2d"></script> 1854 1855 <!-- Twitter Widget--> 1856 <!--<script type="text/javascript"> 1857 window.twttr = (function (d,s,id) { 1858 var t, js, fjs = d.getElementsByTagName(s)[0]; 1859 if (d.getElementById(id)) return; js=d.createElement(s); js.id=id; 1860 js.src="https://platform.twitter.com/widgets.js"; fjs.parentNode.insertBefore(js, fjs); 1861 return window.twttr || (t = { _e: [], ready: function(f){ t._e.push(f) } }); 1862 }(document, "script", "twitter-wjs")); 1863 </script>--> 1864 1865 <!-- Twitter Widget Loader --> 1866 1867 @RenderSnippet("bottomJS") 1868 1869 <!-- Start Scroll tracking --> 1870 <script src="@areaLayoutPath/assets/js/gascrolldepth.min.js"></script> 1871 <script> 1872 gascrolldepth.init({ 1873 elements: ['#mm-0', 'footer'], 1874 userTiming: true, 1875 gtmOverride: true, 1876 eventHandler: function(data) { 1877 if (data.event == "ScrollDistance") { 1878 ga('send', 'event', data.eventCategory, data.eventAction, data.eventLabel, data.eventValue); 1879 } 1880 } 1881 }); 1882 </script> 1883 <!-- End Scroll tracking --> 1884 <script type="text/javascript"> 1885 1886 /* <![CDATA[ */ 1887 1888 var google_conversion_id = 1010029401; 1889 1890 var google_custom_params = window.google_tag_params; 1891 1892 var google_remarketing_only = true; 1893 1894 /* ]]> */ 1895 1896 </script> 1897 1898 <script type="text/javascript" src="//www.googleadservices.com/pagead/conversion.js"></script> 1899 <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-multiselect/0.9.15/js/bootstrap-multiselect.min.js"></script> 1900 1901 <script type="text/javascript" src="/Files/Templates/Designs/TTOnlineNew/js/minified/00_libraries/00_handlebars.js"></script> 1902 <script type="text/javascript" src="/Files/Templates/Designs/TTOnlineNew/js/minified/00_libraries/05_axios.js"></script> 1903 <script type="text/javascript" src="/Files/Templates/Designs/TTOnlineNew/js/minified/00_libraries/10_es6promise.js"></script> 1904 <script type="text/javascript" src="/Files/Templates/Designs/TTOnlineNew/js/minified/05_custom/00_main.min.js"></script> 1905 <script type="text/javascript" src="/Files/Templates/Designs/TTOnlineNew/js/minified/05_custom/05_handlebarsHelper.min.js"></script> 1906 1907 <noscript> 1908 <div style="display:inline;"> 1909 <img height="1" width="1" style="border-style:none;" alt="" src="//googleads.g.doubleclick.net/pagead/viewthroughconversion/1010029401/?guid=ON&amp;script=0"> 1910 </div> 1911 </noscript> 1912 <div id="loading"></div> 1913 </body> 1914 </html>