如何在统计中加上昨日访问量的输出统计?(2)_动易Cms教程
CacheIsEmpty = True
CacheData = Application(MyCacheName)
If Not IsArray(CacheData) Then Exit Function
If Not IsDate(CacheData(1)) Then Exit Function
If DateDiff("s", CDate(CacheData(1)), Now()) < 8640 Then
CacheIsEmpty = False
End If
End Function
'--------输出昨日访问量代码完毕
Call CloseConn_counter()
style=lcase(trim(Request("style")))
select case style
case "simple"
ShowInfo="总访问量:" & AllNum & "人次
"
If FoundInArr(RegCount_Fill, "IsCountOnline", ",") = True Then
ShowInfo=ShowInfo&"当前在线:" & OnlineNum & "人"
End If
case "all"
ShowInfo=ShowInfo&"总访问量:" & AllNum & "人次
"
ShowInfo=ShowInfo&"总浏览量:" & TotalView & "人次
"
' ShowInfo=ShowInfo&"统计天数:" & StatDayNum & "天
"
ShowInfo=ShowInfo&"昨日访问:" & nYesterDayNum & "人
"
ShowInfo=ShowInfo&"今日访问:" & DayNum & "人次
"
ShowInfo=ShowInfo&"日均访问:" & AveDayNum & "人次
"
If FoundInArr(RegCount_Fill, "IsCountOnline", ",") = True Then
ShowInfo=ShowInfo&"当前在线:" & OnlineNum & "人"
End If
case "common"
ShowInfo="总访问量:" & AllNum & "人次
"
ShowInfo=ShowInfo&"总浏览量:" & TotalView & "人次
"
If FoundInArr(RegCount_Fill, "IsCountOnline", ",") = True Then
ShowInfo=ShowInfo&"当前在线:" & OnlineNum & "人"
End If
end select
if style<>"none" then
Response.Write "document.write(" & chr(34) & ShowInfo & chr(34) & ")"
end if
- MAC错误的解决方法
- 如何屏蔽动易后台导航里的某个功能菜单?
- 动易.NET版本留言自动选定栏目方法
- 动易SiteFactoty整合Discuz!NT3.0
- 在任意位置获取根节点ID标签
- 如何开启SiteWeaver6.8的支持,反对功能
- Windows 2008安装动易.NET系统之四----动易系统安装篇
- Windows 2008安装动易.NET系统之三----数据库篇
- Windows 2008安装动易.NET系统之二----IIS、目录环境配置篇
- 数据库修复,SQL Server 2005内部操作不一致的处理
- 如何安装动易.net程序权限配置
- 为什么提示对Windows系统文件夹下的Temp目录没有访问权限?
- 相关链接:
- 教程说明:
动易Cms教程-如何在统计中加上昨日访问量的输出统计?(2)。