<!DOCTYPE html>
<html lang="ru">
    <head>
        <meta charset="utf-8"/>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
        <meta name="viewport" content="width=device-width, minimum-scale=1, initial-scale=1"/>
        <meta name="yandex-verification" content="22f98955910722f8" />
        <meta name="zen-verification" content="9Ui9YzVJgKUB7bIgRNnAZqdHCNI8v9REm3TDpW0kciEicYyuD640moNznBDbFqcT" />
        <title><?php wp_title('|', true, 'right');?><?=get_bloginfo('name')?></title>
        <meta name="mailru-verification" content="4ede4cc0194a15dc" />
        <meta name="google-site-verification" content="FB27Sl6c9EbSGRQfjtWB8jXItrl3XKwS_zr5q_T4Jz0" />
        <meta property="og:title" content="<?php wp_title('|', true, 'right');?><?=get_bloginfo('name')?>" />
        <link rel="apple-touch-icon" sizes="57x57" href="/apple-icon-57x57.png">
        <link rel="apple-touch-icon" sizes="60x60" href="/apple-icon-60x60.png">
        <link rel="apple-touch-icon" sizes="72x72" href="/apple-icon-72x72.png">
        <link rel="apple-touch-icon" sizes="76x76" href="/apple-icon-76x76.png">
        <link rel="apple-touch-icon" sizes="114x114" href="/apple-icon-114x114.png">
        <link rel="apple-touch-icon" sizes="120x120" href="/apple-icon-120x120.png">
        <link rel="apple-touch-icon" sizes="144x144" href="/apple-icon-144x144.png">
        <link rel="apple-touch-icon" sizes="152x152" href="/apple-icon-152x152.png">
        <link rel="apple-touch-icon" sizes="180x180" href="/apple-icon-180x180.png">
        <link rel="icon" type="image/png" sizes="192x192"  href="/android-icon-192x192.png">
        <link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
        <link rel="icon" type="image/png" sizes="96x96" href="/favicon-96x96.png">
        <link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
        <meta name="msapplication-TileColor" content="#ffffff">
        <meta name="msapplication-TileImage" content="/ms-icon-144x144.png">
        <meta name="theme-color" content="#ffffff">
        <link type="image/x-icon" href="https://vetandlife.ru/favicon.ico" rel="shortcut icon">
        <link type="Image/x-icon" href="https://vetandlife.ru/favicon.ico" rel="icon">
        <link rel="preload" href="/wp-content/themes/vij/pub/fonts/GrtskPeta-Regular.woff2" as="font" type="font/ttf" crossorigin>
        <link rel="preload" href="/wp-content/themes/vij/pub/fonts/GrtskPeta-Bold.woff2" as="font" type="font/ttf" crossorigin>
        <?if (isset($post->ID)):?>
            <meta property="og:description" content="<?=strip_tags(get_the_excerpt( $post->ID ))?>" />
            <?if( has_post_thumbnail()):
                $thumb_id = get_post_thumbnail_id($post->ID);
                $thumb_url = wp_get_attachment_image_src($thumb_id,'large', false);?>
                <meta property="og:image" content="<?=$thumb_url[0]?>">
            <?endif?>   
        <?endif?>    
        <?php wp_head();?>

        <!-- Yandex.RTB -->
<script>window.yaContextCb=window.yaContextCb||[]</script>
<script src="https://yandex.ru/ads/system/context.js" async></script>
<!-- Google Tag Manager -->
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-5TZNL954');</script>
<!-- End Google Tag Manager -->
<!-- Google Tag Manager (noscript) -->
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-5TZNL954"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->
<!-- Top.Mail.Ru counter -->
<script type="text/javascript">
var _tmr = window._tmr || (window._tmr = []);
_tmr.push({id: "3493038", type: "pageView", start: (new Date()).getTime()});
(function (d, w, id) {
  if (d.getElementById(id)) return;
  var ts = d.createElement("script"); ts.type = "text/javascript"; ts.async = true; ts.id = id;
  ts.src = "https://top-fwz1.mail.ru/js/code.js";
  var f = function () {var s = d.getElementsByTagName("script")[0]; s.parentNode.insertBefore(ts, s);};
  if (w.opera == "[object Opera]") { d.addEventListener("DOMContentLoaded", f, false); } else { f(); }
})(document, window, "tmr-code");
</script>
<noscript><div><img src="https://top-fwz1.mail.ru/counter?id=3493038;js=na" style="position:absolute;left:-9999px;" alt="Top.Mail.Ru" /></div></noscript>
<!-- /Top.Mail.Ru counter -->
<script async src="https://jsn.24smi.net/smi.js"></script>
    </head>
    <body>

<!-- Yandex.Metrika counter -->
<script type="text/javascript" >
   (function(m,e,t,r,i,k,a){m[i]=m[i]||function(){(m[i].a=m[i].a||[]).push(arguments)};
   m[i].l=1*new Date();k=e.createElement(t),a=e.getElementsByTagName(t)[0],k.async=1,k.src=r,a.parentNode.insertBefore(k,a)})
   (window, document, "script", "https://mc.yandex.ru/metrika/tag.js", "ym");

   ym(56480275, "init", {
        clickmap:true,
        trackLinks:true,
        accurateTrackBounce:true,
        webvisor:true
   });
</script>
<noscript><div><img src="https://mc.yandex.ru/watch/56480275" style="position:absolute; left:-9999px;" alt="" /></div></noscript>
<!-- /Yandex.Metrika counter -->

<!--LiveInternet counter--><script>
new Image().src = "https://counter.yadro.ru/hit?r"+
escape(document.referrer)+((typeof(screen)=="undefined")?"":
";s"+screen.width+"*"+screen.height+"*"+(screen.colorDepth?
screen.colorDepth:screen.pixelDepth))+";u"+escape(document.URL)+
";h"+escape(document.title.substring(0,150))+
";"+Math.random();</script><!--/LiveInternet-->

        
        
    <?if (defined('TESTMODE') and TESTMODE == 1):?>
        <style>

        #testbanner{
            width: 100%;
            display: block;
            padding: 10px;
        }

            #testbanner img {
                display: block;
                width: 100%;
                max-width: 554px;
                height: 86px;
                margin: auto;
                border: 1px solid black;
                background-color: gray;
                text-align: center;
            }   
            

        </style>

        <div id="testbanner">
            <img /> 
        </div>   

    <?else:?>   

        <?if (function_exists('ex_adv_get_banner')):
            
            $mainbanner = ex_adv_get_banner(1);
            if ($mainbanner !== ''):?>
                <div id="mainbanner">
                    <?=$mainbanner?>
                </div>
            <?endif?>   

            <?$mobanner = ex_adv_get_banner(3);
            if ($mobanner !== ''):?>
                <div id="mobmainbanner">
                    <?=$mobanner?>
                </div>
            <?endif?>   
            
        <?endif?> 
        
       
    <?endif?>   
    
    
    
    
            

        
    <? $lang_version =  lang_version();
                
                if ($lang_version == 'en'){
                    $mainmenu = 'topenmenu'; 
                    $mob_main_menu = 'topmobmenu';
                    
                }
                else {
                    $mainmenu = 'topmenu';
                    $mob_main_menu = 'mob_rubrics';      
                }

        define('LANG_VERSION', $lang_version);       

    ?>        
         
        <?php include TEMPLATEPATH.'/blocks/header.php'; 
        //get_template_part( '/blocks/header.php');?> 
        <?php //include VIJ_CACHE.'header.html'?>        
 
        <?php $subclass = ''; ?>
        
        <div id="main">

        
        <div id="vert-title">
            
            <?if (is_front_page()):?>
                <div id="main-arrow"></div>
            <?endif?>    
             <!--<div>Главное</div>-->       
        </div>

