<!--#include file="inc/system.asp" -->
<%
yidacms_id = cint(request("id"))
set rs = server.createobject("adodb.recordset")
sql="select * from shuaiweb_down WHERE id = "&yidacms_id&""
rs.open sql,dbok,1,3	

	rs("shuaiweb_downnumber") = rs("shuaiweb_downnumber") + 1

rs.update

if rs("shuaiweb_downupload") = "" then
	response.redirect(rs("shuaiweb_downweb"))
		else
	response.redirect(sw_dizhi & rs("shuaiweb_downupload"))
end if


rs.close
set rs=nothing

%>