lilscoot88 Graphix
 [M:95] member is offline
[M0:13]
Joined: Sept 2008 Gender: Male  Posts: 27 Karma: 0 |  | Re: Suggestions For This Site « Reply #1 on Jan 8, 2009, 8:54pm » | |
Here's a code to a mini-shop on this site
<script type="text/javascript"> <!-- /* YourShop Version 0.3
Copyright 2005-2006 Bradley Nelson a.k.a CCWorld All Rights Reserved
For use on Proboards Boards only. This Header must remain intact at all times. Do not re-post without permission. */
// staff that can mange shop settings var shopAdmin = [ "admin" ];
// staff that can edit money // Note: Users in shopAdmin DO NOT need to be listed here too var shopStaff = [ "ccworld" ];
var moneyName = "ryo"; var moneySym = "$"; var moneyPP = 50; var shopOn = 1; var shopSig = 1; var shopAvatar = 1; var allowDonations = 1; var useButton = 1; var maxItems = -1; // can leave blank "" var buttonUrl = "http://proboards.the-ccw.net/pb/shop/menu/card_shop.gif";
var miniProCompatiblity = 0;var miniProCompatiblity = 1; /*ITMLSTSTRHRE*/ var addOnItems = [ [0,"Basic Axe","http://proboards.the-ccw.net/pb/shop/items/axe.gif",500,"A basic battle axe.",0,1], [1,"Bunch of Balloons #1","http://proboards.the-ccw.net/pb/shop/items/balloonbunch.gif",250,"The first bunch of brightly colored balloons.",0,3], [2,"Blob","http://proboards.the-ccw.net/pb/shop/items/blob.gif",800,"Buy your very own pet blob!",0,4], [3,"Bunny","http://proboards.the-ccw.net/pb/shop/items/bunny.gif",900,"Buy your own pet bunny! Nice and fluffy...",0,4], [4,"Chain Mace","http://proboards.the-ccw.net/pb/shop/items/chainmace.gif",750,"High quality iron chain mace.",0,1], [5,"Cross","http://proboards.the-ccw.net/pb/shop/items/cross.gif",650,"A solid stone cross.",0,2], [6,"Cutlass","http://proboards.the-ccw.net/pb/shop/items/cutlass.gif",800,"A well constructed cutlass.",0,1], [7,"Dagger","http://proboards.the-ccw.net/pb/shop/items/dagger.gif",300,"A short, easily concealible dagger.",0,1], [8,"Dark Blue Balloon","http://proboards.the-ccw.net/pb/shop/items/dbballoon.gif",75,"A dark blue balloon.",0,3], [9,"Double Axe","http://proboards.the-ccw.net/pb/shop/items/doubleaxe.gif",950,"A double sided battle axe.",0,1], [10,"Fire Axe","http://proboards.the-ccw.net/pb/shop/items/fireaxe.gif",850,"An axe enchanted with fire.",0,1], [11,"Fire Sword","http://proboards.the-ccw.net/pb/shop/items/firesword.gif",800,"A sword enchated with fire.",0,1], [12,"Green Balloon","http://proboards.the-ccw.net/pb/shop/items/gballoon.gif",75,"A green balloon.",0,3], [13,"Hammer","http://proboards.the-ccw.net/pb/shop/items/hammer.gif",300,"A strudy metal hammer.",0,2], [14,"Hand Axe","http://proboards.the-ccw.net/pb/shop/items/handaxe.gif",400,"A small, but nice hand axe.",0,1], [15,"Harp","http://proboards.the-ccw.net/pb/shop/items/harp.gif",650,"Make music (or at least noises) with this nice golden harp.",0,2], [16,"Light Blue Balloon","http://proboards.the-ccw.net/pb/shop/items/lbballoon.gif",75,"A light blue balloon.",0,3], [17,"Bow","http://proboards.the-ccw.net/pb/shop/items/makebow.gif",550,"A low quality make-shift bow.",0,1], [18,"Mallet","http://proboards.the-ccw.net/pb/shop/items/mallet.gif",150,"A cheap, wooden mallet.",0,2], [19,"Minning Equipment","http://proboards.the-ccw.net/pb/shop/items/mineeqp.gif",450,"A collection of minning equipment.",0,2], [20,"Purple Balloon","http://proboards.the-ccw.net/pb/shop/items/pballoon.gif",75,"A purple balloon.",0,3], [21,"Penguin","http://proboards.the-ccw.net/pb/shop/items/penguin.gif",1000,"Your very own pet penguin! Straight from the south pole.",0,4], [22,"Red Balloon","http://proboards.the-ccw.net/pb/shop/items/rballoon.gif",75,"A red balloon.",0,3], [23,"Royal Bow","http://proboards.the-ccw.net/pb/shop/items/royalbow.gif",1200,"A very high quality bow with all the accessories you could want.",0,1], [24,"Shovel","http://proboards.the-ccw.net/pb/shop/items/shovel.gif",150,"A simple shovel.",0,2], [25,"Spiked Club","http://proboards.the-ccw.net/pb/shop/items/spikedclub.gif",400,"A basic club covered in spikes.",0,1], [26,"Sword","http://proboards.the-ccw.net/pb/shop/items/sword.gif",650,"The basic sword.",0,1], [27,"Water Sword","http://proboards.the-ccw.net/pb/shop/items/watersword.gif",800,"A sword enchanted with water.",0,1], [28,"Wooden Club","http://proboards.the-ccw.net/pb/shop/items/woodenclub.gif",150,"A thick club of wood.",0,1], [29,"Yellow Balloon","http://proboards.the-ccw.net/pb/shop/items/yballoon.gif",75,"A yellow balloon.",0,3], [30,"Bunch of Balloons #2","http://proboards.the-ccw.net/pb/shop/items/balloonbunch2.gif",250,"The second bunch of brightly colored balloons.",0,3], [31,"Purple Heart Balloon","http://proboards.the-ccw.net/pb/shop/items/phballoon.gif",85,"A purple balloon shaped like a heart.",0,3], [32,"Red Heart Balloon","http://proboards.the-ccw.net/pb/shop/items/rhballoon.gif",90,"A red balloon shaped like a heart.",0,3], [33,"Silver Earings","http://proboards.the-ccw.net/pb/shop/items/searings.gif",1250,"A pair of silver earings.",0,5], [34,"Gold Earings","http://proboards.the-ccw.net/pb/shop/items/gearings.gif",2500,"A high quality pair of gold earings.",0,5], [35,"Empty Potion Bottle","http://proboards.the-ccw.net/pb/shop/items/nopotion.gif",50,"A bottle that could hold a potion, but is instead empty.",0,6], [36,"Red Potion","http://proboards.the-ccw.net/pb/shop/items/redpotion.gif",650,"A bottle contaning a special red potion.",0,6], [37,"Green Potion","http://proboards.the-ccw.net/pb/shop/items/greenpotion.gif",650,"A bottle contaning a special green potion.",0,6], [38,"Blue Potion","http://proboards.the-ccw.net/pb/shop/items/bluepotion.gif",650,"A bottle contaning a special blue potion.",0,6], [39,"Red Pill","http://proboards.the-ccw.net/pb/shop/items/redpill.gif",600,"A single red pill.",0,6], [40,"Red Pills","http://proboards.the-ccw.net/pb/shop/items/redpills.gif",1300,"Three red pills.",0,6], [41,"Blue Pill","http://proboards.the-ccw.net/pb/shop/items/bluepill.gif",600,"A single blue pill.",0,6], [42,"Blue Pills","http://proboards.the-ccw.net/pb/shop/items/bluepills.gif",1500,"Three blue pills.",0,6], [43,"Med Kit","http://proboards.the-ccw.net/pb/shop/items/medkit.gif",1800,"A med kit contaning everything you'd ever need.",0,6], [44,"Brown Cloths","http://proboards.the-ccw.net/pb/shop/items/brownshirt.gif",550,"A brown shirt and a pair of pants.",0,5], [45,"Yellow Cloths","http://proboards.the-ccw.net/pb/shop/items/yellowshirt.gif",550,"A yellow shirt and a pair of pants.",0,5], [46,"Red Cloths","http://proboards.the-ccw.net/pb/shop/items/redshirt.gif",550,"A red shirt and a pair of pants.",0,5], [47,"Purple Cloths","http://proboards.the-ccw.net/pb/shop/items/purpleshirt.gif",550,"A purple shirt and a pair of pants.",0,5], [48,"Green Cloths","http://proboards.the-ccw.net/pb/shop/items/greenshirt.gif",550,"A greem shirt and a pair of pants.",0,5], [49,"Blue Cloths","http://proboards.the-ccw.net/pb/shop/items/blueshirt.gif",550,"A blue shirt and a pair of pants.",0,5], [50,"Black Cloths","http://proboards.the-ccw.net/pb/shop/items/blackshirt.gif",550,"A black shirt and a pair of pants.",0,5], [51,"Small Pile of Coins","http://proboards.the-ccw.net/pb/shop/items/smcoins.gif",500,"A small pile of coins.",2,7], [52,"Medium Pile of Coins","http://proboards.the-ccw.net/pb/shop/items/medcoins.gif",1000,"A medium pile of coins.",2,7], [53,"Large Pile of Coins","http://proboards.the-ccw.net/pb/shop/items/bigcoins.gif",1500,"A large pile of coins.",2,7], [54,"Treasure Chest","http://proboards.the-ccw.net/pb/shop/items/treasure.gif",2500,"A treasure chest fillied with coins.",2,7], [55,"Red Jewel","http://proboards.the-ccw.net/pb/shop/items/redjewel.gif",500,"A shiny red jewel.",0,7], [56,"Blue Jewel","http://proboards.the-ccw.net/pb/shop/items/bluejewel.gif",500,"A shiny blue jewel.",0,7], [57,"Green Jewel","http://proboards.the-ccw.net/pb/shop/items/greenjewel.gif",500,"A shiny green jewel.",0,7]
]; var cMaxItems = 57; /*ITMLSTENDHRE*/ /*SHPITMSTRHRE*/ var shopItems = { title: { available: 1, amount: 3000 }, sig: { available: 1, amount: 550 }, avatar: { available: 1, amount: 100 }, usernameBold: { available: 1, amount: 1000 }, usernameItalic: { available: 1, amount: 1000 }, usernameColor: { available: 1, amount: 1600 }, usernameUline: { available: 1, amount: 900 }, rank: { available: 1, amount: 5000, max: 5 } }; /*SHPITMENDHRE*/ /*SHPRNKSRTHRE*/ var shopRanks = [ [0, "Blue", "http://proboards.the-ccw.net/pb/shop/stars/starblue.gif"], [1, "Red", "http://proboards.the-ccw.net/pb/shop/stars/starred.gif"], [2, "Green", "http://proboards.the-ccw.net/pb/shop/stars/stargreen.gif"], [3, "Small Yellow", "http://proboards.the-ccw.net/pb/shop/stars/star.gif"], [4, "Large Yellow", "http://proboards.the-ccw.net/pb/shop/stars/staryellow.gif"], [5, "Pink", "http://proboards.the-ccw.net/pb/shop/stars/starpink.gif"], [6, "Purple", "http://proboards.the-ccw.net/pb/shop/stars/starpurple.gif"], [7, "Black", "http://proboards.the-ccw.net/pb/shop/stars/starblack.gif"], [8, "Grey", "http://proboards.the-ccw.net/pb/shop/stars/stargrey.gif"], [9, "White", "http://proboards.the-ccw.net/pb/shop/stars/starwhite.gif"] ]; var cMaxRanks = 9; /*SHPRNKENDHRE*/ /*SHPCATSRTHRE*/ var shopCats = [ [1, "Weapons"], [2, "Tools/Other"], [3, "Balloons"], [4, "Animals/Pets"], [5, "Clothing"], [6, "Medical"], [7, "Jewels"] ]; var cMaxCats = 7; /*SHPCATENDHRE*/ //--> </script> <script type="text/javascript" src="http://proboards.the-ccw.net/pb/shop/0.3/main.js"></script>
<script> <!-- /*Forever RPG 1 by FireIndy, may be reposted, but no editing */
var bars = "yes"; //Show bars :yes or no. var barcolor = "green" //Color of the positive bar. var backcolor = "black" //Color of the opposite bar. var pluscolor = "red" //Color of plus sign var widthofbar = "186" //total width of rpg bar pixel wise: use 186 as max amount. dont use % var fontcolor = "white" //Font color var rpg = new Array();
rpg[0] = ["Attack","2","http://s2.images.proboards.com/xx.gif"]; rpg[1]= ["Defense","4","http://s2.images.proboards.com/xx.gif"];
if(location.href.match(/on=(displ|search2|viewpr|pmv|(user)?rece|cal\w+iew)/)){
var td = document.getElementsByTagName("td"); for(i=0;i<td.length;i++){ if(td[i].width == '20%' && td[i].innerHTML.match(/Posts:\s([\d,]+)/i)){ td[i].innerHTML +='<br /><br /><center>RPG Stats<br></center>' for(a=0;a<rpg.length;a++){ var posts = td[i].innerHTML.match(/Posts:\s([\d,]+)/i)? RegExp.$1 : 'N/a'; if(posts.match(/,/g)){ var posts = posts.replace(/,/, ''); } posts = posts*parseInt(rpg[a][1]); var opptotal = parseInt(widthofbar - posts); thetable = ""; if(bars == 'no'){ thetable += '</center><div align="left"><img src="'+rpg[a][2]+'"></img>'+rpg[a][0]+' : '+posts+'<br></div>'; }else{ if((widthofbar > posts) ){ thetable += '</center><div align="left"><img src="'+rpg[a][2]+'"></img>'+rpg[a][0]+' <br></div><table width="'+widthofbar+'" height="9" cellspacing="0" id="barname"><tr><td bgcolor="'+barcolor+'" width="'+posts+'"><center><font size="1" color="'+fontcolor+'">'+posts+'</font><center></td>'; thetable += '<td bgcolor="'+backcolor+'" ><div align="right"><font size="1" color="'+fontcolor+'">'+opptotal+'</font></div></td>'; }else{ thetable += '</center><div align="left"><img src="'+rpg[a][2]+'"></img>'+rpg[a][0]+' <br></div><table width="'+widthofbar+'" height="9" cellspacing="0" id="barname"><tr><td bgcolor="'+barcolor+'" width="'+posts+'"><center><font size="1" color="'+fontcolor+'">'+posts+'<td align="right" bgcolor="'+barcolor+'"><font color="'+pluscolor+'">+</font></td></font><center></td>';
} thetable += '</tr></table>'; } td[i].innerHTML += thetable; } } } } //--> </script>
| |
|