<!--#include file="../conn2.asp"-->
<!--#include file="set.asp"-->
<% menu=request.querystring("menu")
select case menu
case "up"
alluser=conn.execute("Select count(userid) from  shop_user ")(0)
alltopic=conn.execute("Select count(id) from  book where type=0 ")(0)
allreply=conn.execute("Select count(id) from  book where type<>0 ")(0)
conn.execute("update [info] set alluser="&alluser&",alltopic="&alltopic&",allreply="&allreply&" ")
response.write"<script language='javascript'>alert('操作成功！')</script>"
response.write "<script language='javascript'>history.back(-1)</script>"
case""
%><head>
<LINK href="css.css" type=text/css rel=stylesheet>
<style type="text/css">
<!--
.style1 {color: #000000}
-->
</style>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /></head>

<div align="center"> <center>
 <form method="post" action="?menu=up"> <br>
<table width="90%" border="0" align="center" cellpadding="2" cellspacing="1" bordercolordark="#FFFFFF" bgcolor="#CCCCCC">
  <tr bgcolor="#FFFFFF" class=a1> 
    <td height="25" align="center" bgcolor="f1f1f1" class="style1">更新论坛资料</td>
  </tr>
  <tr bgcolor="#FFFFFF"> 
    <td width="100%" height="25"> 
      <p align="center">此操作将更新论坛资料，修复论坛统计的信息 
    建议每隔一段时间更新一次</td>
  </tr>
  <tr bgcolor="#FFFFFF"> 
    <td height="25"> <p align="center"> 
        <input name="send" type="submit" class="go-wenbenkuang" value="更 新" >
    </p></td>
  </tr>
</table>
<%end select%>
