Post by jax on Aug 25, 2007 6:32:49 GMT -5
I have taken out code by code one at a time, and placed them back in, to check what code made my shop unavaible to view, and I finally found which one it was.
the warning meter.
<script>
//Warning Meter v2.0
//Now with auto expiration
//Copyright 10-04-2005 by ~Wonder
//May be reposted anywhere as long as this header remains in tact. Make sure you include instructions.
//Put at TOP of Global Header
//Edit these 3 variables to suit your color and height needs
meterBGColor="#CC0000";
meterBorderColor="#000000";
meterHeight=7;
//If you want to user a gradient instead of a solid background color, enter the URL here
meterGradientURL="";
function getDate()
{
months=new Array("jan","feb","mar","apr","may","jun","jul","aug","sep","oct","nov","dec");te=0;
curDate=document.getElementsByTagName("table")[0].innerHTML.match(/\.<br>.+ (\d{1,2}\:\d{2}(a|pm)?)/i)[0];
time=RegExp.$1;
curDate=curDate.toLowerCase().replace(/\.<br>/i,"").replace(time,"").replace(/ at /i,"").replace(/,/g,"").replace(/\.|\-|\//g," ").split(" ");
time=time.split(":");
if(time[1].match(/am/) && time[0].match(/12/)){time[0]=parseInt(time[0],10)-12;}
if(time[1].match(/pm/) && !time[0].match(/12/)){time[0]=parseInt(time[0],10)+12;}time[1]=time[1].replace(/[^\d]/g,"");
for(k=0;k<12;k++){if(curDate[0].match(months[k]) || curDate[1].match(months[k])){break;}}
if((t=curDate[0].match(months[k]))!=null && t!=""){curDate[0]=(k+1)+"";te=1;}else if((t=curDate[1].match(months[k]))!=null && t!=""){curDate[1]=(k+1)+"";temp2=curDate[1];curDate[1]=curDate[0];curDate[0]=temp2;te=1;}
curDate[0]=curDate[0].replace(/[^\d]/g,"");curDate[1]=curDate[1].replace(/[^\d]/g,"");
if(parseInt(curDate[0],10)>12){temp2=curDate[1];curDate[1]=curDate[0];curDate[0]=temp2;}
if(parseInt(curDate[1],10)<13 && te==0){now = new Date();if(parseInt(curDate[1],10)==(now.getMonth()+1)){temp2=curDate[1];curDate[1]=curDate[0];curDate[0]=temp2;}}
if(curDate[2].length<=2){curDate[2]=parseInt(curDate[2],10)+2000;}
return new Date(parseInt(curDate[2],10),parseInt(curDate[0],10)-1,parseInt(curDate[1],10),parseInt(time[0],10),parseInt(time[1],10));
}
mainDate=getDate();
</script>
<style>
body
{
scrollbar-arrow-color: 957F02;
scrollbar-track-color: 515151;
scrollbar-3dlight-color: 515151;
scrollbar-highlight-color: 515151;
scrollbar-face-color: 282828;
scrollbar-darkshadow-color:515151;
scrollbar-shadow-color:515151;
}
</style>
<script type="text/javascript">
<!--
var c = document.getElementsByTagName("td");
c[2].align = "center";
c[2].bgColor = c[1].bgColor;
var nc = document.getElementsByTagName('table')[1].insertRow(1).insertCell(0)
nc.appendChild(c[2]);
nc.align = "center";
//-->
</script>
the warning meter.
<script>
//Warning Meter v2.0
//Now with auto expiration
//Copyright 10-04-2005 by ~Wonder
//May be reposted anywhere as long as this header remains in tact. Make sure you include instructions.
//Put at TOP of Global Header
//Edit these 3 variables to suit your color and height needs
meterBGColor="#CC0000";
meterBorderColor="#000000";
meterHeight=7;
//If you want to user a gradient instead of a solid background color, enter the URL here
meterGradientURL="";
function getDate()
{
months=new Array("jan","feb","mar","apr","may","jun","jul","aug","sep","oct","nov","dec");te=0;
curDate=document.getElementsByTagName("table")[0].innerHTML.match(/\.<br>.+ (\d{1,2}\:\d{2}(a|pm)?)/i)[0];
time=RegExp.$1;
curDate=curDate.toLowerCase().replace(/\.<br>/i,"").replace(time,"").replace(/ at /i,"").replace(/,/g,"").replace(/\.|\-|\//g," ").split(" ");
time=time.split(":");
if(time[1].match(/am/) && time[0].match(/12/)){time[0]=parseInt(time[0],10)-12;}
if(time[1].match(/pm/) && !time[0].match(/12/)){time[0]=parseInt(time[0],10)+12;}time[1]=time[1].replace(/[^\d]/g,"");
for(k=0;k<12;k++){if(curDate[0].match(months[k]) || curDate[1].match(months[k])){break;}}
if((t=curDate[0].match(months[k]))!=null && t!=""){curDate[0]=(k+1)+"";te=1;}else if((t=curDate[1].match(months[k]))!=null && t!=""){curDate[1]=(k+1)+"";temp2=curDate[1];curDate[1]=curDate[0];curDate[0]=temp2;te=1;}
curDate[0]=curDate[0].replace(/[^\d]/g,"");curDate[1]=curDate[1].replace(/[^\d]/g,"");
if(parseInt(curDate[0],10)>12){temp2=curDate[1];curDate[1]=curDate[0];curDate[0]=temp2;}
if(parseInt(curDate[1],10)<13 && te==0){now = new Date();if(parseInt(curDate[1],10)==(now.getMonth()+1)){temp2=curDate[1];curDate[1]=curDate[0];curDate[0]=temp2;}}
if(curDate[2].length<=2){curDate[2]=parseInt(curDate[2],10)+2000;}
return new Date(parseInt(curDate[2],10),parseInt(curDate[0],10)-1,parseInt(curDate[1],10),parseInt(time[0],10),parseInt(time[1],10));
}
mainDate=getDate();
</script>
<style>
body
{
scrollbar-arrow-color: 957F02;
scrollbar-track-color: 515151;
scrollbar-3dlight-color: 515151;
scrollbar-highlight-color: 515151;
scrollbar-face-color: 282828;
scrollbar-darkshadow-color:515151;
scrollbar-shadow-color:515151;
}
</style>
<script type="text/javascript">
<!--
var c = document.getElementsByTagName("td");
c[2].align = "center";
c[2].bgColor = c[1].bgColor;
var nc = document.getElementsByTagName('table')[1].insertRow(1).insertCell(0)
nc.appendChild(c[2]);
nc.align = "center";
//-->
</script>