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

<%@ 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="22" align="right">
            用户名：
        </td>
        <td>
            <input type="text" name="txtUserName" id="txtUserName" maxlength="20" class="in1" style="width: 150px"
                onkeypress="KeyPress()" />
        </td>
    </tr>
    <tr>
        <td height="22" align="right">
            密码：
        </td>
        <td>
            <input type="password" class="in1" name="txtPassWord" id="txtPassWord" maxlength="20" style="width: 150px"
                onkeypress="KeyPress()" />
        </td>
    </tr>
    <tr id="DivCode" runat="server">
        <td height="22" align="right">
            验证码：
        </td>
        <td>
            <input type="text" name="txtCode" id="txtCode" class="in1" style="width: 55px;" onkeypress="KeyPress()" onclick="document.getElementById('imgVerify').src+=Math.random()"/>
            <asp:image id="imgVerify" runat="server" onclick="this.src+=Math.random()" align="absmiddle" style="cursor:pointer"
                tooltip="<%$ Resources:Lang,Login_Switch%>" />
        </td>
    </tr>
    <tr>
        <td height="28">
        </td>
        <td>
            <input id="Button2" type="button" value=" 登 陆 " onclick="UserLogin()" /><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"></span>
        </td>
    </tr>
    <tr>
        <td>
            目前积分：<span id="SpanIntegral" runat="server"></span>分
        </td>
    </tr>
    <tr>
        <td>
            <a href="<%=Param.ApplicationRootPath %>/user/main.aspx">进入用户中心</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>
