Post by spectrum on Dec 12, 2006 20:19:05 GMT
Placement: Main footers
Coded By: SpectrumUK
Coded By: SpectrumUK
<script type='text/javascript'>
<!--
/*
Info Center - Cell Remover
Copyright 2006
Coded By Spectrum
-- SpectrumUKGraphic
*/
var iTable = document.getElementsByTagName("table");
var iTD = document.getElementsByTagName("td");
for(i=0;i<iTD.length;i++)
{
if(iTD[i].className.match(/titlebg/i) && iTD[i].innerHTML.match(/Info Center/i))
{
var TtlPms = (iTable[0].innerHTML.match(/you have <a href=".+">(\d+) messages?<\/a>, (\d+) (are|is) new./i)) ? RegExp.$1: '';
var NPM = (iTable[0].innerHTML.match(/you have <a href=".+">(\d+) messages?<\/a>, (\d+) (are|is) new./i)) ? RegExp.$2: '';
var posts = (iTD[i+2].innerHTML.match(/Total Posts: (.+?)<br/i) ? RegExp.$1: 'error').replace(',','');
var topics = (iTD[i+2].innerHTML.match(/Total Topics: (.+?)<br/i) ? RegExp.$1: 'error').replace(',','');
var ttlmembers = (iTD[i+2].innerHTML.match(/Total Members: <a href="(.+?)>(.+?)<\/a><br/i)) ? RegExp.$2: '';
var newestmem = (iTD[i+2].innerHTML.match(/Newest Member: (.+?)<\/a>/i)) ? RegExp.$1: '';
var lastpost = iTD[i+2].innerHTML.match(/last updated topic: (<.+?>.+?<\/a>) by (.+?) \((.+?)\)/i)? RegExp.$1: '';
var lpby = iTD[i+2].innerHTML.match(/last updated topic: (<.+?>.+?<\/a>) by (.+?) \((.+?)\)/i) ? RegExp.$2: '';
var lpt = iTD[i+2].innerHTML.match(/last updated topic: (<.+?>.+?<\/a>) by (.+?) \((.+?)\)/i) ? RegExp.$3: '';
iTD[i+0].colSpan = "5";
iTD[i+1].colSpan = "5";
iTD[i+2].style.display = "none";
iTD[i+3].colSpan = "5";
iTD[i+4].style.display = "none";
iTD[i+5].colSpan = "5";
iTD[i+6].colSpan = "5";
iTD[i+7].style.display = "none";
iTD[i+8].colSpan = "5";
}}
//-->
</script>