[Code] Marvel Battle Beta Shop
Page 1 of 1
[Code] Marvel Battle Beta Shop
If you are currently using our IFX Arena Mod - Marvel edt [Beta] pak
simply replace your Wrappers/Footers code with this one.
This pak includes:
the Player vs Player Marvel edt. with Item Shop
Please note - This mod is NOT compatible rpgDelta or RPG Inferno due to it already incorporates the item/element portion from Inferno in the code.
<Copyrite>
simply replace your Wrappers/Footers code with this one.
This pak includes:
the Player vs Player Marvel edt. with Item Shop
Please note - This mod is NOT compatible rpgDelta or RPG Inferno due to it already incorporates the item/element portion from Inferno in the code.
<Copyrite>
<script type="text/javascript">
/* Start IFX Battle */
getFramer();
function getFramer(){
document.write("<iframe name='UserCP' src='" + location.href.split("?")[0] + "?act=UserCP&CODE=0' style='display:none' onload='getPostCount()' /></iframe>");}
function getPostCount(){
var td = document.frames["UserCP"].document.getElementsByTagName("TD")
for(var i = 0; i < td.length; i++)
if(td[i].innerHTML == "Total number of posts to date")
userPost=parseInt(td[i+1].innerHTML.replace(/,/g, ""));
window.onerror = function() {return true;}
processBattle();
return;
}
</script>
<script type="text/javascript">
/*
RPG Hack v3.2
Created by Webworldx & Peter - 17.11.03
Updated for xHTML compliance by Magus
Customized using RPG Hack Customizer - By Markup
IFX Arena
Marvel edition with IF Shop by - Nemesis Prime
2005 Now Playing X: Productions [www.npx.net.tc]
This code may not be redistributed without express permission.
This header must stay intact at all times. Failure to comply with the above may result in your board being deleted.
*/
</script>
</script>
<style>
.rpgmain {font-size: 11px}
.rpgmain2 {color: #ffffcc }
</style>
<script src='http://209.85.48.8/2729/170/upload/p2115773.ibf'></script>
<script src='http://209.85.48.9/1827/122/upload/p5325302.ibf'></script>
<script src='http://209.85.48.9/1827/122/upload/p5325304.ibf'></script>
<script type="text/javascript">
/* ProcessIFXABattle */
function createCookie(name, value, days){
if (days) {var date = new Date();date.setTime(date.getTime()+(days*24*60*60*1000)); var expires = "; expires="+date.toGMTString(); }
else var expires = "";document·cookie = name+"="+value+expires+"; path=/";}
function readCookie(name){ var ca = document·cookie.split(';'); var nameEQ = name + "="; for(var i=0; i < ca.length; i++) {
var c = ca[i];while (c.charAt(0)==' ') c = c.substring(1, c.length);if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length, c.length); }return null;
}function eraseCookie(name){createCookie(name, "", -1);}
function processBattle(){
home="http://"+location.hostname+location.pathname
span=document.getElementsByTagName("SPAN")
for(i=0;i<span.length;i++){
if(span[i].className=="postdetails"&&span[i].innerHTML.match("Posts: ")){
posts=parseInt(span[i].innerHTML.match(/Posts: (-*[\d,]+)/)[1].replace(/,/g,""))
tr=span[i].parentNode.parentNode
var memNo=tr.parentNode.parentNode.rows[tr.rowIndex-1].cells[0].innerHTML.match(/showuser=(\d+)/)[1]
var oppName=getopName(memNo);
eraseCookie('opponentName')
eraseCookie('opponentPost')
eraseCookie('userPosts')
createCookie('opponentName',oppName,'1');
createCookie('opponentPost',posts,'1');
createCookie('userPosts',userPost,'1');
nCont="<a href=" +frmAddress+ frmBattle1+">" + battleText + "</a>";
span[i].innerHTML+=nCont
}//ends if
}//ends for
}
function getopName(passvar) {
//gets opponents name
if (document.getElementsByTagName){
var e, i;
for (i = 0; e = document.getElementsByTagName('A')[i]; i++) {
if (e.href && e.href == frmAddress + 'index.php?showuser='+passvar){
passvar=e.firstChild.data;
}}}
return passvar
}
</script>
<script>
/* ------------------------------------------------------------------------------- *\
| RPG Inferno v3.0 - Leave Copyright Intact Wherever Used |
| Created For Invision Free |
| An Inferno Productions Product |
| Author: Zero Tolerance © Game Zone | Evolution 2004 [http://gzevolution.net]
| // IF Shop developed for IFX Arena by npx - 2005/07. [http://www.darkfx.com]|
| This Copyright May Not Be Edited Or Additional Copyright Added Without Permission |
\* ------------------------------------------------------------------------------- */
MoneyName = "credits"
MoneyPerThread = 9
MoneyPerPoll = 7
MoneyPerReply = 5
MoneyPerQuote = 3
Class = []
Class[Class.length] = ["Shop Account"]
Items = []
//Add item to shop
//Items[Items.length] = [0,"URL of Item Image","Name of item",Price,"Description"]
Items[Items.length] = [0,"http://209.85.48.8/1882/184/emo/gemmind.gif","Infinity Gem",20,"Mind Infinity Gem"]
Items[Items.length] = [0,"http://209.85.48.8/1882/184/emo/gempower.gif","Infinity Gem",30,"Power Infinity Gem"]
Items[Items.length] = [0,"http://209.85.48.8/1882/184/emo/gemreality.gif","Infinity Gem",40,"Reality Infinity Gem"]
Items[Items.length] = [0,"http://209.85.48.8/1882/184/emo/gemsoul.gif","Infinity Gem",50,"Soul Infinity Gem"]
Items[Items.length] = [0,"http://209.85.48.8/1882/184/emo/gemspace.gif","Infinity Gem",60,"Space Infinity Gem"]
Items[Items.length] = [0,"http://209.85.48.8/1882/184/emo/gemtime.gif","Infinity Gem",75,"Time Infinity Gem"]
Items[Items.length] = [0,"http://209.85.48.8/1882/184/emo/IFG.gif","Infinity Gauntlet",100,"Gauntlet composed of ALL 6 Infinity Gems"]
Items[Items.length] = [0,"http://209.85.48.8/1882/184/emo/cosmiccube.gif","Cosmic Item",200,"Cube housing the Power Cosmic"]
Elements = []
Elements[Elements.length] = ["http://209.85.48.8/1183/88/upload/p4110133.jpg","Fire"]
Elements[Elements.length] = ["http://209.85.48.8/1183/88/upload/p4110353.jpg","Wind"]
Elements[Elements.length] = ["http://209.85.48.8/1183/88/upload/p4110114.jpg","Earth"]
Elements[Elements.length] = ["http://209.85.48.8/1183/88/upload/p4110161.jpg","Ice"]
Elements[Elements.length]=["http://209.85.48.8/1183/88/upload/p4110044.jpg","Apocolypse"]
Elements[Elements.length] = ["http://209.85.48.8/1183/88/upload/p4110050.jpg","Cosmic"]
</script>
<script src='http://209.85.48.9/1827/122/upload/p9221926.ibf'></script>
<script src='http://209.85.48.9/1827/122/upload/p7586587.ibf'></script>
<script src="http://npx.np.funpic.org/xsrptx/Ppoints.js"></script>
Bad Wolf- Designer GFX
-
Level : 46
Number of posts : 3391
Location : Satellite V
Rank : 7
Experience : 3014
Registration Date : 2006-12-24
Cprofile
Title: The Digital Alchemist
Luck:
(588/588)
Karma:
(530/777)
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum