<%@ Page Language="C#" AutoEventWireup="false" CodeBehind="SendP.aspx.cs" Inherits="web.admin.SendP" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title>ShippingPrice</title><meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
		<LINK href="images/adminstyle.css" type="text/css" rel="stylesheet">
				<script language="JavaScript">
<!--
//By Dicky 2005-2-17 11:16:49
function Window_Load(Flag)
{

if (Flag == 0)
{

  parent.document.all['Loading'].style.display = 'block';
  parent.document.all['Loading'].style.width = '500';
   parent.document.all['Loading'].style.height = '60';
  //show the window
}
else
{
  parent.document.all['Loading'].style.display = 'none';
  
  //hide the window
}
}
//-->
</script>
	</HEAD>
		<body rightmargin="0" leftmargin="0" topmargin="0" >
	
		<form id="Form2" method="post" runat="server" >

<table width="100%" height="550" cellspacing="0" cellpadding="0">
  <tr>
    <td valign="top">
<div class="top">
          <table width="100%" align="center" cellpadding="0" cellspacing="0" bgcolor="#EDF6FF">
            <tr>
		      <td width="8%" height="29" class="tl"></td>
		<td width="88%" class="tm"><span class="tt">物流系统 &gt;&gt; <asp:label id="lblAction" runat="server">配送价格设定</asp:label></span></td>
		      <td width="1%" class="tm2"><span class="tt"></span></td>
		<td width="3%" class="tr"></td>
	</tr>
</table>
</div>
<div class="mframe">
        <table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
      <td class="ml"></td>
    <td  class="mm" align="left" valign="top">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td bgcolor="#EBF3FE" valign="top" style=" >
<table width="90%"  cellspacing="0" cellpadding="0">
	<tr>
		<td class="ml1"></td>
		          <td class="mm1"><br>
                    <table  cellSpacing="0" cellPadding="0" width="640" align="center" border="0">
				<tr height="35">
					<td align="center" height="23"><asp:dropdownlist id="ddlArea" runat="server"></asp:dropdownlist><asp:dropdownlist id="ddlShipping" runat="server"></asp:dropdownlist><asp:button id="btnSet" CssClass="btn" runat="server" Text="设定"></asp:button></td>
				</tr>
				<tr>
					<td align="center" class="forumRowHighlight"><asp:label id="lblInfo" runat="server"></asp:label><asp:datagrid id="dgShippingPrice" runat="server" HorizontalAlign="Center" Width="100%" DataKeyField="PriceID"
							AutoGenerateColumns="False" AllowPaging="False" HeaderStyle-CssClass="summary-title">
							<HeaderStyle Font-Bold="True"></HeaderStyle>
							<Columns>
								<asp:TemplateColumn HeaderText="&lt;img src='images/admin_help.gif'&gt;">
									<HeaderStyle HorizontalAlign="Right"></HeaderStyle>
									<ItemStyle HorizontalAlign="Right" Width="200px"></ItemStyle>
									<ItemTemplate>
										<b>
											<%# DataBinder.Eval(Container.DataItem, "AreaName") %>
										</b>
									</ItemTemplate>
								</asp:TemplateColumn>
								<asp:TemplateColumn HeaderText='ddd'>
									<HeaderStyle HorizontalAlign="Center"></HeaderStyle>
									<ItemStyle HorizontalAlign="Center"></ItemStyle>
									<ItemTemplate>
										<asp:TextBox ID="txtExpression" Runat=server Text='<%# DataBinder.Eval(Container.DataItem, "Expression") %>'>
										</asp:TextBox>
									</ItemTemplate>
								</asp:TemplateColumn>
							</Columns>
						</asp:datagrid>
						<asp:Button id="btnSave" runat="server" CssClass="btn" Text="修改" Visible="False"></asp:Button></td>
				</tr>
			</table>
			        <br>
                    <table cellSpacing="0" cellPadding="0" width="640" align="center" border="0">
				<tr>
					    <td height="97">注：(如“20+(c(w/0.5)-1)*6”代表首重为20元次重为6元，单位重量为0.5千克的配送费用)<FONT face="宋体"><BR>
											字母“w”表示食单物品总重量<BR>
											字母“p”代表食单总金额<BR>
											字母“q”代表食单物品总数量<br>
											字符“c()”代表“ceiling”，指偏大取整（如c(0.4/0.5)=1）</font><font color=red>*Access版本不支持此函数</font></td>
				</tr>
			</table>
		</td>
		<td class="mr1"></td>
	</tr>
</table>
</td>
  </tr>
</table>


<table width="100%" align="center" cellspacing="0" cellpadding="0">
	<tr>
		<td class="bl"></td>
		<td class="bm">&nbsp;</td>
		<td class="br"></td>
	</tr>
</table>
</td>
    <td  class="mr"></td>
  </tr>
</table>
<table width="100%" align="center" cellspacing="0" cellpadding="0">
	<tr>
		<td class="bl"></td>
		<td class="bm">&nbsp;</td>
		<td class="br"></td>
	</tr>
</table>

</div>
    </td>
  </tr>
</table>
		</form>
	</body>
</HTML>
