<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<!--#include file="conn.asp"-->
<!--#include file="admin.asp"-->

<%
id=trim(Request("id"))
if Request("Action")="up" then
	set rs=server.createobject("adodb.recordset")
	sql="update links set paixv=paixv+1 where id="&id&""
	rs.open sql,conn,1,3
	rs.update
	rs.close
	response.write("<script language=javascript>history.back();</script>")
else
	set rs=server.createobject("adodb.recordset")
	sql="update links set paixv=paixv-1 where id="&id&""
	rs.open sql,conn,1,3
	rs.update
	rs.close
	response.write("<script language=javascript>history.back();</script>")
end if
%>