<!--#include file="../inc/config.asp" -->
<!--#include file="../inc/conn.asp" -->
<!-- #include file="inc/session.asp" -->
<!-- #include file="inc/checkrole.asp" -->
<html>
<head>
<title>清空日志</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta http-equiv="refresh" content="1;URL=log_manage.asp">
</head>
<body>
<%
'''''''''''''''''''''''''''''''''''''''''''''''
call checkPrevilege(Session("Name"),"p11")
'''''''''''''''''''''''''''''''''''''''''''''''
conn.execute("delete from t_log where dateDiff(d,LoginTime,'"&now()&"')>7")
%>
<div align="center">
  <p>&nbsp;</p>
  <p>&nbsp;</p>
  <p>&nbsp;</p>
  <p>&nbsp;</p>
  <p>&nbsp;</p>
  <p>&nbsp;</p>
  <p>成功清空一周之前的日志!</p>
</div>
</body>
</html>
<%
call connclose()
%>