<%@ Page Language="C#" MasterPageFile="MasterPage.Master" AutoEventWireup="true" CodeBehind="FavorableActivity.aspx.cs" Inherits="SocoShop.Web.Admin.FavorableActivity" %>
<%@ Register Namespace="SkyCES.EntLib" Assembly="SkyCES.EntLib" TagPrefix="SkyCES"%>
<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:40%; text-align:left;text-indent:8px;">优惠活动</li>
	<li style="width:30%">时间</li>
	<li style="width:15%">最低产品金额</li>    
	<li style="width:5%">管理</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:40%; text-align:left;text-indent:8px;"><%# Eval("Name") %></li>
			<li style="width:30%"><%# Eval("StartDate","{0:yyyy-MM-dd}") %> 到 <%# Eval("EndDate","{0:yyyy-MM-dd}") %></li>
	        <li style="width:15%"><%# Eval("OrderProductMoney")%></li>    
			<li style="width:5%;">
			    <a href="javascript:pop('FavorableActivityAdd.aspx?ID=<%# Eval("ID") %>',800,600,'优惠活动修改','FavorableActivityAdd<%# Eval("ID") %>')"><img src="Style/Images/edit.gif" alt="优惠活动修改" title="优惠活动修改" /></a>
			</li>
			<li style="width:5%"><input type="checkbox" name="SelectID" value="<%# Eval("ID") %>" /></li> 	        
		</ul>
        </ItemTemplate>
</asp:Repeater>
<div class="listPage"><SkyCES:CommonPager ID="MyPager" runat="server" /></div>
<div class="action">
        <input type="button"  value=" 添 加 " class="button" onclick="pop('FavorableActivityAdd.aspx',800,600,'优惠活动添加','FavorableActivityAdd')"/>&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>
