Commit 0ef646d9384c9e334f922cfdc826881b6db460d1

Authored by andryeyev
1 parent 466d48e2

+ разметка index.tpl

Showing 1 changed file with 642 additions and 631 deletions   Show diff stats
templates/index.tpl
1 1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 2 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ru" >
3   -<head>
  3 + <head>
4 4 <title>{$meta.title|default:'Âåëîñèïåäû, ëûæè, ñíîóáîðäû, êîíüêè, ïàëàòêè, ðþêçàêè, ñêåéòû, ðîëèêè (ðîëèêîâûå êîíüêè), âèíäñåðôèíã'|replace:'2013':'2014'|escape:'html'}</title>
5 5 <meta http-equiv="Content-Type" content="text/html; charset=windows-1251" />
6 6 <meta http-equiv="content-language" content="ru" />
7   - {if $lang eq 'ukr'}
8   - {if $rubric.id>9999999}<link rel="alternate" href="{$smarty.const.URL}{$rubric.translit}-catalogs/{if $product.id>0}{$product.translit}-{$product.id}/{/if}" hreflang="ru" />{else}<link rel="alternate" href="{$smarty.const.URL}{if $smarty.server.REQUEST_URI ne '/ukr/' and $smarty.server.REQUEST_URI ne '/ukr'}{$smarty.server.REQUEST_URI|replace:'/ukr/':''}{/if}" hreflang="ru" />{/if}
9   - {else}
10   - {if $rubric.id>9999999}<link rel="alternate" href="{$smarty.const.URL}ukr/{$rubric.translit}-catalogs/{if $product.id>0}{$product.translit}-{$product.id}/{/if}" hreflang="uk" />{else}<link rel="alternate" href="{$smarty.const.URL}ukr{if $smarty.server.REQUEST_URI ne '/ukr/' and $smarty.server.REQUEST_URI ne '/ukr'}{$smarty.server.REQUEST_URI|replace:'/ukr/':''}{/if}" hreflang="uk" />{/if}
11   - {/if}
  7 + {if $lang eq 'ukr'}
  8 + {if $rubric.id>9999999}
  9 + <link rel="alternate" href="{$smarty.const.URL}{$rubric.translit}-catalogs/{if $product.id>0}{$product.translit}-{$product.id}/{/if}" hreflang="ru" />
  10 + {else}
  11 + <link rel="alternate" href="{$smarty.const.URL}{if $smarty.server.REQUEST_URI ne '/ukr/' and $smarty.server.REQUEST_URI ne '/ukr'}{$smarty.server.REQUEST_URI|replace:'/ukr/':''}{/if}" hreflang="ru" />
  12 + {/if}
  13 + {else}
  14 + {if $rubric.id>9999999}
  15 + <link rel="alternate" href="{$smarty.const.URL}ukr/{$rubric.translit}-catalogs/{if $product.id>0}{$product.translit}-{$product.id}/{/if}" hreflang="uk" />
  16 + {else}
  17 + <link rel="alternate" href="{$smarty.const.URL}ukr{if $smarty.server.REQUEST_URI ne '/ukr/' and $smarty.server.REQUEST_URI ne '/ukr'}{$smarty.server.REQUEST_URI|replace:'/ukr/':''}{/if}" hreflang="uk" />
  18 + {/if}
  19 + {/if}
12 20 <meta name="author" content="ArtWeb Studio">
13 21 <meta name="description" content="{$meta.description|default:'ExtrimStyle'|escape:'html'}" />
14 22 <meta name="keywords" content="{$meta.keywords|default:'ExtrimStyle'|escape:'html'}" />
15   - {if $smarty.get.page>1 or count($sex_fl)>1 or count($filters_fl.f)>1 or count($filters_fl.y)>1 or count($filters_fl.s)>0 or $sort or $smarty.get.search_str or $smarty.server.REQUEST_URI=="/account/registration/" or $smarty.server.REQUEST_URI=="/catalogs/basket/" or $smarty.server.REQUEST_URI=="/line/" or $smarty.server.REQUEST_URI=="/payment/" or ($tpl eq "catalogs_product-list.tpl" and count($productsData.data) eq 0)}
16   - <meta name="robots" content="noindex, follow" />
17   - {/if}
18   - {if count($productsData.data)>0}
19   - {if $productsData.page_numbers.current>1}<link rel="prev" href="{$smarty.const.URL}{$rubric.translit}-catalogs/page_{$productsData.page_numbers.current-1}.html/">{/if}
20   - {if $productsData.page_numbers.current<$productsData.page_numbers.total}<link rel="next" href="{$smarty.const.URL}{$rubric.translit}-catalogs/page_{$productsData.page_numbers.current+1}.html/">{/if}
21   - {/if}
22   -
23   - {if $smarty.request.sort ne NULL or $smarty.request.perPage>0 or count($brends_fl)>1 or count($sex_fl)>1 or count($filters_fl.s)>1 or count($filters_fl.f)>1 or count($filters_fl.y)>1 or count($filters_fl.g)>1}
24   - {if $rubric.id>0}<link rel="canonical" href="{$smarty.const.URL}{$rubric.translit}-catalogs/">{else}<link rel="canonical" href="{$smarty.const.URL}catalogs/">{/if}
25   - {/if}
26   - {if $smarty.server.REQUEST_URI=="/kurtki-catalogs/filter;filter=f2892_sportivniy-kostyum/"}
27   - <link rel="canonical" href="http://extremstyle.ua/odejda_dlya_fitnesa-catalogs/filter;filter=f2892_sportivniy-kostyum/" />
28   - {/if}
29   - {*<meta property="og:image" content="{$smarty.const.URL}img/logo.jpg" />*}
30   - <link href="{$smarty.const.URL}css/style.css" rel="stylesheet" type="text/css" />
31   - <link rel="shortcut icon" href="{$smarty.const.URL}img/favicon.ico" type="image/x-icon" />
32   - <link href="{$smarty.const.URL}css/global.css" rel="stylesheet" type="text/css" />
33   - <script src="{$smarty.const.URL}js/jquery-1.5.min.js"></script>
34   - <link rel="stylesheet" type="text/css" href="{$smarty.const.URL}js/autocomplete/css/style.css" />
35   - <script type="text/javascript" src="{$smarty.const.URL}js/autocomplete/js/script.js"></script>
36   - <script type="text/javascript" src="{$smarty.const.URL}js/cabinet.js"></script>
37   - <script type="text/javascript" src="{$smarty.const.URL}js/basket.js"></script>
38   - <script type="text/javascript" src="{$smarty.const.URL}js/alert.js"></script>
39   - <script type="text/javascript" src="{$smarty.const.URL}js/jquery.cookie.js"></script>
40   - <script type="text/javascript" src="{$smarty.const.URL}js/jquery.wookmark.js"></script>
41   - {literal}<script type="text/javascript">
42   -
43   - // initialise plugins
44   - jQuery(function(){
45   - $('#basket').basket({lang:'{/literal}{$lang}{literal}'});
46   - });
47   -
48   - jQuery(function(){
49   - $('#cabinet').cabinet({lang:'{/literal}{$lang}{literal}'});
  23 + {if $smarty.get.page>1 or count($sex_fl)>1 or count($filters_fl.f)>1 or count($filters_fl.y)>1 or count($filters_fl.s)>0 or $sort or $smarty.get.search_str or $smarty.server.REQUEST_URI=="/account/registration/" or $smarty.server.REQUEST_URI=="/catalogs/basket/" or $smarty.server.REQUEST_URI=="/line/" or $smarty.server.REQUEST_URI=="/payment/" or ($tpl eq "catalogs_product-list.tpl" and count($productsData.data) eq 0)}
  24 + <meta name="robots" content="noindex, follow" />
  25 + {/if}
  26 + {if count($productsData.data)>0}
  27 + {if $productsData.page_numbers.current>1}
  28 + <link rel="prev" href="{$smarty.const.URL}{$rubric.translit}-catalogs/page_{$productsData.page_numbers.current-1}.html/">
  29 + {/if}
  30 + {if $productsData.page_numbers.current<$productsData.page_numbers.total}
  31 + <link rel="next" href="{$smarty.const.URL}{$rubric.translit}-catalogs/page_{$productsData.page_numbers.current+1}.html/">
  32 + {/if}
  33 + {/if}
  34 + {if $smarty.request.sort ne NULL or $smarty.request.perPage>0 or count($brends_fl)>1 or count($sex_fl)>1 or count($filters_fl.s)>1 or count($filters_fl.f)>1 or count($filters_fl.y)>1 or count($filters_fl.g)>1}
  35 + {if $rubric.id>0}
  36 + <link rel="canonical" href="{$smarty.const.URL}{$rubric.translit}-catalogs/">
  37 + {else}
  38 + <link rel="canonical" href="{$smarty.const.URL}catalogs/">
  39 + {/if}
  40 + {/if}
  41 + {if $smarty.server.REQUEST_URI=="/kurtki-catalogs/filter;filter=f2892_sportivniy-kostyum/"}
  42 + <link rel="canonical" href="http://extremstyle.ua/odejda_dlya_fitnesa-catalogs/filter;filter=f2892_sportivniy-kostyum/" />
  43 + {/if}
  44 + {*
  45 + <meta property="og:image" content="{$smarty.const.URL}img/logo.jpg" />
  46 + *}
  47 + <link href="{$smarty.const.URL}css/style.css" rel="stylesheet" type="text/css" />
  48 + <link rel="shortcut icon" href="{$smarty.const.URL}img/favicon.ico" type="image/x-icon" />
  49 + <link href="{$smarty.const.URL}css/global.css" rel="stylesheet" type="text/css" />
  50 + <script src="{$smarty.const.URL}js/jquery-1.5.min.js"></script>
  51 + <link rel="stylesheet" type="text/css" href="{$smarty.const.URL}js/autocomplete/css/style.css" />
  52 + <script type="text/javascript" src="{$smarty.const.URL}js/autocomplete/js/script.js"></script>
  53 + <script type="text/javascript" src="{$smarty.const.URL}js/cabinet.js"></script>
  54 + <script type="text/javascript" src="{$smarty.const.URL}js/basket.js"></script>
  55 + <script type="text/javascript" src="{$smarty.const.URL}js/alert.js"></script>
  56 + <script type="text/javascript" src="{$smarty.const.URL}js/jquery.cookie.js"></script>
  57 + <script type="text/javascript" src="{$smarty.const.URL}js/jquery.wookmark.js"></script>
  58 + {literal}<script type="text/javascript">
  59 + // initialise plugins
  60 + jQuery(function(){
  61 + $('#basket').basket({lang:'{/literal}{$lang}{literal}'});
  62 + });
  63 +
  64 + jQuery(function(){
  65 + $('#cabinet').cabinet({lang:'{/literal}{$lang}{literal}'});
  66 + });
  67 +
  68 + jQuery(function(){
  69 +
  70 + function comparatorId(a, b) {
  71 + return $(a).data('sort') > $(b).data('sort') ? -1 : 1;
  72 + }
  73 +
  74 + var options = {
  75 + autoResize: false, // This will auto-update the layout when the browser window is resized.
  76 + container: $('#etab1,.menup'), // Optional, used for some extra CSS styling
  77 + comparator:comparatorId,
  78 + offset: 2, // Optional, the distance between grid items
  79 + itemWidth: 230 // Optional, the width of a grid item
  80 + };
  81 + var handler = $('.row');
  82 + handler.wookmark(options);
  83 + });
  84 +
  85 + jQuery(function(){
  86 + $(".menup").css({opacity: 0});
  87 + $(".first").hover(
  88 + function () {
  89 + $(".menup").animate({ opacity: 1.0 },450);
  90 + },
  91 + function () {
  92 + $(".menup").animate({ opacity: 0 },450);
  93 + }
  94 + );
  95 + });
  96 +
  97 + function doRate(a,c){
  98 + $.ajax({
  99 + url: '/rating.php?go_rate='+a+'&pid='+c,
  100 + success: function(data) {
  101 + $('#ratig-layer-' + c).html(data);
  102 + }
50 103 });
51   -
52   - jQuery(function(){
53   -
54   - function comparatorId(a, b) {
55   - return $(a).data('sort') > $(b).data('sort') ? -1 : 1;
56   -
57   - }
58   - var options = {
59   - autoResize: false, // This will auto-update the layout when the browser window is resized.
60   - container: $('#etab1,.menup'), // Optional, used for some extra CSS styling
61   - comparator:comparatorId,
62   - offset: 2, // Optional, the distance between grid items
63   - itemWidth: 230 // Optional, the width of a grid item
64   - };
65   - var handler = $('.row');
66   - handler.wookmark(options);
67   - });
68   -
69   -jQuery(function(){
70   -$(".menup").css({opacity: 0});
71   -$(".first").hover(
72   - function () {
73   - $(".menup").animate({ opacity: 1.0 },450);
74   - },
75   - function () {
76   - $(".menup").animate({ opacity: 0 },450);
77   - }
78   -);
79   -});
80   -
81   -function doRate(a,c){
82   -$.ajax({
83   - url: '/rating.php?go_rate='+a+'&pid='+c,
84   - success: function(data) {
85   - $('#ratig-layer-' + c).html(data);
86   - }
87   -});
88   -}
89   -
90   - </script>{/literal}
91   -
92   -
93   - {php} global $path; if (!isset($path[1]) || (isset($path[1]) && $path[1]!='account')) { {/php}
94   - {if $tpl eq "catalogs_products_hits.tpl"}
95   - <script src="{$smarty.const.URL}js/slides.min.jquery.js"></script>
96   - {literal}<script>
97   - $(function(){
98   - $('#slides').slides({
99   - preload: true,
100   - play: 5000,
101   - pause: 2500,
102   - hoverPause: true
103   - });
  104 + }
  105 +
  106 + </script>{/literal}
  107 + {php} global $path; if (!isset($path[1]) || (isset($path[1]) && $path[1]!='account')) { {/php}
  108 + {if $tpl eq "catalogs_products_hits.tpl"}
  109 + <script src="{$smarty.const.URL}js/slides.min.jquery.js"></script>
  110 + {literal}<script>
  111 + $(function(){
  112 + $('#slides').slides({
  113 + preload: true,
  114 + play: 5000,
  115 + pause: 2500,
  116 + hoverPause: true
104 117 });
  118 + });
105 119 </script>
106   -
107   -
108   -<script type="text/javascript">
109   -$(document).ready(function(){
110   - var i = 0;
111   - $('.view-source').toggle(
112   - function(){i = 0;
113   - $('#tab_container').animate({ height:"200px" });
114   - $(this).html('ðàçâåðíóòü');
115   - },
116   - function(){i = 1;
117   - if($('#tab1').hasClass('active')){var h = $("#etab1").height();}
118   - if($('#tab2').hasClass('active')){var h = $("#etab2").height();}
119   - if($('#tab3').hasClass('active')){var h = $("#etab3").height();}
120   - $('#tab_container').animate({ height:h });
121   - $(this).html('ñâåðíóòü');
122   - }
123   -
124   - );
125   -
126   - //Default Action
127   - $(".tab_content").hide(); //Hide all content
128   - $("ul#list1 li:first").addClass("active").show(); //Activate first tab
129   - $(".tab_content:first").show(); //Show first tab content
130   -
131   - //On Click Event
132   - $("ul#list1 li.tab").click(function() {
133   - $("ul#list1 li.tab").removeClass("active"); //Remove any "active" class
134   - $(this).addClass("active"); //Add "active" class to selected tab
135   - $(".tab_content").hide(); //Hide all tab content
136   - var activeTab = $(this).find("a").attr("href"); //Find the rel attribute value to identify the active tab + content
137   - $(activeTab).fadeIn(); //Fade in the active content
138   - if(i==1){
139   - if($('#tab1').hasClass('active')){var h = $("#etab1").height();alert(h);}
140   - if($('#tab2').hasClass('active')){var h = $("#etab2").height();}
141   - if($('#tab3').hasClass('active')){var h = $("#etab3").height();}
142   - $('#tab_container').animate({ height:h });
143   - $('.view-source').html('ñâåðíóòü');
144   - }
145   - return false;
146   - });
147   -
148   -
149   -
150   -
151   - $("#tab2").click(function() {
152   - $.get("/ajax/brends.php",
153   - function(data){
154   - $("#etab2").html(data);
155   - });
156   - });
157   -
158   - $("#tab3").click(function() {
159   - $.get("/ajax/akcii.php",
160   - function(data){
161   - $("#etab3").html(data);
162   - });
163   - });
164   -
165   - if (window.location.hash=='#etab1' || window.location.hash=='#etab2' || window.location.hash=='#etab3'){
166   - var loc = window.location.hash.replace("#e","");
167   - $('#'+loc).click();
168   - }
169   - });
170   -</script>{/literal}
171   -
172   -
173   -<script type="text/javascript" src="{$smarty.const.URL}js/jsor-jcarousel-7bb2e0a/lib/jquery.jcarousel.min.js"></script>
174   -<link rel="stylesheet" type="text/css" href="{$smarty.const.URL}js/jsor-jcarousel-7bb2e0a/skins/tango/skin.css" />
175   -{literal}
176   -<script type="text/javascript">
177   -
178   -jQuery(document).ready(function() {
179   - jQuery('#mycarousel5,#mycarousel3').jcarousel();
180   -});
181   -
182   -</script>{/literal}
183   -
184   -<script type="text/javascript" src="{$smarty.const.URL}js/tabs.js"></script>
185   -{/if}
186   -{php} } {/php}
187   -
188   -
189   -{if $tpl ne "catalogs_products_hits.tpl" && $smarty.get.m eq 1}
190   -<script type="text/javascript" src="{$smarty.const.URL}js/menuscroll.js"></script>
191   -{/if}
192   -
193   -{if $smarty.get.send eq "ok"}
194   -<script type="text/javascript" src="{$smarty.const.URL}js/send_ok.js"></script>
195   -<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>
196   -{/if}
197   -
198   -
199   -{if $tpl eq "catalogs_basket.tpl"}
200   -<script type="text/javascript" src="{$smarty.const.URL}js/tabs_basket.js"></script>
201   -<script type="text/javascript" src="{$smarty.const.URL}js/rule.js"></script>
202   -{/if}
203   -
  120 + <script type="text/javascript">
  121 + $(document).ready(function(){
  122 + var i = 0;
  123 + $('.view-source').toggle(
  124 + function(){i = 0;
  125 + $('#tab_container').animate({ height:"200px" });
  126 + $(this).html('ðàçâåðíóòü');
  127 + },
  128 + function(){i = 1;
  129 + if($('#tab1').hasClass('active')){var h = $("#etab1").height();}
  130 + if($('#tab2').hasClass('active')){var h = $("#etab2").height();}
  131 + if($('#tab3').hasClass('active')){var h = $("#etab3").height();}
  132 + $('#tab_container').animate({ height:h });
  133 + $(this).html('ñâåðíóòü');
  134 + }
  135 +
  136 + );
  137 +
  138 + //Default Action
  139 + $(".tab_content").hide(); //Hide all content
  140 + $("ul#list1 li:first").addClass("active").show(); //Activate first tab
  141 + $(".tab_content:first").show(); //Show first tab content
  142 +
  143 + //On Click Event
  144 + $("ul#list1 li.tab").click(function() {
  145 + $("ul#list1 li.tab").removeClass("active"); //Remove any "active" class
  146 + $(this).addClass("active"); //Add "active" class to selected tab
  147 + $(".tab_content").hide(); //Hide all tab content
  148 + var activeTab = $(this).find("a").attr("href"); //Find the rel attribute value to identify the active tab + content
  149 + $(activeTab).fadeIn(); //Fade in the active content
  150 + if(i==1){
  151 + if($('#tab1').hasClass('active')){var h = $("#etab1").height();alert(h);}
  152 + if($('#tab2').hasClass('active')){var h = $("#etab2").height();}
  153 + if($('#tab3').hasClass('active')){var h = $("#etab3").height();}
  154 + $('#tab_container').animate({ height:h });
  155 + $('.view-source').html('ñâåðíóòü');
  156 + }
  157 + return false;
  158 + });
  159 +
  160 +
  161 +
  162 +
  163 + $("#tab2").click(function() {
  164 + $.get("/ajax/brends.php",
  165 + function(data){
  166 + $("#etab2").html(data);
  167 + });
  168 + });
  169 +
  170 + $("#tab3").click(function() {
  171 + $.get("/ajax/akcii.php",
  172 + function(data){
  173 + $("#etab3").html(data);
  174 + });
  175 + });
  176 +
  177 + if (window.location.hash=='#etab1' || window.location.hash=='#etab2' || window.location.hash=='#etab3'){
  178 + var loc = window.location.hash.replace("#e","");
  179 + $('#'+loc).click();
  180 + }
  181 + });
  182 + </script>{/literal}
  183 + <script type="text/javascript" src="{$smarty.const.URL}js/jsor-jcarousel-7bb2e0a/lib/jquery.jcarousel.min.js"></script>
  184 + <link rel="stylesheet" type="text/css" href="{$smarty.const.URL}js/jsor-jcarousel-7bb2e0a/skins/tango/skin.css" />
  185 + {literal}
  186 + <script type="text/javascript">
  187 + jQuery(document).ready(function() {
  188 + jQuery('#mycarousel5,#mycarousel3').jcarousel();
  189 + });
  190 +
  191 + </script>{/literal}
  192 + <script type="text/javascript" src="{$smarty.const.URL}js/tabs.js"></script>
  193 + {/if}
  194 + {php} } {/php}
  195 + {if $tpl ne "catalogs_products_hits.tpl" && $smarty.get.m eq 1}
  196 + <script type="text/javascript" src="{$smarty.const.URL}js/menuscroll.js"></script>
  197 + {/if}
  198 + {if $smarty.get.send eq "ok"}
  199 + <script type="text/javascript" src="{$smarty.const.URL}js/send_ok.js"></script>
  200 + <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>
  201 + {/if}
  202 + {if $tpl eq "catalogs_basket.tpl"}
  203 + <script type="text/javascript" src="{$smarty.const.URL}js/tabs_basket.js"></script>
  204 + <script type="text/javascript" src="{$smarty.const.URL}js/rule.js"></script>
  205 + {/if}
204 206 <script type="text/javascript" src="{$smarty.const.URL}js/shadowbox.js"></script>
205 207 <script type="text/javascript" src="{$smarty.const.URL}js/jquery.custom.modal.js"></script>
206   -<script type="text/javascript" src="{$smarty.const.URL}js/jquery.maskedinput.js"></script>
207   -{literal}
208   -<script type="text/javascript">
209   -jQuery(document).ready(function(){
210   -
211   -jQuery("#phone").mask("+38 (999) 999-9999");
212   -
213   -jQuery(".sbcModal_a").sbcModal();
214   -});
215   -</script>
216   -{/literal}
217   -
218   -
219   -{if $tpl eq "catalogs_brend.tpl" or $tpl eq "statics2.tpl" or $tpl eq "vacancy.tpl"}
220   -<script type="text/javascript" src="{$smarty.const.URL}js/tabs_basket.js"></script>
221   -{/if}
222   -{if $tpl eq "catalogs_product-list.tpl"}
223   -<script type="text/javascript">
224   -{literal}
225   -$(document).ready(function() {
226   -
227   - $('.sale').mouseover(function() {
228   - $( this ).append( "<div class='msg'>Ïðèñóòñòâóåò òîâàð<br />ñî ñêèäêîé</div>" );
229   - $('.msg').css({
230   - 'position':"absolute",
231   - 'width':"120px",
232   - 'z-index':"99999",
233   - 'font-size':"12px",
234   - 'top':"30px",
235   - 'left':"-80px",
236   - 'padding':"10px",
237   - 'border-radius':"5px",
238   - 'background-color':"#f6f6f6",
239   - 'border':"1px solid #dbdcdc",
240   - 'font-weight':"normal",
241   - 'color':"red"
242   - });
243   - }).mouseout(function() {
244   - $('.msg').remove();
245   - });
246   -
247   -{/literal}
248   -{if $smarty.get.topall eq 1}
249   -{literal}
250   -$.cookie('product_tab_id_{/literal}{$rubric.id}{literal}', "tab33", { path: '/'});
251   -{/literal}
252   -{/if}
253   -{literal}
254   - //Default Action
255   - $(".tab_content").hide(); //Hide all content
256   - var products_tab_id = $.cookie('product_tab_id_{/literal}{$rubric.id}{literal}');
257   - if(products_tab_id){
258   - $('#'+products_tab_id).addClass("active").show();
259   - $('#e'+products_tab_id).show();
260   - }else{
261   - $("ul#list1 li:first").addClass("active").show(); //Activate first tab
262   - $(".tab_content:first").show(); //Show first tab content
263   - }
  208 + <script type="text/javascript" src="{$smarty.const.URL}js/jquery.maskedinput.js"></script>
  209 + {literal}
  210 + <script type="text/javascript">
  211 + jQuery(document).ready(function(){
  212 +
  213 + jQuery("#phone").mask("+38 (999) 999-9999");
  214 +
  215 + jQuery(".sbcModal_a").sbcModal();
  216 + });
  217 + </script>
  218 + {/literal}
  219 + {if $tpl eq "catalogs_brend.tpl" or $tpl eq "statics2.tpl" or $tpl eq "vacancy.tpl"}
  220 + <script type="text/javascript" src="{$smarty.const.URL}js/tabs_basket.js"></script>
  221 + {/if}
  222 + {if $tpl eq "catalogs_product-list.tpl"}
  223 + <script type="text/javascript">
  224 + {literal}
  225 + $(document).ready(function() {
  226 +
  227 + $('.sale').mouseover(function() {
  228 + $( this ).append( "<div class='msg'>Ïðèñóòñòâóåò òîâàð<br />ñî ñêèäêîé</div>" );
  229 + $('.msg').css({
  230 + 'position':"absolute",
  231 + 'width':"120px",
  232 + 'z-index':"99999",
  233 + 'font-size':"12px",
  234 + 'top':"30px",
  235 + 'left':"-80px",
  236 + 'padding':"10px",
  237 + 'border-radius':"5px",
  238 + 'background-color':"#f6f6f6",
  239 + 'border':"1px solid #dbdcdc",
  240 + 'font-weight':"normal",
  241 + 'color':"red"
  242 + });
  243 + }).mouseout(function() {
  244 + $('.msg').remove();
  245 + });
  246 +
  247 + {/literal}
  248 + {if $smarty.get.topall eq 1}
  249 + {literal}
  250 + $.cookie('product_tab_id_{/literal}{$rubric.id}{literal}', "tab33", { path: '/'});
  251 + {/literal}
  252 + {/if}
  253 + {literal}
  254 + //Default Action
  255 + $(".tab_content").hide(); //Hide all content
  256 + var products_tab_id = $.cookie('product_tab_id_{/literal}{$rubric.id}{literal}');
  257 + if(products_tab_id){
  258 + $('#'+products_tab_id).addClass("active").show();
  259 + $('#e'+products_tab_id).show();
  260 + }else{
  261 + $("ul#list1 li:first").addClass("active").show(); //Activate first tab
  262 + $(".tab_content:first").show(); //Show first tab content
  263 + }
  264 +
  265 +
  266 + //On Click Event
  267 + $("ul#list1 li.tab").click(function() {
  268 + $("ul#list1 li.tab").removeClass("active"); //Remove any "active" class
  269 + $(this).addClass("active"); //Add "active" class to selected tab
  270 + var id = $(this).attr('id'); //alert(id);
  271 + $.cookie('product_tab_id_{/literal}{$rubric.id}{literal}', id, { path: '/'});
  272 + //alert($.cookie('product_tab_id'));
  273 + $(".tab_content").hide(); //Hide all tab content
  274 + var activeTab = $(this).find("a").attr("href"); //Find the rel attribute value to identify the active tab + content
  275 + $(activeTab).fadeIn(); //Fade in the active content
  276 + return false;
  277 + });
  278 +
  279 + });
  280 + {/literal}
  281 + </script>
  282 + {/if}
  283 + {if $tpl eq "catalogs_basket.tpl"}
  284 + <script type="text/javascript" src="{$smarty.const.URL}js/city_select.js" charset="windows-1251"></script>
  285 + {/if}
  286 + {if $tpl eq "catalogs_product.tpl" or $tpl eq "catalogs_basket.tpl"}
  287 + <link rel="stylesheet" type="text/css" href="{$smarty.const.URL}js/shadowbox-3.0.3/shadowbox.css">
  288 + <script type="text/javascript" src="{$smarty.const.URL}js/shadowbox-3.0.3/shadowbox.js" charset="windows-1251"></script>
  289 + {literal}<script type="text/javascript">
  290 + Shadowbox.init({
  291 +
  292 + });
  293 + </script>{/literal}
  294 + {/if}
  295 + {if $tpl eq "catalogs_product.tpl" or $tpl eq "catalogs_product2.tpl"}
  296 + <!--
  297 + jCarousel library
  298 + -->
  299 + <script type="text/javascript" src="{$smarty.const.URL}js/jsor-jcarousel-7bb2e0a/lib/jquery.jcarousel.min.js"></script>
  300 + <!--
  301 + jCarousel skin stylesheet
  302 + -->
  303 + <link rel="stylesheet" type="text/css" href="{$smarty.const.URL}js/jsor-jcarousel-7bb2e0a/skins/tango/skin4.css" />
  304 + {literal}
  305 + <script type="text/javascript">
  306 + jQuery(document).ready(function() {
  307 + jQuery('#mycarousel5,#mycarousel4,.mycarousel').jcarousel();
  308 + });
  309 +
  310 + </script>{/literal}
  311 + <script type="text/javascript" src="{$smarty.const.URL}js/tabs_product.js"></script>
  312 + <script type="text/javascript" src="{$smarty.const.URL}js/subscribe.js"></script>
  313 + {/if}
  314 + {$no_capcha}
  315 + {$SNOW}
  316 + </head>
  317 + <body>
  318 + {literal}
  319 + <!-- Google Tag Manager -->
  320 + <noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-P2SZP5"
  321 + height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
  322 + <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
  323 + new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
  324 + j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
  325 + '//www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
  326 + })(window,document,'script','dataLayer','GTM-P2SZP5');
  327 + </script>
  328 + <!-- End Google Tag Manager -->
  329 + {/literal}
  330 + {php} global $path; if (!isset($path[1]) || (isset($path[1]) && $path[1]!='account')) { {/php}
  331 + {if $tpl eq "catalogs_products_hits.tpl"}
  332 + <a {fonl}></a>
  333 + {/if}
  334 + {php} } {/php}
  335 + {php} include_once($_SERVER['DOCUMENT_ROOT']."/account/signup.php"); {/php}
  336 + <div class="bg2">
  337 + <div class="bg">
  338 + <div style="position:relative;z-index:999;" class="top" itemscope itemtype="http://schema.org/LocalBusiness">
  339 +
  340 + <meta itemprop="name" content="Åêñòðåì ñòàéë">
  341 + <meta itemprop="logo" content="http://extremstyle.ua/img/logo.jpg">
  342 + <meta itemprop="telephone" content="+38 (044) 303-90-10">
  343 + <meta itemprop="telephone" content="+38 (044) 428-65-38">
  344 + <meta itemprop="telephone" content="+38 (050) 382-03-00">
  345 + <meta itemprop="openingHours" content="Ïí-Ïò. 10:00?19:00">
  346 + <meta itemprop="openingHours" content="Ñá. 10:00-17:00">
  347 + <meta itemprop="email" content="vopros@eltrade.com.ua">
  348 +
  349 + <span style="display: none">
  350 + <link itemprop="url" href="http://extremstyle.ua">
  351 + <a itemprop="sameAs" href="https://www.facebook.com/extremstyle.ua/">FB</a>
  352 + <a itemprop="sameAs" href="https://plus.google.com/104058500914247254807">Google+</a>
  353 + <a itemprop="sameAs" href="https://www.youtube.com/user/extremstyleUA">Youtube</a>
  354 + </span>
264 355  
265   -
266   - //On Click Event
267   - $("ul#list1 li.tab").click(function() {
268   - $("ul#list1 li.tab").removeClass("active"); //Remove any "active" class
269   - $(this).addClass("active"); //Add "active" class to selected tab
270   - var id = $(this).attr('id'); //alert(id);
271   - $.cookie('product_tab_id_{/literal}{$rubric.id}{literal}', id, { path: '/'});
272   - //alert($.cookie('product_tab_id'));
273   - $(".tab_content").hide(); //Hide all tab content
274   - var activeTab = $(this).find("a").attr("href"); //Find the rel attribute value to identify the active tab + content
275   - $(activeTab).fadeIn(); //Fade in the active content
276   - return false;
277   - });
278   -
279   -});
280   -{/literal}
281   -</script>
282   -{/if}
283   -{if $tpl eq "catalogs_basket.tpl"}
284   -<script type="text/javascript" src="{$smarty.const.URL}js/city_select.js" charset="windows-1251"></script>
285   -{/if}
286   -{if $tpl eq "catalogs_product.tpl" or $tpl eq "catalogs_basket.tpl"}
287   -<link rel="stylesheet" type="text/css" href="{$smarty.const.URL}js/shadowbox-3.0.3/shadowbox.css">
288   -<script type="text/javascript" src="{$smarty.const.URL}js/shadowbox-3.0.3/shadowbox.js" charset="windows-1251"></script>
289   -{literal}<script type="text/javascript">
290   -Shadowbox.init({
291   -
292   -});
293   -</script>{/literal}
294   -{/if}
295   -
296   -{if $tpl eq "catalogs_product.tpl" or $tpl eq "catalogs_product2.tpl"}
297   - <!--
298   - jCarousel library
299   --->
300   -<script type="text/javascript" src="{$smarty.const.URL}js/jsor-jcarousel-7bb2e0a/lib/jquery.jcarousel.min.js"></script>
301   -<!--
302   - jCarousel skin stylesheet
303   --->
304   -<link rel="stylesheet" type="text/css" href="{$smarty.const.URL}js/jsor-jcarousel-7bb2e0a/skins/tango/skin4.css" />
305   -{literal}
306   -<script type="text/javascript">
307   -
308   -jQuery(document).ready(function() {
309   - jQuery('#mycarousel5,#mycarousel4,.mycarousel').jcarousel();
310   -});
311   -
312   -</script>{/literal}
313   -<script type="text/javascript" src="{$smarty.const.URL}js/tabs_product.js"></script>
314   -<script type="text/javascript" src="{$smarty.const.URL}js/subscribe.js"></script>
315   -{/if}
316   -
317   -{$no_capcha}
318   -
319   -{$SNOW}
320   -
321   -</head>
322   -<body>
323   -
324   -{literal}
325   -<!-- Google Tag Manager -->
326   -<noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-P2SZP5"
327   -height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
328   -<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
329   -new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
330   -j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
331   -'//www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
332   -})(window,document,'script','dataLayer','GTM-P2SZP5');</script>
333   -<!-- End Google Tag Manager -->
334   -{/literal}
335   -
336   -{php} global $path; if (!isset($path[1]) || (isset($path[1]) && $path[1]!='account')) { {/php}
337   -{if $tpl eq "catalogs_products_hits.tpl"}
338   -<a {fonl}></a>
339   -{/if}
340   -{php} } {/php}
341   -
342   -{php} include_once($_SERVER['DOCUMENT_ROOT']."/account/signup.php"); {/php}
343   -
344   -<div class="bg2"><div class="bg">
345   -<div style="position:relative;z-index:999;" class="top">
346   - <div class="basket_top">
347   -
348   - {if $smarty.session.user.name}
  356 +
  357 + <div class="basket_top">
  358 + {if $smarty.session.user.name}
349 359 <a href="{$smarty.const.URL}account/panel/">{$smarty.session.user.name}</a>
350 360 {else}
351   - <a href="#" class="link_p" id="cabinet"><span>Ëè÷íûé êàáèíåò</span></a><div class="both"></div>
  361 + <a href="#" class="link_p" id="cabinet"><span>Ëè÷íûé êàáèíåò</span></a>
  362 + <div class="both"></div>
352 363 {/if}
353   -
354   -
355   - <div id="basket">...</div>
356   -
  364 + <div id="basket">...</div>
357 365 <a class="sbcModal_a" href="#qv_view-all_1"><span>{$smarty.const.sbcModal_a}</span></a>
358   - <a class="status" href="{$smarty.const.URL}{$lang_prefix}account/status/"><span>{$smarty.const.str_status}</span></a>
359   - {*<a class="credit" href="{$smarty.const.URL}{$lang_prefix}news/teper_tyi_mojesh_bolshe-319/"><span>{$smarty.const.str_credit}</span></a>*}
360   -
361   - </div>
362   - <div class="logo">
  366 + <a class="status" href="{$smarty.const.URL}{$lang_prefix}account/status/"><span>{$smarty.const.str_status}</span></a>
  367 + {*<a class="credit" href="{$smarty.const.URL}{$lang_prefix}news/teper_tyi_mojesh_bolshe-319/"><span>{$smarty.const.str_credit}</span></a>*}
  368 + </div>
  369 + <div class="logo">
363 370 <a href="{$smarty.const.URL}{$lang_prefix}" title="Åêñòðèì ñòàéë"><span>Åêñòðèì ñòàéë</span></a>
364   - </div>
365   - <div class="search_top">
  371 + </div>
  372 + <div class="search_top">
366 373 <div class="tel">{* Èíòåðíåò-ìàãàçèí: *}{*<span class="b">(044)</span> <span>303-90-10;</span>*} <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="{$smarty.const.URL}img/skype.png" align="middle" /> <span>www-extremstyle.ua</span></div>
367 374 {*
368   - <div class="hotline">Òåëåôîí ãîðÿ÷åé ëèíèè: <span>0-800-50-09-10;</span> zhaloba@eltrade.com.ua</div>
  375 + <div class="hotline">Òåëåôîí ãîðÿ÷åé ëèíèè: <span>0-800-50-09-10;</span> zhaloba@eltrade.com.ua</div>
369 376 *}
370   - <div class="hotline">{$smarty.const.VOPROS}: <span>{mailto address="vopros@eltrade.com.ua" encode="javascript_charcode"}</span></div>
371   - <div class="langs">
372   - <a href="{$smarty.const.URL}{$link_ukr}"><img src="{$smarty.const.URL}img/ico_ua.gif" border="0" width="16" height="11" /></a>
373   - <a href="{$smarty.const.URL}{$link_rus}"><img src="{$smarty.const.URL}img/ico_ru.gif" border="0" width="16" height="11" /></a>
374   - </div>
375   - <div class="search_form"><form method="get" action="{$smarty.const.URL}catalogs/">
376   - <div class="inp_l"></div><input type="text" name="search_str" id="inputString" onkeyup="lookup(this.value);" autocomplete="off" value="{$smarty.get.search_str|stripslashes|escape:"html"}" /><input type="submit" value="{$smarty.const.NAYTI}" /><div id="suggestions"></div><div class="both"></div>
377   - </form></div>
  377 + <div class="hotline">{$smarty.const.VOPROS}: <span>{mailto address="vopros@eltrade.com.ua" encode="javascript_charcode"}</span></div>
  378 + <div class="langs">
  379 + <a href="{$smarty.const.URL}{$link_ukr}"><img src="{$smarty.const.URL}img/ico_ua.gif" border="0" width="16" height="11" /></a>
  380 + <a href="{$smarty.const.URL}{$link_rus}"><img src="{$smarty.const.URL}img/ico_ru.gif" border="0" width="16" height="11" /></a>
  381 + </div>
  382 +
  383 + <div class="search_form">
  384 + <div itemscope itemtype="http://schema.org/WebSite">
  385 + <meta itemprop="url" content="http://extremstyle.ua"/>
  386 + {literal}
  387 + <form itemprop="potentialAction" itemscope itemtype="http://schema.org/SearchAction" method="get" action="{$smarty.const.URL}catalogs/ ">
  388 + <meta itemprop="target" content="http://extremstyle.ua/catalogs/?search_str={search_str}"/>
  389 + {/literal}
  390 + <div class="inp_l"></div>
  391 + <input itemprop="query-input" required type="text" name="search_str" id="inputString" onkeyup="lookup(this.value);" autocomplete="off" value='{$smarty.get.search_str|stripslashes|escape:"html"}' />
  392 + <input type="submit" value="{$smarty.const.NAYTI}" />
  393 + <div id="suggestions"></div>
  394 + <div class="both"></div>
  395 + </form>
  396 + </div>
  397 + </div>
  398 +
378 399 <div class="slogan">Íàéá³ëüøèé âèá³ð íàéêðàùîãî ñïîðÿäæåííÿ</div>
  400 + </div>
379 401 </div>
380   -</div><div class="both"></div>
381   -<div style="position:relative;z-index:888;" class="menu"><div class="wrp">
382   - <a href="{$smarty.const.URL}{$lang_prefix}" class="link_home" title="{$smarty.const.MENU_1}"><span>{$smarty.const.MENU_1}</span></a>
383   - <ul>
384   - <li class="first"><span class="l"></span><a href="{$smarty.const.URL}{if $menup != 1}catalogs/{else}#list1{/if}">{$smarty.const.MENU_2}</a><span class="r"></span>
385   - {if $menup != 1}
386   - <div class="menup">
387   - {*<div class="rowlbar">*}
388   - {section name=i loop=$catalogs_rubrics_begin}
389   - <div class="row">
390   - <div class="title2"><a href="{$smarty.const.URL}{$lang_prefix}{$catalogs_rubrics_begin[i].parents[0].translit}-catalogs/">{$catalogs_rubrics_begin[i].name}</a></div>
391   - <div class="box2">
392   - <img src="{$smarty.const.URL}uploaded/pic/catalogs/rubrics/{$catalogs_rubrics_begin[i].pic}" align="right" alt="{$catalogs_rubrics_begin[i].name}" /> {section name=j loop=$catalogs_rubrics_begin[i].parents}{php}$i++;if($i==30)$b=1;{/php}<a href="{$smarty.const.URL}{$lang_prefix}{$catalogs_rubrics_begin[i].parents[j].translit}-catalogs/">{$catalogs_rubrics_begin[i].parents[j].name}</a>{/section}
393   - </div>
394   - </div>{*{if not ($smarty.section.i.rownum mod 4)}</div><div class="fl">{/if}*}
395   - {*
396   - {php}
397   - if($b==1){
398   - $l++;
399   - print '</div><div class="rowlbar '.(($l==3)?'n':'').'">';
400   - $b=0;$i=0;
401   - }
402   - {/php}
403   - *}
404   - {/section}{*</div>*}
405   - <div class="both"></div>
406   -
407   - </div>
408   - {/if}
409   - </li>
410   - {*<li {if $rules_info_one.action eq "akcya"}class="active"{/if}><span class="l"></span><a href="{$smarty.const.URL}{$lang_prefix}akcya/">{$smarty.const.MENU_3}</a><span class="r"></span></li>*}
411   - <li {if $rules_info_one.action eq "payment"}class="active"{/if}><span class="l"></span><a href="{$smarty.const.URL}{$lang_prefix}payment/">{$smarty.const.MENU_4}</a><span class="r"></span></li>
412   - <li {if $smarty.get.modAction eq "brends"}class="active"{/if}><span class="l"></span><a href="{$smarty.const.URL}{$lang_prefix}catalogs/brends/">{$smarty.const.MENU_5}</a><span class="r"></span></li>
413   - <li {if $rules_info_one.action eq "shops"}class="active"{/if}><span class="l"></span><a href="{$smarty.const.URL}{$lang_prefix}shops/">{$smarty.const.MENU_6}</a><span class="r"></span></li>
414   - <li {if $rules_info_one.action eq "services"}class="active"{/if}><span class="l"></span><a href="{$smarty.const.URL}{$lang_prefix}services/">{$smarty.const.MENU_7}</a><span class="r"></span></li>
415   - <li {if $rules_info_one.action eq "vacancy"}class="active"{/if}><span class="l"></span><a href="{$smarty.const.URL}{$lang_prefix}vacancy/">{$smarty.const.MENU_8}</a><span class="r"></span></li>
416   - <li {if $rules_info_one.action eq "training"}class="active"{/if}><span class="l"></span><a href="{$smarty.const.URL}{$lang_prefix}training/">{$smarty.const.MENU_9}</a><span class="r"></span></li>
417   - <li {if $rules_info_one.action eq "line"}class="active"{/if}><span class="l"></span><a style="padding-top:5px;text-align:center;" href="{$smarty.const.URL}{$lang_prefix}line/">{$smarty.const.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>
418   - </ul><div class="both"></div>
419   -</div></div>
420   -
421   -{php} global $path; if (!isset($path[1]) || (isset($path[1]) && $path[1]!='account')) { {/php}
422   -{if $tpl eq "catalogs_products_hits.tpl"}
423   - <div id="slides">
424   - <div class="slides_container">
425   - {section name=i loop=$banners_list}
426   - <div class="slide">
427   - {include file="box/banner.tpl" banner=$banners_list[i]}
428   - </div>
429   - {/section}
  402 +
  403 + <div class="both"></div>
  404 +
  405 + <div style="position:relative;z-index:888;" class="menu">
  406 + <div class="wrp">
  407 + <a href="{$smarty.const.URL}{$lang_prefix}" class="link_home" title="{$smarty.const.MENU_1}"><span>{$smarty.const.MENU_1}</span></a>
  408 + <ul>
  409 + <li class="first">
  410 + <span class="l"></span><a href="{$smarty.const.URL}{if $menup != 1}catalogs/{else}#list1{/if}">{$smarty.const.MENU_2}</a><span class="r"></span>
  411 + {if $menup != 1}
  412 + <div class="menup">
  413 + {*
  414 + <div class="rowlbar">
  415 + *}
  416 + {section name=i loop=$catalogs_rubrics_begin}
  417 + <div class="row">
  418 + <div class="title2"><a href="{$smarty.const.URL}{$lang_prefix}{$catalogs_rubrics_begin[i].parents[0].translit}-catalogs/">{$catalogs_rubrics_begin[i].name}</a></div>
  419 + <div class="box2">
  420 + <img src="{$smarty.const.URL}uploaded/pic/catalogs/rubrics/{$catalogs_rubrics_begin[i].pic}" align="right" alt="{$catalogs_rubrics_begin[i].name}" /> {section name=j loop=$catalogs_rubrics_begin[i].parents}{php}$i++;if($i==30)$b=1;{/php}<a href="{$smarty.const.URL}{$lang_prefix}{$catalogs_rubrics_begin[i].parents[j].translit}-catalogs/">{$catalogs_rubrics_begin[i].parents[j].name}</a>{/section}
  421 + </div>
  422 + </div>
  423 + {*{if not ($smarty.section.i.rownum mod 4)}
  424 + </div>
  425 + <div class="fl">{/if}*}
  426 + {*
  427 + {php}
  428 + if($b==1){
  429 + $l++;
  430 + print '
  431 + </div>
  432 + <div class="rowlbar '.(($l==3)?'n':'').'">';
  433 + $b=0;$i=0;
  434 + }
  435 + {/php}
  436 + *}
  437 + {/section}{*
  438 + </div>
  439 + *}
  440 + <div class="both"></div>
430 441 </div>
431   - <a href="#" class="prev"><img src="{$smarty.const.URL}img/arrow-prev.png" width="17" height="26" border="0" alt="Arrow Prev"></a>
432   - <a href="#" class="next"><img src="{$smarty.const.URL}img/arrow-next.png" width="17" height="26" border="0" alt="Arrow Next"></a>
  442 + {/if}
  443 + </li>
  444 + {*<li {if $rules_info_one.action eq "akcya"}class="active"{/if}><span class="l"></span><a href="{$smarty.const.URL}{$lang_prefix}akcya/">{$smarty.const.MENU_3}</a><span class="r"></span></li>*}
  445 + <li {if $rules_info_one.action eq "payment"}class="active"{/if}><span class="l"></span><a href="{$smarty.const.URL}{$lang_prefix}payment/">{$smarty.const.MENU_4}</a><span class="r"></span></li>
  446 + <li {if $smarty.get.modAction eq "brends"}class="active"{/if}><span class="l"></span><a href="{$smarty.const.URL}{$lang_prefix}catalogs/brends/">{$smarty.const.MENU_5}</a><span class="r"></span></li>
  447 + <li {if $rules_info_one.action eq "shops"}class="active"{/if}><span class="l"></span><a href="{$smarty.const.URL}{$lang_prefix}shops/">{$smarty.const.MENU_6}</a><span class="r"></span></li>
  448 + <li {if $rules_info_one.action eq "services"}class="active"{/if}><span class="l"></span><a href="{$smarty.const.URL}{$lang_prefix}services/">{$smarty.const.MENU_7}</a><span class="r"></span></li>
  449 + <li {if $rules_info_one.action eq "vacancy"}class="active"{/if}><span class="l"></span><a href="{$smarty.const.URL}{$lang_prefix}vacancy/">{$smarty.const.MENU_8}</a><span class="r"></span></li>
  450 + <li {if $rules_info_one.action eq "training"}class="active"{/if}><span class="l"></span><a href="{$smarty.const.URL}{$lang_prefix}training/">{$smarty.const.MENU_9}</a><span class="r"></span></li>
  451 + <li {if $rules_info_one.action eq "line"}class="active"{/if}><span class="l"></span><a style="padding-top:5px;text-align:center;" href="{$smarty.const.URL}{$lang_prefix}line/">{$smarty.const.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>
  452 + </ul>
  453 + <div class="both"></div>
  454 + </div>
  455 + </div>
  456 + {php} global $path; if (!isset($path[1]) || (isset($path[1]) && $path[1]!='account')) { {/php}
  457 + {if $tpl eq "catalogs_products_hits.tpl"}
  458 + <div id="slides">
  459 + <div class="slides_container">
  460 + {section name=i loop=$banners_list}
  461 + <div class="slide">
  462 + {include file="box/banner.tpl" banner=$banners_list[i]}
433 463 </div>
434   -{/if}
435   -{php} } {/php}
436   -
437   -<div class="site" style="position:relative;z-index:887;{if $tpl eq 'catalogs_products_hits.tpl'}min-height:1700px;{/if}">
438   -{php} global $path; if (!isset($path[1]) || (isset($path[1]) && $path[1]!='account')) { {/php}
439   - {php} } else {
440   -
441   - // Ïîäêëþ÷àåì ôàéëû
442   - if(is_file($_SERVER['DOCUMENT_ROOT'].'/account/'.$path[2].'.php')) {
443   - echo"<div class='personal-account'>";
444   - include($_SERVER['DOCUMENT_ROOT'].'/account/'.$path[2].'.php');
445   - echo"</div>";
446   - }
447   - }
448   -
449   - {/php}
450   -
451   -
452   - {php} if (!isset($path[1]) || (isset($path[1]) && $path[1]!='account' && $path[1]!='opros')) { {/php} {include file="$tpl"}
453   -
454   -{php} } {/php}
455   -
456   -{php} if ($path[1]=='opros'){ {/php} {include file="opros.tpl"} {php} } {/php}
457   -
458   -
459   -</div>
460   -{if $tpl eq "catalogs_products_hits.tpl"}
461   -<div class="box_facebook" align="center">
462   -<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"
463   -scrolling="no" frameborder="0" style="border:none; overflow:hidden;
464   -width:1000px; height:260px;" allowTransparency="true"></iframe>
465   -</div>
466   -{/if}
467   - <div class="fotter_bg" style="position:relative;z-index:887;margin:0px;">
468   - <div class="fotter">
  464 + {/section}
  465 + </div>
  466 + <a href="#" class="prev"><img src="{$smarty.const.URL}img/arrow-prev.png" width="17" height="26" border="0" alt="Arrow Prev"></a>
  467 + <a href="#" class="next"><img src="{$smarty.const.URL}img/arrow-next.png" width="17" height="26" border="0" alt="Arrow Next"></a>
  468 + </div>
  469 + {/if}
  470 + {php} } {/php}
  471 + <div class="site" style="position:relative;z-index:887;{if $tpl eq 'catalogs_products_hits.tpl'}min-height:1700px;{/if}">
  472 + {php} global $path; if (!isset($path[1]) || (isset($path[1]) && $path[1]!='account')) { {/php}
  473 + {php}
  474 + } else {
  475 + // Ïîäêëþ÷àåì ôàéëû
  476 + if(is_file($_SERVER['DOCUMENT_ROOT'].'/account/'.$path[2].'.php')) {
  477 + echo"
  478 + <div class='personal-account'>";
  479 + include($_SERVER['DOCUMENT_ROOT'].'/account/'.$path[2].'.php');
  480 + echo"
  481 + </div>
  482 + ";
  483 + }
  484 + }
  485 + {/php}
  486 + {php} if (!isset($path[1]) || (isset($path[1]) && $path[1]!='account' && $path[1]!='opros')) { {/php} {include file="$tpl"}
  487 + {php} } {/php}
  488 + {php} if ($path[1]=='opros'){ {/php} {include file="opros.tpl"} {php} } {/php}
  489 + </div>
  490 + {if $tpl eq "catalogs_products_hits.tpl"}
  491 + <div class="box_facebook" align="center">
  492 + <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"
  493 + scrolling="no" frameborder="0" style="border:none; overflow:hidden;
  494 + width:1000px; height:260px;" allowTransparency="true"></iframe>
  495 + </div>
  496 + {/if}
  497 + <div class="fotter_bg" style="position:relative;z-index:887;margin:0px;">
  498 + <div class="fotter">
469 499 <div class="fr txtr">
470   - <a href="http://artweb.ua/"><img src="{$smarty.const.URL}img/artweb.jpg" width="51" height="17" border="0" /></a><br />
471   - <a href="http://artweb.ua/" class="link3">Ñîçäàíèå ñàéòîâ</a>
  500 + <a href="http://artweb.ua/"><img src="{$smarty.const.URL}img/artweb.jpg" width="51" height="17" border="0" /></a><br />
  501 + <a href="http://artweb.ua/" class="link3">Ñîçäàíèå ñàéòîâ</a>
472 502 </div>
473 503 <div class="fl">
474   - Extrimstyle, {$smarty.now|date_format:"%Y"}<br />
475   - Âñå ïðàâà çàùèùåíû.
476   -{literal}
477   -<!--bigmir)net TOP 100-->
478   -<script type="text/javascript" language="javascript"><!--
479   -function BM_Draw(oBM_STAT){
480   -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>');
481   -}
482   -//-->
483   -</script>
484   -<script type="text/javascript" language="javascript"><!--
485   -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};
486   -for(var f=self;f!=f.parent;f=f.parent)bm.w++;
487   -try{if(bmN.plugins&&bmN.mimeTypes.length&&(x=bmN.plugins['Shockwave Flash']))bm.m=parseInt(x.description.replace(/([a-zA-Z]|\s)+/,''));
488   -else for(var f=3;f<20;f++)if(eval('new ActiveXObject("ShockwaveFlash.ShockwaveFlash.'+f+'")'))bm.m=f}catch(e){;}
489   -try{bm.y=bmN.javaEnabled()?1:0}catch(e){;}
490   -try{bmS=screen;bm.v^=bm.d=bmS.colorDepth||bmS.pixelDepth;bm.v^=bm.r=bmS.width}catch(e){;}
491   -r=bmD.referrer.slice(7);if(r&&r.split('/')[0]!=window.location.host){bm.f=escape(r);bm.v^=r.length}
492   -bm.v^=window.location.href.length;for(var x in bm) if(/^[ovstcnwmydrf]$/.test(x)) bs[i++]=x+bm[x];
493   -bmD.write('<sc'+'ript type="text/javascript" language="javascript" src="http://c.bigmir.net/?'+bs.join('&')+'"></sc'+'ript>');
494   -//-->
495   -</script>
496   -<div id="aaaacccc">&nbsp;</div>
497   -<noscript>
498   -<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>
499   -</noscript>
500   -<!--bigmir)net TOP 100-->
501   -
502   -<script type="text/javascript">
503   -/* <![CDATA[ */
504   -var google_conversion_id = 1038520540;
505   -var google_custom_params = window.google_tag_params;
506   -var google_remarketing_only = true;
507   -/* ]]> */
508   -</script>
509   -<script type="text/javascript" src="//www.googleadservices.com/pagead/conversion.js">
510   -</script>
511   -<noscript>
512   -<div style="display:inline;">
513   -<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"/>
514   -</div>
515   -</noscript>
516   -{/literal}
517   -
518   - </div>
  504 + Extrimstyle, {$smarty.now|date_format:"%Y"}<br />
  505 + Âñå ïðàâà çàùèùåíû.
  506 + {literal}
  507 + <!--bigmir)net TOP 100-->
  508 + <script type="text/javascript" language="javascript"><!--
  509 + function BM_Draw(oBM_STAT){
  510 + 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>');
  511 + }
  512 + //--></script>
  513 + <script type="text/javascript" language="javascript"><!--
  514 + 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};
  515 + for(var f=self;f!=f.parent;f=f.parent)bm.w++;
  516 + try{if(bmN.plugins&&bmN.mimeTypes.length&&(x=bmN.plugins['Shockwave Flash']))bm.m=parseInt(x.description.replace(/([a-zA-Z]|\s)+/,''));
  517 + else for(var f=3;f<20;f++)if(eval('new ActiveXObject("ShockwaveFlash.ShockwaveFlash.'+f+'")'))bm.m=f}catch(e){;}
  518 + try{bm.y=bmN.javaEnabled()?1:0}catch(e){;}
  519 + try{bmS=screen;bm.v^=bm.d=bmS.colorDepth||bmS.pixelDepth;bm.v^=bm.r=bmS.width}catch(e){;}
  520 + r=bmD.referrer.slice(7);if(r&&r.split('/')[0]!=window.location.host){bm.f=escape(r);bm.v^=r.length}
  521 + bm.v^=window.location.href.length;for(var x in bm) if(/^[ovstcnwmydrf]$/.test(x)) bs[i++]=x+bm[x];
  522 + bmD.write('<sc'+'ript type="text/javascript" language="javascript" src="http://c.bigmir.net/?'+bs.join('&')+'"></sc'+'ript>');
  523 + //--></script>
  524 + <div id="aaaacccc">&nbsp;</div>
  525 + <noscript>
  526 + <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>
  527 + </noscript>
  528 + <!--bigmir)net TOP 100-->
  529 + <script type="text/javascript">
  530 + /* <![CDATA[ */
  531 + var google_conversion_id = 1038520540;
  532 + var google_custom_params = window.google_tag_params;
  533 + var google_remarketing_only = true;
  534 + /* ]]> */
  535 + </script>
  536 + <script type="text/javascript" src="//www.googleadservices.com/pagead/conversion.js"></script>
  537 + <noscript>
  538 + <div style="display:inline;">
  539 + <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"/>
  540 + </div>
  541 + </noscript>
  542 + {/literal}
  543 + </div>
519 544 <div class="txtc">
520   - <ul>
521   - <li><a href="{$smarty.const.URL}{$lang_prefix}catalogs/">{$smarty.const.MENU_2}</a></li>
522   - {*<li><a href="{$smarty.const.URL}{$lang_prefix}akcya/">Àêöèè</a></li>*}
523   - <li><a href="{$smarty.const.URL}{$lang_prefix}payment/">{$smarty.const.MENU_4}</a></li>
524   - <li><a href="{$smarty.const.URL}{$lang_prefix}catalogs/brends/">{$smarty.const.MENU_5}</a></li>
525   - <li><a href="{$smarty.const.URL}{$lang_prefix}shops/">{$smarty.const.MENU_6}</a></li>
526   - <li><a href="{$smarty.const.URL}{$lang_prefix}services/">{$smarty.const.MENU_7}</a></li>
527   - <li><a href="{$smarty.const.URL}{$lang_prefix}vacancy/">{$smarty.const.MENU_8}</a></li>
528   - <li><a href="{$smarty.const.URL}{$lang_prefix}training/">{$smarty.const.MENU_9}</a></li>
529   - <li><a href="{$smarty.const.URL}{$lang_prefix}sitemap/">Êàðòà ñàéòà</a></li>
530   - </ul>
531   -<br/>
532   -{*<a href="http://extremstyle.ua/velosipedy-2-catalogs/">Âåëîñèïåäû</a>, <a href="http://extremstyle.ua/roliki-catalogs/">Ðîëèêîâûå êîíüêè</a>, <a href="http://extremstyle.ua/gidrokostyumy-2-catalogs/">ãèäðîêîñòþìû</a>, <a href="http://extremstyle.ua/palatki-catalogs/">ïàëàòêè</a>*}
533   -{*
534   -<br/><br/>
535   -<a href="{$smarty.const.URL}{$lang_prefix}" rel="v:url" property="v:title" style="text-decoration:none;color: #3C3C3C;">
536   -ÅêñòðåìÑòàéë
537   -</a>
538   -{if $rubric.id}
539   -<span typeof="v:Breadcrumb">
540   ->> <a href="{$smarty.const.URL}{$lang_prefix}{$rubric.translit}-catalogs/" rel="v:url" property="v:title" style="text-decoration:none;color: #3C3C3C;">
541   -{$rubric.name} &#10102; â Óêðàèíå
542   -</a>
543   -</span>
544   -{/if}
545   -{if $product.id}
546   -<span typeof="v:Breadcrumb">
547   ->> <a href="{$smarty.const.URL}{$lang_prefix}{$rubric.translit}-catalogs/{$product.translit}-{$product.id}/" style="text-decoration:none;color: #3C3C3C;" rel="v:url" property="v:title">
548   -{$product.name}
549   -</a>
550   -</span>
551   -{/if}
552   -*}
  545 + <ul>
  546 + <li><a href="{$smarty.const.URL}{$lang_prefix}catalogs/">{$smarty.const.MENU_2}</a></li>
  547 + {*
  548 + <li><a href="{$smarty.const.URL}{$lang_prefix}akcya/">Àêöèè</a></li>
  549 + *}
  550 + <li><a href="{$smarty.const.URL}{$lang_prefix}payment/">{$smarty.const.MENU_4}</a></li>
  551 + <li><a href="{$smarty.const.URL}{$lang_prefix}catalogs/brends/">{$smarty.const.MENU_5}</a></li>
  552 + <li><a href="{$smarty.const.URL}{$lang_prefix}shops/">{$smarty.const.MENU_6}</a></li>
  553 + <li><a href="{$smarty.const.URL}{$lang_prefix}services/">{$smarty.const.MENU_7}</a></li>
  554 + <li><a href="{$smarty.const.URL}{$lang_prefix}vacancy/">{$smarty.const.MENU_8}</a></li>
  555 + <li><a href="{$smarty.const.URL}{$lang_prefix}training/">{$smarty.const.MENU_9}</a></li>
  556 + <li><a href="{$smarty.const.URL}{$lang_prefix}sitemap/">Êàðòà ñàéòà</a></li>
  557 + </ul>
  558 + <br/>
  559 + {*<a href="http://extremstyle.ua/velosipedy-2-catalogs/">Âåëîñèïåäû</a>, <a href="http://extremstyle.ua/roliki-catalogs/">Ðîëèêîâûå êîíüêè</a>, <a href="http://extremstyle.ua/gidrokostyumy-2-catalogs/">ãèäðîêîñòþìû</a>, <a href="http://extremstyle.ua/palatki-catalogs/">ïàëàòêè</a>*}
  560 + {*
  561 + <br/><br/>
  562 + <a href="{$smarty.const.URL}{$lang_prefix}" rel="v:url" property="v:title" style="text-decoration:none;color: #3C3C3C;">
  563 + ÅêñòðåìÑòàéë
  564 + </a>
  565 + {if $rubric.id}
  566 + <span typeof="v:Breadcrumb">
  567 + >> <a href="{$smarty.const.URL}{$lang_prefix}{$rubric.translit}-catalogs/" rel="v:url" property="v:title" style="text-decoration:none;color: #3C3C3C;">
  568 + {$rubric.name} &#10102; â Óêðàèíå
  569 + </a>
  570 + </span>
  571 + {/if}
  572 + {if $product.id}
  573 + <span typeof="v:Breadcrumb">
  574 + >> <a href="{$smarty.const.URL}{$lang_prefix}{$rubric.translit}-catalogs/{$product.translit}-{$product.id}/" style="text-decoration:none;color: #3C3C3C;" rel="v:url" property="v:title">
  575 + {$product.name}
  576 + </a>
  577 + </span>
  578 + {/if}
  579 + *}
553 580 </div>
554 581 <div class="both"></div>
  582 + </div>
555 583 </div>
  584 + <div id="compare"><a href="{$smarty.const.URL}catalogs/compare/"><span>Ñðàâíèòü</span></a></div>
  585 + <!-- Back Pay -->
  586 + {include file="box/pay.tpl"}
  587 + <!-- Back Pay -->
  588 + </div>
556 589 </div>
557   -
558   -<div id="compare"><a href="{$smarty.const.URL}catalogs/compare/"><span>Ñðàâíèòü</span></a></div>
559   -
560   -<!-- Back Pay -->
561   -
562   -{include file="box/pay.tpl"}
563   -
564   -<!-- Back Pay -->
565   -
566   -</div></div>
567   -
568   -{literal}
569   -<script>
570   -(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
571   -(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
572   -m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
573   -})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
574   -
575   -ga('create', 'UA-15799063-3', 'auto');
576   -ga('require', 'displayfeatures');
577   -ga('send', 'pageview');
578   -
579   -{/literal}
580   -{if count($smarty.get.product)>0}
581   -
582   -ga('require', 'ecommerce', 'ecommerce.js');
583   -
584   -ga('ecommerce:addTransaction', {literal}{{/literal}
585   -'id': '{$smarty.get.orderID}', // Óíèêàëüíûé ID òðàíçàêöèè (ïàðàìåòð îáÿçàòåëüíî äîëæåí áûòü óíèêàëüíûì)
586   -'affiliation': 'ExtremStyle.ua',
587   -'revenue': '{$smarty.get.total}', // îáùàÿ ñóììà çàêàçà
588   -'shipping': '',
589   -'tax': '',
590   -'currency': 'UAH' // local currency code.
591   -{literal}}{/literal});
592   -
593   -
594   -// Òîâàð (âûâîäèòü äëÿ êàæäîãî òîâàðà èç êàðçèíû) - âûâîäèì äëÿ êàæäîãî òîâàðà â çàêàçå îòäåëüíî ýòîò îáúåêò
595   -{section name=i loop=$smarty.get.product}
596   -ga('ecommerce:addItem', {literal}{{/literal}
597   -'id': '{$smarty.get.orderID}', // Óíèêàëüíûé ID òðàíçàêöèè (ïàðàìåòð îáÿçàòåëüíî äîëæåí áûòü óíèêàëüíûì äëÿ âñåãî çàêàçà îäèí è òîò æå)
598   -'name': '{$smarty.get.product[i]|exp:0|product:"name"|escape:"html"}', // íàçâàíèå òîâàðà
599   -'sku': '{$smarty.get.product[i]|exp:0}', // ID òîâàðà
600   -'category': '{$smarty.get.product[i]|exp:0|product:"rubric_id"|rubric|escape:"html"}', //Êàòåãîðèÿ òîâàðîâ | Áðåíä
601   -'price': '{$smarty.get.product[i]|exp:2}', //Öåíà òîâàðà
602   -'quantity': '{$smarty.get.product[i]|exp:1}', //Êîëè÷åñòâî òîâàðà öèôðîé
603   -'currency': 'UAH' // local currency code.
604   -{literal}}{/literal});
605   -{/section}
606   -// Îòïðàâêà äàííûõ
607   -ga('ecommerce:send');
608   -
609   -
610   -{/if}
611   -
612   -
613   -
614   -</script>
615   -
616   -
617   -
618   -{*
619   -<script type="text/javascript">
620   -var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
621   -document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
622   -</script>
623   -<script type="text/javascript">
624   -try {
625   -var pageTracker = _gat._getTracker("UA-15799063-3");
626   -pageTracker._trackPageview();
627   -} catch(err) {}</script>
628   -*}
629   -
630   -
631   -{literal}
632   -
633   -<script type="text/javascript">(window.Image ? (new Image()) : document.createElement('img')).src = location.protocol + '//vk.com/rtrg?r=Wz43bRZ5dPuj1lGa9yybu/BadjzTyaVGr0lv2J0XrunGjb01nkc1bAxvA1GsiEYYwR74WqkZYpOLaP5mR3Xj2Z16XVizyj3TqkCNXC4tPDJEAi8G4QgW3Fu3oQnufOem3Tg4gkFKw7sIqvonHm0PbdZcFoK9*TeNEnj4OtT9cBg-';</script>
634   -
635   -<script>(function() {
636   - var _fbq = window._fbq || (window._fbq = []);
637   - if (!_fbq.loaded) {
638   - var fbds = document.createElement('script');
639   - fbds.async = true;
640   - fbds.src = '//connect.facebook.net/en_US/fbds.js';
641   - var s = document.getElementsByTagName('script')[0];
642   - s.parentNode.insertBefore(fbds, s);
643   - _fbq.loaded = true;
644   - }
645   - _fbq.push(['addPixelId', '1463465747264236']);
646   -})();
647   -window._fbq = window._fbq || [];
648   -window._fbq.push(['track', 'PixelInitialized', {}]);
649   -</script>
650   -<noscript><img height="1" width="1" alt="" style="display:none" src="https://www.facebook.com/tr?id=1463465747264236&amp;ev=PixelInitialized" /></noscript>
651   -
652   -
653   -
654   -<!-- AdRiver code START: êîä äëÿ áàííåðà; AD: 503744 "*PIXEL_Extremstyle_Remarketing"; ñöåíàðèé ID 1838615 "pixel_remarketing" áàííåð ID 3679774; counter(zeropixel) -->
655   -<script type="text/javascript">
656   -var RndNum4NoCash = Math.round(Math.random() * 1000000000);
657   -var ar_Tail='unknown'; if (document.referrer) ar_Tail = escape(document.referrer);
658   -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>')
659   -</script>
660   -<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>
661   -<!-- AdRiver code END -->
662   -
663   -{/literal}
664   -
665   -</body>
  590 + {literal}
  591 + <script>
  592 + (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
  593 + (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
  594 + m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
  595 + })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
  596 +
  597 + ga('create', 'UA-15799063-3', 'auto');
  598 + ga('require', 'displayfeatures');
  599 + ga('send', 'pageview');
  600 +
  601 + {/literal}
  602 + {if count($smarty.get.product)>0}
  603 +
  604 + ga('require', 'ecommerce', 'ecommerce.js');
  605 +
  606 + ga('ecommerce:addTransaction', {literal}{{/literal}
  607 + 'id': '{$smarty.get.orderID}', // Óíèêàëüíûé ID òðàíçàêöèè (ïàðàìåòð îáÿçàòåëüíî äîëæåí áûòü óíèêàëüíûì)
  608 + 'affiliation': 'ExtremStyle.ua',
  609 + 'revenue': '{$smarty.get.total}', // îáùàÿ ñóììà çàêàçà
  610 + 'shipping': '',
  611 + 'tax': '',
  612 + 'currency': 'UAH' // local currency code.
  613 + {literal}}{/literal});
  614 +
  615 +
  616 + // Òîâàð (âûâîäèòü äëÿ êàæäîãî òîâàðà èç êàðçèíû) - âûâîäèì äëÿ êàæäîãî òîâàðà â çàêàçå îòäåëüíî ýòîò îáúåêò
  617 + {section name=i loop=$smarty.get.product}
  618 + ga('ecommerce:addItem', {literal}{{/literal}
  619 + 'id': '{$smarty.get.orderID}', // Óíèêàëüíûé ID òðàíçàêöèè (ïàðàìåòð îáÿçàòåëüíî äîëæåí áûòü óíèêàëüíûì äëÿ âñåãî çàêàçà îäèí è òîò æå)
  620 + 'name': '{$smarty.get.product[i]|exp:0|product:"name"|escape:"html"}', // íàçâàíèå òîâàðà
  621 + 'sku': '{$smarty.get.product[i]|exp:0}', // ID òîâàðà
  622 + 'category': '{$smarty.get.product[i]|exp:0|product:"rubric_id"|rubric|escape:"html"}', //Êàòåãîðèÿ òîâàðîâ | Áðåíä
  623 + 'price': '{$smarty.get.product[i]|exp:2}', //Öåíà òîâàðà
  624 + 'quantity': '{$smarty.get.product[i]|exp:1}', //Êîëè÷åñòâî òîâàðà öèôðîé
  625 + 'currency': 'UAH' // local currency code.
  626 + {literal}}{/literal});
  627 + {/section}
  628 + // Îòïðàâêà äàííûõ
  629 + ga('ecommerce:send');
  630 +
  631 +
  632 + {/if}
  633 +
  634 +
  635 +
  636 + </script>
  637 + {*
  638 + <script type="text/javascript">
  639 + var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
  640 + document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
  641 + </script>
  642 + <script type="text/javascript">
  643 + try {
  644 + var pageTracker = _gat._getTracker("UA-15799063-3");
  645 + pageTracker._trackPageview();
  646 + } catch(err) {}
  647 + </script>
  648 + *}
  649 + {literal}
  650 + <script type="text/javascript">(window.Image ? (new Image()) : document.createElement('img')).src = location.protocol + '//vk.com/rtrg?r=Wz43bRZ5dPuj1lGa9yybu/BadjzTyaVGr0lv2J0XrunGjb01nkc1bAxvA1GsiEYYwR74WqkZYpOLaP5mR3Xj2Z16XVizyj3TqkCNXC4tPDJEAi8G4QgW3Fu3oQnufOem3Tg4gkFKw7sIqvonHm0PbdZcFoK9*TeNEnj4OtT9cBg-';</script>
  651 + <script>(function() {
  652 + var _fbq = window._fbq || (window._fbq = []);
  653 + if (!_fbq.loaded) {
  654 + var fbds = document.createElement('script');
  655 + fbds.async = true;
  656 + fbds.src = '//connect.facebook.net/en_US/fbds.js';
  657 + var s = document.getElementsByTagName('script')[0];
  658 + s.parentNode.insertBefore(fbds, s);
  659 + _fbq.loaded = true;
  660 + }
  661 + _fbq.push(['addPixelId', '1463465747264236']);
  662 + })();
  663 + window._fbq = window._fbq || [];
  664 + window._fbq.push(['track', 'PixelInitialized', {}]);
  665 + </script>
  666 + <noscript><img height="1" width="1" alt="" style="display:none" src="https://www.facebook.com/tr?id=1463465747264236&amp;ev=PixelInitialized" /></noscript>
  667 + <!-- AdRiver code START: êîä äëÿ áàííåðà; AD: 503744 "*PIXEL_Extremstyle_Remarketing"; ñöåíàðèé ID 1838615 "pixel_remarketing" áàííåð ID 3679774; counter(zeropixel) -->
  668 + <script type="text/javascript">
  669 + var RndNum4NoCash = Math.round(Math.random() * 1000000000);
  670 + var ar_Tail='unknown'; if (document.referrer) ar_Tail = escape(document.referrer);
  671 + 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>')
  672 + </script>
  673 + <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>
  674 + <!-- AdRiver code END -->
  675 + {/literal}
  676 + </body>
666 677 </html>
667 678 \ No newline at end of file
... ...