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

来源:模板无忧 作者:雅虎 更新时间:2005-04-05 点击:


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

解答:根据您的需要修改网站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教程:
最新评论:
loading.. 评论加载中....
发表评论:不能超过250字节,请自觉遵守互联网相关政策法规.
  • 昵称: 验证:

最新动易CMS教程