mirror of
https://github.com/jcwimer/wrestlingApp
synced 2026-04-08 15:29:20 +00:00
Moved ad provider
This commit is contained in:
@@ -1,10 +1,15 @@
|
|||||||
<% if Rails.env.production? %>
|
<% if Rails.env.production? %>
|
||||||
<div class="ad">
|
<div class="ad">
|
||||||
<% if !user_signed_in? %>
|
<script type="text/javascript">
|
||||||
<% if !current_page?(root_url) and !current_page?(new_user_session_url) and !params[:print] %>
|
(function (){
|
||||||
<script type='text/javascript' src='//eclkmpbn.com/adServe/banners?tid=85597_138467_6&size=158x21'></script>
|
if(window.CHITIKA===undefined) {window.CHITIKA = {'units' :[]};};
|
||||||
<% end %>
|
var unit = {"calltype":"async[2]","publisher":"cwimer","width":120,"height":600,"sid":"Chitika Default"};
|
||||||
<% end %>
|
var placement_id = window.CHITIKA.units.length;
|
||||||
|
window.CHITIKA.units.push(unit);
|
||||||
|
document.write('<div id-"chitikaAdBlock-' + placement_id + '"></div>');
|
||||||
|
}());
|
||||||
|
</script>
|
||||||
|
<script type="text/javascript" src="//cdn.chitika.net/getads.js" async></script>
|
||||||
</div>
|
</div>
|
||||||
<% end %>
|
<% end %>
|
||||||
<div class="afs_ads"> </div>
|
<div class="afs_ads"> </div>
|
||||||
|
|||||||
Reference in New Issue
Block a user