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

<!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 id="Head1" runat="server">
    <link href="../webXabara/InClude/StyleSheet.css" rel="stylesheet" type="text/css" />
    <link rel="Shortcut Icon" href="http://www.xabara.com/Images/favicon.ico" />
    <title></title>
    <script src="/Scripts/jquery.min.js" type="text/javascript"></script>
    <script src="/Scripts/tipswindow.js" type="text/javascript"></script>
    <script src="/Scripts/all.js" type="text/javascript"></script>
    <style type="text/css">
    <!--
    body {
	    margin: 8px;
	    background-color:transparent;
    }
    -->
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div id="loginDiv" style="width: 780px;" runat="server">
        <div style="text-align: left;">
            <asp:Image ID="Image1" runat="server" ImageAlign="Middle" ImageUrl="~/setup/images/logo.png" />
            <span style="font-size: 16px;">安装向导</span></div>
        <div class="height10px">
        </div>
        <div style="text-align: left; font-size: 14px;">
            数据库已配置并连接成功</div>
        <div class="height10px">
        </div>
        <div class="inputTextIME" style="padding: 30px 30px 10px 30px;">
            <table cellspacing="10" cellpadding="5" border="0" align="center">
                <tr>
                    <td style="text-align: right;">
                        服务器系统：
                    </td>
                    <td style="text-align: left;">
                        <asp:Label ID="ServerOSVer" runat="server"></asp:Label>&nbsp;(<asp:Label ID="ServerOS"
                            runat="server"></asp:Label>)
                    </td>
                </tr>
                <tr>
                    <td style="text-align: right;">
                        服务器软件：
                    </td>
                    <td style="text-align: left;">
                        <asp:Label ID="ServerSoft" runat="server"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td style="text-align: right;">
                        .Net版本：
                    </td>
                    <td style="text-align: left;">
                        <asp:Label ID="netVer" runat="server"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td style="text-align: right;">
                        数据库版本：
                    </td>
                    <td style="text-align: left;">
                        <asp:Label ID="sqlVer" runat="server" Text=""></asp:Label> <span style="color:Red;">建议MySql5.1及以上</span>
                    </td>
                </tr>
                <tr>
                    <td colspan="2" class="height10px">
                    </td>
                </tr>
                <tr>
                    <td style="text-align: left; font-weight: bold;" colspan="2">
                        请在下面建立后台管理员帐户
                    </td>
                </tr>
                <tr>
                    <td style="text-align: right;">
                        管理员用户名：
                    </td>
                    <td style="text-align: left;">
                        <asp:TextBox ID="uID" runat="server" CssClass="inputText" Width="200px" MaxLength="20">admin</asp:TextBox>
                        <asp:RequiredFieldValidator SetFocusOnError="True" ID="RequiredFieldValidator1" runat="server"
                            ControlToValidate="uID" ErrorMessage="*" ForeColor="#FF3300"></asp:RequiredFieldValidator>
                        <asp:RegularExpressionValidator SetFocusOnError="True" ID="uIDRegularExpressionValidator"
                            runat="server" ControlToValidate="uID" ForeColor="#FF3300"></asp:RegularExpressionValidator>
                    </td>
                </tr>
                <tr>
                    <td style="text-align: right;">
                        管理员密码：
                    </td>
                    <td style="text-align: left;">
                        <asp:TextBox ID="uPW" runat="server" CssClass="inputText" Width="200px" TextMode="Password"
                            MaxLength="20"></asp:TextBox>
                        <asp:RequiredFieldValidator SetFocusOnError="True" ID="RequiredFieldValidator2" runat="server"
                            ControlToValidate="uPW" ErrorMessage="*" ForeColor="#FF3300"></asp:RequiredFieldValidator>
                        <asp:RegularExpressionValidator SetFocusOnError="True" ID="PWRegularExpressionValidator"
                            runat="server" ControlToValidate="uPW" ForeColor="#FF3300"></asp:RegularExpressionValidator>
                    </td>
                </tr>
                <tr>
                    <td style="text-align: right;">
                        确认管理员密码：
                    </td>
                    <td style="text-align: left;">
                        <asp:TextBox ID="uPWTwo" runat="server" CssClass="inputText" Width="200px" TextMode="Password"
                            MaxLength="20"></asp:TextBox>
                        <asp:RequiredFieldValidator SetFocusOnError="True" ID="RequiredFieldValidator4" runat="server"
                            ControlToValidate="uPWTwo" ErrorMessage="*" ForeColor="#FF3300"></asp:RequiredFieldValidator>
                        <asp:CompareValidator ID="CompareValidator1" runat="server" ControlToCompare="uPW"
                            ControlToValidate="uPWTwo" ErrorMessage="您两次输入的登录密码不一致" ForeColor="#FF3300" SetFocusOnError="True"></asp:CompareValidator>
                    </td>
                </tr>
                <tr>
                    <td>
                    </td>
                    <td style="text-align: left; height: 50px; line-height: 50px;">
                        <asp:Button ID="step" runat="server" Text="开始安装" CssClass="inputBottom" OnClick="step_Click" />
                    </td>
                </tr>
                </table>
        </div>
    </div>
    </form>
</body>
</html>
