<!--#include file="conn.asp"-->
<!--#include file="foxx.asp"-->
<link href="fox.css" rel="stylesheet" type="text/css">

<%
dim username,rs,sql
username=trim(request("username"))
if username="" then
	Response.Write"<br><li>请填写登陆用户名称！<br><br><br>---------[<a href='javascript:window.close()' style='text-decoration: none'><font color='red'>明白，关闭窗口</font></a>]"
response.end
end if
set rs=server.createobject("adodb.recordset")
sql="select username from [FOX_user] where username='"&username&"' "
rs.open sql,conn,1,1
if not rs.eof or not rs.bof then
  if trim(rs("username"))=username then
	Response.Write"<br><li>此用户名称已存在，请更换！<br><br><br>---------[<a href='javascript:window.close()' style='text-decoration: none'><font color='red'>明白，关闭窗口</font></a>]"
 response.end
 end if
 else
 if trim(rs("username"))<>username then
	Response.Write"<br><li>可以注册此用户名称，请注意填写时要规范！<br><br><br>---------[<a href='javascript:window.close()' style='text-decoration: none'><font color='red'>明白，关闭窗口</font></a>]"
 response.end
 end if
 end if
 rs.close
 set rs=nothing%></body></html>

</body></html>