Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //<![CDATA[
- // CREATED BY VIRAL OF HTTP://VICTORYROAD.ZETABIN.COM
- var aff = {
- name : 'Affiliates', // title
- image : 'http://i.imgur.com/400Xa.png', // image that goes left to the affiliates
- ours : 'http://i.imgur.com/kTBdi.png', // affiliate button for forum
- newwindow : true, // true opens in new window, false opens in same window
- topsites : [
- [1,0,'right',true], // settings: [speed,hoverspeed,direction,random]
- ['http://w11.zetaboards.com/loveandwar','http://i.imgur.com/Equml.png'],
- ['http://s1.zetaboards.com/Beauxbatons_rpg/index/','http://i.imgur.com/yS3BD.png'],
- ['http://infantrum.co.nr/','http://i35.tinypic.com/s4v2hh.jpg'],['http://w11.zetaboards.com/FSSH/','http://z5.ifrm.com/30116/94/0/p1075122/FSSH_Banner_100x40px.gif'],
- ['http://reversedparadigm.b1.jcink.com/','http://i.imgur.com/nxOF1.jpg']
- ],
- affiliates : [
- [1,0,'left',true], // settings: [speed,hoverspeed,direction,random]
- ['http://s4.zetaboards.com/omnusadversantem/','http://i.imgur.com/NOJfl.jpg'],
- ['http://s1.zetaboards.com/indoolympians','http://i45.tinypic.com/dxb680.jpg'],
- ['http://s1.zetaboards.com/ryokubita/site','http://i39.tinypic.com/o5uqnp.jpg'],
- ['http://www.indohogwartsrpg.com','http://z5.ifrm.com/30033/78/0/f5063243/banneraffi.jpg'],
- ['http://w11.zetaboards.com/tower_prep','http://z5.ifrm.com/30044/41/0/f5114174/TowerPrepLogo.png']
- ], /* STOP EDITING HERE!!! */
- topsite : function(){
- var t = this.topsites;
- var content = t[0][0] == 0 ? '' : '<marquee scrollamount="'+t[0][0]+'" onmouseover="this.setAttribute(\'scrollamount\','+t[0][1]+',0);" onmouseout="this.setAttribute(\'scrollamount\','+t[0][0]+',0);" direction="'+t[0][2]+'">';
- var end = t == 0 ? '' : '</marquee>';
- if(t[0][3] === true)t.sort(this.mix);
- var tL = t.length;
- var target = this.newwindow === true ? 'target="_blank"' : 'target="_self"';
- while(tL--){
- if(t[tL].length == 2) content += '<a href="'+t[tL][0]+'" '+target+'><img src="'+t[tL][1]+'" alt="" width="88" height"31" /></a> ';
- }
- return content + end;
- },
- affiliate : function(){
- var a = this.affiliates;
- var content = a[0][0] == 0 ? '' : '<marquee scrollamount="'+a[0][0]+'" onmouseover="this.setAttribute(\'scrollamount\','+a[0][1]+',0);" onmouseout="this.setAttribute(\'scrollamount\','+a[0][0]+',0);" direction="'+a[0][2]+'">';
- var end = a[0][0] == 0 ? '' : '</marquee>';
- if(a[0][3] === true)a.sort(this.mix);
- var aL = a.length;
- var target = this.newwindow === true ? 'target="_blank"' : 'target="_self"';
- while(aL--){
- if(a[aL].length == 2) content += '<a href="'+a[aL][0]+'" '+target+'><img src="'+a[aL][1]+'" alt="" width="88" height"31" /></a> ';
- }
- return content + end;
- },
- mix : function(){
- return (Math.round(Math.random())-0.5);
- }
- }
- $("#stats table.forums").find("th[colspan=2],td.c_foot").attr("colspan",3).end().find("td").not(".c_mark,.c_foot").attr("colspan",2);
- $("#stats table.forums th:contains(Board Statistics)").parent().before('<tr><th colspan="3">'+aff.name+'</th></tr><tr><td class="c_mark" rowspan="2"><img src="'+aff.image+'" alt="'+aff.name+'" /></td><td>'+aff.affiliate()+'</td><td><a href="'+main_url+'"><img src="'+aff.ours+'" alt="" /></a></td></tr><tr><td>'+aff.topsite()+'</td><td><textarea rows="1" cols="1" style="height:20px;width:88px;"><a href="'+main_url+'"><img src="'+aff.ours+'" alt="" /></a></textarea></td></tr>');
- //]]>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement