<!--#include file="../here99login/0.asp"-->
<!--#include file="../conn/zkconn.asp"-->
<%
'自动更新商户
conn.execute("Update user_name set zt=2 where datediff(d,sj2,getdate())>rq")
'显示登陆信息
conn.execute("Delete ip where datediff(d,sj,getdate())>90")
Set rs= Server.CreateObject("ADODB.Recordset")
sql="select * from ip  order by id DESC"
rs.open sql,conn,1,1
%>
<html>
<link href="../css/css.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
.style1 {font-size: 12px}
.style2 {color: #FF0000}
.style3 {font-size: 12px; color: #FF0000; }
-->
</style>
<body>
<table width="100%" height="100%" align="center" cellpadding="0" cellspacing="0">
  <tr> 
    <td align="center" valign="top"> <p><br>
        <img src="../image/ip.gif" width="450" height="100"> </p>
      <p>&nbsp; </p>
      <table width="450" align="center" cellpadding="0" cellspacing="0">
        <tr> 
          <td valign="top">您的登陆名称<%= rs("name") %>，IP地址<%= rs("ip") %>，所用浏览器<%= rs("win") %>，登陆时间<%= rs("sj") %>。</td>
        </tr>
        <tr>
          <td valign="top">
<p>&nbsp;</p>
            <p>
              <%set rs3 = conn.execute("select top 1 * from jishu order by id desc")
	  todaycount=rs3("counts")
	  personcount=rs3("persontime")
	 rs3.close
	 set rs2 = conn.execute("select sum(counts) as tota,sum(persontime) as persont from jishu")
	  totalc=rs2("tota")
	  persont=rs2("persont")
	  rs2.close
	 set rs2=nothing 
	  %>
              
            </p>
            <table width="80%" border="0" cellspacing="0" cellpadding="0" align="center">
              <tr> 
                <td width="45%" > 今日流量 <font color="#FF3333"><%=todaycount%></font></td>
                <td width="55%" >今日人次 <font color="#FF3333"><%=personcount%></font></td>
              </tr>
              <tr> 
                <td width="45%" >总游览量 <font color="#FF3333"><%=totalc%></font></td>
                <td width="55%" >总计人次 <font color="#FF3333"><%=persont%></font></td>
              </tr>
            </table></td>
        </tr>
      </table>
      
      <table width="361" height="25" border="0" cellpadding="0" cellspacing="0">
        <tr>
          <td width="166"><span class="style1">联系聚富商城QQ：<span class="style2">234252308</span></span></td>
          <td width="195"><span class="style3">zhu-137@126.com</span></td>
        </tr>
      </table></td>
  </tr>
</table>
</body></html><% rs.close
set rs=nothing
conn.close
set conn=nothing
%>