www.gusucode.com > 共享世纪内容管理系统 2.1 build 080704 全站开源版 > admin/mdb_startok.asp

    <!--#include file="top.asp"-->
<%Admin="SysMdbRC"%>
<!--#include file="check.asp"-->
<!--#include file="mdb_path_info.asp"-->
<%
'==========================================
'
'  晓宇听幽新闻文章管理系统 2004
'
'  主页地址:http://www.xoYu.com
'
'==========================================
'程序名称:晓宇听幽新闻文章管理系统
'英文名称:xoYu News 2004 Professional
'程序创建时间:2003-7-10
'程序完成时间:2003-9-11
'最后修改时间:2003-10-10
'==========================================
z=0
button_value=trim(Request.Form("alert_button"))
if button_value="是" then
if request("checkbox1")="yes" then
conn.execute("delete from info")
z=z+1
end if
if request("checkbox2")="yes" then
conn.execute("delete from infotype")
z=z+1
end if
if request("checkbox4")="yes" then
conn.execute("delete from Specialx")
z=z+1
end if
if request("checkbox5")="yes" then
conn.execute("delete from js")
z=z+1
end if
if request("checkbox6")="yes" then
conn.execute("delete from JSFile")
z=z+1
end if
if request("checkbox7")="yes" then
conn.execute("delete from mb")
z=z+1
end if
conn.close
set conn=nothing%>
<!--#include file="mdb_path_down.asp"-->
<%
if request("checkbox15")="yes" then
conn.execute("delete from Down")
conn.execute("delete from DownFile")
z=z+1
end if
if request("checkbox16")="yes" then
conn.execute("delete from DownType")
z=z+1
end if
%>
<!--#include file="mdb_path_user.asp"-->
<%
k=0
if request("checkbox8")="yes" then
conn.execute("delete from UserInfo")
k=k+1
end if
if request("checkbox12")="yes" then
conn.execute("delete from log")
k=k+1
end if
conn.close
set conn=nothing%>
<!--#include file="mdb_path_vote.asp"-->
<%
s=0
if request("checkbox9")="yes" then
conn.execute("delete from Vote")
s=s+1
end if
if request("checkbox10")="yes" then
conn.execute("delete from VoteClass")
s=s+1
end if
conn.close
set conn=nothing%>
<!--#include file="mdb_path_ad.asp"-->
<%
f=0
if request("checkbox11")="yes" then
conn.execute("delete from image_ad")
f=f+1
end if
conn.close
set conn=nothing
else
Response.Redirect "index.asp"
end if
CO=z+k+s+f
%>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta copy="WWW.2KY.CN 共享世纪">
<title>共享世纪新闻文章管理系统</title>
<link rel="stylesheet" href="admin.css" type="text/css">
</head>
<body>
<div align="center">
  <center>
<table width="380" border="0" cellspacing="1" cellpadding="3"  align=center class="tableBorder">
<tr>
<th width="100%" align="center" height="20">
<b>系
统 初 始 化 操 作 成 功</b></th>
</tr>
<tr>
<td class=forumrow width="100%" align="center" height="25" valign="middle">
<p> </p>
<p><b>
<%if CO>0 then%>
<%=CO%>个数据库被清空,你可以开始添加新内容。
<%else%>
你没有选择任何数据库,0个数据库被清空。
<%end if%>
</b></p>
<p> </p>
</td>
</tr>
</table>
</center>
</div>