<%data_path="../"%>
<!-- #include File="../conn/conn.asp" -->
<%
' 文件内容格式为XML
Response.ContentType = "text/xml"
' 不保存在客户端缓存
Response.Expires = 0
user=Request.QueryString("yanzhen")

sqlconfig="select top 1 * from [Websen_worldec_config]"
	Set rsconfig= Server.CreateObject("ADODB.Recordset") 
	rsconfig.Open sqlconfig,conn,1,1
	If rsconfig.Bof or rsconfig.EOF Then
		Response.Write "<div align='center'>123！</div>"
		Response.End()
	Else

Response.Write("<?xml version='1.0' encoding='gb2312'?>")
Response.Write(" <?xml-stylesheet   type='text/css'   href='cd_catalog.css'?>")
Response.Write("<user>")

if user="" then
Response.Write("<mssg>1</mssg>")
end if
if rsconfig("shuxin")=1 then
   if user<>rsconfig("wentidaan") then
     Response.Write("<mssg>3</mssg>")
	 else
	  Response.Write("<mssg>2</mssg>")
	 end if
	else
	 if  user<>rsconfig("wentiname") then
	 Response.Write("<mssg>3</mssg>")
	 else 
	 Response.Write("<mssg>2</mssg>")
	 end if
end if

if rsconfig("shuxin")=0 then
Response.Write("<msg1>"&"请输入括号里的内容：["&rsconfig("wentiname")&"]"&"</msg1>")
else
Response.Write("<msg1>"&"请回答括号的内容：["&rsconfig("wentiname")&"]"&"</msg1>")
end if
Response.Write("</user>")
rsconfig.close
end if
%>