<%@ page language="C#" autoeventwireup="true" inherits="admin_email_sendemaillist, localhost_deploy" %>

<%@ Register Src="../../common/pageContent.ascx" TagName="pageContent" 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">
<title>邮件订阅页面</title>
<link href="/admin/common/client.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" >

</script>
</head>
<body class="mg3">
<%
	PageContent.ImagePageBar=true;
  PageContent.Table="Sys_SendEmail";
	PageContent.Url = "sendemaillist.aspx?ord=" + Para("ord") + "&pn=@pagenumber@";
	PageContent.SQL="select S_Date,S_EML,S_ID,S_Name from Sys_SendEmail  ";
	
	PageContent.PageBody("@@Const.PageTable()@@","@@Const.PageBar(\" ##Const.AddButton('sendemailitem.aspx?ord=" + Para("ord") + "')## ##Const.DeleteButton()## \")@@  ","<tr id='trhead'>@content@</tr>","<tr id='tr_@S_ID@'>@content@</tr>");
	PageContent.AddList("<td>编号</td>","<td>@ItemNumber@</td>");
	PageContent.AddList("@@Const.RowToggleAll()@@","@@Const.RowToggleItem('@C_ID@')@@");
  PageContent.AddList("@@Const.PageOrderField('sendemaillist.aspx?ord=','S_Name','" + Para("ord") + "','邮件标题')@@", "<td><a href='/upload/file/@S_EML@' target='_blank'>@S_Name@</a></td>");
  PageContent.AddList("@@Const.PageOrderField('sendemaillist.aspx?ord=','S_Date','" + Para("ord") + "','发送时间')@@","<td>@S_Date@</td>");
  PageContent.AddList("<td>&nbsp;</td>","<td><a href='sendemailitem.aspx?id=@S_id@' class='edit'>编辑</a></td>");
%>
<uc1:pageContent ID="PageContent" runat="server" />
</body>
</html>   
