head.tpl
6.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="uk" >
<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 rel="stylesheet" type="text/css" href="{$config->url}/css/style.css" />
{if $controller_action eq "products_search" or $controller_action eq "products_view" or $controller_action eq "products_open" or $controller_action eq "info_view" or $controller_action eq "news_index" or $controller_action eq "news_view" or $controller_action eq "error404_index" or $controller_action eq "shops_index" or $controller_action eq "foto_index" or $controller_action eq "foto_view" or $controller_action eq "fotovideo_index" or $controller_action eq "fotovideo_view" or $controller_action eq "code_index"}
<link href="{$config->url}/css/style2.css" rel="stylesheet" type="text/css" />
{/if}
{if $controller_action eq "index_index"}
<script src="{$config->url}/js/jquery.min.js"></script>
<link rel="stylesheet" type="text/css" href="{$config->url}/css/default.css" />
<link rel="stylesheet" type="text/css" href="{$config->url}/css/component.css" />
<script src="{$config->url}/js/modernizr.custom.js"></script>
{* <script src="{$config->url}/js/mw.js"></script>*}
{else}
<script src="{$config->url}/js/jquery-1.5.min.js"></script>
<script src="{$config->url}/js/jquery.flash.min.js"></script>
{/if}
{if $controller_action eq "products_open"}
<script type="text/javascript" src="{$config->url}/js/jsor-jcarousel-7bb2e0a/lib/jquery.jcarousel.min.js"></script>
<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 "foto_view" or $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}
<script type="text/javascript" src="{$config->url}/js/jquery.wookmark.js"></script>
<script type="text/javascript">
$(document).ready(function() {
// Prepare layout options.
var options = {
autoResize: true, // This will auto-update the layout when the browser window is resized.
container: $('#menu_brends'), // Optional, used for some extra CSS styling
offset: 2, // Optional, the distance between grid items
itemWidth: 225 // Optional, the width of a grid item
};
// Get a reference to your grid items.
var handler = $('#menu_brends .row_brend');
// Call the layout function.
handler.wookmark(options);
$('#camera_code').mouseover(function() {
$( "#camera_code" ).append( "<div id='msg'>Ââåä³òü Ñåð³éíèé íîìåð êàìåðè GoPro</div>" );
$('#msg').css({
'position':"absolute",
'top':"10px",
'padding':"10px",
'border-radius':"10px",
'background-color':"#e3e3e3",
'color':"#000000"
});
}).mouseout(function() {
$('#msg').remove();
});
});
</script>
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-47125371-3']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://' : 'http://') + 'stats.g.doubleclick.net/dc.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
</head>
<body>
{literal}
<!-- Yandex.Metrika counter --> <script type="text/javascript"> (function (d, w, c) { (w[c] = w[c] || []).push(function() { try { w.yaCounter33683579 = new Ya.Metrika({id:33683579, webvisor:true, clickmap:true, trackLinks:true, accurateTrackBounce: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, false); } else { f(); } })(document, window, "yandex_metrika_callbacks"); </script> <noscript><div><img src="//mc.yandex.ru/watch/33683579" style="position:absolute; left:-9999px;" alt="" /></div></noscript> <!-- /Yandex.Metrika counter -->
<!-- Yandex.Metrika counter -->
<script type="text/javascript">
(function (d, w, c) {
(w[c] = w[c] || []).push(function() {
try {
w.yaCounter23710348 = new Ya.Metrika({id:23710348,
webvisor:true,
clickmap:true,
trackLinks:true,
accurateTrackBounce: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, false);
} else { f(); }
})(document, window, "yandex_metrika_callbacks");
</script>
<noscript><div><img src="//mc.yandex.ru/watch/23710348" style="position:absolute; left:-9999px;" alt="" /></div></noscript>
<!-- /Yandex.Metrika counter -->
{/literal}