Post by Isa The Great on Dec 23, 2009 12:01:42 GMT -5
global header
global footer
main header
main footer
<script type="text/javascript">
/* Separate Menu From Welcome Table */
/* By Luke */
/* [url]http://support.proboards.com/[/url] */
document.getElementsByTagName("tr")[2].style.display="none";
var td = document.getElementsByTagName("td");
document.write('<table width="92%" cellspacing="1" cellpadding="0" border="0" align="center" class="bordercolor"><tr><td width="100%" align="center">');
document.write('<table border="0" width="100%" cellpadding="0" cellspacing="0" align="center"><tr><td class="menubg" valign="middle" align="center">');
document.write(td[4].innerHTML);
document.write('</td></tr></table></td></tr></table>');
</script>
<script>
<!--
/* Border-Around-Forum using Gradients - by Smangii */
var hg = "titlebg"; // Class of the Header Gradient
var mc = "#0c0c0c"; // Color of the middle portion
var bg = "titlebg"; // Class of the Footer Gradient
document.write('<table width="50%" cellspacing="1" cellpadding="0" 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('font').item(1).style.display="none";
//-->
</script>
<script type="text/javascript">
<!--
document.getElementsByTagName('td').item(2).style.display="none";
//-->
</script>
<script type="text/Javascript">
<!--
// Resize Forum Width
var newWidth = 680; // New Width
var secondWidth = Math.floor((25/23)*newWidth);
document.write("<div align='center'><div style='width: "+secondWidth+"px; margin-left: auto; margin-right: auto;' align='center'>");
document.body.getElementsByTagName("TABLE")[0].width = newWidth;
// -->
</script>
<script>
document.getElementsByTagName('table')[0].cellSpacing="0"
</script>
<script type="text/javascript">
<!--
/* move "Hey, X"above banner */
var iCell = document.getElementsByTagName("td");
iCell[1].lastChild.innerHTML = iCell[2].getElementsByTagName("font")[0].innerHTML;
iCell[2].style.display="none";
// -->
</script>
<script type="text/javascript">
/*
Simple PM bar above menus
Coded By Xylish/Popojoe/joe
Please do not post this code without permission from the original author!
[url]http://studiozero.proboards44.com[/url]
*/
//Set your classname for the pm bar
classname = "titlebg";
//Edit your welcome message within the double quotes
welcomemsg = "Welcome"
//Edit the postion of the pm bar: above or below
position = "below"
// -->
</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="200px" 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 align="center" class="titlebg"> <a href="" target="_blank"><img src="http://i48.tinypic.com/351hjdd.jpg" border="0" alt="WELCOME NEW"></a> </td>
</tr>
<tr>
<td class="windowbg" align="center">
</td>
</tr>
<tr>
<td width="25%" class="windowbg2" vAlign="top" align="center">
<style="background-color: #FF0000;"><font size=2><div style="overflow:auto; height: 100px;"><font size=1> <font face=georgia><font size=3><b>hell has arrived</b></font size><br><size=1>we all thought lord voldemort was bad, but there was no way we could know just how much worse Validus Dumnezeu, a overly powerful dark arts wizard, truely could be. in just a matter of weeks Dumenezeu killed off the ministry of magic, putting in place his own minons, the atrum vis'. no longer wanting to remain in hiding, Dumnezeu has issued a war on the muggles. booms bursting in air, no where left untouched, the wizarding world became exposed, and Dumnezeu's reign of terror has truely begain. the one safe place left, Hogwarts, is slowly crumbling. from within its own walls, students turn on students, teachers against each other. in a world that can't be saved, who will stand up to fight?
<form name="dropdown"><a href="" target="_blank"><img src="http://i49.tinypic.com/2m6oj1f.jpg" border="0" alt="QUICK LINKS"></a>
<select name="menu">
<option value="http://justdevilsanddust.proboards.com/index.cgi?action=display&board=main&thread=9">PLOT</option>
<option value="http://justdevilsanddust.proboards.com/index.cgi?board=main&action=display&thread=4">RULES</option>
<option value="http://justdevilsanddust.proboards.com/index.cgi?board=apply&action=display&thread=6&page=1">APPLICATION</option>
<option value="http://justdevilsanddust.proboards.com/index.cgi?board=claims">CLAIMS</option>
<option value="http://justdevilsanddust.proboards.com/index.cgi?board=wantedcharacters">CHARACTERS NEEDED</option>
<option value="http://justdevilsanddust.proboards.com/index.cgi?board=ads">ADVERTISE</option>
</select>
<input type="button" onClick="location=document.dropdown.menu.options[document.dropdown.menu.selectedIndex].value;" value="GO">
</form>
<font size=2><b> <center><FORM>
<INPUT TYPE="button" VALUE="Add to Favorites" onClick='window.external.AddFavorite(location.href, document.title);'>
</FORM></center> </b></font>
</size>
</div><br></font></font></td>
</td>
</tr>
</table>
</br>
<!-- CUSTOM SIDE BOX #5 //-->
<table align="center" width="100%" class="bordercolor" cellpadding="4" cellspacing="1">
<tr>
<td align="center" class="titlebg"> <a href="http://tinypic.com" target="_blank"><img src="http://i49.tinypic.com/r0xi04.jpg" border="0" alt="CHATBOX"></a> </td>
</tr>
<tr>
<td class="windowbg" align="center">
<!-- BEGIN CBOX - www.cbox.ws - v001 -->
<div id="cboxdiv" style="text-align: center; line-height: 0">
<div><iframe frameborder="0" width="250" height="75" src="http://www7.cbox.ws/box/?boxid=140392&boxtag=edl15e&sec=form" marginheight="2" marginwidth="2" scrolling="no" allowtransparency="yes" name="cboxform" style="border:#1D2220 1px solid;border-bottom:0px" id="cboxform"></iframe></div>
<div><iframe frameborder="0" width="250" height="245" src="http://www7.cbox.ws/box/?boxid=140392&boxtag=edl15e&sec=main" marginheight="2" marginwidth="2" scrolling="auto" allowtransparency="yes" name="cboxmain" style="border:#1D2220 1px solid;" id="cboxmain"></iframe></div>
</div>
<!-- END CBOX -->
<br><a href="http://justdevilsanddust.cbox.ws/" target="_blank"><img src="http://i50.tinypic.com/106ehyv.jpg" border="0" alt="IN CHARACTER CHATBOX"></a>
</td>
</tr>
</table>
</br>
<!-- CUSTOM SIDE BOX #2 //-->
<table align="center" width="100%" class="bordercolor" cellpadding="4" cellspacing="1">
<tr>
<td align="center" class="titlebg"> <a href="" target="_blank"><a href="http://tinypic.com" target="_blank"><img src="http://i45.tinypic.com/ic7jgy.jpg" border="0" alt="STATS"></a> </td>
</tr>
<tr>
<td class="windowbg" align="center">
</td>
</tr>
<tr>
<td width="25%" class="windowbg2" vAlign="top" align="center">
<style="background-color: #FF0000;"><font size=2><div style="overflow:auto; height: 100px;"><font size=1> <font face=georgia><font size=3><b>just the stats</b></font size><br><size=1><a href="" target="_blank"><img src="http://i46.tinypic.com/zxphd.jpg" border="0" alt="RAVENCLAW HOUSE POINTS"></a><br>
<font size=3><b><u><font face=georgia>000</b></u></size></font><br>
<font size=1><b><font face=georgia><i>2</i> girls, <i>#</i> boys</size></font></b><br>
<a href="" target="_blank"><img src="http://i48.tinypic.com/2uzfcr9.jpg" border="0" alt="SLYTHERIN HOUSE POINTS"></a> <br>
<font size=3><b><u><font face=georgia>000</b></u></size></font><br>
<font size=1><b><font face=georgia><i>2</i> girls, <i>3</i> boys</size></font></b><br>
<a href="" target="_blank"><img src="http://i47.tinypic.com/2m48xhh.jpg" border="0" alt="GRYFFINDOR HOUSE POINTS"></a><br>
<font size=3><b><u><font face=georgia>000</b></u></size></font><br>
<font size=1><b><font face=georgia><i>3</i> girls, <i>3</i> boys</size></font></b><br>
<a href="" target="_blank"><img src="http://i45.tinypic.com/5mgzh3.jpg" border="0" alt="HUFFLEPUFF HOUSE POINTS"></a><br>
<font size=3><b><u><font face=georgia>000</b></u></size></font><br>
<font size=1><b><font face=georgia><i>#</i> girls, <i>#</i> boys</size></font></b><br>
<a href="" target="_blank"><img src="http://i46.tinypic.com/2is7ggk.jpg" border="0" alt="ADULTS"></a><br>
<font size=1><b><font face=georgia><i>1</i> girls, <i>1</i> boys</size></font></b><br>
</size>
</div><br></font></font></td>
</td>
</tr>
</table>
</br>
<!-- CUSTOM SIDE BOX #3 //-->
<table align="center" width="100%" class="bordercolor" cellpadding="4" cellspacing="1">
<tr>
<td align="center" class="titlebg"> <a href="http://tinypic.com" target="_blank"><img src="http://i49.tinypic.com/21npedt.jpg" border="0" alt="STAFF"></a> </td>
</tr>
<tr>
<td class="windowbg" align="center">
<form name="dropdown"><a href="http://tinypic.com" target="_blank"><img src="http://i48.tinypic.com/2dt8vgl.jpg" border="0" alt="KRIZZ"></a>
<select name="menu">
<option value="URL">krizz's babies!</option>
<option value="http://justdevilsanddust.proboards.com/index.cgi?action=viewprofile&user=admin">her admin account</option>
<option value="http://justdevilsanddust.proboards.com/index.cgi?action=viewprofile&user=kaleavery">kale jackson avery</option>
<option value="http://justdevilsanddust.proboards.com/index.cgi?action=viewprofile&user=scorpius">scorpius hyperion malfoy</option>
<option value="http://justdevilsanddust.proboards.com/index.cgi?action=viewprofile&user=violetamayakrum">violeta maya krum</option>
</select>
<input type="button" onClick="location=document.dropdown.menu.options[document.dropdown.menu.selectedIndex].value;" value="GO">
</form>
<form name="dropdown"><a href="http://tinypic.com" target="_blank"><img src="http://i50.tinypic.com/2w6uscg.jpg" border="0" alt="ISA THE GREAT"></a>
<select name="menu">
<option value="URL">isa's babies!</option>
<option value="http://justdevilsanddust.proboards.com/index.cgi?action=viewprofile&user=isa">her admin account</option>
<option value="http://justdevilsanddust.proboards.com/index.cgi?action=viewprofile&user=isa2">marlene imber mckee</option>
<option value="http://justdevilsanddust.proboards.com/index.cgi?action=viewprofile&user=isa3">belinda nicolette vale</option>
</select>
<input type="button" onClick="location=document.dropdown.menu.options[document.dropdown.menu.selectedIndex].value;" value="GO">
</form>
<form name="dropdown"><a href="http://tinypic.com" target="_blank"><img src="http://i45.tinypic.com/etaago.jpg" border="0" alt="CLAIRE"></a>
<select name="menu">
<option value="URL">claire's babies!</option>
<option value="URL">her admin account</option>
<option value="http://justdevilsanddust.proboards.com/index.cgi?action=viewprofile&user=winnie">winifred elinor thatcher</option>
<option value="http://justdevilsanddust.proboards.com/index.cgi?action=viewprofile&user=kain">kain white avery</option>
<option value="http://justdevilsanddust.proboards.com/index.cgi?action=viewprofile&user=diana">diana apollonia fenwick</option>
</select>
<input type="button" onClick="location=document.dropdown.menu.options[document.dropdown.menu.selectedIndex].value;" value="GO">
</form>
</td>
</tr>
</table>
</br>
<!-- CUSTOM SIDE BOX #6 //-->
<table align="center" width="100%" class="bordercolor" cellpadding="4" cellspacing="1">
<tr>
<td align="center" class="titlebg"><a href="http://tinypic.com" target="_blank"><img src="http://i48.tinypic.com/o0t30g.jpg" border="0" alt="CREDITS"></a> </td>
</tr>
<tr>
<td class="windowbg" align="center">
<a href="http://justdevilsanddust.proboards.com/index.cgi?action=display&board=main&thread=10" target="_blank"><img src="http://i46.tinypic.com/rr6ull.jpg" border="0" alt="CLICK FOR CREDITS"></a>
</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 footer
<script type="text/javascript">
<!--
tablew = document.getElementsByTagName('TABLE');
for(t=0;t<tablew.length;t++) {
if(tablew[t].width=="92%"){
tablew[t].width='680';
}
}
// -->
</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 == '88%') {
width = '680';
}}}
//-->
</script>
</td></tr></table>
<!-- SIDE TABLES GLOBAL FOOTERS - DO NOT REMOVE //-->
<script type="text/javascript">
<!--
// Remove all icons from boards, sub-boards, and info center
// 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";
}
if(TD[i].width=="20" && TD[i].align=="center" && TD[i].className.match("windowbg")){
TD[i].style.display="none"
}}}
-->
</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=200;
var maxHeight=150;
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>
main header
<center><a href="" target="_blank"><img src="http://i45.tinypic.com/wvevtj.jpg" border="0" alt="CLICK THE TABS"></a></center>
main footer
<script>
<!--
//Merges Number Of Threads And Posts Under Board Title.
//Coded by Roger aka RKO.
//DO NOT RIP.
var d=document.getElementsByTagName('td');
if(location.href.match(/action=(home|changevis)/i) || !location.href.match(/(action|board)=/i)){
for(t=0;t<d.length;t++) {
if(d[t].width=='66%' && d[t].className=='windowbg2') {
var a=d[t].nextSibling.firstChild.innerHTML;
var b=d[t].nextSibling.nextSibling.firstChild.innerHTML;
d[t].nextSibling.style.display='none';
d[t].nextSibling.nextSibling.style.display='none';
d[t].innerHTML+='<br />[Topics: '+a+' | Posts: '+b+']';
}
if(d[t].width=='1%' && d[t].innerHTML.match(/Topics/i)) {
d[t].innerHTML='Last Post';
}
if(d[t].width=='1%' && d[t].innerHTML.match(/Posts/i) || d[t].width=='24%' && d[t].innerHTML.match(/Last Post/i)) {
d[t].style.display='none';
}
if(d[t].colSpan=="5" && d[t].className=="catbg"){
d[t].colSpan="3"
}
}
//-->
</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(/com\/?((\index\.cgi)?\??(action=(logout|change.+?|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>
<style type="text/css">
<!--
.tab { background-color: #123e31; }
.tabhovver { background-color: #123e31; }
.tabselect { background-color: #171919; }
-->
</style>
<table class="bordercolor" id="tabTable" width="100%" cellPadding="0" cellSpacing="1" border="0"><tbody><tr id="tabtr"></tr></tbody></table>
<script type="text/javascript">
<!--
// Tabulate main page..
if(location.href.match(/\.com\/(index.cgi(\?)?)?(action=home)?$/))
{
//Edit below.....
var tabAmount = 5;
// Edit above.....
var tabCount = 0;
// Find catagories and create tabs..
function tabselect(clicky)
{
for(c=0; c<catCount; c++)
{
document.getElementById('cat'+c).className = 'tab';
}
clicky.className = 'tabselect';
clicky.onmouseout = function(){this.className = 'tabselect';}
var catName = document.getElementsByTagName('a');
for(l=0; l<catName.length; l++)
{
if(catName[l].name.match(/^cat(\d)+$/))
{
catName[l].parentNode.parentNode.style.display = 'none';
}}
catName = document.getElementsByName(clicky.id);
for(l=0; l<catName.length; l++)
{
catName[l].parentNode.parentNode.style.display = '';
}
return;
}
if(typeof(fContent) != 'undefined')
{
fCheck = 'News';
}
else
{
fCheck = 'Forum Name';
}
var tabBoard = new Array();
var td = document.getElementsByTagName('td');
var tabs = document.getElementById('tabtr');
catCount = 0;
for(t=0; t<td.length; t++)
{
// Add tabs..
if(td[t].className.match(/^(news)?titlebg$/) && td[t].innerHTML.match(fCheck))
{
var newTR = document.createElement('tr');
var newTD = document.createElement('td');
newTD.id = 'theTabs';
newTD.colSpan = '5';
newTD.style.padding = '0';
newTR.appendChild(newTD);
td[t].parentNode.parentNode.insertBefore(newTR,td[t].parentNode);
t++;
}
if(td[t].className == 'catbg' && td[t].colSpan == '5' && td[t].align != 'right')
{
td[t].id = 'cat'+catCount;
td[t].align = 'center';
td[t].colSpan = '1';
td[t].style.cursor = 'pointer';
td[t].className = 'tab';
td[t].onclick = function(){tabselect(this);}
td[t].onmouseover = function(){
var mOut = this.className;
this.className = 'tabhovver';
this.onmouseout = function(){this.className = mOut;}}
td[t].parentNode.style.display = 'none';
var boardTR = td[t].parentNode.nextSibling;
tabs.appendChild(td[t]);
tabCount++;
if(tabCount == tabAmount)
{
var newTabTr = document.createElement('TR');
tabs.parentNode.appendChild(newTabTr);
tabs = newTabTr;
tabCount = 0;
}
// Find and tag boards..
while(boardTR.firstChild.className == 'windowbg')
{
boardTR.firstChild.innerHTML += '<a name="cat'+catCount+'"></a>';
if(boardTR == boardTR.parentNode.lastChild)
{
break;
}
boardTR = boardTR.nextSibling;
}
catCount ++;
}}
// Set width of tags..
var setWidth = document.getElementById('tabTable').getElementsByTagName('td');
for(s=0; s<setWidth.length-1; s++)
{
setWidth[s].width = parseInt(100/setWidth.length)+'%';
}
document.getElementById('theTabs').appendChild(document.getElementById('tabTable'));
tabselect(document.getElementById('cat0'));
}
// -->
</script>