<%@ Page language="c#" Codebehind="ShippingFree.aspx.cs" AutoEventWireup="false" Inherits="XpShop.WebUI.Admin.ShippingFree" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
	<head>
	    <!--#include file="inc/head.inc"-->
		<title>ShippingFree</title>
	</head>
	<body>
	    <div class="container">
		<div class="sub_container">
		<div class="sub_container_title"><a href="../default.aspx" target="_blank">桌面</a><img src="images/admin_title.jpg" height=9px width=8px align="absmiddle" />免运费设定</div>
		<div class="sub_container_content">
		<form id="Form1" method="post" runat="server">
		    <div class="frame">
		        <div class="frame_title"><asp:label id="lblAction" runat="server" CssClass="tableHeaderText" Text="免运费设定"></asp:label></div>
		        <div class="frame_content">
			        <table class="tableBorder" cellspacing="0" cellpadding="0" width="640" align="center" border="0">
				        <tr>
					        <td height="30" class="forumRowHighlight" rowspan="3">
					            免运费方式：
					        </td>
					        <td class="forumRowHighlight">
					            <asp:RadioButton ID="rbtnNotFree" GroupName="Least" runat="server" Text="不开通免运费功能" AutoPostBack="true" />				    
					        </td>
					        <td class="forumRowHighlight"></td>
				        </tr>
				        <tr>
				            <td class="forumRowHighlight"><asp:RadioButton ID="rbtnUnity" GroupName="Least" runat="server" Text="所有地区统一设置最低消费额" AutoPostBack="true" /></td>
				            <td class="forumRowHighlight" width="57%">
					            <asp:TextBox ID="txtUnity" runat="server" Width="60px"></asp:TextBox>
					        </td>
				        </tr>
				        <tr>
				            <td class="forumRowHighlight"><asp:RadioButton ID="rbtnDivision" GroupName="Least" runat="server" Text="分地区设置最低消费额" AutoPostBack="true" /></td>
				            <td class="forumRowHighlight"><asp:dropdownlist id="ddlArea" runat="server" AutoPostBack="true"></asp:dropdownlist></td>
				        </tr>
			        </table>
			        <table class="tableBorder" cellspacing="0" cellpadding="0" width="640" align="center" border="0">
				        <tr>
					        <td align="center" class="forumRowHighlight">
					            <asp:label id="lblInfo" runat="server"></asp:label><asp:datagrid id="dgShippingFree" runat="server" HorizontalAlign="Center" Width="100%" DataKeyField="ShippingAreaID"
							        AutoGenerateColumns="False" AllowPaging="False" HeaderStyle-CssClass="summary-title">
							        <HeaderStyle Font-Bold="True"></HeaderStyle>
							        <Columns>
								        <asp:TemplateColumn HeaderText="地区">
									        <HeaderStyle HorizontalAlign="Right"></HeaderStyle>
									        <ItemStyle HorizontalAlign="Right" Width="200px"></ItemStyle>
									        <ItemTemplate>
										        <b>
											        <%# DataBinder.Eval(Container.DataItem, "Name")%>
										        </b>
									        </ItemTemplate>
								        </asp:TemplateColumn>
								        <asp:TemplateColumn HeaderText='ddd'>
									        <HeaderStyle HorizontalAlign="Center"></HeaderStyle>
									        <ItemStyle HorizontalAlign="Center"></ItemStyle>
									        <ItemTemplate>
										        <asp:TextBox ID="txtDivision" Runat="server" Text='<%# DataBinder.Eval(Container.DataItem, "Least") %>'>
										        </asp:TextBox>
									        </ItemTemplate>
								        </asp:TemplateColumn>
							        </Columns>
						        </asp:datagrid>
						        <asp:Button id="btnSave" runat="server" Text="保存"></asp:Button></td>
				        </tr>
				        <tr>
				            <td>
        				       
				            </td>
				        </tr>
			        </table>
		        </div>
	        </div>
		</form>
		</div>
		</div>
		</div>
	</body>
</html>
