?? updata.asp
字號:
<!--#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>
</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="norightbuttonborder2"><span class="style1">更新論壇資料</span></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="button" value=" 更 新" >
</p></td>
</tr>
</table>
<%end select%>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -