<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="Mvcb2b.admin.login.Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head >
<title><%=Data.Bkname %>数字报后台管理系统登录</title>
<style type="text/css">
td{
	color: #333333;
	font-size: 12px;padding:1px;line-height:19px;
}
td input,td img{ vertical-align:middle;}
body{
	background:url(Images/bg.gif); text-align:center;margin:0px;padding:0px;
}
.bg {
	width:602px;
	height:278px;
	text-align:left;
	padding-top:193px;
	margin-top:38px;
	margin-bottom:45px;
	padding-left:335px;
	margin-left:auto;
	margin-right:auto;
	background-image: url(Images/bg_1.gif);
	background-repeat: no-repeat;
	background-position: left top; position:relative;
}
#login1 {width:250px;margin-left:auto;margin-right:auto;}
#Login1_UserName,#Login1_Password{border:1px solid #0D5C95;background:#fff;width:170px;height:18px;font-size: 12px;line-height:18px;}
#Login1_LoginButton{
	width:49px;
	height:18px;
	margin: 0px;
	padding: 0px;
	border-top-width: 0px;
	border-right-width: 0px;
	border-bottom-width: 0px;
	border-left-width: 0px;
	background-color: transparent;
	background-image: url(images/login.gif);
	background-repeat: no-repeat;
	background-position: left top;
	color:#C6C7CA;font-size:12px;line-height:18px;letter-spacing: 2px;
	margin-right:60px;text-align:center;
}
#Login1_RememberMe{margin-left:40px;}
.usernum{width:60px;border:1px solid #0D5C95;height:18px;font-size: 12px;background:#fff;line-height:18px;}
</style>
</head>
<body>
<form id="form2" runat="server">
<div class="bg">
    <asp:Login ID="Login1" runat="server" OnAuthenticate="Login1_Authenticate"   
        DestinationPageUrl="../default.aspx" style="text-align: left" 
        LoginButtonText="登 录" TitleText="登 录" >
        <LayoutTemplate>
            <table cellpadding="4" cellspacing="0" style="border-collapse:collapse;">
                <tr>
                    <td>
                        <table cellpadding="0">
                            <tr>
                                <td align="center" colspan="2" style="color:White;font-weight:bold;">
                                    登 录</td>
                            </tr>
                            <tr>
                                <td align="right">
                                    <asp:Label ID="UserNameLabel" runat="server" AssociatedControlID="UserName">用户名:</asp:Label>
                                </td>
                                <td>
                                    <asp:TextBox ID="UserName" TabIndex="1" runat="server" ></asp:TextBox>
                                  <asp:RequiredFieldValidator ID="UserNameRequired" runat="server"   ControlToValidate="UserName" ErrorMessage="必须填写“用户名”。" ToolTip="必须填写“用户名”。" 
                                        ValidationGroup="Login1">*</asp:RequiredFieldValidator>
                                </td>
                            </tr>
                            <tr>
                                <td align="right">
                                    <asp:Label ID="PasswordLabel" runat="server" AssociatedControlID="Password">密码:</asp:Label>
                                </td>
                                <td>
                                    <asp:TextBox ID="Password" runat="server" TabIndex="2"   TextMode="Password"></asp:TextBox>
                                    <asp:RequiredFieldValidator ID="PasswordRequired" runat="server" 
                                        ControlToValidate="Password" ErrorMessage="必须填写“密码”。" ToolTip="必须填写“密码”。" 
                                        ValidationGroup="Login1">*</asp:RequiredFieldValidator>
                                </td>
                            </tr>
                            <tr><td align="right">验证码:</td><td><input class="usernum"  name="verifyCode" maxlength="8"  tabindex="3" value="" type="text" />
		<img  src="CheckCode.aspx" alt="看不清，换一张图片" onclick="this.src='CheckCode.aspx?'+(new Date().getTime());" /></td></tr>
                            <tr>
                                <td colspan="2" style="display:none;">
                                    <asp:CheckBox ID="RememberMe"  Checked="false" runat="server" Text="下次记住我。" />
                                </td>
                            </tr>
                            <tr>
                                <td align="center" colspan="2" style="color:Red;">
                                    <asp:Literal ID="FailureText" runat="server" EnableViewState="False"></asp:Literal>
                                </td>
                            </tr>
                            <tr>
                                <td align="right" colspan="2" style="padding-top:5px;">
                                    <asp:Button ID="LoginButton" runat="server" tabindex="4"   CommandName="Login" Text="登 录"  ValidationGroup="Login1" />
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
            </table>
        </LayoutTemplate>
    </asp:Login>
</div><!--bg-->
</form>
</body>
</html>