add files

This commit is contained in:
Andrey Kuvshinov
2025-07-09 21:21:17 +03:00
commit 8fc8cbae32
596 changed files with 207566 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
<!--[ad/revive/ad(zone => <?= $args["zone"] ?>)]-->
<?php
$show_on_mobile = is_null($args["show_on_mobile"]) ? false : $args["show_on_mobile"];
?>
<?= get_banner_by_zone_id($args["zone"], $show_on_mobile) ?>
<!--[/ad/revive/ad(zone => <?= $args["zone"] ?>)]-->

View File

@@ -0,0 +1,30 @@
<!--[ad/revive/sticky-mobile]-->
<?php
$html = load_template_part("template-parts/ad/revive/ad", "", [ "zone" => 13, "show_on_mobile" => true ]);
?>
<?php if( mb_strlen( $html ) !== 0 && substr_count( $html, "<img") > 1 ) : ?>
<div class="container-fluid clearfix position-relative text-center pt-0 pb-3">
<div class="position-relative mx-auto" style="max-width:1040px">
<?= $html ?>
</div>
</div>
<?php else: ?>
<?php get_template_part("template-parts/ad/ad-app") ?>
<?php endif; ?>
<!--[/ad/revive/sticky-mobile]-->

View File

@@ -0,0 +1,24 @@
<!--[ad/revive/top-mobile]-->
<?php
$html = load_template_part("template-parts/ad/revive/ad", "", [ "zone" => 11, "show_on_mobile" => true ]);
?>
<?php if( mb_strlen( $html ) !== 0 && substr_count( $html, "<img") > 1 ) : ?>
<div class="container-fluid clearfix position-relative text-center pt-0 pb-3">
<div class="position-relative mx-auto" style="max-width:1040px">
<?= $html ?>
</div>
</div>
<?php endif; ?>
<!--[/ad/revive/top-mobile]-->

View File

@@ -0,0 +1,24 @@
<!--[ad/revive/top]-->
<?php
$html = load_template_part("template-parts/ad/revive/ad", "", [ "zone" => 11, "show_on_mobile" => false ]);
?>
<?php if( mb_strlen( $html ) !== 0 && substr_count( $html, "<img") > 1 ) : ?>
<div class="container-fluid clearfix position-relative text-center pt-0">
<div class="position-relative mx-auto" style="max-width:1040px">
<?= $html ?>
</div>
</div>
<?php endif; ?>
<!--[/ad/revive/top]-->