脚本说明: 把如下代码加入区域中 复system代码 代码如下: <!-- <BR>함수 getCookieVal(offset) <BR>{var endstr=document.cookie.indexOf(";",offset);if(endstr ==-1) <BR>endstr=document.cookie.length;return unescape(document.cookie.substring(offset,endstr));}function GetCookie(name) <BR>{var arg=name "=";var alen=arg.length;var clen=document.cookie.length;var i=0;while(i<clen) <BR>{var j=i alen;if(document.cookie.substring(i,j)== arg) <BR>return getCookieVal(j);i=document.cookie.indexOf(" ",i) 1;if(i==0) <BR>break; <BR>}null 반환;}함수 SetCookie(이름,값) <BR>{var argv=SetCookie.arguments;var argc=SetCookie.arguments.length;var 만료=(2<argc)?argv[2]:null ;var path=(3<argc)?argv[3]:null;var domain=(4<argc)?argv[4]:null;var secure=(5<argc)?argv[5]:false;document .cookie=name "=" escape(value) ((expires==null)?"":(";expires="expires.toGMTString())) ((path==null)?"":("; 경로 =" 경로)) ((domain==null)?"":("; domain=" domain)) ((secure==true)?"; secure":"");}function ResetCounts(name) <BR>{visits=0;SetCookie("visits",visits,expdate,"/",null,false);location.reload();} <BR>//--> <br> <!-- <BR>var expdate=new Date(); <BR>var Visits;//以下设置COOKIES时间为1年,自己随便设置该时间.. <BR>expdate.setTime(expdate.getTime() (24*60*60*1000*365)); <BR>if(!(visits=GetCookie("visits"))) <BR>visits=0;visits ;SetCookie("visits",visits,expdate,"/",null,false);//以下信息显示可以使用标准的HTML语법,自己随便设置。 <BR>document.write("你已经光临本页" "<FONT COLOR=red>" 방문 "</FONT>" "次!");if( Visits==1)//다음 1회 방문 <br>document.write("<br>" "欢迎光临本站,觉得本站内容如何?");if(visits==2)//来访2次息显示,以下类推,自己随便增加。 <br>document.write("<br>" "再次光临不胜容幸!今后要常来啊!订阅本站邮件列表。"); if(visits==3) <br>document.write("<br>" "常客, 在本站的论坛发个帖子如何?");if(visits==4) <br>document.write( "<br>" "你这个疯子!");if(visits>=5) <br>document.write("<br>" "疯狂的家伙!我真的不常喜欢你。"); <br>//--> <br>