Post by bong on Jul 12, 2009 11:18:07 GMT -8
Board URL: giftedcounterpart.proboards.com/index.cgi
Problem: In a poll at my site, some members even myself,admin, cannot vote. The vote doesn't go through while other member's vote does go through. I am wondering why this happening, so i tried to remove all the codes in header and footers. After i did that the code went through. I'm hoping someone could help me solve this issue.
So for me when i dot in my vote and press submit, i am brought to:
An Error Has Occurred
You did not choose what you would like to vote for in the poll.
GLOBAL HEADER
GLOBAL FOOTER
MAIN FOOTER
Problem: In a poll at my site, some members even myself,admin, cannot vote. The vote doesn't go through while other member's vote does go through. I am wondering why this happening, so i tried to remove all the codes in header and footers. After i did that the code went through. I'm hoping someone could help me solve this issue.
So for me when i dot in my vote and press submit, i am brought to:
An Error Has Occurred
You did not choose what you would like to vote for in the poll.
GLOBAL HEADER
<div id="wel"></div>
<script type="text/javascript">
<!--
var welcomeTable = document.getElementsByTagName("table").item(0);
document.getElementById("wel").appendChild(welcomeTable);
//-->
</script>
<script>
<!--
/* Border-Around-Forum using Gradients - by Smangii */
var hg = "#1D1A1A"; // Class of the Header Gradient
var mc = "#1D1A1A"; // Color of the middle portion
var bg = "#1D1A1A"; // Class of the Footer Gradient
document.write('<table width="30%" cellspacing="0" cellpadding="0" class="bordercolor" align="center"><tr><td width="50%" class="'+hg+'"></td></tr><tr><td width="50%" bgcolor="'+mc+'">')
//-->
</script>
<!--End Change Links and Title Font-->
<script type="text/javascript">
<!--
document.getElementsByTagName('td').item(2).style.display="none";
//-->
</script>
<script type="text/javascript">
<!--
document.getElementsByTagName('font').item(1).style.display="none";
//-->
</script>
<style type="text/css">
<!--
.catbg {text-align: center;}
-->
</style>
<style type="text/css">
<!--
#forumjump { display: none; }
-->
</style>
<br/>
<!--
===================================
HTML Left Side Tables for ProBoards - Smangii Style
GLOBAL HEADERS
===================================
//-->
<!-- Start Main Table //-->
<table align="center" width="auto" cellpadding="5">
<tr>
<td align="center" width="200px" vAlign="top">
<!-- Start Side Tables //-->
<table width="100%" cellpadding="0">
<tr>
<td>
<!-- WELCOME //-->
<table align="center" width="100%" class="bordercolor" cellpadding="4" cellspacing="1">
<tr>
<td class="windowbg" align="center">
<img src="http://i325./k378/bongcee/giftedcounterpart/counterpartken.gif" border="0" alt="Photobucket"><br>
</td>
</tr>
</table>
<br />
<!-- STAFF //-->
<table align="center" width="100%" class="bordercolor" cellpadding="4" cellspacing="1"><tr>
<tr>
<td class="windowbg" align="center">
<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table id="Table_01" width="201" height="300" border="0" cellpadding="0" cellspacing="0">
<tr>
<td colspan="6">
<img src="http://i325./k378/bongcee/giftedcounterpart/agcstaff_01.gif" width="200" height="147" alt=""></td>
<td>
<img src="http://i325./k378/bongcee/giftedcounterpart/spacer.gif" width="1" height="147" alt=""></td>
</tr>
<tr>
<td colspan="4">
<img src="http://i325./k378/bongcee/giftedcounterpart/agcstaff_02.gif" width="145" height="6" alt=""></td>
<td rowspan="3">
<a href="http://giftedcounterpart.proboards.com/index.cgi?action=viewprofile&user=bong">
<img src="http://i325./k378/bongcee/giftedcounterpart/Untitled-1_03.gif" width="47" height="143" border="0" alt=""></a></td>
<td rowspan="5">
<img src="http://i325./k378/bongcee/giftedcounterpart/agcstaff_04.gif" width="8" height="153" alt=""></td>
<td>
<img src="http://i325./k378/bongcee/giftedcounterpart/spacer.gif" width="1" height="6" alt=""></td>
</tr>
<tr>
<td rowspan="4">
<img src="http://i325./k378/bongcee/giftedcounterpart/agcstaff_05.gif" width="53" height="147" alt=""></td>
<td rowspan="3">
<a href="http://giftedcounterpart.proboards.com/index.cgi?action=viewprofile&user=mas50">
<img src="http://i325./k378/bongcee/giftedcounterpart/Untitled-1_06.gif" width="34" height="142" border="0" alt=""></a></td>
<td rowspan="2">
<a href="http://giftedcounterpart.proboards.com/index.cgi?action=viewprofile&user=guy">
<img src="http://i325./k378/bongcee/giftedcounterpart/Untitled-1_06-07.gif" width="29" height="137" border="0" alt=""></a></td>
<td>
<img src="http://i325./k378/bongcee/giftedcounterpart/agcstaff_08.gif" width="29" height="5" alt=""></td>
<td>
<img src="http://i325./k378/bongcee/giftedcounterpart/spacer.gif" width="1" height="5" alt=""></td>
</tr>
<tr>
<td>
<a href="http://giftedcounterpart.proboards.com/index.cgi?action=viewprofile&user=admin">
<img src="http://i325./k378/bongcee/giftedcounterpart/Untitled-1_03-09.gif" width="29" height="132" border="0" alt=""></a></td>
<td>
<img src="http://i325./k378/bongcee/giftedcounterpart/spacer.gif" width="1" height="132" alt=""></td>
</tr>
<tr>
<td colspan="3" rowspan="2">
<img src="http://i325./k378/bongcee/giftedcounterpart/agcstaff_10.gif" width="105" height="10" alt=""></td>
<td>
<img src="http://i325./k378/bongcee/giftedcounterpart/spacer.gif" width="1" height="5" alt=""></td>
</tr>
<tr>
<td>
<img src="http://i325./k378/bongcee/giftedcounterpart/agcstaff_11.gif" width="34" height="5" alt=""></td>
<td>
<img src="http://i325./k378/bongcee/giftedcounterpart/spacer.gif" width="1" height="5" alt=""></td>
</tr>
</table>
<tr>
</td>
</tr>
</table>
<br />
<!-- ANNOUNCEMENTS //-->
<table align="center" width="100%" class="bordercolor" cellpadding="4" cellspacing="1">
<tr>
<td class="windowbg" align="center">
<img src="http://i325./k378/bongcee/giftedcounterpart/ACPAtt.png" border="0" alt="Photobucket"><br>
<align=left><a href="http://giftedcounterpart.proboards.com/index.cgi?board=grandhall&action=display&thread=205"><b>JULY 10</B></a> •<sup> The dance has arrived, so grab your dress and a date! Its a chance for you to meet everyone, be there ! You wouldn't want to miss anything would you? <a href="http://giftedcounterpart.proboards.com/index.cgi?board=grandhall&action=display&thread=205"><b>CLICK HERE !</B></a> </sup>
<br><br><a href="http://giftedcounterpart.proboards.com/index.cgi?board=announcement&action=display&thread=131"><b>JULY 04</B></a> •<sup> There are only a couple of days left before Ellen Ivory Prep open its door to welcome back the students. The sign up for staff position and extra-curriculars has been posted in Building A of the school. Its first come,first serve. So go sign up before your spot is taken !</sup></align>
<br><br>
<select onchange="location.href=this.options[this.selectedIndex].value">
<option>Important Links</option>
<option>--------------------------</option>
<option value="http://giftedcounterpart.proboards.com/index.cgi?board=rules&action=display&thread=2">THE RULES</option>
<option value="http://giftedcounterpart.proboards.com/index.cgi?board=rules&action=display&thread=3">POSTING</option>
<option>--------------------------</option>
<option value="http://giftedcounterpart.proboards.com/index.cgi?board=charactersbegin&action=display&thread=5">CHARACTER ENROLLMENT</option>
<option value="http://giftedcounterpart.proboards.com/index.cgi?board=charactersbegin&action=display&thread=7">POWER CLAIM</option>
<option value="http://giftedcounterpart.proboards.com/index.cgi?action=display&board=charactersbegin&thread=6&page=1">FACE CLAIM</option>
<option value="http://giftedcounterpart.proboards.com/index.cgi?board=charactersbegin&action=display&thread=19">WHO PLAYS WHO</option>
</select>
</td>
</tr>
</table>
<br />
<!-- SPOTLIGHTS //-->
<table align="center" width="100%" class="bordercolor" cellpadding="4" cellspacing="1">
<tr>
<td class="windowbg" align="center">
<img src="http://i325./k378/bongcee/giftedcounterpart/ACPSPO.png" border="0" alt="Photobucket">
</td>
</tr>
</table>
<br />
<!-- AFFILIATES //-->
<table align="center" width="100%" class="bordercolor" cellpadding="4" cellspacing="1">
<tr>
<td class="windowbg" align="center">
<img src="http://i325./k378/bongcee/giftedcounterpart/ACPAFF.png" border="0" alt="Photobucket"><BR><B>TOPSITES:</B> VOTE FOR US !<br><a href="http://topsites.redcarpetrebellion.net/"><img src="http://topsites.redcarpetrebellion.net/button.php?u=bongc" alt="The A List" border="0" /></a><br><BR>
<div style=" width:200px; height:100px; overflow:auto;">
<a href="http://rpgcollection.proboards27.com/" target="_blank"><img src="http://dravu.com/RPGC3/Main/minibanner1.gif" width="88" height="31" border="0" alt="RPGCollection"></a>
<a href="http://insilencesealed.proboards.com/" target"_blank"><img src="http://i43.tinypic.com/eu23yg.jpg" alt="in silence sealed" border= "0"></a> <BR>
<a href=http://xostillbreathing.proboards.com><img src="http://i141./r71/maggiesrpstuff/still%20breathing/minibanner.png" border=0 alt="Still Breathing"></a>
<a href="http://theyallfalldead.proboards.com/index.cgi" target="_blank"><img src="http://i471./rr78/leeshyyxx/Site%20Graphics/Ashes%20Ashes/affbutton.png" border="0"></a><BR>
<a href="http://wtshtf.proboards.com/index.cgi"><img src="http://i266./ii274/Issues_In_A_Bottle/wolf.png" border="2"></a>
<a href="http://giftedcounterpart.proboards.com/index.cgi?board=ads&action=display&thread=12"><img src="http://i325./k378/bongcee/giftedcounterpart/yoursaff.png" width="88" height="31" border="0" alt="AFFILIATEWITHUS"></a><BR>
<a href="http://giftedcounterpart.proboards.com/index.cgi?board=ads&action=display&thread=12"><img src="http://i325./k378/bongcee/giftedcounterpart/yoursaff.png" width="88" height="31" border="0" alt="AFFILIATEWITHUS"></a>
<a href="http://giftedcounterpart.proboards.com/index.cgi?board=ads&action=display&thread=12"><img src="http://i325./k378/bongcee/giftedcounterpart/yoursaff.png" width="88" height="31" border="0" alt="AFFILIATEWITHUS"></a><BR>
</div>
</td>
</tr>
</table>
<br />
<!-- CREDITS //-->
<table align="center" width="100%" class="bordercolor" cellpadding="4" cellspacing="1">
<tr>
<td class="windowbg" align="center">
<img src="http://i325./k378/bongcee/giftedcounterpart/ACPcred.png" border="0" alt="Photobucket"><br>
something<br>
Sidebar • Smangii<br>
Graphics • Bong<br>
Code • Complicated,proboards support, soCal
</td>
</tr>
</table>
<br />
<!-- Close Side Tables //-->
</td>
</tr>
</table>
</td>
<script>
// Resize the welcome table - can be % or a number of pixels
document.getElementsByTagName('table')[0].style.width='943px';
</script>
<td vAlign="top">
<!-- END SIDE TABLES GLOBAL HEADERS HTML //-->
<!-----ROSSFURY HEADER//--->
<script src="http://www.webpost.net/sh/shinx05/CrossFury/CFHeader.js">
<!--
/*
Project: CrossFury Version 1.0 © Shin, 2005
This code may be used provided that you do not edit or repost this code without my prior permission, and that you do NOT remove this header. This script's coding is my official property, so please do not attempt to claim any of it as your own. This header must always remain intact.
This part of the code goes in your Global Header ONLY.
Both parts of the code must be properly installed to work.
*/
//-->
</script>
<br>
<script type="text/javascript">
<!--
AddOns[1]=new ProfileAddOn("powerone","true","input","all","Power One","","Type in your first power in the text field.");
//-->
</script><br>
<script type="text/javascript">
<!--
AddOns[2]=new ProfileAddOn("powertwo","true","input","all","Power Two","","Type in your second power from your character directory in this field.");
//-->
</script>
<script type="text/javascript">
<!--
/* fix text menus by ross */
var startChar = ''; //Start character
var dividerChar = ' - '; //Dividing Character(s);
var endChar = ''; //End character
//no need to edit below
var menu = document.getElementsByTagName('td').item(5).firstChild;
var a = menu.innerHTML.replace(/^\n?(<.+?>)\[/, startChar+' $1');
var b = a.replace(new RegExp('\\](<\/a>)(\\n|\\s|&nb'+'sp;)*$', 'i'), '$1 '+endChar);
var c = b.replace(new RegExp('\\](<\/a>)(&nb'+'sp;|\\s)(<a.+?>)\\[', 'gi'),'$1 '+dividerChar+' $3');
menu.innerHTML = c;
//-->
</script>
<script type="text/javascript">
<!--
document.getElementsByTagName("td").item(5).align="right";
//-->
</script>
<script language="JavaScript" type="text/JavaScript">
//DJAs PM Bar,V1
//www.dja3.2ya.com
var td = document.getElementsByTagName('TD');
if(td[2].innerHTML.match(/Hey, (.+?), you/i)){
var User = RegExp.$1
}
if(td[2].innerHTML.match(/action=pm">(\d+)\s/i)) {
var Total = RegExp.$1
}
if(td[2].innerHTML.match(/, (\d+)\ (is|are) new./i)){
var New = RegExp.$1
}
if(td[2].innerHTML.match(/guest/i)){
td[5].innerHTML+='<br />Hey, guest. Please <a href="/index.cgi?action=login">Log In</a> or <a href="/index.cgi?action=register">Register</a> to use this feature.';
}
if(td[2].innerHTML.match(/Hey,/i)){
td[5].innerHTML+='<br />Hey '+User+'. <a href="/index.cgi?action=pm">,You have '+Total+' Pms in your inbox</a>, '+New+' of them are new.';
}
document.getElementsByTagName('td')[2].style.display='none';
document.getElementsByTagName('font')[1].style.display='none';
</script>
GLOBAL FOOTER
<!---------CROSSFURY FOOTER//----->
<script src="http://www.webpost.net/sh/shinx05/CrossFury/CFFooter.js">
<!--
/*
Project: CrossFury Version 1.0 © Shin, 2005
This code may be used provided that you do not edit or repost this code without my prior permission, and that you do NOT remove this header. This script's coding is my official property, so please do not attempt to claim any of it as your own. This header must always remain intact.
This part of the code goes in your Global Footer ONLY.
Both parts of the code must be properly installed to work.
*/
//-->
</script>
<!-- SIDE TABLES GLOBAL FOOTERS //-->
<script type="text/javascript">
<!--
table = document.getElementsByTagName('table');
for(i = 0; i < table.length; i ++) {
with(table[i]) {
if(width == '92%') {
width = '700';
}}}
//-->
</script>
</td></tr></table>
<!-- END SIDE TABLES GLOBAL FOOTERS //-->
<script type="text/javascript">
<!--
fWidth = document.getElementsByTagName('table');
for(t=0; t<fWidth.length; t++) {
if(fWidth[t].width=="92%")
fWidth[t].width='800';
}
// -->
</script>
<script>
//remove info center icons
var InfoIcon=document.getElementsByTagName("TD")
for(t=0;t<InfoIcon.length;t++){
if(InfoIcon[t].className.match("windowbg") && InfoIcon[t].width=="20" && InfoIcon[t].vAlign=="middle"){
InfoIcon[t].style.display="none"
}}
</script>
<script type="text/javascript"><!--
/*
* Link Avatar to Profile
* Created by Triad
* [url]http://support.proboards.com[/url]
*/
if(location.href.match(/on=(displ|search2|viewpr|pmv|(user)?rece|cal\w+iew)/)){
for(var td=document.getElementsByTagName("td"), x= 6; x<td.length; x++){
if(td[x].width == "20%" && td[x].getElementsByTagName("center")[0]){
var center = td[x].getElementsByTagName("center")[0];
if(center.firstChild.src && center.firstChild.alt == "[avatar]"){
var a = td[x].getElementsByTagName("a"), b = a.length, c = 0, name;
while(c < b){
if(a[c].className && a[c].className.match(/group/i)){
name = a[c].href.split("=")[2];
break;
}
c++;
}
var _a = document.createElement("a");
_a.href = "/index.cgi?action=viewprofile&user=" + name;
_a.appendChild(center.firstChild.cloneNode(true));
center.replaceChild(_a, center.firstChild);
}
}
}
}
//--></script>
<script type="text/javascript">
<!--
/* UBBC in Personal Text - Ross - Open Source */
if(location.href.match(/action=(display|gotopost|(pm)?(calendar)?view|(user)?recent|search2)/)) {
var td = document.getElementsByTagName('td');
for(i=0; i<td.length; i++) {
if(td.item(i).width == '20%' && td.item(i).vAlign == 'top') {
td.item(i).innerHTML = td.item(i).innerHTML.replace(/\[(br|hr)\]/gi, '<$1 />');
td.item(i).innerHTML = td.item(i).innerHTML.replace(/\[(b|i|u|s(up|sub)?|pre|tt)\](.*)\[\/(\w+)\]/gi, '<$1>$3</$1>');
td.item(i).innerHTML = td.item(i).innerHTML.replace(/\[color=(.+?)\](.*)\[\/color\]/gi, '<font color="$1">$2</font>');
td.item(i).innerHTML = td.item(i).innerHTML.replace(/\[(right|left|center)\](.+?)\[\/(right|left|center)\]/gi, '<p align="$1">$2</p>');
td.item(i).innerHTML = td.item(i).innerHTML.replace(/\[(url|ftp)=((ht|f)tps?:\/\/\w+)\](.+?)\[\/(url|ftp)\]/gi, '<a href="$2">$4</a>');
td.item(i).innerHTML = td.item(i).innerHTML.replace(/\[email\](.+?)\[\/email\]/gi, '<a href="mailto:$1">$1</a>');
td.item(i).innerHTML = td.item(i).innerHTML.replace(/\[img\](https?:\/\/.+?\.(gif|jpe?g|png))\[\/img\]/gi, '<img src="$1" />');
td.item(i).innerHTML = td.item(i).innerHTML.replace(/\[move\](.+?)\[\/move\]/gi, '<marquee>$1</marquee>');
}
}
}
//-->
</script>
<script type="text/javascript">
/*----------------------------------------*\
|Report Posts
|Created by Simie, (C) 2006-Present.
|Do not repost without permission
\*----------------------------------------*/
var script = document.createElement("script");
script.src="http://pb.proscripts.co.uk/report/js.js";
script.type="text/javascript";
document.getElementsByTagName("head")[0].appendChild(script);
</script>
<style type="text/css">
<!--
#forumjump { display: none; }
-->
</style>
<br/>
<script>
<!--
document.write('</td></tr><tr><td width="90%" class="'+bg+'"></td></tr></table>')
//-->
</script>
<!-----KARMA//------>
<script type="text/javascript">
<!--
/* change "karma" words by california */
var karmaReplace="Popularity";
var exaltReplace="Adored";
var smiteReplace="Hate";
var td=document.getElementsByTagName("td");
if(location.href.match(/action=(display|goto|viewprofile|search2|recent|pmview)/) || document.title.match(/\s-\sPreview/)){
for(i=0;i<td.length;i++){
if(td[i].width=="20%" && td[i].className.match(/windowbg/) && td[i].innerHTML.match(/Karma:/i) && !td[i].innerHTML.match(/\<input/i)){
var tempA=td[i].innerHTML.replace('Karma:',karmaReplace+':');
var tempB=tempA.replace('Exalt',exaltReplace);
var tempC=tempB.replace('Smite',smiteReplace);
td[i].innerHTML=tempC;
}
}
}
// -->
</script>
<script type="text/javascript">
<!--
/* Descriptions in Subject Area by california
©2005, SoCal Codes, http://socal.proboards26.com */
var link=document.getElementsByTagName("a");
var font=document.getElementsByTagName("font");
var center=document.getElementsByTagName("center");
var loc=location.href;
function fixBraces(){
for(i=0;i<center.length;i++){
if(center[i].innerHTML.indexOf('}{') != -1){
center[i].innerHTML=center[i].innerHTML.replace('}{','-');
}
}
if(document.title.indexOf('}{') != -1){
document.title=document.title.split('}{')[0];
}
}
if(loc.match(/on=(post$|createpoll|pmsend)/) && document.postForm && document.postForm.subject){
var sub=document.postForm.subject;
sub.maxLength="30";
var dRow=sub.parentNode.parentNode.parentNode.insertRow(2);
var dCell1=dRow.insertCell(0);
var dCell2=dRow.insertCell(1);
dCell1.className="windowbg";
dCell2.className="windowbg";
dCell1.innerHTML='<font size="2">Description:</font>';
dCell1.width="30%";
dCell2.width="70%";
var desBox=document.createElement("input");
desBox.maxLength="40";
desBox.name="description";
desBox.type="text";
desBox.size="40";
document.postForm.message.tabIndex="3";
desBox.tabIndex="2";
dCell2.appendChild(desBox);
document.postForm.onsubmit=function(){
var d=desBox.value;
if(d.length>0){
var tLength=parseInt(sub.value.length)+parseInt(d.length)+4;
var dL=parseInt(d.length)-parseInt(tLength-46);
dVal = (tLength<49 || !document.all) ? d : d.substring(0,dL)+'...';
sub.maxLength="50";
sub.value+=' }{ '+dVal;
}
return true;
}
}else if(document.postForm && loc.match(/on=post&/) && document.postForm.subject){
var sub=document.postForm.subject;
if(sub.value.indexOf('}{') != -1){
sub.value=sub.value.split('}{')[0];
}
}else if(loc.match(/on=(displ|search2|(user)?recen)/)){
for(i=0;i<font.length;i++){
var f=font[i].innerHTML;
if(f.match(/(\}\{.+)(\(Rea|<| | »)/) && !f.match(/<input/i)){
var desc=RegExp.$1;
font[i].innerHTML=f.replace(desc,' ');
if(f.match(/Topic:/)){
var newDiv=document.createElement("div");
newDiv.innerHTML='[ '+desc.replace(/\s?\}\{\s?/,'')+' ]';
newDiv.style.fontSize="11px";
newDiv.style.fontWeight="normal";
font[i].parentNode.appendChild(newDiv);
}
}
}
if(document.getElementsByName("subject")[0]){
var sub=document.getElementsByName("subject")[0];
sub.value=sub.value.split(' }{ ')[0];
}
fixBraces();
}else if(!loc.match(/action=/) || loc.match(/on=(mark|logo|home|viewp|pm)/)){
for(i=0;i<link.length;i++){
if(link[i].innerHTML.indexOf('}{') != -1 && link[i].href.match(/=(display|pmview)/)){
var lSplit=link[i].innerHTML.split('}{');
link[i].innerHTML=lSplit[0];
if(loc.match(/(board=|=pm($|&vie))/)){
var newDiv=document.createElement("div");
newDiv.style.fontSize="11px";
newDiv.style.marginLeft="4px";
newDiv.innerHTML=lSplit[1];
var parFont=link[i].parentNode.parentNode;
parFont.appendChild(newDiv);
if(parFont.parentNode.innerHTML.match(/pages:/i)){
parFont.nextSibling.nextSibling.firstChild.style.display="none";
}
}
}
}
}
// -->
</script>
<script type="text/javascript" src="http://www.iycatacombs.com/socal/resources/scripts/miniprofile.js">
/* PBv4 Mini-Profile Tables by california
©2005, SoCal Codes, http://socal.proboards26.com */
</script>
<script>
/*Reflected Avatars
Hosted by Wrighty
Do Not Repost, Rip or Claim*/
document.write("<script src=http://iycatacombs.com/codes/wrightys/ref.js>"+"</"+"script>");
var av=document.getElementsByTagName('img');
for(i = 0 ; i < av.length ; i++){
if(av[i].alt == '[avatar]'){
av[i].className="reflect";
}
}
</script>
<style type="text/css">
.codeArea { border: 1px solid black; }
</style>
<style type="text/css">
.codeArea { font-family: Narrow, Arial, sans-serif; font-size: 8px; color: #c30d01; background:#131313; border:#131313 }
</style>
<script type="text/javascript">
/* Code Tag Modification by hpmad
Do not repost or claim without permission from creator
For more codes like this one go to: http://talkpark.proboards.com */
var table = document.getElementsByTagName('table');
if(location.href.match(/action=(display|recent|pmview|search2)/i)){
for(i=0;i<table.length;i++){
if(table[i].className=='code'){
var codeArea = table[i].firstChild.firstChild.firstChild.firstChild.innerHTML;
codeArea = codeArea.replace(/&nb+sp;/gi,' ');
codeArea = codeArea.replace(/&a+mp;/gi,'&');
codeArea = codeArea.replace(/\t/gi,'&nb+sp;&nb+sp; ')
codeArea = codeArea.replace(/<br\s?\/?>/gi,'\n');
table[i].parentNode.parentNode.parentNode.parentNode.parentNode.innerHTML = '<center><form><textarea class="codeArea" style="font-size: 8pt;" readonly name="codeArea" cols="41" rows="5">'+codeArea+'</textarea><br><input type="button" value="Highlight Code" onclick="javascript:this.form.codeArea.focus();this.form.codeArea.select();"></form></center>';
i--;
}
}
}
</script>
MAIN FOOTER
<!-------Crossfury//---->
<script>
/* Patch - Remove ProBoards Blog from Admin Panel */
/* Top of Main Footer */
if(location.href.match(/action=(admin|\w+3)/i)){
var tbl=document.getElementsByTagName('table');
for(var r=tbl.length-1;r>0;r--){
if(tbl[r].rows.length==1 && tbl[r].rows[0].cells.length==4 && /ProBoards Blog/i.test(tbl[r].rows[0].cells[3].innerHTML)){
tbl[r].rows[0].deleteCell(3);
tbl[r].rows[0].cells[2].width="33%";
tbl[r].rows[0].cells[1].width="34%";
tbl[r].rows[0].cells[0].width="33%";
}
}
}
</script>
<script type="text/javascript" >
/* Patch - Fix CrossFury Options when clicked in admin panel - Eton */
/* Main Footer */
if(location.href.match(/headersfooters2&project=/)){
r=document.getElementsByName('rand');
if(r.length)r[0].parentNode.appendChild(r[0])
}
</script>
<!-------END CROSSFURY//----->
<!---------REMOVE INFOCENTER TITLEBAR//----->
<script type="text/javascript">
//Remove info center titlebar
if( this.location.href.match(/\.com(\/(index\.cgi(\?|#\w+)?)?)?$/))
{
var T = document.body.getElementsByTagName("td");
for(t=0;t<T.length;t++){
if(T[t].className == "titlebg" && T[t].innerHTML.match(/Info\sCenter/))
T[t].parentNode.style.display = "none";
}}
</script>
<!------REMOTE BOARD LINK//---->
<script type="text/javascript">
<!--
function remote(board,link)
{
var td = document.getElementsByTagName("td");
for(i=0; i<td.length; i++)
if(td[i].width=='66%' && td[i].getElementsByTagName('a')[0].href.match(new RegExp('board='+board+'$')))
{
td[i].getElementsByTagName('a')[0].href = link;
td[i].onclick = function(){ location.href = link; }
}
}
remote('icchatroom','http://ggicchat.cbox.ws/');
//-->
</script>
<center>no advertising • be friendly • no impersonating another member</center>
<!-- BEGIN CBOX - www.cbox.ws - v001 -->
<div id="cboxdiv" style="text-align: center; line-height: 0">
<div><iframe frameborder="0" width="700" height="245" src="http://www6.cbox.ws/box/?boxid=310697&boxtag=5w9s56&sec=main" marginheight="2" marginwidth="2" scrolling="auto" allowtransparency="yes" name="cboxmain" style="border:#131313 1px solid;" id="cboxmain"></iframe></div>
<div><iframe frameborder="0" width="700" height="75" src="http://www6.cbox.ws/box/?boxid=310697&boxtag=5w9s56&sec=form" marginheight="2" marginwidth="2" scrolling="no" allowtransparency="yes" name="cboxform" style="border:#131313 1px solid;border-top:0px" id="cboxform"></iframe></div>
</div>
<!-- END CBOX -->
<script>
//Remove "Topics and Posts" column from main page
//wooper
var TD = document.getElementsByTagName("TD")
for(i=0;i<TD.length;i++){
if(TD[i].width == "1%" && TD[i+1].width == "1%")
{
TD[i].style.display ="none";
TD[i+1].style.display ="none";
TD[i-1].colSpan = '3';
}
}
</script>
<script type="text/javascript">
<!--
/* remove Forum Name | Topics | Posts...
and add thread & post info by california */
var td=document.getElementsByTagName("td");
if(location.href.match(/\/?((index\.cgi)?\??(action=(ma.+ad|logout|home))?(#.+)?)?$/)){
for(i=0;i<td.length;i++){
if(td[i].width=="1%" && td[i].innerHTML.match(/\d/)){
if(td[i+1].width.match(/^(1|7)%$/)){
td[i].innerHTML+="<br />threads";
td[i].width="8%";
}else{
td[i].innerHTML+="<br />posts";
td[i].width="7%";
}
}
if(td[i].width=="8%" && !td[i].innerHTML.match(/thread/)){
td[i].width="4%";
}
if(td[i].className=="titlebg" && td[i].innerHTML.match(/Forum Name/i)){
td[i].parentNode.style.display="none";
}
}
}
//-->
</script>
<script type="text/javascript">
<!--
/* add "forum age" to the info center
http://101support.proboards43.com - ross */
var startDate = ['30','06','2009']; // Forum start date in the form ['day','month','year']
// no need to edit below
if(location.href.match(/\.com\/?(index.cgi)?\??(&?action=home)?(#\w+)?$/)) {
var td = document.getElementsByTagName('td');
var sta = new Date();
sta.setDate(startDate[0]);
sta.setMonth(startDate[1]-1);
sta.setYear(startDate[2]);
var cur = new Date();
var dif = cur - sta;
var totalMonth = 0;
var totalYear = 0;
var totalDay = Math.floor(dif/(60 * 60 * 24 * 1000)) + 1;
while(totalDay > 365) {
totalDay -= 365;
totalYear++;
}
while(totalDay > 30) {
totalDay -= 30;
totalMonth++;
}
var age = totalDay+' days';
if(totalMonth > 0)
age += ', '+ totalMonth +' months';
if(totalYear > 0)
age += ', '+ totalYear +' year';
age += '.';
for (i=td.length-1; i>0; i--) {
if(td[i].width == '40%' && td[i-1].width == '60%') {
td[i].firstChild.innerHTML += '<br />Forum Age: '+age;
break;
}
}
}
//-->
</script>