<%@ page language="C#" autoeventwireup="true" inherits="Install_Step2, ECMe_Deploy" %>

<!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>安装ECMe网店系统</title>
    <link href="step.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
            <td>
                <div class="All">
                    <div class="Top">
                        <div class="Logo">
                            <img src="images/Logo_top.jpg" alt="Logo" /></div>
                        <div class="Txte">
                            官方网站：www.ecme.cn</div>
                    </div>
                </div>
            </td>
        </tr>
        <tr>
            <td>
                <div class="Come">
                    <div class="Title">
                        <img src="images/Title3.jpg" alt="设置运行环境" /></div>
                    <div class="Step_all">
					
                        <div class="Step234">
                            <span style="font-size: 1绩px; font-weight: bold">现在正在对您的运行环境进行检测，以确认您的环境是否符合要求：</span>
                        
                                <asp:ValidationSummary ID="ValidationSummaryPage" CssClass="error" runat="server"
                                    DisplayMode="List"/>
                                <asp:RequiredFieldValidator ID="RequiredFieldValidatorAdminPassword" runat="server"
                                    ControlToValidate="AdminPassword" ErrorMessage="系统管理员密码不能为空,且不能为中文" Display="None"></asp:RequiredFieldValidator>
                                <asp:CompareValidator ID="CompareValidatorAdminPassword" runat="server" ControlToCompare="ValidatePassword"
                                    ControlToValidate="AdminPassword" ErrorMessage="两次输入密码不同" Display="None"></asp:CompareValidator>
                                <asp:RequiredFieldValidator ID="RequiredFieldValidatorServerName" runat="server"
                                    ControlToValidate="ServerName" ErrorMessage="数据库服务器名称或IP不能为空" Display="None"></asp:RequiredFieldValidator>
                                <asp:RequiredFieldValidator ID="RequiredFieldValidatorDatabaseName" runat="server"
                                    ControlToValidate="DatabaseName" ErrorMessage="数据库名称不能为空" Display="None"></asp:RequiredFieldValidator>
                                <asp:RequiredFieldValidator ID="RequiredFieldValidatorDatabaseID" runat="server"
                                    ControlToValidate="DatabaseID" ErrorMessage="数据库用户名不能为空" Display="None"></asp:RequiredFieldValidator>
                                <asp:RequiredFieldValidator ID="RequiredFieldValidatorAdminName" runat="server" ControlToValidate="AdminName"
                                    ErrorMessage="系统管理员账号不能为空,且不能为中文" Display="None"></asp:RequiredFieldValidator>
                                <asp:RequiredFieldValidator ID="RequiredFieldValidatorValidatePassword" runat="server"
                                    ControlToValidate="ValidatePassword" ErrorMessage="确认密码不能为空" Display="None"></asp:RequiredFieldValidator>
                 
                            <div class="Input">
                                <div class="name">
                                    服务器名或IP地址：</div>
                                <asp:TextBox ID="ServerName" Text="localhost" runat="server" Width="250px"></asp:TextBox>
                                <div class="yz">
                                    * 数据库服务器的名称或IP地址,一般为localhost
                                </div>
                            </div>
                            <div class="Input">
                                <div class="name">
                                    数据库名称：</div>
                                <asp:TextBox ID="DatabaseName" runat="server" Width="250px"></asp:TextBox>
                                <div class="yz">
                                    * 数据库的名称
                                </div>
                            </div>
                            <div class="Input">
                                <div class="name">
                                    数据库用户名称：</div>
                                <asp:TextBox ID="DatabaseID" runat="server" Width="250px"></asp:TextBox>
                                <div class="yz">
                                    * 登录数据库的用户名
                                </div>
                            </div>
                            <div class="Input">
                                <div class="name">
                                    数据库用户密码：</div>
                                <asp:TextBox ID="DatabasePassword" runat="server" Width="250px" TextMode="Password"></asp:TextBox>
                                <div class="yz">
                                    * 数据库登录账户的密码</div>
                            </div>
                            <div class="line">
                            </div>
                            <div class="Input">
                                <div class="name">
                                    系统管理员账号：</div>
                                <asp:TextBox ID="AdminName" runat="server" Width="250px"></asp:TextBox>
                                <div class="yz">
                                    * 创世人的帐号,一旦决定好创始人不能更改</div>
                            </div>
                            <div class="Input">
                                <div class="name">
                                    系统管理员密码：</div>
                                <asp:TextBox ID="AdminPassword" runat="server" Width="250px" TextMode="Password"></asp:TextBox>
                                <div class="yz">
                                    * 请填写写安全度高的密码 度高的密码</div>
                            </div>
                            <div class="Input">
                                <div class="name">
                                    确认密码：</div>
                                <asp:TextBox ID="ValidatePassword" runat="server" Width="250px" TextMode="Password"></asp:TextBox>
                                <div class="yz">
                                    * 确认创始人登录密码</div>
                            </div>
                        </div>
                    </div>
                    <div class="Button">
                        <table width="100%" border="0" cellspacing="0" cellpadding="0">
                            <tr>
                                <td style="width: 60%">
                                    <div class="but">
                                        <asp:LinkButton ID="LSubmit" runat="server" onclick="LSubmit_Click">填写完成，进入下一步</asp:LinkButton>
                                    </div>
                                </td>
                                <td>&nbsp;
                                    
                                </td>
                            </tr>
                        </table>
                    </div>
                </div>
            </td>
        </tr>
        <tr>
            <td>
                <div class="Down">
                   Copyright &copy; 2008-2011 ECMe网店系统 ECMe.cn All Rights Reserved.</div>
            </td>
        </tr>
    </table>
    </form>
</body>
</html>
