<%@ Page Language="C#" AutoEventWireup="false" %>
<%@ Register TagPrefix="Hishop" Namespace="Hishop.Web.Controls" Assembly="Hishop.Web.Controls" %>
<%@ Register TagPrefix="Hishop" Namespace="Hishop.Web.Management" Assembly="Hishop.Web.Management" %>
<%@ Register TagPrefix="Hishop" Namespace="Hishop.Web.Validator" Assembly="Hishop.Web.Validator" %>
<%@ Register Assembly="FredCK.FCKeditorV2" Namespace="FredCK.FCKeditorV2" TagPrefix="FCKeditorV2" %>
<%@ 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>
    <Hishop:HeadContainer ID="HeadContainer1" runat="server" />
    <Hishop:PageTitle ID="PageTitle1" runat="server" />
    <link rel="stylesheet" href="../../utility/validate/pagevalidator.css" type="text/css" />
    <link rel="stylesheet" href="../css/Hishopv5.css" type="text/css" />
    <script type="text/javascript" src="../../utility/jquery-1.3.2.min.js"></script>
    <script type="text/javascript" src="../../utility/validate/pagevalidator.js"></script>
    
    <script type="text/javascript" src="../js/Hishopv5.js"></script>
</head>
<body>
    <form id="form1" runat="server">
        <div>
            <div class="PageTitleArea">
                <div class="PageTitle">
                    <asp:Literal ID="lblPageTitle" runat="server" Text="<%$ Resources:RegistrationSettings,IDM_RegistrationSettingsTitle %>"></asp:Literal>
                </div>
                <div style="width: 80%;">
                    <asp:Literal ID="lblPageDesc" runat="server" Text="<%$ Resources:RegistrationSettings,IDM_RegistrationSettingsDescriptions %>"></asp:Literal>
                </div>
            </div>
            
            <Hishop:RegistrationSettings ID="RegistrationSettings" runat="server">
            <SkinTemplate>
<div id="updateMsg"><Hishop:StatusMessage id="Status" runat="server" Visible="False"></Hishop:StatusMessage></div>

<table border="0" cellpadding="0" cellspacing="0" width="100%" class="formTableList">
<!--允许用户登录--> 
    <tr>
        <td class="leftTD" style="width:160px;"><asp:Label ID="Label2" runat="server" Text="<%$ Resources:RegistrationSettings,IDM_lblAllowLogin %>"></asp:Label></td>
        <td class="rightTD"><Hishop:AllowLoginRadioButtonList ID="ynrblAllowLogin" runat="server"></Hishop:AllowLoginRadioButtonList> </td>
        <td class="rightTD">
            <div class="msgNormal">
                <asp:Literal ID="lblAllowLogin" runat="server" Text="<%$Resources:RegistrationSettings,IDM_help02 %>" />
            </div>
        </td>
    </tr>
<!--允许用户注册--> 
    <tr>
        <td class="leftTD" style="width:160px;"><asp:Label ID="Label3" runat="server" Text="<%$ Resources:RegistrationSettings,IDM_lblAllowNewUserRegistration %>"></asp:Label></td>
        <td class="rightTD"><Hishop:YesNoRadioButtonList ID="ynrblAllowNewUserRegistration" runat="server"></Hishop:YesNoRadioButtonList> </td>
        <td class="rightTD">
            <div class="msgNormal">
                <asp:Literal ID="Literal1" runat="server" Text="<%$Resources:RegistrationSettings,IDM_help04 %>" />
            </div>
        </td>
    </tr>
<!--提现最小金额-->
    <tr>
        <td class="leftTD" style="width:160px;"><asp:Label ID="Label1" runat="server" CssClass="style11" Text="<%$ Resources:RegistrationSettings,IDM_lblMinDrawMoney%>"></asp:Label></td>
        <td class="rightTD"><asp:TextBox ID="txtMinDrawMoney" runat="server"></asp:TextBox></td>
        <td class="rightTD">
            <div id="txtMinDrawMoneyTip" runat="server"></div>
            <Hishop:ValidateTarget ID="ValidateMinDrawMoney"  ContainerId="ValidatorContainer" runat="server" ControlToValidate="txtMinDrawMoney" 
                  Description="<%$ Resources:RegistrationSettings, IDM_help09%>" Nullable="false">
               <Validators>
                  <Hishop:InputMoneyClientValidator ErrorMessage="<%$ Resources:RegistrationSettings, IDM_help09%>" />
               </Validators>
            </Hishop:ValidateTarget> 
        </td>
    </tr>
<!--允许会员（代理商）添加收货地址的数量-->
    <tr>
        <td class="leftTD" style="width:160px;"><asp:Label ID="Label10" runat="server" CssClass="style11" Text="<%$ Resources:RegistrationSettings,IDM_lblShippingAddressQuantity %>"></asp:Label></td>
        <td class="rightTD"><asp:TextBox ID="txtShippingAddressQuantity" runat="server"></asp:TextBox></td>
        <td class="rightTD">
            <div id="txtShippingAddressQuantityTip" runat="server"></div>
            <Hishop:ValidateTarget ID="ValidateShippingAddressQuantity"  ContainerId="ValidatorContainer" runat="server" ControlToValidate="txtShippingAddressQuantity" 
                  Description="<%$ Resources:RegistrationSettings, IDM_help03%>" Nullable="false">
               <Validators>
                  <Hishop:InputNumberClientValidator ErrorMessage="<%$ Resources:RegistrationSettings, IDM_help03%>" />
                  <Hishop:NumberRangeClientValidator ErrorMessage="<%$ Resources:RegistrationSettings, IDM_help03%>" MinValue="0"/>
               </Validators>
            </Hishop:ValidateTarget> 
        </td>
    </tr>
<!--收款账号数量限制-->
    <tr style="display:none;">
        <td class="leftTD" style="width:160px;"><asp:Label ID="Label11" CssClass="style11" runat="server" Text="<%$ Resources:RegistrationSettings,IDM_lblMemberPaymentModeQuantity %>"></asp:Label></td>
        <td class="rightTD"><asp:TextBox ID="txtMemberPaymentModeQuantity" runat="server"></asp:TextBox> </td>
        <td class="rightTD">
            <div id="txtMemberPaymentModeQuantityTip" runat="server"></div>
            <Hishop:ValidateTarget ID="ValidatetxtMemberPaymentModeQuantity"  ContainerId="ValidatorContainer" runat="server" ControlToValidate="txtMemberPaymentModeQuantity"
                  Description="<%$ Resources:RegistrationSettings, IDM_help10%>" Nullable="true">
               <Validators>
                  <Hishop:InputNumberClientValidator ErrorMessage="<%$ Resources:RegistrationSettings, IDM_help10%>" />
                  <Hishop:NumberRangeClientValidator ErrorMessage="<%$ Resources:RegistrationSettings, IDM_help10%>" MinValue="0"/>
               </Validators>
            </Hishop:ValidateTarget> 
        </td>
    </tr>
<!--帐户注册激活类型--> 
    <tr>
        <td class="leftTD" style="width:160px;"><asp:Label ID="Label7" runat="server" Text="<%$ Resources:RegistrationSettings,IDM_lblAccountActivation %>"></asp:Label></td>
        <td class="rightTD"><Hishop:AccountActivationRadioButtonList ID="aarbAccountActivation" runat="server"></Hishop:AccountActivationRadioButtonList></td>
        <td class="rightTD">
            <div class="msgNormal">
                <asp:Literal ID="lblAccountActivation" runat="server" Text="<%$Resources:RegistrationSettings,IDM_help07 %>" />
            </div>
        </td>
    </tr>
<!--注册服务条款-->
    <tr>
        <td class="leftTD" style="width:160px;"><asp:Label ID="Label15" runat="server" Text="<%$ Resources:RegistrationSettings, IDM_lblTermsOfService %>"></asp:Label></td>
        <td class="rightTD" colspan="2"><fckeditorv2:fckeditor id="fkTermsOfService" runat="server" Width="99%" EnableXHTML="true" EnableSourceXHTML="true" basepath="~/FCKeditor/" height="200px" ></fckeditorv2:fckeditor></td>
    </tr>
<!--按钮-->
    <tr>
        <td class="bottonLeftTD" style="width:160px;">&nbsp;</td>
        <td class="rightTD">
            <asp:Button ID="btnChangeRegistrationSettings" OnClientClick="return PageIsValid();" runat="server" Text="<%$ Resources:RegistrationSettings, IDM_btnChangeRegistrationSettings %>"  CssClass="inp_L1"></asp:Button >
        </td>
    </tr>
</table>        
            </SkinTemplate>
            </Hishop:RegistrationSettings>
            
        </div>
        <br />
        <div style="text-align:center">
            <hr style="width:500px;" />
            <Hishop:SiteCopyright runat="server" />
        </div>
        <br />
        <Hishop:ValidatorContainer runat="server" ID="ValidatorContainer" />
    </form>
</body>
</html>
