<%@	 Page Language="C#" AutoEventWireup="true" CodeFile="EmailStatistics.aspx.cs"
    Inherits="Admin_Email_EmailStatistics" %>

<%@ Register Src="../../Control/PageNo.ascx" TagName="PageNo" TagPrefix="uc1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>发送邮件统计</title>
<link rel="stylesheet" href="../skin/style.css" type="text/css" />
<script type="text/javascript" src="../../js/jquery.js"></script>
</head>
<body>
    <form id="form1" runat="server">
	<div class="itemtitle">
            <h3>
                操作提示</h3>
        </div>
        <div class="itemtitle_tect">
            <ul>
                <li>通过供应信息管理，您可以进行编辑信息审核、推荐、修改和删除等操作；</li>
            </ul>
        </div>
        <div class="clr">
        </div>
        <div class="talbe_border">
		<asp:DataList ID="dlEmaillist" runat="server" DataKeyField="Id" Width="100%" OnDeleteCommand="dlEmaillist_DeleteCommand" OnUpdateCommand="dlEmaillist_UpdateCommand">
			<HeaderTemplate>
			   <table cellpadding="0" cellspacing="0" border="0" width="100%" class="talbe_th header">
					<tr>
						<th class="th20 tou"></th>
						<th class="left2">用户名</th>
						<th class="th80">邮件发送状态</th>
						<th class="th80">邮件类型</th>
						<th class="th80">发送时间</th>
						<th class="th80">操作选项</th>
					</tr>
				</table>
			</HeaderTemplate>
			<ItemTemplate>
				<table cellpadding="0" cellspacing="0" border="0" width="100%" class="talbe_td">
					<tr onmouseover="this.style.backgroundColor='#F0F7FD'" onmouseout="this.style.backgroundColor=''">
						<td style=" width:24px;">
							<asp:CheckBox ID="CheckBox1" runat="server" />
							<asp:Label ID="lblUserID" runat="server" Visible="false" Text='<%# Eval("UserID")%>'></asp:Label>
						</td>
						<td class="left4">
							<%# Eval("LoginName")%>
						</td>
						<td style=" width:119px;">
							<%# Eval("State")%>
						</td>
						<td style=" width:119px;">
						    <asp:Label ID="lblType" runat="server" Text='<%# Eval("SubscriptionType")%>'></asp:Label>
						</td>
						<td style=" width:119px;">
							<%# Eval("AddDate")%>
						</td>
						<td style=" width:119px;">
							<asp:LinkButton ID="lnkbtnDelete" CommandName="delete" runat="server" OnClientClick="return confirm('您确认要删除吗？')">删除</asp:LinkButton>
							<asp:Button ID="btnSend" runat="server" Text="发送" CommandName="Update" />
						</td>
					</tr>
				</table>
			</ItemTemplate>
		</asp:DataList>
		<div class="Paging">
         <p>
		 <asp:Label ID="lblMessage" runat="server" ForeColor="Red" Text="Label" Visible="false"></asp:Label>
		<uc1:PageNo ID="PageNo1" runat="server" />
		 </p>
		<input id="CheckBox2" name="CheckBox2" onclick="SelectAll();" type="checkbox" />全选
		<asp:Button ID="btnDelete" runat="server" OnClick="btnDelete_Click" Text="批量删除" CssClass="i_button" />
		<asp:Button ID="btnSend" runat="server" Text="批量发送" CssClass="i_button" OnClick="btnSend_Click"/>
        </div>
		</div>
    </form>
</body>
</html>
