<?php
/**
 * The template for displaying the footer.
 */

?>

    <div id="left">

        <?php // include VIJ_CACHE.'leftmenu.html';?>
        <?php if (LANG_VERSION == 'en'){
            get_blocks_gen( 'left_menu_en' );
        } else {
            get_blocks_gen( 'left_menu' );
        }
        //get_template_part( '/blocks/leftmenu');?>

    <?if (LANG_VERSION == 'ru'):?>    
        
        <?php  // get_template_part( '/blocks/opinion', null, ['subclass' => '']);
            get_blocks_gen('opinion');
        ?>
        
        <?php // get_template_part( '/blocks/citats');
        get_blocks_gen( 'citats' );?>

        <?php //include VIJ_CACHE.'opinion.html';?>
        <?php //get_template_part( '/blocks/citata', null, ['subclass' => '']);?>
        <?php get_template_part( '/blocks/events');?>
        <?php //include VIJ_CACHE.'events.html';?>
    
        <div class="right-info">
            <a href="https://www.youtube.com/channel/UCOXOjXmMNl8eVO4ldrv5c5Q" target="_blank">       
                <img src="https://vetandlife.ru/wp-content/uploads/2021/10/melano-live.png" width="240" height="200" /> 
            </a>
        </div> 

        <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>
        
    

    <?endif?>

    

    
    </div>

    
    <div id="right">
        <div id="socials">
        
            
            <a href="https://vk.com/vizhuvizh" target="_blank"><i style="color: #3B83B5;" class="fab fa-vk btn_soc"></i></a>
            <a href="https://t.me/ViZHuvizh" target="_blank"><i style="color: #3B83B5;" class="fab fa-telegram-plane btn_soc"></i></a>
            <a href="https://www.youtube.com/c/ВетеринарияиЖизнь" target="_blank"><i style="color: red;" class="fab fa-youtube btn_soc"></i></a>
            
            <!-- <div class="btn soc_vk"></div>
            <div class="soc_btn soc_fb"></div>
            <div class="soc_btn soc_telegram"></div>
            <div class="soc_btn soc_youtube"></div>
            <div class="soc_btn soc_instagram"></div> -->
        </div>  

        <?php include get_template_directory().'/blocks/archive.php';?>
        <?php //include VIJ_CACHE.'archive.html'?>

        <div id="subscript_box">    
            <div id="convert"></div>   
            <div class="right_title"><?=vij_lang('email_title', LANG_VERSION);?></div>

            <div id="subscript-mail">
                <form class="form-right" action="https://vetandlife.ru/subscript" method="post">
                    <input сlass="frm_mail" type="email" required name="email" placeholder="<?=vij_lang('your_mail', LANG_VERSION);?>">
                    <input type="hidden" name="sender" value="info@vetandlife.ru">
                    <button class="frm_submit"><?=vij_lang('email_btn', LANG_VERSION);?></button> 
                </form>
            </div>
        </div> 
        
        <?if (LANG_VERSION == 'ru'):?>

            <?echo do_shortcode('[custom_ad slot_id="1"]');?> 


            <div class="right-info">
                <? banners_conf_display( 'right_240x400_1' ) ?>
            </div>

            <div class="right-info">
                <? banners_conf_display( 'right_240x400_2' ) ?>
            </div>

            <div class="right-info">
                <? banners_conf_display( 'right_240x400_3' ) ?>
            </div>

            <div class="right-info">
                <? banners_conf_display( 'right_240x400_4' ) ?>
            </div>


           
        <?endif?>      
        
            
        <?if (LANG_VERSION == 'en'){
            get_template_part( '/blocks/regulation');
        } 
        else {
           // get_template_part( '/blocks/zakons');
                get_blocks_gen( 'zakons' );
        }?>    
        
        <?if (LANG_VERSION == 'en'):?> 
            <?get_template_part( '/blocks/enmosts', null, ['subclass' => '']);?>
            <?get_template_part( '/blocks/enmosts', null, ['subclass' => 'mob-lite']);?>
        <?else:?>    
            <?//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'?>
        <?endif?>  
        

        <?//php include VIJ_CACHE.'mosts.html';?>

    

</div>


        


  </div><!-- end main -->

  <?if (LANG_VERSION == 'ru'):?> 


<div class="mobile-info">
    <a href="https://www.youtube.com/channel/UCOXOjXmMNl8eVO4ldrv5c5Q" target="_blank">       
        <img src="https://vetandlife.ru/wp-content/uploads/2021/10/melano-live.png" width="240" height="200" /> 
    </a>
</div>  

<?//get_template_part( '/blocks/mosts', null, ['subclass' => 'mob-lite']);?>
<?include VIJ_CACHE.'top_mob.html'?>
<?get_template_part( '/blocks/enmosts', null, ['subclass' => 'mob-lite']);?>

<?endif?>     

<?php include get_template_directory().'/blocks/mobile-gazeta.php';?>


<?if (LANG_VERSION == 'ru'):?>  

    <?echo do_shortcode('[custom_ad slot_id="3"]');?>

    <div class="mobile-info">
        <? banners_conf_display( 'right_240x200_1' ) ?>
    </div> 

    <div class="mobile-info">
        <? banners_conf_display( 'right_240x200_2' ) ?>
    </div> 

    <div class="mobile-info">
        <? banners_conf_display( 'right_240x200_3' ) ?>
    </div> 

    <div class="mobile-info">
        <? banners_conf_display( 'right_240x200_4' ) ?>
    </div>


      

<?endif?>     

<?php include get_template_directory().'/blocks/mobile-subscript.php';?>    

<!-- Yandex.RTB R-A-4145099-4 -->
<script>
window.yaContextCb.push(()=>{
	Ya.Context.AdvManager.render({
		"blockId": "R-A-4145099-4",
		"type": "floorAd",
		"platform": "touch"
	})
})
</script>


  <footer id="footer">  
    
        <div id="footer_menu">
            <?php wp_footer(); ?>

            <?if (LANG_VERSION == 'en'){
                $mainmenu = 'topenmenu'; 
            }
            else{
                $mainmenu = 'topmenu';
            }
            ?>


            <div class="footer_sub">
                <?php wp_nav_menu( array(
	            'menu_class' => 'menu_footer',
                'menu' => $mainmenu
            ));?>
            </div>
            <div id="footer_up">
                <a href="#main"><?=vij_lang('up_bth', LANG_VERSION);?>&nbsp;&nbsp;<i class="fas fa-chevron-up"></i></a>
            </div>    
        </div>  

        <div id="footer_info">
           <!-- <div id="footer_qr">
                <img id="img_qr" src = "<?=get_stylesheet_directory_uri()?>/pub/icons/qvij.svg" width="100" height="100" />
                <p class="vazh"><?=vij_lang('qrtitle', LANG_VERSION);?></p>
            </div> --> 
            
            <div id="footer_qr">
                <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>     
            
            <div id="footer-contact">
                <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>
            <div id="footer_logo">    
               <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>
            </div>
            <div id="footer_subscript">
            <button class="sub_button" onclick="location.href='https://vetandlife.ru/subscripts'" type="button">
            <?=vij_lang('subscript_btn', LANG_VERSION);?> </button>
            </div>   
            <div id="socials_footer">
        
            
            <a href="https://vk.com/vizhuvizh" target="_blank"><i style="color: #3B83B5;" class="fab fa-vk btn_soc"></i></a>
            <a href="https://t.me/ViZHuvizh" target="_blank"><i style="color: #3B83B5;" class="fab fa-telegram-plane btn_soc"></i></a>
            <a href="https://www.youtube.com/c/ВетеринарияиЖизнь" target="_blank"><i style="color: red;" class="fab fa-youtube btn_soc"></i></a>
            
            </div>          
        </div>
        
        <div id="footer_2">
            <div id="copy">© <?=vij_lang('copyright', LANG_VERSION);?> <?=date('Y')?></div> 
            <div>
               <?if (is_page(20548)):?>
                

                <?endif?> 


            </div>
            <ul id="svid">
                <li><a href="https://vetandlife.ru/rss/news.xml" target="_blank">RSS</a></li> 
                <li><a href="https://vetandlife.ru/wp-content/uploads/2021/11/vij-roskomnadzor.pdf" target="_blank"><?=vij_lang('svid_smi', LANG_VERSION);?></a></li>  
                <li><a href="https://vetandlife.ru/wp-content/uploads/2021/10/privacy.pdf" target="_blank"><?=vij_lang('conf_politic', LANG_VERSION);?></a></li>
            </ul>
        </div>
       
        <div id="footer_3">
            <div class="rating">
                <div class=""rating-num>16+</div>
            </div>
            <div id="pere">
                <?=vij_lang('copyright_text', LANG_VERSION);?>
            </div>


            <div><!--LiveInternet logo--><a href="https://www.liveinternet.ru/click"
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>

            <div>
    <!-- Yandex.Metrika informer -->
<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>

<div>
<!--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>
        
</div>            
         

</div>
            
    </footer>



<script type='text/javascript' src="<?php echo get_stylesheet_directory_uri()?>/scripts/burger-menu.js?ver=19"></script>
<script type='text/javascript' src="<?php echo get_stylesheet_directory_uri()?>/scripts/main-arrow.js?ver=1"></script>

</body>
</html>

