%%45^45E^45E480CD%%index.tpl.php 44.6 KB
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859
<?php /* Smarty version 2.6.16, created on 2015-11-16 17:32:57
         compiled from index.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'default', 'index.tpl', 4, false),array('modifier', 'replace', 'index.tpl', 4, false),array('modifier', 'escape', 'index.tpl', 4, false),array('modifier', 'stripslashes', 'index.tpl', 372, false),array('modifier', 'date_format', 'index.tpl', 470, false),array('modifier', 'exp', 'index.tpl', 594, false),array('modifier', 'product', 'index.tpl', 594, false),array('modifier', 'rubric', 'index.tpl', 596, false),array('function', 'fonl', 'index.tpl', 335, false),array('function', 'mailto', 'index.tpl', 367, false),)), $this); ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ru" >
<head>
        <title><?php echo ((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=@$this->_tpl_vars['meta']['title'])) ? $this->_run_mod_handler('default', true, $_tmp, 'Âåëîñèïåäû, ëûæè, ñíîóáîðäû, êîíüêè, ïàëàòêè, ðþêçàêè, ñêåéòû, ðîëèêè (ðîëèêîâûå êîíüêè), âèíäñåðôèíã') : smarty_modifier_default($_tmp, 'Âåëîñèïåäû, ëûæè, ñíîóáîðäû, êîíüêè, ïàëàòêè, ðþêçàêè, ñêåéòû, ðîëèêè (ðîëèêîâûå êîíüêè), âèíäñåðôèíã')))) ? $this->_run_mod_handler('replace', true, $_tmp, '2013', '2014') : smarty_modifier_replace($_tmp, '2013', '2014')))) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); ?>
</title>
        <meta http-equiv="Content-Type" content="text/html; charset=windows-1251" />
        <meta http-equiv="content-language" content="ru" />
		<?php if ($this->_tpl_vars['lang'] == 'ukr'): ?>
			<?php if ($this->_tpl_vars['rubric']['id'] > 9999999): ?><link rel="alternate" href="<?php echo @URL;  echo $this->_tpl_vars['rubric']['translit']; ?>
-catalogs/<?php if ($this->_tpl_vars['product']['id'] > 0):  echo $this->_tpl_vars['product']['translit']; ?>
-<?php echo $this->_tpl_vars['product']['id']; ?>
/<?php endif; ?>" hreflang="ru" /><?php else: ?><link rel="alternate" href="<?php echo @URL;  if ($_SERVER['REQUEST_URI'] != '/ukr/' && $_SERVER['REQUEST_URI'] != '/ukr'):  echo ((is_array($_tmp=$_SERVER['REQUEST_URI'])) ? $this->_run_mod_handler('replace', true, $_tmp, '/ukr/', '') : smarty_modifier_replace($_tmp, '/ukr/', ''));  endif; ?>" hreflang="ru" /><?php endif; ?>
		<?php else: ?>
			<?php if ($this->_tpl_vars['rubric']['id'] > 9999999): ?><link rel="alternate" href="<?php echo @URL; ?>
ukr/<?php echo $this->_tpl_vars['rubric']['translit']; ?>
-catalogs/<?php if ($this->_tpl_vars['product']['id'] > 0):  echo $this->_tpl_vars['product']['translit']; ?>
-<?php echo $this->_tpl_vars['product']['id']; ?>
/<?php endif; ?>" hreflang="uk" /><?php else: ?><link rel="alternate" href="<?php echo @URL; ?>
ukr<?php if ($_SERVER['REQUEST_URI'] != '/ukr/' && $_SERVER['REQUEST_URI'] != '/ukr'):  echo ((is_array($_tmp=$_SERVER['REQUEST_URI'])) ? $this->_run_mod_handler('replace', true, $_tmp, '/ukr/', '') : smarty_modifier_replace($_tmp, '/ukr/', ''));  endif; ?>" hreflang="uk" /><?php endif; ?>
		<?php endif; ?>
        <meta name="author" content="ArtWeb Studio">
        <meta name="description" content="<?php echo ((is_array($_tmp=((is_array($_tmp=@$this->_tpl_vars['meta']['description'])) ? $this->_run_mod_handler('default', true, $_tmp, 'ExtrimStyle') : smarty_modifier_default($_tmp, 'ExtrimStyle')))) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); ?>
" />
        <meta name="keywords" content="<?php echo ((is_array($_tmp=((is_array($_tmp=@$this->_tpl_vars['meta']['keywords'])) ? $this->_run_mod_handler('default', true, $_tmp, 'ExtrimStyle') : smarty_modifier_default($_tmp, 'ExtrimStyle')))) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); ?>
" />
		<?php if ($_GET['page'] > 1 || count ( $this->_tpl_vars['sex_fl'] ) > 1 || count ( $this->_tpl_vars['filters_fl']['f'] ) > 1 || count ( $this->_tpl_vars['filters_fl']['y'] ) > 1 || count ( $this->_tpl_vars['filters_fl']['s'] ) > 0 || $this->_tpl_vars['sort'] || $_GET['search_str'] || $_SERVER['REQUEST_URI'] == "/account/registration/" || $_SERVER['REQUEST_URI'] == "/catalogs/basket/" || $_SERVER['REQUEST_URI'] == "/line/" || $_SERVER['REQUEST_URI'] == "/payment/" || ( $this->_tpl_vars['tpl'] == "catalogs_products.tpl" && count ( $this->_tpl_vars['productsData']['data'] ) == 0 )): ?>
			<meta name="robots" content="noindex, follow" />
		<?php endif; ?>
		<?php if (count ( $this->_tpl_vars['productsData']['data'] ) > 0): ?>
		<?php if ($this->_tpl_vars['productsData']['page_numbers']['current'] > 1): ?><link rel="prev" href="<?php echo @URL;  echo $this->_tpl_vars['rubric']['translit']; ?>
-catalogs/page_<?php echo $this->_tpl_vars['productsData']['page_numbers']['current']-1; ?>
.html/"><?php endif; ?>
		<?php if ($this->_tpl_vars['productsData']['page_numbers']['current'] < $this->_tpl_vars['productsData']['page_numbers']['total']): ?><link rel="next" href="<?php echo @URL;  echo $this->_tpl_vars['rubric']['translit']; ?>
-catalogs/page_<?php echo $this->_tpl_vars['productsData']['page_numbers']['current']+1; ?>
.html/"><?php endif; ?>
		<?php endif; ?>

		<?php if ($_REQUEST['sort'] != NULL || $_REQUEST['perPage'] > 0 || count ( $this->_tpl_vars['brends_fl'] ) > 1 || count ( $this->_tpl_vars['sex_fl'] ) > 1 || count ( $this->_tpl_vars['filters_fl']['s'] ) > 1 || count ( $this->_tpl_vars['filters_fl']['f'] ) > 1 || count ( $this->_tpl_vars['filters_fl']['y'] ) > 1 || count ( $this->_tpl_vars['filters_fl']['g'] ) > 1): ?>
		<?php if ($this->_tpl_vars['rubric']['id'] > 0): ?><link rel="canonical" href="<?php echo @URL;  echo $this->_tpl_vars['rubric']['translit']; ?>
-catalogs/"><?php else: ?><link rel="canonical" href="<?php echo @URL; ?>
catalogs/"><?php endif; ?>
		<?php endif; ?>
		<?php if ($_SERVER['REQUEST_URI'] == "/kurtki-catalogs/filter;filter=f2892_sportivniy-kostyum/"): ?>
		<link rel="canonical" href="http://extremstyle.ua/odejda_dlya_fitnesa-catalogs/filter;filter=f2892_sportivniy-kostyum/" />
		<?php endif; ?>
		                <link href="<?php echo @URL; ?>
css/style.css" rel="stylesheet" type="text/css" />
                <link rel="shortcut icon" href="<?php echo @URL; ?>
img/favicon.ico" type="image/x-icon" />
                <link href="<?php echo @URL; ?>
css/global.css" rel="stylesheet" type="text/css" />
                <script src="<?php echo @URL; ?>
js/jquery-1.5.min.js"></script>
                <link rel="stylesheet" type="text/css" href="<?php echo @URL; ?>
js/autocomplete/css/style.css" />
                <script type="text/javascript" src="<?php echo @URL; ?>
js/autocomplete/js/script.js"></script>
                <script type="text/javascript" src="<?php echo @URL; ?>
js/cabinet.js"></script>
                <script type="text/javascript" src="<?php echo @URL; ?>
js/basket.js"></script>
				<script type="text/javascript" src="<?php echo @URL; ?>
js/alert.js"></script>
                <script type="text/javascript" src="<?php echo @URL; ?>
js/jquery.cookie.js"></script>
				<script type="text/javascript" src="<?php echo @URL; ?>
js/jquery.wookmark.js"></script>
                <?php echo '<script type="text/javascript">

                // initialise plugins
                jQuery(function(){
                                        $(\'#basket\').basket({lang:\'';  echo $this->_tpl_vars['lang'];  echo '\'});
                });
                                
                jQuery(function(){
                                        $(\'#cabinet\').cabinet({lang:\'';  echo $this->_tpl_vars['lang'];  echo '\'});
                });

	jQuery(function(){
		
		function comparatorId(a, b) {
          return $(a).data(\'sort\') > $(b).data(\'sort\') ? -1 : 1;
		 
        }	
      var options = {
        autoResize: false, // This will auto-update the layout when the browser window is resized.
        container: $(\'#etab1,.menup\'), // Optional, used for some extra CSS styling
        comparator:comparatorId,
		offset: 2, // Optional, the distance between grid items
        itemWidth: 230 // Optional, the width of a grid item
      };	
      var handler = $(\'.row\');
      handler.wookmark(options);
	 });				

jQuery(function(){
$(".menup").css({opacity: 0});
$(".first").hover(
  function () {
    $(".menup").animate({ opacity: 1.0 },450);
  },
  function () {
    $(".menup").animate({ opacity: 0 },450);
  }
);
});				
                                
function doRate(a,c){
$.ajax({
  url: \'/rating.php?go_rate=\'+a+\'&pid=\'+c,
  success: function(data) {
    $(\'#ratig-layer-\' + c).html(data);
  }
});
}

                </script>'; ?>
        
                                
                
                <?php  global $path; if (!isset($path[1]) || (isset($path[1]) && $path[1]!='account')) {  ?>
                <?php if ($this->_tpl_vars['tpl'] == "catalogs_products_hits.tpl"): ?>        
                                <script src="<?php echo @URL; ?>
js/slides.min.jquery.js"></script>                
                <?php echo '<script>
                $(function(){
                        $(\'#slides\').slides({
                                preload: true,
                                play: 5000,
                                pause: 2500,
                                hoverPause: true
                        });
                });
        </script>
                
                
<script type="text/javascript">
$(document).ready(function(){                                                  
    var i = 0;
        $(\'.view-source\').toggle(
      function(){i = 0;
        $(\'#tab_container\').animate({ height:"200px" });
        $(this).html(\'ðàçâåðíóòü\');
     },
          function(){i = 1;
                if($(\'#tab1\').hasClass(\'active\')){var h = $("#etab1").height();}
                if($(\'#tab2\').hasClass(\'active\')){var h = $("#etab2").height();}
                if($(\'#tab3\').hasClass(\'active\')){var h = $("#etab3").height();}
                $(\'#tab_container\').animate({ height:h });
        $(this).html(\'ñâåðíóòü\');
      }
     
   );

        //Default Action
        $(".tab_content").hide(); //Hide all content
        $("ul#list1 li:first").addClass("active").show(); //Activate first tab
        $(".tab_content:first").show(); //Show first tab content

        //On Click Event
        $("ul#list1 li.tab").click(function() {
                $("ul#list1 li.tab").removeClass("active"); //Remove any "active" class
                $(this).addClass("active"); //Add "active" class to selected tab
                $(".tab_content").hide(); //Hide all tab content
                var activeTab = $(this).find("a").attr("href"); //Find the rel attribute value to identify the active tab + content
                                $(activeTab).fadeIn(); //Fade in the active content                          
                                if(i==1){
                if($(\'#tab1\').hasClass(\'active\')){var h = $("#etab1").height();alert(h);}
                if($(\'#tab2\').hasClass(\'active\')){var h = $("#etab2").height();}
                if($(\'#tab3\').hasClass(\'active\')){var h = $("#etab3").height();}
                $(\'#tab_container\').animate({ height:h });
        $(\'.view-source\').html(\'ñâåðíóòü\');                                
                                }
                                return false;
        });  


   
   
   $("#tab2").click(function() {
			$.get("/ajax/brends.php",
			function(data){
				$("#etab2").html(data);
			});
   });
   
   $("#tab3").click(function() {
			$.get("/ajax/akcii.php",
			function(data){
				$("#etab3").html(data);
			});
   });   
		
		if (window.location.hash==\'#etab1\' || window.location.hash==\'#etab2\' || window.location.hash==\'#etab3\'){
		var loc = window.location.hash.replace("#e","");
		$(\'#\'+loc).click();   
		}
   });
</script>'; ?>
                


<script type="text/javascript" src="<?php echo @URL; ?>
js/jsor-jcarousel-7bb2e0a/lib/jquery.jcarousel.min.js"></script>
<link rel="stylesheet" type="text/css" href="<?php echo @URL; ?>
js/jsor-jcarousel-7bb2e0a/skins/tango/skin.css" />
<?php echo '
<script type="text/javascript">

jQuery(document).ready(function() {
    jQuery(\'#mycarousel5,#mycarousel3\').jcarousel();
});

</script>'; ?>


<script type="text/javascript" src="<?php echo @URL; ?>
js/tabs.js"></script>
<?php endif; ?>
<?php  }  ?>


<?php if ($this->_tpl_vars['tpl'] != "catalogs_products_hits.tpl" && $_GET['m'] == 1): ?> 
<script type="text/javascript" src="<?php echo @URL; ?>
js/menuscroll.js"></script>
<?php endif; ?>

<?php if ($_GET['send'] == 'ok'): ?>
<script type="text/javascript" src="<?php echo @URL; ?>
js/send_ok.js"></script>
<script type="text/javascript">(window.Image ? (new Image()) : document.createElement('img')).src = location.protocol + '//vk.com/rtrg?r=WVZjo0l19VK7u6YOLmPgoiekubf8ko1R6tRdb161cHyp4*jmsiE3ofaxeR4U3gf8j9ynmO*0TbHXSkVGReUdc6p*0dZnKH46Fwm2iAzMDlZMZv85l*1EzhyZuiD*knaYvVjC3n*e0B/u1HRT1oDVVWOZLiPiqWlDDu/Edrls250-';</script>
<?php endif; ?>


<?php if ($this->_tpl_vars['tpl'] == "catalogs_basket.tpl"): ?>
<script type="text/javascript" src="<?php echo @URL; ?>
js/tabs_basket.js"></script>
<script type="text/javascript" src="<?php echo @URL; ?>
js/rule.js"></script>
<?php endif; ?>

        <script type="text/javascript" src="<?php echo @URL; ?>
js/shadowbox.js"></script>
        <script type="text/javascript" src="<?php echo @URL; ?>
js/jquery.custom.modal.js"></script>
<script type="text/javascript" src="<?php echo @URL; ?>
js/jquery.maskedinput.js"></script>
<?php echo '
<script type="text/javascript">
jQuery(document).ready(function(){

jQuery("#phone").mask("+38 (999) 999-9999");

jQuery(".sbcModal_a").sbcModal();
});
</script>
'; ?>



<?php if ($this->_tpl_vars['tpl'] == "catalogs_brend.tpl" || $this->_tpl_vars['tpl'] == "statics2.tpl" || $this->_tpl_vars['tpl'] == "vacancy.tpl"): ?>
<script type="text/javascript" src="<?php echo @URL; ?>
js/tabs_basket.js"></script>
<?php endif; ?>
<?php if ($this->_tpl_vars['tpl'] == "catalogs_products.tpl"): ?>
<script type="text/javascript">
<?php echo '
$(document).ready(function() {

	  $(\'.sale\').mouseover(function() {
			$( this ).append( "<div class=\'msg\'>Ïðèñóòñòâóåò òîâàð<br />ñî ñêèäêîé</div>" );
			$(\'.msg\').css({
							\'position\':"absolute",
							\'width\':"120px",
							\'z-index\':"99999",
							\'font-size\':"12px",
							\'top\':"30px",
							\'left\':"-80px",
							\'padding\':"10px",
							\'border-radius\':"5px",
							\'background-color\':"#f6f6f6",
							\'border\':"1px solid #dbdcdc",
							\'font-weight\':"normal",
							\'color\':"red"
						});
		}).mouseout(function() {
			$(\'.msg\').remove();
		});

'; ?>

<?php if ($_GET['topall'] == 1): ?>
<?php echo '
$.cookie(\'product_tab_id_';  echo $this->_tpl_vars['rubric']['id'];  echo '\', "tab33", { path: \'/\'});
'; ?>

<?php endif; ?>
<?php echo '
        //Default Action
        $(".tab_content").hide(); //Hide all content
        var products_tab_id = $.cookie(\'product_tab_id_';  echo $this->_tpl_vars['rubric']['id'];  echo '\');
                if(products_tab_id){
                        $(\'#\'+products_tab_id).addClass("active").show();
                        $(\'#e\'+products_tab_id).show();
                }else{
                $("ul#list1 li:first").addClass("active").show(); //Activate first tab
        $(".tab_content:first").show(); //Show first tab content
                }
                

        //On Click Event
                $("ul#list1 li.tab").click(function() {
                $("ul#list1 li.tab").removeClass("active"); //Remove any "active" class
                $(this).addClass("active"); //Add "active" class to selected tab
                                var id = $(this).attr(\'id\'); //alert(id);
                                $.cookie(\'product_tab_id_';  echo $this->_tpl_vars['rubric']['id'];  echo '\', id, { path: \'/\'});
                                //alert($.cookie(\'product_tab_id\'));
                                $(".tab_content").hide(); //Hide all tab content
                var activeTab = $(this).find("a").attr("href"); //Find the rel attribute value to identify the active tab + content
                $(activeTab).fadeIn(); //Fade in the active content
                return false;
        });

});
'; ?>

</script>
<?php endif; ?>
<?php if ($this->_tpl_vars['tpl'] == "catalogs_basket.tpl"): ?>
<script type="text/javascript" src="<?php echo @URL; ?>
js/city_select.js" charset="windows-1251"></script>
<?php endif; ?>
<?php if ($this->_tpl_vars['tpl'] == "catalogs_product.tpl" || $this->_tpl_vars['tpl'] == "catalogs_basket.tpl"): ?>
<link rel="stylesheet" type="text/css" href="<?php echo @URL; ?>
js/shadowbox-3.0.3/shadowbox.css">
<script type="text/javascript" src="<?php echo @URL; ?>
js/shadowbox-3.0.3/shadowbox.js" charset="windows-1251"></script>
<?php echo '<script type="text/javascript">
Shadowbox.init({

});
</script>'; ?>

<?php endif; ?>

<?php if ($this->_tpl_vars['tpl'] == "catalogs_product.tpl" || $this->_tpl_vars['tpl'] == "catalogs_product2.tpl"): ?>
                <!--
  jCarousel library
-->
<script type="text/javascript" src="<?php echo @URL; ?>
js/jsor-jcarousel-7bb2e0a/lib/jquery.jcarousel.min.js"></script>
<!--
  jCarousel skin stylesheet
-->
<link rel="stylesheet" type="text/css" href="<?php echo @URL; ?>
js/jsor-jcarousel-7bb2e0a/skins/tango/skin4.css" />
<?php echo '
<script type="text/javascript">

jQuery(document).ready(function() {
    jQuery(\'#mycarousel5,#mycarousel4,.mycarousel\').jcarousel();
});

</script>'; ?>

<script type="text/javascript" src="<?php echo @URL; ?>
js/tabs_product.js"></script>
<script type="text/javascript" src="<?php echo @URL; ?>
js/subscribe.js"></script>
<?php endif; ?>

<?php echo $this->_tpl_vars['no_capcha']; ?>

</head>
<body>

<?php echo '
<!-- Google Tag Manager -->
<noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-P2SZP5"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({\'gtm.start\':
new Date().getTime(),event:\'gtm.js\'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!=\'dataLayer\'?\'&l=\'+l:\'\';j.async=true;j.src=
\'//www.googletagmanager.com/gtm.js?id=\'+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,\'script\',\'dataLayer\',\'GTM-P2SZP5\');</script>
<!-- End Google Tag Manager -->
'; ?>


<?php  global $path; if (!isset($path[1]) || (isset($path[1]) && $path[1]!='account')) {  ?>
<?php if ($this->_tpl_vars['tpl'] == "catalogs_products_hits.tpl"): ?>
<a <?php echo smarty_function_fonl(array(), $this);?>
></a>
<?php endif; ?>
<?php  }  ?>

<?php  include_once($_SERVER['DOCUMENT_ROOT']."/account/signup.php");  ?>

<div class="bg2"><div class="bg">
<div style="position:relative;z-index:999;" class="top">
				<div class="basket_top">

						<?php if ($_SESSION['user']['name']): ?>
                        <a href="<?php echo @URL; ?>
account/panel/"><?php echo $_SESSION['user']['name']; ?>
</a>
                        <?php else: ?>
                        <a href="#" class="link_p" id="cabinet"><span>Ëè÷íûé êàáèíåò</span></a><div class="both"></div>
                        <?php endif; ?>
                       
                        
                                <div id="basket">...</div>
                                             
                        <a class="sbcModal_a" href="#qv_view-all_1"><span><?php echo @sbcModal_a; ?>
</span></a>
						<a class="status" href="<?php echo @URL;  echo $this->_tpl_vars['lang_prefix']; ?>
account/status/"><span><?php echo @str_status; ?>
</span></a>
						                        
                </div>
                <div class="logo">
                        <a href="<?php echo @URL;  echo $this->_tpl_vars['lang_prefix']; ?>
" title="Åêñòðèì ñòàéë"><span>Åêñòðèì ñòàéë</span></a>
                </div>
                <div class="search_top">                        
                        <div class="tel"> <span class="b">(044)</span> <span>303-90-10;</span> <span class="b">(044)</span> <span>428-65-38;</span> <span class="b">(050)</span> <span>382-03-00</span> <img src="<?php echo @URL; ?>
img/skype.png" align="middle" /> <span>www-extremstyle.ua</span></div>
                        						<div class="hotline"><?php echo @VOPROS; ?>
: <span><?php echo smarty_function_mailto(array('address' => "vopros@eltrade.com.ua",'encode' => 'javascript_charcode'), $this);?>
</span></div>
				                <div class="langs">
								<a href="<?php echo @URL;  echo $this->_tpl_vars['link_rus']; ?>
"><img src="<?php echo @URL; ?>
img/ico_ru.gif" border="0" width="16" height="11" /></a> <a href="<?php echo @URL;  echo $this->_tpl_vars['link_ukr']; ?>
"><img src="<?php echo @URL; ?>
img/ico_ua.gif" border="0" width="16" height="11" /></a>
								</div>						
						<div class="search_form"><form method="get" action="<?php echo @URL; ?>
catalogs/">
                                <div class="inp_l"></div><input type="text" name="search_str" id="inputString" onkeyup="lookup(this.value);" autocomplete="off" value="<?php echo ((is_array($_tmp=((is_array($_tmp=$_GET['search_str'])) ? $this->_run_mod_handler('stripslashes', true, $_tmp) : smarty_modifier_stripslashes($_tmp)))) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); ?>
" /><input type="submit" value="<?php echo @NAYTI; ?>
" /><div id="suggestions"></div><div class="both"></div>
                        </form></div>
                        <div class="slogan">Íàéá³ëüøèé âèá³ð íàéêðàùîãî ñïîðÿäæåííÿ</div>
                </div>
</div><div class="both"></div>
<div style="position:relative;z-index:888;" class="menu"><div class="wrp">
        <a href="<?php echo @URL;  echo $this->_tpl_vars['lang_prefix']; ?>
" class="link_home" title="<?php echo @MENU_1; ?>
"><span><?php echo @MENU_1; ?>
</span></a>
        <ul>
                <li class="first"><span class="l"></span><a href="<?php echo @URL;  if ($this->_tpl_vars['menup'] != 1): ?>catalogs/<?php else: ?>#list1<?php endif; ?>"><?php echo @MENU_2; ?>
</a><span class="r"></span>
                <?php if ($this->_tpl_vars['menup'] != 1): ?>
				<div class="menup">
                                                                       <?php unset($this->_sections['i']);
$this->_sections['i']['name'] = 'i';
$this->_sections['i']['loop'] = is_array($_loop=$this->_tpl_vars['catalogs_rubrics_begin']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['i']['show'] = true;
$this->_sections['i']['max'] = $this->_sections['i']['loop'];
$this->_sections['i']['step'] = 1;
$this->_sections['i']['start'] = $this->_sections['i']['step'] > 0 ? 0 : $this->_sections['i']['loop']-1;
if ($this->_sections['i']['show']) {
    $this->_sections['i']['total'] = $this->_sections['i']['loop'];
    if ($this->_sections['i']['total'] == 0)
        $this->_sections['i']['show'] = false;
} else
    $this->_sections['i']['total'] = 0;
if ($this->_sections['i']['show']):

            for ($this->_sections['i']['index'] = $this->_sections['i']['start'], $this->_sections['i']['iteration'] = 1;
                 $this->_sections['i']['iteration'] <= $this->_sections['i']['total'];
                 $this->_sections['i']['index'] += $this->_sections['i']['step'], $this->_sections['i']['iteration']++):
$this->_sections['i']['rownum'] = $this->_sections['i']['iteration'];
$this->_sections['i']['index_prev'] = $this->_sections['i']['index'] - $this->_sections['i']['step'];
$this->_sections['i']['index_next'] = $this->_sections['i']['index'] + $this->_sections['i']['step'];
$this->_sections['i']['first']      = ($this->_sections['i']['iteration'] == 1);
$this->_sections['i']['last']       = ($this->_sections['i']['iteration'] == $this->_sections['i']['total']);
?>                                   
     <div class="row">
      <div class="title2"><a href="<?php echo @URL;  echo $this->_tpl_vars['lang_prefix'];  echo $this->_tpl_vars['catalogs_rubrics_begin'][$this->_sections['i']['index']]['parents'][0]['translit']; ?>
-catalogs/"><?php echo $this->_tpl_vars['catalogs_rubrics_begin'][$this->_sections['i']['index']]['name']; ?>
</a></div>
      <div class="box2">
       <img src="<?php echo @URL; ?>
uploaded/pic/catalogs/rubrics/<?php echo $this->_tpl_vars['catalogs_rubrics_begin'][$this->_sections['i']['index']]['pic']; ?>
" align="right" alt="<?php echo $this->_tpl_vars['catalogs_rubrics_begin'][$this->_sections['i']['index']]['name']; ?>
" /> <?php unset($this->_sections['j']);
$this->_sections['j']['name'] = 'j';
$this->_sections['j']['loop'] = is_array($_loop=$this->_tpl_vars['catalogs_rubrics_begin'][$this->_sections['i']['index']]['parents']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['j']['show'] = true;
$this->_sections['j']['max'] = $this->_sections['j']['loop'];
$this->_sections['j']['step'] = 1;
$this->_sections['j']['start'] = $this->_sections['j']['step'] > 0 ? 0 : $this->_sections['j']['loop']-1;
if ($this->_sections['j']['show']) {
    $this->_sections['j']['total'] = $this->_sections['j']['loop'];
    if ($this->_sections['j']['total'] == 0)
        $this->_sections['j']['show'] = false;
} else
    $this->_sections['j']['total'] = 0;
if ($this->_sections['j']['show']):

            for ($this->_sections['j']['index'] = $this->_sections['j']['start'], $this->_sections['j']['iteration'] = 1;
                 $this->_sections['j']['iteration'] <= $this->_sections['j']['total'];
                 $this->_sections['j']['index'] += $this->_sections['j']['step'], $this->_sections['j']['iteration']++):
$this->_sections['j']['rownum'] = $this->_sections['j']['iteration'];
$this->_sections['j']['index_prev'] = $this->_sections['j']['index'] - $this->_sections['j']['step'];
$this->_sections['j']['index_next'] = $this->_sections['j']['index'] + $this->_sections['j']['step'];
$this->_sections['j']['first']      = ($this->_sections['j']['iteration'] == 1);
$this->_sections['j']['last']       = ($this->_sections['j']['iteration'] == $this->_sections['j']['total']);
 $i++;if($i==30)$b=1; ?><a href="<?php echo @URL;  echo $this->_tpl_vars['lang_prefix'];  echo $this->_tpl_vars['catalogs_rubrics_begin'][$this->_sections['i']['index']]['parents'][$this->_sections['j']['index']]['translit']; ?>
-catalogs/"><?php echo $this->_tpl_vars['catalogs_rubrics_begin'][$this->_sections['i']['index']]['parents'][$this->_sections['j']['index']]['name']; ?>
</a><?php endfor; endif; ?>
      </div>
     </div>              <?php endfor; endif; ?>         <div class="both"></div>
                
                </div>
				<?php endif; ?>
                </li>
                                <li <?php if ($this->_tpl_vars['rules_info_one']['action'] == 'payment'): ?>class="active"<?php endif; ?>><span class="l"></span><a href="<?php echo @URL;  echo $this->_tpl_vars['lang_prefix']; ?>
payment/"><?php echo @MENU_4; ?>
</a><span class="r"></span></li>
                <li <?php if ($_GET['modAction'] == 'brends'): ?>class="active"<?php endif; ?>><span class="l"></span><a href="<?php echo @URL;  echo $this->_tpl_vars['lang_prefix']; ?>
catalogs/brends/"><?php echo @MENU_5; ?>
</a><span class="r"></span></li>
                <li <?php if ($this->_tpl_vars['rules_info_one']['action'] == 'shops'): ?>class="active"<?php endif; ?>><span class="l"></span><a href="<?php echo @URL;  echo $this->_tpl_vars['lang_prefix']; ?>
shops/"><?php echo @MENU_6; ?>
</a><span class="r"></span></li>
                <li <?php if ($this->_tpl_vars['rules_info_one']['action'] == 'services'): ?>class="active"<?php endif; ?>><span class="l"></span><a href="<?php echo @URL;  echo $this->_tpl_vars['lang_prefix']; ?>
services/"><?php echo @MENU_7; ?>
</a><span class="r"></span></li>
                <li <?php if ($this->_tpl_vars['rules_info_one']['action'] == 'vacancy'): ?>class="active"<?php endif; ?>><span class="l"></span><a href="<?php echo @URL;  echo $this->_tpl_vars['lang_prefix']; ?>
vacancy/"><?php echo @MENU_8; ?>
</a><span class="r"></span></li>
                <li <?php if ($this->_tpl_vars['rules_info_one']['action'] == 'training'): ?>class="active"<?php endif; ?>><span class="l"></span><a href="<?php echo @URL;  echo $this->_tpl_vars['lang_prefix']; ?>
training/"><?php echo @MENU_9; ?>
</a><span class="r"></span></li>
                <li <?php if ($this->_tpl_vars['rules_info_one']['action'] == 'line'): ?>class="active"<?php endif; ?>><span class="l"></span><a style="padding-top:5px;text-align:center;" href="<?php echo @URL;  echo $this->_tpl_vars['lang_prefix']; ?>
line/"><?php echo @MENU_10; ?>
<br /><span style="padding:5px 0px 0px 0px;font-size:10px;color:#ffffff;">zhaloba@eltrade.com.ua</span></a><span class="r"></span></li>
                </ul><div class="both"></div>
</div></div>

<?php  global $path; if (!isset($path[1]) || (isset($path[1]) && $path[1]!='account')) {  ?>
<?php if ($this->_tpl_vars['tpl'] == "catalogs_products_hits.tpl"): ?>
                        <div id="slides">
                                <div class="slides_container">
                                        <?php unset($this->_sections['i']);
$this->_sections['i']['name'] = 'i';
$this->_sections['i']['loop'] = is_array($_loop=$this->_tpl_vars['banners_list']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['i']['show'] = true;
$this->_sections['i']['max'] = $this->_sections['i']['loop'];
$this->_sections['i']['step'] = 1;
$this->_sections['i']['start'] = $this->_sections['i']['step'] > 0 ? 0 : $this->_sections['i']['loop']-1;
if ($this->_sections['i']['show']) {
    $this->_sections['i']['total'] = $this->_sections['i']['loop'];
    if ($this->_sections['i']['total'] == 0)
        $this->_sections['i']['show'] = false;
} else
    $this->_sections['i']['total'] = 0;
if ($this->_sections['i']['show']):

            for ($this->_sections['i']['index'] = $this->_sections['i']['start'], $this->_sections['i']['iteration'] = 1;
                 $this->_sections['i']['iteration'] <= $this->_sections['i']['total'];
                 $this->_sections['i']['index'] += $this->_sections['i']['step'], $this->_sections['i']['iteration']++):
$this->_sections['i']['rownum'] = $this->_sections['i']['iteration'];
$this->_sections['i']['index_prev'] = $this->_sections['i']['index'] - $this->_sections['i']['step'];
$this->_sections['i']['index_next'] = $this->_sections['i']['index'] + $this->_sections['i']['step'];
$this->_sections['i']['first']      = ($this->_sections['i']['iteration'] == 1);
$this->_sections['i']['last']       = ($this->_sections['i']['iteration'] == $this->_sections['i']['total']);
?>
                                                <div class="slide">
                                                <?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "box/banner.tpl", 'smarty_include_vars' => array('banner' => $this->_tpl_vars['banners_list'][$this->_sections['i']['index']])));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
                                                </div>
                    <?php endfor; endif; ?>                
                                </div>
                                <a href="#" class="prev"><img src="<?php echo @URL; ?>
img/arrow-prev.png" width="17" height="26" border="0" alt="Arrow Prev"></a>
                                <a href="#" class="next"><img src="<?php echo @URL; ?>
img/arrow-next.png" width="17" height="26" border="0" alt="Arrow Next"></a>
                        </div>
<?php endif; ?>
<?php  }  ?>

<div class="site" style="position:relative;z-index:887;<?php if ($this->_tpl_vars['tpl'] == 'catalogs_products_hits.tpl'): ?>min-height:1700px;<?php endif; ?>">
<?php  global $path; if (!isset($path[1]) || (isset($path[1]) && $path[1]!='account')) {  ?>
        <?php  } else { 
                
                        // Ïîäêëþ÷àåì ôàéëû                        
            if(is_file($_SERVER['DOCUMENT_ROOT'].'/account/'.$path[2].'.php')) {
                echo"<div class='personal-account'>";
                    include($_SERVER['DOCUMENT_ROOT'].'/account/'.$path[2].'.php');
                echo"</div>";
                }
                        }

         ?>
        
        
        <?php  if (!isset($path[1]) || (isset($path[1]) && $path[1]!='account' && $path[1]!='opros')) {  ?> <?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => ($this->_tpl_vars['tpl']), 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?> 

<?php  }  ?>
        
<?php  if ($path[1]=='opros'){  ?> <?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "opros.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?> <?php  }  ?>


</div>
<?php if ($this->_tpl_vars['tpl'] == "catalogs_products_hits.tpl"): ?>
<div class="box_facebook" align="center">
<iframe src="//www.facebook.com/plugins/likebox.php?href=http%3A%2F%2Fwww.facebook.com%2Fextremstyle.ua&amp;width=1000&amp;height=260&amp;show_faces=true&amp;colorscheme=light&amp;stream=false&amp;border_color=%f5f5f5&amp;header=true&amp;appId=540829772597713"
scrolling="no" frameborder="0" style="border:none; overflow:hidden;
width:1000px; height:260px;" allowTransparency="true"></iframe>
</div>
<?php endif; ?>
        <div class="fotter_bg" style="position:relative;z-index:887;margin:0px;">
                <div class="fotter">
                        <div class="fr txtr">
                         <a href="http://artweb.ua/"><img src="<?php echo @URL; ?>
img/artweb.jpg" width="51" height="17" border="0" /></a><br />
                         <a href="http://artweb.ua/" class="link3">Ñîçäàíèå ñàéòîâ</a>
                        </div>
                        <div class="fl">
                         Extrimstyle, <?php echo ((is_array($_tmp=time())) ? $this->_run_mod_handler('date_format', true, $_tmp, "%Y") : smarty_modifier_date_format($_tmp, "%Y")); ?>
<br />
                         Âñå ïðàâà çàùèùåíû.
<?php echo '
<!--bigmir)net TOP 100-->
<script type="text/javascript" language="javascript"><!--
function BM_Draw(oBM_STAT){
document.write(\'<table cellpadding="0" cellspacing="0" border="0" style="display:inline;margin-right:4px;"><tr><td><div style="font-family:Tahoma;font-size:10px;padding:0px;margin:0px;"><div style="width:7px;float:left;background:url(\\\'http://i.bigmir.net/cnt/samples/default/b53_left.gif\\\');height:17px;padding-top:2px;background-repeat:no-repeat;"></div><div style="float:left;background:url(\\\'http://i.bigmir.net/cnt/samples/default/b53_center.gif\\\');text-align:left;height:17px;padding-top:2px;background-repeat:repeat-x;"><a href="http://www.bigmir.net/" target="_blank" style="color:#0000ab;text-decoration:none;">bigmir<span style="color:#ff0000;">)</span>net</a>&nbsp;&nbsp;<span style="color:#969696;">õèòû</span>&nbsp;<span style="color:#003596;font:10px Tahoma;">\'+oBM_STAT.hits+\'</span>&nbsp;<span style="color:#969696;">õîñòû</span>&nbsp;<span style="color:#003596;font:10px Tahoma;">\'+oBM_STAT.hosts+\'</span></div><div style="width:7px;float: left;background:url(\\\'http://i.bigmir.net/cnt/samples/default/b53_right.gif\\\');height:17px;padding-top:2px;background-repeat:no-repeat;"></div></div></td></tr></table>\');
}
//-->
</script>
<script type="text/javascript" language="javascript"><!--
bmN=navigator,bmD=document,bmD.cookie=\'b=b\',i=0,bs=[],bm={o:1,v:16840834,s:16840834,t:0,c:bmD.cookie?1:0,n:Math.round((Math.random()* 1000000)),w:0};
for(var f=self;f!=f.parent;f=f.parent)bm.w++;
try{if(bmN.plugins&&bmN.mimeTypes.length&&(x=bmN.plugins[\'Shockwave Flash\']))bm.m=parseInt(x.description.replace(/([a-zA-Z]|\\s)+/,\'\'));
else for(var f=3;f<20;f++)if(eval(\'new ActiveXObject("ShockwaveFlash.ShockwaveFlash.\'+f+\'")\'))bm.m=f}catch(e){;}
try{bm.y=bmN.javaEnabled()?1:0}catch(e){;}
try{bmS=screen;bm.v^=bm.d=bmS.colorDepth||bmS.pixelDepth;bm.v^=bm.r=bmS.width}catch(e){;}
r=bmD.referrer.slice(7);if(r&&r.split(\'/\')[0]!=window.location.host){bm.f=escape(r);bm.v^=r.length}
bm.v^=window.location.href.length;for(var x in bm) if(/^[ovstcnwmydrf]$/.test(x)) bs[i++]=x+bm[x];
bmD.write(\'<sc\'+\'ript type="text/javascript" language="javascript" src="http://c.bigmir.net/?\'+bs.join(\'&\')+\'"></sc\'+\'ript>\');
//-->
</script>
<div id="aaaacccc">&nbsp;</div>
<noscript>
<a href="http://www.bigmir.net/" target="_blank"><img src="http://c.bigmir.net/?v16840834&s16840834&t2" width="88" height="31" alt="bigmir)net TOP 100" title="bigmir)net TOP 100" border="0" /></a>
</noscript>
<!--bigmir)net TOP 100-->

<script type="text/javascript">
/* <![CDATA[ */
var google_conversion_id = 1038520540;
var google_custom_params = window.google_tag_params;
var google_remarketing_only = true;
/* ]]> */
</script>
<script type="text/javascript" src="//www.googleadservices.com/pagead/conversion.js">
</script>
<noscript>
<div style="display:inline;">
<img height="1" width="1" style="border-style:none;" alt="" src="//googleads.g.doubleclick.net/pagead/viewthroughconversion/1038520540/?value=0&amp;guid=ON&amp;script=0"/>
</div>
</noscript>
'; ?>
                         
                        
						</div>
                        <div class="txtc">
        <ul>
                <li><a href="<?php echo @URL;  echo $this->_tpl_vars['lang_prefix']; ?>
catalogs/"><?php echo @MENU_2; ?>
</a></li>
                                <li><a href="<?php echo @URL;  echo $this->_tpl_vars['lang_prefix']; ?>
payment/"><?php echo @MENU_4; ?>
</a></li>
                <li><a href="<?php echo @URL;  echo $this->_tpl_vars['lang_prefix']; ?>
catalogs/brends/"><?php echo @MENU_5; ?>
</a></li>
                <li><a href="<?php echo @URL;  echo $this->_tpl_vars['lang_prefix']; ?>
shops/"><?php echo @MENU_6; ?>
</a></li>
                <li><a href="<?php echo @URL;  echo $this->_tpl_vars['lang_prefix']; ?>
services/"><?php echo @MENU_7; ?>
</a></li>
                <li><a href="<?php echo @URL;  echo $this->_tpl_vars['lang_prefix']; ?>
vacancy/"><?php echo @MENU_8; ?>
</a></li>
                <li><a href="<?php echo @URL;  echo $this->_tpl_vars['lang_prefix']; ?>
training/"><?php echo @MENU_9; ?>
</a></li>
				<li><a href="<?php echo @URL;  echo $this->_tpl_vars['lang_prefix']; ?>
sitemap/">Êàðòà ñàéòà</a></li>
        </ul>
<br/>
        
                        </div>
                        <div class="both"></div>
                </div>
        </div>
        
<div id="compare"><a href="<?php echo @URL; ?>
catalogs/compare/"><span>Ñðàâíèòü</span></a></div>

<!-- Back Pay -->

<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "box/pay.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>

<!-- Back Pay -->
        
</div></div>

<?php echo '
<script>
(function(i,s,o,g,r,a,m){i[\'GoogleAnalyticsObject\']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,\'script\',\'//www.google-analytics.com/analytics.js\',\'ga\');

ga(\'create\', \'UA-15799063-3\', \'auto\');
ga(\'require\', \'displayfeatures\');
ga(\'send\', \'pageview\');

'; ?>

<?php if (count ( $_GET['product'] ) > 0): ?>

ga('require', 'ecommerce', 'ecommerce.js');

ga('ecommerce:addTransaction', <?php echo '{'; ?>

'id': '<?php echo $_GET['orderID']; ?>
', // Óíèêàëüíûé ID òðàíçàêöèè (ïàðàìåòð îáÿçàòåëüíî äîëæåí áûòü óíèêàëüíûì)
'affiliation': 'ExtremStyle.ua',
'revenue': '<?php echo $_GET['total']; ?>
', // îáùàÿ ñóììà çàêàçà
'shipping': '',
'tax': '',
'currency': 'UAH' // local currency code.
<?php echo '}'; ?>
);


// Òîâàð (âûâîäèòü äëÿ êàæäîãî òîâàðà èç êàðçèíû) - âûâîäèì äëÿ êàæäîãî òîâàðà â çàêàçå îòäåëüíî ýòîò îáúåêò
<?php unset($this->_sections['i']);
$this->_sections['i']['name'] = 'i';
$this->_sections['i']['loop'] = is_array($_loop=$_GET['product']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['i']['show'] = true;
$this->_sections['i']['max'] = $this->_sections['i']['loop'];
$this->_sections['i']['step'] = 1;
$this->_sections['i']['start'] = $this->_sections['i']['step'] > 0 ? 0 : $this->_sections['i']['loop']-1;
if ($this->_sections['i']['show']) {
    $this->_sections['i']['total'] = $this->_sections['i']['loop'];
    if ($this->_sections['i']['total'] == 0)
        $this->_sections['i']['show'] = false;
} else
    $this->_sections['i']['total'] = 0;
if ($this->_sections['i']['show']):

            for ($this->_sections['i']['index'] = $this->_sections['i']['start'], $this->_sections['i']['iteration'] = 1;
                 $this->_sections['i']['iteration'] <= $this->_sections['i']['total'];
                 $this->_sections['i']['index'] += $this->_sections['i']['step'], $this->_sections['i']['iteration']++):
$this->_sections['i']['rownum'] = $this->_sections['i']['iteration'];
$this->_sections['i']['index_prev'] = $this->_sections['i']['index'] - $this->_sections['i']['step'];
$this->_sections['i']['index_next'] = $this->_sections['i']['index'] + $this->_sections['i']['step'];
$this->_sections['i']['first']      = ($this->_sections['i']['iteration'] == 1);
$this->_sections['i']['last']       = ($this->_sections['i']['iteration'] == $this->_sections['i']['total']);
?>
ga('ecommerce:addItem', <?php echo '{'; ?>

'id': '<?php echo $_GET['orderID']; ?>
', // Óíèêàëüíûé ID òðàíçàêöèè (ïàðàìåòð îáÿçàòåëüíî äîëæåí áûòü óíèêàëüíûì äëÿ âñåãî çàêàçà îäèí è òîò æå)
'name': '<?php echo ((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=$_GET['product'][$this->_sections['i']['index']])) ? $this->_run_mod_handler('exp', true, $_tmp, 0) : smarty_modifier_exp($_tmp, 0)))) ? $this->_run_mod_handler('product', true, $_tmp, 'name') : smarty_modifier_product($_tmp, 'name')))) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); ?>
', // íàçâàíèå òîâàðà
'sku': '<?php echo ((is_array($_tmp=$_GET['product'][$this->_sections['i']['index']])) ? $this->_run_mod_handler('exp', true, $_tmp, 0) : smarty_modifier_exp($_tmp, 0)); ?>
', // ID òîâàðà
'category': '<?php echo ((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=$_GET['product'][$this->_sections['i']['index']])) ? $this->_run_mod_handler('exp', true, $_tmp, 0) : smarty_modifier_exp($_tmp, 0)))) ? $this->_run_mod_handler('product', true, $_tmp, 'rubric_id') : smarty_modifier_product($_tmp, 'rubric_id')))) ? $this->_run_mod_handler('rubric', true, $_tmp) : smarty_modifier_rubric($_tmp)))) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); ?>
', //Êàòåãîðèÿ òîâàðîâ | Áðåíä
'price': '<?php echo ((is_array($_tmp=$_GET['product'][$this->_sections['i']['index']])) ? $this->_run_mod_handler('exp', true, $_tmp, 2) : smarty_modifier_exp($_tmp, 2)); ?>
', //Öåíà òîâàðà
'quantity': '<?php echo ((is_array($_tmp=$_GET['product'][$this->_sections['i']['index']])) ? $this->_run_mod_handler('exp', true, $_tmp, 1) : smarty_modifier_exp($_tmp, 1)); ?>
', //Êîëè÷åñòâî òîâàðà öèôðîé
'currency': 'UAH' // local currency code.
<?php echo '}'; ?>
);
<?php endfor; endif; ?>
// Îòïðàâêà äàííûõ
ga('ecommerce:send');


<?php endif; ?>



</script>





<?php echo '

<script type="text/javascript">(window.Image ? (new Image()) : document.createElement(\'img\')).src = location.protocol + \'//vk.com/rtrg?r=Wz43bRZ5dPuj1lGa9yybu/BadjzTyaVGr0lv2J0XrunGjb01nkc1bAxvA1GsiEYYwR74WqkZYpOLaP5mR3Xj2Z16XVizyj3TqkCNXC4tPDJEAi8G4QgW3Fu3oQnufOem3Tg4gkFKw7sIqvonHm0PbdZcFoK9*TeNEnj4OtT9cBg-\';</script>

<script>(function() {
  var _fbq = window._fbq || (window._fbq = []);
  if (!_fbq.loaded) {
    var fbds = document.createElement(\'script\');
    fbds.async = true;
    fbds.src = \'//connect.facebook.net/en_US/fbds.js\';
    var s = document.getElementsByTagName(\'script\')[0];
    s.parentNode.insertBefore(fbds, s);
    _fbq.loaded = true;
  }
  _fbq.push([\'addPixelId\', \'1463465747264236\']);
})();
window._fbq = window._fbq || [];
window._fbq.push([\'track\', \'PixelInitialized\', {}]);
</script>
<noscript><img height="1" width="1" alt="" style="display:none" src="https://www.facebook.com/tr?id=1463465747264236&amp;ev=PixelInitialized" /></noscript>



<!-- AdRiver code START: êîä äëÿ áàííåðà; AD: 503744 "*PIXEL_Extremstyle_Remarketing";   ñöåíàðèé   ID 1838615 "pixel_remarketing"  áàííåð ID 3679774; counter(zeropixel) -->
<script type="text/javascript">
var RndNum4NoCash = Math.round(Math.random() * 1000000000);
var ar_Tail=\'unknown\'; if (document.referrer) ar_Tail = escape(document.referrer);
document.write(\'<img src="\' + (\'https:\' == document.location.protocol ? \'https:\' : \'http:\') + \'//ad.adriver.ru/cgi-bin/rle.cgi?\' + \'sid=1&ad=503744&bt=21&pid=1838615&bid=3679774&bn=3679774&rnd=\' + RndNum4NoCash + \'&tail256=\' + ar_Tail + \'" border=0 width=1 height=1>\')
</script>
<noscript><img src="//ad.adriver.ru/cgi-bin/rle.cgi?sid=1&ad=503744&bt=21&pid=1838615&bid=3679774&bn=3679774&rnd=546849406" border=0 width=1 height=1></noscript>
<!-- AdRiver code END -->

'; ?>


</body>
</html>