<!-- #include file="include/adovbs.inc" -->
<!-- #include file="include/dataconn.asp" -->
<!-- #include file="include/checksession.asp" -->
<%

id=Request("id")
pageno=trim(Request("pageno"))
findcontent=trim(request("findcontent"))
PickupCount=trim(request("PickupCount"))
HyNumber=trim(request("HyNumber"))
%>
<HTML>
<HEAD>
<META NAME="GENERATOR" Content="Microsoft Visual Studio 6.0">
<link rel="stylesheet" href="include/e1.css" type="text/css">
</HEAD>
<BODY>
-------------------------处理提款申请中...............<br>
<%

set rs=server.CreateObject("adodb.recordset")
sql = "update HyPickupMoneyLog set IsApproved = 1,ApprovedDate='"& thistoday &"' where id =" & id
rs.Open sql,conn
set rs=nothing
set rs=server.CreateObject("adodb.recordset")
sql ="update HyMoneyAccount set HyMoneyAccount=HyMoneyAccount-" & PickupCount & " where HyNumber='" & HyNumber& "'"
rs.Open sql,conn
%>
<br>------------------------<font color=red>提款申请处理成功!</font><br>
<script language="javascript">
	window.location.href="HyPickupmoneylog.asp?pageno=<% =pageno%>&findcontent=<%=findcontent%>"
	//window.parent.frames(0).location.reload();
</script>
</BODY>
</HTML>