JS在在線人數(shù)和訪問(wèn)人數(shù)
作者:蜂巢建站 時(shí)間:2017-04-04 22:29:06 點(diǎn)擊:31994
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("今天訪問(wèn)人數(shù):" + visits + " 總訪問(wèn)人數(shù):" + zong);