add files
This commit is contained in:
33
adfox_ad_block_inread_mobile-1.php
Normal file
33
adfox_ad_block_inread_mobile-1.php
Normal file
@@ -0,0 +1,33 @@
|
||||
<?php if(wp_is_mobile()): ?>
|
||||
<?php if((int)get_option('show_ad') == 1): ?>
|
||||
<?php if($_SERVER['HTTP_SIDE'] === 'gprofile'): ?>
|
||||
<!-- /176990977/profile_ru/mobile_inread-1 -->
|
||||
<div id='div-gpt-ad-1670423201900-0' style='min-width: 300px; min-height: 250px;'>
|
||||
<script>
|
||||
googletag.cmd.push(function() { googletag.display('div-gpt-ad-1670423201900-0'); });
|
||||
</script>
|
||||
</div>
|
||||
<?php else: ?>
|
||||
<?php $rand = rand(); ?>
|
||||
<!--montemedia-->
|
||||
<!--Площадка: profile.ru / mobile / mobile_inread1-->
|
||||
<!--Категория: <не задана>-->
|
||||
<!--Тип баннера: 300x250--new-->
|
||||
<div id="adfox_163361814963248588_<?=$rand?>"></div>
|
||||
<script>
|
||||
if (!navigator.userAgent.includes("iPhone")) {
|
||||
window.yaContextCb.push(() => {
|
||||
Ya.adfoxCode.create({
|
||||
ownerId: 242477,
|
||||
containerId: 'adfox_163361814963248588_<?=$rand?>',
|
||||
params: {
|
||||
p1: 'cgvtf',
|
||||
p2: 'gket'
|
||||
}
|
||||
})
|
||||
})
|
||||
}
|
||||
</script>
|
||||
<?php endif; ?>
|
||||
<?php endif; ?>
|
||||
<?php endif; ?>
|
||||
Reference in New Issue
Block a user