<%@ Page Language="C#" MasterPageFile="~/admin/admin_page.master" EnableViewState="false" AutoEventWireup="true" CodeBehind="shop_setting.aspx.cs" Inherits="YXShop.Web.admin.systeminfo.shop_setting" Title="无标题页" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <link rel="stylesheet" href="../style/validator.css" type="text/css" />
    <script type="text/javascript" src="../../scripts/validate.js"></script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="pagetitle" runat="server">网店参数设置
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="pageinfo" runat="server">给您的网店配置一些相应的参数&nbsp; 
    <asp:Button ID="butSave" runat="server" CssClass="inputbutton" onclick="btnSave_Click" Text="保存设置" onMouseOver="javascript:document.getElementById(this.id).className='inputbutton_a'" onMouseOut="javascript:document.getElementById(this.id).className='inputbutton'"/>
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="workspace" runat="server">
    <asp:Panel ID="pnlMsg" runat="server" Visible="false" CssClass="pnlReturnMessageErr">
        <asp:Literal ID="ltlMsg" runat="server"></asp:Literal>
    </asp:Panel>
    
    <table  class="form_table_input" border="0" width="100%" cellspacing="0" cellpadding="0">
         <tr>
		    <td class="form_table_input_info">允许游客购买商品：<asp:HiddenField ID="txtShopId" runat="server" />
            </td>
		    <td>
                <asp:RadioButtonList ID="rbtAllowVisitorBuy" runat="server" 
                    RepeatDirection="Horizontal" RepeatLayout="Flow">
                    <asp:ListItem Value="1" Selected="True">是</asp:ListItem>
                    <asp:ListItem Value="0">否</asp:ListItem>
                    
                </asp:RadioButtonList>
            </td>
		    <td><div class="msgNormal">您的店铺是否允许游客购买商品?</div></td>
	    </tr>
	     <tr>
		    <td class="form_table_input_info">启用优惠券功能：</td>
		    <td>
                <asp:RadioButtonList ID="rbtCoupon" runat="server" RepeatDirection="Horizontal" 
                    RepeatLayout="Flow">
                    <asp:ListItem Value="1" Selected="True">是</asp:ListItem>
                    <asp:ListItem Value="0">否</asp:ListItem>
                    
                </asp:RadioButtonList>
            </td>
		    <td><div id="Panel1" runat="server" class="msgNormal">启动优惠券功能将可以发布优惠券，并且在发布商品时可以确认是否可以使用优惠券</div></td>
	    </tr>
	     <tr>
		    <td class="form_table_input_info">自动生成缩略图：</td>
		    <td>
                <asp:RadioButtonList ID="rbtThumbnails" runat="server" 
                    RepeatDirection="Horizontal" RepeatLayout="Flow">
                    <asp:ListItem Value="1" Selected="True">是</asp:ListItem>
                    <asp:ListItem Value="0">否</asp:ListItem>
                    
                </asp:RadioButtonList>
            </td>
		    <td><div id="Panel2" runat="server" class="msgNormal">是否把您的商品自动生成缩略图，这将提高您网站的访问速度</div></td>
	    </tr>
	     <tr>
		    <td class="form_table_input_info">给商品图片添水印：</td>
		    <td>
                <asp:RadioButtonList ID="rbtWaterMark" runat="server" 
                    RepeatDirection="Horizontal" RepeatLayout="Flow">
                    <asp:ListItem Value="1" Selected="True">是</asp:ListItem>
                    <asp:ListItem Value="0">否</asp:ListItem>
                    
                </asp:RadioButtonList>
            </td>
		    <td><div id="Panel3" runat="server" class="msgNormal">给您的网站上面的图片添加水印，防止其他网站盗用您的图片</div></td>
	    </tr>
	    <tr>
		    <td class="form_table_input_info">拍卖时是否启用保证金：</td>
		    <td>
                <asp:RadioButtonList ID="rblAllowAuctionDeposit" runat="server" 
                    RepeatDirection="Horizontal" RepeatLayout="Flow">
                    <asp:ListItem Value="1" Selected="True">是</asp:ListItem>
                    <asp:ListItem Value="0">否</asp:ListItem>
                    
                </asp:RadioButtonList>
            </td>
		    <td><div id="Div1" runat="server" class="msgNormal">拍卖时是否启用保证金是指用户第一次出价前是否缴纳保证金方可出价</div></td>
	    </tr>
	    <tr>
		    <td class="form_table_input_info">团购时是否启用保证金：</td>
		    <td>
                <asp:RadioButtonList ID="rbtAllowGroupBuyDeposit" runat="server" 
                    RepeatDirection="Horizontal" RepeatLayout="Flow">
                    <asp:ListItem Value="1" Selected="True">是</asp:ListItem>
                    <asp:ListItem Value="0">否</asp:ListItem>
                    
                </asp:RadioButtonList>
            </td>
		    <td><div id="Div2" runat="server" class="msgNormal">团购时是否启用保证金是指用户第一次参与团购前是否缴纳保证金方可参与团购</div></td>
	    </tr>
	     <tr>
		    <td class="form_table_input_info">订单接收方：</td>
		    <td>
                <asp:RadioButtonList ID="rbtOrdersReceive" runat="server" 
                    RepeatDirection="Horizontal" RepeatLayout="Flow">
                    <asp:ListItem Value="1" Selected="True">网站运营商</asp:ListItem>
                    <asp:ListItem Value="0">对应的商家</asp:ListItem>
                    
                </asp:RadioButtonList>
            </td>
		    <td><div id="Panel4" runat="server" class="msgNormal">客户的订单是直接由网站运营商接受还是发布商品的商家进行接收</div></td>
	    </tr>
	    <tr>
		    <td class="form_table_input_info">同商品订单数量限制：</td>
		    <td>
                <asp:TextBox ID="txtNumberLimit"  runat="server"></asp:TextBox>
            </td>
		    <td><asp:Panel id="txtNumberLimitTip" runat="server"></asp:Panel></td>
	    </tr>
	    <tr>
		    <td class="form_table_input_info">定单号前缀：</td>
		    <td>
                <asp:TextBox ID="txtOrdersText"  runat="server"></asp:TextBox>
            </td>
		    <td><asp:Panel id="txtOrdersTextTip" runat="server"></asp:Panel></td>
	    </tr>
	    <tr>
		    <td class="form_table_input_info">联系电话：</td>
		    <td>
                <asp:TextBox ID="txtTel"   runat="server"></asp:TextBox>
            </td>
		    <td><asp:Panel id="txtTelTip" runat="server"></asp:Panel></td>
	    </tr>
	    <tr>
		    <td class="form_table_input_info">邮政编码：</td>
		    <td>
                <asp:TextBox ID="txtZip" runat="server"></asp:TextBox>
            </td>
		    <td><asp:Panel id="txtZipTip" runat="server"></asp:Panel></td>
	    </tr>
	    <tr>
		    <td class="form_table_input_info">详细地址[实体店]：</td>
		    <td>
                <asp:TextBox ID="txtAdress"  CssClass="long_input" runat="server"></asp:TextBox>
            </td>
		    <td><asp:Panel id="txtAdressTip" runat="server"></asp:Panel></td>
	    </tr>
	    
    </table>
</asp:Content>
<asp:Content ContentPlaceHolderID="pagebottom" runat="server" ID="ContentBottom">
    <asp:Button ID="Button1" runat="server" CssClass="inputbutton" onclick="btnSave_Click" Text="保存设置" onMouseOver="javascript:document.getElementById(this.id).className='inputbutton_a'" onMouseOut="javascript:document.getElementById(this.id).className='inputbutton'"/>
</asp:Content>