<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!--#include file="inc/Conn_User.asp"-->
<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="new/css.CSS" rel="stylesheet" type="text/css">
<style> 
BODY {
	scrollbar-face-color:#DDDDDD;
	scrollbar-highlight-color: #f2f2f2;
	scrollbar-shadow-color: #CCCCCC;
	scrollbar-3dlight-color: #F5F5F5;
	scrollbar-darkshadow-color: #F5F5F5;
	scrollbar-track-color: #F0F0F0;
	scrollbar-arrow-color: #FFFFFF;
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 8px;
	margin-bottom: 0px;
}
</style>

<link href="new/css.CSS" rel="stylesheet" type="text/css" />
</head>

<body >
<%
usernamed=Request.Cookies("asp163")("UserName")
bgid=request("bgid")
userid=request("userid")
set rs=server.createobject("adodb.recordset")
sql="select * from [bg] where bgid='"&bgid&"' and UserName='"&UserNamed&"' order by id desc"
rs.open sql,Conn_User,1,1

conn_user.execute "delete from bg where ID=" & rs("ID")
response.Redirect "usermanage.asp?userid="& userid

%>
<%rs.close
set rs=nothing
%>
</body>
</html>
