Post by randy on Feb 18, 2010 10:29:49 GMT 1
<style type="text/css"><!--
table, td {background-color: transparent !important;}
--></style>
<style type="text/css">
.hr {color: #494949; background-color: #494949;}
.windowbg, .windowbg2, .bordercolor, .catbg, .titlebg, .adminfunc {background-color: transparent; }
.poststyle font {font-size: 2em; color: #fff; font-weight: 700;}
.poststyle a {color: #0D9AE9;}
.poststyle {background-color:transparent; padding:10px;height: 200px; }
.quote {background-color:transparent;}
.menubg {background-color: transparent; background-image: url(); height: 200px; }
</style>
<script>
document.getElementsByTagName("td")[0].style.display="none";
</script>
<style type="text/css">
<!--
.head {
background-image: url(http://i220.photobucket.com/albums/dd63/sjhlforum/test/roundhead.png);
height: 64px;
width: 1000px;
}
.base {
background-image: url(http://i220.photobucket.com/albums/dd63/sjhlforum/test/roundfoot.png);
height: 64px;
width: 1000px;
}
.tablebg {
background-image: url(http://i220.photobucket.com/albums/dd63/sjhlforum/test/blacktranspng.png);
width: 1000px;
}
-->
</style>
<script type="text/javascript">
<!--
document.getElementsByTagName("td").item(5).align="right";
document.getElementsByTagName('table')[0].cellSpacing = 0;
document.getElementsByTagName('td').item(2).style.display="none";
document.getElementsByTagName('font').item(1).style.display="none";
var welcomeTable = document.getElementsByTagName("table").item(0);
var spaceRE = new RegExp('&nb'+'sp;', 'gi');
menuTD = document.getElementsByTagName("td").item(5);
menuTD.firstChild.innerHTML = menuTD.firstChild.innerHTML.replace(spaceRE,'
');
document.getElementsByTagName("tr")[2].style.display="none";
var td = document.getElementsByTagName("td");
var table = document.getElementsByTagName("table");
var mcell = table[0].insertRow(0).insertCell(0);
mcell.colSpan = "2";
mcell.align= "center";
mcell.className = "menubg";
mcell.innerHTML = td[4].innerHTML;
//-->
</script>
<div id="wel"></div>
<script type="text/javascript">
<!--
var welcomeTable = document.getElementsByTagName("table").item(0);
document.getElementById("wel").appendChild(welcomeTable);
//-->
</script>
<script type='text/javascript'>
/* Tri-Image Welcome Table Head/Base Images by Chris
Based off Info Center tri-image by Scorpian
Global Footer*/
/*\|==( Edit These )==|\*/
var imgs = [ // Ignore this line
'http://i220.photobucket.com/albums/dd63/sjhlforum/test/roundhead.png', // The URL of your head image
'http://i220.photobucket.com/albums/dd63/sjhlforum/test/blacktranspng.png', // The URL of your center image
'http://i220.photobucket.com/albums/dd63/sjhlforum/test/roundfoot.png' // The URL of your base image (no comma)
]; // Ignore this line
var other = [
'64', // Height of the head image
'64', // Height of the base image
'1000' // Width of the center table
]; // Ignore this line
/*\|==( Do Not Edit )==|\*/
var headDiv = document.createElement('div');
headDiv.style.backgroundImage = 'url(' + imgs[0] + ')';
headDiv.style.backgroundPosition = "center center";
headDiv.style.backgroundRepeat = "no-repeat";
headDiv.style.height = other[0] + 'px';
var cenDiv = document.createElement('div');
cenDiv.style.backgroundImage = 'url(' + imgs[1] + ')';
cenDiv.style.backgroundPosition = "center center";
cenDiv.style.backgroundRepeat = "repeat-y";
var baseDiv = document.createElement('div');
baseDiv.style.backgroundImage = 'url(' + imgs[2] + ')';
baseDiv.style.backgroundPosition = "center center";
baseDiv.style.backgroundRepeat = "no-repeat";
baseDiv.style.height = other[1] + 'px';
var riTable = document.getElementsByTagName('table');
var tabFrag = document.createDocumentFragment();
riTable[0].width = other[2];
tabFrag.appendChild(headDiv);
tabFrag.appendChild(cenDiv.cloneNode(true));
tabFrag.lastChild.appendChild(riTable[0].cloneNode(true));
tabFrag.appendChild(baseDiv);
riTable[0].parentNode.replaceChild(tabFrag, riTable[0]);
</script>
<script type="text/javascript">
<!--
var fWidth = '1000';
var table = document.getElementsByTagName('table');
for(t=0; t<table.length; t++) {
if(table.item(t).width == "92%") {
table.item(t).width = fWidth;
}
}
// -->
</script>
<script type="text/javascript">
<!--
// poststyle
if(location.href.match(/action=(pmview|display)/) || (document.postForm && document.title.match(/Preview/)) || document.title.match(/Search\sResults/)) {
posts = document.getElementsByTagName('TD');
for(t=0;t<posts.length;t++)
if(posts[t].width=="80%" && posts[t].className != "catbg" && posts[t].parentNode.parentNode.parentNode.className!="bordercolor")
posts[t].getElementsByTagName('tr')[1].firstChild.className='poststyle';
}
// -->
</script>
<script type="text/javascript">
<!--
/* SlipStream Style Everywhere OPEN SOURCE
DregondRahl - support.proboards.com */
var iTableWidth = "97%";
//Do Not Edit Below
if(!location.href.match(/action=(display|(calendar|pm)?view)/) || document.title.match(/\s-\s(Search|Preview)/i)){
var table = document.getElementsByTagName('table');
baseImg = document.createElement('div');
headImg = document.createElement('div');
headImg.className = "head";
baseImg.className = "base";
for(i = 4; i < table.length; i ++){
if(table.cellPadding == '4' && table.cellSpacing == '1' && table.parentNode.nodeName.match(/^td$/i)){
table.parentNode.className = "tablebg";
table.className = "bordercolor";
table.width = iTableWidth;
table.align = "center";
}
if(table.className == 'bordercolor' && table.cellPadding == '0' && !table.id.match(/daSplit/i)){
table.parentNode.insertBefore(headImg.cloneNode(true), table);
table.parentNode.insertBefore(baseImg.cloneNode(true), table.nextSibling);
}
}
}
// -->
</script>
<script type='text/javascript'>
/* Tri-Image Post Splitter Head/Base Images by Chris
Based off Info Center tri-image by Scorpian
Global Footer*/
/*\|==( Edit These )==|\*/
var imgs = [ // Ignore this line
'http://i220.photobucket.com/albums/dd63/sjhlforum/test/roundhead.png', // The URL of your head image
'http://i220.photobucket.com/albums/dd63/sjhlforum/test/blacktranspng.png', // The URL of your center image
'http://i220.photobucket.com/albums/dd63/sjhlforum/test/roundfoot.png' // The URL of your base image (no comma)
]; // Ignore this line
var other = [
'64', // Height of the head image
'94', // Height of the base image
'1000' // Width of the center table
]; // Ignore this line
/*\|==( Do Not Edit )==|\*/
var headDiv = document.createElement('div');
headDiv.style.backgroundImage = 'url(' + imgs[0] + ')';
headDiv.style.height = other[0] + 'px';
var cenDiv = document.createElement('div');
cenDiv.style.backgroundImage = 'url(' + imgs[1] + ')';
var baseDiv = document.createElement('div');
baseDiv.style.backgroundImage = 'url(' + imgs[2] + ')';
baseDiv.style.backgroundRepeat = 'no-repeat';
baseDiv.style.height = other[1] + 'px';
baseDiv.innerHTML = "&nb"+"sp;";
var riTable = document.getElementsByTagName('table');
var tabFrag = document.createDocumentFragment();
if(location.href.match(/action=display/)){
for(t=0; t<riTable.length; t++){
if(riTable[t].cellSpacing == 1 && riTable[t].cellPadding == 4 && riTable[t-1].className == 'bordercolor'){
if(!riTable[t].rows[0].innerHTML.match(/\[Search/)) continue;
break;
}
}
if(riTable[t]){
tabFrag.appendChild(document.createElement("br"));
var rows = riTable[t].rows;
var rHold = document.createElement("div");
rHold.appendChild(headDiv.cloneNode(true));
rHold.appendChild(cenDiv.cloneNode(true));
var ta = rHold.lastChild.appendChild(riTable[t].cloneNode(false));
ta.className = "bordercolor";
ta.cellPadding = 4;
ta.cellSpacing = 1;
ta.align = "center";
ta.width = other[2];
ta.appendChild(document.createElement("tbody"));
rHold.appendChild(baseDiv);
for(a=2; a<rows.length; a++){
if(rows.cells.length != 2 || !rows.cells[0].className.match(/windowbg/)){
if(!rows.innerHTML.match(/Poll Question|Total Votes|Topic:/)){
var ta2 = ta.cloneNode(true);
ta2.firstChild.appendChild(rows.cloneNode(true));
ta2.width = "100%";
tabFrag.appendChild(ta2);
rows.style.display = "none";
}
continue;
}
var rHold2 = rHold.cloneNode(true);
rHold2.getElementsByTagName("table")[0].firstChild.appendChild(rows.cloneNode(true));
tabFrag.appendChild(rHold2);
rows.style.display = "none";
}
riTable[t-1].style.backgroundColor = 'transparent';
riTable[t].className = 'bordercolor';
riTable[t].parentNode.appendChild(tabFrag);
}
}
</script>
<script type="text/javascript">
<!--
/* remove all borders */
var table = document.getElementsByTagName("table");
for(i=0; i<table.length; i++){
table.cellSpacing = "0";
table.border = "0";
}
//-->
</script>
<STYLE TYPE="text/css">
<!--
.mpbg
{
background-image:url('');
width: 950px;
}
-->
</STYLE>
<script type="text/Javascript">
// Corrupt Miniprofile v1 by Chris
// Concept by Corrupt
// Do not redistribute outside of SZ
// Settings
var divURL = ""; // URL of the divider bar.
// Don't edit
var br_re = /<br\s?\/?>/gi;
function miniProfile(ext){
var _arr = [];
_arr["customtitle"] = _arr["status"] = _arr["contacts"] = _arr["personal"] = _arr["joined"] = _arr["rank2"] = "";
_arr["karmalinks"] = _arr["location"] = _arr["gender"] = false;
_arr["avatar"] = "";
_arr["posts"] = _arr["karma"] = 0;
var cen = ext.getElementsByTagName("center")[ext.getElementsByTagName("center").length-1];
var cens = cen.innerHTML.split(br_re);
for(var a=0;a<cens.length;a++){
if(cens.match(/\[avatar\]/i))
_arr["avatar"] = cens.replace(/<img/i, "<img style='float: left'");
else if(cens.match(/\[(icq|yim|msn|aim|homepage|email|send\spm)\]/i))
_arr["contacts"] += cens;
else
_arr["personal"] += cens;
}
cen.parentNode.removeChild(cen);
var spi = ext.innerHTML.split(br_re);
_arr["display"] = spi[0];
_arr["rank1"] = spi[1];
_arr["user"] = (spi[0].match(/user=(.+?)("|'|\s|>)/i)?RegExp.$1:"");
_arr["rank2"] = spi[2];
spi.splice(0,3);
for(var a=0;a<spi.length;a++){
if(spi.match(/Gender: (.+?)$/i))
_arr["gender"] = RegExp.$1;
else if(spi.match(/Joined: (.+?)$/i))
_arr["joined"] = RegExp.$1;
else if(spi.match(/Posts: ([\d,]+)/i))
_arr["posts"] = RegExp.$1;
else if(spi.match(/Location: (.+?)$/i))
_arr["location"] = RegExp.$1;
else if(spi.match(/Karma: (-?[\d,]+)/i))
_arr["karma"] = RegExp.$1;
else if(spi.match(/>Exalt</) && spi.match(/>Smite</))
_arr["karmalinks"] = spi;
else if(spi.match(/Member is (()?(on|off)line(<\/b>)?)/i))
_arr["status"] = spi;
else if(spi != "")
_arr["customtitle"] += spi+"<br />";
}
return _arr;
}
var aTD = document.getElementsByTagName("td");
if(location.href.match(/action=((calendar|pm)?view|display)/) || location.href.match(/\s-\s(Preview|Search)/)){
for(a=0;a<aTD.length;a++){
if(aTD.width == "20%" && aTD.innerHTML.match(/Posts|Guest/i)){
if(aTD.innerHTML.match(/Posts/)){
var x = miniProfile(aTD);
var d = "<center><table width='700px' cellpadding='0' cellspacing='0' class='mpbg'>";
d += "<tr><td width='275' style='padding-left: 10px; padding-top: 2px'><font size='2'>"+x.display+"</font></td>";
d += "<td align='left' width='250' style='padding-top: 2px'>"+x.rank2+"</td>";
d += "<td align='right' width='175' style='padding-top: 2px; padding-right: 13px'><i>"+x.personal+"</i></td></tr>";
d += "<tr><td valign='top' style='padding-left: 10px'><br />"+x.avatar+"</td>";
d += "<td valign='top'><br /><font size='3'>"+x.rank1+"</font><br />";
d += "Posts: "+x.posts+"<br />"+x.customtitle+"Karma: "+x.karma+"<br />";
d += (x.karmalinks?x.karmalinks:"")+"<br />";
d += "<td valign='top' align='right' style='padding-right: 13px'><br />"+x.contacts+"<br />Joined: "+x.joined+"<br />"+(x.gender?"Gender: "+x.gender+"<br />":"");
d += (x.location?"Location: "+x.location+"<br />":"");
d += "</td></tr>";
d += "<tr><td colspan='3' align='center'>"+x.status+"</td></tr>";
d += "<tr><td colspan='3' align='center'><img src='"+divURL+"' /></td></tr>";
aTD.innerHTML = d+"</table></center>";
}
aTD.colSpan = (location.href.match(/action=viewprofile/))? '2' : '3';
aTD.style.width ='100%';
aTD.nextSibling.getElementsByTagName('table')[0].insertRow(0).appendChild(aTD);
a++;
} else if(aTD.width == "20%" && aTD.innerHTML.match(/Author|Poll/)){
aTD.style.display = "none";
} else if(aTD.colSpan == 2 && aTD.className.match(/catbg|titlebg/)){
aTD.colSpan = 1;
}
}
}
</script>