<%@ Page Language="C#" MasterPageFile="Admin.Master" AutoEventWireup="true" CodeBehind="Dingyueemailmanage.aspx.cs" Inherits="Mvcb2b.admin.Dingyueemailmanage" Title="订阅管理" %>
<%@ MasterType VirtualPath="Admin.Master" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<script type="text/javascript" src="../Comja/val_num.js"></script>    
<script type="text/javascript">
    function Win_open(link) {
        window.open(link, '', 'top=120,left=200,width=650,height=450,scrollbars=no');
    }
</script>
<div class="path">当前位置： 系统管理 >>  订阅管理</div>
<h3 class="nob">发送邮件管理</h3>
<div class="menusearch">
    <div style="float:left;padding-left:20px;"><input type="button" value="重置搜索" onclick="javascript:window.location.href='Dingyueemailmanage.aspx';" class="submit"  /> &nbsp; 关键字：</div>
    <div style="float:left;padding-left:0px;"><input type="text" class="key" name="key" id="key" value="<%=keyword %>" /> </div>
    <div style="float:left;padding-left:0px;">    &nbsp;<asp:Button ID="Search1" runat="server" Text="搜索"  CssClass="submit"   onclick="Search1_Click" /> </div>
</div>
<div class="menu2"><a href="Dingyueemail.aspx">写邮件</a> <a href="Dingyueemailmanage.aspx">发送邮件管理</a> <a href="Dingyuesetup.aspx">SMTP发送设置</a>  <a href="Dingyuemanage.aspx">返回订阅管理</a></div>
<table width="96%" border="0" align="center" cellpadding="2" style="background-color:#f5f5f5;" cellspacing="1">
          <tr style="background-color:#ffffff;font-weight:bold;">
            <td>编号</td>
            <td>邮件标题</td>  
            <td>是否发送</td>
            <td>时间</td>
            <td>编辑</td>
            <td>删除</td>
          </tr>
        <asp:Repeater ID="Repeater1" runat="server">
          <ItemTemplate>
          <tr style="background-color:#ffffff">
            <td><%#Eval("id")%></td>
            <td><a href="Dingyueemailedit.aspx?id=<%#Eval("id")%>"><%#leftmore(Eval("title").ToString(),50)%></a></td>       
            <td><%#SendState(Eval("issend"))%></td>
            <td><%#Eval("addtime")%></td>
            <td><a href="Dingyueemailedit.aspx?id=<%#Eval("id")%>">修改</a></td>
            <td><a href="Dingyueemailedit.aspx?id=<%#Eval("id")%>&action=del"><span onclick="return confirm('确实要删除吗?');">删除</span></a></td>
          </tr></ItemTemplate>
         </asp:Repeater>
         <asp:Literal runat="server"  ID="noms"  />
        </table> 
<div class="pagemsg" >
<table  border="0" align="center" cellpadding="0" cellspacing="0">
          <tr><td><asp:Literal id="Message" runat="server" ></asp:Literal></td>
          </tr><tr>
          <td style="text-align:right;">&nbsp; 直接进入 <asp:textbox  id="gopage" Width="30px"   runat="server"  CssClass="gopage" > </asp:textbox> 页   <asp:button id ="Submithao"  Text="Go" runat="server" OnClick="Submithao_Click" CssClass="gopage" ></asp:button> </td>
          </tr></table>
</div>           
</asp:Content>
