<%@ Page Language="C#" AutoEventWireup="false" Codebehind="step.aspx.cs" Inherits="Hishop.Web.Site.Installer.step" %>

<%@ Register TagPrefix="Hishop" Namespace="Hishop.Web.Controls" Assembly="Hishop.Web.Controls" %>
<%@ Register TagPrefix="Hishop" Namespace="Hishop.Web.Components" Assembly="Hishop.Web.Components" %>

<%@ Import Namespace="Hishop.SystemServices" %>
<!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>
    <title>Hishop 5.4.2(Beta) 安装向导</title>
    <link href="Images/install.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
        <div class="leftform">
            <div class="conLeftForm">
                <div class="alterform">
                    <ul>
                        <li class="installtitle">
                            <asp:Literal ID="label1" runat="server" Text="<%$ Resources:InstallerDefault,IDS_FormField_Label1%>"></asp:Literal>
                        </li>
                        <li>
                            <asp:Literal ID="Literal5" runat="server" Text="<%$ Resources:InstallerDefault,IDS_FormField_Label2%>"></asp:Literal></li>
                    </ul>
                </div>
            </div>
        </div>
        <div class="rightform">
            <div class="conRightForm">
                <div class="dataForm">
                    <asp:Panel ID="pnlDown" runat="server" Visible="false">
                        <table cellpadding="0" cellspacing="0" border="0">
                            <tr>
                                <td style="color: Red">
                                    <b>
                                        <asp:Literal ID="Literal6" runat="server" Text="<%$ Resources:InstallerStep,IDS_Message_Create_Error%>"></asp:Literal></b>
                                </td>
                            </tr>
                        </table>
                        <table cellpadding="0" cellspacing="0" border="0">
                            <tr>
                                <td style="height: 10px">
                                </td>
                            </tr>
                            <tr>
                                <td class="inputstyle" style="color: #2E6CD2;">
                                    <asp:Literal ID="litFileCanWrite" runat="server" Visible="false" Text="<%$ Resources:InstallerStep,IDS_Message_Update_Config %>"></asp:Literal>
                                </td>
                            </tr>
                            <tr>
                                <td style="height: 15px">
                                    <asp:Button ID="btnDownConfig" runat="server" Text="<%$ Resources:InstallerStep,IDS_Button_btnDownConfig%>"
                                        Visible="false" OnClick="btnDownConfig_Click" />
                                </td>
                            </tr>
                        </table>
                    </asp:Panel>
                    <asp:Panel ID="pnlCreate" runat="server" Visible="false">
                        <table cellpadding="0" cellspacing="0" border="0">
                            <tr>
                                <td class="installtitle">
                                    <asp:Literal ID="Literal7" runat="server" Text="<%$ Resources:InstallerStep,IDS_Message_InstallerEnd%>"></asp:Literal>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:Literal ID="Literal8" runat="server" Text="<%$ Resources:InstallerStep,IDS_Message_gx%>"></asp:Literal>
                                </td>
                            </tr>
                            <tr>
                                <td class="inputstyle" style="color: #2E6CD2;">
                                    <asp:Literal ID="Literal9" runat="server" Text="<%$ Resources:InstallerStep,IDS_Select_Option%>"></asp:Literal>
                                    ：</td>
                            </tr>
                            <tr>
                                <td class="inputstyle_2">
                                    <a href="<%= ResolveUrl("~/Default.aspx") %>">
                                        <asp:Literal ID="Literal10" runat="server" Text="<%$ Resources:InstallerStep,IDS_ToDefault%>"></asp:Literal></a>
                                    <a href="<%= ResolveUrl("~/admin/Default.aspx") %>">
                                        <asp:Literal ID="Literal11" runat="server" Text="<%$ Resources:InstallerStep,IDS_ToAdmin%>"></asp:Literal></a>
                                </td>
                            </tr>
                        </table>
                    </asp:Panel>
                    <asp:Wizard ID="wizardInstaller" runat="server" Width="100%" NavigationButtonStyle-CssClass="inp_L1"
                        DisplaySideBar="False" ActiveStepIndex="0" NavigationStyle-HorizontalAlign="Center"
                        OnFinishButtonClick="wizardInstaller_FinishButtonClick" OnNextButtonClick="wizardInstaller_NextButtonClick">
                        <WizardSteps>
                            <asp:WizardStep ID="WizardStep1" runat="server" StepType="Start" AllowReturn="false">
                                <table cellpadding="0" cellspacing="0" border="0">
                                    <tr>
                                        <td colspan="2">
                                            <div style="color: Red">
                                                <b>
                                                    <asp:Label ID="lblErrMessage" runat="server"></asp:Label>
                                                </b>
                                            </div>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="dataTitle" colspan="2">
                                            <asp:Literal ID="Literal12" runat="server" Text="<%$ Resources:InstallerStep,IDS_FormField_FirstStep%>"></asp:Literal>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td colspan="2">
                                            &nbsp; &nbsp; &nbsp;
                                            <asp:Literal ID="Literal13" runat="server" Text="<%$ Resources:InstallerStep,IDS_FormField_SetpDesciption%>"></asp:Literal>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="inputstyle" style="height: 23px">
                                            <span>
                                                <asp:Literal ID="lbldbServer" runat="server" Text="<%$ Resources:InstallerStep,IDS_FormField_Server%>"></asp:Literal>：
                                            </span>
                                        </td>
                                        <td style="height: 23px">
                                            <asp:TextBox ID="txtdbServer" runat="server" Style="width: 200px" Text="(local)"></asp:TextBox></td>
                                    </tr>
                                    <tr>
                                        <td class="inputstyle">
                                            <span>
                                                <asp:Literal ID="literalPort" runat="server" Text="<%$ Resources:InstallerStep,IDS_FormField_Port%>"></asp:Literal>：</span>
                                        </td>
                                        <td>
                                            <asp:TextBox ID="txtdbPort" runat="server" Style="width: 200px" Text="1433"></asp:TextBox>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="inputstyle">
                                            <span>
                                                <asp:Literal ID="lbldbName" runat="server" EnableViewState="False" Text="<%$ Resources:InstallerStep,IDS_FormField_dbName%>"></asp:Literal>：
                                            </span>
                                        </td>
                                        <td>
                                            <asp:TextBox ID="txtdbName" runat="server" Style="width: 200px"></asp:TextBox>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="inputstyle">
                                            <span>
                                                <asp:Literal ID="lbldblogin" runat="server" EnableViewState="False" Text="<%$ Resources:InstallerStep,IDS_FormField_dbLogin%>"></asp:Literal>：
                                            </span>
                                        </td>
                                        <td>
                                            <asp:TextBox ID="txtdbLogin" runat="server" Style="width: 200px"></asp:TextBox>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="inputstyle">
                                            <span>
                                                <asp:Literal ID="lbldbpasword" runat="server" EnableViewState="False" Text="<%$ Resources:InstallerStep,IDS_FormField_dbPassword%>"></asp:Literal>：
                                            </span>
                                        </td>
                                        <td>
                                            <asp:Literal ID="litPassword" runat="server" Visible="False"></asp:Literal>
                                            <asp:TextBox ID="txtdbPassWord" runat="server" Style="width: 200px" TextMode="Password"></asp:TextBox>
                                        </td>
                                    </tr>
                                </table>
                            </asp:WizardStep>
                            <asp:WizardStep ID="WizardStep2" runat="server" AllowReturn="false">
                                <table cellpadding="0" cellspacing="0" border="0">
                                    <tr>
                                        <td colspan="2">
                                            <div style="color: Red">
                                                <b>
                                                    <asp:Label ID="litSetpErrorMessage" runat="server"></asp:Label>
                                                </b>
                                            </div>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="dataTitle" colspan="2">
                                            <asp:Literal ID="Literal14" runat="server" EnableViewState="False" Text="<%$ Resources:InstallerStep,IDS_FormField_StepSeconed%>"></asp:Literal>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td colspan="2">
                                            <asp:Literal ID="Literal15" runat="server" EnableViewState="False" Text="<%$ Resources:InstallerStep,IDS_FormField_Step2Desciption%>"></asp:Literal>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <asp:Literal ID="lblUserName" runat="server" EnableViewState="False" Text="<%$ Resources:InstallerStep,IDS_FromField_UserName%>"></asp:Literal>：</td>
                                        <td>
                                            <asp:TextBox ID="txtUserName" runat="server" Style="width: 200px" Text="admin"></asp:TextBox></td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <asp:Literal ID="Literal4" runat="server" EnableViewState="False" Text="<%$ Resources:InstallerStep,IDS_FromField_Email%>"></asp:Literal>：</td>
                                        <td>
                                            <asp:TextBox ID="txtEmail" runat="server" Style="width: 200px"></asp:TextBox>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <asp:Literal ID="lblPwd" runat="server" EnableViewState="False" Text="<%$ Resources:InstallerStep,IDS_FromField_Password%>"></asp:Literal>：
                                        </td>
                                        <td>
                                            <asp:TextBox ID="txtPassword" runat="server" Style="width: 200px" TextMode="Password"></asp:TextBox>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <asp:Literal ID="lblPwdAgain" runat="server" EnableViewState="False" Text="<%$ Resources:InstallerStep,IDS_FromField_ComPassword%>"></asp:Literal>：
                                        </td>
                                        <td>
                                            <asp:TextBox ID="txtPasswordCompare" runat="server" Style="width: 200px" TextMode="Password"></asp:TextBox>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <asp:Literal ID="Literal2" runat="server" EnableViewState="False" Text="<%$ Resources:InstallerStep,IDS_FromField_Currency%>"></asp:Literal>：
                                        </td>
                                        <td>
                                            <Hishop:SupportedCurrencyDropDownList runat="server" ID="dropCurrency" />
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <span>
                                                <asp:Literal ID="Literal16" runat="server" EnableViewState="False" Text="<%$ Resources:InstallerStep,IDS_FromField_DefalutData%>"></asp:Literal>：</span>
                                        </td>
                                        <td>
                                            <asp:CheckBox ID="chkSample" runat="server" Text="<%$ Resources:InstallerStep,IDS_FromField_ISDefalut%>"
                                                Checked="True" />
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                        </td>
                                        <td class="zhushi">
                                            <asp:Literal ID="Literal17" runat="server" EnableViewState="False" Text="<%$ Resources:InstallerStep,IDS_FromField_Zhushi%>"></asp:Literal></td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <asp:Literal ID="Literal1" runat="server" EnableViewState="False" Text="<%$ Resources:InstallerStep,IDS_FromField_SiteName%>"></asp:Literal>：
                                        </td>
                                        <td>
                                            <asp:TextBox ID="txtSiteName" runat="server"></asp:TextBox>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <asp:Literal ID="Literal3" runat="server" EnableViewState="False" Text="<%$ Resources:InstallerStep,IDS_FromField_SiteDescription%>"></asp:Literal>：
                                        </td>
                                        <td>
                                            <asp:TextBox ID="txtDesciption" runat="server"></asp:TextBox>
                                        </td>
                                    </tr>
                                </table>
                            </asp:WizardStep>
                            <asp:WizardStep ID="WizardStep3" runat="server" AllowReturn="false">
                            </asp:WizardStep>
                        </WizardSteps>
                        <NavigationStyle HorizontalAlign="Center" />
                        <NavigationButtonStyle CssClass="inp_L1" />
                    </asp:Wizard>
                </div>
            </div>
        </div>
    </form>
</body>
</html>
