<%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%>  
<%Response.CodePage=65001%>  
<%Response.Charset="utf-8"%>
<!--#include file="../inc/conn.asp" -->
<!--#include file="userSystem.asp" -->
<%
Dim yd_user
usersystem1()
yd_user=request.querystring("num")
If yd_user="yidacms_userlogin1" then
   if session("shuaiweb_useremail") = "" then
     Response.write "document.write('<a href=""user/login.asp"">会员登录</a> | <a href=""user/reg.asp"">免费注册</a>');"
   		else
     Response.write "document.write('欢迎您 "&rs("shuaiweb_username")&" ! <br /><a href="""&sw_dizhi&"user/"">会员中心</a> | <a href="""&sw_dizhi&"user/user_buy.asp"">我的订单</a> | <a href="""&sw_dizhi&"user/logout.asp"">退出</a>');"
   end if
Elseif yd_user="yidacms_userlogin2" then
if session("shuaiweb_useremail") = "" then
	Response.write "document.write('<table width=""100%"" border=""0"" cellpadding=""0"">');"&vbLf
	Response.write "document.write('<form name=""form3"" method=""post"" action="""&sw_dizhi&"user/user.asp?yidacms=login"">');"&vbLf
	Response.write "document.write('<tr><td><div align=""right"">账　户：</div></td><td><input type=""text"" name=""shuaiweb_useremail"" class=""userlogint""/></td></tr>');"&vbLf
	Response.write "document.write('<tr><td><div align=""right"">密　码：</div></td><td><input type=""password"" name=""shuaiweb_userpass"" class=""userlogint""/></td></tr>');"&vbLf
	Response.write "document.write('<tr><td><div align=""right"">验证码：</div></td><td><input name=""validatecode"" type=""text"" size=""5"">&nbsp;<img src="""&sw_dizhi&"inc/validatecode.asp"" align=""absmiddle"" border=""0"" width=""75""></td></tr>');"&vbLf
	Response.write "document.write('<tr><td></td><td><input type=""submit"" name=""Submit3"" value=""登 录"" /> <input type=""button"" value=""注 册"" onclick=window.open("""&sw_dizhi&"user/reg.asp"") /><br /></td></tr>');"&vbLf
	Response.write "document.write('</form>');"&vbLf
	Response.write "document.write('</table>');"&vbLf
       else
Response.write "document.write('欢迎您 "&rs("shuaiweb_username")&" ! <br /><a href="""&sw_dizhi&"user/"">会员中心</a> | <a href="""&sw_dizhi&"user/user_buy.asp"">我的订单</a> | <a href="""&sw_dizhi&"user/logout.asp"">退出</a>');"
       end if
Elseif yd_user="yidacms_userlogin3" then
if session("shuaiweb_useremail") = "" then
	Response.write "document.write('<table width=""100%"" border=""0"" cellpadding=""0"">');"&vbLf
	Response.write "document.write('<form name=""form4"" method=""post"" action="""&sw_dizhi&"user/user.asp?yidacms=login"">');"&vbLf
	Response.write "document.write('<tr><td>账户：<input type=""text"" name=""shuaiweb_useremail"" class=""userlogint""/></td>');"&vbLf
	Response.write "document.write('<td>密码：<input type=""password"" name=""shuaiweb_userpass"" class=""userlogint""/></td>');"&vbLf
	Response.write "document.write('<td>验证码：<input name=""validatecode"" type=""text"" size=""5"">&nbsp;<img src="""&sw_dizhi&"inc/validatecode.asp"" align=""absmiddle"" border=""0"" width=""75""></td>');"&vbLf
	Response.write "document.write('<td><input type=""submit"" name=""Submit4"" value=""登 录"" /> <input type=""button"" value=""注 册"" onclick=window.open("""&sw_dizhi&"user/reg.asp"") /></td></tr>');"&vbLf
	Response.write "document.write('</form>');"&vbLf
	Response.write "document.write('</table>');"&vbLf
		   else
	Response.write "document.write('欢迎您 "&rs("shuaiweb_username")&" !  | <a href="""&sw_dizhi&"user/"">会员中心</a> | <a href="""&sw_dizhi&"user/user_buy.asp"">我的订单</a> | <a href="""&sw_dizhi&"user/logout.asp"">退出</a>');"
end if
End if
%>