<%@ Page Language="C#" MasterPageFile="MasterPage.Master" AutoEventWireup="true" CodeBehind="Shipping.aspx.cs" Inherits="SocoShop.Web.Admin.Shipping" %>
<%@ Register Namespace="SkyCES.EntLib" Assembly="SkyCES.EntLib" TagPrefix="SkyCES"%>
<%@ Import Namespace="SocoShop.Entity" %>
<%@ Import Namespace="SocoShop.Common" %>
<asp:Content ID="MasterContent" ContentPlaceHolderID="ContentPlaceHolder" runat="server">
<div class="position"><img src="/Admin/Style/Images/PositionIcon.png"  alt=""/>物流列表</div>	
<ul class="listHead">
	<li style="width:5%">ID</li>
	<li style="width:20%; text-align:left;text-indent:8px;">名称</li>
	<li style="width:40%">描述</li> 
	<li style="width:10%">启用</li> 
	<li style="width:20%">管理</li>         
	<li style="width:5%">选择</li>        
</ul>
<asp:Repeater ID="RecordList" runat="server">
	<ItemTemplate>	     
        	<ul class="listMain" onmousemove="ChangeColor(this,'#FFFDD7')" onmouseout="ChangeColor(this,'#FFF')">
			<li style="width:5%"><%# Eval("ID") %></li>
			<li style="width:20%; text-align:left;text-indent:8px;"><%# Eval("Name") %></li>
			<li style="width:40%"><%# Eval("Description")%></li> 
			<li style="width:10%"><%# ShopCommon.GetBoolString(Eval("IsEnabled"))%></li> 
			<li style="width:20%;">
			    <a href="javascript:pop('ShippingAdd.aspx?ID=<%# Eval("ID") %>',600,400,'物流修改','ShippingAdd<%# Eval("ID") %>')"><img src="Style/Images/edit.gif" alt="修改" title="修改" /></a>  
			    <a href="javascript:popPageOnly('ShippingRegion.aspx?ShippingID=<%# Eval("ID") %>',800,600,'区域设置','ShippingRegion<%# Eval("ID") %>')"><img src="Style/Images/set.gif" alt="区域设置" title="区域设置" /></a>  
				<a href="?Action=Up&ID=<%#Eval("ID")%>"><img src="Style/Images/moveUp.gif" alt="上移" title="上移" /></a>  
			    <a href="?Action=Down&ID=<%#Eval("ID")%>"><img src="Style/Images/moveDown.gif" alt="下移" title="下移" /></a>
			</li>
			<li style="width:5%"><input type="checkbox" name="SelectID" value="<%# Eval("ID") %>" /></li> 	        
		</ul>
        </ItemTemplate>
</asp:Repeater>
<div class="action">
        <input type="button"  value=" 添 加 " class="button" onclick="pop('ShippingAdd.aspx',600,400,'物流添加','ShippingAdd')"/>&nbsp;<asp:Button CssClass="button" ID="DeleteButton" Text=" 删 除 " OnClientClick="return checkSelect()" runat="server"  OnClick="DeleteButton_Click"/>&nbsp;<input type="checkbox" name="All" onclick="selectAll(this)" />全选/取消
</div>
</asp:Content>
