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

<!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 runat="server">
    <title>登录在线考试系统</title>
    <link href="StyleSheet.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
        BODY
        {
            background-image: url(images/body_bg.gif);
            background-repeat: repeat-x;
        }
        TD
        {
            font-size: 12px;
        }
        INPUT
        {
            border-right: #999 1px solid;
            border-top: #999 1px solid;
            border-left: #999 1px solid;
            border-bottom: #999 1px solid;
        }
        .button
        {
            border-right: #666 1px solid;
            border-top: #666 1px solid;
            background: url(Admin/skins/images/button_bg.gif);
            border-left: #666 1px solid;
            color: #135294;
            line-height: 18px;
            border-bottom: #666 1px solid;
            height: 21px;
        }
        DIV#nifty
        {
            background: #abd4ef;
            margin: 60px 10% 0px;
            width: 420px;
            word-break: break-all;
        }
        B.rtop
        {
            display: block;
            background: #fff;
        }
        B.rbottom
        {
            display: block;
            background: #fff;
        }
        B.rtop B
        {
            display: block;
            background: #abd4ef;
            overflow: hidden;
            height: 1px;
        }
        B.rbottom B
        {
            display: block;
            background: #abd4ef;
            overflow: hidden;
            height: 1px;
        }
        B.r1
        {
            margin: 0px 5px;
        }
        B.r2
        {
            margin: 0px 3px;
        }
        B.r3
        {
            margin: 0px 2px;
        }
        B.rtop B.r4
        {
            margin: 0px 1px;
            height: 2px;
        }
        B.rbottom B.r4
        {
            margin: 0px 1px;
            height: 2px;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div style="margin-top: 100px;">
        <center>
            <div id="nifty">
                <b class="rtop"><b class="r1"></b><b class="r2"></b><b class="r3"></b><b class="r4">
                </b></b>
                <div style="font-size: 12px; background: none transparent scroll repeat 0% 0%; width: 403px;
                    line-height: 26px; height: 26px; text-align: left">
                    系统登录</div>
                <div style="background: #166ca3; width: 403px; height: 46px">
                    <table style="width: 100%; height: 100%">
                        <tbody>
                            <tr>
                                <td style="font-size: 18px; background-image: url(images/loginy.jpg); color: white">
                                    <b>在线考试系统</b>
                                </td>
                            </tr>
                        </tbody>
                    </table>
                </div>
                <div style="border-right: #649eb2 1px solid; background: #fff; border-left: #649eb2 1px solid;
                    width: 403px;">
                    <table height="109" cellspacing="3" cellpadding="0" width="100%" border="0">
                        <tbody>
                            <tr>
                                <td align="right">
                                </td>
                                <td>
                                </td>
                            </tr>
                            <tr>
                                <td align="right" height="25">
                                    <b>用户名：</b>
                                </td>
                                <td align="left" height="25">
                                    <asp:TextBox ID="txtUserID" runat="server" Width="150px"></asp:TextBox>
                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtUserID"
                                        ErrorMessage="*"></asp:RequiredFieldValidator>
                                </td>
                            </tr>
                            <tr>
                                <td align="right" height="25">
                                    <b>密 码：</b>
                                </td>
                                <td align="left" height="25">
                                    <asp:TextBox ID="txtUserPwd" runat="server" Width="150px" TextMode="Password"></asp:TextBox>
                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtUserPwd"
                                        ErrorMessage="*"></asp:RequiredFieldValidator>
                                </td>
                            </tr>
                            <tr>
                                <td align="middle" colspan="2">
                                    <asp:Button ID="btnLogin" runat="server" Text="登 录" OnClick="btnLogin_Click" Width="50px"
                                        CssClass="button" />
                                    &nbsp; &nbsp;<asp:Button ID="btnRegister" runat="server" CausesValidation="false"
                                        Text="注 册" CssClass="button" Width="50px" OnClick="btnRegister_Click" />
                                </td>
                            </tr>
                            <tr>
                                <td style="padding-left: 20px" align="center" colspan="2">
                                    <asp:Label ID="lblMsg" runat="server" ForeColor="Red"></asp:Label>
                                    <div style="padding: 10px 0;">
                                        考试人员：test/123456 管理员：admin/123456
                                    </div>
                                </td>
                            </tr>
                        </tbody>
                    </table>
                </div>
                <div style="border-right: #649eb2 1px solid; border-top: #ddd 1px solid; font-size: 12px;
                    background: #f7f7e7; margin-bottom: 5px; border-left: #649eb2 1px solid; width: 403px;
                    border-bottom: #649eb2 1px solid; padding-bottom: 10px;">
                    <br>
                    <div id="copyright">
                        开发者：ruimingde 作者主页：<a href="http://www.kabahu.com" target="_blank" title="卡巴虎个性化网址导航"
                            style="color: #333333;">http://www.kabahu.com</a></div>
                </div>
        </center>
    </div>
    </div>
    </form>
    <div id="links" style="padding-top: 50px;">
        <b>友情链接：</b><a href="http://www.kabahu.com" target="_blank" title="定制自己的网址导航">卡巴虎个性化网址导航</a></div>

    <script src="http://www.kabahu.com/js/kabahu.js" type="text/javascript"></script>

</body>
</html>
