<%@ 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 TagPrefix="Kindeditor" Namespace="kindeditor.Net" Assembly="kindeditor.Net" %>
<%@ Register TagPrefix="UI" Namespace="ASPNET.WebControls" Assembly="ASPNET.WebControls" %>

<!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="../css/Hishopv5.css" type="text/css" media="screen" />
    <link rel="stylesheet" href="../../utility/validate/pagevalidator.css" type="text/css" media="screen" />
    <style>
    .rebuild{}
    .rebuild td{padding-right:10px;}
    </style>
    <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>
    <script type="text/javascript" src="../js/ColorSelect.js"></script>
    <script type="text/javascript" src="../js/Rebuild.js"></script>
    <script type="text/javascript">
         $(document).ready(function() {
              PrintWarter();
              intocolor();
               
              var select = document.getElementById("select");
              select.style.backgroundColor = document.getElementById("SiteContent_waterTextColor").value;
         });
    
         function PrintWarter()
         {
              var SiteContent_rbtnIsOpen_0 = document.getElementById("SiteContent_warterPrintType_0");
              var SiteContent_rbtnIsOpen_1 = document.getElementById("SiteContent_warterPrintType_1");
              var SiteContent_rbtnIsOpen_2 = document.getElementById("SiteContent_warterPrintType_2");
              var warterPicture = document.getElementById("warterPictureTable");
              var warterText = document.getElementById("warterTextTable");

              if (SiteContent_rbtnIsOpen_0.checked == true)
              {
                  warterPicture.style.display = "none";
                  warterText.style.display = "none";
              }
              
              if (SiteContent_rbtnIsOpen_1.checked == true)
              {
                  warterPicture.style.display = "block";
                  warterText.style.display = "none";
              }
              
              if (SiteContent_rbtnIsOpen_2.checked == true)
              {
                  warterPicture.style.display = "none";
                  warterText.style.display = "block";
              }
         }
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    <div class="PageTitleArea">
        <div class="PageTitle">
            <asp:Literal ID="litManagerTop" runat="server" Text="<%$ Resources:SiteContent, IDS_PageTitle %>"></asp:Literal>
        </div>
        <div style="width: 80%;">
            <asp:Literal ID="litManagerDisciption" runat="server" Text="<%$ Resources:SiteContent, IDS_PageDesc %>"></asp:Literal>
        </div>
    </div>
    <Hishop:SiteContent ID="SiteContent" runat="server">
        <SkinTemplate>
            <Hishop:StatusMessage ID="Status" runat="server" Visible="False" />
            <UI:TabStrip runat="server" ID="Tabs" Width="100%">
                <Tabs>
                    <UI:TabStripTab runat="server" Title="基本信息">
                        <table border="0" cellpadding="0" cellspacing="0" width="100%" class="formTableList">
                            <!--店铺名称-->
                            <tr>
                                <td class="leftTD" style="width: 130px;">
                                    <asp:Label runat="server" Text="<%$ Resources:SiteContent, IDM_lblSitName%>"></asp:Label>
                                </td>
                                <td class="rightTD">
                                    <asp:TextBox ID="txtSiteName" runat="server" Width="280px"></asp:TextBox>
                                </td>
                                <td class="rightTD">
                                    <div id="txtSiteNameTip" runat="server">
                                    </div>
                                    <Hishop:ValidateTarget ID="validateTargetUserName" ContainerId="ValidatorContainer"
                                        runat="server" ControlToValidate="txtSiteName" Description="<%$ Resources:SiteContent, IDM_help01%>" Nullable="false" ValidateGroup="ShopSet">
                                        <Validators>
                                            <Hishop:InputStringClientValidator ErrorMessage="<%$ Resources:SiteContent, IDM_help01%>" LowerBound="1" UpperBound="30" />
                                        </Validators>
                                    </Hishop:ValidateTarget>
                                </td>
                            </tr>
                            <!--店铺Logo-->
                            <tr>
                                <td class="leftTD" style="width: 130px;">
                                    <asp:Label ID="lblLogo" runat="server" Text="<%$ Resources:SiteContent, IDS_lblLogo %>"></asp:Label>：
                                </td>
                                <td class="rightTD">
                                    <asp:FileUpload ID="fileUpload" runat="server" Width="280px" />
                                </td>
                                <td class="rightTD">
                                    <div class="msgNormal">
                                        <Hishop:UploadImageMessageLabel runat="server" ID="uploadMessage"></Hishop:UploadImageMessageLabel>
                                    </div>
                                </td>
                            </tr>
                            <tr id="tblrLogo" runat="server">
                                <td class="leftTD" style="width: 130px;">
                                </td>
                                <td class="rightTD" colspan="2"><a href="../../Default.aspx" target="_blank">
                                    <Hishop:Common_Image ID="imgLogo" EnabledTimestamp="true" runat="server" /></a>
                                    <span><Hishop:DeleteImageLinkButton ID="btnDeleteLogo" runat="server" Text="<%$ Resources:Resources, IDS_Button_Delete %>" /></span>
                                </td>
                            </tr>
                            <!--主域名-->
                            <tr>
                                <td class="leftTD" style="width: 130px;">
                                    <asp:Label runat="server" Text="<%$ Resources:SiteContent, IDS_SiteUrl%>"></asp:Label>：
                                </td>
                                <td class="rightTD">
                                    http://<asp:TextBox ID="txtDomainName" Width="240px" runat="server"></asp:TextBox>
                                </td>
                                <td class="rightTD">
                                    <div id="txtDomainNameTip" runat="server">
                                    </div>
                                    <Hishop:ValidateTarget ID="validateTarget1" ContainerId="ValidatorContainer" runat="server"
                                        ControlToValidate="txtDomainName" Description="<%$ Resources:SiteContent, IDS_SiteUrl_Help%>"
                                        Nullable="false" ValidateGroup="ShopSet">
                                        <Validators>
                                            <Hishop:InputStringClientValidator ErrorMessage="<%$ Resources:SiteContent, IDS_SiteUrl_Help%>"
                                                LowerBound="0" UpperBound="30" />
                                        </Validators>
                                    </Hishop:ValidateTarget>
                                </td>
                            </tr>
                            <!--简单介绍-->
                            <tr>
                                <td class="leftTD" style="width: 130px;">
                                    <asp:Label runat="server" Text="<%$ Resources:SiteContent, IDM_lblSiteDescription%>"></asp:Label>
                                </td>
                                <td class="rightTD">
                                    <asp:TextBox ID="txtSiteDescription" Width="280px" runat="server"></asp:TextBox>
                                </td>
                                <td class="rightTD">
                                    <div id="txtSiteDescriptionTip" runat="server">
                                    </div>
                                    <Hishop:ValidateTarget ID="validateTargetSiteDescription" ContainerId="ValidatorContainer"
                                        runat="server" ControlToValidate="txtSiteDescription" Description="<%$ Resources:SiteContent, IDM_help02%>"
                                        Nullable="true" ValidateGroup="ShopSet">
                                        <Validators>
                                            <Hishop:InputStringClientValidator ErrorMessage="<%$ Resources:SiteContent, IDM_help02%>"
                                                LowerBound="0" UpperBound="60" />
                                        </Validators>
                                    </Hishop:ValidateTarget>
                                </td>
                            </tr>
                            <!--店铺描述-->
                            <tr>
                                <td class="leftTD" style="width: 130px;">
                                    <asp:Label runat="server" Text="<%$ Resources:SiteContent, IDM_lblSearchMetaDescription %>"></asp:Label>
                                </td>
                                <td class="rightTD">
                                    <asp:TextBox ID="txtSearchMetaDescription" runat="server" Width="280px"></asp:TextBox>
                                </td>
                                <td class="rightTD">
                                    <div id="txtSearchMetaDescriptionTip" runat="server">
                                    </div>
                                    <Hishop:ValidateTarget ID="validateTargetSearchMetaDescription" ContainerId="ValidatorContainer"
                                        runat="server" ControlToValidate="txtSearchMetaDescription" Description="<%$ Resources:SiteContent, IDM_help03%>"
                                        Nullable="true" ValidateGroup="ShopSet">
                                        <Validators>
                                            <Hishop:InputStringClientValidator ErrorMessage="<%$ Resources:SiteContent, IDM_help03%>" />
                                        </Validators>
                                    </Hishop:ValidateTarget>
                                </td>
                            </tr>
                            <!--搜索关键字-->
                            <tr>
                                <td class="leftTD" style="width: 130px;">
                                    <asp:Label runat="server" Text="<%$ Resources:SiteContent, IDM_lblSearchMetaKeywords %>"></asp:Label>
                                </td>
                                <td class="rightTD">
                                    <Hishop:DefaultButtonTextBox ID="txtSearchMetaKeywords" Width="280px" runat="server"></Hishop:DefaultButtonTextBox>
                                </td>
                                <td class="rightTD">
                                    <div id="txtSearchMetaKeywordsTip" runat="server">
                                    </div>
                                    <Hishop:ValidateTarget ID="validateTargetSearchMetaKeywords" ContainerId="ValidatorContainer"
                                        runat="server" ControlToValidate="txtSearchMetaKeywords" Description="<%$ Resources:SiteContent, IDM_help04%>"
                                        Nullable="true" ValidateGroup="ShopSet">
                                        <Validators>
                                            <Hishop:InputStringClientValidator ErrorMessage="<%$ Resources:SiteContent, IDM_help04%>" />
                                        </Validators>
                                    </Hishop:ValidateTarget>
                                </td>
                            </tr>
                            <!--是否开启伪静态-->
                            <tr>
                                <td class="leftTD" style="width: 130px;">
                                    <asp:Label runat="server" Text="<%$ Resources:SiteContent,IDM_lblEnableHtmRewrite %>"></asp:Label>
                                </td>
                                <td class="rightTD">
                                    <Hishop:YesNoRadioButtonList ID="radlEnableHtmRewrite" runat="server">
                                    </Hishop:YesNoRadioButtonList>
                                </td>
                                <td class="rightTD">
                                    <div class="msgNormal">
                                        <asp:Literal runat="server" Text="<%$Resources:SiteContent,IDM_lblEnableHtmRewrite_Help %>" />
                                    </div>
                                </td>
                            </tr>
                            
                            <!--是否显示团购标签-->
                            <tr>
                                <td class="leftTD" style="width: 130px;">
                                    <asp:Label ID="Label4" runat="server" Text="是否显示团购标签"></asp:Label>
                                </td>
                                <td class="rightTD">
                                    <Hishop:YesNoRadioButtonList ID="radlIsShowGroupBuy" runat="server">
                                    </Hishop:YesNoRadioButtonList>
                                </td>
                                <td class="rightTD">
                                    <div class="msgNormal">
                                        <asp:Literal ID="Literal1" runat="server" Text="如果网站有团购活动可以显示此标签" />
                                    </div>
                                </td>
                            </tr>
                            
                            <!--是否显示限时抢购标签-->
                            <tr>
                                <td class="leftTD" style="width: 130px;">
                                    <asp:Label ID="Label5" runat="server" Text="是否显示限时抢购标签"></asp:Label>
                                </td>
                                <td class="rightTD">
                                    <Hishop:YesNoRadioButtonList ID="radlIsShowCountDown" runat="server">
                                    </Hishop:YesNoRadioButtonList>
                                </td>
                                <td class="rightTD">
                                    <div class="msgNormal">
                                        <asp:Literal ID="Literal2" runat="server" Text="如果网站有限时抢购活动可以显示此标签" />
                                    </div>
                                </td>
                            </tr>
                            
                            <!--是否显示积分商城标签-->
                            <tr>
                                <td class="leftTD" style="width: 130px;">
                                    <asp:Label ID="Label6" runat="server" Text="是否显示积分商城标签"></asp:Label>
                                </td>
                                <td class="rightTD">
                                    <Hishop:YesNoRadioButtonList ID="radlIsShowOnlineGift" runat="server">
                                    </Hishop:YesNoRadioButtonList>
                                </td>
                                <td class="rightTD">
                                    <div class="msgNormal">
                                        <asp:Literal ID="Literal3" runat="server" Text="如果网站有积分兑换活动可以显示此标签" />
                                    </div>
                                </td>
                            </tr>
                            
                            <!--店铺样式-->
                            <tr style="display: none">
                                <td class="leftTD" style="width: 130px;">
                                    <asp:Label runat="server" Text="<%$ Resources:SiteContent, IDM_lblDefaultTheme %>"></asp:Label>
                                </td>
                                <td class="rightTD">
                                    <Hishop:ThemeDropDownList ID="dropDefaultTheme" runat="server">
                                    </Hishop:ThemeDropDownList>
                                </td>
                                <td class="rightTD">
                                    <div id="dropDefaultThemeTip" runat="server">
                                    </div>
                                    <Hishop:ValidateTarget ID="ValidateDefaultTheme" ContainerId="ValidatorContainer"
                                        runat="server" ControlToValidate="dropDefaultTheme" Description="<%$ Resources:SiteContent, IDM_help06 %>"
                                        Nullable="false" ValidateGroup="ShopSet">
                                        <Validators>
                                            <Hishop:DropDownListClientValidator ErrorMessage="<%$ Resources:SiteContent, IDM_help06%>" />
                                        </Validators>
                                    </Hishop:ValidateTarget>
                                </td>
                            </tr>
                            <!--店铺使用的默认货币-->
                            <tr>
                                <td class="leftTD" style="width: 130px;">
                                    <asp:Label runat="server" Text="<%$ Resources:SiteContent, IDM_lblDefaultCurrency %>"></asp:Label>
                                </td>
                                <td class="rightTD">
                                    <Hishop:CurrencyDropDownList ID="dropDefaultCurrency" runat="server" />
                                </td>
                                <td class="rightTD">
                                    <div id="dropDefaultCurrencyTip" runat="server">
                                    </div>
                                    <Hishop:ValidateTarget ID="ValidateTargetdropDefaultCurrency" ContainerId="ValidatorContainer"
                                        runat="server" ControlToValidate="dropDefaultCurrency" Description="<%$ Resources:SiteContent, IDM_help08 %>"
                                        Nullable="false" ValidateGroup="ShopSet">
                                        <Validators>
                                            <Hishop:DropDownListClientValidator ErrorMessage="<%$ Resources:SiteContent, IDM_help08 %>" />
                                        </Validators>
                                    </Hishop:ValidateTarget>
                                </td>
                            </tr>
                            <!--在线用户统计-->
                            <tr style="display: none">
                                <td class="leftTD" style="width: 130px;">
                                    <asp:Label runat="server" Text="<%$ Resources:SiteContent,IDM_lblEnableWhoIsOnline %>"></asp:Label>
                                </td>
                                <td class="rightTD">
                                    <Hishop:YesNoRadioButtonList ID="ynrblEnableWhoIsOnline" runat="server">
                                    </Hishop:YesNoRadioButtonList>
                                </td>
                                <td class="rightTD">
                                    <div class="msgNormal">
                                        <asp:Literal ID="lblEnableWhoIsOnline" runat="server" Text="<%$Resources:SiteContent,IDM_help11 %>" />
                                    </div>
                                </td>
                            </tr>
                            <!--开启版本检查-->
                            <tr style="display: none">
                                <td class="leftTD" style="width: 130px;">
                                    <asp:Label runat="server" Text="<%$ Resources:SiteContent,IDM_lblEnableVersionCheck %>"></asp:Label>
                                </td>
                                <td class="rightTD">
                                    <Hishop:YesNoRadioButtonList ID="ynrblEnableVersionCheck" runat="server">
                                    </Hishop:YesNoRadioButtonList>
                                </td>
                                <td class="rightTD">
                                    <div class="msgNormal">
                                        <asp:Literal ID="lblEnableVersionCheck" runat="server" Text="<%$Resources:SiteContent,IDM_help12 %>" />
                                    </div>
                                </td>
                            </tr>
                            <!--分页大小-->
                            <tr>
                                <td class="leftTD" style="width: 130px;">
                                    <asp:Label runat="server" Text="<%$ Resources:SiteContent,IDM_lblPageSize %>"></asp:Label>
                                </td>
                                <td class="rightTD">  
                                    <Hishop:PageSizeDropDownList ID="dropPageSize" runat="server" />
                                </td>
                                <td class="rightTD">
                                    <div id="dropPageSizeTip" runat="server">
                                    </div>
                                    <Hishop:ValidateTarget ID="validatePageSize" ContainerId="ValidatorContainer" runat="server"
                                        ControlToValidate="dropPageSize" Description="<%$ Resources:SiteContent, IDM_help07%>"
                                        Nullable="false" ValidateGroup="ShopSet">
                                        <Validators>
                                            <Hishop:DropDownListClientValidator ErrorMessage="<%$ Resources:SiteContent, IDM_help07%>" />
                                        </Validators>
                                    </Hishop:ValidateTarget>
                                </td>
                            </tr>
                            <!--版权信息-->
                            <tr>
                                <td class="leftTD" style="width: 130px;">
                                    <asp:Label runat="server" Text="<%$ Resources:SiteContent, IDM_lblCopyright%>"></asp:Label>
                                </td>
                                <td class="rightTD">
                                    <asp:TextBox ID="txtCopyright" runat="server" Width="280px"></asp:TextBox><br />
                                    <asp:Literal ID="litCopyright" runat="server" />
                                </td>
                                <td class="rightTD">
                                    <div id="txtCopyrightTip" runat="server">
                                    </div>
                                    <Hishop:ValidateTarget ID="ValidateCopyright" ContainerId="ValidatorContainer" runat="server"
                                        ControlToValidate="txtCopyright" Description="<%$ Resources:SiteContent, IDM_help13 %>"
                                        Nullable="true" ValidateGroup="ShopSet">
                                        <Validators>
                                            <Hishop:InputStringClientValidator ErrorMessage="<%$ Resources:SiteContent, IDM_help13%>" />
                                        </Validators>
                                    </Hishop:ValidateTarget>
                                </td>
                            </tr>
                            <!--在线客服-->
                            <tr>
                                <td class="leftTD" style="width: 130px;">
                                    在线客服：
                                </td>
                                <td class="rightTD" colspan="2">
                                           <Kindeditor:KindeditorControl ID="fkOnlineService" runat="server" Height="200px" Width="99%" />
                                </td>
                            </tr>
                            <!--自定放页尾-->
                            <tr>
                                <td class="leftTD" style="width: 130px;">
                                    <asp:Label runat="server" Text="<%$ Resources:SiteContent, IDM_lblFooter%>"></asp:Label>
                                </td>
                                <td class="rightTD" colspan="2">
                                           <Kindeditor:KindeditorControl ID="fkFooter" runat="server" ImportLib="false" Height="200px" Width="99%" />
                                </td>
                            </tr>
                            <!--按钮-->
                            <tr>
                                <td class="bottonLeftTD" style="width: 130px;">
                                    &nbsp;
                                </td>
                                <td class="rightTD">
                                    <asp:Button ID="btnChangeSiteSet" OnClientClick="return PageIsValid('ShopSet');" runat="server"
                                        Text="<%$ Resources:SiteContent, IDM_btnChangeSet %>" CssClass="inp_L1"></asp:Button>
                                </td>
                                <td class="rightTD">
                                    &nbsp;
                                </td>
                            </tr>
                        </table>
                    </UI:TabStripTab>
                    <UI:TabStripTab runat="server" Title="客户设置">
                        <table border="0" cellpadding="0" cellspacing="0" width="100%" class="formTableList">
                        <!--允许用户登录--> 
                            <tr>
                                <td class="leftTD" style="width:160px;"><asp:Label runat="server" Text="<%$ Resources:SiteContent,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:SiteContent,IDM_Customhelp02 %>" />
                                    </div>
                                </td>
                            </tr>
                        <!--允许用户注册--> 
                            <tr>
                                <td class="leftTD" style="width:160px;"><asp:Label runat="server" Text="<%$ Resources:SiteContent,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 runat="server" Text="<%$Resources:SiteContent,IDM_Customhelp04 %>" />
                                    </div>
                                </td>
                            </tr>
                        <!--提现最小金额-->
                            <tr>
                                <td class="leftTD" style="width:160px;"><asp:Label runat="server" CssClass="style11" Text="<%$ Resources:SiteContent,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:SiteContent, IDM_Customhelp09%>" Nullable="false" ValidateGroup="CustomSet">
                                       <Validators>
                                          <Hishop:InputMoneyClientValidator ErrorMessage="<%$ Resources:SiteContent, IDM_Customhelp09%>" />
                                       </Validators>
                                    </Hishop:ValidateTarget> 
                                </td>
                            </tr>
                        <!--允许会员（代理商）添加收货地址的数量-->
                            <tr>
                                <td class="leftTD" style="width:160px;"><asp:Label runat="server" CssClass="style11" Text="<%$ Resources:SiteContent,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:SiteContent, IDM_Customhelp03%>" Nullable="false" ValidateGroup="CustomSet">
                                       <Validators>
                                          <Hishop:InputNumberClientValidator ErrorMessage="<%$ Resources:SiteContent, IDM_Customhelp03%>" />
                                          <Hishop:NumberRangeClientValidator ErrorMessage="<%$ Resources:SiteContent, IDM_Customhelp03%>" 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:SiteContent,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:SiteContent, IDM_Customhelp10%>" Nullable="true" ValidateGroup="CustomSet">
                                       <Validators>
                                          <Hishop:InputNumberClientValidator ErrorMessage="<%$ Resources:SiteContent, IDM_Customhelp10%>" />
                                          <Hishop:NumberRangeClientValidator ErrorMessage="<%$ Resources:SiteContent, IDM_Customhelp10%>" MinValue="0"/>
                                       </Validators>
                                    </Hishop:ValidateTarget> 
                                </td>
                            </tr>
                        <!--注册服务条款-->
                            <tr>
                                <td class="leftTD" style="width:160px;"><asp:Label ID="Label15" runat="server" Text="<%$ Resources:SiteContent, IDM_lblTermsOfService %>"></asp:Label></td>
                                <td class="rightTD" colspan="2">
                                <Kindeditor:KindeditorControl ID="fkTermsOfService" ImportLib="false" runat="server" Height="200px" Width="99%" />
                            </tr>
                        <!--按钮-->
                            <tr>
                                <td class="bottonLeftTD" style="width:160px;">&nbsp;</td>
                                <td class="rightTD">
                                    <asp:Button ID="btnChangeRegistrationSettings" OnClientClick="return PageIsValid('CustomSet');" runat="server" Text="<%$ Resources:SiteContent, IDM_btnChangeRegistrationSettings %>"  CssClass="inp_L1"></asp:Button >
                                </td>
                            </tr>
                        </table>    
                    </UI:TabStripTab>
                    <UI:TabStripTab runat="server" Title="商品设置">
                        <table border="0" cellpadding="0" cellspacing="0" width="100%" class="formTableList">
                        <!--商品精确的小数位数-->
                            <tr>
                                <td class="leftTD" style="width: 130px;">
                                    <asp:Label runat="server" Text="商品价格精确到小数点后位数"></asp:Label>：
                                </td>
                                <td class="rightTD">
                                    <Hishop:BitNumbersDropDownList ID="dropBitNumber" runat="server" />
                                </td>
                                <td class="rightTD">
                                    <div id="dropBitNumberTip" runat="server">
                                    </div>
                                    <Hishop:ValidateTarget ID="ValidateTarget2" ContainerId="ValidatorContainer" runat="server"
                                        ControlToValidate="dropBitNumber" Description="设置商品的价格经过运算后数值精确到小数点后几位，超出将四舍五入。"
                                        Nullable="false" ValidateGroup="ProductSet">
                                        <Validators>
                                            <Hishop:DropDownListClientValidator ErrorMessage="设置商品的价格经过运算后数值精确到小数点后几位，超出将四舍五入。" />
                                        </Validators>
                                    </Hishop:ValidateTarget>
                                </td>
                            </tr>
                            <!--商品设置几远一积分--> 
                            <tr>
                                <td class="leftTD"><asp:Label ID="Label2" runat="server" Text="<%$Resources:SiteContent,IDS_FromField_ProductPointSet %>"></asp:Label>：</td>
                                <td class="rightTD"><asp:TextBox Id="txtProductPointSet" runat="server"></asp:TextBox> </td>
                                <td class="rightTD">
                                    <div id="txtProductPointSetTip" runat="server"></div>
                                    <Hishop:ValidateTarget ID="ValidateTarget3" ContainerId="ValidatorContainer" runat="server" ControlToValidate="txtProductPointSet" 
                                          Description="<%$Resources:SiteContent,IDS_Message_ProductPointSet %>" Nullable="true" ValidateGroup="ProductSet">
                                       <Validators>
                                          <Hishop:InputMoneyClientValidator ErrorMessage="<%$Resources:SiteContent,IDS_Message_ProductPointSet %>" />
                                          <Hishop:MoneyRangeClientValidator ErrorMessage="<%$Resources:SiteContent,IDS_Message_ProductPointSet %>" MinValue="0.01"/>
                                       </Validators>
                                    </Hishop:ValidateTarget> 
                                </td>
                            </tr>
                            <!--商品设置正式销售价的名称--> 
                            <tr>
                                <td class="leftTD"><asp:Label ID="Label3" runat="server" Text="<%$Resources:SiteContent,IDS_FromField_NamePrice %>"></asp:Label>：</td>
                                <td class="rightTD"><asp:TextBox Id="txtNamePrice" runat="server"></asp:TextBox> </td>
                                <td class="rightTD">
                                    <div id="txtNamePriceTip" runat="server"></div>
                                    <Hishop:ValidateTarget ID="ValidateTarget4"  ContainerId="ValidatorContainer" runat="server" ControlToValidate="txtNamePrice" 
                                          Description="<%$Resources:SiteContent,IDS_Message_NamePrice %>" Nullable="true" ValidateGroup="ProductSet">
                                       <Validators>
                                          <Hishop:InputStringClientValidator ErrorMessage="<%$Resources:SiteContent,IDS_Message_NamePrice_Error %>" LowerBound="1" UpperBound="20"/>
                                       </Validators>
                                    </Hishop:ValidateTarget> 
                                </td>
                            </tr> 
                        <!--商品缩略图高度-->
                            <tr>
                                <td class="leftTD" ><asp:Label ID="lblProductThumbnailPictureHeight" runat="server" Text="<%$ Resources:SiteContent,IDM_lblProductThumbnailPictureHeight %>"></asp:Label></td>
                                <td class="rightTD"><asp:TextBox ID="txtProductThumbnailPictureHeight" runat="server"></asp:TextBox></td>
                                <td class="rightTD">
                                    <div id="txtProductThumbnailPictureHeightTip" runat="server"></div>
                                    <Hishop:ValidateTarget ID="validateProductThumbnailPictureHeight"  ContainerId="ValidatorContainer" runat="server" ControlToValidate="txtProductThumbnailPictureHeight" 
                                          Description="<%$ Resources:SiteContent, IDM_Producthelp05%>" Nullable="false" ValidateGroup="ProductSet">
                                       <Validators>
                                          <Hishop:InputNumberClientValidator ErrorMessage="<%$ Resources:SiteContent, IDM_Producthelp05%>" />
                                          <Hishop:NumberRangeClientValidator ErrorMessage="<%$ Resources:SiteContent, IDS_Invalid_ProductThumbnailPictureHeight_FormatError%>" MinValue="10" />
                                       </Validators>
                                    </Hishop:ValidateTarget> 
                                </td>
                            </tr>
                            <!--商品缩略图宽度-->
                            <tr>
                                <td class="leftTD" ><asp:Label ID="lblProductThumbnailPictureWidth" runat="server" Text="<%$ Resources:SiteContent,IDM_lblProductThumbnailPictureWidth %>"></asp:Label></td>
                                <td class="rightTD">
                                    <asp:TextBox ID="txtProductThumbnailPictureWidth" runat="server"></asp:TextBox>
                                </td>
                                <td class="rightTD">
                                    <div id="txtProductThumbnailPictureWidthTip" runat="server"></div>
                                    <Hishop:ValidateTarget ID="validateProductThumbnailPictureWidth"  ContainerId="ValidatorContainer" runat="server" ControlToValidate="txtProductThumbnailPictureWidth" 
                                          Description="<%$ Resources:SiteContent, IDM_Producthelp06%>" Nullable="false" ValidateGroup="ProductSet">
                                       <Validators>
                                          <Hishop:InputNumberClientValidator ErrorMessage="<%$ Resources:SiteContent, IDM_Producthelp06%>" />
                                          <Hishop:NumberRangeClientValidator ErrorMessage="<%$ Resources:SiteContent, IDS_Invalid_ProductThumbnailPictureWidth_FormatError%>" MinValue="10" />
                                       </Validators>
                                    </Hishop:ValidateTarget> 
                                </td>
                            </tr>  
                            <!--设置暂无商品图片-->
                            <tr>
                                <td class="leftTD"><asp:Label ID="lblNoPicture" runat="server" Text="<%$ Resources:SiteContent,IDM_NoPicture %>"></asp:Label>：</td>
                                <td class="rightTD"> 
                                     <asp:FileUpload ID="productFileUpload" CssClass="SingleText" runat="server" Width="230px" />
                                     <UI:ResizeableImage Width="50" Height="50"  ID="imgDdefaultImage" runat="server" style="border:solid 1px Gray"/>
                                     <asp:ImageButton runat="server" ID="btnDelete" Text="<%$ Resources:Resources, IDS_Button_Delete %>" style="vertical-align:bottom" ImageUrl="~/Admin/images/delicon.gif"></asp:ImageButton>
                                </td>
                                <td class="rightTD">
                                    <div class="msgNormal">
                                        <asp:Label runat="server" Text="<%$ Resources:SiteContent,IDM_Producthelp12 %>"></asp:Label>
                                    </div>
                                </td>
                            </tr>
                            <tr>
                                <td nowrap="nowrap">是否开启商品图片水印：</td>
                                <td class="rightTD"> 
                                    <asp:RadioButtonList runat="server" RepeatDirection="Horizontal" ID="warterPrintType">
                                        <asp:ListItem Text="关闭" Value="PrintClose" onclick="PrintWarter()"></asp:ListItem>
                                        <asp:ListItem Text="开启图片水印" Value="PrintPicture" onclick="PrintWarter()"></asp:ListItem>
                                        <asp:ListItem Text="开启文字水印" Value="PrintText" onclick="PrintWarter()"></asp:ListItem>
                                    </asp:RadioButtonList>   
                                </td>
                                <td class="rightTD">
                                    <div class="msgNormal">图片水印只针对商品相册和商品图， 是否开启商品水印功能</div>
                                </td>
                            </tr>
                            </table>
                            <table border="0" cellpadding="0" cellspacing="0" width="100%" class="formTableList" id="warterPictureTable">
                            <tr>
                                <td class="leftTD" style="width:130px;">图片水印图片：</td>
                                <td class="rightTD" style="width:475px;"> 
                                    <asp:FileUpload ID="warterPicture" CssClass="SingleText" runat="server" Width="230px" /> 
                                    <UI:ResizeableImage Width="50" Height="50"  ID="imgWarterPicture" runat="server" style="border:solid 1px Gray"/>
                                </td>
                                <td class="rightTD">
                                    <div class="msgNormal">水印图片</div>
                                </td>
                            </tr>
                            <tr>
                                <td class="leftTD" style="width:120px;">水印位置：</td>
                                <td class="rightTD"> 
                                    <asp:RadioButtonList ID="warterPicturePosition" runat="server" RepeatDirection="Horizontal" RepeatColumns="3">
                                        <asp:ListItem Text="顶部居左" Value="TopLeft"></asp:ListItem>
                                        <asp:ListItem Text="顶部居中" Value="TopCenter"></asp:ListItem>
                                        <asp:ListItem Text="顶部居右" Value="TopRight"></asp:ListItem>
                                        <asp:ListItem Text="左部居中" Value="CenterLeft"></asp:ListItem>
                                        <asp:ListItem Text="图片中心" Value="Center"></asp:ListItem>
                                        <asp:ListItem Text="右部居中" Value="CenterRight"></asp:ListItem>
                                        <asp:ListItem Text="底部居左" Value="BottomLeft"></asp:ListItem>
                                        <asp:ListItem Text="底部居中" Value="BottomCenter"></asp:ListItem>
                                        <asp:ListItem Text="底部居右" Value="BottomRight"></asp:ListItem>
                                    </asp:RadioButtonList>   
                                </td>
                                <td class="rightTD">
                                    <div class="msgNormal">水印图片位置</div>
                                </td>
                            </tr>
                            <tr>
                                <td class="leftTD" style="width:120px;">图片水印透明度：</td>
                                <td class="rightTD"> 
                                    <asp:TextBox runat="server" Width="155px" ID="warterPictureTransparency"></asp:TextBox>
                                </td>
                                <td class="rightTD">
                                    <div id="warterPictureTransparencyTip" runat="server"></div>
                                    <Hishop:ValidateTarget ID="ValidateTarget5"  ContainerId="ValidatorContainer" runat="server" ControlToValidate="warterPictureTransparency" 
                                          Description="透明度请设置为0-100之间的数字，0代表完全透明100代表不透明" Nullable="false" ValidateGroup="ProductSet">
                                       <Validators>
                                          <Hishop:InputNumberClientValidator ErrorMessage="透明度请设置为0-100之间的数字，0代表完全透明100代表不透明" />
                                          <Hishop:NumberRangeClientValidator ErrorMessage="透明度请设置为0-100之间的数字，0代表完全透明100代表不透明" MinValue="0" MaxValue="100" />
                                       </Validators>
                                    </Hishop:ValidateTarget> 
                                </td>
                            </tr>
                            </table>
                            <table border="0" cellpadding="0" cellspacing="0" width="100%" class="formTableList" id="warterTextTable">
                            <tr>
                                <td class="leftTD" style="width:130px;">水印文字：&nbsp;&nbsp;</td>
                                <td class="rightTD" style="width:475px"> 
                                    <asp:TextBox runat="server" ID="warterText"></asp:TextBox>
                                </td>
                                <td class="rightTD">
                                   <div id="warterTextTip" runat="server"></div>
                                    <Hishop:ValidateTarget ID="validateTarget6" ContainerId="ValidatorContainer"
                                        runat="server" ControlToValidate="warterText" Description="水印文字" Nullable="false" ValidateGroup="ProductSet">
                                        <Validators>
                                            <Hishop:InputStringClientValidator ErrorMessage="水印文字" LowerBound="1" UpperBound="200" />
                                        </Validators>
                                    </Hishop:ValidateTarget>
                                </td>
                            </tr>
                            <tr>
                                <td class="leftTD" style="width:120px;">水印文字字体：</td>
                                <td class="rightTD"> 
                                    <asp:DropDownList ID="warterTextFontFamily" runat="server"></asp:DropDownList>
                                </td>
                                <td class="rightTD">
                                    <div class="msgNormal">水印文字字体</div>
                                </td>
                            </tr>
                            <tr>
                                <td class="leftTD" style="width:120px;">水印位置：</td>
                                <td class="rightTD"> 
                                    <asp:RadioButtonList ID="warterTextPosition" runat="server" RepeatDirection="Horizontal" RepeatColumns="3">
                                        <asp:ListItem Text="顶部居左" Value="TopLeft"></asp:ListItem>
                                        <asp:ListItem Text="顶部居中" Value="TopCenter"></asp:ListItem>
                                        <asp:ListItem Text="顶部居右" Value="TopRight"></asp:ListItem>
                                        <asp:ListItem Text="左部居中" Value="CenterLeft"></asp:ListItem>
                                        <asp:ListItem Text="图片中心" Value="Center"></asp:ListItem>
                                        <asp:ListItem Text="右部居中" Value="CenterRight"></asp:ListItem>
                                        <asp:ListItem Text="底部居左" Value="BottomLeft"></asp:ListItem>
                                        <asp:ListItem Text="底部居中" Value="BottomCenter"></asp:ListItem>
                                        <asp:ListItem Text="底部居右" Value="BottomRight"></asp:ListItem>
                                    </asp:RadioButtonList>   
                                </td>
                                <td class="rightTD">
                                    <div class="msgNormal">水印图片位置</div>
                                </td>
                            </tr>
                            <tr>
                                <td class="leftTD" style="width:120px;">水印文字字体大小：</td>
                                <td class="rightTD"> 
                                    <asp:TextBox ID="warterTextSize" runat="server"></asp:TextBox>
                                </td>
                                <td class="rightTD">
                                    <div id="warterTextSizeTip" runat="server"></div>
                                    <Hishop:ValidateTarget ID="ValidateTarget7"  ContainerId="ValidatorContainer" runat="server" ControlToValidate="warterTextSize" 
                                          Description="水印文字字体大小请设置为1-50之间的数字" Nullable="false" ValidateGroup="ProductSet">
                                       <Validators>
                                          <Hishop:InputNumberClientValidator ErrorMessage="水印文字字体大小请设置为1-50之间的数字" />
                                          <Hishop:NumberRangeClientValidator ErrorMessage="水印文字字体大小请设置为1-50之间的数字" MinValue="1" MaxValue="50" />
                                       </Validators>
                                    </Hishop:ValidateTarget>
                                </td>
                            </tr>
                            <tr>
                                <td class="leftTD" style="width:120px;">水印文字颜色：</td>
                                <td class="rightTD"> 
                                    <div id="colorpanel" style="position:absolute;display:none;width:253px;height:177px;"></div>
                                    <asp:TextBox ID="waterTextColor" runat="server" alt="clrDlg" style="display:inline; float:left"></asp:TextBox>
                                    <div style="background-color:Red; width:25px; height:25px; margin-left:170px;" id="select" onclick="zhuqungu(event)"></div>
                                </td>
                                <td class="rightTD">
                                    <div class="msgNormal">水印文字颜色</div>
                                </td>
                            </tr>
                            </table>
                            <table border="0" cellpadding="0" cellspacing="0" width="100%" class="formTableList" id="Table1">
                        <!--按钮-->
                            <tr>
                                <td class="leftTD">&nbsp;</td>
                                <td colspan="2" style="border-top:1px #e1e1e1 solid;">
                                    <table width="100%" border="0" cellpadding="0" cellspacing="0" width="100%">
                                      <tr>
                                        <td>
                                            <asp:Button ID="btnChangeProductSettings" OnClientClick="return PageIsValid('ProductSet');" runat="server" Text="<%$ Resources:SiteContent, IDM_btnChangeProductSettings %>"  CssClass="inp_L1"></asp:Button >
                                            
                                            <div style="margin-top:6px;"><span style="color:#b90000;font-weight:bold;">*</span> <span style="color:#737373;"> <asp:Label ID="Label1" runat="server" Text="如需执行以下图片生成操作，请先保存以上设置以后再进行" /></span></div>
                                        </td>
                                      </tr>
                                    </table>

                                </td>
                            </tr> 
                        </table>
                        
                        <table border="0" cellpadding="0" cellspacing="0" width="100%" class="formTableList" id="Table2">
                            <tr>
                                <td class="leftTD" style="width:130px;">选择生成范围：</td>
                                <td class="rightTD" colspan="2" width="100%"> 
                                   <table border="0" cellpadding="0" cellspacing="0" width="100%">
                                   <tr><td><strong>商品图片：</strong></td></tr>
                                   <tr><td><asp:CheckBox runat="server" ID="chkAllProduct" Text="全部" /></td></tr>
                                    <tr><td><Hishop:RebuildProductPictureCheckBoxList runat="server" CssClass="rebuild" ID="chkProductMonth" /></td></tr>
                                    <tr><td><strong>礼品图片：</strong></td></tr>
                                   <tr><td><asp:CheckBox runat="server" ID="chkAllGift" Text="全部" /></td></tr>
                                    <tr><td><Hishop:RebuildGiftPictureCheckBoxList runat="server" CssClass="rebuild" ID="chkGiftMonth" /></td></tr>
                                     <tr><td><asp:Button ID="btnRebuild" runat="server" Text="<%$ Resources:SiteContent, IDM_btnRebuild %>"  CssClass="inp_L1"></asp:Button >
                                     <asp:Button ID="btnRebuildWarter" runat="server" Text="给图片添加水印" OnClientClick="return confirm('如果所选范围内的某些图片已经添加过水印，则再次添加水印会导致这些图片上重叠显示多个水印，确定要执行此操作吗？')"  CssClass="inp_L1"></asp:Button >
                                     </td></tr>
                                   </table>
                                </td>
                                
                            </tr>
                            </table>
                    </UI:TabStripTab>
                    <UI:TabStripTab runat="server" Title="订单设置">
                        <table border="0" cellpadding="0" cellspacing="0" width="100%" class="formTableList">
                            <!--前台发货查询中显示最近几天内的订单-->
                            <tr>
                                <td class="leftTD"><asp:Label runat="server" Text="<%$ Resources:SiteContent, IDS_Fild_ShowDays %>"></asp:Label></td>
                                <td class="rightTD"><asp:TextBox ID="txtShowDays" runat="server"></asp:TextBox></td>
                                <td class="rightTD">
                                    <div id="txtShowDaysTip" runat="server"></div>
                                    <Hishop:ValidateTarget ContainerId="ValidatorContainer" runat="server" ControlToValidate="txtShowDays" 
                                          Description="<%$ Resources:SiteContent, IDS_MessageFront_ShowDays %>" Nullable="false" ValidateGroup="OrderSet">
                                       <Validators>
                                          <Hishop:InputNumberClientValidator ErrorMessage="<%$ Resources:SiteContent, IDS_MessageFront_ShowDays_Error %>" />
                                          <Hishop:NumberRangeClientValidator ErrorMessage="<%$ Resources:SiteContent, IDS_MessageFront_ShowDays_Error %>" MinValue="0" MaxValue="999" />
                                       </Validators>
                                    </Hishop:ValidateTarget> 
                                </td>
                            </tr>
                            <tr>
                                <td class="leftTD">订单自动确认期限：</td>
                                <td class="rightTD"><asp:TextBox ID="txtAutoConfirmDays" runat="server"></asp:TextBox></td>
                                <td class="rightTD">
                                    <div id="txtAutoConfirmDaysTip" runat="server"></div>
                                    <Hishop:ValidateTarget ContainerId="ValidatorContainer" runat="server" ControlToValidate="txtAutoConfirmDays" 
                                          Description="设置订单发货之日起多少天后自动确认交易完成,设置范围限制在1到90天之间" Nullable="false" ValidateGroup="OrderSet" >
                                       <Validators>
                                          <Hishop:InputNumberClientValidator ErrorMessage="天数的设置范围限制在1到90天之间" />
                                          <Hishop:NumberRangeClientValidator ErrorMessage="天数的设置范围限制在1到90天之间" MinValue="1" MaxValue="90" />
                                       </Validators>
                                    </Hishop:ValidateTarget> 
                                </td>
                            </tr>
                            <!--按钮-->
                            <tr>
                                <td class="leftTD">&nbsp;</td>
                                <td colspan="2" style="border-top:1px #e1e1e1 solid;">
                                    <asp:Button ID="btnSet" OnClientClick="return PageIsValid('OrderSet');" runat="server" Text="<%$ Resources:Resources, IDS_Button_Save %>"  CssClass="inp_L1"></asp:Button >
                                </td>
                            </tr> 
                        </table>
                    </UI:TabStripTab>
                    
                    <UI:TabStripTab runat="server" Title="助理安全密钥">
                        <table border="0" cellpadding="0" cellspacing="0" width="100%" class="formTableList">
                            <tr>
                                <td class="leftTD">KEY：</td>
                                <td class="rightTD">
                                    <asp:Literal runat="server" ID="litKey" />
                                </td>
                            </tr>
                            <tr>
                                <td class="leftTD">IV：</td>
                                <td class="rightTD">
                                    <asp:Literal runat="server" ID="litIv" />
                                </td>
                            </tr>
                            <tr>
                                <td></td>
                                <td style="border-top:1px #e1e1e1 solid;">
                                    <asp:Button ID="btnReGenerate" OnClientClick="return confirm('重新生成密钥以后需要把新密钥更新到Hishop助理中，否则会导致助理无法正常使用!\r\n\r\n确定要重新生成密钥吗?');" runat="server" Text="<%$ Resources:SiteContent, IDS_Button_GenerateKey %>"  CssClass="inp_L1"></asp:Button >
                                </td>
                            </tr> 
                        </table>
                    </UI:TabStripTab>
                </Tabs>
            </UI:TabStrip>                   
     
        </SkinTemplate>
    </Hishop:SiteContent>
    </div>
    <br />
    <div class="botCopyInfo">
        <hr style="width: 500px;" />
        <Hishop:SiteCopyright runat="server" />
    </div>
    <br />
    <Hishop:ValidatorContainer runat="server" ID="ValidatorContainer" />
    </form>
</body>
</html>