如何修改前台调用的统计显示的内容?_动易Cms教程

编辑Tag赚U币
教程Tag:暂无Tag,欢迎添加,赚取U币!


问题:前台调用的统计显示的内容的显示格式与内容我想改一下,应该如何操作?

解答:根据您的需要修改网站Coun目录中Counter.asp中的代码。如:
case "simple"
ShowInfo="总访问量:" & AllNum & "人次<br>"
If FoundInArr(RegCount_Fill, "IsCountOnline", ",") = True Then
ShowInfo=ShowInfo&"当前在线:" & OnlineNum & "人"
End If
case "all"
ShowInfo=ShowInfo&"总访问量:" & AllNum & "人次<br>"
ShowInfo=ShowInfo&"总浏览量:" & TotalView & "人次<br>"
' ShowInfo=ShowInfo&"统计天数:" & StatDayNum & "天<br>"
ShowInfo=ShowInfo&"今日访问:" & DayNum & "人次<br>"
ShowInfo=ShowInfo&"日均访问:" & AveDayNum & "人次<br>"
If FoundInArr(RegCount_Fill, "IsCountOnline", ",") = True Then
ShowInfo=ShowInfo&"当前在线:" & OnlineNum & "人"
End If
case "common"
ShowInfo="总访问量:" & AllNum & "人次<br>"
ShowInfo=ShowInfo&"总浏览量:" & TotalView & "人次<br>"
If FoundInArr(RegCount_Fill, "IsCountOnline", ",") = True Then
ShowInfo=ShowInfo&"当前在线:" & OnlineNum & "人"
End If

查看更多 动易Cms教程  动易Cms模板

来源:模板无忧//所属分类:动易Cms教程/更新时间:2005-04-06
相关动易Cms教程