⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 fmozilla.asp

📁 购物系统(本版为正式商业版
💻 ASP
字号:
<%if session("admin")="" then
response.Write "<script language='javascript'>alert('网络超时或您还没有登陆!');window.location.href='login.asp';</script>"
response.End
else
if session("flag")>1 then
response.Write "<div align=center><font size=80 color=red><b>您没有此项目管理权限!</b></font></div>"
response.End
end if
end if
%><!-- #Include File=Conn.asp -->
<%
Response.Expires=0
Dim Percent(),BarWidth()
Dim Conn,Sql,Rs
Dim TotalNum,Assay,MaxWidth,Rows,i,Exfor

Exfor=0
MaxWidth=200
TotalNum=0
Sql="Select * From FMozilla Order By TMozNum DESC"

Rs.Open Sql,Conn,1,1
If Not Rs.Bof And Not Rs.Eof Then
   Assay=Rs.GetRows
   Rows=Ubound(Assay,2)
Else
   Rows=-1
End If
Rs.Close
Conn.Close
Set Rs=Nothing
Set Conn=Nothing
For i=0 to Rows
	TotalNum=TotalNum+Assay(1,i)
Next
ReDim Percent(Rows)
ReDim BarWidth(Rows)
For i=0 to Rows
    If TotalNum>0 Then
	   Percent(i)=FormatNumber(Int(Assay(1,i)/TotalNum*10000)/100,2,-1)&"%"
       BarWidth(i)=Assay(1,i)/TotalNum*MaxWidth
	End If
Next
%>
<HTML>
<HEAD>
<TITLE>网站统计分析系统</TITLE>
<META content="text/html; charset=gb2312" http-equiv=Content-Type>
<link rel="stylesheet" href="Info/Style.css">
</HEAD>
<BODY bgColor=#FFFFFF>
<CENTER>
<!-- #Include File=Header.asp-->
<table width="90%" border="0" align="center" cellpadding="3" cellspacing="1" bgcolor="#9DB2D4">
    <tbody>
      <tr bgcolor="#C7D3E6">
        <td colspan=4 align="center">
          <div align="right"><font color="#FFFFFF">访 问 者 HTTP_USER_AGENT 字 符 串 分 析 (总量:<%=TotalNum%>)</font> <font color="#FFFFFF"></font> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="FBrowser.asp"><font color="#FFFFFF">[浏览器分析]</font></a> </div></td>
      </tr>
      <tr bgcolor="#F0F3F8">
        <td height="22" align=left bgcolor="#F0F3F8">USER_AGENT</td>
        <td align=left>访问人数</td>
        <td align=left>百分比</td>
        <td align=left>图示</td>
      </tr>
      <%for i=0 to Rows
		  Exfor=Exfor+1%>
      <tr bgcolor="#F0F3F8">
        <td width="35%" align=left><%=Assay(0,i)%></td>
        <td width="15%" align=left><%=Assay(1,i)%></td>
        <td width="15%" align=left><%=Percent(i)%></td>
        <td width="35%" align=left><img src="Image/bar.gif" width="<%=Barwidth(i)%> "height="12"></td>
      </tr>
      <%If Exfor>=30 Then Exit For
		  Next%>
    </tbody>
  </table>
  <!-- #Include File=End.asp-->
</CENTER>
</BODY>
</HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -