Files
vij/footer.php

330 lines
10 KiB
PHP
Raw Normal View History

2021-09-16 12:14:35 +03:00
<?php
/**
* The template for displaying the footer.
*/
?>
2021-09-28 22:25:21 +03:00
2021-09-16 12:14:35 +03:00
<div id="left">
2021-09-18 01:30:09 +03:00
2021-12-12 19:26:50 +03:00
<?php // include VIJ_CACHE.'leftmenu.html';?>
2023-07-28 11:59:42 +03:00
<?php if (LANG_VERSION == 'en'){
get_blocks_gen( 'left_menu_en' );
} else {
get_blocks_gen( 'left_menu' );
}
//get_template_part( '/blocks/leftmenu');?>
2021-12-12 19:26:50 +03:00
<?if (LANG_VERSION == 'ru'):?>
2021-12-13 13:11:04 +03:00
2023-07-28 11:59:42 +03:00
<?php // get_template_part( '/blocks/opinion', null, ['subclass' => '']);
get_blocks_gen('opinion');
?>
<?php // get_template_part( '/blocks/citats');
2025-04-22 00:54:04 +03:00
get_template_part( '/blocks/pets');
//get_blocks_gen( 'citats' );?>
2021-12-12 19:26:50 +03:00
<?php //include VIJ_CACHE.'opinion.html';?>
<?php //get_template_part( '/blocks/citata', null, ['subclass' => '']);?>
2025-02-27 21:50:47 +03:00
<?php //get_template_part( '/blocks/events');?>
2021-12-12 19:26:50 +03:00
<?php //include VIJ_CACHE.'events.html';?>
2021-12-13 13:11:04 +03:00
2023-12-15 16:52:30 +03:00
<div class="right-info">
<!-- Yandex.RTB R-A-4145099-1 -->
<div id="yandex_rtb_R-A-4145099-1"></div>
<script>
window.yaContextCb.push(()=>{
Ya.Context.AdvManager.render({
"blockId": "R-A-4145099-1",
"renderTo": "yandex_rtb_R-A-4145099-1"
})
})
</script>
</div>
2022-08-16 10:37:55 +03:00
2022-10-14 16:50:33 +03:00
2022-08-16 10:37:55 +03:00
2021-12-13 13:11:04 +03:00
<?endif?>
2021-10-31 13:01:31 +03:00
2021-09-18 01:30:09 +03:00
2021-09-16 12:14:35 +03:00
</div>
2021-09-28 22:25:21 +03:00
2021-09-16 12:14:35 +03:00
2021-09-18 01:30:09 +03:00
<div id="right">
2021-09-16 12:14:35 +03:00
<div id="socials">
2024-06-16 20:05:54 +03:00
<a href="https://vk.com/vizhuvizh" target="_blank"><span class="socs soc-vk"></span></a>
<a href="https://t.me/ViZHuvizh" target="_blank"><span class="socs soc-tg"></span></a>
2025-02-27 21:50:47 +03:00
<a href="https://rutube.ru/channel/42943284/" target="_blank"><span class="socs soc-rutube"></span></a>
2025-09-03 00:00:47 +03:00
<a href="https://dzen.ru/vetandlife" target="_blank"><span class="socs soc-dzen"></span></a>
2021-09-18 01:30:09 +03:00
</div>
2021-11-03 00:34:03 +03:00
<?php include get_template_directory().'/blocks/archive.php';?>
<?php //include VIJ_CACHE.'archive.html'?>
2021-09-24 23:18:38 +03:00
2025-09-03 00:00:47 +03:00
<?if (function_exists('ex_adv_get_banner')):
$adv_left = ex_adv_get_banner( 2 );
if ($adv_left !== ''):?>
<div class="right-info">
<?=$adv_left?>
</div>
<?endif?>
<?endif?>
2024-06-16 16:42:46 +03:00
<?php get_template_part('partials/formsubscript'); ?>
2021-12-13 13:11:04 +03:00
<?if (LANG_VERSION == 'ru'):?>
2022-08-22 19:37:00 +03:00
2024-07-06 20:36:51 +03:00
<?if (function_exists('ex_adv_get_banner')):
2025-09-03 00:00:47 +03:00
$adv_left_2 = ex_adv_get_banner( 4 );
2024-07-06 20:36:51 +03:00
if ($adv_left_2 !== ''):?>
<div class="right-info">
<?=$adv_left_2?>
</div>
<?endif?>
<?$adv_left_3 = ex_adv_get_banner( 5 );
if ($adv_left_3 !== ''):?>
<div class="right-info">
<?=$adv_left_3?>
</div>
<?endif?>
<?endif?>
2024-05-29 10:19:39 +03:00
2023-12-15 16:52:30 +03:00
2021-12-13 13:11:04 +03:00
<?endif?>
2021-11-08 15:17:42 +03:00
2021-11-22 22:22:04 +03:00
2021-12-12 19:26:50 +03:00
<?if (LANG_VERSION == 'en'){
get_template_part( '/blocks/regulation');
}
else {
2023-07-28 11:59:42 +03:00
// get_template_part( '/blocks/zakons');
get_blocks_gen( 'zakons' );
}?>
2023-03-23 13:18:58 +03:00
2021-12-12 19:26:50 +03:00
<?if (LANG_VERSION == 'en'):?>
<?get_template_part( '/blocks/enmosts', null, ['subclass' => '']);?>
<?get_template_part( '/blocks/enmosts', null, ['subclass' => 'mob-lite']);?>
<?else:?>
2022-12-29 07:23:18 +03:00
<?//get_template_part( '/blocks/mosts', null, ['subclass' => '']);?>
<?//get_template_part( '/blocks/mosts', null, ['subclass' => 'mob-lite']);?>
<?include VIJ_CACHE.'top.html'?>
<?//include VIJ_CACHE.'top_mob.html'?>
2022-01-11 23:06:02 +03:00
<?endif?>
2021-11-23 14:43:46 +03:00
<?//php include VIJ_CACHE.'mosts.html';?>
2022-08-16 10:37:55 +03:00
2021-09-18 01:30:09 +03:00
</div>
2022-08-16 10:37:55 +03:00
2021-09-16 12:14:35 +03:00
</div><!-- end main -->
2021-11-22 22:22:04 +03:00
2022-01-13 20:33:50 +03:00
<?if (LANG_VERSION == 'ru'):?>
2021-12-24 18:40:40 +03:00
2024-07-06 20:36:51 +03:00
<?if (function_exists('ex_adv_get_banner')):
$right_mobail_1 = ex_adv_get_banner( 9 );
if ($right_mobail_1 !== ''):?>
<div class="mobile-info">
<?=$right_mobail_1?>
</div>
<?endif?>
<?endif?>
2021-12-25 00:10:28 +03:00
2022-12-29 07:23:18 +03:00
<?//get_template_part( '/blocks/mosts', null, ['subclass' => 'mob-lite']);?>
<?include VIJ_CACHE.'top_mob.html'?>
<?get_template_part( '/blocks/enmosts', null, ['subclass' => 'mob-lite']);?>
2022-08-22 19:37:00 +03:00
2021-12-25 00:10:28 +03:00
<?endif?>
2021-12-24 18:40:40 +03:00
2022-01-13 20:33:50 +03:00
<?php include get_template_directory().'/blocks/mobile-gazeta.php';?>
2021-11-22 22:22:04 +03:00
2021-12-21 15:44:24 +03:00
2022-01-13 20:33:50 +03:00
<?if (LANG_VERSION == 'ru'):?>
2022-12-29 07:23:18 +03:00
2024-07-06 20:36:51 +03:00
<?if (function_exists('ex_adv_get_banner')):
$left_mobail_1 = ex_adv_get_banner(6);
if ($left_mobail_1 !== ''):?>
<div class="mobile-info">
<?=$left_mobail_1?>
</div>
<?endif?>
<?$left_mobail_2 = ex_adv_get_banner(7);
if ($left_mobail_2 !== ''):?>
<div class="mobile-info">
<?=$left_mobail_2?>
</div>
<?endif?>
<?$left_mobail_3 = ex_adv_get_banner(8);
if ($left_mobail_3 !== ''):?>
<div class="mobile-info">
<?=$left_mobail_3?>
</div>
<?endif?>
<?endif?>
2022-01-11 23:06:02 +03:00
2023-11-06 16:21:36 +03:00
2022-01-11 23:06:02 +03:00
2022-01-13 20:33:50 +03:00
<?endif?>
2021-12-21 15:44:24 +03:00
2021-12-28 21:37:04 +03:00
<?php include get_template_directory().'/blocks/mobile-subscript.php';?>
2021-12-21 15:44:24 +03:00
2023-12-15 16:52:30 +03:00
<!-- Yandex.RTB R-A-4145099-4 -->
<script>
window.yaContextCb.push(()=>{
Ya.Context.AdvManager.render({
"blockId": "R-A-4145099-4",
"type": "floorAd",
"platform": "touch"
})
})
</script>
2022-01-13 20:33:50 +03:00
<footer id="footer">
2021-12-10 21:41:57 +03:00
2021-09-20 01:07:53 +03:00
<div id="footer_menu">
<?php wp_footer(); ?>
2021-12-10 21:41:57 +03:00
<?if (LANG_VERSION == 'en'){
$mainmenu = 'topenmenu';
}
else{
$mainmenu = 'topmenu';
}
?>
2021-09-24 23:18:38 +03:00
<div class="footer_sub">
<?php wp_nav_menu( array(
2021-12-10 21:41:57 +03:00
'menu_class' => 'menu_footer',
'menu' => $mainmenu
2021-09-20 01:07:53 +03:00
));?>
2021-09-24 23:18:38 +03:00
</div>
2021-09-20 01:07:53 +03:00
<div id="footer_up">
2021-12-10 18:00:54 +03:00
<a href="#main"><?=vij_lang('up_bth', LANG_VERSION);?>&nbsp;&nbsp;<i class="fas fa-chevron-up"></i></a>
2021-09-20 01:07:53 +03:00
</div>
</div>
2021-09-16 12:14:35 +03:00
<div id="footer_info">
2022-03-29 11:07:00 +03:00
<!-- <div id="footer_qr">
2022-02-15 21:00:14 +03:00
<img id="img_qr" src = "<?=get_stylesheet_directory_uri()?>/pub/icons/qvij.svg" width="100" height="100" />
2021-12-10 21:41:57 +03:00
<p class="vazh"><?=vij_lang('qrtitle', LANG_VERSION);?></p>
2022-03-29 11:07:00 +03:00
</div> -->
2022-04-06 00:10:37 +03:00
2022-03-29 11:07:00 +03:00
<div id="footer_qr">
2022-04-06 00:10:37 +03:00
<div class="footer_qr qr_vk">
<img id="img_qr" src = "<?=get_stylesheet_directory_uri()?>/pub/icons/qr-vk.svg" width="100" height="100" />
<p class="vazh">"ВиЖ"<br>ВКонтакте</p>
</div>
<div class="footer_qr qr_telega">
<img id="img_qr" src = "<?=get_stylesheet_directory_uri()?>/pub/icons/qr-telega.svg" width="100" height="100" />
<p class="vazh">"ВиЖ"<br>Telegram</p>
</div>
</div>
2022-03-29 11:07:00 +03:00
2021-09-28 22:25:21 +03:00
<div id="footer-contact">
2021-09-16 12:14:35 +03:00
<div id="head_tel"><a href="tel:79250634">+7 (495) 925 06 34</a></div>
<div id="head_mail"><a href="mailto:info@vetandlife.ru">info@vetandlife.ru</a></div>
</div>
2021-09-24 23:18:38 +03:00
<div id="footer_logo">
2021-12-13 13:11:04 +03:00
<a href="<?php echo vij_lang('link_version', LANG_VERSION); ?>"><img src = "<?=get_stylesheet_directory_uri().vij_lang('path_logo', LANG_VERSION);?>" alt = "<?=vij_lang('alt_logo', LANG_VERSION);?>" width="180"/></a>
2021-09-24 23:18:38 +03:00
</div>
<div id="footer_subscript">
2021-10-11 22:29:11 +03:00
<button class="sub_button" onclick="location.href='https://vetandlife.ru/subscripts'" type="button">
2021-12-10 18:00:54 +03:00
<?=vij_lang('subscript_btn', LANG_VERSION);?> </button>
2021-09-24 23:18:38 +03:00
</div>
2024-06-16 20:05:54 +03:00
<?php get_template_part('partials/social_footer'); ?>
2021-09-24 23:18:38 +03:00
</div>
<div id="footer_2">
2022-03-29 11:07:00 +03:00
<div id="copy">© <?=vij_lang('copyright', LANG_VERSION);?> <?=date('Y')?></div>
2023-03-23 13:18:58 +03:00
<div>
<?if (is_page(20548)):?>
<?endif?>
</div>
2021-09-24 23:18:38 +03:00
<ul id="svid">
2022-04-26 00:46:54 +03:00
<li><a href="https://vetandlife.ru/rss/news.xml" target="_blank">RSS</a></li>
2021-12-10 18:00:54 +03:00
<li><a href="https://vetandlife.ru/wp-content/uploads/2021/11/vij-roskomnadzor.pdf" target="_blank"><?=vij_lang('svid_smi', LANG_VERSION);?></a></li>
2025-07-04 23:11:22 +03:00
<li><a href="https://vetandlife.ru/politika-v-otnoshenii-obrabotki-i-zashhity-personalnyh-dannyh-ooo-da-vinchi-media/" target="_blank">Политика в отношении обработки и защиты персональных данных</a></li>
2021-09-24 23:18:38 +03:00
</ul>
</div>
<div id="footer_3">
2023-12-29 22:57:25 +03:00
<div class="rating">
<div class=""rating-num>16+</div>
</div>
2023-03-23 13:18:58 +03:00
<div id="pere">
<?=vij_lang('copyright_text', LANG_VERSION);?>
</div>
2023-05-13 00:33:13 +03:00
2023-03-23 13:18:58 +03:00
<div><!--LiveInternet logo--><a href="https://www.liveinternet.ru/click"
2023-05-13 00:33:13 +03:00
target="_blank"><img src="https://counter.yadro.ru/logo?12.1"
title="LiveInternet: number of pageviews for 24 hours, of visitors for 24 hours and for today is shown"
alt="" style="border:0" width="88" height="31"/></a><!--/LiveInternet-->
</div>
2023-03-23 13:18:58 +03:00
2024-04-19 12:00:58 +03:00
<div>
2023-05-13 00:33:13 +03:00
<!-- Yandex.Metrika informer -->
2023-03-23 13:18:58 +03:00
<a href="https://metrika.yandex.ru/stat/?id=56480275&amp;from=informer"
target="_blank" rel="nofollow"><img src="https://informer.yandex.ru/informer/56480275/3_1_FFFFFFFF_EFEFEFFF_0_pageviews"
style="width:88px; height:31px; border:0;" alt="Яндекс.Метрика" title="Яндекс.Метрика: данные за сегодня (просмотры, визиты и уникальные посетители)" class="ym-advanced-informer" data-cid="56480275" data-lang="ru" /></a>
<!-- /Yandex.Metrika informer --></div>
2024-04-15 20:15:22 +03:00
2024-04-19 12:00:58 +03:00
<div>
2024-04-15 20:15:22 +03:00
<!--Rating::top.agroserver.ru counter-->
<a href="https://agroserver.ru/" target="_blank">
<script language="javascript">
var r = escape(document.referrer);
var rd = Math.random();
var pr = 'https://top.agroserver.ru/ct/';
document.write('<img src="'+pr+'?uid=18820&ref='+r+'&rd='+rd+'" width="88" height="31" border="0">');
</script></a>
<!--// Rating::top.agroserver.ru counter-->
</div>
2023-05-13 00:33:13 +03:00
</div>
</div>
2025-06-04 11:21:09 +03:00
<?php if (!isset($_COOKIE['cookie_consent_accepted'])) {
get_template_part('cookie-consent');
}?>
2021-09-16 12:14:35 +03:00
</footer>
2021-09-20 01:07:53 +03:00
2024-06-17 11:30:05 +03:00
<?php get_template_part( 'partials/formhash' );?>
2024-08-27 01:09:00 +03:00
2021-09-16 12:14:35 +03:00
</body>
</html>