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

📄 exprace.asp

📁 使用asp
💻 ASP
字号:
<!--#include file=conn.asp-->
<html>
<head>
<title>流量统计</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" href="css/command.css" type="text/css">
<%
sqlexp="select sum(kieold) from kip where kuserid='"&session("countuserid")&"' and kmark=2 "
set rssqlexp=Server.createobject("adodb.recordset")
rssqlexp.open sqlexp,conn,1,1
newieold=rssqlexp(0)
rssqlexp.close
sqlexp2="select sum(kienow) from kip where kuserid='"&session("countuserid")&"' and kmark=2 "
rssqlexp.open sqlexp2,conn,1,1
newienow=rssqlexp(0)
rssqlexp.close
sqlexp3="select sum(knetscape) from kip where kuserid='"&session("countuserid")&"' and kmark=2 "
rssqlexp.open sqlexp3,conn,1,1
newnetscape=rssqlexp(0)
rssqlexp.close
set rssqlexp=nothing
if not (newieold=0 and newienow=0 and newnetscape=0) then
expcount=newieold+newienow+newnetscape
newieoldav=(newieold/expcount)*100
newienowav=(newienow/expcount)*100
newnetscapeav=(newnetscape/expcount)*100
end if
%>
</head>

<body bgcolor="#FFFFFF" text="#000000">
<table width="640" border="0" cellspacing="1" cellpadding="0" align="center" bgcolor="#000000">
  <tr>
    <td bgcolor="#FFFFFF">
      <table width="640" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td align="center"> 
            <!--#include file=title.htm-->
          </td>
        </tr>
        <tr>
          <td>
            <table width="624" border="0" cellspacing="0" cellpadding="0" align="center">
              <tr> 
                <td height="30"><img src="images/little.gif" width="1" height="1"></td>
              </tr>
              <tr> 
                <td> 
                  <table width="624" border="0" cellspacing="1" cellpadding="0" align="center" bgcolor="#3366cc">
                    <tr align="center" valign="bottom"> 
                      <td class="navigation" height="18" width="69" bgcolor="#FFFFFF"><font color="#000000"><a href="index.asp?countuser=<%=session("countuserid")%>" class="titlefont">综合统计</a></font></td>
                      <td width="69" class="navigation" height="18" bgcolor="#FFFFFF"><font color="#000000"><a href="hour.asp" class="titlefont">时统计</a></font></td>
                      <td width="69" class="navigation" height="18" bgcolor="#FFFFFF"><font color="#000000"><a href="day.asp" class="titlefont">日统计</a></font></td>
                      <td width="69" class="navigation" height="18" bgcolor="#FFFFFF"><a href="week.asp" class="titlefont">周统计</a></td>
                      <td width="69" class="navigation" height="18" bgcolor="#FFFFFF"><a href="monther.asp" class="titlefont">月统计</a></td>
                      <td width="69" class="navigation" height="18" bgcolor="#FFFFFF"><font color="#000000"><a href="area.asp" class="titlefont">地区</a></font></td>
                      <td width="69" class="navigation" height="18" bgcolor="#3366cc"><font color="#FFFFFF" class="titlefont">浏览器</font></td>
                      <td width="69" class="navigation" height="18" bgcolor="#FFFFFF"><a href="economy.asp" class="titlefont">操作系统</a></td>
                      <td width="69" class="navigation" height="18" bgcolor="#FFFFFF"><a href="registor.asp" class="titlefont">注册</a></td>
                    </tr>
                    <tr align="center" valign="bottom"> 
                      <td class="navigation" height="2" colspan="9" bgcolor="#3366cc"><img src="images/little.gif" width="1" height="1"></td>
                    </tr>
                  </table>
                </td>
              </tr>
              <tr> 
                <td height="18"><img src="images/little.gif" width="1" height="1"></td>
              </tr>
              <tr> 
                <td valign="top"> 
                  <table width="624" border="0" cellspacing="1" cellpadding="0" bgcolor="#3366cc">
                    <tr> 
                      <td bgcolor="#FFFFFF" valign="top"> 
                        <table width="624" border="0" cellspacing="1" cellpadding="0" bgcolor="#000000">
                          <tr align="center"> 
                            <td colspan="4" height="20" bgcolor="#3366cc"><font color="#FFFFFF" style="letter-spacing:14pt;font-size:14px">浏览器流量统计基本信息</font></td>
                          </tr>
                          <tr align="center"> 
                            <td width="80" height="20" bgcolor="#E7E7E7">&nbsp;<font color="#000000">浏览器</font></td>
                            <td height="20" bgcolor="#E7E7E7" width="100">访问量</td>
                            <td height="20" bgcolor="#E7E7E7" width="120">占百分比</td>
                            <td height="20" bgcolor="#E7E7E7" width="324">图示</td>
                          </tr>
                          <tr bgcolor="#FFFFFF"> 
                            <td height="20" align="center">IE4.0</td>
                            <td height="20" align="center"><%=newieold%></td>
                            <td height="20" align="center"><%=newieoldav%>%</td>
                            <td height="20" width="324"> 
                              <table width="324" border="0" cellspacing="0" cellpadding="0" height="12">
                                <tr> 
                                  <td width="200"> 
                                    <table width="<%=newieoldav*2%>" border="0" cellspacing="0" cellpadding="0" height="13">
                                      <tr> 
                                        <td background="images/img.GIF"><img src="images/little.gif" width="1" height="1"></td>
                                      </tr>
                                    </table>
                                  </td>
                                  <td>&nbsp;&nbsp;&nbsp;<%=FormatNumber(newieoldav,1)%>%</td>
                                </tr>
                              </table>
                            </td>
                          </tr>
                          <tr bgcolor="#FFFFFF"> 
                            <td height="20" align="center">IE5.0</td>
                            <td height="20" align="center"><%=newienow%></td>
                            <td height="20" align="center"><%=newienowav%>%</td>
                            <td height="20" width="324"> 
                              <table width="324" border="0" cellspacing="0" cellpadding="0" height="12">
                                <tr> 
                                  <td width="200"> 
                                    <table width="<%=newienowav*2%>" border="0" cellspacing="0" cellpadding="0" height="13">
                                      <tr> 
                                        <td background="images/img.GIF"><img src="images/little.gif" width="1" height="1"></td>
                                      </tr>
                                    </table>
                                  </td>
                                  <td>&nbsp;&nbsp;&nbsp;<%=FormatNumber(newienowav,1)%>%</td>
                                </tr>
                              </table>
                            </td>
                          </tr>
                          <tr bgcolor="#FFFFFF"> 
                            <td height="20" align="center">Netscape</td>
                            <td height="20" align="center"> 
                              <%=newnetscape%>
                            </td>
                            <td height="20" align="center"><%=newnetscapeav%>%</td>
                            <td height="20" width="324"> 
                              <table width="324" border="0" cellspacing="0" cellpadding="0" height="12">
                                <tr> 
                                  <td width="200"> 
                                    <table width="<%=newnetscapeav*2%>" border="0" cellspacing="0" cellpadding="0" height="13">
                                      <tr> 
                                        <td background="images/img.GIF"><img src="images/little.gif" width="1" height="1"></td>
                                      </tr>
                                    </table>
                                  </td>
                                  <td>&nbsp;&nbsp;&nbsp;<%=FormatNumber(newnetscapeav,1)%>%</td>
                                </tr>
                              </table>
                            </td>
                          </tr>
                        </table>
                      </td>
                    </tr>
                  </table>
                </td>
              </tr>
              <tr> 
                <td>&nbsp;</td>
              </tr>
              <tr>
                <td><!--#include file=copyright.htm--></td>
              </tr>
              <tr>
                <td>&nbsp;</td>
              </tr>
            </table>
          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<%
conn.close
set conn=nothing
%>
</body>
</html>

⌨️ 快捷键说明

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