Blame view

views/_layout.tpl 8.21 KB
8d65d0ce   andryeyev   init
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ru" >
  <head>
          <title>{$meta.title|stripslashes}</title>
          <meta http-equiv="Content-Type" content="text/html; charset=windows-1251" />
          <meta http-equiv="content-language" content="ru" />
          <meta name="author" content="ArtWeb Studio" />
          <meta name="description" content="{$meta.description|stripslashes}" />
          <meta name="keywords" content="{$meta.keywords|stripslashes}" />
          <link href="{$config->url}/css/style.css" rel="stylesheet" type="text/css" />
  		<script src="{$config->url}/js/jquery-1.5.min.js"></script>
  		<script src="{$config->url}/js/jquery.flash.min.js"></script>
  		<script src="{$config->url}/js/basket.js"></script>
  		<script src="{$config->url}/js/login.js"></script>
  		<script src="{$config->url}/js/call.js"></script>
  <script type="text/javascript">
  jQuery(function(){
      $('#basket').basket();
  	$('#login').login();
  	$('#call').call();
                  });
  </script>
  		<!--
    jCarousel library
  -->
  <script type="text/javascript" src="{$config->url}/js/jsor-jcarousel-7bb2e0a/lib/jquery.jcarousel.min.js"></script>
  <!--
    jCarousel skin stylesheet
  -->
  <link rel="stylesheet" type="text/css" href="{$config->url}/js/jsor-jcarousel-7bb2e0a/skins/tango/skin.css" />
  <script type="text/javascript">
  jQuery(function(){
      jQuery('#mycarousel,#mycarousel3').jcarousel({ scroll: 1 });
  });
  </script>
  {if $controller_action eq "index_index"}
  <link rel="stylesheet" type="text/css" href="{$config->url}/css/filters.css" />
  <script type="text/javascript" src="{$config->url}/js/filters.js"></script>
  {/if}
  {if $controller_action eq "products_open"}
  <link rel="stylesheet" type="text/css" href="{$config->url}/js/jsor-jcarousel-7bb2e0a/skins/tango/skin2.css" />
  <script src="{$config->url}/js/jcarousel_gall.js"></script>
  <script type="text/javascript">
  jQuery(function(){
  	$('.jcarousel_gall').jcarousel_gall();
      jQuery('#mycarousel2').jcarousel({ scroll: 1 });
  });
  </script>
  <script src="{$config->url}/js/tabs.js"></script>
  {/if}
  
  		{if $controller_action eq "products_view"}
  		<link href="{$config->url}/css/slides.css" rel="stylesheet" type="text/css" />
  		<script src="{$config->url}/js/slides.min.jquery.js"></script>
  		<script>
                  $(function(){
                          $('#slides').slides({
                                  preload: true,
                                  play: 5000,
                                  pause: 2500,
                                  hoverPause: true
                          });
                  });
          </script>
  		{/if}
  		{if $controller_action eq "fotovideo_view" or $product.video_code}
  <link rel="stylesheet" media="screen" href="{$config->url}/js/pirobox/css_pirobox/style_2/style.css" />
  <script type="text/javascript" src="{$config->url}/js/pirobox/js/jquery-ui-1.8.2.custom.min.js"></script>
  <script type="text/javascript" src="{$config->url}/js/pirobox/js/pirobox_extended.js"></script>
  
  <script type="text/javascript">
  $(document).ready(function() {
  	$().piroBox_ext({
  	piro_speed : 700,
  		bg_alpha : 0.5,
  		piro_scroll : true // pirobox always positioned at the center of the page
  	});
  });
  </script>	
  		{/if}
  </head>
  <body>
  
  <div>
  <div class="top"></div>
  <div class="head"><div class="wrp">
  	<div class="logo">
  		<h1><a href="{$url_lang}" title="GoPro"><span>GoPro</span></a></h1>
  	</div>
  	<div class="menu">
  		{$menu_ul}
  	</div>
  	<div id="basket">
  	
  	</div>
  	<div class="contacts">
  		<a id="call" href="#">îáðàòíûé çâîíîê</a>, {if $login.id>0}{$login.name}{else}<a id="login" href="#">âîéòè</a>{/if}<br />
  		Òåë: (096) 012-04-30<br />
  		Òåë: (044) 353-04-30
  	</div>
  	<div class="both"></div>	
  </div></div>
  
  <div class="wrp">
  	<div class="leftbar">
  		<div class="search">
  		<form method="get" action="{$url_lang}/products/search/">
  		Ïîèñê: <input type="text" name="search_str" class="input_form" value="{$smarty.get.search_str}" /> <input type="submit" value="èñêàòü" class="submit2" />
  		</form>
  		</div>
  		<div class="txtbig">Êàòàëîã òîâàðîâ</div>
  		{$catalog_ul}
  
  		{section name=i loop=$catalog_pic}
  		<a href="{$url_lang}/products/{$catalog_pic[i].translit}/" title="{$catalog_pic[i].name}"><img src="{$config->url}/pics/catalog/{$catalog_pic[i].pic}" alt="{$catalog_pic[i].name}" vspace="5" border="0" /></a>
  		{/section}
  	
  {if count($products_view)>0}
  	<div class="title txtbig">Ïðîñìîòðåííûå òîâàðû</div>
  <ul id="mycarousel" class="jcarousel-skin-tango">
  <li>
  {section name=i loop=$products_view}
  <div class="pic-tango">
  <a href="{$url_lang}/products/{$products_view[i].rubric_translit}/{$products_view[i].translit}-{$products_view[i].id}/"><img src="{$config->url}/pics/products/{$products_view[i].pic}" border="0"  width="115" height="115" /></a>
  <a href="{$url_lang}/products/{$products_view[i].rubric_translit}/{$products_view[i].translit}-{$products_view[i].id}/" class="link2">{$products_view[i].name}</a><br />
  <p>öåíà: {$products_view[i].cost} ãðí</p>
  </div>
  {if not ($smarty.section.i.rownum mod 4)}
  
      </li>{if $smarty.section.i.index<count($products_view)-1}<li>{/if}
  
  {/if}
  {/section}
  </li>
  </ul>
  {/if}	
  	
  	
  {if $controller_action eq "index_index"}
        <br /><br />
        <iframe src="http://www.youtube.com/embed/P7GaqCiu0f4?rel=0&amp;autoplay=0&amp;" allowfullscreen="" frameborder="0" width="240" height="135"></iframe>
  		{/if}
  	
  	</div>
  	<div class="content">
  		{include file="$tpl"}
  	</div><div class="both"></div>	
  </div>
  
  <div class="bottom"><div class="wrp">
  	<div class="menu-bottom">
  		{$menu_bottom_ul}
  		<a href="{$url_lang}/products/ekshn_kameryi/">Ýêøí êàìåðû</a> <a href="https://plus.google.com/104039675843344898817"rel="publisher">G+</a>
  	</div>
  </div></div>
  <div class="fotter"><div class="wrp">
  <div class="fr"><a href="http://artweb.ua/" class="link3">ñîçäàíèå ñàéòîâ</a> <img src="{$config->url}/img/artweb.jpg" border="0" width="58" height="17" /></div>
  © 2013, GoPro. Âñå ïðàâà çàùèùåíû
  </div></div>
  {literal}
  <script type="text/javascript">
  
    var _gaq = _gaq || [];
    _gaq.push(['_setAccount', 'UA-24943363-20']);
    _gaq.push(['_trackPageview']);
  
    (function() {
  	var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
  	ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
  	var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
    })();
  
  </script>
  
  <!-- Yandex.Metrika counter -->
  <script type="text/javascript">
  (function (d, w, c) {
  	(w[c] = w[c] || []).push(function() {
  		try {
  			w.yaCounter16084738 = new Ya.Metrika({id:16084738, enableAll: true, webvisor:true});
  		} catch(e) {}
  	});
  	
  	var n = d.getElementsByTagName("script")[0],
  		s = d.createElement("script"),
  		f = function () { n.parentNode.insertBefore(s, n); };
  	s.type = "text/javascript";
  	s.async = true;
  	s.src = (d.location.protocol == "https:" ? "https:" : "http:") + "//mc.yandex.ru/metrika/watch.js";
  
  	if (w.opera == "[object Opera]") {
  		d.addEventListener("DOMContentLoaded", f);
  	} else { f(); }
  })(document, window, "yandex_metrika_callbacks");
  </script>
  <noscript><div><img src="//mc.yandex.ru/watch/16084738" style="position:absolute; left:-9999px;" alt="" /></div></noscript>
  <!-- /Yandex.Metrika counter -->
  
  <!-- Google Code for &#1058;&#1077;&#1075; &#1088;&#1077;&#1084;&#1072;&#1088;&#1082;&#1077;&#1090;&#1080;&#1085;&#1075;&#1072; -->
  <!-- Remarketing tags may not be associated with personally identifiable information or placed on pages related to sensitive categories. For instructions on adding this tag and more information on the above requirements, read the setup guide: google.com/ads/remarketingsetup -->
  <script type="text/javascript">
  /* <![CDATA[ */
  var google_conversion_id = 1001414371;
  var google_conversion_label = "hTqJCPWPpwMQ473B3QM";
  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/1001414371/?value=0&amp;label=hTqJCPWPpwMQ473B3QM&amp;guid=ON&amp;script=0"/>
  </div>
  </noscript>{/literal}
  </body>
  </html>