Post by Nikkie on Mar 2, 2012 14:50:32 GMT 8
Please do not remove the credit.
GLOBAL HEADER
<script type="text/javascript">
<!--
document.getElementsByTagName('font').item(1).style.display="none";
//-->
</script>
<link href='http://fonts.googleapis.com/css?family=Lobster|Abel|Indie+Flower|Share' rel='stylesheet' type='text/css'>
<!-- =====
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='710px';
</script>
<style type="text/css">
#sidetables { width: 250px; margin-bottom: 20px; margin-right: 1px; }
</style>
<table width="710px" align="center" cellpadding="3px" cellspacing="0px" style="border-style: dashed; border-width: 1px; border-color: F91111; background-color: E6F0FA; border-radius: 60px; padding-top: 72px; padding-bottom: 21px; padding-left: 9px; padding-right: 9px; background-image: url('http://i39.tinypic.com/8wxzrn.png'); background-repeat: repeat;">
<tr>
<td vAlign="top">
<!-- ===== BOX #1 START ===== -->
<table id="sidetables" cellpadding="30px" cellspacing="1" style="border-style: dotted; border-width: 1px; border-color: transparent;">
<tr><td align="center" class="title">
Legend
</td></tr>
<tr><td class="sidebarbg">
<p>★ <font class="group0">Alien</font> ★
<font class="group1">Staff</font> ★
<font class="group2">Idol</font> ★</p>★ <font class="group3">Fanatic</font> ★
<font class="group4">Anarchist</font> ★</td></tr></table>
<!-- ===== BOX #2 START ===== -->
<table id="sidetables" cellpadding="30px" cellspacing="1" style="border-style: dotted; border-width: 1px; border-color: transparent;">
<tr><td align="center" class="title">
Links
</td></tr>
<tr><td class="sidebarbg">
<FORM action="/index.cgi" method="post" name="loginform" onSubmit="disable(this)">
<INPUT type="hidden" name="action" value="login2">
<CENTER>
<TABLE BORDER="0" CELLSPACING="3" CELLPADDING="0" WIDTH="100%">
<TR>
<INPUT type="text" name="username" onfocus="this.value=''" value="username" size="6" />
- -
<INPUT type="password" name="password" onfocus="this.value=''" value="drowssap" size="6" />
</TR><br><br>
<TR>
<INPUT type="submit" value="switch characters!" tabindex="4"/ font-size="8pt">
</TABLE>
</CENTER>
</FORM>
<div align="center">.....................................</div>
<br>
<html>
<head>
<title>Drop Down Menu</title>
<!-- insert head part of code in space below -->
<script language="JavaScript">
<!--
function goToURL(form)
{
var myindex=form.dropdownmenu.selectedIndex
if(!myindex=="")
{
window.location.href=form.dropdownmenu.options[myindex].value;
}
}
//-->
</script>
</Head>
<body>
<!-- insert body part of code in space below -->
<form name="IMPORTANT LINKS">
<select name="dropdownmenu" size=1 onChange="goToURL(this.form)">
<option selected value="">
IMPORTANT LINKS
<option value="/index.cgi?LINK1">
LINK 1
<option value="/index.cgi?LINK2">
LINK 2
<option value="/index.cgi?LINK3">
LINK 3
<option value="/index.cgi?LINK4">
LINK 4
<option value="/index.cgi?LINK5">
LINK 5
<option value="/index.cgi?LINK6">
LINK 6
<option value="/index.cgi?LINK7">
LINK 7
<option value="/index.cgi?LINK8">
LINK 8
</select></form>
</body>
<body>
<form name="ROLEPLAY BOARDS">
<select name="dropdownmenu" size=1 onChange="goToURL(this.form)">
<option selected value="">
ROLEPLAY BOARDS
<option value="/index.cgi?board=BOARD1">
BOARD 1
<option value="/index.cgi?board=BOARD2">
BOARD 2
<option value="/index.cgi?board=BOARD3">
BOARD 3
<option value="/index.cgi?board=BOARD4">
BOARD 4
<option value="/index.cgi?board=BOARD5">
BOARD 5
</select></form>
</body>
</td></tr></table>
<!-- ===== BOX #4 START ===== -->
<table id="sidetables" cellpadding="30px" cellspacing="1" style="border-style: dotted; border-width: 1px; border-color: transparent;">
<tr><td align="center" class="title">
Chat
</td></tr>
<tr><td class="sidebarbg">224px WIDTH CBOX HERE
</td></tr></table>
<!-- ===== BOX #5 START ===== -->
<table id="sidetables" cellpadding="30px" cellspacing="1" style="border-style: dotted; border-width: 1px; border-color: transparent;">
<tr><td align="center" class="title">
Suggested Sites
</td></tr>
<tr><td class="sidebarbg">
<div style="height: 100px; width:220px; text-align:left; font:12px courier new;overflow-y:hidden;overflow-x:scroll;">
<p style="width:250%;">AFFILIATES HERE
</p>
</div>
</td></tr></table>
<!-- ===== BOX #3 START ===== -->
<table id="sidetables" cellpadding="30px" cellspacing="1" style="border-style: dotted; border-width: 1px; border-color: transparent;">
<tr><td align="center" class="title">
Something Else
</td></tr>
<tr><td class="sidebarbg">
Four "T"s, a little writing rhyme<br/>
Of Topic, Territory, Talker, Time<br/>
When there's a change in one of these<br/>
Start a new paragraph if you please.</td></tr></table>
<! -- ***NOTE*** Place any extra added side tables above this line // -->
</td><td align="center" vAlign="top" width="100%">
<script>
/* Elite PM Bar - Elite Charizard AKA The Terminator *\
\* May be redistributed as long as this header stays intact */
var pmBarClass="pmbarbg" // Class of PM bar
var pmBarFS="11px" // Font size for PM Bar
var pmBarSize="92%" // Size of your PM Bar
// DO NOT EDIT BELOW unless you know what you're doing \\
// Variables
var wTable= document.getElementsByTagName('table')[0]
var td= document.getElementsByTagName('td');
var date=new Date();
var hr=date.getHours();
var min=date.getMinutes();
var yr=date.getYear()+1900;
var mon=date.getMonth()+1;
var day=date.getDate();
var timeDate= mon+'/'+day+'/'+yr+' - '+hr+':'+min+''
//Configuration
td[2].style.display="none";
if (td[2].innerHTML.match(/action=pm">(\d+)/i)) {
var totalPms= RegExp.$1;
} else
if (td[2].innerHTML.match(/action=pm">1 \s/i)) {
var totalPms= "1";
}
if (td[2].innerHTML.match(/1 is new/i)) {
var newPms="1";
} else
if (td[2].innerHTML.match(/(\d+) (are|is) new/i)) {
var newPms=RegExp.$1;
}
if (newPms=="1") {
if (confirm('You have a new Message. Would you like to go to it now?')) { location.href='/index.cgi?action=pm'; } else { alert('Ok. No action taken.'); }
}
if (newPms > 1) {
if (confirm('You have '+newPms+' new Messages. Would you like to view them now?')) { location.href='/index.cgi?action=pm'; } else { alert('Ok. No action taken.'); }
}
// The Code
if (pb_username=="Guest") {
document.write('<table id="elitePM" width="'+pmBarSize+'" cellpadding="4" cellspacing="1" align="center" class="bordercolor"><tr><td width="100%" class="'+pmBarClass+'" vAlign="top" align="center"><font face="arial" class="pmbarr">Welcome, Guest! Please <a href="/index.cgi?action=login">LOGIN</a> or<a href="/index.cgi?action=register"> REGISTER</a>.</font></td></tr></table>');
} else {
document.write('<table id="elitePM" width="'+pmBarSize+'" cellpadding="4" cellspacing="1" align="center" class="bordercolor"><tr><td width="100%" class="'+pmBarClass+'" vAlign="top"><font class="pmbarr"><table border="0" width="100%"><tr><td><font width="33%" face="arial" class="pmbarr">Hello, <a href="/index.cgi?action=viewprofile"><b>'+pb_displayname+'</b></a>!</font></td><td align="center" width="34%"><font face="arial" class="pmbarr"><a href="/index.cgi?action=pm">Total Messages:</a> '+totalPms+' - New Messages: '+newPms+' </font></td><td align="right"><font width="33%" face="arial" class="pmbarr">'+timeDate+'</font></td></tr></table></font></td></tr></table>');
}
</script>
<style type="text/css">
.nav
{
font-size: 18px; text-decoration: none; text-shadow: #6480AC 1px 1px; font-family: lobster, cursive; color: #B90E00; text-transform: lowercase; font-weight: bolder;
}
.nav:link
{
font-size: 18px; text-decoration: none; text-shadow: #6480AC 1px 1px; font-family: lobster, cursive; color: #B90E00; text-transform: lowercase; font-weight: bolder;
}
.nav:visited
{
font-size: 18px; text-decoration: none; text-shadow: #6480AC 1px 1px; font-family: lobster, cursive; color: #B90E00; text-transform: lowercase; font-weight: bolder;
}
.nav:hover
{
font-size: 18px; text-decoration: none; text-shadow: #b90e00 1px 1px; font-family: lobster, cursive; color: #6480AC; text-transform: lowercase; font-weight: bolder; -webkit-transition: color .5s linear, top .5s ease-out; -moz-transition: color .5s linear, top .5s ease-out; -o-transition: color .5s linear, top 1s ease-out; transition: color .5s linear, top .5s ea;
}
<!--
.sidebarbg {
padding: 12px 12px 12px 12px;
font-family: verdana;
text-align: center;
background-color: #E6F0FA;
font-size: 11px;
line-height 105%;
}
-->
.titlebg b {
text-transform: lowercase;
font-family: courier new;
font-size: 15px;
letter-spacing: 2px;
}
.titlebg { border-bottom: 1px solid #C4004B; border-top: 3px dotted #D9D9D9; padding-bottom: 2px; padding-left: 6px; padding-top: 27px; }
.newstitlebg {
text-transform: uppercase;
font-family: century gothic;
font-weight: bold;
color: #56003B;
letter-spacing: 2px;
}
.pmbarr { font-variant: small-caps; font-size: 11px; }
.quote
{
font-size: 10px; font-family: tahoma, verdana, arial; background-color: f2f2f2;
}
table.quote {
padding: 5px; spacing: 2px; border-left: 5px solid #B90E00; border-right: none; border-bottom: none; border-top: none; }
body {
background-repeat: repeat-xy;
background-position: top center; }
.menubg a {
padding: 2px 0px 2px 2px;
line-height: 0%;
letter-spacing: 1px;
text-decoration: none;
text-transform: lowercase;
height: 21px;
font-size: 18px;
font-family: indie flower!important;
font-weight: 900;
border: none;
color: #00B9D5;
text-shadow: #460021 1px 1px 1px;
}
.menubg a:hover { border: none; color: #460021; text-shadow: #00B9D5 1px 1px 1px; }
.catbg { padding-left: 6px; padding-right: 6px; padding-bottom: 0px; padding-top: 21px;
border-bottom: 1px solid #C4004B; border-top: 2px dashed #d9d9d9;
}
.pmbarbg { padding-left: 3px; padding-right: 3px; padding-bottom: 2px; padding-top: 6px;
border-bottom: 1px dashed #d9d9d9; background-color: #E6F0FA;
}
.subses { font-family: share, sans serif; text-align: left; font-weight: normal; font-size: 12px; letter-spacing: 1px; }
.title {
padding: 6px 6px 6px 0px;
letter-spacing: 2px;
text-align: left;
font-family: lobster, georgia, serif;
font-size: 21px;
background-color: transparent;
font-weight: 900;
color: #1774D1;
text-transform: lowercase;
line-height: 0%;
-webkit-transform: rotate(-5deg);
-moz-transform: rotate(-5deg);
text-shadow: #94999F 2px 2px;
}
a :link, a:visited, a:active { text-decoration: none!important; }
a:hover { text-decoration: none; color: #6480AC; -webkit-transition: color .3s linear, top .3s ease-out; -moz-transition: color .3s linear, top .3s ease-out; -o-transition: color .3s linear, top 1s ease-out; transition: color .3s linear, top .3s ea; }
.group0, .group1, .group2, .group3, .group4, .group5, .group6, .group7 { font-family: indie flower, cursive; font-weight: bolder; font-size: 12px; text-transform: uppercase; }
/* THIS PART IS COMPLETELY OPTIONAL: change the colours according to your groups' colours; group0 is the default member colour. That way, you won't need to change the group's colour in the membergroups part of the admin panel. If you don't want this part, delete the entire thing and change the contents of the first side table ("Legend") as you will. */
.group0 { text-shadow: #FFFFff 1px 1px; }
.group1 { text-shadow: #46E800 1px 1px; }
.group2 { text-shadow: #B39900 1px 1px; }
.group3 { text-shadow: #DA4600 1px 1px; }
.group4 { text-shadow: #FA1700 1px 1px; }
/* DELETE UP TO HERE, IF YOU WANT TO */
textarea { padding-top: 12px; padding-bottom: 9px; padding-left: 11px; padding-right: 9px; font-family: Verdana, Arial, sans-serif; font-size: 12px; color: 464646; background-color: ffffff; border-radius: 15px; }
select { font-family: verdana, arial, sans-serif; font-size: 9px; color: 464646; background-color: Ffffff; text-transform: uppercase; width: 130px; border-radius: 12px; }
input { padding: 3px; font-family: Verdana, Arial, sans-serif; font-size: 10px; color: 464646; background-color: ffffff; border-radius: 9px; }
</style>
<script type="text/javascript">
<!--
document.getElementsByTagName('td').item(2).style.display="none";
//-->
</script>
<script type="text/javascript">
<!--
document.getElementsByTagName('table')[0].cellSpacing = 0;
//-->
</script>
<script type="text/javascript">
<!--
/* fix text menus by ross */
var startChar = ' '; //Start character
var dividerChar = ' '; //Dividing Character(s);
var endChar = ' '; //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 type="text/javascript">
<!--
/* Welcome table below Ad by california */
document.write('<div id="welcome"></div>');
var welcome = document.getElementById("welcome");
welcome.parentNode.replaceChild(document.getElementsByTagName("table")[0], welcome);
// -->
</script>
<style type="text/css">
<!--
/* Category Titles Unbold */
.catbg b {
font-weight: normal;
font-size: 33px;
letter-spacing: -1px;
font-family: indie flower, cursive;
text-transform: lowercase;
text-shadow: #1774d1 -1px 1px;
line-height: 0%;
}
-->
</style>
<script type="text/javascript">
<!--
document.getElementsByTagName('td').item(2).innerHTML = document.getElementsByTagName('td').item(2).innerHTML.split(/<br\s?\/?>/)[0];
//-->
</script>
<style type="text/css">
<!--
#forumjump { display: none; }
-->
</style>
GLOBAL FOOTER
<script type="text/javascript">
<!--
// Alter standard font size in posts..
var posts = document.getElementsByTagName('font');
for(p=0; p<posts.length; p++)
{
if(posts[p].innerHTML.match(/google_ad_section_start/))
{
posts[p].size = '1';
}}
// -->
</script>
<script type="text/javascript">
<!--
// Remove all borders
table = document.getElementsByTagName('table');
for(i = 0; i < table.length; i ++) {
table[i].cellSpacing = "0px";
}
//-->
</script>
<script type="text/javascript">
<!--
/* remove last edit */
var font=document.getElementsByTagName("font");
if(location.href.match(/on=(displ|search2|(user)?rece)/)){
for(i=0;i<font.length;i++){
if(font[i].innerHTML.match(/Last\sEdit:/i) && font[i].parentNode.align=="left"){
font[i].style.display="none";
}
}
}
// -->
</script>
<script>
//Replace Color Pulldown with Advanced Color Picker v1.0 [CB]
//Copyright 01-02-2006 ~Wonder
//May be reposted anywhere as long as this header remains in tact
//Put in Global Footer
//Enter the URL for the color UBBC icon
colorIcon="http://i42.tinypic.com/oau5ch.gif";
//Do not change this image unless you are replacing it with the exact same image
hexWheelUrl="http://i40.tinypic.com/140g3uf.png";
toChange="";
function jesusLovesYouNoMatterWhat()
{
cp=window.open('', 'colorPopUp', config='height=200,width=195, toolbar=no, menubar=no, scrollbars=no, resizable=no,location=no, directories=no, status=no');
cp.focus();
cp.document.write("<scr"+"ipt>hexColors=[[255,0,0],[255,255,0],[0,255,0],[0,255,255],[0,0,255],[255,0,255],[255,0,0]];function getHex(x,y){if(x<180){for(i=1;i<7;i++){if(x<i*30)break;}x=(x-((i-1)*30))/30;temp=new Array(3);for(j=0;j<3;j++){temp[j]=Math.round((1-x)*hexColors[i-1][j]+(x)*hexColors[i][j]);}}else{temp=[127,127,127];}temp=[[255,255,255],temp,[0,0,0]];c=new Array(3);i=(y<90)?1:2;y=(y-((i-1)*90))/90;for(j=0;j<3;j++){x=Math.round((1-y)*temp[i-1][j]+(y)*temp[i][j]).toString(16);c[j]=(x.length<2?\"0\":\"\")+x;}c=c.join(\"\").toUpperCase();x=document.getElementById(\"col\");x.style.backgroundColor=c; x=x.getElementsByTagName(\"font\");x[0].innerHTML=c;x[1].innerHTML=c;}function getXY(e){ posx = 0; posy = 0; if (!e) var e = window.event; if (e.pageX || e.pageY) { posx = e.pageX; posy = e.pageY; } else if (e.clientX || e.clientY) { posx = e.clientX; posy = e.clientY; } posx=(posx>195)?195:posx;posy=(posy>180)?180:posy;getHex(posx,posy);} function returnColor(){opener.changeColor2(document.getElementById('col').getElementsByTagName('font')[0].innerHTML);window.close();}</scr"+"ipt><title>Click To Select</title><body onmousemove=\"getXY(event)\" topmargin=0 leftmargin=0 bottommargin=0 rightmargin=0> <div id=\"pos\" style=\"width:195; height:180; margin:0; padding:0;\"><img src=\""+hexWheelUrl+"\" onclick=\"javascript:returnColor()\" alt=\"Click To Select\"></div><div id=\"col\" style=\"width:195; height:20; margin:0; padding:0;\"><center><b><font color=\"FFFFFF\">FFFFFF</font> <font color=\"000000\">FFFFFF</font></b></center></div></body>");
}
function changeColor2(temp)
{
add("[color="+temp+"]","[/color]");
}
if(document.postForm)
{
document.postForm.color.style.display="none";
a=document.createElement("a");
a.href="javascript:jesusLovesYouNoMatterWhat()";
a.innerHTML="<img src=\""+colorIcon+"\" border=0 alt=\"Font Color\">";
document.postForm.color.parentNode.insertBefore(a,document.postForm.color.previousSibling);
}
</script>
<script type="text/javascript">
<!--
/* preview with quick reply - by ross */
var mes = document.getElementsByName('message');
if(location.href.match(/ion=display/) && mes[0]) {
var qrForm = mes[0].parentNode;
var preview = '<input name="nextaction" type="hidden" value="post">';
preview += '<input type="submit" accesskey="p" value="Preview" onclick="qrForm.nextaction.value=\'preview\'; return true;" /> ';
qrForm.removeChild(qrForm.lastChild)
qrForm.innerHTML += preview;
}
//-->
</script>
<script>/* Unbold Board Names - Wrighty */if(location.href.match(/action=home/) || !location.href.match(/action/))for(var d = document.getElementsByTagName('td'), a = 0; a < d.length; a++)if(d[a].innerHTML.match(/\[(\s|\*)\]/) && d[a].className == 'windowbg')d[a+1].getElementsByTagName('a')[0].innerHTML = d[a+1].getElementsByTagName('a')[0].firstChild.innerHTML</script>
<script type="text/javascript">
<!--
/* remove topic icons by hpmad */
var td = document.getElementsByTagName('td');
for(i=0;i<td.length;i++){
if(!document.postForm && location.href.match(/board=/)){
if(td[i].colspan == "8") {
td[i].colspan="7";
} else if (td[i].colspan == "7") {
td[i].colspan="6";
} else if(td[i].width=='5%' && td[i].className.match(/(windowbg2|catbg)/i) && td[i+1].width!='5%'){
var newWidth = (td[i].width == "43%") ? "48%" : "53%";
td[i+1].width = newWidth;
td[i].parentNode.removeChild(td[i]);
}
}
if(document.postForm && location.href.match(/action=(post|modifypost)/i)){
if(td[i].className=='windowbg' && td[i].innerHTML.match(/Message Icon:/) && td[i+1].width=='70%'){
td[i].parentNode.style.display = 'none';
}
}
if(!document.postForm && location.href.match(/thread=/)){
if(td[i].width == '5%' && td[i].align=='left' && td[i].vAlign == 'middle' && td[i].getElementsByTagName('img')[0]){
td[i].innerHTML = '';
}
}
}
//-->
</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' && gCell[c].getElementsByTagName('b')[0] && gCell[c].getElementsByTagName('b')[0].firstChild && 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">
<!--
/* Contact Icons (Image To Text)
By {XF}�s$@�s��, [url]http://www.xf-clan.net[/url]
Code from [url]http://www.utopiangfx.proboards56.com/index.cgi[/url] */
var td = document.getElementsByTagName("td");
if (location.href.match(/on=(displ|search2|viewpr|pmv|(user)?rece|cal\w+iew)/i)) {
for (i=0; i<td.length; i++) {
if (!td.item(i).innerHTML.match(/Guest/i) && td.item(i).width == "20%" && td.item(i).innerHTML.match(/Posts:/i)) {
var img = td.item(i).getElementsByTagName("img");
for (j=0; j<img.length; j++) {
if (/\[(icq|yim|aim|msn|homepage|email|send\spm)\]/i.test(img.item(j).alt)) {
var t = img.item(j).alt.replace(/\[|\]/g, "");
img.item(j).parentNode.replaceChild(document.createTextNode(t), img.item(j));
j--;
}
}
}
}
}
// -->
</script>
<script type="text/javascript">
<!--
// Disable smilies, by MegaShadowChao. May not be duplicated, altered, or reposted except by the author. //
var td=document.getElementsByTagName('td');
if(document.postForm){
for(count=0; count<td.length; count++){
if(td[count].width=="30%"){
if(td[count].getElementsByTagName('font').length>0){
if(td[count].getElementsByTagName('font')[0].innerHTML=="Add Smilies:"){
td[count].parentNode.style.display='none';
} else if(td[count].getElementsByTagName('font')[0].innerHTML=="Disable Smilies:"){
td[count+1].getElementsByTagName('input')[0].checked="true";
td[count].parentNode.style.display='none';
}
}
}
}
} else if(document.getElementsByName('message')[0]){
var iput=document.getElementsByTagName('input');
for(count=0; count<iput.length; count++){
if(iput[count].value.match("Post Reply")){
iput[count].onclick=function(){document.getElementsByName('message')[0].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 without permission from creator
For more codes like this one go to: [url]http://talkpark.proboards.com[/url] */
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 = '<font size="1"><font face="Verdana"><b><center>Le CODE</center></b></font></font><br><center><form><textarea class="codeArea" style="font-size: 8pt;" readonly name="codeArea" cols="14" rows="4">'+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'>
/*
Images to Text
By Michael (Wrighty)
Do Not Repost, Rip, Claim or Edit
*/
for(n = 0, i = document.getElementsByTagName('img'); n < i.length; n++)
if(i[n].src.match(/(s\d+\.)?images\.proboards\.com/) && i[n].src.match(/(\/button|search2|newpoll)/) && i[n].src.match(/(png|gif)$/) && !i[n].src.match(/_sm/)){
var f = document.createElement('font');
f.className = 'button';
i[n].parentNode.replaceChild(f.appendChild(document.createTextNode(i[n].alt.replace(/(\[|\])/g, ''))), i[n]);
n--;
}
</script>
<script type="text/javascript">
<!--
function spellChecker( textObject ) {
this.popUpUrl = '/speller/spellchecker.html';
this.popUpName = 'spellchecker';
this.popUpProps = "menu=no,width=440,height=350,top=70,left=120,resizable=yes,status=yes";
this.spellCheckScript = '/speller/server-scripts/spellchecker.pl';
this.replWordFlag = "R";
this.ignrWordFlag = "I";
this.replAllFlag = "RA";
this.ignrAllFlag = "IA";
this.fromReplAll = "~RA";
this.fromIgnrAll = "~IA";
this.wordFlags = new Array();
this.currentTextIndex = 0;
this.currentWordIndex = 0;
this.spellCheckerWin = null;
this.controlWin = null;
this.wordWin = null;
this.textArea = textObject;
this.textInputs = arguments;
this._spellcheck = _spellcheck;
this._getSuggestions = _getSuggestions;
this._setAsIgnored = _setAsIgnored;
this._getTotalReplaced = _getTotalReplaced;
this._setWordText = _setWordText;
this._getFormInputs = _getFormInputs;
this.openChecker = openChecker; this.startCheck = startCheck;
this.checkTextBoxes = checkTextBoxes;
this.checkTextAreas = checkTextAreas;
this.spellCheckAll = spellCheckAll;
this.ignoreWord = ignoreWord;
this.ignoreAll = ignoreAll;
this.replaceWord = replaceWord;
this.replaceAll = replaceAll;
this.terminateSpell = terminateSpell;
this.undo = undo;
window.speller = this;
}
function checkTextBoxes() {
this.textInputs = this._getFormInputs( "^text$" );
this.openChecker();
}
function checkTextAreas() {
this.textInputs = this._getFormInputs( "^textarea$" );
this.openChecker();
}
function spellCheckAll() {
this.textInputs = this._getFormInputs( "^text(area)?$" );
this.openChecker();
}
function openChecker() {
this.spellCheckerWin = window.open( this.popUpUrl, this.popUpName, this.popUpProps );
if( !this.spellCheckerWin.opener ) {
this.spellCheckerWin.opener = window;
}
}
function startCheck( wordWindowObj, controlWindowObj ) {
this.wordWin = wordWindowObj;
this.controlWin = controlWindowObj;
this.wordWin.resetForm();
this.controlWin.resetForm();
this.currentTextIndex = 0;
this.currentWordIndex = 0;
this.wordFlags = new Array( this.wordWin.textInputs.length );
for( var i=0; i<this.wordFlags.length; i++ ) {
this.wordFlags[i] = [];
}
this._spellcheck();
return true;
}
function ignoreWord() {
var wi = this.currentWordIndex;
var ti = this.currentTextIndex;
if( !this.wordWin ) {
alert( 'Error: Word frame not available.' );
return false;
}
if( !this.wordWin.getTextVal( ti, wi )) {
alert( 'Error: "Not in dictionary" text is missing.' );
return false;
}
if( this._setAsIgnored( ti, wi, this.ignrWordFlag )) {
this.currentWordIndex++;
this._spellcheck();
}
}
function ignoreAll() {
var wi = this.currentWordIndex;
var ti = this.currentTextIndex; if( !this.wordWin ) {
alert( 'Error: Word frame not available.' );
return false;
}
var s_word_to_repl = this.wordWin.getTextVal( ti, wi );
if( !s_word_to_repl ) {
alert( 'Error: "Not in dictionary" text is missing' );
return false;
}
this._setAsIgnored( ti, wi, this.ignrAllFlag );
for( var i = ti; i < this.wordWin.textInputs.length; i++ ) {
for( var j = 0; j < this.wordWin.totalWords( i ); j++ ) {
if(( i == ti && j > wi ) || i > ti ) {
if(( this.wordWin.getTextVal( i, j ) == s_word_to_repl ) && ( !this.wordFlags[i][j] )) {
this._setAsIgnored( i, j, this.fromIgnrAll ); }
} } }
this.currentWordIndex++;
this._spellcheck();}function replaceWord() {
var wi = this.currentWordIndex; var ti = this.currentTextIndex; if( !this.wordWin ) {
alert( 'Error: Word frame not available.' );
return false; }
if( !this.wordWin.getTextVal( ti, wi )) {
alert( 'Error: "Not in dictionary" text is missing' );
return false; } if( !this.controlWin.replacementText ) {
return; } var txt = this.controlWin.replacementText;
if( txt.value ) { var newspell = new String( txt.value );
if( this._setWordText( ti, wi, newspell, this.replWordFlag )) {
this.currentWordIndex++; this._spellcheck();
}
}}function replaceAll() {
var ti = this.currentTextIndex;
var wi = this.currentWordIndex; if( !this.wordWin ) {
alert( 'Error: Word frame not available.' ); return false; }
var s_word_to_repl = this.wordWin.getTextVal( ti, wi ); if( !s_word_to_repl ) {
alert( 'Error: "Not in dictionary" text is missing' );
return false;
}
var txt = this.controlWin.replacementText;
if( !txt.value ) return;
var newspell = new String( txt.value ); this._setWordText( ti, wi, newspell, this.replAllFlag );
for( var i = ti; i < this.wordWin.textInputs.length; i++ ) {
for( var j = 0; j < this.wordWin.totalWords( i ); j++ ) {
if(( i == ti && j > wi ) || i > ti ) {
if(( this.wordWin.getTextVal( i, j ) == s_word_to_repl ) && ( !this.wordFlags[i][j] )) {
this._setWordText( i, j, newspell, this.fromReplAll );
}
}
}
}
this.currentWordIndex++;
this._spellcheck();}function terminateSpell() {
var msg = "Spell check complete:\n\n";
var numrepl = this._getTotalReplaced(); if( numrepl == 0 ) {
if( !this.wordWin ) {
msg = "";
} else {
if( this.wordWin.totalMisspellings() ) {
msg += "No words changed.";
} else {
msg += "No misspellings found.";
}
} } else if( numrepl == 1 ) {
msg += "One word changed.";
} else {
msg += numrepl + " words changed.";
}
if( msg ) {
msg += "\n"; alert( msg );
}
if( numrepl > 0 ) {
for( var i = 0; i < this.textInputs.length; i++ ) {
if( this.wordWin ) {
if( this.wordWin.textInputs[i] ) {
this.textInputs[i].value = this.wordWin.textInputs[i];
}
}
}
}
this.spellCheckerWin.close();
return true;
}function undo() {
var ti = this.currentTextIndex;
var wi = this.currentWordIndex;
if( this.wordWin.totalPreviousWords( ti, wi ) > 0 ) {
this.wordWin.removeFocus( ti, wi ); do {
if( this.currentWordIndex == 0 && this.currentTextIndex > 0 ) {
this.currentTextIndex--;
this.currentWordIndex = this.wordWin.totalWords( this.currentTextIndex )-1;
if( this.currentWordIndex < 0 ) this.currentWordIndex = 0;
} else { if( this.currentWordIndex > 0 ) {
this.currentWordIndex--;
}
}
} while (
this.wordWin.totalWords( this.currentTextIndex ) == 0 || this.wordFlags[this.currentTextIndex][this.currentWordIndex] == this.fromIgnrAll || this.wordFlags[this.currentTextIndex][this.currentWordIndex] == this.fromReplAll );
var text_idx = this.currentTextIndex;
var idx = this.currentWordIndex;
var preReplSpell = this.wordWin.originalSpellings[text_idx][idx];
if( this.wordWin.totalPreviousWords( text_idx, idx ) == 0 ) {
this.controlWin.disableUndo(); }
switch( this.wordFlags[text_idx][idx] ) {
case this.replAllFlag :
for( var i = text_idx; i < this.wordWin.textInputs.length; i++ ) {
for( var j = 0; j < this.wordWin.totalWords( i ); j++ ) {
if(( i == text_idx && j >= idx ) || i > text_idx ) {
var origSpell = this.wordWin.originalSpellings[i][j];
if( origSpell == preReplSpell ) {
this._setWordText ( i, j, origSpell, undefined );
}
}
}
}
break;
case this.ignrAllFlag :
for( var i = text_idx; i < this.wordWin.textInputs.length; i++ ) {
for( var j = 0; j < this.wordWin.totalWords( i ); j++ ) {
if(( i == text_idx && j >= idx ) || i > text_idx ) {
var origSpell = this.wordWin.originalSpellings[i][j];
if( origSpell == preReplSpell ) {
this.wordFlags[i][j] = undefined;
}
}
}
}
break;
case this.replWordFlag :
this._setWordText ( text_idx, idx, preReplSpell, undefined );
break; }
this.wordFlags[text_idx][idx] = undefined;
this._spellcheck(); }}function _spellcheck() {
var ww = this.wordWin;
if( this.currentWordIndex == ww.totalWords( this.currentTextIndex) ) {
this.currentTextIndex++;
this.currentWordIndex = 0;
if( this.currentTextIndex < this.wordWin.textInputs.length ) {
this._spellcheck();
return;
} else {
this.terminateSpell();
return;
}
}
if( this.currentWordIndex > 0 ) {
this.controlWin.enableUndo();
}
if( this.wordFlags[this.currentTextIndex][this.currentWordIndex] ) {
this.currentWordIndex++;
this._spellcheck();
} else {
var evalText = ww.getTextVal( this.currentTextIndex, this.currentWordIndex );
if( evalText ) {
this.controlWin.evaluatedText.value = evalText;
ww.setFocus( this.currentTextIndex, this.currentWordIndex );
this._getSuggestions( this.currentTextIndex, this.currentWordIndex );
}
}
}function _getSuggestions( text_num, word_num ) {
this.controlWin.clearSuggestions();
var a_suggests = this.wordWin.suggestions[text_num][word_num];
if( a_suggests ) {
for( var ii = 0; ii < a_suggests.length; ii++ ) {
this.controlWin.addSuggestion( a_suggests[ii] );
}
}
this.controlWin.selectDefaultSuggestion();
}
function _setAsIgnored( text_num, word_num, flag ) {
this.wordWin.removeFocus( text_num, word_num );
this.wordFlags[text_num][word_num] = flag;
return true;
}
function _getTotalReplaced() {
var i_replaced = 0;
for( var i = 0; i < this.wordFlags.length; i++ ) {
for( var j = 0; j < this.wordFlags[i].length; j++ ) {
if(( this.wordFlags[i][j] == this.replWordFlag ) || ( this.wordFlags[i][j] == this.replAllFlag ) || ( this.wordFlags[i][j] == this.fromReplAll )) {
i_replaced++; } } }
return i_replaced;
}
function _setWordText( text_num, word_num, newText, flag ) {
this.wordWin.setText( text_num, word_num, newText );
this.wordFlags[text_num][word_num] = flag;
return true;
}
function _getFormInputs( inputPattern ) {
var inputs = new Array();
for( var i = 0; i < document.forms.length; i++ ) {
for( var j = 0; j < document.forms[i].elements.length; j++ ) {
if( document.forms[i].elements[j].type.match( inputPattern )) {
inputs[inputs.length] = document.forms[i].elements[j];
}
}
}
return inputs;
}
function openSpellCheck(){
if(document.postForm)
var speller = new spellChecker(document.postForm.subject,document.postForm.message);
else
var speller = new spellChecker(document.getElementsByName('message')[0]);
speller.openChecker();
}
// -->
</script>
<script type="text/javascript">
<!--
/* center miniprofile */
var td=document.getElementsByTagName("td");
if(location.href.match(/action/)){
for(i=0;i<td.length;i++){
if(td[i].className.match(/windowbg/) && td[i].width=="20%"){
td[i].align="center";
}
}
}
//-->
</script>
<script type="text/javascript">
<!--
/* spell check with quick reply */
var mes = document.getElementsByName('message');
if(mes[0] && !document.postForm) {
var qrForm = mes[0].parentNode;
var pre = document.createElement('font');
pre.innerHTML = '<input type="button" value="Spell Check" onclick="openSpellCheck();">';
qrForm.insertBefore(pre, qrForm.lastChild.previousSibling)
}
//-->
</script>
<div width="98%" align="center" style="border-top: 1px dashed #575757; font: 21px Century Gothic; letter-spacing: 9px; padding: 5px; bg-color: transparent">SKIN BY <a href="http://skinjob.proboards.com/index.cgi?"><b>NIKKIE LI</b></a>.</div>
<!-- =====
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>
MAIN FOOTER
<script type='text/javascript'>
/* Serperate News Fader from Boards by Scorpian
Version 1 - Just split the damn thing
[url]http://roddyinnov.proboards75.com[/url] */
/*=== Edit These ===*/
var splitHeight = 30; // How much space you want to split it by
/*=== Do Not Edit ===*/
var riTable = document.getElementsByTagName('table');
if(location.href.match(/action=home/i) || !location.href.match(/(action|board)=/i)){
for(x=0; x<riTable.length; x++){
if(riTable[x].cellSpacing == 1 && riTable[x].cellPadding == 4 && riTable[x].rows[0].cells[0].innerHTML.match(/News/i)){
riTable[x].parentNode.parentNode.parentNode.parentNode.style.backgroundColor = 'transparent';
var newHTML = "<table width='100%' cellspacing='1' cellpadding='4' border='0' class='bordercolor'>";
newHTML += riTable[x].innerHTML;
newHTML += "</table><div style='height:"+splitHeight+"px;'></div>";
var newsFader = riTable[x].parentNode;
newsFader.innerHTML = newsFader.innerHTML.replace(newsFader.innerHTML,newHTML);
}
}
}
</script>
<script type="text/javascript">
<!--
// Created by PopThosePringles
// Size of the gap between categories
var gapSize = 30;
var tabHTML = '<td id="rr" colspan="5"></table></td></tr></table><div style="height:' + gapSize + '"></div><table width="100%" cellspacing="0" cellpadding="0" class="bordercolor"><tr><td><table cellpadding="4" cellspacing="1" width="100%"><tr>';
if(location.href.match(/\.com(\/|.+cgi(\?|#.+|\?\w+=home)?)?$/i)){
var tBod = document.getElementsByTagName("tbody");
for(tb = 0; tb < tBod.length; tb ++){
for(r = 2; r < tBod.item(tb).rows.length; r ++){
var tBodObj = tBod.item(tb).rows.item(r).cells.item(0);
if(tBodObj.className == "catbg" && tBodObj.colSpan == "5" && tBodObj.align != "right"){
var c = tabHTML + tBod.item(tb).firstChild.innerHTML + "</tr>";
var p = tBodObj.parentNode.innerHTML;
var tBodPar = tBod.item(tb).parentNode.parentNode.parentNode.parentNode.parentNode;
tBodPar.parentNode.innerHTML = tBodPar.parentNode.innerHTML.replace(p, c + p);
}
if(tBod.item(tb).rows.item(r).firstChild.id == "rr"){
tBod.item(tb).rows.item(r).style.display = "none";
}
}
}
}
//-->
</script>
<script type="text/javascript">
<!--
/* remove Forum Name | Topics | Posts...
and add thread & post info by california */
var td=document.getElementsByTagName("td");
if(location.href.match(/\/?((index\.cgi)?\??(action=(ma.+ad|logout|home))?(#.+)?)?$/)){
for(i=0;i<td.length;i++){
if(td[i].width=="1%" && td[i].innerHTML.match(/\d/)){
if(td[i+1].width.match(/^(1|7)%$/)){
td[i].innerHTML+="<br />threads";
td[i].width="8%";
}else{
td[i].innerHTML+="<br />posts";
td[i].width="7%";
}
}
if(td[i].width=="8%" && !td[i].innerHTML.match(/thread/)){
td[i].width="4%";
}
if(td[i].className=="titlebg" && td[i].innerHTML.match(/Forum Name/i)){
td[i].parentNode.style.display="none";
}
}
}
//-->
</script>
<script type="text/Javascript">
// Sub-Boards in Boards Cell v2 by Chris
// Do not redistribute without permission of the creator
var dontShow = [ // IDs of the boards to not have the sub-boards shown for
"test2",
"board2" // No comma on last line
];
var beforeText = "<font class='subses'>["; // Text before all the sub-boards
var afterText = "]</font>"; // Text after all the sub-boards
var middleText = "] ["; // Text between each sub-board
// Don't edit
var aTD = document.getElementsByTagName("TD");
var aSE = document.getElementsByTagName("SELECT");
var subRe = /\s\(\d+ sub-boards?\)/i;
function analyzePage(){
// Adds the div's with IDs
for(a=4;a<aTD.length;a++){
if(aTD[a].width == "66%" && aTD[a].innerHTML.match(subRe)){
var d = document.createElement("div");
d.id = "sub_"+aTD[a].getElementsByTagName("A")[0].href.split(/board=/i)[1];
if(aTD[a].lastChild.nodeName.toLowerCase() == "font")
aTD[a].appendChild(d);
else
aTD[a].insertBefore(d,aTD[a].lastChild);
aTD[a].innerHTML = aTD[a].innerHTML.replace(subRe,"");
a = a+4;
}
}
}
function addListing(){
for(a=0;a<aSE.length;a++)
if(aSE[a].options[0].text == "Forum Jump")
break;
for(b=0;b<aSE[a].options.length;b++){
if(aSE[a].options[b].value != "" && aSE[a].options[b].text.match(/^-\s/i)){
var bid = aSE[a].options[b].value.split(/board=/i)[1];
if(!document.getElementById("sub_"+bid) || dontShow.toString().indexOf(bid) != -1)
continue;
var data = "";
while(aSE[a].options[b+1] && aSE[a].options[b+1].text.match(/---\s/i)){
b++;
data += (data == ""?"":middleText)+"<a href='"+aSE[a].options[b].value+"'>"+aSE[a].options[b].text.replace(/---\s/,"")+"</a>";
}
document.getElementById("sub_"+bid).innerHTML = beforeText+data+afterText;
}
}
}
if(location.href.match(/action=(change|home)/i) || !location.href.match(/action=/i)){
analyzePage();
addListing();
}
</script>
<script type="text/javascript">
<!--
//Remove Info Center Title Bar
//By Wrighty
//DO NOT REPOST
var td = document.getElementsByTagName("td");
if(location.href.match(/action=(change|home)/)||!location.href.match(/action/)){
for (w=0;w<td.length;w++){
if (td[w].className=="titlebg" && td[w].align=="center" && td[w].innerHTML.match(/Info Center/i)){
td[w].parentNode.style.display="none";
}}}
//-->
</script>
<script>
//Remove "Topics and Posts" column from main page
//wooper
var TD = document.getElementsByTagName("TD")
for(i=0;i<TD.length;i++){
if(TD[i].width == "1%" && TD[i+1].width == "1%")
{
TD[i].style.display ="none";
TD[i+1].style.display ="none";
TD[i-1].colSpan = '3';
}
}
</script>
<script type='text/javascript' language='JavaScript'>
/* Remove "Mark as Read" Bar by Scorpian */
var riTd = document.getElementsByTagName('td');
if(location.href.match(/action=home/i) || !location.href.match(/(action|board)=/i)){
for(x=0; x<riTd.length; x++){
if(riTd[x].className == 'catbg' && riTd[x].colSpan == '5' && riTd[x].innerHTML.match(/Mark All Boards Read/i)){
riTd[x].parentNode.style.display = 'none';
}
}
}
</script>
<script type="text/javascript">
<!--
/* Justify Board Description - By Anish
Streamlined by SubDevo
http://digitaldat.proboards.com/ */
var td = document.getElementsByTagName("td");
if(/^(home|boardindex)$/.test(pb_action)){
for(a=0;a<td.length;a++){
if(td[a].className=="windowbg2" && td[a].width=="66%"){
var des=td[a].lastChild;
des.innerHTML='<blockquote>'+
des.innerHTML+'</blockquote>';
}
}
}
//-->
</script>
<script>
//remove info center icons
var InfoIcon=document.getElementsByTagName("TD")
for(t=0;t<InfoIcon.length;t++){
if(InfoIcon[t].className.match("windowbg") && InfoIcon[t].width=="20" && InfoIcon[t].vAlign=="middle"){
InfoIcon[t].style.display="none"
}}
</script>