Post by Nuclear on Mar 12, 2006 19:59:51 GMT -8
Place in Global Footer, do not edit this code. This is pretty much 8 codes in 1. All can be configured via the admin area. Which means that you do not need to edit this code. You simply just go to the Advanced General Settings area and type in Yes to enable the 8 other codes. You do not need to enable any of them, just enable the ones you want to use. By enabling some codes, you will notice addtional links in the admin control panel. You simply just click on one of these links and then you just type in the info in the input fields. Really simple.
The 8 codes are:
- Center Forum Jump
- Allow BR Tag in profile options
- Center User Profile Information
- Remove On in Last Post
- Add UBBC and Similes to Quick Reply Area
- Customize Scroll Bars
- Modify Info Center Title Bar
- Change On/Off Images to Text
New Version coming soon. Plan to include up to 12 to 15 codes all together in this one code. Newer Versions will come out with the passing of time.
The 8 codes are:
- Center Forum Jump
- Allow BR Tag in profile options
- Center User Profile Information
- Remove On in Last Post
- Add UBBC and Similes to Quick Reply Area
- Customize Scroll Bars
- Modify Info Center Title Bar
- Change On/Off Images to Text
New Version coming soon. Plan to include up to 12 to 15 codes all together in this one code. Newer Versions will come out with the passing of time.
<script type='text/javascript'>
<!--
/*
Global FOOTER PORTION
Nuclear's Get Nuked Admin Editable Codes
This code must not be reposted anywhere without my permission
*/
var codea="";
var codeb="";
var codec="";
var coded="";
var codee="";
var codef="";
var codeg="";
var codeh="";
var basecolor="";
var arrowcolor="";
var facecolor="";
var trackcolor="";
var shadowcolor="";
var highligthcolor="";
var darkshadow="";
var dlightcolor="";
var ictext="";
var icfontclass="";
var icbarclass="";
var icbardisplay="";
if(codef=="Yes" || codef=="yes"){
if(document.all){
document.body.style.scrollbarBaseColor = basecolor;
document.body.style.scrollbarArrowColor = arrowcolor;
document.body.style.scrollbarFaceColor = facecolor;
document.body.style.scrollbarTrackColor = trackcolor;
document.body.style.scrollbarShadowColor = shadowcolor;
document.body.style.scrollbarHighlightColor = highligthcolor;
document.body.style.scrollbarDarkShadowColor = darkshadow;
document.body.style.scrollbar3dLightColor = dlightcolor;
}}
//Center Forum Jump
if(codea=="Yes" || codea=="yes"){
var fJump=document.getElementsByTagName('select');
for(f=0; f<fJump.length; f++){
if(fJump[f].innerHTML.match('Forum Jump')){
fJump[f].parentNode.align='center';
}}}
//Allow BR Tag in profile options
if(codeb=="Yes" || codeb=="yes"){
var tt = document.getElementsByTagName("td");
for(i=0; i<tt.length; i++)
if(tt[i].width == '20%' && tt[i].innerHTML.match(/Posts:/i)){
tt[i].innerHTML = tt[i].innerHTML.replace(/\[br\]/gi,'<br/>');}}
//Centers User Profile Information
if(codec=="Yes" || codec=="yes"){
var td=document.getElementsByTagName("td");
if(location.href.indexOf("action=display") || location.href.indexOf("action=viewprofile&user") != -1){
for(i=0;i<td.length;i++)
if(td[i].vAlign=="top" && td[i].width=="20%")
td[i].align="center";}}
//Remove On in Last Post
if(coded=="Yes" || coded=="yes"){
var td=document.getElementsByTagName("td");
for(i=0;i<td.length;i++){
if(td[i].width=="24%" && td[i].firstChild.innerHTML.match(/^on\s(.+)$/i)){
td[i].firstChild.innerHTML = RegExp.$1;}}}
//Add UBBC and Similes to Quick Reply Area
if(codee=="Yes" || codee=="yes"){
function qradd(content){
document.getElementsByName("message")[0].value += content;
}
function ubbc(tag,url,alt)
{
this.tag=tag
this.url=url
this.alt=alt
}
/* First Line of UBBC ("TAG","URL OF TAG IMAGE","ALT MESSAGE") */
var bold = new ubbc("[b][/b]","http://www.4d5.net/v4images/bold.gif","Bold");
var italicize = new ubbc("[i][/i]","http://www.4d5.net/v4images/italicize.gif","Italicize");
var underline = new ubbc("[u][/u]","http://www.4d5.net/v4images/underline.gif","Underline");
var strike = new ubbc("[s][/s]","http://www.4d5.net/v4images/strike.gif","Strikethrough");
var glow = new ubbc("[glow=red,2300][/glow]","http://www.4d5.net/v4images/glow.gif","Glow");
var shadow = new ubbc("[shadow=red,left,300][/shadow]","http://www.4d5.net/v4images/shadow.gif","Shadow");
var move = new ubbc("[move][/move]","http://www.4d5.net/v4images/move.gif","Marquee");
var pre = new ubbc("[pre][/pre]","http://www.4d5.net/v4images/pre.gif","Preformatted Text");
var left = new ubbc("[left][/left]","http://www.4d5.net/v4images/left.gif","Align Left");
var center = new ubbc("[center][/center]","http://www.4d5.net/v4images/center.gif","Align Center");
var right = new ubbc("[right][/right]","http://www.4d5.net/v4images/right.gif","Align Right");
var hr = new ubbc("[hr]","http://www.4d5.net/v4images/hr.gif","Horizontal Rule");
var size = new ubbc("[size=2][/size]","http://www.4d5.net/v4images/size.gif","Font Size");
var font = new ubbc("[font=Verdana][/font]","http://www.4d5.net/v4images/face.gif","Font Face");
/* Second Line of UBBC ("TAG","URL OF TAG IMAGE","ALT MESSAGE") */
var blockquote = new ubbc("[blockquote][/blockquote]","http://www.4d5.net/v4images/blockquote.gif","Blockquote");
var hyperlink = new ubbc("[a href=""][/a]","http://www.4d5.net/v4images/url.gif","Insert Hyperlink");
var ftp = new ubbc("[ftp][/ftp]","http://www.4d5.net/v4images/ftp.gif","Insert FTP Link");
var img = new ubbc("[img][/img]","http://www.4d5.net/v4images/img.gif","Insert Image");
var email = new ubbc("[email][/email]","http://www.4d5.net/v4images/email2.gif","Insert Email");
var tables = new ubbc("[table][tr][td][/td][/tr][/table]","http://www.4d5.net/v4images/table.gif","Insert Table");
var tr = new ubbc("[tr][/tr]","http://www.4d5.net/v4images/tr.gif","Insert Table Column");
var td = new ubbc("[td][/td]","http://www.4d5.net/v4images/td.gif","Insert Table Row");
var sup = new ubbc("[sup][/sup]","http://www.4d5.net/v4images/sup.gif","Superscript");
var sub = new ubbc("[sub][/sub]","http://www.4d5.net/v4images/sub.gif","Subscript");
var tt = new ubbc("[tt][/tt]","http://www.4d5.net/v4images/tele.gif","Teletype");
var code = new ubbc("[code][/code]","http://www.4d5.net/v4images/code.gif","Insert Code");
var quote = new ubbc("[quote][/quote]","http://www.4d5.net/v4images/quote2.gif","Insert Quote");
var list = new ubbc("[ul][li][/li][li][/li][li][/li][/ul]","http://www.4d5.net/v4images/list.gif","Insert List");
var table=document.getElementsByTagName("table")
if(location.href.match(/action=display/) && document.getElementsByName("message")[0]){
for(i=table.length-1;i>=0;i--){
if(table[i].cellPadding=="4" && table[i].innerHTML.match(/quick reply/i)){
xyz = table[i].insertRow(1).insertCell(0);
xyz.className='windowbg';
xyz.width='100%';
xyz.innerHTML+='<table width="100%"><tr><td width="10%" valign="middle"><font size="2">Add Tags:</font></td><td width="35%"><a href=javascript:qradd("'+bold.tag+'")><img src="'+bold.url+'" alt="'+bold.alt+'" border="0"/></a><a href=javascript:qradd("'+italicize.tag+'")><img src="'+italicize.url+'" alt="'+italicize.alt+'" border="0"/></a><a href=javascript:qradd("'+underline.tag+'")><img src="'+underline.url+'" alt="'+underline.alt+'" border="0"/></a><a href=javascript:qradd("'+strike.tag+'")><img src="'+strike.url+'" alt="'+strike.alt+'" border="0"/></a><a href=javascript:qradd("'+glow.tag+'")><img src="'+glow.url+'" alt="'+glow.alt+'" border="0"/></a><a href=javascript:qradd("'+shadow.tag+'")><img src="'+shadow.url+'" alt="'+shadow.alt+'" border="0"/></a><a href=javascript:qradd("'+move.tag+'")><img src="'+move.url+'" alt="'+move.alt+'" border="0"/></a><a href=javascript:qradd("'+pre.tag+'")><img src="'+pre.url+'" alt="'+pre.alt+'" border="0"/></a><a href=javascript:qradd("'+left.tag+'")><img src="'+left.url+'" alt="'+left.alt+'" border="0"/></a><a href=javascript:qradd("'+center.tag+'")><img src="'+center.url+'" alt="'+center.alt+'" border="0"/></a><a href=javascript:qradd("'+right.tag+'")><img src="'+right.url+'" alt="'+right.alt+'" border="0"/></a><a href=javascript:qradd("'+hr.tag+'")><img src="'+hr.url+'" alt="'+hr.alt+'" border="0"/></a><a href=javascript:qradd("'+size.tag+'")><img src="'+size.url+'" alt="'+size.alt+'" border="0"/></a><a href=javascript:qradd("'+font.tag+'")><img src="'+font.url+'" alt="'+font.alt+'" border="0"/></a><br /><a href=javascript:qradd("'+blockquote.tag+'")><img src="'+blockquote.url+'" alt="'+blockquote.alt+'" border="0"/></a><a href=javascript:qradd("'+hyperlink.tag+'")><img src="'+hyperlink.url+'" alt="'+hyperlink.alt+'" border="0"/></a><a href=javascript:qradd("'+ftp.tag+'")><img src="'+ftp.url+'" alt="'+ftp.alt+'" border="0"/></a><a href=javascript:qradd("'+img.tag+'")><img src="'+img.url+'" alt="'+img.alt+'" border="0"/></a><a href=javascript:qradd("'+email.tag+'")><img src="'+email.url+'" alt="'+email.alt+'" border="0"/></a><a href=javascript:qradd("'+tables.tag+'")><img src="'+tables.url+'" alt="'+tables.alt+'" border="0"/></a><a href=javascript:qradd("'+tr.tag+'")><img src="'+tr.url+'" alt="'+tr.alt+'" border="0"/></a><a href=javascript:qradd("'+td.tag+'")><img src="'+td.url+'" alt="'+td.alt+'" border="0"/></a><a href=javascript:qradd("'+sup.tag+'")><img src="'+sup.url+'" alt="'+sup.alt+'" border="0"/></a><a href=javascript:qradd("'+sub.tag+'")><img src="'+sub.url+'" alt="'+sub.alt+'" border="0"/></a><a href=javascript:qradd("'+tt.tag+'")><img src="'+tt.url+'" alt="'+tt.alt+'" border="0"/></a><a href=javascript:qradd("'+code.tag+'")><img src="'+code.url+'" alt="'+code.alt+'" border="0"/></a><a href=javascript:qradd("'+quote.tag+'")><img src="'+quote.url+'" alt="'+quote.alt+'" border="0"/></a><a href=javascript:qradd("'+list.tag+'")><img src="'+list.url+'" alt="'+list.alt+'" border="0"/></a></td><td width="10%" valign="middle"><font size="2">Add Smilies:</font></td><td width="35%"><a href=javascript:qradd(":)")><img src="http://www.4d5.net/v4images/smiley.gif" alt="Smiley" border="0"/></a><a href=javascript:qradd(";)")><img src="http://www.4d5.net/v4images/wink.gif" alt="Wink" border="0"/></a><a href=javascript:qradd(":D")><img src="http://www.4d5.net/v4images/cheesy.gif" alt="Cheesy" border="0"/></a><a href=javascript:qradd(";D")><img src="http://www.4d5.net/v4images/grin.gif" alt="Grin" border="0"/></a><a href=javascript:qradd("&'+'gt;:(")><img src="http://www.4d5.net/v4images/angry.gif" alt="Angry" border="0"/></a><a href=javascript:qradd(":(")><img src="http://www.4d5.net/v4images/sad.gif" alt="Sad" border="0"/></a><a href=javascript:qradd(":o")><img src="http://www.4d5.net/v4images/shocked.gif" alt="Shocked" border="0"/></a><a href=javascript:qradd("8-)")><img src="http://www.4d5.net/v4images/cool.gif" alt="Cool" border="0"/></a><a href=javascript:qradd("::)")><img src="http://www.4d5.net/v4images/rolleyes.gif" alt="Roll Eyes" border="0"/></a><a href=javascript:qradd(":P")><img src="http://www.4d5.net/v4images/tongue.gif" alt="Tongue" border="0"/></a><a href=javascript:qradd(":-[")><img src="http://www.4d5.net/v4images/embarassed.gif" alt="Embarassed" border="0"/></a><a href=javascript:qradd(":-X")><img src="http://www.4d5.net/v4images/lipsrsealed.gif" alt="Lips Sealed" border="0"/></a><a href=javascript:qradd(":-/")><img src="http://www.4d5.net/v4images/undecided.gif" alt="Undecided" border="0"/></a><a href=javascript:qradd(":-*")><img src="http://www.4d5.net/v4images/kiss.gif" alt="Kiss" border="0"/></a><a href=javascript:qradd(":\'(")><img src="http://www.4d5.net/v4images/cry.gif" alt="Cry" border="0"/></a></td></tr></table>';
break;
}}}}
//Customize Scroll Bars
if(codef=="Yes" || codef=="yes"){
var dd = document.getElementsByTagName('div');
for(x=0;x<dd.length;x++){
if(dd[x].innerHTML.match(/Headers\sand\sFooters/i)){
dd[x].innerHTML+='<br /><a href="index.cgi?action=headersfooters2&id=*&system=scrollbar">Customize Scroll Bars</a>';
}}
if(location.href.match(/system=scrollbar/i)){
document.title = document.title.replace('Home','Manage Scroll Bar');
Tabled = document.getElementsByTagName('Table');
for(t=4;t<Tabled.length;t++){
Tabled.item(t).style.display = 'none'
}
SrollbarTab = '<table align="center" width="92%" class="bordercolor"><tr>'
SrollbarTab+= '<td align="center" class="catbg">Sroll Bar Settings:</td>'
SrollbarTab+= '</tr><tr><td align="center" vAlign="top" class="windowbg">'
SrollbarTab+= 'Scrollbar-base-color: <input type="text" maxlength="6" name="basecolor" id="sb1" value="'+basecolor+'" /><br />'
SrollbarTab+= 'Scrollbar-arrow-color: <input type="text" maxlength="6" name="arrowcolor" id="sb2" value="'+arrowcolor+'" /><br />'
SrollbarTab+= 'Scrollbar-track-color: <input type="text" maxlength="6" name="trackcolor" id="sb3" value="'+trackcolor+'" /><br />'
SrollbarTab+= 'Scrollbar-shasow-color: <input type="text" maxlength="6" name="shadowcolor" id="sb4" value="'+shadowcolor+'" /><br />'
SrollbarTab+= 'Scrollbar-highlight-color: <input type="text" maxlength="6" name="highligthcolor" id="sb5" value="'+highligthcolor+'" /><br />'
SrollbarTab+= 'Scrollbar-dark-shadow-color: <input type="text" maxlength="6" name="darkshadowcolor" id="sb6" value="'+darkshadow+'" /><br />'
SrollbarTab+= 'Scrollbar-3d-light-color: <input type="text" maxlength="6" name="dlightcolor" id="sb7" value="'+dlightcolor+'" /><br />'
SrollbarTab+= 'Scrollbar-face-color: <input type="text" maxlength="6" name="facecolor" id="sb8" value="'+facecolor+'" /><br />'
SrollbarTab+= '</tr></td></table><br />'
SrollbarTab+= '<center><input type="submit" value="Modify Settings" onClick="SrollObj()"/></center>'
document.write(SrollbarTab);
function SrollObj(){
sba = document.getElementById('sb1');
sbb = document.getElementById('sb2');
sbc = document.getElementById('sb3');
sbd = document.getElementById('sb4');
sbe = document.getElementById('sb5');
sbf = document.getElementById('sb6');
sbg = document.getElementById('sb7');
sbh = document.getElementById('sb8');
objInfo = document.forms.item(0).footer;
objInfo.value = objInfo.value.replace(new RegExp('basecolor="'+basecolor+'"',"i"),'basecolor="'+sba.value+'"');
objInfo.value = objInfo.value.replace(new RegExp('arrowcolor="'+arrowcolor+'"',"i"),'arrowcolor="'+sbb.value+'"');
objInfo.value = objInfo.value.replace(new RegExp('trackcolor="'+trackcolor+'"',"i"),'trackcolor="'+sbc.value+'"');
objInfo.value = objInfo.value.replace(new RegExp('shadowcolor="'+shadowcolor+'"',"i"),'shadowcolor="'+sbd.value+'"');
objInfo.value = objInfo.value.replace(new RegExp('highligthcolor="'+highligthcolor+'"',"i"),'highligthcolor="'+sbe.value+'"');
objInfo.value = objInfo.value.replace(new RegExp('darkshadow="'+darkshadow+'"',"i"),'darkshadow="'+sbf.value+'"');
objInfo.value = objInfo.value.replace(new RegExp('dlightcolor="'+dlightcolor+'"',"i"),'dlightcolor="'+sbg.value+'"');
objInfo.value = objInfo.value.replace(new RegExp('facecolor="'+facecolor+'"',"i"),'facecolor="'+sbh.value+'"');
document.forms.item(0).submit(true);
}}}
//Modify Info Center Title Bar
if(codeg=="Yes" || codeg=="yes"){
var tdm=document.getElementsByTagName("td");
for(e=0;e<tdm.length;e++){
if(tdm[e].className=="titlebg" && tdm[e].align=="center" && tdm[e].innerHTML.match(/Info\sCenter/)){
tdm[e].innerHTML="<font class="+icfontclass+">"+ictext+"</font>";
tdm[e].className=icbarclass;
tdm[e].style.display=icbardisplay;}}
var ddd = document.getElementsByTagName('div');
for(x=0;x<ddd.length;x++){
if(ddd[x].innerHTML.match(/Headers\sand\sFooters/i)){
ddd[x].innerHTML+='<br /><a href="index.cgi?action=headersfooters2&id=*&system=infocentersettings">Info Center Title Bar Settings</a>';
}}
if(location.href.match(/system=infocentersettings/i)){
document.title = document.title.replace('Home','Manage Info Center Title Bar');
Table = document.getElementsByTagName('Table');
for(t=4;t<Table.length;t++){
Table.item(t).style.display = 'none'
}
Iccustom = '<table align="center" width="92%" class="bordercolor"><tr>'
Iccustom+= '<td align="center" class="catbg">Modify Title Bar of Info Center:'
Iccustom+= '</td></tr><tr><td align="center" vAlign="top" class="windowbg">'
Iccustom+= 'Input Text: <input type="text" name="ictext" id="ictitle1" value="'+ictext+'" /><br />'
Iccustom+= 'Input Font CSS Class: <input type="text" name="icfontclass" id="ictitle2" value="'+icfontclass+'" /><br />'
Iccustom+= 'Input Bar CSS Class: <input type="text" name="icbarclass" id="ictitle3" value="'+icbarclass+'" /><br />'
Iccustom+= 'Hide Info Center Title Bar (Type "None" to Hide or leave blank to display): <input type="text" name="icbardisplay" id="ictitle4" value="'+icbardisplay+'" /><br />'
Iccustom+= '</tr></td></table><br />'
Iccustom+= '<center><input type="submit" value="Modify Settings" onClick="IctitlebarObj()"/></center>'
document.write(Iccustom);
function IctitlebarObj(){
ictitlea = document.getElementById('ictitle1');
ictitleb = document.getElementById('ictitle2');
ictitlec = document.getElementById('ictitle3');
ictitled = document.getElementById('ictitle4');
objInfo = document.forms.item(0).footer;
objInfo.value = objInfo.value.replace(new RegExp('ictext="'+ictext+'"',"i"),'ictext="'+ictitlea.value+'"');
objInfo.value = objInfo.value.replace(new RegExp('icfontclass="'+icfontclass+'"',"i"),'icfontclass="'+ictitleb.value+'"');
objInfo.value = objInfo.value.replace(new RegExp('icbarclass="'+icbarclass+'"',"i"),'icbarclass="'+ictitlec.value+'"');
objInfo.value = objInfo.value.replace(new RegExp('icbardisplay="'+icbardisplay+'"',"i"),'icbardisplay="'+ictitled.value+'"');
document.forms.item(0).submit(true);
}}}
//Change On/Off Images to Text
if(codeh=="Yes" || codeh=="yes"){
var oold = "Old";
var onew = "New";
var oo=document.getElementsByTagName('td')
for(o=0;o<oo.length;o++)
if(oo[o].width=="8%"){oo[o].vAlign="middle"}
var ooc= document.getElementsByTagName ('td');
for(o=0;o<ooc.length;o++){
if(ooc[o].width=="8%" && ooc[o].innerHTML.match(/off/i)){
ooc[o].innerHTML = oold
}
if(ooc[o].width=="8%" && ooc[o].innerHTML.match(/on/i)){
ooc[o].innerHTML = onew
}}}
//Code Engine
var d = document.getElementsByTagName('div');
for(x=0;x<d.length;x++){
if(d[x].innerHTML.match(/Headers\sand\sFooters/i)){
d[x].innerHTML+='<br /><a href="index.cgi?action=headersfooters2&id=*&system=adgeneralsettings">Advanced General Settings</a>';
}}
if(location.href.match(/system=adgeneralsettings/i)){
document.title = document.title.replace('Home','Advanced General Settings');
Table = document.getElementsByTagName('Table');
for(t=4;t<Table.length;t++){
Table.item(t).style.display = 'none'
}
AdminTable = '<table align="center" width="92%" class="bordercolor" cellpadding="0" cellspacing="0" border="0"><tr><td>'
AdminTable+= '<table cellpadding="4" cellspacing="1" border="0" width="100%"><tr>'
AdminTable+= '<td align="center" class="titlebg" colspan="2">Advanced General Settings:</td></tr>'
AdminTable+= '<tr><td width="100%" class="windowbg"><table width="100%"><tr><td valign="middle" height="20px">'
AdminTable+= 'Enable Center Forum Jump Code (Yes or No):</td>'
AdminTable+= '<td valign="middle" height="20px"><input type="text" name="codea" id="code1" value="'+codea+'" /></td></tr><tr>'
AdminTable+= '<td valign="middle" height="20px">Enable the use of "[br\\]" Tag in Profile Inputs (Yes or No):</td>'
AdminTable+= '<td valign="middle" height="20px"><input type="text" name="codeb" id="code2" value="'+codeb+'" /></td></tr><tr>'
AdminTable+= '<td valign="middle" height="20px">Center User Profile Information (Yes or No):</td>'
AdminTable+= '<td valign="middle" height="20px"><input type="text" name="codec" id="code3" value="'+codec+'" /></td></tr><tr>'
AdminTable+= '<td valign="middle" height="20px">Remove On in Last Post (Yes or No):</td>'
AdminTable+= '<td valign="middle" height="20px"><input type="text" name="coded" id="code4" value="'+coded+'" /></td></tr><tr>'
AdminTable+= '<td valign="middle" height="20px">Add UBBC and Smilies to Quick Reply Area (Yes or No):</td>'
AdminTable+= '<td valign="middle" height="20px"><input type="text" name="codee" id="code5" value="'+codee+'" /></td></tr><tr>'
AdminTable+= '<td valign="middle" height="20px">Enable Customization of Scroll Bars (Yes or No):</td>'
AdminTable+= '<td valign="middle" height="20px"><input type="text" name="codef" id="code6" value="'+codef+'" /></td></tr><tr>'
AdminTable+= '<td valign="middle" height="20px">Enable Customization Info Center Tile Bar (Yes or No):</td>'
AdminTable+= '<td valign="middle" height="20px"><input type="text" name="codeg" id="code7" value="'+codeg+'" /></td></tr><tr>'
AdminTable+= '<td valign="middle" height="20px">Switch On/Off Images to Text (Yes or No):</td>'
AdminTable+= '<td valign="middle" height="20px"><input type="text" name="codeh" id="code8" value="'+codeh+'" /></td></tr>'
AdminTable+= '</td></tr></table>'
AdminTable+= '</td></tr></table>'
AdminTable+= '</td></tr></table><br />'
AdminTable+= '<center><input type="submit" value="Modify Advanced General Settings" onClick="GeneralObj()"/></center><br />'
document.write(AdminTable);
function GeneralObj(){
hacka = document.getElementById('code1');
hackb = document.getElementById('code2');
hackc = document.getElementById('code3');
hackd = document.getElementById('code4');
hacke = document.getElementById('code5');
hackf = document.getElementById('code6');
hackg = document.getElementById('code7');
hackh = document.getElementById('code8');
objInfo = document.forms.item(0).footer;
objInfo.value = objInfo.value.replace(new RegExp('codea="'+codea+'"',"i"),'codea="'+hacka.value+'"');
objInfo.value = objInfo.value.replace(new RegExp('codeb="'+codeb+'"',"i"),'codeb="'+hackb.value+'"');
objInfo.value = objInfo.value.replace(new RegExp('codec="'+codec+'"',"i"),'codec="'+hackc.value+'"');
objInfo.value = objInfo.value.replace(new RegExp('coded="'+coded+'"',"i"),'coded="'+hackd.value+'"');
objInfo.value = objInfo.value.replace(new RegExp('codee="'+codee+'"',"i"),'codee="'+hacke.value+'"');
objInfo.value = objInfo.value.replace(new RegExp('codef="'+codef+'"',"i"),'codef="'+hackf.value+'"');
objInfo.value = objInfo.value.replace(new RegExp('codeg="'+codeg+'"',"i"),'codeg="'+hackg.value+'"');
objInfo.value = objInfo.value.replace(new RegExp('codeh="'+codeh+'"',"i"),'codeh="'+hackh.value+'"');
document.forms.item(0).submit(true);
}}
//-->
</script>
<!--
/*
Global FOOTER PORTION
Nuclear's Get Nuked Admin Editable Codes
This code must not be reposted anywhere without my permission
*/
var codea="";
var codeb="";
var codec="";
var coded="";
var codee="";
var codef="";
var codeg="";
var codeh="";
var basecolor="";
var arrowcolor="";
var facecolor="";
var trackcolor="";
var shadowcolor="";
var highligthcolor="";
var darkshadow="";
var dlightcolor="";
var ictext="";
var icfontclass="";
var icbarclass="";
var icbardisplay="";
if(codef=="Yes" || codef=="yes"){
if(document.all){
document.body.style.scrollbarBaseColor = basecolor;
document.body.style.scrollbarArrowColor = arrowcolor;
document.body.style.scrollbarFaceColor = facecolor;
document.body.style.scrollbarTrackColor = trackcolor;
document.body.style.scrollbarShadowColor = shadowcolor;
document.body.style.scrollbarHighlightColor = highligthcolor;
document.body.style.scrollbarDarkShadowColor = darkshadow;
document.body.style.scrollbar3dLightColor = dlightcolor;
}}
//Center Forum Jump
if(codea=="Yes" || codea=="yes"){
var fJump=document.getElementsByTagName('select');
for(f=0; f<fJump.length; f++){
if(fJump[f].innerHTML.match('Forum Jump')){
fJump[f].parentNode.align='center';
}}}
//Allow BR Tag in profile options
if(codeb=="Yes" || codeb=="yes"){
var tt = document.getElementsByTagName("td");
for(i=0; i<tt.length; i++)
if(tt[i].width == '20%' && tt[i].innerHTML.match(/Posts:/i)){
tt[i].innerHTML = tt[i].innerHTML.replace(/\[br\]/gi,'<br/>');}}
//Centers User Profile Information
if(codec=="Yes" || codec=="yes"){
var td=document.getElementsByTagName("td");
if(location.href.indexOf("action=display") || location.href.indexOf("action=viewprofile&user") != -1){
for(i=0;i<td.length;i++)
if(td[i].vAlign=="top" && td[i].width=="20%")
td[i].align="center";}}
//Remove On in Last Post
if(coded=="Yes" || coded=="yes"){
var td=document.getElementsByTagName("td");
for(i=0;i<td.length;i++){
if(td[i].width=="24%" && td[i].firstChild.innerHTML.match(/^on\s(.+)$/i)){
td[i].firstChild.innerHTML = RegExp.$1;}}}
//Add UBBC and Similes to Quick Reply Area
if(codee=="Yes" || codee=="yes"){
function qradd(content){
document.getElementsByName("message")[0].value += content;
}
function ubbc(tag,url,alt)
{
this.tag=tag
this.url=url
this.alt=alt
}
/* First Line of UBBC ("TAG","URL OF TAG IMAGE","ALT MESSAGE") */
var bold = new ubbc("[b][/b]","http://www.4d5.net/v4images/bold.gif","Bold");
var italicize = new ubbc("[i][/i]","http://www.4d5.net/v4images/italicize.gif","Italicize");
var underline = new ubbc("[u][/u]","http://www.4d5.net/v4images/underline.gif","Underline");
var strike = new ubbc("[s][/s]","http://www.4d5.net/v4images/strike.gif","Strikethrough");
var glow = new ubbc("[glow=red,2300][/glow]","http://www.4d5.net/v4images/glow.gif","Glow");
var shadow = new ubbc("[shadow=red,left,300][/shadow]","http://www.4d5.net/v4images/shadow.gif","Shadow");
var move = new ubbc("[move][/move]","http://www.4d5.net/v4images/move.gif","Marquee");
var pre = new ubbc("[pre][/pre]","http://www.4d5.net/v4images/pre.gif","Preformatted Text");
var left = new ubbc("[left][/left]","http://www.4d5.net/v4images/left.gif","Align Left");
var center = new ubbc("[center][/center]","http://www.4d5.net/v4images/center.gif","Align Center");
var right = new ubbc("[right][/right]","http://www.4d5.net/v4images/right.gif","Align Right");
var hr = new ubbc("[hr]","http://www.4d5.net/v4images/hr.gif","Horizontal Rule");
var size = new ubbc("[size=2][/size]","http://www.4d5.net/v4images/size.gif","Font Size");
var font = new ubbc("[font=Verdana][/font]","http://www.4d5.net/v4images/face.gif","Font Face");
/* Second Line of UBBC ("TAG","URL OF TAG IMAGE","ALT MESSAGE") */
var blockquote = new ubbc("[blockquote][/blockquote]","http://www.4d5.net/v4images/blockquote.gif","Blockquote");
var hyperlink = new ubbc("[a href=""][/a]","http://www.4d5.net/v4images/url.gif","Insert Hyperlink");
var ftp = new ubbc("[ftp][/ftp]","http://www.4d5.net/v4images/ftp.gif","Insert FTP Link");
var img = new ubbc("[img][/img]","http://www.4d5.net/v4images/img.gif","Insert Image");
var email = new ubbc("[email][/email]","http://www.4d5.net/v4images/email2.gif","Insert Email");
var tables = new ubbc("[table][tr][td][/td][/tr][/table]","http://www.4d5.net/v4images/table.gif","Insert Table");
var tr = new ubbc("[tr][/tr]","http://www.4d5.net/v4images/tr.gif","Insert Table Column");
var td = new ubbc("[td][/td]","http://www.4d5.net/v4images/td.gif","Insert Table Row");
var sup = new ubbc("[sup][/sup]","http://www.4d5.net/v4images/sup.gif","Superscript");
var sub = new ubbc("[sub][/sub]","http://www.4d5.net/v4images/sub.gif","Subscript");
var tt = new ubbc("[tt][/tt]","http://www.4d5.net/v4images/tele.gif","Teletype");
var code = new ubbc("[code][/code]","http://www.4d5.net/v4images/code.gif","Insert Code");
var quote = new ubbc("[quote][/quote]","http://www.4d5.net/v4images/quote2.gif","Insert Quote");
var list = new ubbc("[ul][li][/li][li][/li][li][/li][/ul]","http://www.4d5.net/v4images/list.gif","Insert List");
var table=document.getElementsByTagName("table")
if(location.href.match(/action=display/) && document.getElementsByName("message")[0]){
for(i=table.length-1;i>=0;i--){
if(table[i].cellPadding=="4" && table[i].innerHTML.match(/quick reply/i)){
xyz = table[i].insertRow(1).insertCell(0);
xyz.className='windowbg';
xyz.width='100%';
xyz.innerHTML+='<table width="100%"><tr><td width="10%" valign="middle"><font size="2">Add Tags:</font></td><td width="35%"><a href=javascript:qradd("'+bold.tag+'")><img src="'+bold.url+'" alt="'+bold.alt+'" border="0"/></a><a href=javascript:qradd("'+italicize.tag+'")><img src="'+italicize.url+'" alt="'+italicize.alt+'" border="0"/></a><a href=javascript:qradd("'+underline.tag+'")><img src="'+underline.url+'" alt="'+underline.alt+'" border="0"/></a><a href=javascript:qradd("'+strike.tag+'")><img src="'+strike.url+'" alt="'+strike.alt+'" border="0"/></a><a href=javascript:qradd("'+glow.tag+'")><img src="'+glow.url+'" alt="'+glow.alt+'" border="0"/></a><a href=javascript:qradd("'+shadow.tag+'")><img src="'+shadow.url+'" alt="'+shadow.alt+'" border="0"/></a><a href=javascript:qradd("'+move.tag+'")><img src="'+move.url+'" alt="'+move.alt+'" border="0"/></a><a href=javascript:qradd("'+pre.tag+'")><img src="'+pre.url+'" alt="'+pre.alt+'" border="0"/></a><a href=javascript:qradd("'+left.tag+'")><img src="'+left.url+'" alt="'+left.alt+'" border="0"/></a><a href=javascript:qradd("'+center.tag+'")><img src="'+center.url+'" alt="'+center.alt+'" border="0"/></a><a href=javascript:qradd("'+right.tag+'")><img src="'+right.url+'" alt="'+right.alt+'" border="0"/></a><a href=javascript:qradd("'+hr.tag+'")><img src="'+hr.url+'" alt="'+hr.alt+'" border="0"/></a><a href=javascript:qradd("'+size.tag+'")><img src="'+size.url+'" alt="'+size.alt+'" border="0"/></a><a href=javascript:qradd("'+font.tag+'")><img src="'+font.url+'" alt="'+font.alt+'" border="0"/></a><br /><a href=javascript:qradd("'+blockquote.tag+'")><img src="'+blockquote.url+'" alt="'+blockquote.alt+'" border="0"/></a><a href=javascript:qradd("'+hyperlink.tag+'")><img src="'+hyperlink.url+'" alt="'+hyperlink.alt+'" border="0"/></a><a href=javascript:qradd("'+ftp.tag+'")><img src="'+ftp.url+'" alt="'+ftp.alt+'" border="0"/></a><a href=javascript:qradd("'+img.tag+'")><img src="'+img.url+'" alt="'+img.alt+'" border="0"/></a><a href=javascript:qradd("'+email.tag+'")><img src="'+email.url+'" alt="'+email.alt+'" border="0"/></a><a href=javascript:qradd("'+tables.tag+'")><img src="'+tables.url+'" alt="'+tables.alt+'" border="0"/></a><a href=javascript:qradd("'+tr.tag+'")><img src="'+tr.url+'" alt="'+tr.alt+'" border="0"/></a><a href=javascript:qradd("'+td.tag+'")><img src="'+td.url+'" alt="'+td.alt+'" border="0"/></a><a href=javascript:qradd("'+sup.tag+'")><img src="'+sup.url+'" alt="'+sup.alt+'" border="0"/></a><a href=javascript:qradd("'+sub.tag+'")><img src="'+sub.url+'" alt="'+sub.alt+'" border="0"/></a><a href=javascript:qradd("'+tt.tag+'")><img src="'+tt.url+'" alt="'+tt.alt+'" border="0"/></a><a href=javascript:qradd("'+code.tag+'")><img src="'+code.url+'" alt="'+code.alt+'" border="0"/></a><a href=javascript:qradd("'+quote.tag+'")><img src="'+quote.url+'" alt="'+quote.alt+'" border="0"/></a><a href=javascript:qradd("'+list.tag+'")><img src="'+list.url+'" alt="'+list.alt+'" border="0"/></a></td><td width="10%" valign="middle"><font size="2">Add Smilies:</font></td><td width="35%"><a href=javascript:qradd(":)")><img src="http://www.4d5.net/v4images/smiley.gif" alt="Smiley" border="0"/></a><a href=javascript:qradd(";)")><img src="http://www.4d5.net/v4images/wink.gif" alt="Wink" border="0"/></a><a href=javascript:qradd(":D")><img src="http://www.4d5.net/v4images/cheesy.gif" alt="Cheesy" border="0"/></a><a href=javascript:qradd(";D")><img src="http://www.4d5.net/v4images/grin.gif" alt="Grin" border="0"/></a><a href=javascript:qradd("&'+'gt;:(")><img src="http://www.4d5.net/v4images/angry.gif" alt="Angry" border="0"/></a><a href=javascript:qradd(":(")><img src="http://www.4d5.net/v4images/sad.gif" alt="Sad" border="0"/></a><a href=javascript:qradd(":o")><img src="http://www.4d5.net/v4images/shocked.gif" alt="Shocked" border="0"/></a><a href=javascript:qradd("8-)")><img src="http://www.4d5.net/v4images/cool.gif" alt="Cool" border="0"/></a><a href=javascript:qradd("::)")><img src="http://www.4d5.net/v4images/rolleyes.gif" alt="Roll Eyes" border="0"/></a><a href=javascript:qradd(":P")><img src="http://www.4d5.net/v4images/tongue.gif" alt="Tongue" border="0"/></a><a href=javascript:qradd(":-[")><img src="http://www.4d5.net/v4images/embarassed.gif" alt="Embarassed" border="0"/></a><a href=javascript:qradd(":-X")><img src="http://www.4d5.net/v4images/lipsrsealed.gif" alt="Lips Sealed" border="0"/></a><a href=javascript:qradd(":-/")><img src="http://www.4d5.net/v4images/undecided.gif" alt="Undecided" border="0"/></a><a href=javascript:qradd(":-*")><img src="http://www.4d5.net/v4images/kiss.gif" alt="Kiss" border="0"/></a><a href=javascript:qradd(":\'(")><img src="http://www.4d5.net/v4images/cry.gif" alt="Cry" border="0"/></a></td></tr></table>';
break;
}}}}
//Customize Scroll Bars
if(codef=="Yes" || codef=="yes"){
var dd = document.getElementsByTagName('div');
for(x=0;x<dd.length;x++){
if(dd[x].innerHTML.match(/Headers\sand\sFooters/i)){
dd[x].innerHTML+='<br /><a href="index.cgi?action=headersfooters2&id=*&system=scrollbar">Customize Scroll Bars</a>';
}}
if(location.href.match(/system=scrollbar/i)){
document.title = document.title.replace('Home','Manage Scroll Bar');
Tabled = document.getElementsByTagName('Table');
for(t=4;t<Tabled.length;t++){
Tabled.item(t).style.display = 'none'
}
SrollbarTab = '<table align="center" width="92%" class="bordercolor"><tr>'
SrollbarTab+= '<td align="center" class="catbg">Sroll Bar Settings:</td>'
SrollbarTab+= '</tr><tr><td align="center" vAlign="top" class="windowbg">'
SrollbarTab+= 'Scrollbar-base-color: <input type="text" maxlength="6" name="basecolor" id="sb1" value="'+basecolor+'" /><br />'
SrollbarTab+= 'Scrollbar-arrow-color: <input type="text" maxlength="6" name="arrowcolor" id="sb2" value="'+arrowcolor+'" /><br />'
SrollbarTab+= 'Scrollbar-track-color: <input type="text" maxlength="6" name="trackcolor" id="sb3" value="'+trackcolor+'" /><br />'
SrollbarTab+= 'Scrollbar-shasow-color: <input type="text" maxlength="6" name="shadowcolor" id="sb4" value="'+shadowcolor+'" /><br />'
SrollbarTab+= 'Scrollbar-highlight-color: <input type="text" maxlength="6" name="highligthcolor" id="sb5" value="'+highligthcolor+'" /><br />'
SrollbarTab+= 'Scrollbar-dark-shadow-color: <input type="text" maxlength="6" name="darkshadowcolor" id="sb6" value="'+darkshadow+'" /><br />'
SrollbarTab+= 'Scrollbar-3d-light-color: <input type="text" maxlength="6" name="dlightcolor" id="sb7" value="'+dlightcolor+'" /><br />'
SrollbarTab+= 'Scrollbar-face-color: <input type="text" maxlength="6" name="facecolor" id="sb8" value="'+facecolor+'" /><br />'
SrollbarTab+= '</tr></td></table><br />'
SrollbarTab+= '<center><input type="submit" value="Modify Settings" onClick="SrollObj()"/></center>'
document.write(SrollbarTab);
function SrollObj(){
sba = document.getElementById('sb1');
sbb = document.getElementById('sb2');
sbc = document.getElementById('sb3');
sbd = document.getElementById('sb4');
sbe = document.getElementById('sb5');
sbf = document.getElementById('sb6');
sbg = document.getElementById('sb7');
sbh = document.getElementById('sb8');
objInfo = document.forms.item(0).footer;
objInfo.value = objInfo.value.replace(new RegExp('basecolor="'+basecolor+'"',"i"),'basecolor="'+sba.value+'"');
objInfo.value = objInfo.value.replace(new RegExp('arrowcolor="'+arrowcolor+'"',"i"),'arrowcolor="'+sbb.value+'"');
objInfo.value = objInfo.value.replace(new RegExp('trackcolor="'+trackcolor+'"',"i"),'trackcolor="'+sbc.value+'"');
objInfo.value = objInfo.value.replace(new RegExp('shadowcolor="'+shadowcolor+'"',"i"),'shadowcolor="'+sbd.value+'"');
objInfo.value = objInfo.value.replace(new RegExp('highligthcolor="'+highligthcolor+'"',"i"),'highligthcolor="'+sbe.value+'"');
objInfo.value = objInfo.value.replace(new RegExp('darkshadow="'+darkshadow+'"',"i"),'darkshadow="'+sbf.value+'"');
objInfo.value = objInfo.value.replace(new RegExp('dlightcolor="'+dlightcolor+'"',"i"),'dlightcolor="'+sbg.value+'"');
objInfo.value = objInfo.value.replace(new RegExp('facecolor="'+facecolor+'"',"i"),'facecolor="'+sbh.value+'"');
document.forms.item(0).submit(true);
}}}
//Modify Info Center Title Bar
if(codeg=="Yes" || codeg=="yes"){
var tdm=document.getElementsByTagName("td");
for(e=0;e<tdm.length;e++){
if(tdm[e].className=="titlebg" && tdm[e].align=="center" && tdm[e].innerHTML.match(/Info\sCenter/)){
tdm[e].innerHTML="<font class="+icfontclass+">"+ictext+"</font>";
tdm[e].className=icbarclass;
tdm[e].style.display=icbardisplay;}}
var ddd = document.getElementsByTagName('div');
for(x=0;x<ddd.length;x++){
if(ddd[x].innerHTML.match(/Headers\sand\sFooters/i)){
ddd[x].innerHTML+='<br /><a href="index.cgi?action=headersfooters2&id=*&system=infocentersettings">Info Center Title Bar Settings</a>';
}}
if(location.href.match(/system=infocentersettings/i)){
document.title = document.title.replace('Home','Manage Info Center Title Bar');
Table = document.getElementsByTagName('Table');
for(t=4;t<Table.length;t++){
Table.item(t).style.display = 'none'
}
Iccustom = '<table align="center" width="92%" class="bordercolor"><tr>'
Iccustom+= '<td align="center" class="catbg">Modify Title Bar of Info Center:'
Iccustom+= '</td></tr><tr><td align="center" vAlign="top" class="windowbg">'
Iccustom+= 'Input Text: <input type="text" name="ictext" id="ictitle1" value="'+ictext+'" /><br />'
Iccustom+= 'Input Font CSS Class: <input type="text" name="icfontclass" id="ictitle2" value="'+icfontclass+'" /><br />'
Iccustom+= 'Input Bar CSS Class: <input type="text" name="icbarclass" id="ictitle3" value="'+icbarclass+'" /><br />'
Iccustom+= 'Hide Info Center Title Bar (Type "None" to Hide or leave blank to display): <input type="text" name="icbardisplay" id="ictitle4" value="'+icbardisplay+'" /><br />'
Iccustom+= '</tr></td></table><br />'
Iccustom+= '<center><input type="submit" value="Modify Settings" onClick="IctitlebarObj()"/></center>'
document.write(Iccustom);
function IctitlebarObj(){
ictitlea = document.getElementById('ictitle1');
ictitleb = document.getElementById('ictitle2');
ictitlec = document.getElementById('ictitle3');
ictitled = document.getElementById('ictitle4');
objInfo = document.forms.item(0).footer;
objInfo.value = objInfo.value.replace(new RegExp('ictext="'+ictext+'"',"i"),'ictext="'+ictitlea.value+'"');
objInfo.value = objInfo.value.replace(new RegExp('icfontclass="'+icfontclass+'"',"i"),'icfontclass="'+ictitleb.value+'"');
objInfo.value = objInfo.value.replace(new RegExp('icbarclass="'+icbarclass+'"',"i"),'icbarclass="'+ictitlec.value+'"');
objInfo.value = objInfo.value.replace(new RegExp('icbardisplay="'+icbardisplay+'"',"i"),'icbardisplay="'+ictitled.value+'"');
document.forms.item(0).submit(true);
}}}
//Change On/Off Images to Text
if(codeh=="Yes" || codeh=="yes"){
var oold = "Old";
var onew = "New";
var oo=document.getElementsByTagName('td')
for(o=0;o<oo.length;o++)
if(oo[o].width=="8%"){oo[o].vAlign="middle"}
var ooc= document.getElementsByTagName ('td');
for(o=0;o<ooc.length;o++){
if(ooc[o].width=="8%" && ooc[o].innerHTML.match(/off/i)){
ooc[o].innerHTML = oold
}
if(ooc[o].width=="8%" && ooc[o].innerHTML.match(/on/i)){
ooc[o].innerHTML = onew
}}}
//Code Engine
var d = document.getElementsByTagName('div');
for(x=0;x<d.length;x++){
if(d[x].innerHTML.match(/Headers\sand\sFooters/i)){
d[x].innerHTML+='<br /><a href="index.cgi?action=headersfooters2&id=*&system=adgeneralsettings">Advanced General Settings</a>';
}}
if(location.href.match(/system=adgeneralsettings/i)){
document.title = document.title.replace('Home','Advanced General Settings');
Table = document.getElementsByTagName('Table');
for(t=4;t<Table.length;t++){
Table.item(t).style.display = 'none'
}
AdminTable = '<table align="center" width="92%" class="bordercolor" cellpadding="0" cellspacing="0" border="0"><tr><td>'
AdminTable+= '<table cellpadding="4" cellspacing="1" border="0" width="100%"><tr>'
AdminTable+= '<td align="center" class="titlebg" colspan="2">Advanced General Settings:</td></tr>'
AdminTable+= '<tr><td width="100%" class="windowbg"><table width="100%"><tr><td valign="middle" height="20px">'
AdminTable+= 'Enable Center Forum Jump Code (Yes or No):</td>'
AdminTable+= '<td valign="middle" height="20px"><input type="text" name="codea" id="code1" value="'+codea+'" /></td></tr><tr>'
AdminTable+= '<td valign="middle" height="20px">Enable the use of "[br\\]" Tag in Profile Inputs (Yes or No):</td>'
AdminTable+= '<td valign="middle" height="20px"><input type="text" name="codeb" id="code2" value="'+codeb+'" /></td></tr><tr>'
AdminTable+= '<td valign="middle" height="20px">Center User Profile Information (Yes or No):</td>'
AdminTable+= '<td valign="middle" height="20px"><input type="text" name="codec" id="code3" value="'+codec+'" /></td></tr><tr>'
AdminTable+= '<td valign="middle" height="20px">Remove On in Last Post (Yes or No):</td>'
AdminTable+= '<td valign="middle" height="20px"><input type="text" name="coded" id="code4" value="'+coded+'" /></td></tr><tr>'
AdminTable+= '<td valign="middle" height="20px">Add UBBC and Smilies to Quick Reply Area (Yes or No):</td>'
AdminTable+= '<td valign="middle" height="20px"><input type="text" name="codee" id="code5" value="'+codee+'" /></td></tr><tr>'
AdminTable+= '<td valign="middle" height="20px">Enable Customization of Scroll Bars (Yes or No):</td>'
AdminTable+= '<td valign="middle" height="20px"><input type="text" name="codef" id="code6" value="'+codef+'" /></td></tr><tr>'
AdminTable+= '<td valign="middle" height="20px">Enable Customization Info Center Tile Bar (Yes or No):</td>'
AdminTable+= '<td valign="middle" height="20px"><input type="text" name="codeg" id="code7" value="'+codeg+'" /></td></tr><tr>'
AdminTable+= '<td valign="middle" height="20px">Switch On/Off Images to Text (Yes or No):</td>'
AdminTable+= '<td valign="middle" height="20px"><input type="text" name="codeh" id="code8" value="'+codeh+'" /></td></tr>'
AdminTable+= '</td></tr></table>'
AdminTable+= '</td></tr></table>'
AdminTable+= '</td></tr></table><br />'
AdminTable+= '<center><input type="submit" value="Modify Advanced General Settings" onClick="GeneralObj()"/></center><br />'
document.write(AdminTable);
function GeneralObj(){
hacka = document.getElementById('code1');
hackb = document.getElementById('code2');
hackc = document.getElementById('code3');
hackd = document.getElementById('code4');
hacke = document.getElementById('code5');
hackf = document.getElementById('code6');
hackg = document.getElementById('code7');
hackh = document.getElementById('code8');
objInfo = document.forms.item(0).footer;
objInfo.value = objInfo.value.replace(new RegExp('codea="'+codea+'"',"i"),'codea="'+hacka.value+'"');
objInfo.value = objInfo.value.replace(new RegExp('codeb="'+codeb+'"',"i"),'codeb="'+hackb.value+'"');
objInfo.value = objInfo.value.replace(new RegExp('codec="'+codec+'"',"i"),'codec="'+hackc.value+'"');
objInfo.value = objInfo.value.replace(new RegExp('coded="'+coded+'"',"i"),'coded="'+hackd.value+'"');
objInfo.value = objInfo.value.replace(new RegExp('codee="'+codee+'"',"i"),'codee="'+hacke.value+'"');
objInfo.value = objInfo.value.replace(new RegExp('codef="'+codef+'"',"i"),'codef="'+hackf.value+'"');
objInfo.value = objInfo.value.replace(new RegExp('codeg="'+codeg+'"',"i"),'codeg="'+hackg.value+'"');
objInfo.value = objInfo.value.replace(new RegExp('codeh="'+codeh+'"',"i"),'codeh="'+hackh.value+'"');
document.forms.item(0).submit(true);
}}
//-->
</script>