<!--#include file="../Include/Const.asp" -->
<!--#include file="../Include/ConnSiteData.asp" -->
<!--#include file="../Include/NoHackSql.Asp" -->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<HTML><HEAD><TITLE>网域高科</TITLE>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<META content=网域高科/ name=description>
<META content=网域高科/ 
name=keywords><LINK href="favicon.ico" rel="Shortcut Icon"><LINK 
href="favicon.ico" rel=Bookmark><LINK 
href="newimages/default_style.css" 
type=text/css rel=stylesheet><LINK 
        href="newimages/global.css" 
        type=text/css rel=stylesheet>
</HEAD>
<body>
 <DIV class=login id=UserLogin1_UserMsg align=left>
            <H2>注册用户登录&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</H2>
            <CENTER>
            <DIV style="height:105px;">
<%if session("MemName")="" or session("GroupID")="" or session("MemLogin")<>"Succeed" then%>
<form id="formLogin" name="formLogin" action='MemberLogin.asp' method='post' onSubmit='return CheckForm();'>
 <TABLE cellSpacing=0 cellPadding=0 width="90%" border=0 height="100">
              <TBODY>
              <TR>
                <TD vAlign=center align=center>用户名：</TD>
                <TD>&nbsp;<INPUT class=input id=T_UserName name=LoginName></TD></TR>
              <TR>
                <TD vAlign=center align=center>密&nbsp;&nbsp;&nbsp;&nbsp;码：</TD>
                <TD>&nbsp;<INPUT class=input id=T_Password type=password 
                  name=password></TD></TR>
               
              <TR>
                <TD vAlign=center align=center><INPUT class=btn_wu type="submit" value="登 录" name=LoginButton> </TD>
                <TD align="center">
<INPUT class=btn_wu onClick="javascript:window.open('MemberGetPass.asp');" type=button value=忘记密码 name=btnGetPwd></TD></TR>
              <TR>
                <TD align=left colSpan=2 height="3"><SPAN id=UserLogin1_lbmsg 
                  style="COLOR: red"></SPAN></TD></TR></TBODY></TABLE></form>
				  

<script language=javascript>
	function CheckForm()
	{
		if(document.UserLogin.UserName.value=="")
		{
			alert("请输入用户名！");
			document.UserLogin.UserName.focus();
			return false;
		}
		if(document.UserLogin.Password.value == "")
		{
			alert("请输入密码！");
			document.UserLogin.Password.focus();
			return false;
		}
	}
</script>

	<%
	Else 

		%>
<tr>
                        <td width="49" rowspan="3" align="center" valign="top"></td>
                        <td height="28" colspan="2"><span style="font-size:12px; font-family:'宋体'">您好：<%=session("MemName")%>(<%=MemGroup(session("GroupID"))%>)</span></td>
                      </tr><br>
                      <tr>
                        <td height="28" colspan="3"><a href="MemberInfo.asp" target="_blank">会员中心</a></td>
                      </tr><br>
					  <tr>
                       <a href="MemberLogin.asp?Action=Out">退出登录</a></td>
                      </tr><br><br>
                      <tr>
                        <td height="28" colspan="3"></td>
                      </tr>
<%

if request("Action")="Ch" then  	
 session("UserName")=""
   Response.Redirect "login.asp"		
end if
	
%></DIV></CENTER></DIV>
	
	<%end if%>
</table>
<%function MemGroup(GroupID)
  dim rs,sql
  set rs = server.createobject("adodb.recordset")
  sql="select * from wygkcndiv_MemGroup where GroupID='"&GroupID&"'"
  rs.open sql,conn,1,1
  MemGroup=rs("GroupName"&Language)
  rs.close
  set rs=nothing
end Function%>