add files
This commit is contained in:
57
template-parts/ad/adfox/ad-inlist-1.php
Normal file
57
template-parts/ad/adfox/ad-inlist-1.php
Normal file
@@ -0,0 +1,57 @@
|
||||
<!--[ad/adfox/ad-inlist-1]-->
|
||||
|
||||
<?php if(wp_is_mobile()): ?>
|
||||
|
||||
<?php if((int)get_option('show_ad') == 1): ?>
|
||||
|
||||
<?php if($_SERVER['HTTP_SIDE'] === 'gprofile'): ?>
|
||||
|
||||
<!-- /176990977/profile_ru/mobile_list1 -->
|
||||
|
||||
<div id='div-gpt-ad-1672142322541-0' style='min-width: 300px; min-height: 250px;'>
|
||||
|
||||
<script>
|
||||
|
||||
googletag.cmd.push(function() { googletag.display('div-gpt-ad-1672142322541-0'); });
|
||||
|
||||
</script>
|
||||
|
||||
</div>
|
||||
|
||||
<?php else: ?>
|
||||
|
||||
<?php $rand = rand() . date("U"); ?>
|
||||
|
||||
<div class="d-block d-md-none col-12 col-md-4 col-xl-3 pb-4 float-left" data-typeitem="ad">
|
||||
|
||||
<!--montemedia-->
|
||||
<!--Площадка: profile.ru / mobile / mobile_list1-->
|
||||
<!--Категория: <не задана>-->
|
||||
<!--Тип баннера: 300x250--new-->
|
||||
|
||||
<div id="adfox_163361799690442230_<?=$rand?>"></div>
|
||||
|
||||
<script>
|
||||
|
||||
window.yaContextCb.push(() => {
|
||||
Ya.adfoxCode.create({
|
||||
ownerId: 242477,
|
||||
containerId: 'adfox_163361799690442230_<?=$rand?>',
|
||||
params: {
|
||||
p1: 'cgvgl',
|
||||
p2: 'gket'
|
||||
}
|
||||
})
|
||||
})
|
||||
|
||||
</script>
|
||||
|
||||
</div>
|
||||
|
||||
<?php endif; ?>
|
||||
|
||||
<?php endif; ?>
|
||||
|
||||
<?php endif; ?>
|
||||
|
||||
<!--[/ad/adfox/ad-inlist-1]-->
|
||||
57
template-parts/ad/adfox/ad-inlist-2.php
Normal file
57
template-parts/ad/adfox/ad-inlist-2.php
Normal file
@@ -0,0 +1,57 @@
|
||||
<!--[ad/adfox/ad-inlist-2]-->
|
||||
|
||||
<?php if(wp_is_mobile()): ?>
|
||||
|
||||
<?php if((int)get_option('show_ad') == 1): ?>
|
||||
|
||||
<?php if($_SERVER['HTTP_SIDE'] === 'gprofile'): ?>
|
||||
|
||||
<!-- /176990977/profile_ru/mobile_list1 -->
|
||||
|
||||
<div id='div-gpt-ad-1672142322541-0' style='min-width: 300px; min-height: 250px;'>
|
||||
|
||||
<script>
|
||||
|
||||
googletag.cmd.push(function() { googletag.display('div-gpt-ad-1672142322541-0'); });
|
||||
|
||||
</script>
|
||||
|
||||
</div>
|
||||
|
||||
<?php else: ?>
|
||||
|
||||
<?php $rand = rand() . date("U"); ?>
|
||||
|
||||
<div class="d-block d-md-none col-12 col-md-4 col-xl-3 pb-4" data-typeitem="ad">
|
||||
|
||||
<!--montemedia-->
|
||||
<!--Площадка: profile.ru / mobile / mobile_list2-->
|
||||
<!--Категория: <не задана>-->
|
||||
<!--Тип баннера: 300x250--new-->
|
||||
|
||||
<div id="adfox_163361803623368908_<?=$rand?>"></div>
|
||||
|
||||
<script>
|
||||
|
||||
window.yaContextCb.push(() => {
|
||||
Ya.adfoxCode.create({
|
||||
ownerId: 242477,
|
||||
containerId: 'adfox_163361803623368908_<?=$rand?>',
|
||||
params: {
|
||||
p1: 'cgvgm',
|
||||
p2: 'gket'
|
||||
}
|
||||
})
|
||||
})
|
||||
|
||||
</script>
|
||||
|
||||
</div>
|
||||
|
||||
<?php endif; ?>
|
||||
|
||||
<?php endif; ?>
|
||||
|
||||
<?php endif; ?>
|
||||
|
||||
<!--[/ad/adfox/ad-inlist-2]-->
|
||||
57
template-parts/ad/adfox/ad-inlist-3.php
Normal file
57
template-parts/ad/adfox/ad-inlist-3.php
Normal file
@@ -0,0 +1,57 @@
|
||||
<!--[ad/adfox/ad-inlist-3]-->
|
||||
|
||||
<?php if(wp_is_mobile()): ?>
|
||||
|
||||
<?php if((int)get_option('show_ad') == 1): ?>
|
||||
|
||||
<?php if($_SERVER['HTTP_SIDE'] === 'gprofile'): ?>
|
||||
|
||||
<!-- /176990977/profile_ru/mobile_list1 -->
|
||||
|
||||
<div id='div-gpt-ad-1672142322541-0' style='min-width: 300px; min-height: 250px;'>
|
||||
|
||||
<script>
|
||||
|
||||
googletag.cmd.push(function() { googletag.display('div-gpt-ad-1672142322541-0'); });
|
||||
|
||||
</script>
|
||||
|
||||
</div>
|
||||
|
||||
<?php else: ?>
|
||||
|
||||
<?php $rand = rand() . date("U"); ?>
|
||||
|
||||
<div class="d-block d-md-none col-12 col-md-4 col-xl-3 pb-4 float-left" data-typeitem="ad">
|
||||
|
||||
<!--montemedia-->
|
||||
<!--Площадка: profile.ru / mobile / mobile_list3-->
|
||||
<!--Категория: <не задана>-->
|
||||
<!--Тип баннера: 300x250--new-->
|
||||
|
||||
<div id="adfox_163361811589116320_<?=$rand?>"></div>
|
||||
|
||||
<script>
|
||||
|
||||
window.yaContextCb.push(() => {
|
||||
Ya.adfoxCode.create({
|
||||
ownerId: 242477,
|
||||
containerId: 'adfox_163361811589116320_<?=$rand?>',
|
||||
params: {
|
||||
p1: 'cgvgn',
|
||||
p2: 'gket'
|
||||
}
|
||||
})
|
||||
})
|
||||
|
||||
</script>
|
||||
|
||||
</div>
|
||||
|
||||
<?php endif; ?>
|
||||
|
||||
<?php endif; ?>
|
||||
|
||||
<?php endif; ?>
|
||||
|
||||
<!--[/ad/adfox/ad-inlist-3]-->
|
||||
57
template-parts/ad/adfox/ad-inread-1.php
Normal file
57
template-parts/ad/adfox/ad-inread-1.php
Normal file
@@ -0,0 +1,57 @@
|
||||
<!--[ad/adfox/ad-inread-1]-->
|
||||
|
||||
<?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: ?>
|
||||
|
||||
<div class="d-block d-md-none">
|
||||
|
||||
<?php $rand = rand() . date("U"); ?>
|
||||
|
||||
<!--montemedia-->
|
||||
<!--Площадка: profile.ru / mobile / mobile_inread1-->
|
||||
<!--Категория: <не задана>-->
|
||||
<!--Тип баннера: 300x250--new-->
|
||||
|
||||
<div id="adfox_163361814963248588_<?=$rand?>"></div>
|
||||
|
||||
<script>
|
||||
|
||||
window.yaContextCb.push(() => {
|
||||
Ya.adfoxCode.create({
|
||||
ownerId: 242477,
|
||||
containerId: 'adfox_163361814963248588_<?=$rand?>',
|
||||
params: {
|
||||
p1: 'cgvtf',
|
||||
p2: 'gket'
|
||||
}
|
||||
})
|
||||
})
|
||||
|
||||
</script>
|
||||
|
||||
</div>
|
||||
|
||||
<?php endif; ?>
|
||||
|
||||
<?php endif; ?>
|
||||
|
||||
<?php endif; ?>
|
||||
|
||||
<!--[/ad/adfox/ad-inread-1]-->
|
||||
57
template-parts/ad/adfox/ad-inread-2.php
Normal file
57
template-parts/ad/adfox/ad-inread-2.php
Normal file
@@ -0,0 +1,57 @@
|
||||
<!--[ad/adfox/ad-inread-2]-->
|
||||
|
||||
<?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-2]-->
|
||||
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]-->
|
||||
33
template-parts/ad/adfox/ad-sticky.php
Normal file
33
template-parts/ad/adfox/ad-sticky.php
Normal file
@@ -0,0 +1,33 @@
|
||||
<!--[ad/adfox/ad-sticky]-->
|
||||
|
||||
<?php if( wp_is_mobile() ) : ?>
|
||||
|
||||
<?php if((int)get_option('show_ad') == 1): ?>
|
||||
|
||||
<!--montemedia-->
|
||||
<!--Площадка: profile.ru / mobile / mobile top-->
|
||||
<!--Категория: <не задана>-->
|
||||
<!--Тип баннера: Перетяжка 100%-->
|
||||
|
||||
<div id="adfox_163361795989236806"></div>
|
||||
|
||||
<script>
|
||||
|
||||
window.yaContextCb.push(()=>{
|
||||
Ya.adfoxCode.create({
|
||||
ownerId: 242477,
|
||||
containerId: 'adfox_163361795989236806',
|
||||
params: {
|
||||
p1: 'cmatl',
|
||||
p2: 'y'
|
||||
}
|
||||
})
|
||||
})
|
||||
|
||||
</script>
|
||||
|
||||
<?php endif; ?>
|
||||
|
||||
<?php endif; ?>
|
||||
|
||||
<!--[/ad/adfox/ad-sticky]-->
|
||||
5
template-parts/ad/adfox/header.php
Normal file
5
template-parts/ad/adfox/header.php
Normal file
@@ -0,0 +1,5 @@
|
||||
<!--[ad/adfox/header]-->
|
||||
|
||||
<script>window.yaContextCb = window.yaContextCb || []</script>
|
||||
|
||||
<!--[/ad/adfox/header]-->
|
||||
Reference in New Issue
Block a user