Post by splatcatballa99 on Mar 27, 2007 18:48:06 GMT -5
This put's a table on the side of the forum with some admin options in it.
Preview
Global Header
Global Footer
EDITING: Add this below the last table row cell
<tr><td class="windowbg" width="100%"><a href="URL HERE">NAME HERE</a></td></tr>
Just alternate the windowbg and windowbg2 .
any questions or support pm me.
Preview
Global Header
<script type="text/javascript">
//Mini admim CP coded by S|P|L|A|T and triad.
//you may modify the table in the javascript but not the javascript
//Do not repost and this header must stay intact.
// http://pbresource101.proboards41.com
if(document.getElementsByTagName("td")[5].innerHTML.match(/admin/i)){
document.write('<table width="92%" cellpadding="0" cellspacing="1" align="center"><tr><td width="15%" vAlign="top" align="center"><br /><br /><table class="bordercolor" width="91%" cellpadding="4" cellspacing="1"><tr id="foo"><td class="titlebg" align="center" width="100%"><font size="2">Admin CP</font></td></tr><tr id="foo"><td class="windowbg" width="100%"><a href="/index.cgi?action=admin">Admin</a></td></tr><tr id="foo"><td class="windowbg2" width="100%"><a href="/index.cgi?action=headersfooters">Headers&Footers</a></td></tr><tr><td class="windowbg" width="100%"><a href="/index.cgi?action=boardcreate">Create Board</a></td></tr><tr><td class="windowbg2" width="100%"><a href="/index.cgi?action=newsfader">News Fader</a></td></tr><tr><td class="windowbg" width="100%"><a href="/index.cgi?action=skins">Skins/Forum Colors</a></td></tr><tr><td class="windowbg2" width="100%"><a href="/index.cgi?action=fixaboard">Fix A Board</a></td></tr><tr><td class="windowbg" width="100%"><a href="/index.cgi?action=pmall">PM all Members</a></td></tr><tr><td class="windowbg2" width="100%"><a href="/index.cgi?action=viewsecuritylog">Security Log</a></td></tr><tr><td class="windowbg2" width="100%"><a href="/index.cgi?action=fixaboard">Fix A Board</a></td></tr><tr><td class="windowbg" width="100%"><a href="/index.cgi?action=adfree">ad-Free</a></td></tr>');
}
document.write('</table></td><td width="80%" align="center" vAlign="top">');
</script>
Global Footer
<script type="text/javascript"><!--
if(document.getElementsByTagName("td")[5].innerHTML.match(/admin/i)){
document.write('</td></tr></table>');
var tb = document.getElementsByTagName("table");
for(x=2;x<tb.length;x++){
if(tb[x].width=="92%" && tb[x].getElementsByTagName("a")[0].className.match(/nav/i)){
tb[x].width="100%";
}
}
}
//--></script>
EDITING: Add this below the last table row cell
<tr><td class="windowbg" width="100%"><a href="URL HERE">NAME HERE</a></td></tr>
Just alternate the windowbg and windowbg2 .
any questions or support pm me.