Commit 784251f61713c8e6a51a1d745197d4fef53cbc17
1 parent
6e615ea3
add baner ukravin except css
Showing
5 changed files
with
7 additions
and
3 deletions
Show diff stats
src/app/frontend/views/page/type.php
src/app/frontend/views/partial/footer.php
... | ... | @@ -63,7 +63,6 @@ |
63 | 63 | <script type="text/javascript" src="/js/sliderkit/jquery.mousewheel.min.js"></script> |
64 | 64 | <script type="text/javascript" src="/js/sliderkit/jquery.easing.1.3.min.js"></script> |
65 | 65 | |
66 | -<script type="text/javascript" src="http://vk.com/js/api/share.js?90" charset="windows-1251"></script> | |
67 | 66 | |
68 | 67 | <script src="http://maps.google.com/maps/api/js?sensor=false"></script> |
69 | 68 | <?php |
... | ... | @@ -166,6 +165,10 @@ if(!empty($lang)){ |
166 | 165 | $('#dropdown-value').text(goods); |
167 | 166 | $('#dropdown-id').val(hidden.val()); |
168 | 167 | }); |
169 | - | |
168 | + <?php | |
169 | + $url = $this->router->getRewriteUri(); | |
170 | + if(strstr($url, '/dobriva_ta_zasobi_zakhistu_1c0/zasobi_zakhistu_1c1') || strstr($url, '/udobrenija_i_sredstva_zashchity_1c_20/sredstva_zashchity_1c_21')): ?> | |
171 | + $('.zasobi_zakhistu_logo').css('background-size',($(window).width() - 960)/2+'px auto'); | |
172 | + <?php endif; ?> | |
170 | 173 | </script> |
171 | 174 | <script src="/dist/js/cart.min.js"></script> | ... | ... |
src/app/frontend/views/partial/header.php
... | ... | @@ -36,3 +36,4 @@ |
36 | 36 | window._fbq.push(['track', 'PixelInitialized', {}]); |
37 | 37 | </script> |
38 | 38 | <noscript><img height="1" width="1" alt="" style="display:none" src="https://www.facebook.com/tr?id=1463465747264236&ev=PixelInitialized" /></noscript> |
39 | +<script type="text/javascript" src="http://vk.com/js/api/share.js?90" charset="windows-1251"></script> | ... | ... |
476 KB
399 KB