Blame view

templates/index.tpl 42.3 KB
42868d70   andryeyev   Создал GIT
1
2
  <!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" >
0ef646d9   andryeyev   + разметка index.tpl
3
      <head>
42868d70   andryeyev   Создал GIT
4
5
6
          <title>{$meta.title|default:'Âåëîñèïåäû, ëûæè, ñíîóáîðäû, êîíüêè, ïàëàòêè, ðþêçàêè, ñêåéòû, ðîëèêè (ðîëèêîâûå êîíüêè), âèíäñåðôèíã'|replace:'2013':'2014'|escape:'html'}</title>
          <meta http-equiv="Content-Type" content="text/html; charset=windows-1251" />
          <meta http-equiv="content-language" content="ru" />
0ef646d9   andryeyev   + разметка index.tpl
7
8
9
10
11
12
13
14
15
16
17
18
19
          {if $lang eq 'ukr'}
              {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}
              {else}
              {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}
          {/if}
42868d70   andryeyev   Создал GIT
20
21
22
          <meta name="author" content="ArtWeb Studio">
          <meta name="description" content="{$meta.description|default:'ExtrimStyle'|escape:'html'}" />
          <meta name="keywords" content="{$meta.keywords|default:'ExtrimStyle'|escape:'html'}" />
0ef646d9   andryeyev   + разметка index.tpl
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
          {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)}
          <meta name="robots" content="noindex, follow" />
          {/if}
          {if count($productsData.data)>0}
              {if $productsData.page_numbers.current>1}
              <link rel="prev" href="{$smarty.const.URL}{$rubric.translit}-catalogs/page_{$productsData.page_numbers.current-1}.html/">
              {/if}
              {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}
          {/if}
          {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}
              {if $rubric.id>0}
              <link rel="canonical" href="{$smarty.const.URL}{$rubric.translit}-catalogs/">
              {else}
              <link rel="canonical" href="{$smarty.const.URL}catalogs/">
              {/if}
          {/if}
          {if $smarty.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/" />
          {/if}
          {*
          <meta property="og:image" content="{$smarty.const.URL}img/logo.jpg" />
          *}
          <link href="{$smarty.const.URL}css/style.css" rel="stylesheet" type="text/css" />
          <link rel="shortcut icon" href="{$smarty.const.URL}img/favicon.ico" type="image/x-icon" />
          <link href="{$smarty.const.URL}css/global.css" rel="stylesheet" type="text/css" />
          <script src="{$smarty.const.URL}js/jquery-1.5.min.js"></script>
          <link rel="stylesheet" type="text/css" href="{$smarty.const.URL}js/autocomplete/css/style.css" />
          <script type="text/javascript" src="{$smarty.const.URL}js/autocomplete/js/script.js"></script>
          <script type="text/javascript" src="{$smarty.const.URL}js/cabinet.js"></script>
          <script type="text/javascript" src="{$smarty.const.URL}js/basket.js"></script>
          <script type="text/javascript" src="{$smarty.const.URL}js/alert.js"></script>
          <script type="text/javascript" src="{$smarty.const.URL}js/jquery.cookie.js"></script>
          <script type="text/javascript" src="{$smarty.const.URL}js/jquery.wookmark.js"></script>
          {literal}<script type="text/javascript">
              // initialise plugins
              jQuery(function(){
                  $('#basket').basket({lang:'{/literal}{$lang}{literal}'});
              });
  
              jQuery(function(){
                  $('#cabinet').cabinet({lang:'{/literal}{$lang}{literal}'});
              });
              
              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);
                      }
42868d70   andryeyev   Создал GIT
103
                  });
0ef646d9   andryeyev   + разметка index.tpl
104
105
106
107
108
109
110
111
112
113
114
115
116
              }
              
          </script>{/literal}        
          {php} global $path; if (!isset($path[1]) || (isset($path[1]) && $path[1]!='account')) { {/php}
          {if $tpl eq "catalogs_products_hits.tpl"}        
          <script src="{$smarty.const.URL}js/slides.min.jquery.js"></script>                
          {literal}<script>
              $(function(){
                  $('#slides').slides({
                      preload: true,
                      play: 5000,
                      pause: 2500,
                      hoverPause: true
42868d70   andryeyev   Создал GIT
117
                  });
0ef646d9   andryeyev   + разметка index.tpl
118
              });
42868d70   andryeyev   Создал GIT
119
          </script>
0ef646d9   andryeyev   + разметка index.tpl
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
          <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>{/literal}                
          <script type="text/javascript" src="{$smarty.const.URL}js/jsor-jcarousel-7bb2e0a/lib/jquery.jcarousel.min.js"></script>
          <link rel="stylesheet" type="text/css" href="{$smarty.const.URL}js/jsor-jcarousel-7bb2e0a/skins/tango/skin.css" />
          {literal}
          <script type="text/javascript">
              jQuery(document).ready(function() {
                  jQuery('#mycarousel5,#mycarousel3').jcarousel();
              });
              
          </script>{/literal}
          <script type="text/javascript" src="{$smarty.const.URL}js/tabs.js"></script>
          {/if}
          {php} } {/php}
          {if $tpl ne "catalogs_products_hits.tpl" && $smarty.get.m eq 1} 
          <script type="text/javascript" src="{$smarty.const.URL}js/menuscroll.js"></script>
          {/if}
          {if $smarty.get.send eq "ok"}
          <script type="text/javascript" src="{$smarty.const.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>
          {/if}
          {if $tpl eq "catalogs_basket.tpl"}
          <script type="text/javascript" src="{$smarty.const.URL}js/tabs_basket.js"></script>
          <script type="text/javascript" src="{$smarty.const.URL}js/rule.js"></script>
          {/if}
42868d70   andryeyev   Создал GIT
206
207
          <script type="text/javascript" src="{$smarty.const.URL}js/shadowbox.js"></script>
          <script type="text/javascript" src="{$smarty.const.URL}js/jquery.custom.modal.js"></script>
0ef646d9   andryeyev   + разметка index.tpl
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
          <script type="text/javascript" src="{$smarty.const.URL}js/jquery.maskedinput.js"></script>
          {literal}
          <script type="text/javascript">
              jQuery(document).ready(function(){
              
              jQuery("#phone").mask("+38 (999) 999-9999");
              
              jQuery(".sbcModal_a").sbcModal();
              });
          </script>
          {/literal}
          {if $tpl eq "catalogs_brend.tpl" or $tpl eq "statics2.tpl" or $tpl eq "vacancy.tpl"}
          <script type="text/javascript" src="{$smarty.const.URL}js/tabs_basket.js"></script>
          {/if}
          {if $tpl eq "catalogs_product-list.tpl"}
          <script type="text/javascript">
              {literal}
              $(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();
              		});
              
              {/literal}
              {if $smarty.get.topall eq 1}
              {literal}
              $.cookie('product_tab_id_{/literal}{$rubric.id}{literal}', "tab33", { path: '/'});
              {/literal}
              {/if}
              {literal}
                      //Default Action
                      $(".tab_content").hide(); //Hide all content
                      var products_tab_id = $.cookie('product_tab_id_{/literal}{$rubric.id}{literal}');
                              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_{/literal}{$rubric.id}{literal}', 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;
                      });
              
              });
              {/literal}
          </script>
          {/if}
          {if $tpl eq "catalogs_basket.tpl"}
          <script type="text/javascript" src="{$smarty.const.URL}js/city_select.js" charset="windows-1251"></script>
          {/if}
          {if $tpl eq "catalogs_product.tpl" or $tpl eq "catalogs_basket.tpl"}
          <link rel="stylesheet" type="text/css" href="{$smarty.const.URL}js/shadowbox-3.0.3/shadowbox.css">
          <script type="text/javascript" src="{$smarty.const.URL}js/shadowbox-3.0.3/shadowbox.js" charset="windows-1251"></script>
          {literal}<script type="text/javascript">
              Shadowbox.init({
              
              });
          </script>{/literal}
          {/if}
          {if $tpl eq "catalogs_product.tpl" or $tpl eq "catalogs_product2.tpl"}
          <!--
              jCarousel library
              -->
          <script type="text/javascript" src="{$smarty.const.URL}js/jsor-jcarousel-7bb2e0a/lib/jquery.jcarousel.min.js"></script>
          <!--
              jCarousel skin stylesheet
              -->
          <link rel="stylesheet" type="text/css" href="{$smarty.const.URL}js/jsor-jcarousel-7bb2e0a/skins/tango/skin4.css" />
          {literal}
          <script type="text/javascript">
              jQuery(document).ready(function() {
                  jQuery('#mycarousel5,#mycarousel4,.mycarousel').jcarousel();
              });
              
          </script>{/literal}
          <script type="text/javascript" src="{$smarty.const.URL}js/tabs_product.js"></script>
          <script type="text/javascript" src="{$smarty.const.URL}js/subscribe.js"></script>
          {/if}
          {$no_capcha}
          {$SNOW}
      </head>
      <body>
          {literal}
          <!-- 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 -->
          {/literal}
          {php} global $path; if (!isset($path[1]) || (isset($path[1]) && $path[1]!='account')) { {/php}
          {if $tpl eq "catalogs_products_hits.tpl"}
          <a {fonl}></a>
          {/if}
          {php} } {/php}
          {php} include_once($_SERVER['DOCUMENT_ROOT']."/account/signup.php"); {/php}
          <div class="bg2">
              <div class="bg">
                  <div style="position:relative;z-index:999;" class="top" itemscope itemtype="http://schema.org/LocalBusiness">
  
                      <meta itemprop="name" content="Åêñòðåì ñòàéë">
                      <meta itemprop="logo" content="http://extremstyle.ua/img/logo.jpg">
                      <meta itemprop="telephone" content="+38 (044) 303-90-10">
                      <meta itemprop="telephone" content="+38 (044) 428-65-38">
                      <meta itemprop="telephone" content="+38 (050) 382-03-00">
                      <meta itemprop="openingHours" content="Ïí-Ïò. 10:00?19:00">
                      <meta itemprop="openingHours" content="Ñá. 10:00-17:00">
                      <meta itemprop="email" content="vopros@eltrade.com.ua">
                      
                      <span style="display: none">
                          <link itemprop="url" href="http://extremstyle.ua">
                          <a itemprop="sameAs" href="https://www.facebook.com/extremstyle.ua/">FB</a>
                          <a itemprop="sameAs" href="https://plus.google.com/104058500914247254807">Google+</a>
                          <a itemprop="sameAs" href="https://www.youtube.com/user/extremstyleUA">Youtube</a>
                      </span>
42868d70   andryeyev   Создал GIT
355
                  
0ef646d9   andryeyev   + разметка index.tpl
356
357
358
                  
                      <div class="basket_top">
                          {if $smarty.session.user.name}
42868d70   andryeyev   Создал GIT
359
360
                          <a href="{$smarty.const.URL}account/panel/">{$smarty.session.user.name}</a>
                          {else}
0ef646d9   andryeyev   + разметка index.tpl
361
362
                          <a href="#" class="link_p" id="cabinet"><span>Ëè÷íûé êàáèíåò</span></a>
                          <div class="both"></div>
42868d70   andryeyev   Создал GIT
363
                          {/if}
0ef646d9   andryeyev   + разметка index.tpl
364
                          <div id="basket">...</div>
42868d70   andryeyev   Создал GIT
365
                          <a class="sbcModal_a" href="#qv_view-all_1"><span>{$smarty.const.sbcModal_a}</span></a>
0ef646d9   andryeyev   + разметка index.tpl
366
367
368
369
                          <a class="status" href="{$smarty.const.URL}{$lang_prefix}account/status/"><span>{$smarty.const.str_status}</span></a>
                          {*<a class="credit" href="{$smarty.const.URL}{$lang_prefix}news/teper_tyi_mojesh_bolshe-319/"><span>{$smarty.const.str_credit}</span></a>*}
                      </div>
                      <div class="logo">
42868d70   andryeyev   Создал GIT
370
                          <a href="{$smarty.const.URL}{$lang_prefix}" title="Åêñòðèì ñòàéë"><span>Åêñòðèì ñòàéë</span></a>
0ef646d9   andryeyev   + разметка index.tpl
371
372
                      </div>
                      <div class="search_top">
42868d70   andryeyev   Создал GIT
373
374
                          <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>
                          {*
0ef646d9   andryeyev   + разметка index.tpl
375
                          <div class="hotline">Òåëåôîí ãîðÿ÷åé ëèíèè: <span>0-800-50-09-10;</span> zhaloba@eltrade.com.ua</div>
42868d70   andryeyev   Создал GIT
376
                          *}
0ef646d9   andryeyev   + разметка index.tpl
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
                          <div class="hotline">{$smarty.const.VOPROS}: <span>{mailto address="vopros@eltrade.com.ua" encode="javascript_charcode"}</span></div>
                          <div class="langs">
                              <a href="{$smarty.const.URL}{$link_ukr}"><img src="{$smarty.const.URL}img/ico_ua.gif" border="0" width="16" height="11" /></a>
                              <a href="{$smarty.const.URL}{$link_rus}"><img src="{$smarty.const.URL}img/ico_ru.gif" border="0" width="16" height="11" /></a> 
                          </div>
   
                          <div class="search_form">
                              <div itemscope itemtype="http://schema.org/WebSite">
                                  <meta itemprop="url" content="http://extremstyle.ua"/>
                                  {literal}
                                  <form itemprop="potentialAction" itemscope itemtype="http://schema.org/SearchAction" method="get" action="{$smarty.const.URL}catalogs/ ">
                                      <meta itemprop="target" content="http://extremstyle.ua/catalogs/?search_str={search_str}"/>
                                  {/literal}
                                      <div class="inp_l"></div>
                                      <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"}' />
                                      <input type="submit" value="{$smarty.const.NAYTI}" />
                                      <div id="suggestions"></div>
                                      <div class="both"></div>
                                  </form>
                              </div>
                          </div>
   
42868d70   andryeyev   Создал GIT
399
                          <div class="slogan">Íàéá³ëüøèé âèá³ð íàéêðàùîãî ñïîðÿäæåííÿ</div>
0ef646d9   andryeyev   + разметка index.tpl
400
                      </div>
42868d70   andryeyev   Создал GIT
401
                  </div>
0ef646d9   andryeyev   + разметка index.tpl
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
   
                  <div class="both"></div> 
  
                  <div style="position:relative;z-index:888;" class="menu">
                      <div class="wrp">
                          <a href="{$smarty.const.URL}{$lang_prefix}" class="link_home" title="{$smarty.const.MENU_1}"><span>{$smarty.const.MENU_1}</span></a>
                          <ul>
                              <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>
                                  {if $menup != 1}
                                  <div class="menup">
                                      {*
                                      <div class="rowlbar">
                                          *}
                                          {section name=i loop=$catalogs_rubrics_begin}                                   
                                          <div class="row">
                                              <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>
                                              <div class="box2">
                                                  <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}
                                              </div>
                                          </div>
                                          {*{if not ($smarty.section.i.rownum mod 4)}
                                      </div>
                                      <div class="fl">{/if}*}
                                          {*
                                          {php}
                                          if($b==1){
                                          $l++;
                                          print '
                                      </div>
                                      <div class="rowlbar '.(($l==3)?'n':'').'">';
                                          $b=0;$i=0;
                                          }
                                          {/php}
                                          *}
                                          {/section}{*
                                      </div>
                                      *}
                                      <div class="both"></div>
42868d70   andryeyev   Создал GIT
441
                                  </div>
0ef646d9   andryeyev   + разметка index.tpl
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
                                  {/if}
                              </li>
                              {*<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>*}
                              <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>
                              <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>
                              <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>
                              <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>
                              <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>
                              <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>
                              <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>
                          </ul>
                          <div class="both"></div>
                      </div>
                  </div>
                  {php} global $path; if (!isset($path[1]) || (isset($path[1]) && $path[1]!='account')) { {/php}
                  {if $tpl eq "catalogs_products_hits.tpl"}
                  <div id="slides">
                      <div class="slides_container">
                          {section name=i loop=$banners_list}
                          <div class="slide">
                              {include file="box/banner.tpl" banner=$banners_list[i]}
42868d70   andryeyev   Создал GIT
463
                          </div>
0ef646d9   andryeyev   + разметка index.tpl
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
                          {/section}                
                      </div>
                      <a href="#" class="prev"><img src="{$smarty.const.URL}img/arrow-prev.png" width="17" height="26" border="0" alt="Arrow Prev"></a>
                      <a href="#" class="next"><img src="{$smarty.const.URL}img/arrow-next.png" width="17" height="26" border="0" alt="Arrow Next"></a>
                  </div>
                  {/if}
                  {php} } {/php}
                  <div class="site" style="position:relative;z-index:887;{if $tpl eq 'catalogs_products_hits.tpl'}min-height:1700px;{/if}">
                      {php} global $path; if (!isset($path[1]) || (isset($path[1]) && $path[1]!='account')) { {/php}
                      {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}
                      {php} if (!isset($path[1]) || (isset($path[1]) && $path[1]!='account' && $path[1]!='opros')) { {/php} {include file="$tpl"} 
                      {php} } {/php}
                      {php} if ($path[1]=='opros'){ {/php} {include file="opros.tpl"} {php} } {/php}
                  </div>
                  {if $tpl eq "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>
                  {/if}
                  <div class="fotter_bg" style="position:relative;z-index:887;margin:0px;">
                      <div class="fotter">
42868d70   andryeyev   Создал GIT
499
                          <div class="fr txtr">
0ef646d9   andryeyev   + разметка index.tpl
500
501
                              <a href="http://artweb.ua/"><img src="{$smarty.const.URL}img/artweb.jpg" width="51" height="17" border="0" /></a><br />
                              <a href="http://artweb.ua/" class="link3">Ñîçäàíèå ñàéòîâ</a>
42868d70   andryeyev   Создал GIT
502
503
                          </div>
                          <div class="fl">
0ef646d9   andryeyev   + разметка index.tpl
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
                              Extrimstyle, {$smarty.now|date_format:"%Y"}<br />
                              Âñå ïðàâà çàùèùåíû.
                              {literal}
                              <!--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>
                              {/literal}                         
                          </div>
42868d70   andryeyev   Создал GIT
544
                          <div class="txtc">
0ef646d9   andryeyev   + разметка index.tpl
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
                              <ul>
                                  <li><a href="{$smarty.const.URL}{$lang_prefix}catalogs/">{$smarty.const.MENU_2}</a></li>
                                  {*
                                  <li><a href="{$smarty.const.URL}{$lang_prefix}akcya/">Àêöèè</a></li>
                                  *}
                                  <li><a href="{$smarty.const.URL}{$lang_prefix}payment/">{$smarty.const.MENU_4}</a></li>
                                  <li><a href="{$smarty.const.URL}{$lang_prefix}catalogs/brends/">{$smarty.const.MENU_5}</a></li>
                                  <li><a href="{$smarty.const.URL}{$lang_prefix}shops/">{$smarty.const.MENU_6}</a></li>
                                  <li><a href="{$smarty.const.URL}{$lang_prefix}services/">{$smarty.const.MENU_7}</a></li>
                                  <li><a href="{$smarty.const.URL}{$lang_prefix}vacancy/">{$smarty.const.MENU_8}</a></li>
                                  <li><a href="{$smarty.const.URL}{$lang_prefix}training/">{$smarty.const.MENU_9}</a></li>
                                  <li><a href="{$smarty.const.URL}{$lang_prefix}sitemap/">Êàðòà ñàéòà</a></li>
                              </ul>
                              <br/>
                              {*<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>*}
                              {*
                              <br/><br/>
                              <a href="{$smarty.const.URL}{$lang_prefix}" rel="v:url" property="v:title" style="text-decoration:none;color: #3C3C3C;">
                              ÅêñòðåìÑòàéë
                              </a>
                              {if $rubric.id}
                              <span typeof="v:Breadcrumb">
                              >> <a href="{$smarty.const.URL}{$lang_prefix}{$rubric.translit}-catalogs/" rel="v:url" property="v:title" style="text-decoration:none;color: #3C3C3C;">
                              {$rubric.name} &#10102; â Óêðàèíå
                              </a>
                              </span>
                              {/if}
                              {if $product.id}
                              <span typeof="v:Breadcrumb">
                              >> <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">
                              {$product.name}
                              </a>
                              </span>
                              {/if}        
                              *}        
42868d70   andryeyev   Создал GIT
580
581
                          </div>
                          <div class="both"></div>
0ef646d9   andryeyev   + разметка index.tpl
582
                      </div>
42868d70   andryeyev   Создал GIT
583
                  </div>
0ef646d9   andryeyev   + разметка index.tpl
584
585
586
587
588
                  <div id="compare"><a href="{$smarty.const.URL}catalogs/compare/"><span>Ñðàâíèòü</span></a></div>
                  <!-- Back Pay -->
                  {include file="box/pay.tpl"}
                  <!-- Back Pay -->
              </div>
42868d70   andryeyev   Создал GIT
589
          </div>
0ef646d9   andryeyev   + разметка index.tpl
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
          {literal}
          <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');
              
              {/literal}
              {if count($smarty.get.product)>0}
              
              ga('require', 'ecommerce', 'ecommerce.js');
              
              ga('ecommerce:addTransaction', {literal}{{/literal}
              'id': '{$smarty.get.orderID}', // Óíèêàëüíûé ID òðàíçàêöèè (ïàðàìåòð îáÿçàòåëüíî äîëæåí áûòü óíèêàëüíûì)
              'affiliation': 'ExtremStyle.ua',
              'revenue': '{$smarty.get.total}', // îáùàÿ ñóììà çàêàçà
              'shipping': '',
              'tax': '',
              'currency': 'UAH' // local currency code.
              {literal}}{/literal});
              
              
              // Òîâàð (âûâîäèòü äëÿ êàæäîãî òîâàðà èç êàðçèíû) - âûâîäèì äëÿ êàæäîãî òîâàðà â çàêàçå îòäåëüíî ýòîò îáúåêò
              {section name=i loop=$smarty.get.product}
              ga('ecommerce:addItem', {literal}{{/literal}
              'id': '{$smarty.get.orderID}', // Óíèêàëüíûé ID òðàíçàêöèè (ïàðàìåòð îáÿçàòåëüíî äîëæåí áûòü óíèêàëüíûì äëÿ âñåãî çàêàçà îäèí è òîò æå)
              'name': '{$smarty.get.product[i]|exp:0|product:"name"|escape:"html"}', // íàçâàíèå òîâàðà
              'sku': '{$smarty.get.product[i]|exp:0}', // ID òîâàðà
              'category': '{$smarty.get.product[i]|exp:0|product:"rubric_id"|rubric|escape:"html"}', //Êàòåãîðèÿ òîâàðîâ | Áðåíä
              'price': '{$smarty.get.product[i]|exp:2}', //Öåíà òîâàðà
              'quantity': '{$smarty.get.product[i]|exp:1}', //Êîëè÷åñòâî òîâàðà öèôðîé
              'currency': 'UAH' // local currency code.
              {literal}}{/literal});
              {/section}
              // Îòïðàâêà äàííûõ
              ga('ecommerce:send');
              
              
              {/if}
              
              
              
          </script>
          {*
          <script type="text/javascript">
              var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
              document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
          </script>
          <script type="text/javascript">
              try {
              var pageTracker = _gat._getTracker("UA-15799063-3");
              pageTracker._trackPageview();
              } catch(err) {}
          </script>
          *}
          {literal}
          <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 -->
          {/literal}
      </body>
42868d70   andryeyev   Создал GIT
677
  </html>