<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="index.aspx.cs" Inherits="Oykx.admin.index" %>

<!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">
<%--
//oykX版权信息
//开发者:周祥
//2011年6月20日 17:16:30
--%>
<head runat="server">
    <title>
        <%=Resources.zhouxiang.adminTitle %></title>
    <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
    <link href="css/main.css" rel="stylesheet" type="text/css" />

    <script src="js/main.js" type="text/javascript"></script>

   

</head>
<body style="text-align: center; color: White; background-color: Black">
    <form id="form1" runat="server">
    <div id="login">
        <table cellpadding="0" cellspacing="0" width="100%" style="height: 100%">
            <tr>
                <td style="height: 280px;">
                    <div style="height: 50%;">
                        <table cellpadding="0" cellspacing="0" style="width: 100%; height: 100%;">
                            <tr>
                                <td>
                                    <br />
                                    <br />
                                    <br />
                                    <br />
                                    <img src="image/logo.png" />
                                </td>
                            </tr>
                        </table>
                    </div>
                    <div style="height: 51%">
                        <table cellpadding="0" cellspacing="0" style="border: 1px solid #C0C0C0; width: 400px;
                            height: 100px;">
                            <tr>
                                <td colspan="2" style="height: 24px; text-align: left; border: 1px solid #C0C0C0;
                                    border-top-style: none; border-left-style: none; border-right-style: none">
                                    &nbsp; 后台登录
                                </td>
                            </tr>
                            <tr>
                                <td class="table_td">
                                    用户名:
                                </td>
                                <td class="table_td2">
                                    <asp:TextBox ID="txtname" Width="100px" runat="server" BorderColor="#CCCCCC" BorderStyle="Solid"
                                        BorderWidth="1px" Text="admin"></asp:TextBox>
                                    <asp:RequiredFieldValidator ID="RequiredFieldtxtname" runat="server" ControlToValidate="txtname"
                                        Display="Dynamic" ErrorMessage="用户名不能为空"></asp:RequiredFieldValidator>
                                    <asp:RegularExpressionValidator ID="RegularExpressiontxtname" runat="server" ControlToValidate="txtname"
                                        Display="Dynamic" ErrorMessage="用户名含有特殊字符" ValidationExpression="^[A-Za-z0-9]+$"></asp:RegularExpressionValidator>
                                </td>
                            </tr>
                            <tr>
                                <td class="table_td">
                                    密码:
                                </td>
                                <td class="table_td2">
                                    <asp:TextBox ID="txtPass" Width="100px" runat="server" BorderColor="#CCCCCC" BorderStyle="Solid"
                                        BorderWidth="1px" TextMode="Password" Text="admin"></asp:TextBox>&nbsp;<asp:RequiredFieldValidator
                                            ID="RequiredFieldtxtpass" runat="server" ControlToValidate="txtPass" Display="Dynamic"
                                            ErrorMessage="密码不能为空"></asp:RequiredFieldValidator>
                                    <asp:RegularExpressionValidator ID="RegularExpressiontxtpass" runat="server" ControlToValidate="txtPass"
                                        Display="Dynamic" ErrorMessage="密码含有特殊字符" ValidationExpression="^\w+$"></asp:RegularExpressionValidator>
                                </td>
                            </tr>
                            <tr>
                                <td class="table_td">
                                    &nbsp;
                                </td>
                                <td class="table_td2">
                                    <asp:Button ID="btndl" runat="server" Text="Login" CssClass="bian" OnClick="btndl_Click" />
                                    &nbsp;<input id="Reset1" type="reset" value="reset" class="bian" />
                                </td>
                            </tr>
                        </table>
                    </div>
                </td>
            </tr>
            <tr>
                <td style="height: 320px; background-image: url('image/bjhua.jpg'); background-repeat: no-repeat;">
                    &nbsp;
                </td>
            </tr>
        </table>
    </div>
    </form>
</body>
</html>
