add block-cache-manager.php

This commit is contained in:
Andrey Kuvshinov
2025-08-27 00:00:02 +03:00
parent b5595ae76e
commit f3314894aa
12 changed files with 339 additions and 100 deletions

View File

@@ -4,7 +4,7 @@
<div class="container-fluid clearfix">
<div class="row d-flex flex-row">
<div class="col-12 col-sm-2 col-xl-3">
<span class="font-weight-bold">
<span class="font-weight-bold" id="current-date">
<?= date_i18n('j F Y') ?>
</span>
</div>

View File

@@ -1,65 +1,67 @@
<!--[header/header]-->
<!doctype html>
<html class="no-js" <?= language_attributes(); ?>>
<?php get_template_part("template-parts/header/head"); ?>
<body
class="default page-index js-stickybit-parent parent
<?= is_branding() ? " branding" : "" ?>
"
>
<noscript><div><img loading="lazy" src="https://mc.yandex.ru/watch/24504371" style="position:absolute; left:-9999px;" alt="" /></div></noscript>
<?php if( is_branding() ) : ?>
<?php get_template_part("template-parts/header/branding-erid") ?>
<?php endif; ?>
<?php if( wp_is_mobile() ) : ?>
<?php get_template_part("template-parts/header/uparrow") ?>
<?php get_template_part("template-parts/cell-promo") ?>
<?php endif; ?>
<header class="header">
<?php get_template_part("template-parts/header/header-top-line"); ?>
<?php get_template_part("template-parts/nav/header-nav"); ?>
<?php if( !wp_is_mobile() ) : ?>
<?php get_template_part("template-parts/ad/revive/top") ?>
<?php endif; ?>
</header>
<main class="main js-stickybit-parent parent">
<?php if( wp_is_mobile() ) : ?>
<?php get_template_part("template-parts/ad/revive/top-mobile") ?>
<?php endif; ?>
<?php get_template_part("template-parts/header/breadcrumbs") ?>
<?php if(!wp_is_mobile()) : ?>
<div style="margin-bottom: 18px; text-align: center;">
<?php get_template_part("template-parts/ad/revive/ad", "", [ "zone" => 14, "show_on_mobile" => false ]); ?>
</div>
<?php endif; ?>
<div class="container-fluid">
<div class="row clearfix d-block">
<!--[header/header]-->
<!doctype html>
<html class="no-js" <?= language_attributes(); ?>>
<?php get_template_part("template-parts/header/head"); ?>
<body
class="default page-index js-stickybit-parent parent
<?= is_branding() ? " branding" : "" ?>
"
>
<noscript><div><img loading="lazy" src="https://mc.yandex.ru/watch/24504371" style="position:absolute; left:-9999px;" alt="" /></div></noscript>
<?php if( is_branding() ) : ?>
<?php get_template_part("template-parts/header/branding-erid") ?>
<?php endif; ?>
<?php if( wp_is_mobile() ) : ?>
<?php get_template_part("template-parts/header/uparrow") ?>
<?php get_template_part("template-parts/cell-promo") ?>
<?php endif; ?>
<header class="header">
<?php get_template_part("template-parts/header/header-top-line"); ?>
<?php get_template_part("template-parts/nav/header-nav"); ?>
<?php if( !wp_is_mobile() ) : ?>
<?php get_template_part("template-parts/ad/revive/top") ?>
<?php endif; ?>
</header>
<main class="main js-stickybit-parent parent">
<?php if( wp_is_mobile() ) : ?>
<?php get_template_part("template-parts/ad/revive/top-mobile") ?>
<?php endif; ?>
<?php get_template_part("template-parts/header/breadcrumbs") ?>
<?php if( !wp_is_mobile() and is_home() ) : ?>
<div style="margin-bottom: 18px; text-align: center;">
<?php get_template_part("template-parts/ad/revive/ad", "", [ "zone" => 12, "show_on_mobile" => false ]); ?>
</div>
<?php endif; ?>
<div class="container-fluid">
<div class="row clearfix d-block">
<!--[/header/header]-->