<%if session("loc")=0 then response.redirect "admin.asp"%>
<html>
<head>
<meta http-equiv="Content-Language" content="en-us">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>NHHN.NET</title>
<style>
<!--
td           { font-size: 9pt }
     A:link {text-decoration: none; color:#000000}
     A:visited {text-decoration: none; color: #000000}
     A:active {text-decoration: none; color: #FF0000}
     A:hover {text-decoration: underline; color: FF0000}
-->
</style>
</head>

<body topmargin="10" leftmargin="0" bgcolor="#FFFFE6">

<div align="center"> <center> </div>  
  
<div align="center">  
  <table border="0" width="760" cellspacing="0" cellpadding="0" height="65%">  
    <tr>             
      <td width="359" valign="top" align="center">
      <p align="left"><strong><font color="#FF3300">网站情况报告</font></strong>
        <blockquote>
        <p align="left">信息数量：<%set com=server.createobject("adodb.connection")
com.open "DBQ="& Server.MapPath("../data.mdb")  &";Driver={Microsoft Access Driver (*.mdb)}"
set rs=com.execute("select count(id) from msg")
        response.write rs(0)%>
        <p align="left">过期信息数量：<%set rs=com.execute("select count(id) from msg where edt<#"& date &"#")
        response.write rs(0)%>

      </blockquote>
</td>             
      <td width="392" valign="top">
      <p align="center">
      <p align="center">
      <p align="center">　
      <p align="center">　
      <p align="center">　
      <p align="center">　
      <p align="center">　
      <p align="center">　
      <p align="center">　
        <p align="center"><a href="adsel.asp"><font color="#0000FF">&lt;&lt;返回</font></a> 
        <p align="center">　
    </td>              
    </tr>              
  </table>              
</div>              
              
<div align="center">              
  <center>              
  <table border="0" width="760" cellspacing="1" cellpadding="0">              
    <tr>                  
        <td height="21" align="center">
          <%rs.close
      com.close%>
        </td>                         
    </tr>                         
  </table>                         
  </center>                         
</div>                         
                         
</body>                         
                         
</html>                         
