add ex_adv

This commit is contained in:
2024-07-06 20:36:51 +03:00
parent 08094143cb
commit b93f49e259
4 changed files with 124 additions and 79 deletions

View File

@@ -73,24 +73,32 @@ window.yaContextCb.push(()=>{
<?if (LANG_VERSION == 'ru'):?>
<?echo do_shortcode('[custom_ad slot_id="1"]');?>
<?if (function_exists('ex_adv_get_banner')):
$adv_left_1 = ex_adv_get_banner( 2 );
if ($adv_left_1 !== ''):?>
<div class="right-info">
<?=$adv_left_1?>
</div>
<?endif?>
<div class="right-info">
<? banners_conf_display( 'right_240x400_1' ) ?>
</div>
<?$adv_left_2 = ex_adv_get_banner( 4 );
if ($adv_left_2 !== ''):?>
<div class="right-info">
<?=$adv_left_2?>
</div>
<?endif?>
<div class="right-info">
<? banners_conf_display( 'right_240x400_2' ) ?>
</div>
<div class="right-info">
<? banners_conf_display( 'right_240x400_3' ) ?>
</div>
<div class="right-info">
<? banners_conf_display( 'right_240x400_4' ) ?>
</div>
<?$adv_left_3 = ex_adv_get_banner( 5 );
if ($adv_left_3 !== ''):?>
<div class="right-info">
<?=$adv_left_3?>
</div>
<?endif?>
<?endif?>
@@ -130,12 +138,17 @@ window.yaContextCb.push(()=>{
<?if (LANG_VERSION == 'ru'):?>
<div class="mobile-info">
<a href="https://www.youtube.com/channel/UCOXOjXmMNl8eVO4ldrv5c5Q" target="_blank">
<img src="https://vetandlife.ru/wp-content/uploads/2021/10/melano-live.png" width="240" height="200" />
</a>
</div>
<?if (function_exists('ex_adv_get_banner')):
$right_mobail_1 = ex_adv_get_banner( 9 );
if ($right_mobail_1 !== ''):?>
<div class="mobile-info">
<?=$right_mobail_1?>
</div>
<?endif?>
<?endif?>
<?//get_template_part( '/blocks/mosts', null, ['subclass' => 'mob-lite']);?>
<?include VIJ_CACHE.'top_mob.html'?>
@@ -148,24 +161,30 @@ window.yaContextCb.push(()=>{
<?if (LANG_VERSION == 'ru'):?>
<?echo do_shortcode('[custom_ad slot_id="3"]');?>
<div class="mobile-info">
<? banners_conf_display( 'right_240x200_1' ) ?>
</div>
<div class="mobile-info">
<? banners_conf_display( 'right_240x200_2' ) ?>
</div>
<div class="mobile-info">
<? banners_conf_display( 'right_240x200_3' ) ?>
</div>
<div class="mobile-info">
<? banners_conf_display( 'right_240x200_4' ) ?>
</div>
<?if (function_exists('ex_adv_get_banner')):
$left_mobail_1 = ex_adv_get_banner(6);
if ($left_mobail_1 !== ''):?>
<div class="mobile-info">
<?=$left_mobail_1?>
</div>
<?endif?>
<?$left_mobail_2 = ex_adv_get_banner(7);
if ($left_mobail_2 !== ''):?>
<div class="mobile-info">
<?=$left_mobail_2?>
</div>
<?endif?>
<?$left_mobail_3 = ex_adv_get_banner(8);
if ($left_mobail_3 !== ''):?>
<div class="mobile-info">
<?=$left_mobail_3?>
</div>
<?endif?>
<?endif?>