?? clear_step3.asp
字號:
<%@ CODEPAGE = "936" %>
<%
'=================================
'
' 阿江酷站訪問統計系統
' Ajiang info@ajiang.net
' www.ajiang.net
'
' 版權所有·抄襲挪用必究
'
'=================================
%>
<!--#include file="inc_config.asp"-->
<%
'權限檢查
if session.Contents("master") <> true then Response.Redirect "help.asp?error=你不是管理員,無權進入本頁面。"
offtime =request("offtime")
force =Request("force")
set conn=server.createobject("adodb.connection")
DBPath = Server.MapPath(connpath)
conn.Open "driver={Microsoft Access Driver (*.mdb)};dbq=" & DBPath
if force="1" then
conn.execute("delete * from view where vtime<datevalue('" & offtime & "')")
else
conn.Execute("delete * from view where vtime<datevalue('" & offtime & "') and bakdays=1 and bakstats=1 and bakpage=1")
end if
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta http-equiv="Content-Language" content="zh-cn">
<meta http-equiv="Copyright" content="Ajiang http://www.ajiang.net">
<title><%=countname%>-數據清理-第三步-清理</title>
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body topmargin=5 rightmargin=0 leftmargin=0 vlink=#000000><!--#include file="inc_top.asp"-->
<br>
<table width="500" cellspacing="0" align="center" cellpadding="0" border="0">
<tr><td colspan="3"><IMG src="images/photoup.gif"></td></tr>
<tr height="30">
<td width="1" class="backs"></td>
<td width="498" class="backq">
<IMG src="images/tb_title.gif" align=absMiddle> ∷∷∷ 數據清理-第三步 □ 清理指定記錄 ∷∷∷<br>
<table width="90%" align=center><tr>
<td>
<p class="p1">已經完成了數據清理。建議對數據庫進行壓縮,否則可能原來占用的空間并不能釋放。
<p class="p1">數據壓縮需要您的主機有足夠的剩余空間,剩余空間的大小應該足夠放置壓縮后的數據庫文件,一般應該是1~5M。如果您的主機沒有足夠的空間,就必須先清理一下主機上的文件,留出空間。
<p class="p1" align="right"><a href='clear_step4.asp'>下一步 壓縮數據庫</a> <a href='clear_step4.asp' target="_parent"><img src="images/arbutton.gif" align="absmiddle" border="0"></a> <font style="font-size:16px"> </font>
</td></tr></table>
</td>
<td width="1" class="backs"></td>
</tr>
<tr><td colspan="4"><IMG src="images/photodown.gif"></td></tr>
</table>
<br><!--#include file="inc_bottom.asp"-->
</body>
</html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -