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

?>

    <div id="left">

    
        <div class="menu-left-block-pets">
             <?php wp_nav_menu( array(
	            'menu_class'=>'pets-menu-left',
                'menu' =>'pets-leftmenu'
            ));?>
        </div>        
        

    <?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://rutube.ru/u/pitomcy" target="_blank">       
                <img src="https://vetandlife.ru/wp-content/uploads/2024/08/pets_rutube.jpg" width="240" height="200" /> 
            </a>
        </div>    

        <?get_template_part( '/cats/cats-informer');?>

        <div class="right-info">        
        <!-- Yandex.RTB R-A-4145099-1 -->

</div>
        
    

    <?endif?>

    

    
    </div>

    
    <div id="right">
        
        <?php //include get_template_directory().'/blocks/archive.php';?>
        <?php get_template_part('/blocks/archive-pets');?>

        <?php get_template_part('blocks/formsubscript'); ?>
        
        <?if (LANG_VERSION == 'ru'):?>

            <?if (function_exists('krutilka_placement')){ 
                echo krutilka_placement( 'right-desktop-1', 'right-info' );
            }?>

            <?if (function_exists('ex_adv_get_banner')):?>
    
                 <?$adv_left_2 = ex_adv_get_banner( 4 );
                  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?>    
           
        <?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'):?>  

    <?if (function_exists('krutilka_placement')){ 
        echo krutilka_placement( 'mobile-1', 'mobile-info' );
    }?>

    <?if (function_exists('ex_adv_get_banner')):?>
            
            <?$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?> 

      

<?endif?>     

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




  <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-pets'
            ));?>
            </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 class="footer-info-pets">
           <!-- <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 class="footer-qrs-pets">
            <div class="footer-qr-pets qr-telega-pets">
                    <a href="https://t.me/pitomcy_vetandlife" target="_blank"><img id="img_qr" src = "<?=get_stylesheet_directory_uri()?>/pub/icons/qt-te-pets.svg" width="80" height="80" /></a>
                    <p class="vazh">«Питомцы»<br>Telegram</p>
                </div>
                <div class="footer-qr-pets qr_vk">
                    <a href="https://vk.com/pitomcy_vetandlife" target="_blank"><img id="img_qr" src = "<?=get_stylesheet_directory_uri()?>/pub/icons/qr-vk-pets.svg" width="80" height="80" /></a>
                    <p class="vazh">«Питомцы»<br>ВКонтакте</p>
                </div>
                <div class="footer-qr-pets">
                    <a href="https://dzen.ru/pitomcy_vetandlife?favid=254162793" target="_blank"><img id="img_qr" src = "<?=get_stylesheet_directory_uri()?>/pub/icons/pitomcy_dzen.svg" width="80" height="80" /></a>
                    <p class="vazh">«Питомцы»<br>Дзен</p>
                </div>
        </div>    
        
        <div id="footer-logo-pets">    
               <a  href=""><img src="<?=get_template_directory_uri()?>/pub/icons/pets-logo-2.svg" alt="Питомцы. Все о домашних животных"></a>
        </div>
            
            <div id="footer-contact">
                <div id="head_tel"><a href="tel:79250634">+7 (495) 925 06 34</a></div>
                <div class="footer-mail"><a href="mailto:info@vetandlife.ru">info@vetandlife.ru</a></div>
            </div>
            
        
            <div class="socials-footer-pets">
                <a href="https://rutube.ru/u/pitomcy" target="_blank"><span class="socs soc-rutube"></span></a>
                <a href="https://vk.com/pitomcy_vetandlife" target="_blank"><span class="socs soc-vk"></span></a>
                <a href="https://t.me/pitomcy_vetandlife" target="_blank"><span class="socs soc-tg"></span></a>
                <a href="https://dzen.ru/pitomcy_vetandlife?favid=254162793" target="_blank">
                <svg width="40" height="40" viewBox="0 0 40 40" fill="none" xmlns="http://www.w3.org/2000/svg">
    <circle cx="20" cy="20" r="19.5" stroke="#3B83B5"/>
    <g id="_Слой_1-2">
        <path fill="#3B83B5" d="M20.2,11.8c0,3.3,0.3,5.2,1.5,6.5s3.1,1.5,6.5,1.5C28.1,15.4,24.6,11.9,20.2,11.8z"/>
        <path fill="#3B83B5" d="M18.2,18.2c1.2-1.3,1.5-3.1,1.5-6.5c-4.4,0.1-7.9,3.6-8,8C15.1,19.8,17,19.5,18.2,18.2z"/>
        <path fill="#3B83B5" d="M11.8,20.2c0.1,4.4,3.6,7.9,8,8c0-3.3-0.3-5.2-1.5-6.5S15.1,20.3,11.8,20.2z"/>
        <path fill="#3B83B5" d="M28.2,20.2c-3.3,0-5.2,0.3-6.5,1.5s-1.5,3.1-1.5,6.5C24.6,28.1,28.1,24.6,28.2,20.2L28.2,20.2z"/>
    </g>
    <path fill="#3B83B5" d="M20,1c10.5,0,19,8.5,19,19s-8.5,19-19,19S1,30.5,1,20S9.5,1,20,1 M20,0C9,0,0,9,0,20s9,20,20,20s20-9,20-20 S31,0,20,0z"/>
</svg>


</a>
            </div>          
        </div>
        
        <div id="footer_2">
            <div id="copy">© Журнал Питомцы <?=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">16+</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 style="margin-left: 12px;">
    <!-- 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 style="margin-left: 12px;">
<!--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>
        <?php if (!isset($_COOKIE['cookie_consent_accepted'])) {
        get_template_part('cookie-consent');
    }?>      
    </footer>
    <?php get_template_part( 'partials/formhash' );?>
   
</body>
</html>

