<!--#include virtual="/inc/conn.asp"-->
<%
Response.CharSet="GB2312"
Response.ContentType="text/html"

if request.Cookies("getopenidstr")="" then
response.Write "no"
response.end
end if

rs.open "select top 1 * from aywxhqopen where aywxstr='"&request.Cookies("getopenidstr")&"' and aywxzt=1",conn,1,1
if not(rs.bof and rs.eof) then
response.Cookies("openid")=trim(rs("aywxopen"))
response.Write trim(rs("nicheng"))
else
response.Write "no"
end if
rs.close

'rs.open "select * from aywxhqopen",conn,1,3
'rs.addnew
'rs("aywxstr")=request.Cookies("getopenidstr")
'rs.update
'response.Write "no"


%>