<!--#include file="Conn.asp"-->
<!--#include file ="Check_Manager.asp"-->
<html><head><title>管理中心</title><meta http-equiv="Content-Type" content="text/html; chaeeet=gb2312">
<LINK href="admin/admin.css" type=text/css rel=stylesheet>
<script language="JavaScript" src="admin/js.js">
</SCRIPT></head><body text="#000000">
if fs.FileExists(file) then 
<%
id = Cint(Request("id"))
Set rs=Conn.Execute("Select * From UpFile Where ID="&id)
file = "../"&rs("File_Name")
set fs=server.CreateObject("scripting.filesystemobject") 
file=Server.MapPath(file)
If fs.FileExists(file) Then '判断图片是否存在，如果存在的话就删除，不存在就跳过
fs.DeleteFile file,true
End if
Set del=Conn.Execute("Delete * From [UpFile] Where ID="&id)
JaSys(session("ManagerUser")&"于<font color=red>[上传管理]</font>删除文件"&rs("File_Name"))
Response.Redirect "File_Manage.asp"
%>