Post by Isa The Great on Apr 29, 2011 17:06:35 GMT -5
Global Header
Global Footer:
Main Header:
Main Footer:
<script>
<!--
/* Border-Around-Forum using Gradients - by Smangii */
var hg = "titlebg"; // Class of the Header Gradient
var mc = "#1a614f"; // Color of the middle portion
var bg = "titlebg"; // Class of the Footer Gradient
document.write('<table width="92%" cellspacing="1" cellpadding="4" class="bordercolor" align="center"><tr><td width="100%" class="'+hg+'"></td></tr><tr><td width="100%" bgcolor="'+mc+'">')
//-->
</script>
<script type="text/javascript">
<!--
document.getElementsByTagName('td').item(2).style.display="none";
//-->
</script>
<script type="text/javascript">
<!--
document.getElementsByTagName('font').item(1).style.display="none";
//-->
</script>
<!--
===================================
HTML Left Side Tables for ProBoards - Smangii Style
GLOBAL HEADERS
===================================
//-->
<div id="wel"></div>
<script type="text/javascript">
<!--
var welcomeTable = document.getElementsByTagName("table").item(0);
document.getElementById("wel").appendChild(welcomeTable);
//-->
</script>
<!-- Start Main Table //-->
<table align="center" width="auto" cellpadding="0" bgcolor="101010">
<tr>
<td align="center" width="257px" vAlign="top">
<!-- Start Side Tables //-->
<table width="100%" cellpadding="0">
<tr>
<td>
<table>
<td><div style='width:250px; height: 300px; background:url(http://i51.tinypic.com/105csw9.jpg); '><div style=' padding:100px 5px 5px 2px;'>
<br><br><br>
<center> <div style='text-shadow: 1px 1px 1px black; font-family: georgia; color:#1a614f; font-size:30px; letter-spacing:-3px;'><b>cyanide high</b></div></center><center> <div style=" border:4px solid #1a614f; background-color: e9ebeb; width: 185px; padding:2px 3px 3px 2px; text-align:justify; line-height: 84%; font-family: verdana; font-size: 9px; color: #323232">
WELCOME TO <B>CYANIDE HIGH</B>. WE ARE A ACTIVE MAGIC SCHOOL. WE ARE CURRENTLY ACCEPTING MALES, FEMALES, ALL AGES, AND ALL DIFFERENT RACES. PLEASE MAKE SURE THAT YOU READ OUR PLOT. IF YOU HAVE ANY QUESTIONS FOR US, PLEASE JUST LET US KNOW WE'LL BE GLAD TO ANSWER ANY!
</div></center><br>
</td></table>
<table>
<td><div style='width:250px; height: 200px; background:url(http://i51.tinypic.com/105csw9.jpg); '><div style=' padding:100px 5px 5px 2px;'>
<br><br><br>
<center> <div style='text-shadow: 1px 1px 1px black; font-family: georgia; color:#1a614f; font-size:30px; letter-spacing:-3px;'><a href="#" onMouseover="showmenu(event,linkset[0])" onMouseout="delayhidemenu()"><font color=#1a614f><b>hover for links</b></color></a></div></center><br>
</td></table>
<table>
<td><div style='width:250px; height: 200px; background:url(http://i51.tinypic.com/105csw9.jpg); '><div style=' padding:50px 5px 5px 2px;'>
<br><br><br>
<center> <div style='text-shadow: 1px 1px 1px black; font-family: georgia; color:#1a614f; font-size:30px; letter-spacing:-3px;'><b>staff members</b></div></center><center> <div style=" border:4px solid #1a614f; background-color: e9ebeb; width: 185px; padding:2px 3px 3px 2px; text-align:justify; line-height: 84%; font-family: verdana; font-size: 12px; color: #323232">
<a href="#" onMouseover="showmenu(event,linkset[1])" onMouseout="delayhidemenu()"><font color=#1a614f><b>LUCY</b></color></a><br>
<a href="#" onMouseover="showmenu(event,linkset[2])" onMouseout="delayhidemenu()"><font color=#1a614f><b>KIELAR</b></color></a><br>
<a href="#" onMouseover="showmenu(event,linkset[3])" onMouseout="delayhidemenu()"><font color=#1a614f><b>MATTHEW</b></color></a>
</div></center><br>
</td></table>
<table>
<td><div style='width:250px; height: 325px; background:url(http://i51.tinypic.com/105csw9.jpg); '><div style=' padding: -5px 5px 5px 2px;'>
<br><br><br>
<center> <div style='text-shadow: 1px 1px 1px black; font-family: georgia; color:#1a614f; font-size:30px; letter-spacing:-3px;'><b>chatbox</b></div></center><center> <div style=" border:4px solid #1a614f; background-color: e9ebeb; width: 185px; padding:2px 3px 3px 2px; text-align:justify; line-height: 84%; font-family: verdana; font-size: 9px; color: #323232"><!-- BEGIN CBOX - www.cbox.ws - v001 -->
<div id="cboxdiv" style="text-align: center; line-height: 0">
<div><iframe frameborder="0" width="185" height="145" src="http://www2.cbox.ws/box/?boxid=2085984&boxtag=sdp3xc&sec=main" marginheight="2" marginwidth="2" scrolling="auto" allowtransparency="yes" name="cboxmain" style="border: 0px solid;" id="cboxmain"></iframe></div>
<div><iframe frameborder="0" width="185" height="75" src="http://www2.cbox.ws/box/?boxid=2085984&boxtag=sdp3xc&sec=form" marginheight="2" marginwidth="2" scrolling="no" allowtransparency="yes" name="cboxform" style="border: 0px solid;border-top:0px" id="cboxform"></iframe></div>
</div>
<!-- END CBOX -->
</div></center><br>
</td></table>
<table>
<td><div style='width:250px; height: 200px; background:url(http://i51.tinypic.com/105csw9.jpg); '><div style=' padding:50px 5px 5px 2px;'>
<br><br><br>
<center> <div style='text-shadow: 1px 1px 1px black; font-family: georgia; color:#1a614f; font-size:30px; letter-spacing:-3px;'><b>the awards</b></div></center><center> <div style=" border:4px solid #1a614f; background-color: e9ebeb; width: 185px; padding:2px 3px 3px 2px; text-align:justify; line-height: 84%; font-family: verdana; font-size: 12px; color: #323232">
TBA
</div></center><br>
</td></table>
<table>
<td><div style='width:250px; height: 270px; background:url(http://i51.tinypic.com/105csw9.jpg); '><div style=' padding:50px 5px 5px 2px;'>
<br><br><br>
<center> <div style='text-shadow: 1px 1px 1px black; font-family: georgia; color:#1a614f; font-size:30px; letter-spacing:-3px;'><b>the credits</b></div></center><center> <div style=" border:4px solid #1a614f; background-color: e9ebeb; width: 185px; padding:2px 3px 3px 2px; text-align:justify; line-height: 84%; font-family: verdana; font-size: 12px; color: #323232"> THE PLOT, THE RULES ETC BELONG TO THE STAFF MEMBERS OF CYANIDE HIGH. ALL MEMBER POST CONTENT IS COPYRIGHTED BY THEIR RESPECTIVE OWNERS. THE SKIN, GRAPHICS, AND SIDE BAR TABLES WERE CREATED BY <B>ISA THE GREAT</B> OF <A HREF="http://z10.invisionfree.com/CAUTIONTOTHEWIND/index.php?showuser=3926">CAUTION</A> AND <A HREF="http://z10.invisionfree.com/lovefortherose/index.php?showuser=152">LOVE FOR THE ROSE</A>
</div></center><br>
</td></table>
<!-- Close Side Tables //-->
</td>
</tr>
</table>
</td>
<td vAlign="top">
<!-- END SIDE TABLES GLOBAL HEADERS HTML //-->
<style type="text/css">
#popitmenu{
position: absolute;
background-color: 545454;
border:1px solid black;
font: normal 10px Verdana;
line-height: 15px;
z-index: 100;
visibility: hidden;
}
#popitmenu a{
text-decoration: none;
padding-left: 6px;
color: ededed;
display: block;
}
#popitmenu a:hover{ /*hover background color*/
background-color: #6a1616;
}
</style>
<script type="text/javascript">
/***********************************************
* Pop-it menu- © Dynamic Drive (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit http://www.dynamicdrive.com/ for full source code
***********************************************/
var defaultMenuWidth="120px" //set default menu width.
var linkset=new Array()
//SPECIFY MENU SETS AND THEIR LINKS. FOLLOW SYNTAX LAID OUT
linkset[0]='<a href="http://www.cyanidehigh.proboards.com/index.cgi?board=rulesplot&action=display&thread=1">plot</a>'
linkset[0]+='<hr>' //Optional Separator
linkset[0]+='<a href="http://www.cyanidehigh.proboards.com/index.cgi?board=rulesplot&action=display&thread=2">rules</a>'
linkset[0]+='<a href="http://www.cyanidehigh.proboards.com/index.cgi?board=registrationapplication&action=display&thread=3">application</a>'
linkset[0]+='<a href="http://www.cyanidehigh.proboards.com/index.cgi?board=url">advertisements</a>'
linkset[1]='<a href="http://cyanidehigh.proboards.com/index.cgi?action=viewprofile&user=admin">Lucy Trace</a>'
linkset[1]+='<a href="http://cyanidehigh.proboards.com/index.cgi?action=viewprofile&user=chi">Chi Chi Yamio</a>'
linkset[1]+='<a href="http://cyanidehigh.proboards.com/index.cgi?action=viewprofile&user=chelsea">Chelsea</a>'
linkset[1]+='<a href="http://www.codingforums.com">Rachel Saint</a>'
linkset[1]+='<a href="http://cyanidehigh.proboards.com/index.cgi?action=viewprofile&user=david">David Drake</a>'
linkset[1]+='<a href="http://cyanidehigh.proboards.com/index.cgi?action=viewprofile&user=leetah">Leetah McMillan</a>'
linkset[2]='<a href="http://cyanidehigh.proboards.com/index.cgi?action=viewprofile&user=kie">Kielar Storm</a>'
linkset[2]+='<a href="http://cyanidehigh.proboards.com/index.cgi?action=viewprofile&user=aaron">Aaron Miller</a>'
linkset[3]='<a href="http://cyanidehigh.proboards.com/index.cgi?action=viewprofile&user=matthew">Matthew Night</a>'
linkset[3]+='<a href="http://cyanidehigh.proboards.com/index.cgi?action=viewprofile&user=tilder">Dave Phillips</a>'
linkset[3]+='<a href="http://cyanidehigh.proboards.com/index.cgi?action=viewprofile&user=caitlin">Caitling Ohara </a>'
////No need to edit beyond here
var ie5=document.all && !window.opera
var ns6=document.getElementById
if (ie5||ns6)
document.write('<div id="popitmenu" onMouseover="clearhidemenu();" onMouseout="dynamichide(event)"></div>')
function iecompattest(){
return (document.compatMode && document.compatMode.indexOf("CSS")!=-1)? document.documentElement : document.body
}
function showmenu(e, which, optWidth){
if (!document.all&&!document.getElementById)
return
clearhidemenu()
menuobj=ie5? document.all.popitmenu : document.getElementById("popitmenu")
menuobj.innerHTML=which
menuobj.style.width=(typeof optWidth!="undefined")? optWidth : defaultMenuWidth
menuobj.contentwidth=menuobj.offsetWidth
menuobj.contentheight=menuobj.offsetHeight
eventX=ie5? event.clientX : e.clientX
eventY=ie5? event.clientY : e.clientY
//Find out how close the mouse is to the corner of the window
var rightedge=ie5? iecompattest().clientWidth-eventX : window.innerWidth-eventX
var bottomedge=ie5? iecompattest().clientHeight-eventY : window.innerHeight-eventY
//if the horizontal distance isn't enough to accomodate the width of the context menu
if (rightedge<menuobj.contentwidth)
//move the horizontal position of the menu to the left by it's width
menuobj.style.left=ie5? iecompattest().scrollLeft+eventX-menuobj.contentwidth+"px" : window.pageXOffset+eventX-menuobj.contentwidth+"px"
else
//position the horizontal position of the menu where the mouse was clicked
menuobj.style.left=ie5? iecompattest().scrollLeft+eventX+"px" : window.pageXOffset+eventX+"px"
//same concept with the vertical position
if (bottomedge<menuobj.contentheight)
menuobj.style.top=ie5? iecompattest().scrollTop+eventY-menuobj.contentheight+"px" : window.pageYOffset+eventY-menuobj.contentheight+"px"
else
menuobj.style.top=ie5? iecompattest().scrollTop+event.clientY+"px" : window.pageYOffset+eventY+"px"
menuobj.style.visibility="visible"
return false
}
function contains_ns6(a, b) {
//Determines if 1 element in contained in another- by Brainjar.com
while (b.parentNode)
if ((b = b.parentNode) == a)
return true;
return false;
}
function hidemenu(){
if (window.menuobj)
menuobj.style.visibility="hidden"
}
function dynamichide(e){
if (ie5&&!menuobj.contains(e.toElement))
hidemenu()
else if (ns6&&e.currentTarget!= e.relatedTarget&& !contains_ns6(e.currentTarget, e.relatedTarget))
hidemenu()
}
function delayhidemenu(){
delayhide=setTimeout("hidemenu()",500)
}
function clearhidemenu(){
if (window.delayhide)
clearTimeout(delayhide)
}
if (ie5||ns6)
document.onclick=hidemenu
</script>
<script type="text/javascript">
// Change names in menu (text only) - by Smangii
var menutext = [];
menutext[0] = ["[Home]","<font size=1><b>home ,</b></size>"];
menutext[1] = ["[Help]","<font size=1><b>help ,</b></size>"];
menutext[2] = ["[Search]","<font size=1><b>locate ,</b></size>"];
menutext[3] = ["[Members]","<font size=1><b>members ,</b></size>"];
menutext[4] = ["[Calendar]","<font size=1><b>events,</b></size>"];
menutext[5] = ["[Admin]","<font size=1><b>administration panel ,</b></size>"];
menutext[6] = ["[Profile]","<font size=1><b>profile ,</b></size>"];
menutext[7] = ["[Logout]","<font size=1><b>logout ,</b></size>"];
menutext[8] = ["[Login]","<font size=1><b>sign in,</b></size>"];
menutext[9] = ["[Register]","<font size=1><b>register ,</b></size>"];
var menu = document.getElementsByTagName('td');
for(e=0; e<menu.length; e++){
if(menu[e].className.match(/menubg/i)){
for(var a=0;a<menutext.length;a++){
menu[e].innerHTML = menu[e].innerHTML.replace(''+menutext[a][0]+'',''+menutext[a][1]+'');
}}}
</script>
<style type="text/css">
<!--
a:link {
text-decoration: none;
text-transform: uppercase;
}
a:visited {
text-decoration: none;
text-transform: uppercase;
}
a:hover {
text-decoration:525453;
text-transform: uppercase;
}
a:active {
text-decoration: none;
text-transform: uppercase;
}
-->
</style>
Global Footer:
<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=175;
var maxHeight=200;
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">
/* 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,'&nsb+sp;&nb+sp; ')
codeArea = codeArea.replace(/<br\s?\/?>/gi,'\n');
table[i].parentNode.parentNode.parentNode.parentNode.parentNode.innerHTML = '<font size="1"><b>Code:</b></font><br><center><form><textarea class="codeArea" style="font-size: 7pt;" readonly name="codeArea" cols="40" rows="5">'+codeArea+'</textarea><br><input type="button" value="Highlight Code" onclick="javascript:this.form.codeArea.focus();this.form.codeArea.select();"></form></center>';
i--;
}
}
}
</script>
<script type="text/javascript">
<!--
/*
Whisper tags by Todge (Todge-@ntlworld.com)
Copyright © 2005
Please keep this header intact
*/
var whisperButton = 'http://i43.tinypic.com/s11d2q.jpg';
var whoCanSee;
// Add Whisper button to post area and stop whispers being quoted...
if(document.postForm)
{
var TD = document.getElementsByTagName('TD');
for(t=0; t<TD.length; t++)
{
if(TD[t].width == "30%" TD[t].innerHTML.match(/Add Tags:/i))
{
if(location.href.match('quote='))
{
quoted = document.postForm.message.value.split('[whisper');
document.postForm.message.value='';
for(qT=1; qT<quoted.length; qT++)
{
quoted[qT]=quoted[qT].split('/whisper]');
quoted[qT][0]='';
quoted[qT]=quoted[qT].join('');
}
document.postForm.message.value=quoted.join('');
}
TD[t+1].getElementsByTagName('font')[0].innerHTML+='<a href=javascript:add("[whisper=]","[/whisper]")><img src="'+whisperButton+'" alt="Whisper" border="0"/>'
break;
}
}
}
// Find whispers and hide text...
var post = document.getElementsByTagName('TD');
for(t=0; t<post.length; t++)
{
if((post[t].align=='right'post[t].height=='20'post[t].vAlign=='bottom'post[t].width=='40%')||(post[t+1].className=='windowbg2' post[t+1].width=='100%' post[t+1].innerHTML.match('whisper]')))
{
var posttxt=post[t+1].innerHTML;
posttxt=posttxt.split('[whisper');
for(s=1; s<posttxt.length; s++)
{
if(posttxt[s].split(']')[0].split('=').length>1)
{
whoCanSee = posttxt[s].split('=')[1].split(']')[0];
whoCanSee = whoCanSee.split(',');
}
posttxt[s]=posttxt[s].split('[/whisper]');
posttxt[s][0]=posttxt[s][0].split(']');
whisperBody=posttxt[s][0][1];
if(posttxt[s][0].length>2)
{
for(wB=2; wB<posttxt[s][0].length; wB++)
{
whisperBody+=']'+posttxt[s][0][wB];
}
}
posttxt[s][0]=posttxt[s][0].join(']');
whisperBody='Whispered message to: '+whoCanSee.join(', ')+'<table class="bordercolor" border="0" cellpadding="2" cellspacing="1" width="90%"><tr><td bgcolor="FFFFFF">'+whisperBody+'</td></tr></table>';
showW = 0;
for(vM=0; vM<whoCanSee.length; vM++)
{
if(whoCanSee[vM] == pb_displayname || pb_username == 'admin')
{
showW = 1;
break;
}
}
if(showW == 0)
{
whisperBody='';
}
posttxt[s][0]=whisperBody;
posttxt[s]=posttxt[s].join(' ');
}
posttxt=posttxt.join(' ');
post[t+1].innerHTML=posttxt;
}
}
// -->
</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=150;
var maxHeight=200;
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">
/* 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(/+mp;/gi,'');
codeArea = codeArea.replace(/\t/gi,'&nsb+sp;&nb+sp; ')
codeArea = codeArea.replace(/<br\s?\/?>/gi,'\n');
table[i].parentNode.parentNode.parentNode.parentNode.parentNode.innerHTML = '<font size="1"><b>Code:</b></font><br><center><form><textarea class="codeArea" style="font-size: 7pt;" readonly name="codeArea" cols="40" rows="5">'+codeArea+'</textarea><br><input type="button" value="Highlight Code" onclick="javascript:this.form.codeArea.focus();this.form.codeArea.select();"></form></center>';
i--;
}
}
}
</script>
<script type="text/javascript">
//Convert Buttons to Text by hpmad
//Do not redistribute without permission from creator
var img = document.getElementsByTagName('img');
for(i=0;i<img.length;i++){
if((img[i].src.match(/s(\d+).images.proboards.com\/buttons/i) || img[i].src.match(/search2.gif|newpoll/i)) && !img[i].src.match(/_sm.gif/)){
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="©2010, <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>
<script type="text/javascript">
<!--
// scrollerDiv UBBC in posts
// By Wormopolis - [url]www.wormocodes.com[/url]
// use <div class="postDiv" style=""></div> in post around text
// flags are:
// h(n) height, n=height in pix
// w(n) width, n=width in pix
// sx scroll x direction
// sy scroll y direction
// c(hex) color, hex=color in hex
// flags seperated by commas: <div class="postDiv" style="height: 100px; width: 50px; overflow-y: auto;"> blah blah blah </div>
for (tds=document.getElementsByTagName('td'), i=0; i<tds.length; i++) {
if (tds[i].width=="80%" && tds[i].className.match(/windowbg/) && tds[i].vAlign=="top" && tds[i].innerHTML.match(/\[scrolly:(.*?)\]([\s\S]*?)\[\/scrolly\]/i) && !tds[i].innerHTML.match(/\[norunubbc\]/)) {
flgs=RegExp.$1; lovetext=RegExp.$2;
tmp='<div class="postDiv" style="'+(flgs.match(/h\((\d+)\)/) ? 'height:'+RegExp.$1+';' : '')+(flgs.match(/w\((\d+)\)/) ? 'width:'+RegExp.$1+';' : '')+(flgs.match(/sx/) ? 'overflow-x:auto; white-space: nowrap;' : '')+(flgs.match(/sy/) ? 'overflow-y:auto;' : '')+(flgs.match(/c\((\w+)\)/) ? 'background-color:'+RegExp.$1+';' : '') +'" '+(flgs.match(/sx/) ? 'noWrap="nowrap" ' : '') + '>'+ lovetext + '</div>';
postCell=tds[i].getElementsByTagName('table')[0].rows[1].cells[0];
postCell.innerHTML=postCell.innerHTML.replace(/\[scrolly:(.*?)\]([\s\S]*?)\[\/scrolly\]/i,tmp);
i--;
}
}
-->
</script>
<script type="text/javascript"><!--
/* Style UBBC Tags
Created by iPokemon
Do not redistribute or call as your own
Updated Dec. 23rd, 2010
Copyright 2010 */
if(document.postForm) {
document.postForm.color.parentNode.innerHTML+='<a href="javascript:add(\'[style=]\',\'[/style]\')"><img src="http://i52.tinypic.com/66x2m1.png" alt="Style" border="0" /></a>';
}
//Replacement Portion
if(pb_action.match(/(calendar|pm|pre)view|search2|display/i)){
var td = document.getElementsByTagName('td'); var matCH=/\[style=(.+?)\](.+?)\[\/style\]/gi;
for(l=0;l<td.length;l++){
if(td[l].width=="80%"&&td[l].innerHTML.match(matCH)){
td[l].innerHTML = td[l].innerHTML.replace(matCH, '<div style="$1;">$2</div>');
}
}
}
//--></script>
<script type="text/javascript">
<!--
/*
Name: ENHANCED UBBC TABLE TAGS
Location: Global Footer
Created by EtonBones at yahoo d o t com
Do not redistribute without permission
Feel free to edit provided a notation is
added to this header stating that fact.
THIS HEADER MUST REMAIN INTACT.
*/
/*********** *****START EDITABLE USER OPTIONS***********************
If not concerned about the security risk posed by allowing users the ability
to set events such as onclick and onmouseover in their posts
set the following variable to false*/
var DisallowEvents=true;
/*If UBBC Undo installed and you would like enhanced tags added to history
set the following variable to true*/
var UUInstalled=false;
/******END EDITABLE USER OPTIONS (NO FURTHER EDITING NECESSARY)*******/
var NoGood="Enhanced tags need to be between the [td] and [/td]";
function enhanceTable(){
var td=document.getElementsByTagName("td");
for(i=0;i<td.length;i++){
if(td[i].width=="20%" && td[i].className.match(/windowbg/) && /(Posts:\s*[\d,]+|Guest)/.test(td[i].innerText||td[i].textContent)){
var msg=td[i].nextSibling.getElementsByTagName('tr')[1];
if(msg.getElementsByTagName('table').length){
for(l=0;l<msg.getElementsByTagName('table').length;l++){
parseTags(msg.getElementsByTagName('table')[l]);
//separate func needed since rowspans need to be set first in order to count columns
parseTH(msg.getElementsByTagName('table')[l]);
}
}
}else if(document.postForm && td[i].width=="30%" && td[i].className.match(/windowbg2/) && !document.getElementById('enhancedTable')){
var TR=td[i].parentNode;
var newTR=TR.parentNode.insertRow(TR.rowIndex+1);
TR.id="enhancedTable";
var newTD=document.createElement('td');
newTD.width='30%';
newTD.className='windowbg2';
newTD.innerHTML='<font size="2">Enhanced Table Tags:</font>';
newTR.appendChild(newTD);
newTD=document.createElement('td');
newTD.width='70%';
newTD.className='windowbg2';
newTD.innerHTML='<font size="2">Select Tag:</font><select name="etags" onChange=" addEtag(this.options[this.selectedIndex].value);this.selectedIndex=0;" ><option value="" selected="1">Enhanced Table Tags</option><option value="[th]" >Header</option><option value="[cs=2]">Span Columns</option><option value="[rs=2]">Span Rows</option><option value="[bg=white]">Background Color</option><option value="[atrb=border,0,true]">Any Attribute</option></select> ';
newTR.appendChild(newTD);
}else if(document.postForm && td[i].width=="100%" && td[i].className.match(/titlebg/) && td[i].innerHTML.match(/Topic Summary/)){
var table=td[i].parentNode.parentNode;
var re= /(?:[^\"])(\[(th|cs|rs|bg|atrb).*?\])/gim;
if(table.className.match(/tbody/i))table=table.parentNode;
for(l=2;l<table.rows.length;l=l+2){
if(table.rows[l].cells[0].innerHTML.match(/(?:[^\"\=])(\[(th|cs|rs|bg|atrb).*?\])/gim)){
while(table.rows[l].cells[0].innerHTML.match(/(?:[^\"\=])(\[(th|cs|rs|bg|atrb).*?\])/im ) ){
table.rows[l].cells[0].innerHTML= table.rows[l].cells[0].innerHTML.replace(/(?:[^\"\=])(\[(th|cs|rs|bg|atrb).*?\])/im, stripAnchor(RegExp.$1,RegExp.$2) ) ;
}
}
}
}
}
}
function stripAnchor(str){
var t=/(<A href\=.*\>(.*?)\<\/A\>)/i
if(!str)return "";
var s=str.substr(0,1);
if(s=='\"')return str;
if(s=="\[") s="";
if(str.match(t))str=str.replace(RegExp.$1,RegExp.$2);
return s+"<a title=\""+str+"\">*</a>";
}
function parseTags(TBL){
if(TBL.className !=""){
TBLS=TBL.getElementsByTagName('table')
for(k=0;k<TBLS.length;k++)parseTags(TBLS[k]);
return true;
}
var cell=TBL.getElementsByTagName('td');
var nada="";
for (j=0;j<cell.length;j++){
if(cell[j].innerHTML.match(/(\[cs\=(\d+)\])/i)){
cell[j].setAttribute("colSpan",RegExp.$2);
cell[j].innerHTML=cell[j].innerHTML.replace(RegExp.$1,'');
}
if(cell[j].innerHTML.match(/(\[rs\=(\d+)\])/i)){
cell[j].setAttribute("rowSpan",RegExp.$2);
cell[j].innerHTML=cell[j].innerHTML.replace(RegExp.$1,'');
}
if(cell[j].innerHTML.match(/(\[bg\=(.*?)\])/i)){
cell[j].setAttribute("bgColor",RegExp.$2);
cell[j].innerHTML=cell[j].innerHTML.replace(RegExp.$1,'');
}
while(cell[j].innerHTML.match(/(\[atrb\=(.*?)\])/i)){
var r1=RegExp.$1;
var r2=RegExp.$2;
var atrb=""; var atrbVal="";
var applyTable=false;
var oObj;
if(r2.split(',').length>0){ atrb=r2.split(',')[0]; atrb=atrb.replace(/^\s*|\s*$/g,"");}
if(r2.split(',').length>1) {atrbVal=r2.split(',')[1]; atrbVal=atrbVal.replace(/^\s*|\s*$/g,"");}
if(atrbVal.match(/(<A href\=.*\>(.*)\<\/A\>)/i))atrbVal=atrbVal.replace(RegExp.$1,RegExp.$2);
if(r2.split(',').length>2)applyTable=r2.split(',')[2]?true:false;
oObj=applyTable?TBL:cell[j];
if(atrb != ""){
if(atrb.toLowerCase()=="style"){
oObj.style.cssText+=atrbVal;
}else if(atrb.toLowerCase().substr(0,2)=="on" && DisallowEvents){
nada="<a title=\"Disallowed: "+r1.replace("[","").replace("]","") +"\">*</a>";
}else{
document.expando=false; //IE workaround for casing
try{
oObj.setAttribute(atrb,atrbVal);
}catch(e){
nada="<a title=\"Casing Error: "+r1.replace("[","").replace("]","") +"\">*</a>";
}finally{
document.expando=true;
}
}
}
cell[j].innerHTML=cell[j].innerHTML.replace(r1,nada);
}
}
}
function parseTH(TBL){
if(TBL.className !=""){
TBLS=TBL.getElementsByTagName('table')
for(k=0;k<TBLS.length;k++)parseTags(TBLS[k]);
return true;
}
var cell=TBL.getElementsByTagName('td');
for (j=0;j<cell.length;j++){
if(cell[j].innerHTML.match(/(\[th\])/i)){
cell[j].setAttribute("colSpan",columns(TBL));
cell[j].innerHTML=cell[j].innerHTML.replace(RegExp.$1,'');
}
}
}
function columns(TBL){
//w3c states that a colSpan=0 should make a cell span all columns but IE doesn't honor this, so...
var columns=0;
var tmp;
for(o=0;o<TBL.rows.length;o++){
tmp=0;
for(p=0;p<TBL.rows[o].cells.length;p++){
tmp++
if(TBL.rows[o].cells[p].rowSpan>1)tmp=tmp+TBL.rows[o].cells[p].rowSpan-1;
}
if(tmp>columns)columns=tmp;
}
return columns;
}
function addEtag(tag){
if(tag!=""){
if(UUInstalled){
if(isInsideCell()){
addX(tag);
}else{
alert(NoGood);
document.postForm.message.focus();
}
}else{
if(isInsideCell()){
add(tag);
}else{
alert(NoGood);
document.postForm.message.focus();
}
}
}
}
function isInsideCell(){
//Function purpose: determine if insertion point falls within the bounds of a cell
var msg=document.postForm.message;
if(document.postForm.message.createTextRange){
getCursorPositionIE();
var tmp= document.postForm.message.value.substr(0,document.postForm.message.selectionStart).split("\n").length-1;
setCursorPositionIE(msg.selectionStart-tmp);
}
msg.selectionStart=msg.selectionEnd;
var curr=msg.selectionStart;
if(msg.value.substr(0,curr).lastIndexOf("[td]")==-1 || msg.value.substr(0,curr).lastIndexOf("[td]")<msg.value.substr(0,curr).lastIndexOf("[/td]"))
return false;
if(msg.value.substr(curr).indexOf("[/td]")==-1 || (msg.value.substr(curr).indexOf("[/td]")>msg.value.substr(curr).indexOf("[td]") && msg.value.substr(curr).indexOf("[td]")!=-1))
return false;
if(msg.value.substr(0,curr).lastIndexOf("[")>msg.value.substr(0,curr).lastIndexOf("]"))
return false;
if(msg.value.substr(curr).indexOf("]")<msg.value.substr(curr).indexOf("[") )
return false;
return true;
}
if(location.href.match(/action\=(display|pmview|recent|userrecent|goto|search|calendarview)/) || ( document.postForm ))
enhanceTable();
function setCursorPositionIE(start,end) {
if(document.selection){
var element=document.postForm.message;
end=(end)?end:start;
var range = element.createTextRange();
range.collapse(true);
range.moveEnd('character', end);
range.moveStart('character', start);
range.select();
}
}
function getCursorPositionIE(){
if(document.selection){
var element = document.postForm.message;
element.focus();
var range = document.selection.createRange();
var stored_range = range.duplicate();
stored_range.moveToElementText( element );
stored_range.setEndPoint( 'EndToEnd', range );
element.selectionStart = stored_range.text.length - range.text.length;
element.selectionEnd = element.selectionStart + range.text.length;
element.selectionFaux=true;
}
}
//-->
</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 = '733';
}}}
//-->
</script>
</td></tr></table>
<!-- SIDE TABLES GLOBAL FOOTERS - DO NOT REMOVE //-->
<script>
<!--
document.write('</td></tr><tr><td width="100%" class="'+bg+'"></td></tr></table>')
//-->
</script>
Main Header:
<center><script type="text/javascript"><!--
function hideShow(it){
(document.getElementById(it).style.display == 'none')? document.getElementById(it).style.display = '' : document.getElementById(it).style.display = 'none';
}
//--></script>
<a href="javascript: void(0);" onClick="hideShow('div13');"><img src="http://i186.photobucket.com/albums/x5/Maxine_Elizabeth_LeBeau/Text%20Banners/iccbtest.png" border="0" /></a><br />
<div id="div13" style="display: none;">
<font color=f2f2f2><font size=1><b>RULES REGARDING ICC<br><br>
TO POST IN THE ICC, YOU MUST HAVE FINISHED YOUR APPLICATION.<br>
THERE WILL BE NO ROLE PLAYING IN THE ICC. THIS MEANS NO *HE WALKED<br>
TO THE STORE* BUSINESS. MAKE A THREAD IF YOU WANT THAT. HAVING AN <br>
ICON WOULD BE NICE AS WELL. REMEMBER, THE ICC IS A PRIVILEGE AND IF<br>
IT'S MISUSED, IT MIGHT BE TAKEN AWAY.<br><br></size>
<font size=5><a href='http://dirtierthesoundic.cbox.ws/'>an example of an iccb being used</a></b></size></center>
</div></center>
Main Footer:
<script>
//Add "Topics" and "Posts"under numbers on 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].className == "windowbg")
{
TD[i].innerHTML +=" Topics";
TD[i+1].innerHTML +=" Posts";
}
}
</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">
<!--
// Justify text in posts..
var jButton = 'http://i86.photobucket.com/albums/k107/melian2/IME/justify.gif';
// Add button to posting page..
if(document.postForm)
{
var buttons = document.images;
for(b=0; b<buttons.length; b++)
{
if(buttons[b].src.match('/right.gif'))
{
buttons = buttons[b+1].parentNode;
break;
}}
var justifyButton = document.createElement('A');
justifyButton.setAttribute('href','javascript:add("[justify]","[/justify]")');
justifyButton.innerHTML = '<img src="'+jButton+'" border="0">';
buttons.parentNode.insertBefore(justifyButton,buttons);
}
// Find and justify text in posts...
if(!document.location.href.match(/action=headersfooters/))
{
var posts = document.getElementsByTagName('td');
for(p=0; p<posts.length; p++)
{
if(((posts[p].vAlign == 'top' && posts[p].colSpan == '3') || (document.postForm && posts[p].width == '100%' && posts[p].className == 'windowbg2')) && posts[p].innerHTML.match(/\[justify\]/i))
{
posts[p].innerHTML = posts[p].innerHTML.replace(/\[justify\]/ig,'<div align="justify">');
posts[p].innerHTML = posts[p].innerHTML.replace(/\[\/justify\]/ig,'</div>');
}}}
// -->
</script>