Post by P I X I E ! on Dec 17, 2009 19:18:29 GMT -5
Global Headers
Global Footers
<script type="text/javascript">
<!--
/* fix text menus by ross */
var startChar = '<span style="text-transform: uppercase;">( '; //Start character
var dividerChar = ' | '; //Dividing Character(s);
var endChar = ' )</span>'; //End character
//no need to edit below
var menu = document.getElementsByTagName('td').item(5).firstChild;
var a = menu.innerHTML.replace(/^\n?(<.+?>)\[/, startChar+' $1');
var b = a.replace(new RegExp('\\](<\/a>)(\\n|\\s|&nb'+'sp;)*$', 'i'), '$1 '+endChar);
var c = b.replace(new RegExp('\\](<\/a>)(&nb'+'sp;|\\s)(<a.+?>)\\[', 'gi'),'$1 '+dividerChar+' $3');
menu.innerHTML = c;
//-->
</script>
<script language="Javascript">
<!--
/*
This code was created by Animus of RPGC
Please do not redistribute without permission
*/
var td=document.getElementsByTagName('td');
var insertTable = document.getElementsByTagName("table")[0].insertRow(2);
var insertCell = insertTable.insertCell(0);
var alrt="yes"
insertCell.className="titlebg";
insertCell.height="16px"
var cellC = " | <a href='/index.cgi?action=pm&view=2'>outbox</a> | <a href='/index.cgi?action=pmprefs'>messenger options</a> | <a href='/index.cgi?action=pmsend'>send an email</a></font></center>";
if(td[2].innerHTML.match(/, (\d+)\ (are|is) new./i)){
var newPM = RegExp.$1;
}
if(pb_username=='Guest'){
insertCell.innerHTML="<center><font size =1>welcome kid, please <a href='/index.cgi?action=login'>sign in</a> or <a href='/index.cgi?action=register'>sign up</a> to view your inbox.";
}
else if(newPM<1){
insertCell.innerHTML="<center><font size =1><a href='/index.cgi?action=pm'>no new emails</a>" + cellC;
}
else if(newPM>1){
insertCell.innerHTML="<center><font size =1><a href='/index.cgi?action=pm'>" + newPM + " new emails!</a>" + cellC;
if(!location.href.match(/action=pm/) && alrt=="yes"){
alert("You have "+ newPM +" new letters!");
}}
else if(newPM==1){
insertCell.innerHTML="<center><font size =1><a href='/index.cgi?action=pm'>one new email!</a>" + cellC;
if(!location.href.match(/action=pm/) && alrt=="yes"){
alert("you have one new email!");
}}
//-->
<!--
var PMLogoCell = document.getElementsByTagName("TD")[1]; PMLogoCell.removeChild(PMLogoCell.lastChild)
document.getElementsByTagName("TD")[2].style.display='none';
-->
</script>
<style type="text/css">
<!--
table, td{border: 0px;}
-->
</style>
<style type="text/css">
<!--
#forumjump { display: none; }
-->
</style>
<style type="text/css">
.unhid
{
border-width: 0px;
border-style: solid;
border-color: #FFFFF;
width: 90%;
}
.hid
{
border-width: 0px;
border-style: solid;
border-color: #FFFFF;
width: 90%;
text-align: left;
font-weight: bold;
}
#threadListing
{
display: none;
}
</style>
<!--
document.getElementsByTagName('font').item(1).style.display="none";
//-->
</script>
<script type="text/javascript">
<!--
document.getElementsByTagName('font').item(1).style.display="none";
//-->
</script>
<script><!--
document.getElementsByTagName('font')[1].innerHTML='';
//--></script>
<!--
===================================
HTML Left Side Tables for ProBoards - Smangii Style
GLOBAL HEADERS
===================================
//-->
<!-- Start Main Table //-->
<table align="center" width="auto" cellpadding="5">
<tr>
<td align="center" width="210px" vAlign="top">
<!-- Start Side Tables //-->
<table width="100%" cellpadding="0">
<tr>
<td>
<!-- CUSTOM SIDE BOX #1 //-->
<table align="center" width="100%" class="bordercolor" cellpadding="4" cellspacing="1">
<tr>
<td class="windowbg" align="center">
<img src="http://i735.photobucket.com/albums/ww357/obscurepixie/xmasplot.png"><br>
<marquee onmouseover="this.stop()" onmouseout="this.start()" scrollamount="1" direction="up"><center>textheretexthere<br>
textheretexthere</center></marquee>
</td>
</tr>
</table>
</br>
<!-- CUSTOM SIDE BOX #2 //-->
<table align="center" width="100%" class="bordercolor" cellpadding="4" cellspacing="1">
<tr>
<td class="windowbg" align="center">
<img src="http://i735.photobucket.com/albums/ww357/obscurepixie/xmaslinks.png"><br>
<a href="http://z10.invisionfree.com/CAUTIONTOTHEWIND"><font size="3">CAUTION 2.0!</font></a><br>
linktextherelink texthere
</td>
</tr>
</table>
</br>
<!-- CUSTOM SIDE BOX #3 //-->
<table align="center" width="100%" class="bordercolor" cellpadding="4" cellspacing="1">
<tr>
<td class="windowbg" align="center">
<img src="http://i735.photobucket.com/albums/ww357/obscurepixie/xmasnews.png"><br>
updatetexthereupdatetexthere
updatetexthereupdatetexthere
</td>
</tr>
</table>
</br>
<!-- CUSTOM SIDE BOX #4 //-->
<table align="center" width="100%" class="bordercolor" cellpadding="4" cellspacing="1">
<tr>
<td class="windowbg" align="center">
<img src="http://i735.photobucket.com/albums/ww357/obscurepixie/xmasstaff.png"><br>
stafftextherestafftexthere
stafftextherestafftexthere
</td>
</tr>
</table>
</br>
<!-- CUSTOM SIDE BOX #5 //-->
<table align="center" width="100%" class="bordercolor" cellpadding="4" cellspacing="1">
<tr>
<td class="windowbg" align="center">
<img src="http://i735.photobucket.com/albums/ww357/obscurepixie/xmaslight.png"><br>
spotlighttextherespotlighttexthere
spotlighttextherespotlighttexthere
</td>
</tr>
</table>
</br>
<!-- CUSTOM SIDE BOX #6 //-->
<table align="center" width="100%" class="bordercolor" cellpadding="4" cellspacing="1">
<tr>
<td class="windowbg" align="center">
<img src="http://i735.photobucket.com/albums/ww357/obscurepixie/xmascbox.png"><br>
cboxtextherecboxtexthere
cboxtextherecboxtexthere
</td>
</tr>
</table>
</br>
<!-- CUSTOM SIDE BOX #8 //-->
<table align="center" width="100%" class="bordercolor" cellpadding="4" cellspacing="1">
<tr>
<td class="windowbg" align="center">
<img src="http://i735.photobucket.com/albums/ww357/obscurepixie/xmascreds.png"><br>
lonely this christmas by P I X I E ! or <a href="http://z10.invisionfree.com/CAUTIONTOTHEWIND">caution</a>. don't steal or remove this or a the hounds will be set on you.<br>
creditstextherecreditstexthere
</td>
</tr>
</table>
</br>
<!-- Close Side Tables //-->
</td>
</tr>
</table>
</td>
<td vAlign="top">
<div id="wel"></div>
<script type="text/javascript">
<!--
var welcomeTable = document.getElementsByTagName("table").item(0);
document.getElementById("wel").appendChild(welcomeTable);
//-->
</script>
<!-- END SIDE TABLES GLOBAL HEADERS HTML //-->
Global Footers
<script type="text/javascript">
<!--
table = document.getElementsByTagName('table');
for(i = 0; i < table.length; i ++) {
with(table[i]) {
if(width == '92%') {
width = '650';
}}}
//-->
</script>
<SCRIPT LANGUAGE="JavaScript">
<!--
tablew = document.getElementsByTagName('TABLE');
for(t=0;t<tablew.length;t++) {
if(tablew[t].width=="92%"){
tablew[t].width='710';
}
}
// -->
</script>
<script type="text/javascript">
<!--
/* change "karma" words by california */
var karmaReplace="Reputation";
var exaltReplace="love";
var smiteReplace="hate";
var td=document.getElementsByTagName("td");
if(location.href.match(/action=(display|goto|viewprofile|search2|recent|pmview)/) || document.title.match(/\s-\sPreview/)){
for(i=0;i<td.length;i++){
if(td[i].width=="20%" && td[i].className.match(/windowbg/) && td[i].innerHTML.match(/Karma:/i)){
var tempA=td[i].innerHTML.replace('Karma:',karmaReplace+':');
var tempB=tempA.replace('Exalt',exaltReplace);
var tempC=tempB.replace('Smite',smiteReplace);
td[i].innerHTML=tempC;
}
}
}
// -->
</script>
<script type="text/javascript">
<!--
var i = document.getElementsByTagName('i');
for(t=0; t<i.length; t++)
if(i[t].innerHTML == 'Last Edit:')
i[t].parentNode.style.display = 'none';
//-->
</script>
<script type="text/javascript">
//Convert Buttons to Text - Update 1 by hpmad
//Do not redistribute without permission from creator
var host1 = 'http://s1.images.proboards.com/buttons';
var host2 = 'http://s2.images.proboards.com/buttons';
var host3 = 'http://s3.images.proboards.com/buttons';
var host4 = 'http://s4.images.proboards.com/buttons';
var img = document.getElementsByTagName('img');
for(i=0;i<img.length;i++){
if(img[i].src.match(host1) || img[i].src.match(host2) || img[i].src.match(host3) || img[i].src.match(host4) || img[i].src.match(/search2.gif|newpoll/i)){
img[i].alt = img[i].alt.replace(/(\[|\])/g,'');
var font = document.createElement('font'); font.style.fontSize = '7pt';
font.style.fontWeight = 'bold'; font.className = 'button';
font.appendChild(document.createTextNode(img[i].alt));
img[i].parentNode.replaceChild(font,img[i]);
i--;
}
}
</script>
<script type="text/javascript">
<!--
/* add a copyright to every user's post by california */
var copyright="©2009, <i>#username#</i>, All Rights Reserved.";
var td=document.getElementsByTagName("td");
if(location.href.match(/action=(display|search2)/)){
for(i=0;i<td.length;i++){
var tda=td[i].getElementsByTagName("a");
if(td[i].width=="20%" && td[i].className.match(/windowbg/)){
if(tda.length>2){
if(tda[1].name) dname = tda[2].innerHTML;
else dname = tda[1].innerHTML;
}else{
var dname = (td[i].innerHTML.match(/<\/a>\s?(\w+)\s?</i)) ? RegExp.$1 : 'guest';
}
}
if(td[i].colSpan=="3" && td[i].vAlign=="bottom"){
td[i].innerHTML=copyright.replace(/#username#/gi,dname)+td[i].innerHTML;
}
}
}
// -->
</script>
<style type="text/css">
.codeArea { border: 1px solid black; }
</style>
<script type="text/javascript">
/* Code Tag Modification by hpmad
Do not repost or claim as your own without permission
This header must remain intact */
var table = document.getElementsByTagName('table');
if(location.href.match(/action=(display|recent|pmview|search2)/i)){
for(i=0;i<table.length;i++){
if(table[i].className=='code'){
var codeArea = table[i].firstChild.firstChild.firstChild.firstChild.innerHTML;
codeArea = codeArea.replace(/&nb+sp;/gi,' ');
codeArea = codeArea.replace(/&a+mp;/gi,'&');
codeArea = codeArea.replace(/\t/gi,'&nb+sp;&nb+sp; ')
codeArea = codeArea.replace(/<br\s?\/?>/gi,'\n');
table[i].parentNode.parentNode.parentNode.parentNode.parentNode.innerHTML = '<center><form><textarea class="codeArea" style="font-size: 6pt;" readonly name="codeArea" cols="25" rows="5">'+codeArea+'</textarea><br><input type="button" value="highlight!" onclick="javascript:this.form.codeArea.focus();this.form.codeArea.select();"></form></center>';
i--;
}
}
}
</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">
<!--
// Remove On/Off Icons Column - By Smangii
if(!location.href.match(/action/) || location.href.match(/action=home/)){
var TD = document.getElementsByTagName("td");
for(var i=0;i<TD.length;i++){
if(TD[i].className=="titlebg" && TD[i].innerHTML.match(/(Forum Name|Sub-Boards)/i)){
TD[i].colSpan="1"
}
if(TD[i].width=="66%" && TD[i].className=="windowbg2"){
TD[i-1].style.display = "none";
}}}
-->
</script>
<script type='text/javascript'>
/* Remove on/off icons from sub-boards
created by CrAzY_J
Open Source*/
var gCell = document.body.getElementsByTagName('td');
var pattern = /^Sub-Boards$/;
if( this.location.href.match(/board=\w+(&\w+=\d)?$/) )
{
for( var c = 0 ; c < gCell.length ; c ++ )
{
if( gCell[c].className == 'titlebg' && gCell[c].colSpan == '2' && pattern.test( gCell[c].getElementsByTagName('b')[0].firstChild.data ) )
gCell[c].colSpan = 1;
if( gCell[c].width == '8%' && gCell[c].className == 'windowbg' )
gCell[c].style.display = 'none';
}
}
</script>
<script type="text/javascript">
<!--
// Remove Topics & Posts Columns - By Smangii
if(!location.href.match(/action/) || location.href.match(/action=home/)){
var TD = document.getElementsByTagName("td");
for(var i=0;i<TD.length;i++){
if(TD[i].className=="titlebg" && TD[i].innerHTML.match(/(Topics|Posts)/i)){
TD[i].style.display="none";
}
if(TD[i].width=="66%" && TD[i].className=="windowbg2"){
TD[i+1].style.display = "none";
TD[i+2].style.display = "none";
}}}
-->
</script>
<script type="text/javascript">
<!--
// Remove the "Forum name" row - by Smangii
if(!location.href.match(/action/) || location.href.match(/action=home/)){
var TD = document.getElementsByTagName("td");
for(var i=0;i<TD.length;i++){
if(TD[i].className=="titlebg" && TD[i].innerHTML.match(/Forum Name/i)){
TD[i].parentNode.style.display="none";
}
if (TD[i].className=="windowbg2" && TD[i].width=="66%"){
TD[i+1].innerHTML = '<div style="width:40px;">'+TD[i+1].innerHTML+'</div>';
TD[i+2].innerHTML = '<div style="width:40px;">'+TD[i+2].innerHTML+'</div>';
}
}
}
//-->
</script>
<!-- SIDE TABLES GLOBAL FOOTERS - DO NOT REMOVE //-->
<script type="text/javascript">
<!--
table = document.getElementsByTagName('table');
for(i = 0; i < table.length; i ++) {
with(table[i]) {
if(width == '92%') {
width = '700';
}}}
//-->
</script>
</td></tr></table>
<!-- SIDE TABLES GLOBAL FOOTERS - DO NOT REMOVE //-->