<%@ Page Title="" Language="C#" MasterPageFile="Site.Master" AutoEventWireup="true" CodeBehind="admin_login.aspx.cs" Inherits="FanXian.Web.admin_login" %>
<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">管理员登录</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="MainContent" runat="server">
    <h2>管理员登录</h2>
    <form id="aspnetForm" runat="server">
        <asp:Login ID="Login1" runat="server" BackColor="#FFFBD6" BorderColor="#FFDFAD" 
            BorderStyle="Solid" BorderWidth="1px" Font-Names="Verdana" 
            Font-Size="0.9em" BorderPadding="4" DisplayRememberMe="False" 
            ForeColor="#333333" onauthenticate="Login1_Authenticate" 
            TextLayout="TextOnTop" FailureText="登录失败，请重试。" LoginButtonText="提交登录" 
            PasswordLabelText="密 码：" PasswordRequiredErrorMessage="请填写“密码”。" 
            RememberMeText="记住我的帐户" TitleText="管理员登录" UserNameLabelText="用户名：" 
            UserNameRequiredErrorMessage="请填写“用户名”。">
            <InstructionTextStyle Font-Italic="True" ForeColor="Black" />
            <LayoutTemplate>
                <table cellpadding="4" cellspacing="0" style="border-collapse:collapse;">
                    <tr>
                        <td>
                            <table cellpadding="0">
                                <tr>
                                    <td align="center" 
                                        style="color:White;background-color:#990000;font-size:1em;font-weight:bold;">
                                        管理员登录</td>
                                </tr>
                                <tr>
                                    <td>
                                        <asp:Label ID="UserNameLabel" runat="server" AssociatedControlID="UserName">用户名：</asp:Label>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <asp:TextBox ID="UserName" runat="server" Font-Size="0.9em"></asp:TextBox>
                                        <asp:RequiredFieldValidator ID="UserNameRequired" runat="server" 
                                            ControlToValidate="UserName" ErrorMessage="请填写“用户名”。" ToolTip="请填写“用户名”。" 
                                            ValidationGroup="Login1">*</asp:RequiredFieldValidator>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <asp:Label ID="PasswordLabel" runat="server" AssociatedControlID="Password">密 码：</asp:Label>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <asp:TextBox ID="Password" runat="server" Font-Size="0.9em" TextMode="Password"></asp:TextBox>
                                        <asp:RequiredFieldValidator ID="PasswordRequired" runat="server" 
                                            ControlToValidate="Password" ErrorMessage="请填写“密码”。" ToolTip="请填写“密码”。" 
                                            ValidationGroup="Login1">*</asp:RequiredFieldValidator>
                                    </td>
                                </tr>
                                <tr>
                                    <td align="center" style="color:Red;">
                                        <asp:Literal ID="FailureText" runat="server" EnableViewState="False"></asp:Literal>
                                    </td>
                                </tr>
                                <tr>
                                    <td align="right">
                                        <asp:Button ID="LoginButton" runat="server" BackColor="White" 
                                            BorderColor="#CC9966" BorderStyle="Solid" BorderWidth="1px" CommandName="Login" 
                                            Font-Names="Verdana" Font-Size="0.9em" ForeColor="#990000" Text="提交登录" 
                                            ValidationGroup="Login1" />
                                    </td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                </table>
            </LayoutTemplate>
            <LoginButtonStyle BackColor="White" BorderColor="#CC9966" BorderStyle="Solid" 
                BorderWidth="1px" Font-Names="Verdana" Font-Size="0.9em" ForeColor="#990000" />
            <TextBoxStyle Font-Size="0.9em" />
            <TitleTextStyle BackColor="#990000" Font-Bold="True" ForeColor="#FFFFFF" 
                Font-Size="1em" />
        </asp:Login>
    </form>
</asp:Content>
