如何修改前台调用的统计显示的内容?-动易CMS教程
问题:前台调用的统计显示的内容的显示格式与内容我想改一下,应该如何操作?
解答:根据您的需要修改网站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
评论加载中....
- 昵称: 验证:







