add files
This commit is contained in:
57
template-parts/ad/adfox/ad-inread-3.php
Normal file
57
template-parts/ad/adfox/ad-inread-3.php
Normal file
@@ -0,0 +1,57 @@
|
||||
<!--[ad/adfox/ad-inread-3]-->
|
||||
|
||||
<?php if(wp_is_mobile()): ?>
|
||||
|
||||
<?php if((int)get_option('show_ad') == 1): ?>
|
||||
|
||||
<?php if($_SERVER['HTTP_SIDE'] === 'gprofile'): ?>
|
||||
|
||||
<!-- /176990977/profile_ru/mobile_inread-2 -->
|
||||
|
||||
<div id='div-gpt-ad-1670425550124-0' style='min-width: 300px; min-height: 250px;'>
|
||||
|
||||
<script>
|
||||
|
||||
googletag.cmd.push(function() { googletag.display('div-gpt-ad-1670425550124-0'); });
|
||||
|
||||
</script>
|
||||
|
||||
</div>
|
||||
|
||||
<?php else: ?>
|
||||
|
||||
<div class="d-block d-md-none">
|
||||
|
||||
<?php $rand = rand() . date("U"); ?>
|
||||
|
||||
<!--montemedia-->
|
||||
<!--Площадка: profile.ru / mobile / mobile_inread2-->
|
||||
<!--Категория: <не задана>-->
|
||||
<!--Тип баннера: 300x250--new-->
|
||||
|
||||
<div id="adfox_163361817982441077_<?=$rand?>"></div>
|
||||
|
||||
<script>
|
||||
|
||||
window.yaContextCb.push(()=>{
|
||||
Ya.adfoxCode.create({
|
||||
ownerId: 242477,
|
||||
containerId: 'adfox_163361817982441077_<?=$rand?>',
|
||||
params: {
|
||||
p1: 'cgvth',
|
||||
p2: 'gket'
|
||||
}
|
||||
})
|
||||
})
|
||||
|
||||
</script>
|
||||
|
||||
</div>
|
||||
|
||||
<?php endif; ?>
|
||||
|
||||
<?php endif; ?>
|
||||
|
||||
<?php endif; ?>
|
||||
|
||||
<!--[/ad/adfox/ad-inread-3]-->
|
||||
Reference in New Issue
Block a user