Files
profile/header-new.php

297 lines
23 KiB
PHP
Raw Normal View History

2025-07-09 21:21:17 +03:00
<!doctype html>
<html class="no-js" <?php language_attributes(); ?>>
<head>
<meta charset="<?php bloginfo( 'charset' ); ?>" />
<meta http-equiv="x-ua-compatible" content="ie=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta property="fb:pages" content="245606408830047" />
<meta name="copyright" lang="ru" content="«Профиль»" />
<link rel="manifest" href="/manifest.webmanifest" />
<link rel="apple-touch-icon" href="<?= get_template_directory_uri() ?>/assets/img/Profile_icon_192x192.png" />
<meta name="theme-color" content="#222" />
<?php get_template_part('article', 'styles'); ?>
<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
<link rel="profile" href="https://gmpg.org/xfn/11">
<link rel="icon" href="/favicon.ico" />
<meta name="msvalidate.01" content="13DFD495A6A21226C33225FEE601FE75" />
<script>window.yaContextCb = window.yaContextCb || []</script>
<link rel="alternate" type="application/rss+xml" href="https://profile.ru/feed/short/" />
<title><?php wp_title(); ?></title>
<?php customStyles(); ?>
<?php if(is_user_logged_in()): ?>
<?php get_template_part('admin', 'header'); ?>
<?php endif; ?>
<?php if(get_queried_object_id() == 104418): ?>
<style>
html, body, header {
max-width:100vw!important;
overflow-x:hidden!important;
}
</style>
<?php endif; ?>
<?php
/*$alm_localize_variable = array(
'ajaxurl' => admin_url('admin-ajax.php'),
'alm_nonce' => wp_create_nonce( "ajax_load_more_nonce" ),
'rest_api' => esc_url_raw( rest_url() ),
'rest_nonce' => wp_create_nonce( 'wp_rest' ),
'pluginurl' => ALM_URL,
'scrolltop' => 100,
'speed' => apply_filters('alm_speed', 200),
'ga_debug' => apply_filters('alm_ga_debug', 'false'),
'results_text' => apply_filters('alm_display_results', __('Viewing {post_count} of {total_posts} results.', 'ajax-load-more')),
'no_results_text' => apply_filters('alm_no_results_text', __('No results found.', 'ajax-load-more')),
'alm_debug' => apply_filters('alm_debug', false),
'a11y_focus' => apply_filters('alm_a11y_focus', true)
);
echo "<script>var alm_localize = ".json_encode($alm_localize_variable)."</script>";*/
?>
</head>
<body <?php echo bodyclass(); ?> >
<?php if(!is_user_logged_in() && show_counters()): ?>
<?php get_template_part('counters'); ?>
<?php endif; ?>
<a class="scroll-to-top" href="">
<svg width="40" height="40" class="align-baseline svg-icon">
<use xlink:href="/wp-content/themes/profile/assets/img/sprites-svg/dist/sprite.svg#scroll-to-top"></use>
</svg>
<span>Наверх</span>
</a>
<header class="header">
<div class="container-fluid clearfix">
<div class="row">
<div class="col-12 col-md-4 col-lg-5 col-xl-6">
<div class="d-flex <?php if(wp_is_mobile()): ?>justify-content-between<?php endif; ?> align-items-center">
<div class="d-flex d-md-block <?php if(wp_is_mobile()): ?>flex align-items-center<?php endif; ?> position-relative">
<!--[mobile menu]-->
<div class="d-block d-md-none">
<a class="burger-menu collapsed" href="#burger-menu" data-target="#burger-menu" data-toggle="collapse" aria-expanded="false"><span></span></a>
<div id="burger-menu" class="burger-menu__dd collapse">
<div class="burger-menu__body">
<!--[menu-1]-->
<?php burger_mobile_menu('burger_menu_1'); ?>
<?php burger_mobile_menu('burger_menu_2'); ?>
</div>
<div class="">
<a class="logo" href="/" title="Профиль">
<img loading="lazy" class="lazyload" src="<?= get_template_directory_uri() ?>/assets/img/px.gif" data-src="<?= get_template_directory_uri() ?>/assets/img/profil-logo.webp" width="249" height="55" alt="">
</a>
<div class="header__social clearfix">
<div class="float-xs-none float-md-left">
<a class="float-xs-none float-md-left header__store" href="https://apps.apple.com/ru/app/id6476872853" target="_blank" rel="noopener">
<img loading="lazy" class="lazyload" src="<?= get_template_directory_uri() ?>/assets/img/px.gif" data-src="<?= get_template_directory_uri() ?>/assets/img/appstore.svg" width="90" height="29" alt="" />
</a>
<!--a class="float-xs-none float-md-left header__store" href="https://play.google.com/store/apps/details?id=com.quazarteam.Profile" target="_blank" rel="noopener">
<img loading="lazy" class="lazyload" src="<?= get_template_directory_uri() ?>/assets/img/px.gif" data-src="<?= get_template_directory_uri() ?>/assets/img/googleplay.svg" width="96" height="27" alt="" />
</a-->
</div>
<div class="float-xs-none float-md-right">
<ul class="header__network">
<li>
<span class="icon icon--network">
<!--img class="lazyload" src="<?= get_template_directory_uri() ?>/assets/img/px.gif" class="lazyload" data-src="<?= get_template_directory_uri() ?>/assets/img/profile-network.png" alt="" /-->
</span>
<ul>
<li>
<a class="icon icon--vk" href="https://vk.com/profile_magazine" target="_blank" aria-label="vk.com" rel="noopener">
<svg class="svg-icon">
<use xlink:href="/wp-content/themes/profile/assets/img/sprites-svg/dist/sprite.svg#vk"></use>
</svg>
</a>
</li>
<li>
<a class="icon icon--twitter" href="https://twitter.com/profile_journal" target="_blank" aria-label="twitter.com" rel="noopener">
<svg class="svg-icon">
<use xlink:href="/wp-content/themes/profile/assets/img/sprites-svg/dist/sprite.svg#twitter"></use>
</svg>
</a>
</li>
<li>
<a class="icon icon--twitter" href="tg://resolve?domain=profile_newzzz" target="_blank" aria-label="t.me">
<svg class="svg-icon">
<use xlink:href="/wp-content/themes/profile/assets/img/sprites-svg/dist/sprite.svg#telegram"></use>
</svg>
</a>
</li>
<li>
<a class="icon icon--ok" href="https://ok.ru/profilejournal" target="_blank" aria-label="ok.ru" rel="noopener">
<svg class="" width="30" height="30">
<use xlink:href="/wp-content/themes/profile/assets/img/sprites-svg/dist/sprite.svg#ok"></use>
</svg>
</a>
</li>
<!--li>
<a class="icon icon--youtube" href="https://www.youtube.com/channel/UC9guqBrNYZd1uDNFHzG3UUA" target="_blank" aria-label="youtube.com" rel="noopener">
<svg class="" width="30" height="30">
<use xlink:href="/wp-content/themes/profile/assets/img/sprites-svg/dist/sprite.svg#youtube"></use>
</svg>
</a>
</li-->
<li>
<a class="icon icon--mt" href="https://mirtesen.profile.ru/" target="_blank" aria-label="mirtesen.profile.ru" rel="noopener">
<svg class="" width="30" height="30">
<use xlink:href="/wp-content/themes/profile/assets/img/sprites-svg/dist/sprite.svg#mt"></use>
</svg>
</a>
</li>
<li>
<a class="icon icon--seldon-news" href="https://news.myseldon.com/ru/source/4347477" target="_blank" aria-label="news.myseldon.com" rel="noopener">
<svg class="" width="30" height="30">
<use xlink:href="/wp-content/themes/profile/assets/img/sprites-svg/dist/sprite.svg#seldon-news"></use>
</svg>
</a>
</li>
<li>
<a class="icon icon--google-news" href="https://yandex.ru/chat/#/join/df469fa7-6518-4783-a545-4eed75d1649f" target="_blank" aria-label="Яндекс.Мессенджер" rel="noopener">
<img loading="lazy" class="lazyload" src="<?= get_template_directory_uri() ?>/assets/img/px.gif" data-src="<?= get_template_directory_uri() ?>/assets/img/Yandex_messanger.png" width="30" height="30" alt="Яндекс.Мессенджер" />
</a>
</li>
<li>
<a class="icon icon--feedly" href="https://feedly.com/i/subscription/feed%2Fhttp%3A%2F%2Fwww.profile.ru%2Frss%2Farticles%2Fall" target="_blank" aria-label="feedly.com" rel="noopener">
<svg class="" width="30" height="30">
<use xlink:href="/wp-content/themes/profile/assets/img/sprites-svg/dist/sprite.svg#feedly"></use>
</svg>
</a>
</li>
<li>
<a class="icon icon--mobilnye-prilozheniya" href="https://profile.ru/mobilnye-prilozheniya" target="_blank" aria-label="Profile App">
<svg class="" width="30" height="30">
<use xlink:href="/wp-content/themes/profile/assets/img/sprites-svg/dist/sprite.svg#profil_app_icon"></use>
</svg>
</a>
</li>
<li>
<a class="icon icon--flipboard" href="https://flipboard.com/@profile_ru/profile-ru-o8ldu3sly?from=share" target="_blank" aria-label="flipboard.com" rel="noopener">
<svg class="" width="30" height="30">
<use xlink:href="/wp-content/themes/profile/assets/img/sprites-svg/dist/sprite.svg#flipboard"></use>
</svg>
</a>
</li>
</ul>
</li>
</ul>
</div>
</div>
</div>
</div>
</div>
<!--[/mobile menu]-->
<a class="d-inline-block logo" href="/" title="Профиль">
<?php echo get_site_logo(); ?>
</a>
</div>
<div class="d-block d-md-none">
<a class="nav-link nav-link--feedback" href="/news">Новости</a>
</div>
</div>
</div>
<div class="col-12 col-md-8 col-lg-7 col-xl-6">
<div class="header__social clearfix">
<div class="float-xs-none float-md-left">
<a rel="noopener" class="float-xs-none float-md-left header__store" href="https://apps.apple.com/ru/app/id6476872853" target="_blank">
<img loading="lazy" src="<?= get_template_directory_uri() ?>/assets/img/px.gif" class="lazyload" data-src="<?= get_template_directory_uri() ?>/assets/img/appstore.png" width="103" height="32" alt="" />
</a>
<a rel="noopener" class="float-xs-none float-md-left header__store" href="https://play.google.com/store/apps/details?id=com.quazarteam.Profile" target="_blank">
<img loading="lazy" src="<?= get_template_directory_uri() ?>/assets/img/px.gif" class="lazyload" data-src="<?= get_template_directory_uri() ?>/assets/img/googleplay.png" width="115" height="32" alt="" />
</a>
</div>
<div class="float-xs-none float-md-right">
<ul class="header__network">
<li>
<span class="icon icon--network">
<img loading="lazy" class="lazyload" src="<?= get_template_directory_uri() ?>/assets/img/px.gif" width="111px" height="33px" data-src="<?= get_template_directory_uri() ?>/assets/img/profile-network.png" alt="" />
</span>
<ul>
<li>
<a class="icon icon--vk" href="https://vk.com/profile_magazine" target="_blank" aria-label="vk.com" rel="noopener">
<svg class="svg-icon">
<use xlink:href="/wp-content/themes/profile/assets/img/sprites-svg/dist/sprite.svg#vk"></use>
</svg>
</a>
</li>
<li>
<a class="icon icon--twitter" href="https://twitter.com/profile_journal" target="_blank" aria-label="twitter.com" rel="noopener">
<svg class="svg-icon">
<use xlink:href="/wp-content/themes/profile/assets/img/sprites-svg/dist/sprite.svg#twitter"></use>
</svg>
</a>
</li>
<li>
<a class="icon icon--twitter" href="https://t.me/profilejournal" target="_blank" aria-label="tlgg.ru" rel="noopener">
<svg class="svg-icon">
<use xlink:href="/wp-content/themes/profile/assets/img/sprites-svg/dist/sprite.svg#telegram"></use>
</svg>
</a>
</li>
<li>
<a class="icon icon--ok" href="https://ok.ru/group/54512457482309" target="_blank" aria-label="ok.ru" rel="noopener">
<svg class="" width="30" height="30">
<use xlink:href="/wp-content/themes/profile/assets/img/sprites-svg/dist/sprite.svg#ok"></use>
</svg>
</a>
</li>
<li>
<!--a class="icon icon--youtube" href="https://www.youtube.com/channel/UC9guqBrNYZd1uDNFHzG3UUA" target="_blank" aria-label="youtube.com" rel="noopener">
<svg class="" width="30" height="30">
<use xlink:href="/wp-content/themes/profile/assets/img/sprites-svg/dist/sprite.svg#youtube"></use>
</svg>
</a-->
</li>
<li>
<a class="icon icon--mt" href="https://mirtesen.profile.ru/" target="_blank" aria-label="mirtesen.profile.ru" rel="noopener">
<svg class="" width="30" height="30">
<use xlink:href="/wp-content/themes/profile/assets/img/sprites-svg/dist/sprite.svg#mt"></use>
</svg>
</a>
</li>
<li>
<a class="icon icon--seldon-news" href="https://news.myseldon.com/ru/source/4347477" target="_blank" aria-label="news.myseldon.com" rel="noopener">
<svg class="" width="30" height="30">
<use xlink:href="/wp-content/themes/profile/assets/img/sprites-svg/dist/sprite.svg#seldon-news"></use>
</svg>
</a>
</li>
<li>
<a class="icon icon--google-news" href="/news/">
<img loading="lazy" class="lazyload" src="<?= get_template_directory_uri() ?>/assets/img/px.gif" data-src="<?= get_template_directory_uri() ?>/assets/img/n_news.png" width="30px" height="30px" />
</a>
</li>
<li>
<a class="icon icon--feedly" href="https://feedly.com/i/subscription/feed%2Fhttp%3A%2F%2Fwww.profile.ru%2Frss%2Farticles%2Fall" target="_blank" aria-label="feedly.com" rel="noopener">
<svg class="" width="30" height="30">
<use xlink:href="/wp-content/themes/profile/assets/img/sprites-svg/dist/sprite.svg#feedly"></use>
</svg>
</a>
</li>
<li>
<a class="icon icon--mobilnye-prilozheniya" href="https://profile.ru/mobilnye-prilozheniya" target="_blank" aria-label="Profile App">
<svg class="" width="30" height="30">
<use xlink:href="/wp-content/themes/profile/assets/img/sprites-svg/dist/sprite.svg#profil_app_icon"></use>
</svg>
</a>
</li>
<li>
<a class="icon icon--flipboard" href="https://flipboard.com/@profile_ru/profile-ru-o8ldu3sly?from=share" target="_blank" aria-label="flipboard.com" rel="noopener">
<svg class="" width="30" height="30">
<use xlink:href="/wp-content/themes/profile/assets/img/sprites-svg/dist/sprite.svg#flipboard"></use>
</svg>
</a>
</li>
</ul>
</li>
</ul>
</div>
</div>
</div>
</div>
</div>
</header>
<main class="main">
<div class="container-fluid">