Update ads code: use ads.rock.ru instead of rock.ru/ads and remove noscript section (bots try to index that stuff

This commit is contained in:
Aleksei Miheev
2014-01-05 12:13:59 +00:00
parent ffdcda1479
commit 4edffb1b95
2 changed files with 4 additions and 4 deletions

View File

@@ -153,7 +153,7 @@ function template_main_above()
<div style="text-align: center;"> ';
?>
<script type='text/javascript'><!--//<![CDATA[
var m3_u = (location.protocol=='https:'?'https://rock.ru/ads/www/delivery/ajs.php':'http://rock.ru/ads/www/delivery/ajs.php');
var m3_u = (location.protocol=='https:'?'https://ads.rock.ru/www/delivery/ajs.php':'http://ads.rock.ru/www/delivery/ajs.php');
var m3_r = Math.floor(Math.random()*99999999999);
if (!document.MAX_used) document.MAX_used = ',';
document.write ("<scr"+"ipt type='text/javascript' src='"+m3_u);
@@ -166,7 +166,7 @@ function template_main_above()
if (document.context) document.write ("&context=" + escape(document.context));
if (document.mmm_fo) document.write ("&amp;mmm_fo=1");
document.write ("'><\/scr"+"ipt>");
//]]>--></script><noscript><a href='http://rock.ru/ads/www/delivery/ck.php?n=ae733e87&amp;cb=<?=rand()?>' target='_blank'><img src='http://rock.ru/ads/www/delivery/avw.php?zoneid=1&amp;cb=<?=rand()?>&amp;n=ae733e87' border='0' alt='' /></a></noscript>
//]]>--></script>
<?/*<div><a href="http://www.rotaban.ru/buy/site?rock.ru&a=wekiqo">Купить рекламу на сайте</a></div>*/?>
<?
echo '</div>

View File

@@ -186,7 +186,7 @@ name="description">
<TR>
<TD vAlign=top align="center" class="menucellmiddle" background="IMG/bgleftmenu.gif"><br>
<script type='text/javascript'><!--//<![CDATA[
var m3_u = (location.protocol=='https:'?'https://rock.ru/ads/www/delivery/ajs.php':'http://rock.ru/ads/www/delivery/ajs.php');
var m3_u = (location.protocol=='https:'?'https://ads.rock.ru/www/delivery/ajs.php':'http://ads.rock.ru/www/delivery/ajs.php');
var m3_r = Math.floor(Math.random()*99999999999);
if (!document.MAX_used) document.MAX_used = ',';
document.write ("<scr"+"ipt type='text/javascript' src='"+m3_u);
@@ -199,7 +199,7 @@ name="description">
if (document.context) document.write ("&context=" + escape(document.context));
if (document.mmm_fo) document.write ("&amp;mmm_fo=1");
document.write ("'><\/scr"+"ipt>");
//]]>--></script><noscript><a href='http://rock.ru/ads/www/delivery/ck.php?n=a98684c9&amp;cb=31415' target='_blank'><img src='http://rock.ru/ads/www/delivery/avw.php?zoneid=2&amp;cb=31415&amp;n=a98684c9' border='0' alt='' /></a></noscript>
//]]>--></script>
<script type="text/javascript"><!--<![CDATA[
google_ad_client = "pub-7163001599713810";
/* 120x240, banner-left */