http://laska-samp.biz/articles/html/scripts/rtbn | |
°•°•° Ïðîåêò SAMP - Romashka [0.3e] ™18+™ °•°•° :: Òåîðèÿ :: HTML, css, script, MySQL :: script |
<script type="text/javascript">
var mycrib = [];
mycrib[0] = '<a target="_blank" rel="nofollow" href="https://iqoption.com/land/start-trading/ru/?aff=30313&afftrack=ìåíþ ñëåâà" target="_blank"><img src="https://images01.iqoption.com/93/6993/static-04535641273104596993.gif" alt="" width="300" height="250" /></a>'
mycrib[1] = '<a target="_blank" rel="nofollow" href="https://www.vsemayki.ru/?ref=1513936"><img src="http://affiliate.vsemayki.ru//bundles/partner/upload/fb090c4e8ca17aa_20151016161738.jpg" width="300" height="250"/></a>'
mycrib[2] = '<a target="_blank" rel="nofollow" href="http://vlkclub.com/game/dragonship?id=DgCyjkdb&banner_id=4755" title=""><img src="http://ad.gameagregator.com/promo/banners/5bf5ef64306f6ccb379ca89173398242.gif" width="300" height="250" alt=""></a>'
mycrib[3] = '<a target="_blank" rel="nofollow" href="http://warthunder.ru/ru/registration?r=userinvite_33642845"><img width="300" height="250" border="0" src="//advjump.com/promo/06b113f7da08426bf3f4e42429aa9b3e365b64d1eb0a0b0b/" alt="War Thunder" /></a>'
mycrib[4] = '<a target="_blank" rel="nofollow" href="https://www.vsemayki.ru/?ref=1513936" ><img src="http://affiliate.vsemayki.ru//bundles/partner/upload/54421b51900e6c6_20150807111219.jpg" width="300" height="250"/></a>'
mycrib[5] = '<a target="_blank" rel="nofollow" href="https://www.vsemayki.ru/?ref=1513936" ><img src="http://affiliate.vsemayki.ru//bundles/partner/upload/ed291a2a0eac501_20150804122244.jpg" width="300" height="250"/></a>'
mycrib[6] = '<a target="_blank" rel="nofollow" href="https://www.vsemayki.ru/?ref=1513936" ><img src="http://affiliate.vsemayki.ru//bundles/partner/upload/89b7bc127fd2437_20150728153437.jpg" width="300" height="250"/></a>'
mycrib[7] = '<a target="_blank" rel="nofollow" href="https://www.vsemayki.ru/?ref=1513936" ><img src="http://affiliate.vsemayki.ru//bundles/partner/upload/4c52c24d598e551_20150622072819.jpg" width="300" height="250"/></a>'
var x = 0;
function rotate(mycrib) {
while (x < mycrib.length) {
var sort = Math.floor(Math.random() * mycrib.length);
if (mycrib[sort] != 0) {
document.getElementById('adspace').innerHTML = (mycrib[sort]);
mycrib[sort] = 0;
x++;
}
}
}
</script>
<script>
#adspace {
}
#adspace img {
}
</script>
<div id="adspace">
<script type="text/javascript">
rotate(mycrib);
</script>
</div>
ÏÐÈÌÅÐ ÐÀÁÎÒÛ: