JS在在線人數(shù)和訪問人數(shù)
作者:蜂巢建站 時間:2017-04-04 22:29:06 點擊:32000
var date=new Date();
var expiresDays=10;
var count=1500+parseInt(date.getTime()/1000)-parseInt(date.getTime()/1000000)*1000;
visits = count + Math.round(Math.random());
zong = 1716920;
zong += count + Math.round(Math.random());
document.write("今天訪問人數(shù):" + visits + " 總訪問人數(shù):" + zong);