Please login or register. Welcome to the Studio, guest!


Quick Links:


newBookmarkLockedFalling

crazynarutard

crazynarutard Avatar

*****
Senior Studio Member

1,470


August 2005
Look what i dug up ;D.
Main footers
<script type='text/javascript'>
/*
Boards & Categories in Info Center
Created by CrAzY_J
use freely, redistribute with permission
*/
//Dont need to edit anything =D
var categories=0;var boards=0;
var Tab=document.getElementsByTagName('table')
for(iT=0;iT<Tab.length;iT++){
if(Tab[iT].width=='100%' && Tab[iT].cellPadding=='4' && Tab[iT].cellSpacing=='1' && Tab[iT].rows[0].cells[0].className=='titlebg'){
for(r=0;r<Tab[iT].rows.length;r++){
with(Tab[iT].rows[r].cells[0]){
if(className=='catbg' && colSpan=='5'){categories++}
if(width=='8%' && className=='windowbg' && vAlign=='top'){boards++}
}}}
if(Tab[iT].width=='98%' && Tab[iT].cellPadding=='3' && Tab[iT].rows[0].cells[0].innerHTML.match(/total posts/i)){
Tab[iT].rows[0].cells[0].innerHTML+="<br />Total Categories: <b>"+categories+"</b> - Total Boards:<b> "+boards+"<\/b>";
}}
</script>



Last Edit: Jun 30, 2006 21:13:50 GMT by Chris

newBookmarkLockedFalling