www.gusucode.com > 共享世纪内容管理系统 2.1 build 080704 全站开源版 > admin/down_cx_del.asp
<%Admin="DownAdminAll"%> <!--#include file="check.asp"--> <!--#include file="mdb_path_down.asp"--> <% conn.execute("delete from down where id="&request("id")&"") conn.execute("delete from downfile where downid="&request("id")&"") conn.close set conn=nothing id=request("id") set fh=Server.CreateObject("Scripting.FileSystemObject") if not fh.FileExists(server.mappath("../software/xoYuSoft_"&id&".html")) then response.write "很抱歉,该软件的下载页不存在!" else fh.DeleteFile server.mappath("../software/xoYuSoft_"&id&".html"),Ture end if set fh=nothing %> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=gb2312"> <title>网站内容管理系统</title> <link rel="stylesheet" href="admin.css" type="text/css"> <title>删除软件</title> <style> body{font-size:9pt;line-height:140%} </style> </head> <body> ■■■■■■■■■■<br>删除完成!<br>■■■■■■■■■■ <script LANGUAGE="JavaScript"> <!-- setTimeout('window.close();', 100); // --> </script> </body></html>