<!--#include file="admin/conn.asp"-->
<%
user_id=request("user_id")
user_id=replace(user_id,"'","")
user_id=replace(user_id," ","")
if user_id <> "" then
set rs = Server.CreateObject("ADODB.Recordset")
sql = "SELECT * FROM user where user_id= '" & user_id & "'"
rs.open sql,conn,1,1
if not (rs.Bof or rs.eof) then
message="<font color=red><b>提示：</b><br><br>此用户名已被他人注册，请选择其他用户名。</font>"

else
message="<font color=red><b>恭喜！</b><br><br>您可使用此用户名！</font>"
end if
rs.Close
set rs=nothing
else
message="<font color=red><br><br>请您填写用户名</font>"
end if
%>
<HTML>
<HEAD>
<TITLE>检测会员名</TITLE>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" href="shop.css" type="text/css">
</HEAD>
<BODY>
<%
response.write message
%>
</BODY>
</HTML>
 
