<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Login_H.aspx.cs" Inherits="common_Login_H" %>

<%@ Import Namespace="D.Common" %>
<%@ Import Namespace="D.BLL" %>


<form id="formlogin" runat="server">
<table border="0" cellpadding="0" cellspacing="0" id="AjaxLogin" width="100%" runat="server">
    <tr>
        <td height="25">
            <span>用户名：<input type="text" name="txtUserName" id="txtUserName" maxlength="20" class="in1" style="width: 100"
                onkeypress="KeyPress()" /></span><span style="margin-left: 10px"> 密码：<input type="password"
                    class="in1" name="txtPassWord" id="txtPassWord" maxlength="20" style="width: 100px" onkeypress="KeyPress()" /></span><span
                        id="DivCode" runat="server"> 验证码：<input type="text" name="txtCode" id="txtCode" onclick="document.getElementById('imgVerify').src+=Math.random()" class="in1" style="width: 55px;"
                            onkeypress="KeyPress()" />
                        <asp:image id="imgVerify" align="absmiddle" runat="server" onclick="this.src+=Math.random()" style="cursor:pointer"
                            tooltip="<%$ Resources:Lang,Login_Switch%>" />
                    </span>
            <input id="Button2" type="button" value=" 登 陆 " onclick="UserLogin()" style="margin-left: 10px" /><input id="ButReg" type="button" value="注册" style="margin-left: 5px" runat="server" /><input id="Button3" type="button" value="忘记密码" style="margin-left: 5px" onclick="window.location.href='<%=Param.ApplicationRootPath %>/user/other/FindPsw.aspx'" />
        </td>
    </tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" id="AjaxLogin2" width="100%" runat="server" style="display:none">
    <tr>
        <td height="25">欢迎您：<span id="SpanNickName" runat="server" style="margin-right:10px"></span>目前积分：<span id="SpanIntegral" runat="server"></span>分<a href="<%=Param.ApplicationRootPath %>/user/main.aspx" style="margin-left:10px">进入用户中心</a><a href="javascript:" onclick="ClearCookie()" style="margin-left:10px">退出登陆</a>
        </td>
    </tr>
</table>
<script language="javascript" type="text/javascript" src="<%=Param.ApplicationRootPath %>/js/<%=B_Lang.getLang() %>/AjaxLogin.js"></script>
</form>