This topic has been moved from our official support board.
Originally posted by: James_3245 - (vBulletin Styled) S.O.T.W.
-
I made this code for ratemymullet, but I thought InvisionFree might enjoy it too so here;
Place this anywhere. <% STATS %> are recommended. <script> /* This code is copyright to vBulletin.org and DesignSector.org. Created for Invision Power Board (ratemymullet.com) by James.
Please don't remove any copyright for any reasons. You first must ask permission. */ var website = ''; /* InvisionFree Reasons, please enter your domain. */ var topicid = 'Default'; /* Show us the winner's topic! */ var maintitle = 'Default'; /* What will we call the maintitle? */ var userid = 'Default'; /* What's his Member No. */ var avatar = 'Default'; /* Please give us an image of the winner's avatar. */ var username = 'Default'; /* Tell us our winner's name! */ var signature = 'Default'; /* Show us the winner's signature! */ var prize = 'Default'; /* Tell us what the user won inside here. */ var ratimg = 'Default'; /* It's recommended to rate one to five, use the Warning Blocks. */ var opinion = 'Default'; /* How would you rate this work in two words? */
var row1 = 'row1'; /* Edit these accordingly to your skin creator. */ var row2 = 'row2'; /* Edit these accordingly to your skin creator. */ var row3 = 'row3'; /* Edit these accordingly to your skin creator. */ var row4 = 'row4'; /* Edit these accordingly to your skin creator. */
document.write("<table class='tableborder' cellpadding='6' cellspacing='1' border='0' width='100%'><tr><td class='maintitle' colspan='3' style='text-align:center'><a href='"+ website +"/index.php?showtopic="+ topicid +"' title='View the thread'>"+ maintitle +"</a></td></tr><tr><td align='center' class='"+ row2 +"' border='0'>Winner's Avatar</td><td align='center' class='"+ row2 +"' border='0'>Winner's Entry</td><td align='center' class='"+ row2 +"' border='0'>Winner's Prize</td></tr><tr><td align='center' class='"+ row4 +"' border='0'><a href='"+ website +"/index.php?showuser="+ userid +"'><img src='"+ avatar +"' border='0' alt='"+ username +"'s Avatar' /></a></td><td align='center' class='"+ row3 +"' border='0'><img src='"+ signature +"' alt='"+ username +"'s Entry' /></td><td align='center' valign='middle' class='"+ row4 +"' border='0'><fieldset class='fieldset'><legend>Prize</legend><div><b>Name:</b> <a href='"+ website +"/index.php?showuser="+ userid +"'>"+ username +"</a></div><div><b>Prize:</b> "+ prize +"</div><div><b>Admin Rating:</b> <img src='"+ ratimg +"' alt='"+ opinion +"' /></div><div><a href='"+ website +"/index.php?showtopic="+ topicid +"'>Click here to visit the thread.</a></div></fieldset></td></tr></table><br>")
</script>
|