Go to Admin Cp>>Skinning & Styles>>Manage style sheets. Copy out your entire CSS. Now, go here: http://folk.ntnu.no/khanghyv/Arcade/Register.php
In the first blank, type in RBO as your title. then fill out the rest of it. Make sure you paste your CSS into the place where it tells you to. Now after you register, go to Admin Cp>>Skinning & Styles>>Board Wrappers>>Header & Body. Find the <% BOARD %> tag and under it, copy and paste
CODE
<script>
/*
Adding NaviBar Links
By Webworldx
*/
var aLink=new Array()
aLink[0]='<img src="http://img.photobucket.com/albums/v671/xarcade10/atb_arcade.gif" border="0" alt="" /> <a href="http://ragnarokbattle.com/index.php?act=Arcade">Arcade</a>'
var uCell = document.getElementsByTagName('TD')
for (i=0;i<uCell.length;i++){
if (uCell[i].align=="right" && uCell[i].innerHTML.match("act=calendar") && uCell[i].innerHTML.match("act=Help")){
var addLink=""
for (j=0;j<aLink.length;j++){
addLink+=aLink[j]+" "
}
uCell[i].innerHTML=addLink+uCell[i].innerHTML
}}
</script>
<script>
username=getu()
if (location.href.indexOf("act=Arcade") != -1)
{
if(username != "Guest")
{
navstrip.innerHTML+="-> <b><a href='http://ragnarokbattle.com/index.php?act=Arcade'>Arcade</a></b>"
document.write('</div>');
document.write('<center><iframe frameborder=0 src="http://folk.ntnu.no/khanghyv/Arcade/index.php?b=RBO&u=');
document.write(username);
document.write('" scrolling="no" height=1850 width=100%></iframe></center>');
}
if(username=="Guest")
{
document.write('</div>');
document.write('<div class="tableborder"><div class="maintitle">Not Allowed</div><div class="tablepad">Sorry, Guests are not allowed to use the Arcade.</div></div>');
document.write('<br>');
}
}
</script>
/*
Adding NaviBar Links
By Webworldx
*/
var aLink=new Array()
aLink[0]='<img src="http://img.photobucket.com/albums/v671/xarcade10/atb_arcade.gif" border="0" alt="" /> <a href="http://ragnarokbattle.com/index.php?act=Arcade">Arcade</a>'
var uCell = document.getElementsByTagName('TD')
for (i=0;i<uCell.length;i++){
if (uCell[i].align=="right" && uCell[i].innerHTML.match("act=calendar") && uCell[i].innerHTML.match("act=Help")){
var addLink=""
for (j=0;j<aLink.length;j++){
addLink+=aLink[j]+" "
}
uCell[i].innerHTML=addLink+uCell[i].innerHTML
}}
</script>
<script>
username=getu()
if (location.href.indexOf("act=Arcade") != -1)
{
if(username != "Guest")
{
navstrip.innerHTML+="-> <b><a href='http://ragnarokbattle.com/index.php?act=Arcade'>Arcade</a></b>"
document.write('</div>');
document.write('<center><iframe frameborder=0 src="http://folk.ntnu.no/khanghyv/Arcade/index.php?b=RBO&u=');
document.write(username);
document.write('" scrolling="no" height=1850 width=100%></iframe></center>');
}
if(username=="Guest")
{
document.write('</div>');
document.write('<div class="tableborder"><div class="maintitle">Not Allowed</div><div class="tablepad">Sorry, Guests are not allowed to use the Arcade.</div></div>');
document.write('<br>');
}
}
</script>
Now put this code above the <% BOARD %> tag.
CODE
<script>
function getu()
{
if(document.getElementById('userlinks').innerHTML.match('Logged in as:'))
{
get=document.getElementById('userlinks').rows[0].cells[0]
user=get.getElementsByTagName('a')[0].innerHTML
return user
}
else
{
user="Guest"
return user
}
}
if (location.href.indexOf("act=Arcade") != -1) {
document.write('<div style="display:none">')
}
</script>
function getu()
{
if(document.getElementById('userlinks').innerHTML.match('Logged in as:'))
{
get=document.getElementById('userlinks').rows[0].cells[0]
user=get.getElementsByTagName('a')[0].innerHTML
return user
}
else
{
user="Guest"
return user
}
}
if (location.href.indexOf("act=Arcade") != -1) {
document.write('<div style="display:none">')
}
</script>
If this code does not work, tell me and i will try to expand some more. this arcade has an arcade cp just like an admin cp. i think im pretty good with the arcade cp and i an add more games if you would like...i hope you like this arcade!