Post by Blue on Dec 13, 2010 5:25:58 GMT 12
Alright, you can replace all of your codes with these. It has the same codes, your probably have, and more. It has your side bar info and such. Your skin is also here.
Global Headers::
Global Footers
Global Headers::
<script>
<!--
/* Global Header Portion of Border Around Forum with Table - Squirtle
Do not repost, only on Proboards Support
[url]http://squirtlestestsite.proboards.com/[/url] */
document.write('<table width="600px" cellspacing="0" cellpadding="4" class="tpl" align="center"><tr><td width="500px">')
document.getElementsByTagName('td').item(2).style.display="none";
document.getElementsByTagName('font').item(1).style.display="none";
//-->
</script>
<style type="text/css">
.tpl {background-color: #1F1D1D; padding-top: 2em; padding-bottom: 2em;}
</style>
<script type="text/javascript">
//Move "Hey X, you have X" around welcome table
//wooper
var Position = "3"; //set the position. 1 is above everything, 2 is above menu, 3 is below menu
var pm = document.getElementsByTagName('TD')[2];
var hey = pm.getElementsByTagName("FONT")[0].innerHTML;
pm.style.display="none";
if(Position == "1")
{
var cell = document.getElementsByTagName("TABLE")[1].insertRow(0).insertCell(0);
}
if(Position == "2")
{
var cell = document.getElementsByTagName("TABLE")[1].insertRow(1).insertCell(0);
}
if(Position == "3")
{
var cell = document.getElementsByTagName("TABLE")[3].insertRow(1).insertCell(0);
}
cell.colSpan = "2";
cell.align= "center";
cell.height="50";
cell.className = "windowbg";
cell.innerHTML = hey;
</script>
<div id="wel"></div>
<script type="text/javascript">
<!--
var welcomeTable = document.getElementsByTagName("table").item(0);
document.getElementById("wel").appendChild(welcomeTable);
-->
</script>
<style type="text/css">
<!--
#forumjump { display: none; }
-->
</style>
<!-- =====
START Smangii's {LEFT} Side Tables *REVISED*
Global Header
===== -->
<script>
// Resize the welcome table - can be % or a number of pixels
document.getElementsByTagName('table')[0].style.width='927px';
</script>
<style type="text/css">
#sidetables { width: 200px; margin-bottom: 20px; margin-right: 20px; }
</style>
<table width="95%" align="center" cellpadding="0px" cellspacing="0px">
<tr>
<td vAlign="top">
<!-- ===== WELCOME ===== -->
<table id="sidetables" class="bordercolor" cellpadding="4" cellspacing="1">
<tr><td align="center" class="titlebg">
<img src="http://i51.tinypic.com/2qb4xao.jpg">
</td></tr>
<tr><td class="windowbg">
<marquee onmouseover="this.stop()" onmouseout="this.start()" direction="up" scrollamount="2"><blockquote>Hello and welcome to Ghosts of the Past! We are a mature roleplay site that is based on the idea of a Zombie Apocalypse, with a few added perks. GEEA (Genetically Engineering Experiment Agency) have illegally created many different species out of human and animal DNA called GeMocs, or Genetically Modified Creatures. From the same creators came the disease that wiped out a good portion of the world, turning humans and GeMocs alike into violent, rotting beasts which have been given the name of Zombies. All is not lost however.... there is The Source, hidden deep inside GEEA, where the Zombies are thickest. No one knows what it is, or how it can help, but it's there, and it's real and it's unreachable.</blockquote></marquee><br></br>
<center><img src="http://i54.tinypic.com/noioew.jpg"> <img src="http://i54.tinypic.com/noioew.jpg"></center>
</td></tr></table>
<!-- ===== SETTING ===== -->
<table id="sidetables" class="bordercolor" cellpadding="4" cellspacing="1">
<tr><td align="center" class="titlebg">
<img src="http://i55.tinypic.com/aexfsh.jpg">
</td></tr>
<tr><td class="windowbg">
<blockquote>It is currently SPRING.
Slowly warming days, and much warmer nights, spring is full of colour and joy. New animals are being born, trees are regrowing their leaves and blooming in splashes of colour. The days are growing longer, and more and more nights are being spent out on the town. The need for extra blankets isn't over yet, but the cold snap is fleeing, chased by the mere promise of summer.</blockquote>
<center><img src="http://i54.tinypic.com/noioew.jpg"> <img src="http://i54.tinypic.com/noioew.jpg"></center>
</td></tr></table>
<!-- ===== DISCLAIMER ===== -->
<table id="sidetables" cellpadding="4px" class="bordercolor" cellspacing="1">
<tr><td align="center" class="titlebg">
<img src="http://i54.tinypic.com/zwcoqo.jpg">
</td></tr>
<tr><td class="windowbg">
<blockquote>This website is trademarked by the creator, and all ideas are also. Characters are claimed by their creators, and all posts to their participants. Skin is By Blue of <a href="Prophecy of the Night"</a> </blockquote>
<center><img src="http://i54.tinypic.com/noioew.jpg"> <img src="http://i54.tinypic.com/noioew.jpg"></center>
</td></tr></table>
<! -- ***NOTE*** Place any extra added side tables above this line // -->
</td><td align="center" vAlign="top" width="100%">
<script type="text/javascript">
<!--
/*
* Dynamically Tabbed Welcome Table v2
* Generated by the DTT Generator
* Created By Jordan a.k.a. Triad
* http://support.proboards.com
*/
var DTT = {
selected:
{
id: "updates",
listItem: {}
},
$: function(id)
{
if(id)
return document.getElementById(id);
return false;
},
init: function()
{
var tCookie = this.getCookie();
if(tCookie.tab)
{
this.toggleTab(tCookie.tab);
}
if(tCookie.show == "0")
{
this.$("pro_collapse").style.display = "none";
}
},
setCookie: function(tab, show)
{
var tTab = "";
var tShow = "";
var tCookie = this.getCookie();
if(tab)
tTab = tab;
else
tTab = (tCookie.tab) ? tCookie.tab : this.selected.id;
if(show)
tShow = show;
else
tShow = (tCookie.show) ? tCookie.show : "1";
document.cookie = "DTTData=tab=" + encodeURI(tTab) + "|show=" + encodeURI(tShow) + ";expires=Sat, 20 Jan 3000 12:12:12 UTC; path=/;";
},
getCookie: function()
{
if(document.cookie.match(new RegExp("DTTData=(.+?)($|;)","gi")))
{
var data = decodeURI(RegExp.$1);
return {
tab: data.split("=")[1].split("|")[0],
show: data.split("=")[2]
};
}
return false;
},
toggleTab: function(id)
{
var newID = id.substr(4);
if(this.selected.id != newID && this.$(id))
{
if(this.$("nav_" + this.selected.id))
{
this.$("nav_" + this.selected.id).className = "tabbg";
this.$("pro_" + this.selected.id).style.display = "none";
}
this.selected.id = newID;
this.$("nav_" + this.selected.id).className = "tabbgselected";
this.$("pro_" + this.selected.id).style.display = "";
this.setCookie(id, false);
}
},
toggleTable: function()
{
if(this.$("pro_collapse").style.display == "")
{
this.$("pro_collapse").style.display = "none";
this.setCookie(false, "0");
}
else
{
this.$("pro_collapse").style.display = "";
this.setCookie(false, "1");
}
},
toggleListItem: function(id, name)
{
if(this.selected.listItem[id])
{
if(this.selected.listItem[id].name == name)
{
if(this.selected.listItem[id].object.style.display == "")
{
this.selected.listItem[id].object.style.display = "none";
this.$("pro_" + id + "_default").style.display = "";
}
else
{
this.$("pro_" + id + "_default").style.display = "none";
this.selected.listItem[id].object.style.display = "";
}
return true;
}
else
this.selected.listItem[id].object.style.display = "none";
}
this.selected.listItem[id] = {
name: name,
object: this.$("pro_" + id + "_" + name)
};
this.$("pro_" + id + "_default").style.display = "none";
this.selected.listItem[id].object.style.display = "";
}
};
//-->
</script>
<style type="text/css">
<!--
.tabbg {
background-color: #542323;
border-bottom: 1px solid #1f1d1d;
border-right: 1px solid #1f1d1d;
}
.tabbgselected {
background-color: #542323;
border-bottom: 1px solid #542323;
border-right: 1px solid #1f1d1d;
}
#pro_tabs td, #pro_sidebar td {
font-size: 10pt;
font-weight: bold;
text-align: center;
}
#pro_tabs td {
width: 25%;
cursor: pointer;
}
#pro_content {
font-size: 10pt;
text-align: left;
padding: 10px;
}
#pro_threads {
font-size: 10pt;
font-weight: bold;
line-height: 1.5em;
text-align: left;
}
-->
</style>
<table width="92%" align="center" cellspacing="1" cellpadding="0" class="bordercolor">
<tr>
<td class="titlebg" align="center" colspan="2" style="padding: 4px; cursor: pointer;" onclick="DTT.toggleTable();">
<font size="2">
</font>
</td>
</tr>
<tr id="pro_collapse" style="display:;">
<td width="70%" align="center" class="windowbg" valign="top">
<table width="100%" cellspacing="0" cellpadding="4">
<tr id="pro_tabs">
<td class="tabbgselected" onclick="DTT.toggleTab(this.id);" id="nav_updates">Updates</td>
<td class="tabbg" onclick="DTT.toggleTab(this.id);" id="nav_guide">Guide</td>
<td class="tabbg" onclick="DTT.toggleTab(this.id);" id="nav_meetings">Meetings</td>
<td class="tabbg" onclick="DTT.toggleTab(this.id);" id="nav_staff" style="border-right: none;">Staff</td>
</tr>
<tr>
<td class="windowbg" id="pro_content" colspan="4">
<div id="pro_updates">
<div style="width: 90%; height: 130px; overflow: auto;">
<blockquote><font=Mistral><font size=3>11/9/10</size>
<font size=1>We have a new skin everyone!!! Please, give your thoughts about it. This new thing is where we keep updates and such. I will be starting the NCEA's soon, so I won't be on as much. But I will get on as much as possible. 'Kay lovelies, I hope you have a good day!!
<br></br> -- Nightstalker
<br></br></font></blockquote></font>
</div>
</div>
<div id="pro_guide" style="display: none;">
<div style="width: 100%; height: 130px; overflow: auto;">
<blockquote><font size=3><b>Zombie Protection Guide</b></size><font size=1>
<br></br>Of course you can go out at night. Despite what the movies show. Zombies were once human too, so they can live quite easily in the sun but their poor eyesight is even worse in the dark. So the thick of night is the best time to go out and look for supplies to keep you going. But if your the more aggressive type, why don't you search out Zombies to try and bring their ever growing population down.
<br></br>Remember to always have some sort of weapon on hand, so you can defend against those flesh loving creatures. Try to stay in one place with an emergency exit and always keep a getaway pack close by so you can have an easier, and faster escape from danger.
Remember, a scratch, bite or touch on an open wound, from a zombie, will spread the disease. If you get infected, there is no cure. Good luck on your quest for survival!!
</blockquote></size>
</div>
</div>
</div>
<div id="pro_meetings" style="display: none;">
<blockquote><font size=1>Every now and again there is a gathering of survivors to trade supplies, share knowledge & surviving techniques, or just to meet new people. It is done at random times and random locations to keep from being predictable. Anyone can come when they like, but be aware that the meetings are always held at night time.</size></blockquote>
<font size=1><blockquote><b><u>Next Meeting</u>::</b> December the 2nd
<br></br>
<b><u>Location</u>::</b> The Corner</blockquote></size>
</div>
<div id="pro_staff" style="display: none;">
<p style="text-align: center; font-weight: bold; margin: 10px;">
<a href="Javascript:void(0);" onclick="DTT.toggleListItem('staff','admin');"><font size="2">Nightstalker</font></a> ::
<a href="Javascript:void(0);" onclick="DTT.toggleListItem('staff','diniveka');"><font size="2">Diniveka</font></a> ::
<a href="Javascript:void(0);" onclick="DTT.toggleListItem('staff','zahara');"><font size="2">Zahara</font></a>
</p>
<div id="pro_staff_default" style="text-align: center; margin-top: 35px; display:;">
Click on a staff name above to read what they would like to tell you
</div>
<div id="pro_staff_admin" style="display: none;">
<p><b>Name:</b> Admin</p>
<p><b>Forum Rank:</b> Administrator</p>
<div style="margin-left: 10px;">
<p>Hello and welcome to Ghosts of the Past. I am your lovely admin. I hope you enjoy it here. But watch out, for there are zombies. Everywhere. Stay safe, and Don't. Get. Bitten.</p>
</div>
</div>
<div id="pro_staff_diniveka" style="display: none;">
<p><b>Name:</b> Diniveka</p>
<p><b>Forum Rank:</b> Co-Administrator</p>
<div style="margin-left: 10px;">
<p>Whatever she wants to say</p>
</div>
</div>
<div id="pro_staff_zahara" style="display: none;">
<p><b>Name:</b> Zahara</p>
<p><b>Forum Rank:</b> Co-Administrator</p>
<div style="margin-left: 10px;">
<p>Whatever she wants to say</p>
</div>
</div>
</div>
</td>
</tr>
</table>
</td>
<td width="30%" class="windowbg" valign="top">
<table width="100%" cellspacing="0" cellpadding="4">
<tr id="pro_sidebar">
<td align="center" class="tabbg" style="border-right: none;">
Important Links
</td>
</tr>
<tr>
<td class="windowbg" valign="top">
<div id="pro_threads">
<div style="margin: 5px 0px 0px 20px;">
☆ <a href="http://ghostsofthepast.proboards.com/index.cgi?board=rules&action=display&thread=1">Rules</a><br />
☆ <a href="http://ghostsofthepast.proboards.com/index.cgi?board=create">Create your Character</a><br />
☆ <a href="http://ghostsofthepast.proboards.com/index.cgi?board=rules&action=display&thread=2">Background Info</a><br />
☆ <a href="http://ghostsofthepast.proboards.com/index.cgi?board=general">Advertising</a><br />
☆ <a href="http://ghostsofthepast.proboards.com/index.cgi?board=records">Character Records</a><br />
☆ <a href="http://ghostsofthepast.proboards.com/index.cgi?board=dontgo">Don't Go board</a>
</div>
</div>
</td>
</tr>
</table>
</td>
</tr>
</table>
<script type="text/javascript">
<!--
DTT.init();
//-->
</script>
Global Footers
<!-- Table for Blue by Nightwalker //-->
<table width="700" cellpadding="4" cellspacing="1" align="center" class="bordercolor">
<tr>
<td class="titlebg" width="700" colspan="2" height="25" align="center">
<font size="2"> Affiliates </font>
</td>
</tr>
<tr>
<th class="windowbg2" width="50%" rowspan="3">
Cbox here
</th>
<td class="windowbg2" width="50%">
<center>
<img src="http://i51.tinypic.com/20p3rro.jpg"> <img src="http://i51.tinypic.com/20p3rro.jpg"> <img src="http://i51.tinypic.com/20p3rro.jpg"><br>
<img src="http://i51.tinypic.com/20p3rro.jpg"> <img src="http://i51.tinypic.com/20p3rro.jpg"> <img src="http://i51.tinypic.com/20p3rro.jpg"><br>
<img src="http://i51.tinypic.com/20p3rro.jpg"> <img src="http://i51.tinypic.com/20p3rro.jpg"> <img src="http://i51.tinypic.com/20p3rro.jpg"><br>
<img src="http://i51.tinypic.com/20p3rro.jpg"> <img src="http://i51.tinypic.com/20p3rro.jpg"> <img src="http://i51.tinypic.com/20p3rro.jpg"><br>
</center>
</td>
</tr>
<td class="windowbg2" width="50%">
<marquee onmouseover="this.stop()" onmouseout="this.start()" direction="left" scrollamount="3">
<img src="http://i51.tinypic.com/20p3rro.jpg"> <img src="http://i51.tinypic.com/20p3rro.jpg"> <img src="http://i51.tinypic.com/20p3rro.jpg"> <img src="http://i51.tinypic.com/20p3rro.jpg">
<img src="http://i51.tinypic.com/20p3rro.jpg"> <img src="http://i51.tinypic.com/20p3rro.jpg"> <img src="http://i51.tinypic.com/20p3rro.jpg"> <img src="http://i51.tinypic.com/20p3rro.jpg">
<img src="http://i51.tinypic.com/20p3rro.jpg"> <img src="http://i51.tinypic.com/20p3rro.jpg"> <img src="http://i51.tinypic.com/20p3rro.jpg"> <img src="http://i51.tinypic.com/20p3rro.jpg">
</marquee>
</td>
</tr>
<td class="windowbg2" width="50%">
<center>
<div style="width: 100%; height: 80px; overflow: auto;">
<img src="http://i51.tinypic.com/20p3rro.jpg"> <img src="http://i51.tinypic.com/20p3rro.jpg"> <img src="http://i51.tinypic.com/20p3rro.jpg"><br>
<img src="http://i51.tinypic.com/20p3rro.jpg"> <img src="http://i51.tinypic.com/20p3rro.jpg"> <img src="http://i51.tinypic.com/20p3rro.jpg"><br>
<img src="http://i51.tinypic.com/20p3rro.jpg"> <img src="http://i51.tinypic.com/20p3rro.jpg"> <img src="http://i51.tinypic.com/20p3rro.jpg"><br>
<img src="http://i51.tinypic.com/20p3rro.jpg"> <img src="http://i51.tinypic.com/20p3rro.jpg"> <img src="http://i51.tinypic.com/20p3rro.jpg"><br>
<img src="http://i51.tinypic.com/20p3rro.jpg"> <img src="http://i51.tinypic.com/20p3rro.jpg"> <img src="http://i51.tinypic.com/20p3rro.jpg"><br>
<img src="http://i51.tinypic.com/20p3rro.jpg"> <img src="http://i51.tinypic.com/20p3rro.jpg"> <img src="http://i51.tinypic.com/20p3rro.jpg"><br>
<img src="http://i51.tinypic.com/20p3rro.jpg"> <img src="http://i51.tinypic.com/20p3rro.jpg"> <img src="http://i51.tinypic.com/20p3rro.jpg"><br>
</div>
</center>
</td>
</tr>
</table>
<!-- =====
START Smangii's {LEFT} Side Tables *REVISED*
Global Footer
===== -->
<script type="text/javascript">
<!--
table = document.getElementsByTagName('table');
for(i = 0; i < table.length; i ++) {
with(table[i]) {
if(width == '92%') {
width = '100%';
}}}
//-->
</script>
</td></tr></table>
<script type="text/javascript">
<!--
/*Navigation Mod - By iAlex - Open Source*/
var iLink=document.getElementsByTagName('a');
for(i=0;i<iLink.length;i++){
if(iLink.item(i).className.match(/^nav$/)){
x = (navigator.appName == "Microsoft Internet Explorer") ? 0 : 1;
var iKay=iLink.item(i).parentNode.innerHTML.split(/<table/i)[0].split(/<br>/i)[x];
var iDiv=document.createElement('div');
iDiv.innerHTML='<table class="bordercolor" cellspacing="1" cellpadding="2"><tr><td class="titlebg"><b>Navigation</b></td></tr><tr><td class="windowbg">'+iKay.replace(/<br\s?\/?>/i, '')+'</td></tr></table><br />';
while(!iLink.item(i).nextSibling.nodeName.match(/(table|script|tr|td|div|tbody|br)/i)){
iLink.item(i).parentNode.removeChild(iLink.item(i).nextSibling);
}
iLink.item(i).parentNode.replaceChild(iDiv, iLink.item(i));
break;
}
}
//-->
</script>
<script type="text/javascript">
<!--
/*Colour Palette Square Picker - By iAlex - Open Source*/
if(document.postForm && document.postForm.color){
var iColor=document.postForm.color
var iParent=iColor.parentNode.parentNode.parentNode;
var iColorTr=iParent.cloneNode(true);
iColorTr.childNodes[0].firstChild.innerHTML='Add Colors:';
iParent.parentNode.insertBefore(iColorTr, iParent.nextSibling);
var iOpt=iColor.options;
iOkay='<table><tr>';
for(i=1;i<iOpt.length;i++){
iOkay+='<td width="20" height="20" bgcolor="'+iOpt.item(i).value+'" onmouseover="this.style.cursor=\'pointer\';" onmousedown="javascript: aC(\''+iOpt.item(i).value+'\')"></td><td width="2"></td>';
}
iOkay+='</tr></table>';
iColorTr.childNodes[1].innerHTML=iOkay
iColor.style.display='none';
}
//-->
</script>
<style type="text/css"><!--
/*
Facebook Style Like/Dislike System v1.2
Copyright 12-08-2009 ~Wonder
May not be reposted anywhere
Place in Global Footer
*/
.likebg {background-color: #DADADA;}
.likebg2 {background-color: #DADADA;}
--></style>
<script>
//Enter the URL of the image to the thumbs up icon
likeimageurl="http://img192.imageshack.us/img192/2861/like.gif";
//Enter the URL of the image to the thumbs down icon
dislikeimageurl="http://img192.imageshack.us/img192/3115/dislike.gif";
//If you want to disable people's ability to like posts, set this to true
disableLike=false;
//If you want to disable people's ability to dislike posts, set this to true
disableDislike=false;
//If you want to change the word 'Like' to something else, edit these strings.
likeText=["Like","Likes","like this","likes this","Unlike"];
//If you want to change the word 'Dislike' to something else, edit these strings.
dislikeText=["Dislike","Dislikes","dislike this","dislikes this","Undislike"];
</script>
<script src="http://pblike.appspot.com/static/pblike.js"></script>
<script type='text/javascript'>
/* Go to your post after posting.
created by CrAzY_J
do not redistribute this code*/
if( this.location.href.match(/display&board=/) && document.referrer.match(/post/) )
{
var Font = document.body.getElementsByTagName('font');
for( var f = Font.length-1 ; f > 0 ; f -- )
{
if( Font[f].size == '1' && Font[f].firstChild && Font[f].firstChild.href && Font[f].firstChild.href.match(/action=gotopost/) && Font[f].firstChild.firstChild.data.match(/^Link\sto\sPost$/) )
{
this.location = Font[f].firstChild.href;
break;
}
}
}
</script>
<script type="text/javascript">
<!--
// Created by PopThosePringles
var smileysObj = new Object();
var iRegSmileys = [
/\s:\)/g, /\s;\)/g, /\s:D/g, /\s;D/g, /\s>:\(/g, /\s:\(/g, /\s:o/g, /\s8\-\)/g, /\s\?\?\?/g,
/\s::\)/g, /\s:P/g, /\s:-\[/g, /\s:\-X/g, /\s:\-\//g, /\s:\-\*/g, /\s:\'\(/g
];
var iRegUBBC = [
[/\[(\/)?(b|i|u|s|sup|sub)\]/gim, "<$1$2>"],
[/\[(\/)?(hr|pre|blockquote)\]/gim, "<$1$2>"],
[/\[(left|center|right)\]/gim, "<div align='$1'>"],
[/\[\/(left|center|right)\]/gim, "</div>"],
[/\[url=(http:\/\/)?(.*?)\](.*?)\[\/url\]/gim, "<a href=\"http://$2\">$3</a>"],
[/\[url\]((\[\w+\])*)((http:\/\/)?(.*?)((\[\/\w+\])*))\[\/url\]/gim, "<a href=\"http://$5\">$1$4$6</a>"],
[/\[email\]((\[\w+\])*)(.*?)((\[\/\w+\])*)\[\/email\]/gim, "<a href=\"mailto:$3\">$1$3$4</a>"],
[/\[img\](.*?)\[\/img\]/gim, "<img src=\"$1\" border=\"0\" />"],
[/\[size=(\d+)\]/gim, "<font size=\"$1\">"],
[/\[\/size\]/gim, "</font>"],
[/\[color=(\#[0-9A-F]{6}|[a-z]+)\]/gim, "<span style=\"color: $1;\">"],
[/\[font=(.*?)\]/gim, "<span style=\"font-family: $1;\">"],
[/\[\/(font|color)\]/gim, "</span>"],
[/\[table\]/gim, "<table border='1'>"],
[/\[(\/table|\/?tr|\/?td)\]/gim, "<$1>"],
[/\[quote\]/gim, '<br /><b>Quote:</b><table class="bordercolor" cellspacing="1" width="90%"><tr><td width="100%"><table class="quote" cellpadding="2" cellspacing="0" width="100%"><tr><td width="100%"><font class="quote" face="Arial,Helvetica" size="1">'],
[/\[\/quote\]/gim, "</font></td></tr></table></td></tr></table>"],
[/\[list\]/gim, "<ul><br />"],
[/\[\/list]/gim, "</ul>"],
[/\[\*\]/gim, "<li>"],
[/\[\/*\]/gim, "<br /></li>"],
[/\[code\]/gim, '<blockquote><b>Code:</b><table class="bordercolor" cellspacing="1" width="90%"><tr><td><table class="code" cellpadding="2" cellspacing="0" width="100%"><tr><td><font class="code" face="Courier New" size="2">'],
[/\[\/code\]/gim, "</font></td></tr></tbody></table></td></tr></tbody></table></blockquote>"]
];
String.prototype.htmlentities = function(){
var iTemp = this;
if(this){
for(m = 0; m < this.length; m ++){
switch(this.charCodeAt(m)){
case 60 :
iTemp = iTemp.replace(this.charAt(m), "<");
break;
case 62 :
iTemp = iTemp.replace(this.charAt(m), ">");
break;
}
}
}
return iTemp.replace(/\n/g, "<br />");
}
String.prototype.str_replace = function(){
var pDiv = document.getElementById("livepreview");
if(this && arguments.length == 2){
if(new RegExp(arguments[0]).exec(this)){
pDiv.innerHTML = this.replace(arguments[0], arguments[1]);
}
}
}
String.prototype.parse = function(){
var pDiv = document.getElementById("livepreview");
var noUBBCRe = /\[noubbc\](.*?)\[\/noubbc\]/gim;
if(this.match(noUBBCRe)){
var inPat = RegExp.$1.replace(/\]/g, "<font>]</font>");
pDiv.innerHTML = pDiv.innerHTML.replace(noUBBCRe, inPat);
}
for(s = 0; s < iRegSmileys.length; s ++){
if(new RegExp(iRegSmileys[s]).test(this)){
pDiv.innerHTML = pDiv.innerHTML.replace(new RegExp(iRegSmileys[s]), ' <img src="' + smileysObj.has[s][0] + '" border="0" />');
}
}
for(r = 0; r < iRegUBBC.length; r ++){
if(iRegUBBC[r][0].test(this)){
pDiv.innerHTML.str_replace(iRegUBBC[r][0], iRegUBBC[r][1]);
}
}
}
function grabSmileys(obj){
if(obj){
var smileys = [];
var iImg = obj.getElementsByTagName("img");
for(i = 0; i < iImg.length; i ++){
if(iImg.item(i).parentNode.href){
if(iImg.item(i).parentNode.href.match(/add\("%20(.*?)"\)/i)){
smileys.push([iImg.item(i).src, RegExp.$1]);
}
}
}
smileysObj.has = smileys;
}
}
function doLiveRow(){
var iFont = document.createElement("font");
var iPTxt = document.createTextNode("Live Preview:");
var iCell = document.getElementsByTagName("td");
iFont.size = "2";
iFont.appendChild(iPTxt);
for(c = 0; c < iCell.length; c ++){
if(iCell.item(c).className == "windowbg2" && iCell.item(c).width == "30%" && iCell.item(c).innerHTML.match(/Add Smilies:/)){
grabSmileys(iCell.item(c + 1));
var rowNum = (iCell.item(c).parentNode.rowIndex + 1);
var nRow = iCell.item(c).parentNode.parentNode.insertRow(rowNum);
var nCell = nRow.insertCell(0);
nCell.className = "windowbg2";
nCell.appendChild(iFont);
nCell = nRow.insertCell(1);
nCell.className = "windowbg2";
nCell.id = "livepreview";
}
}
}
function livePreview(){
var pDiv = document.getElementById("livepreview");
pDiv.innerHTML = document.postForm.message.value.htmlentities();
pDiv.innerHTML.parse();
pDiv.innerHTML.parse(); // IE fix
}
if(document.postForm && document.postForm.message){
doLiveRow();
document.postForm.message.onkeyup = livePreview;
document.postForm.message.onfocus = livePreview;
}
//-->
</script>
<script type="text/javascript">
<!--
/* An Attempt At Anti-Spam Bot Situation
By {XF}Äs$@§sîñ™, http://www.xf-clan.net
Code from http://www.utopiangfx.proboards56.com/index.cgi
This Header Stays Intact */
// List all the characters you wish to use
var charsToUse = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";
var sMax = "8"; // Number of security letters to print
var sColor = "CD3333"; // The color of the code when it is given to the Guest when posting
function returnCode() {
var lCounter = 0;
var storeData = '';
while (lCounter != sMax) {
storeData += charsToUse.charAt(Math.floor(Math.random() * (charsToUse.length-1)));
lCounter++;
}
return storeData;
}
if (pb_username.match(/Guest/) && document.postForm) {
var tRow = document.postForm.message.parentNode.parentNode.parentNode;
var firstCell = tRow.parentNode.insertRow(tRow.rowIndex+1).insertCell(0);
firstCell.className = "windowbg";
var subHeader = document.createElement("font");
subHeader.style.fontSize = "12px";
subHeader.appendChild(document.createTextNode("Anti-Spam Code:"));
firstCell.appendChild(subHeader);
var secondCell = firstCell.parentNode.insertCell(1);
secondCell.className = "windowbg";
var cDesc = document.createElement("font");
cDesc.style.fontSize = "10px";
cDesc.appendChild(document.createTextNode("The following code needs to be inputted below: "));
secondCell.appendChild(cDesc);
var spamCode = document.createElement("span");
spamCode.setAttribute("id", "antiSpamCode");
spamCode.style.fontSize = "10px";
spamCode.style.fontWeight = "bold";
spamCode.style.color = sColor;
secondCell.appendChild(spamCode);
secondCell.appendChild(document.createElement("br"));
var cCode = cDesc.cloneNode(false);
cCode.appendChild(document.createTextNode("Please enter the Anti-Spam code (The Anti-Spam code is case sensitive): "));
secondCell.appendChild(cCode);
var cField = document.createElement("input");
cField.setAttribute("id", "antiSpamCodeInput");
cField.setAttribute("size", "10");
cField.setAttribute("maxLength", sMax);
secondCell.appendChild(cField);
cField.style.marginTop = "5px";
document.postForm.onsubmit = function() {
var c = document.getElementById("antiSpamCodeInput").value;
if (c == "" || c != document.getElementById("antiSpamCode").firstChild.data) {
alert("The Anti-Spam Code which you have given is invalid. Please enter again. Thank You.");
return false;
}
}
window.onload = function() {
document.getElementById("antiSpamCode").appendChild(document.createTextNode(returnCode()));
}
}
//-->
</script>
<script type="text/javascript">
<!--
/* Posting/PM Word Count - created by Eton Bones */
//set to minimum word count needed in order to make a post
//or set to 0 to disable word count enforcement.
var wordCountLimit=0;
if(document.getElementsByName('message').length){
var __submitBtn,__wc,__msg
__msg=document.getElementsByName('message')[0];
__submitBtn=document.getElementsByTagName('input');
for(var count=0;count<__submitBtn.length;count++){
if(__submitBtn[count].accessKey && __submitBtn[count].accessKey=='s'){__submitBtn=__submitBtn[count];break;}
}
if(typeof(__submitBtn.length)=="undefined"){
__btnText=__submitBtn.value;
__wc=document.createElement('div'); __wc.id="wordcount";
__wc.appendChild(document.createTextNode('Word Count: '));
__wc.appendChild(document.createElement('span'));
__submitBtn.parentNode.appendChild(__wc);
count=__msg.value.match(/\b\w+\b/g);
count=(count)?count.length:0;
__wc.lastChild.innerHTML=count;
if(count<wordCountLimit && !location.href.match(/ion=pmsend/)){__submitBtn.disabled=true;}
if(document.addEventListener){
__msg.addEventListener("keyup",wordUp,false);
__msg.addEventListener("input",wordUp,false);
__msg.addEventListener("change",wordUp,false);
}else if(document.attachEvent){
__msg.attachEvent("onpropertychange",wordUp);
}else{
__msg.onkeyup=wordUp;
__msg.onmouseup=wordUp;
__msg.onchange=wordUp;
}
}
}
function wordUp(event){
if(this.document){var thiss=event.srcElement;}else{var thiss=this;}
var count=thiss.value.match(/\b\w+\b/g); count=(count)?count.length:0;
if(count>=wordCountLimit && wordCountLimit >0 && __submitBtn.disabled){
__submitBtn.disabled=false;
}
__wc.lastChild.innerHTML=count;
}
//-->
</script>
<script type="text/javascript">
<!--
/*
Remove "Announcement:" From Thread Title by Cr0w
Do not repost
*/
//Edit Below
var AncImg=/announcement.gif/; //Name of your announcement image
//Edit Above
var i = document.getElementsByTagName('td');
for (m=0;m<i.length;m++) {
if (i[m].innerHTML.match(/Announcement:/) && location.href.match(/board=/) && i[m-1].innerHTML.match(AncImg) && !location.href.match(/thread=/)){
i[m].innerHTML=i[m].innerHTML.replace('Announcement:','');
}
}
//-->
</script>
<script type="text/javascript">
<!--
/* Align mini-profile */
var ialign="center";
var td=document.getElementsByTagName('td')
for (m=0;m<td.length;m++) {
if (td[m].className.match(/windowbg/i) && td[m].width=="20%"){
td[m].align=ialign;
}
}
//-->
</script>
<script type="text/javascript">
//Check pm's in miniprofile made by Pleasehelp inspiration by blade [url]www.proboards.com[/url]
//Do not repost without permission of creator
var TD=document.getElementsByTagName('td');
for(t=0;t<TD.length;t++){
if(TD[t].width=="20%" && TD[t].innerHTML.match(/Posts:/i)){
TD[t].innerHTML+="<a href='/index.cgi?action=pm'><font size=0><br>Check Pm's</font></a>"
}}
</script>
<style type="text/css">
<!--
.mp_stats { width: 75%; margin-top: 10px; }
.mp_stats td { border-color: #000000; border-style: solid; border-width: 1px; }
-->
</style>
<script type="text/javascript">
<!--
/* mini-profile tables
coded by ross - http://support.proboards.com
do not redistribute without permission */
function br() {
td.item(i).appendChild(document.createElement('br'));
}
function txt(t) {
td.item(i).appendChild(document.createTextNode(t));
}
function ap(c) {
td.item(i).appendChild(c);
}
var td = document.getElementsByTagName('td');
if(location.href.match(/ion=(display|goto|(pm)?(calendar)?view|(user)?recent|search2)/)) {
for( i=0; i<td.length; i++ ) {
if(td.item(i).width == '20%' && td.item(i).vAlign == 'top' && td.item(i).innerHTML.match(/(Posts|Guest)/)) {
var temp = td.item(i).cloneNode(true);
var a = temp.getElementsByTagName('a');
td.item(i).innerHTML = '';
td.item(i).align = 'center';
while(a.length > 0 && a.item(0).name)
ap(a.item(0));
if(temp.innerHTML.match(/Posts:\s\d+/)) {
var center = temp.getElementsByTagName('center').item(0);
var settings = [
a.item(0).parentNode,
((temp.innerHTML.match(/\/a><\/b>(<br>.+?)<br>member is/i))? RegExp.$1 : ''),
(center.innerHTML.match(/<br><br>(.+?)<br><br>/i)? RegExp.$1 : ''),
center.firstChild
];
var infoSections = temp.innerHTML.split(/<\/center>/i)[1].split(/<br>/i);
infoSections.reverse();
infoSections.push('Status: '+ ((temp.innerHTML.match(/>(member is )offline/))? 'Offline' : 'Online'));
infoSections.reverse();
infoSections.push(center.innerHTML.split(/<br><br>/i)[center.innerHTML.split(/<br><br>/i).length-1].replace(/<br>/i,''));
settings[0].firstChild.style.textDecoration = 'underline';
settings[0].style.fontSize = '13px';
ap(document.createElement('div'));
td.item(i).lastChild.align = 'left';
td.item(i).lastChild.appendChild(settings[0]);
td.item(i).lastChild.innerHTML += settings[1];
br();
br();
ap(settings[3]);
br();
br();
txt(settings[2]);
br();
}
else if(temp.innerHTML.match(/Guest/)) {
infoSections = [];
infoSections[0] = '<center>'+temp.innerHTML.split(/<br>/i)[0]+'</center>';
infoSections[1] = '<center>('+temp.innerHTML.split(/<br>/i)[1]+')</center>';
}
var infoTable = document.createElement('table');
infoTable.className = 'mp_stats';
infoTable.cellSpacing = '3';
for(j=infoSections.length-1; j>-1; j--) {
if(infoSections[j].length > 1) {
var newCell = infoTable.insertRow(0).insertCell(0);
newCell.innerHTML = infoSections[j];
newCell.className = (td.item(i).className.match(/bg2/))? 'windowbg' : 'windowbg2';
}
}
td.item(i).appendChild(infoTable);
}
}
}
//-->
</script>
<script type="text/javascript">
<!--
/* Remove avatar size limits for everyone by california */
var img=document.getElementsByTagName("img");
if(location.href.match(/=(display|viewprofile|search2|pmview|recent)/)){
for(i=0;i<img.length;i++){
if(img[i].alt=="[avatar]"){
var t=img[i].parentNode;
var s=t.innerHTML.replace(/width=.?\d+?.?/i,'');
t.innerHTML=s.replace(/height=.?\d+?.?/i,'');
}
}
}
// -->
</script>
<script type="text/javascript">
<!--
/* avatar size limit by california */
var maxWidth=180;
var maxHeight=300;
var img=document.getElementsByTagName("img");
for(i=0;i<img.length;i++){
if(img[i].width>maxWidth && img[i].alt.match(/\[avatar\]/i)){
img[i].style.height=""+(img[i].height*maxWidth/img[i].width)+"px";
img[i].style.width=""+maxWidth+"px";
}
if(img[i].height>maxHeight && img[i].alt.match(/\[avatar\]/i)){
img[i].style.width=""+(img[i].width*maxHeight/img[i].height)+"px";
img[i].style.height=""+maxHeight+"px";
}
}
// -->
</script>
<script type="text/javascript"><!--
/* GF portion of Border Around Forum with Table - Squirtle
Do not Repost other than PBS
[url]http://squirtlestestsite.proboards.com/[/url] */
document.write('</td></tr></table>');
//--></script>