159 lines
6.1 KiB
PHP
159 lines
6.1 KiB
PHP
<!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>
|
|
|
|
<?if (defined('TESTMODE') and TESTMODE == 1):?>
|
|
<link rel="stylesheet" href="<?php echo get_template_directory_uri();?>/style-test.css?ver=3">
|
|
<?else:?>
|
|
<link rel="stylesheet" href="<?php echo get_stylesheet_uri();?>?ver=364">
|
|
<?endif?>
|
|
<link href="https://use.fontawesome.com/releases/v5.0.13/css/all.css" rel="stylesheet">
|
|
<!--<link href="<?php echo get_stylesheet_directory_uri()?>/pub/fontawesome.css" rel="stylesheet">-->
|
|
<script type='text/javascript' src="<?php echo get_stylesheet_directory_uri()?>/scripts/jquery-3.6.0.min.js"></script>
|
|
<script type='text/javascript' src="<?php echo get_stylesheet_directory_uri()?>/scripts/golos.js"></script>
|
|
<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">
|
|
<?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();?>
|
|
|
|
|
|
|
|
</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:?>
|
|
|
|
<div id="mainbanner">
|
|
<? banners_conf_display( 'mainbanner' ) ?>
|
|
</div>
|
|
|
|
<div id="mobmainbanner">
|
|
<? banners_conf_display( 'mobmainbanner' ) ?>
|
|
</div>
|
|
|
|
|
|
<?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>
|
|
|