{layout:default} {class:Shop.Admin.storeConfig.BaseConfig_edit}
<lbhead>
    <title><%=Tag("基本设置") %>-<%=site.title%></title>
</lbhead>
<lbpath>
    <h3 class="text-themecolor m-b-0 m-t-0"><%=Tag("基本设置")%></h3>
    <ol class="breadcrumb">
        <li class="breadcrumb-item"><a href="<%=site.AdminPath %>/Ajax/ajax_admin.aspx?__Action=MenuJump&pid=0"><%=Tag("管理首页")%></a></li>
        <li class="breadcrumb-item active"><%=Tag("基本设置")%></li>
    </ol>
</lbpath>
<lbbody>
    <div class="col-12">
        <div class="card">
            <div class="col-md-12 m-t-15">
                <ul class="nav nav-tabs customtab" role="tablist">
                    <li class="nav-item">
                        <a class="nav-link active" href="#info" role="tab"><%=Tag("基本设置")%></a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link" href="#tax" role="tab"><%=Tag("退税设置")%></a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link" href="#code" role="tab"><%=Tag("验证码")%></a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link" href="#check" role="tab"><%=Tag("文章审核")%></a>
                    </li>
                </ul>
            </div>
            <div class="card-body">
                <form action="javascript:SaveObj();" novalidate>
                    <div class="form-group">
                        <label for="BillFlag_1"><%=Tag("开启发票")%>：</label>
                        <div class="input-group">
                            <label class="custom-control custom-radio m-r-20">
                                <input type="radio" id="BillFlag_1" name="BillFlag" value="1" class="custom-control-input" shop="true" <%=model.BillFlag=="1"?"checked":"" %>>
                                <span class="custom-control-label"><%=Tag("开启")%></span>
                            </label>
                            <label class="custom-control custom-radio">
                                <input type="radio" id="BillFlag_0" name="BillFlag" value="0" class="custom-control-input" shop="true" <%=model.BillFlag=="0"?"checked":"" %>>
                                <span class="custom-control-label"><%=Tag("关闭")%></span>
                            </label>
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="IsAnonymousUser_1"><%=Tag("匿名购买")%>：</label>
                        <div class="input-group">
                            <label class="custom-control custom-radio m-r-20">
                                <input type="radio" id="IsAnonymousUser_1" name="IsAnonymousUser" value="1" class="custom-control-input" shop="true" <%=model.IsAnonymousUser=="1"?"checked":"" %>>
                                <span class="custom-control-label"><%=Tag("开启")%></span>
                            </label>
                            <label class="custom-control custom-radio">
                                <input type="radio" id="IsAnonymousUser_0" name="IsAnonymousUser" value="0" class="custom-control-input" shop="true" <%=model.IsAnonymousUser=="0"?"checked":"" %>>
                                <span class="custom-control-label"><%=Tag("关闭")%></span>
                            </label>
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="IsBasketAction_1"><%=Tag("购物车提示页")%>：</label>
                        <div class="input-group">
                            <label class="custom-control custom-radio m-r-20">
                                <input type="radio" id="IsBasketAction_1" name="IsBasketAction" value="1" class="custom-control-input" shop="true" <%=model.IsBasketAction=="1"?"checked":"" %>>
                                <span class="custom-control-label"><%=Tag("开启")%></span>
                            </label>
                            <label class="custom-control custom-radio">
                                <input type="radio" id="IsBasketAction_0" name="IsBasketAction" value="0" class="custom-control-input" shop="true" <%=model.IsBasketAction=="0"?"checked":"" %>>
                                <span class="custom-control-label"><%=Tag("关闭")%></span>
                            </label>
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="IsReduceBasketStep_1"><%=Tag("减少购物车步骤")%>：</label>
                        <div class="input-group">
                            <label class="custom-control custom-radio m-r-20">
                                <input type="radio" id="IsReduceBasketStep_1" name="IsReduceBasketStep" value="1" class="custom-control-input" shop="true" <%=model.IsReduceBasketStep=="1"?"checked":"" %>>
                                <span class="custom-control-label"><%=Tag("开启")%></span>
                            </label>
                            <label class="custom-control custom-radio">
                                <input type="radio" id="IsReduceBasketStep_0" name="IsReduceBasketStep" value="0" class="custom-control-input" shop="true" <%=model.IsReduceBasketStep=="0"?"checked":"" %>>
                                <span class="custom-control-label"><%=Tag("关闭")%></span>
                            </label>
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="IsNullStockDown_1"><%=Tag("0库存自动下架")%>：</label>
                        <div class="input-group">
                            <label class="custom-control custom-radio m-r-20">
                                <input type="radio" id="IsNullStockDown_1" name="IsNullStockDown" value="1" class="custom-control-input" shop="true" <%=model.IsNullStockDown=="1"?"checked":"" %>>
                                <span class="custom-control-label"><%=Tag("开启")%></span>
                            </label>
                            <label class="custom-control custom-radio">
                                <input type="radio" id="IsNullStockDown_0" name="IsNullStockDown" value="0" class="custom-control-input" shop="true" <%=model.IsNullStockDown=="0"?"checked":"" %>>
                                <span class="custom-control-label"><%=Tag("关闭")%></span>
                            </label>
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="IsNullStockSale_1"><%=Tag("允许负库存销售")%>：</label>
                        <div class="input-group">
                            <label class="custom-control custom-radio m-r-20">
                                <input type="radio" id="IsNullStockSale_1" name="IsNullStockSale" value="1" class="custom-control-input" shop="true" <%=model.IsNullStockSale=="1"?"checked":"" %>>
                                <span class="custom-control-label"><%=Tag("开启")%></span>
                            </label>
                            <label class="custom-control custom-radio">
                                <input type="radio" id="IsNullStockSale_0" name="IsNullStockSale" value="0" class="custom-control-input" shop="true" <%=model.IsNullStockSale=="0"?"checked":"" %>>
                                <span class="custom-control-label"><%=Tag("关闭")%></span>
                            </label>
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="ProductStockFreezeTime_1"><%=Tag("冻结库存时机")%>：</label>
                        <div class="input-group">
                            <label class="custom-control custom-radio m-r-20">
                                <input type="radio" id="ProductStockFreezeTime_1" name="ProductStockFreezeTime" value="orderadd" class="custom-control-input" shop="true" <%=model.ProductStockFreezeTime=="orderadd"?"checked":"" %>>
                                <span class="custom-control-label"><%=Tag("下单")%></span>
                            </label>
                            <label class="custom-control custom-radio">
                                <input type="radio" id="ProductStockFreezeTime_0" name="ProductStockFreezeTime" value="orderconfirm" class="custom-control-input" shop="true" <%=model.ProductStockFreezeTime=="orderconfirm"?"checked":"" %>>
                                <span class="custom-control-label"><%=Tag("确认订单")%></span>
                            </label>
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="IsOpenPaidOrderConfirm_1"><%=Tag("已付款订单自动确认")%>：</label>
                        <div class="input-group">
                            <label class="custom-control custom-radio m-r-20">
                                <input type="radio" id="IsOpenPaidOrderConfirm_1" name="IsOpenPaidOrderConfirm" value="1" class="custom-control-input" shop="true" <%=model.IsOpenPaidOrderConfirm=="1"?"checked":"" %>>
                                <span class="custom-control-label"><%=Tag("开启")%></span>
                            </label>
                            <label class="custom-control custom-radio">
                                <input type="radio" id="IsOpenPaidOrderConfirm_0" name="IsOpenPaidOrderConfirm" value="0" class="custom-control-input" shop="true" <%=model.IsOpenPaidOrderConfirm=="0"?"checked":"" %>>
                                <span class="custom-control-label"><%=Tag("关闭")%></span>
                            </label>
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="IsPointToMoney_1"><%=Tag("积分兑换余额")%>：</label>
                        <div class="input-group">
                            <label class="custom-control custom-radio m-r-20">
                                <input type="radio" id="IsPointToMoney_1" name="IsPointToMoney" value="1" class="custom-control-input" shop="true" <%=model.IsPointToMoney=="1"?"checked":"" %>>
                                <span class="custom-control-label"><%=Tag("开启")%></span>
                            </label>
                            <label class="custom-control custom-radio">
                                <input type="radio" id="IsPointToMoney_0" name="IsPointToMoney" value="0" class="custom-control-input" shop="true" <%=model.IsPointToMoney=="0"?"checked":"" %>>
                                <span class="custom-control-label"><%=Tag("关闭")%></span>
                            </label>
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="IsClosetuihuo_1"><%=Tag("开启退换货")%>：</label>
                        <div class="input-group">
                            <label class="custom-control custom-radio m-r-20">
                                <input type="radio" id="IsClosetuihuo_1" name="IsClosetuihuo" value="1" class="custom-control-input" shop="true" <%=model.IsClosetuihuo=="1"?"checked":"" %>>
                                <span class="custom-control-label"><%=Tag("开启")%></span>
                            </label>
                            <label class="custom-control custom-radio">
                                <input type="radio" id="IsClosetuihuo_0" name="IsClosetuihuo" value="0" class="custom-control-input" shop="true" <%=model.IsClosetuihuo=="0"?"checked":"" %>>
                                <span class="custom-control-label"><%=Tag("关闭")%></span>
                            </label>
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="IsSupplierCash_1"><%=Tag("开启供应商收款")%>：</label>
                        <div class="input-group">
                            <label class="custom-control custom-radio m-r-20">
                                <input type="radio" id="IsSupplierCash_1" name="IsSupplierCash" value="1" class="custom-control-input" shop="true" <%=model.IsSupplierCash=="1"?"checked":"" %>>
                                <span class="custom-control-label"><%=Tag("开启")%></span>
                            </label>
                            <label class="custom-control custom-radio">
                                <input type="radio" id="IsSupplierCash_0" name="IsSupplierCash" value="0" class="custom-control-input" shop="true" <%=model.IsSupplierCash=="0"?"checked":"" %>>
                                <span class="custom-control-label"><%=Tag("关闭")%></span>
                            </label>
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="IsMutiCurrencyShow_1"><%=Tag("前台多币种展示金额")%>：</label>
                        <div class="input-group">
                            <label class="custom-control custom-radio m-r-20">
                                <input type="radio" id="IsMutiCurrencyShow_1" name="IsMutiCurrencyShow" value="1" class="custom-control-input" shop="true" <%=model.IsMutiCurrencyShow=="1"?"checked":"" %>>
                                <span class="custom-control-label"><%=Tag("开启")%></span>
                            </label>
                            <label class="custom-control custom-radio">
                                <input type="radio" id="IsMutiCurrencyShow_0" name="IsMutiCurrencyShow" value="0" class="custom-control-input" shop="true" <%=model.IsMutiCurrencyShow=="0"?"checked":"" %>>
                                <span class="custom-control-label"><%=Tag("关闭")%></span>
                            </label>
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="IsOpenUserEnd_1"><%=Tag("开启会员有效期")%>：</label>
                        <div class="input-group">
                            <label class="custom-control custom-radio m-r-20">
                                <input type="radio" id="IsOpenUserEnd_1" name="IsOpenUserEnd" value="1" class="custom-control-input" shop="true" <%=model.IsOpenUserEnd=="1"?"checked":"" %>>
                                <span class="custom-control-label"><%=Tag("开启")%></span>
                            </label>
                            <label class="custom-control custom-radio">
                                <input type="radio" id="IsOpenUserEnd_0" name="IsOpenUserEnd" value="0" class="custom-control-input" shop="true" <%=model.IsOpenUserEnd=="0"?"checked":"" %>>
                                <span class="custom-control-label"><%=Tag("关闭")%></span>
                            </label>
                            <div class="input-group">
                                <input type="text" id="DefaultUserEndDays" name="DefaultUserEndDays" value="<%=model.DefaultUserEndDays %>" placeholder="<%=Tag(" 默认有效期天数")%>" class="form-control" style="width:70px;" shop="true" onkeyup="value=value.replace(/[^\d\.]/g,'');">
                                <div class="input-group-append">
                                    <span class="input-group-text"><%=Tag("天")%></span>
                                </div>
                            </div>
                        </div>
                    </div>
                    <%if (Shop.LebiAPI.Service.Instanse.Check("plugin_productlimit")){%>
                    <div class="form-group">
                        <label for="ProductLimitType_1"><%=Tag("商品权限设置")%>：</label>
                        <div class="input-group">
                            <label class="custom-control custom-radio m-r-20">
                                <input type="radio" id="ProductLimitType_1" name="ProductLimitType" value="1" class="custom-control-input" shop="true" <%=model.ProductLimitType=="1"?"checked":"" %>>
                                <span class="custom-control-label"><%=Tag("选中表示允许")%></span>
                            </label>
                            <label class="custom-control custom-radio">
                                <input type="radio" id="ProductLimitType_0" name="ProductLimitType" value="0" class="custom-control-input" shop="true" <%=model.ProductLimitType=="0"?"checked":"" %>>
                                <span class="custom-control-label"><%=Tag("选中表示拒绝")%></span>
                            </label>
                        </div>
                    </div>
                    <%}%>
                    <div class="form-group">
                        <label for="UserRegCheckedType_1"><%=Tag("会员注册验证类型")%>：</label>
                        <div class="input-group">
                            <label class="custom-control custom-checkbox m-r-20">
                                <input type="checkbox" id="UserRegCheckedType_1" name="UserRegCheckedType" value="mobilephone" class="custom-control-input" shop="true" <%=model.UserRegCheckedType.Contains("mobilephone")?"checked":"" %>>
                                <span class="custom-control-label"><%=Tag("手机")%></span>
                            </label>
                            <label class="custom-control custom-checkbox">
                                <input type="checkbox" id="UserRegCheckedType_0" name="UserRegCheckedType" value="email" class="custom-control-input" shop="true" <%=model.UserRegCheckedType.Contains("email")?"checked":"" %>>
                                <span class="custom-control-label"><%=Tag("Email")%></span>
                            </label>
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="IsMobilePhoneMutiReg_1"><%=Tag("同手机号多次注册")%>：</label>
                        <div class="input-group">
                            <label class="custom-control custom-radio m-r-20">
                                <input type="radio" id="IsMobilePhoneMutiReg_1" name="IsMobilePhoneMutiReg" value="1" class="custom-control-input" shop="true" <%=model.IsMobilePhoneMutiReg=="1"?"checked":"" %>>
                                <span class="custom-control-label"><%=Tag("开启")%></span>
                            </label>
                            <label class="custom-control custom-radio">
                                <input type="radio" id="IsMobilePhoneMutiReg_0" name="IsMobilePhoneMutiReg" value="0" class="custom-control-input" shop="true" <%=model.IsMobilePhoneMutiReg=="0"?"checked":"" %>>
                                <span class="custom-control-label"><%=Tag("关闭")%></span>
                            </label>
                        </div>
                        <small class="form-text text-muted"><%=Tag("开启手机短信注册验证时有效")%></small>
                    </div>
                    <div class="form-group">
                        <label for="WM_PicPath"><%=Tag("商品编号规则")%>：</label>
                        <div class="row">
                            <div class="col-sm-6">
                                <label for="ProductNumberPrefix"><%=Tag("前缀")%>：</label>
                                <div class="input-group">
                                    <input type="text" id="ProductNumberPrefix" name="ProductNumberPrefix" value="<%=model.ProductNumberPrefix%>" class="form-control" shop="true">
                                </div>
                            </div>
                            <div class="col-sm-6">
                                <label for="ProductNumberLength"><%=Tag("长度")%>：</label>
                                <div class="input-group">
                                    <input type="text" id="ProductNumberLength" name="ProductNumberLength" value="<%=model.ProductNumberLength%>" class="form-control" shop="true">
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="ClickFlag_0"><%=Tag("点击数假象规律")%>：</label>
                        <div class="input-group">
                            <label class="custom-control custom-radio col-6">
                                <input type="radio" id="ClickFlag_0" name="ClickFlag" value="0" class="custom-control-input" shop="true" <%=model.ClickFlag=="0"?"checked":"" %>>
                                <span class="custom-control-label"><%=Tag("增加固定数字")%></span>
                                <input type="text" id="ClickNum1" name="ClickNum1" value="<%=model.ClickNum1%>" class="form-control" shop="true" onkeyup="setCount2(this);">
                                <small class="form-text text-muted"><%=Tag("填写1-50之间的数字")%></small>
                            </label>
                            <label class="custom-control custom-radio col-6">
                                <input type="radio" id="ClickFlag_1" name="ClickFlag" value="0" class="custom-control-input" shop="true" <%=model.ClickFlag=="1"?"checked":"" %>>
                                <span class="custom-control-label"><%=Tag("增加随机数字")%></span>
                                <input type="text" id="ClickNum2" name="ClickNum2" value="<%=model.ClickNum2%>" class="form-control" shop="true" onkeyup="setCount2(this);">
                                <small class="form-text text-muted"><%=Tag("随机生成数字的最大值，最大值设定为50")%></small>
                            </label>
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="SalesFlag_0"><%=Tag("销售数假象规律")%>：</label>
                        <div class="input-group">
                            <label class="custom-control custom-radio col-6">
                                <input type="radio" id="SalesFlag_0" name="SalesFlag" value="0" class="custom-control-input" shop="true" <%=model.SalesFlag=="0"?"checked":"" %>>
                                <span class="custom-control-label"><%=Tag("增加固定数字")%></span>
                                <input type="text" id="SalesNum1" name="SalesNum1" value="<%=model.SalesNum1%>" class="form-control" shop="true" onkeyup="setCount2(this);">
                                <small class="form-text text-muted"><%=Tag("填写1-50之间的数字")%></small>
                            </label>
                            <label class="custom-control custom-radio col-6">
                                <input type="radio" id="SalesFlag_1" name="SalesFlag" value="0" class="custom-control-input" shop="true" <%=model.SalesFlag=="1"?"checked":"" %>>
                                <span class="custom-control-label"><%=Tag("增加随机数字")%></span>
                                <input type="text" id="SalesNum2" name="SalesNum2" value="<%=model.SalesNum2%>" class="form-control" shop="true" onkeyup="setCount2(this);">
                                <small class="form-text text-muted"><%=Tag("随机生成数字的最大值，最大值设定为50")%></small>
                            </label>
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="TaxRate"><%=Tag("消费税")%>：</label>
                        <div class="input-group">
                            <input type="text" id="TaxRate" name="TaxRate" value="<%=model.TaxRate %>" class="form-control" shop="true" onkeyup="value=value.replace(/[^\d\.]/g,'');">
                            <div class="input-group-append">
                                <span class="input-group-text">%</span>
                            </div>
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="TakeMoneyLimit"><%=Tag("最低提现金额")%>：</label>
                        <div class="input-group">
                            <input type="text" id="TakeMoneyLimit" name="TakeMoneyLimit" value="<%=model.TakeMoneyLimit %>" class="form-control" shop="true" onkeyup="value=value.replace(/[^\d\.]/g,'');">
                            <div class="input-group-append">
                                <span class="input-group-text"><%=DefaultCurrency.Msige %></span>
                            </div>
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="WithdrawalFeeRate"><%=Tag("提现手续费")%>：</label>
                        <div class="input-group">
                            <input type="text" id="WithdrawalFeeRate" name="WithdrawalFeeRate" value="<%=model.WithdrawalFeeRate %>" class="form-control" shop="true" onkeyup="value=value.replace(/[^\d\.]/g,'');">
                            <div class="input-group-append">
                                <span class="input-group-text">%</span>
                            </div>
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="CommentPoint"><%=Tag("商品评分奖励积分")%>：</label>
                        <input type="text" id="CommentPoint" name="CommentPoint" value="<%=model.CommentPoint %>" class="form-control" shop="true" onkeyup="value=value.replace(/[^\d]/g,'');">
                    </div>
                    <div class="form-group">
                        <label for="OrderReceivedDays"><%=Tag("订单自动收货")%>：</label>
                        <div class="input-group">
                            <input type="text" id="OrderReceivedDays" name="OrderReceivedDays" value="<%=model.OrderReceivedDays %>" class="form-control" shop="true" onkeyup="value=value.replace(/[^\d\.]/g,'');">
                            <div class="input-group-append">
                                <span class="input-group-text"><%=Tag("天")%></span>
                            </div>
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="OrderCompleteDays"><%=Tag("订单自动完结")%>：</label>
                        <div class="input-group">
                            <input type="text" id="OrderCompleteDays" name="OrderCompleteDays" value="<%=model.OrderCompleteDays %>" class="form-control" shop="true" onkeyup="value=value.replace(/[^\d\.]/g,'');">
                            <div class="input-group-append">
                                <span class="input-group-text"><%=Tag("天")%></span>
                            </div>
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="IntOrderMoney_1"><%=Tag("订单金额整数")%>：</label>
                        <div class="input-group">
                            <label class="custom-control custom-radio m-r-20">
                                <input type="radio" id="IntOrderMoney_1" name="IntOrderMoney" value="1" class="custom-control-input" shop="true" <%=model.IntOrderMoney=="1"?"checked":"" %>>
                                <span class="custom-control-label"><%=Tag("开启")%></span>
                            </label>
                            <label class="custom-control custom-radio">
                                <input type="radio" id="IntOrderMoney_0" name="IntOrderMoney" value="0" class="custom-control-input" shop="true" <%=model.IntOrderMoney=="0"?"checked":"" %>>
                                <span class="custom-control-label"><%=Tag("关闭")%></span>
                            </label>
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="UpLoadLimit"><%=Tag("文件上传限制")%>：</label>
                        <div class="input-group">
                            <input type="text" id="UpLoadLimit" name="UpLoadLimit" value="<%=model.UpLoadLimit %>" class="form-control" shop="true" onkeyup="value=value.replace(/[^\d\.]/g,'');">
                            <div class="input-group-append">
                                <span class="input-group-text">MB</span>
                            </div>
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="UpLoadPath"><%=Tag("文件上传路径")%>：</label>
                        <input type="text" id="UpLoadPath" name="UpLoadPath" value="<%=model.UpLoadPath %>" class="form-control" shop="true">
                    </div>
                    <div class="form-group">
                        <label for="UpLoadRName"><%=Tag("文件上传前缀")%>：</label>
                        <input type="text" id="UpLoadRName" name="UpLoadRName" value="<%=model.UpLoadRName %>" class="form-control" shop="true">
                    </div>
                    <div class="form-group">
                        <label for="UpLoadSaveName_1"><%=Tag("文件上传命名")%>：</label>
                        <div class="input-group">
                            <label class="custom-control custom-radio m-r-20">
                                <input type="radio" id="UpLoadSaveName_1" name="UpLoadSaveName" value="1" class="custom-control-input" shop="true" <%=model.UpLoadSaveName=="1"?"checked":"" %>>
                                <span class="custom-control-label"><%=Tag("保持原名")%></span>
                            </label>
                            <label class="custom-control custom-radio">
                                <input type="radio" id="UpLoadSaveName_0" name="UpLoadSaveName" value="0" class="custom-control-input" shop="true" <%=model.UpLoadSaveName=="0"?"checked":"" %>>
                                <span class="custom-control-label"><%=Tag("当前时间")%></span>
                            </label>
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="AdminLanguages"><%=Tag("后台使用语言")%>：</label>
                        <input type="text" id="AdminLanguages" name="AdminLanguages" value="<%=model.AdminLanguages %>" class="form-control" shop="true">
                    </div>
                    <div class="form-group">
                        <label for="Filter"><%=Tag("非法词过滤")%>：</label>
                        <textarea id="Filter" name="Filter" rows="6" class="form-control" style="height:60px;" shop="true"><%=model.Filter%></textarea>
                        <small class="form-text text-muted"><%=Tag("多个词用/隔开")%></small>
                        <div class="button-group m-t-5">
                            <button type="button" class="btn btn-default btn-xs btn-sm" onclick="javascript:resizeEditor('Filter',100);"><%=Tag("展开")%></button>
                            <button type="button" class="btn btn-default btn-xs btn-sm" onclick="javascript:resizeEditor('Filter',-100);"><%=Tag("收缩")%></button>
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="APIPassWord"><%=Tag("API密码")%>：</label>
                        <input type="text" id="APIPassWord" name="APIPassWord" value="<%=model.APIPassWord %>" class="form-control" shop="true">
                    </div>
                    <div class="form-group">
                        <label for="IsAllowOutSideAjax_1"><%=Tag("允许站外AJAX请求")%>：</label>
                        <div class="input-group">
                            <label class="custom-control custom-radio m-r-20">
                                <input type="radio" id="IsAllowOutSideAjax_1" name="IsAllowOutSideAjax" value="1" class="custom-control-input" shop="true" <%=model.IsAllowOutSideAjax=="1"?"checked":"" %>>
                                <span class="custom-control-label"><%=Tag("开启")%></span>
                            </label>
                            <label class="custom-control custom-radio">
                                <input type="radio" id="IsAllowOutSideAjax_0" name="IsAllowOutSideAjax" value="0" class="custom-control-input" shop="true" <%=model.IsAllowOutSideAjax=="0"?"checked":"" %>>
                                <span class="custom-control-label"><%=Tag("关闭")%></span>
                            </label>
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="SafeIPs"><%=Tag("信任IP")%>：</label>
                        <textarea id="SafeIPs" name="SafeIPs" rows="6" class="form-control" style="height:60px;" shop="true"><%=model.SafeIPs%></textarea>
                        <small class="form-text text-muted"><%=Tag("多个词用,隔开")%></small>
                        <div class="button-group m-t-5">
                            <button type="button" class="btn btn-default btn-xs btn-sm" onclick="javascript:resizeEditor('SafeIPs',100);"><%=Tag("展开")%></button>
                            <button type="button" class="btn btn-default btn-xs btn-sm" onclick="javascript:resizeEditor('SafeIPs',-100);"><%=Tag("收缩")%></button>
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="NewEventTimes"><%=Tag("新事件刷新时间")%>：</label>
                        <div class="input-group">
                            <input type="text" id="NewEventTimes" name="NewEventTimes" value="<%=model.NewEventTimes %>" class="form-control" shop="true" onkeyup="value=value.replace(/[^\d\.]/g,'');">
                            <div class="input-group-append">
                                <span class="input-group-text"><%=Tag("毫秒")%></span>
                            </div>
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="NewEventPlayAudio_1"><%=Tag("新事件播放声音")%>：</label>
                        <div class="input-group">
                            <label class="custom-control custom-radio m-r-20">
                                <input type="radio" id="NewEventPlayAudio_1" name="NewEventPlayAudio" value="1" class="custom-control-input" shop="true" <%=model.NewEventPlayAudio=="1"?"checked":"" %>>
                                <span class="custom-control-label"><%=Tag("开启")%></span>
                            </label>
                            <label class="custom-control custom-radio">
                                <input type="radio" id="NewEventPlayAudio_0" name="NewEventPlayAudio" value="0" class="custom-control-input" shop="true" <%=model.NewEventPlayAudio=="0"?"checked":"" %>>
                                <span class="custom-control-label"><%=Tag("关闭")%></span>
                            </label>
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="HTTPServer_1"><%=Tag("网页传输")%>：</label>
                        <div class="input-group">
                            <label class="custom-control custom-radio m-r-20">
                                <input type="radio" id="HTTPServer_1" name="HTTPServer" value="http" class="custom-control-input" shop="true" <%=model.HTTPServer=="http"?"checked":"" %>>
                                <span class="custom-control-label"><%=Tag("不加密")%></span>
                            </label>
                            <label class="custom-control custom-radio">
                                <input type="radio" id="HTTPServer_0" name="HTTPServer" value="https" class="custom-control-input" shop="true" <%=model.HTTPServer=="https"?"checked":"" %>>
                                <span class="custom-control-label"><%=Tag("加密")%></span>
                            </label>
                        </div>
                    </div>
                    <hr />
                    <a name="tax"></a>
                    <h5 class="box-title m-t-20"><%=Tag("退税设置")%></h5>
                    <div class="form-group">
                        <label for="Refund_MinMoney"><%=Tag("最低购物总额")%>：</label>
                        <input type="text" id="Refund_MinMoney" name="Refund_MinMoney" value="<%=model.Refund_MinMoney %>" class="form-control" shop="true" onkeyup="value=value.replace(/[^\d\.]/g,'');">
                    </div>
                    <div class="form-group">
                        <label for="Refund_VAT"><%=Tag("增值税率")%>：</label>
                        <div class="input-group">
                            <input type="text" id="Refund_VAT" name="Refund_VAT" value="<%=model.Refund_VAT %>" class="form-control" shop="true" onkeyup="value=value.replace(/[^\d\.]/g,'');">
                            <div class="input-group-append">
                                <span class="input-group-text">%</span>
                            </div>
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="Refund_VAT"><%=Tag("函数率")%>：</label>
                        <div class="input-group">
                            <div class="table-responsive">
                                <table class="table table-hover no-wrap stepRtable" id="stepRtable">
                                    <thead>
                                        <tr>
                                            <th style="width:30%;">
                                                <%=Tag("购物总额")%> >
                                            </th>
                                            <th style="width:30%;">
                                                <%=Tag("函数率")%>
                                            </th>
                                            <th>
                                                <%=Tag("操作")%> [<a href="javascript:addstepR();"><%=Tag("增加")%></a>]
                                            </th>
                                        </tr>
                                    </thead>
                                    <tbody>
                                        <%foreach(Shop.Model.BaseConfigStepR stepR in stepRs){ %>
                                        <tr>
                                            <td>
                                                <input type="text" name="Refund_Step_S" value="<%=stepR.S %>" class="form-control form-control-sm" shop="true" onkeyup="value=value.replace(/[^\d]/g,'')">
                                            </td>
                                            <td>
                                                <input type="text" name="Refund_Step_R" value="<%=stepR.R %>" class="form-control form-control-sm" shop="true" onkeyup="value=value.replace(/[^.\d]/g,'')">
                                            </td>
                                            <td>
                                                <a href="javascript:void(0);" onclick="$(this).parent().parent().remove();"><%=Tag("删除")%></a>
                                            </td>
                                        </tr>
                                        <%} %>
                                    </tbody>
                                </table>
                            </div>
                        </div>
                    </div>
                    <hr />
                    <a name="code"></a>
                    <h5 class="box-title m-t-20"><%=Tag("验证码")%></h5>
                    <div class="form-group">
                        <label for="Verifycode_UserRegister_1"><%=Tag("会员注册")%>：</label>
                        <div class="input-group">
                            <label class="custom-control custom-radio m-r-20">
                                <input type="radio" id="Verifycode_UserRegister_1" name="Verifycode_UserRegister" value="1" class="custom-control-input" shop="true" <%=model.Verifycode_UserRegister=="1"?"checked":"" %>>
                                <span class="custom-control-label"><%=Tag("开启")%></span>
                            </label>
                            <label class="custom-control custom-radio">
                                <input type="radio" id="Verifycode_UserRegistero_0" name="Verifycode_UserRegister" value="0" class="custom-control-input" shop="true" <%=model.Verifycode_UserRegister=="0"?"checked":"" %>>
                                <span class="custom-control-label"><%=Tag("关闭")%></span>
                            </label>
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="Verifycode_UserLogin_1"><%=Tag("会员登录")%>：</label>
                        <div class="input-group">
                            <label class="custom-control custom-radio m-r-20">
                                <input type="radio" id="Verifycode_UserLogin_1" name="Verifycode_UserLogin" value="1" class="custom-control-input" shop="true" <%=model.Verifycode_UserLogin=="1"?"checked":"" %>>
                                <span class="custom-control-label"><%=Tag("开启")%></span>
                            </label>
                            <label class="custom-control custom-radio">
                                <input type="radio" id="Verifycode_UserLogin_0" name="Verifycode_UserLogin" value="0" class="custom-control-input" shop="true" <%=model.Verifycode_UserLogin=="0"?"checked":"" %>>
                                <span class="custom-control-label"><%=Tag("关闭")%></span>
                            </label>
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="Verifycode_ForgetPassword_1"><%=Tag("忘记密码")%>：</label>
                        <div class="input-group">
                            <label class="custom-control custom-radio m-r-20">
                                <input type="radio" id="Verifycode_ForgetPassword_1" name="Verifycode_ForgetPassword" value="1" class="custom-control-input" shop="true" <%=model.Verifycode_ForgetPassword=="1"?"checked":"" %>>
                                <span class="custom-control-label"><%=Tag("开启")%></span>
                            </label>
                            <label class="custom-control custom-radio">
                                <input type="radio" id="Verifycode_ForgetPassword_0" name="Verifycode_ForgetPassword" value="0" class="custom-control-input" shop="true" <%=model.Verifycode_ForgetPassword=="0"?"checked":"" %>>
                                <span class="custom-control-label"><%=Tag("关闭")%></span>
                            </label>
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="Verifycode_SupplierRegister_1"><%=Tag("商家注册")%>：</label>
                        <div class="input-group">
                            <label class="custom-control custom-radio m-r-20">
                                <input type="radio" id="Verifycode_SupplierRegister_1" name="Verifycode_SupplierRegister" value="1" class="custom-control-input" shop="true" <%=model.Verifycode_SupplierRegister=="1"?"checked":"" %>>
                                <span class="custom-control-label"><%=Tag("开启")%></span>
                            </label>
                            <label class="custom-control custom-radio">
                                <input type="radio" id="Verifycode_SupplierRegister_0" name="Verifycode_SupplierRegister" value="0" class="custom-control-input" shop="true" <%=model.Verifycode_SupplierRegister=="0"?"checked":"" %>>
                                <span class="custom-control-label"><%=Tag("关闭")%></span>
                            </label>
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="Verifycode_SupplierLogin_1"><%=Tag("商家登录")%>：</label>
                        <div class="input-group">
                            <label class="custom-control custom-radio m-r-20">
                                <input type="radio" id="Verifycode_SupplierLogin_1" name="Verifycode_SupplierLogin" value="1" class="custom-control-input" shop="true" <%=model.Verifycode_SupplierLogin=="1"?"checked":"" %>>
                                <span class="custom-control-label"><%=Tag("开启")%></span>
                            </label>
                            <label class="custom-control custom-radio">
                                <input type="radio" id="Verifycode_SupplierLogin_0" name="Verifycode_SupplierLogin" value="0" class="custom-control-input" shop="true" <%=model.Verifycode_SupplierLogin=="0"?"checked":"" %>>
                                <span class="custom-control-label"><%=Tag("关闭")%></span>
                            </label>
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="Verifycode_AdminLogin_1"><%=Tag("管理登陆")%>：</label>
                        <div class="input-group">
                            <label class="custom-control custom-radio m-r-20">
                                <input type="radio" id="Verifycode_AdminLogin_1" name="Verifycode_AdminLogin" value="1" class="custom-control-input" shop="true" <%=model.Verifycode_AdminLogin=="1"?"checked":"" %>>
                                <span class="custom-control-label"><%=Tag("开启")%></span>
                            </label>
                            <label class="custom-control custom-radio">
                                <input type="radio" id="Verifycode_AdminLogin_0" name="Verifycode_AdminLogin" value="0" class="custom-control-input" shop="true" <%=model.Verifycode_AdminLogin=="0"?"checked":"" %>>
                                <span class="custom-control-label"><%=Tag("关闭")%></span>
                            </label>
                        </div>
                    </div>
                    <hr />
                    <a name="check"></a>
                    <h5 class="box-title m-t-20"><%=Tag("文章审核")%></h5>
                    <div class="form-group">
                        <label for="CommFlag_1"><%=Tag("评论")%>：</label>
                        <div class="input-group">
                            <label class="custom-control custom-radio m-r-20">
                                <input type="radio" id="CommFlag_1" name="CommFlag" value="1" class="custom-control-input" shop="true" <%=model.CommFlag=="1"?"checked":"" %>>
                                <span class="custom-control-label"><%=Tag("开启")%></span>
                            </label>
                            <label class="custom-control custom-radio">
                                <input type="radio" id="CommFlag_0" name="CommFlag" value="0" class="custom-control-input" shop="true" <%=model.CommFlag=="0"?"checked":"" %>>
                                <span class="custom-control-label"><%=Tag("关闭")%></span>
                            </label>
                        </div>
                    </div>
                    <hr />
                    <a name="system"></a>
                    <h5 class="box-title m-t-20"><%=Tag("软件信息")%></h5>
                    <div class="form-group">
                        <label for="Version"><%=Tag("软件版本")%>：</label>
                        <div class="input-daterange input-group">
                            <input type="text" id="Version" name="Version" value="<%=model.Version %>" class="form-control" shop="true">
                            <div class="input-group-append">
                                <span class="input-group-text bg-info b-0 text-white">.</span>
                            </div>
                            <input type="text" id="Version_Son" name="Version_Son" value="<%=model.Version_Son %>" class="form-control" shop="true">
                        </div>
                    </div>
                    <%if (PageReturnMsg == ""){%>
                    <button type="submit" class="btn btn-success"><i class="ti-check"></i> <%=Tag("保存")%></button>
                    <%}%>
                </form>
            </div>
        </div>
    </div>
</lbbody>
<lbscripts>
    <script>
        function SaveObj() {
            var postData = GetFormJsonData("shop");
            var url="<%=site.AdminPath %>/ajax/ajax_site.aspx?__Action=BaseConfig_Edit";
            RequestAjax(url,postData,function(res){MsgBox(1, "<%=Tag("操作成功")%>", "")});
        }
        function addstepR()
        {
            var row='<tr><td><input type="text" name="Refund_Step_S" class="form-control form-control-sm" shop="true" onkeyup="value=value.replace(/[^\\d]/g,\'\')"></td>';
            row+='<td><input type="text" name="Refund_Step_R" class="form-control form-control-sm" shop="true" onkeyup="value=value.replace(/[^.\\d]/g,\'\')"></td>';
            row+='<td><a href="javascript:void(0);" onclick="$(this).parent().parent().remove();"><%=Tag("删除")%></a></td></tr>';
            $("#stepRtable").append(row);
        }
        function setCount2(entity) {
            var gnum = parseInt(entity.value);
            var sumc = 50;
            if (isNaN(gnum)) { gnum = 1; }
            if (gnum > sumc) {
                entity.value = sumc;
            }
            else if (gnum <= 1) {
                entity.value = 1;
            } else {
                entity.value = gnum;
            }
        }
    </script>
</lbscripts>