JS在在线人数和访问人数
作者:蜂巢建站 时间:2017-04-04 22:29:06 点击:31982
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("今天访问人数:" + visits + " 总访问人数:" + zong);