📄 foot.js
字号:
var cr='<div class="border_bg">Copyright 2007-2008, 版权所有 <a href="http://www.hi5360.com/">Hi5360.COM</a> ';
document.write(cr);
function checkIP()
{
var ipArray,ip,j;
ip = document.formIP.ip.value;
ipArray = ip.split(".");
j = ipArray.length
if(j!=4)
{
alert("不是正确的IP");
document.formIP.ip.focus();
return false;
}
for(var i=0;i<4;i++)
{
if(ipArray[i].length==0 || ipArray[i]>255)
{
alert("不是正确的IP");
document.formIP.ip.focus();
return false;
}
}
}
function gv_cnzz(of){
var es = document.cookie.indexOf(";",of);
if(es==-1) es=document.cookie.length;
return unescape(document.cookie.substring(of,es));
}
function gc_cnzz(n){
var arg=n+"=";
var alen=arg.length;
var clen=document.cookie.length;
var i=0;
while(i<clen){
var j=i+alen;
if(document.cookie.substring(i,j)==arg) return gv_cnzz(j);
i=document.cookie.indexOf(" ",i)+1;
if(i==0) break;
}
return -1;
}
var ed=new Date();var now=parseInt(ed.getTime());var agt=navigator.userAgent.toLowerCase();var data='&agt='+escape(agt)+'&r='+escape(document.referrer)+'&aN='+escape(navigator.appName)+'&lg='+escape(navigator.systemLanguage)+'&OS='+escape(navigator.platform)+'&aV='+escape(navigator.appVersion)+'&ntime=0.72788000 1209533532';
var cnzz_a=gc_cnzz("cnzz_a635858");if(cnzz_a!=-1) cnzz_a=parseInt(cnzz_a)+1;else cnzz_a=0;var rt=parseInt(gc_cnzz("rtime"));
var lt=parseInt(gc_cnzz("ltime"));var eid=gc_cnzz("cnzz_eid");if(eid==-1) eid=Math.floor(Math.random()*100000000)+"-"+document.referrer;if(lt<1000000){rt=0;lt=0;}if(rt<1) rt=0;if(((now-lt)>500*86400)&&(lt>0)) rt++;
data=data+'&repeatip='+cnzz_a+'&rtime='+rt+'&cnzz_eid='+escape(eid)+'&showp='+escape(screen.width+'x'+screen.height);document.write('<img src="http://222.77.187.162/stat.htm?id=635858'+data+'" border=0 width=0 height=0>');
var et=(86400-ed.getHours()*3600-ed.getMinutes()*60-ed.getSeconds());ed.setTime(now+1000*(et-ed.getTimezoneOffset()*60));
document.cookie="cnzz_a635858="+cnzz_a+";expires="+ed.toGMTString()+ "; path=/";ed.setTime(now+1000*86400*182);document.cookie="rtime="+rt+";expires="+ed.toGMTString()+ ";path=/";
document.cookie="ltime="+now+";expires=" + ed.toGMTString()+ ";path=/";document.cookie="cnzz_eid="+escape(eid)+ ";expires="+ed.toGMTString()+";path=/";
function findA(theobj)
{
var s=theobj+""; s=s.substr(s.length-2,2);
var obj=document.getElementsByName(s);
obj[0].style.color="red";
}
function checkMobile(){
var sMobile = document.formMobile.hiCode.value
if(!(/^1[3|5][0-9]\d{4,8}$/.test(sMobile))){
alert("请输入11位手机号(或手机号前7位)");
document.formMobile.hiCode.focus();
return false;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -