-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathaddiv.php
More file actions
34 lines (31 loc) · 1.54 KB
/
Copy pathaddiv.php
File metadata and controls
34 lines (31 loc) · 1.54 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<?php if (isset($config[0]['adsenabled']) && $config[0]['adsenabled']) { ?>
<div id="adwrapper">
<a class="boxclose" href="javascript:void(0)" onclick="hideAdManual();"></a>
<center>
<div id='top_leaderboard' style="margin:5px auto;display:none;">
<script type='text/javascript'>
if ( $(window).width() >= 740 ) {
$('div#top_leaderboard').css('display','block');
googletag.defineSlot('/8013/denverpost.com/sports', [[728,90]], 'top_leaderboard').setTargeting('pos',['top_leaderboard']).setTargeting('kv', 'broncos_playoffs_2014').addService(googletag.pubads());
googletag.pubads().enableSyncRendering();
googletag.enableServices();
googletag.display('top_leaderboard');
}
</script>
<p>Advertisement</p>
</div>
<div id='mobile_banner' style="margin:0 auto;display:none;">
<script type='text/javascript'>
if ( $(window).width() >= 300 && $(window).width() < 740 ) {
$('div#mobile_banner').css('display','block');
googletag.defineSlot('/8013/denverpost.com/sports', [[300,50]], 'mobile_banner').setTargeting('pos',['sm_banner_mobile_top']).setTargeting('kv', 'broncos_playoffs_2014').addService(googletag.pubads());
googletag.pubads().enableSyncRendering();
googletag.enableServices();
googletag.display('mobile_banner');
}
</script>
<p>Advertisement</p>
</div>
</center>
</div>
<?php } ?>