[Code] Transformers Beta Shop
Page 1 of 1
[Code] Transformers Beta Shop
IFX Arena with Shop Functions
Transformers edition Beta v1.0
If you are currently using the Transformers edt [Beta], simply replace
your Wrappers / Footers:
Other wise you will need to get the <Javascript> from the TF [Beta] post.
and follow the 'Replace Background" Instructions
<Copyrite> (Footers / Wrappers)
Transformers edition Beta v1.0
If you are currently using the Transformers edt [Beta], simply replace
your Wrappers / Footers:
Other wise you will need to get the <Javascript> from the TF [Beta] post.
and follow the 'Replace Background" Instructions
<Copyrite> (Footers / Wrappers)
<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>
<style>
.rpgmain {font-size: 11px}
.rpgmain2 {color: #ffffcc }
</style>
<script src='http://209.85.48.8/2729/170/upload/p2115807.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">
/* ProcessBattle */
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 src="http://npx.np.funpic.org/xsrptx/Rpoints.js"></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]
TF Shop for IFX Arena developed by npx - 2005. [http://www.npx.net.tc]
This Copyright May Not Be Edited with out Permission
\* ------------------------------------------------------------------------------- */
MoneyName = "Energon"
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,"https://img.photobucket.com/albums/v667/DTFX/Item%20Shop/minipanel_black.jpg","Black Micron Key",0,"Black Minicon Pannel"]
Items[Items.length] = [0,"https://img.photobucket.com/albums/v667/DTFX/Item%20Shop/minipanel_blue.jpg","Blue Micron Key",15,"Blue Minicon Pannel"]
Items[Items.length] = [0,"https://img.photobucket.com/albums/v667/DTFX/Item%20Shop/minipanel_gold.jpg","Gold Micron Key",35,"Gold Minicon Pannel"]
Items[Items.length] = [0,"https://img.photobucket.com/albums/v667/DTFX/Item%20Shop/minipanel_orange.jpg","Orange Micron Key",55,"Orange Minicon Pannel"]
Items[Items.length] = [0,"https://img.photobucket.com/albums/v667/DTFX/Item%20Shop/minipanel_purple.jpg","Purple Micron Key",75,"Purple Minicon Pannel"]
Items[Items.length] = [0,"https://img.photobucket.com/albums/v667/DTFX/Item%20Shop/minipanel_red.jpg","Red Micron Key",100,"Red Minicon Pannel"]
Items[Items.length] = [0,"https://img.photobucket.com/albums/v667/DTFX/Item%20Shop/cyb_key_cybertron.gif"," Cybertron Cyber Key",150,"Cyber Key - Cybertron"]
Items[Items.length] = [0,"https://img.photobucket.com/albums/v667/DTFX/Item%20Shop/cyb_key_cybertron_matrix_us.gif","Autobot Cyber Key",150,"Cyber Key - Cybertron (Autobot)"]
Items[Items.length] = [0,"https://img.photobucket.com/albums/v667/DTFX/Item%20Shop/cyb_key_destron.gif","Decepticon Cyber Key",200,"Cyber Key - Cybertron (Decepticon)"]
Items[Items.length] = [0,"https://img.photobucket.com/albums/v667/DTFX/Item%20Shop/cyb_key_earth.gif","Earth Cyber Key",300,"Cyber Key - Earth"]
Items[Items.length] = [0,"https://img.photobucket.com/albums/v667/DTFX/Item%20Shop/cyb_key_speed.gif","Speed Cyber Key",400,"Cyber Key - Speed Planet"]
Items[Items.length] = [0,"https://img.photobucket.com/albums/v667/DTFX/Item%20Shop/cyb_key_jungle.gif","Jungle Cyber Key",500,"Cyber Key - Jungle Planet"]
Items[Items.length] = [0,"https://img.photobucket.com/albums/v667/DTFX/Item%20Shop/cyb_key_universe.gif","Universe Cyber Key",600,"Cyber Key - Universe"]
Items[Items.length] = [0,"https://img.photobucket.com/albums/v667/DTFX/Item%20Shop/cyb_key_mystery_earth.gif","Earth Special Cyber Key",700,"Cyber Key - Earth (mystery)"]
Items[Items.length] = [0,"https://img.photobucket.com/albums/v667/DTFX/Item%20Shop/cyb_key_mystery_jungle.gif","Cyber Key",800,"Jungle Special Cyber Key - Jungle Planet (myster)"]
Items[Items.length] = [0,"https://img.photobucket.com/albums/v667/DTFX/Item%20Shop/cyb_key_sdcc_cybertron.gif","Cybertron Special Cyber Key",900,"Cyber Key - (Autobot Special)"]
Items[Items.length] = [0,"https://img.photobucket.com/albums/v667/DTFX/Item%20Shop/cyb_key_cybertron_soundtrack.gif","TFTM Cyber Key",1000,"Cyber Key - TFTM: Soundtrack"]
Items[Items.length] = [0,"https://img.photobucket.com/albums/v667/DTFX/Item%20Shop/cyb_key_cybertron_matrix.gif","Matrix Cyber Key",1000,"Cyber Key - Matrix Key"]
Items[Items.length] = [0,"https://img.photobucket.com/albums/v667/DTFX/Item%20Shop/cyb_key_giant.gif","Omega Cyber Key",1000,"Cyber Key - Omega Key"]
Items[Items.length] = [0,"https://img.photobucket.com/albums/v667/DTFX/Item%20Shop/matrix.jpg","Matrix",5000,"Matrix of Leadership"]
Elements = []
Elements[Elements.length] = ["http://209.85.48.8/1882/184/emo/Autobots.gif","Autobot"]
Elements[Elements.length] = ["http://209.85.48.8/1882/184/emo/Decepticons.gif","Decepticon"]
Elements[Elements.length] = ["http://209.85.48.8/1882/184/emo/Maximals.gif","Maximal"]
Elements[Elements.length] = ["http://209.85.48.8/1882/184/emo/Predacons.gif","Predacons"]
Elements[Elements.length] = ["https://img.photobucket.com/albums/v667/DTFX/Item%20Shop/sealg2.gif","Darkness"]
Elements[Elements.length] = ["https://img.photobucket.com/albums/v667/DTFX/Item%20Shop/sealbot.gif","Renegade"]
</script>
<script src='http://209.85.48.9/1827/122/upload/p7586455.ibf'></script>
<script src='http://209.85.48.9/1827/122/upload/p7586587.ibf'></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