<%@ Page Language="C#" MasterPageFile="Admin.Master" AutoEventWireup="true" CodeBehind="Termmanage.aspx.cs" Inherits="Mvcb2b.admin.Termmanage" Title="出版期数管理" %>
<%@ MasterType VirtualPath="Admin.Master" %>
<%@ Register src="controls/Date_Month.ascx" tagname="Date_Month" tagprefix="uc1" %>
<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=200,left=450,width=200,height=300,scrollbars=no');
    }
</script>  
<div class="path">当前位置： 系统管理 >>  出版期数管理</div>
<h3 class="nob">出版期数管理</h3>
<div class="menusearch">
    <div style="float:left;padding-left:20px;">请选择：</div>
    <div style="float:left;padding-left:0px;"><uc1:Date_Month ID="Date_Month1" runat="server" /> &nbsp;<asp:Button ID="Search1" runat="server" Text="搜索"  CssClass="submit"   onclick="Search1_Click" /></div>
</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><a href="termmanage.aspx?order=id">ID</a></td>           
            <td><a href="termmanage.aspx?order=qi">总第多少期</a></td>            
            <td>年</td>
            <td>月</td>
            <td>发行日期</td>
            <%if (typeid == 8)
              {%>
            <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="Termedit.aspx?id=<%#Eval("id")%>"><%#Eval("totalqi").ToString()%></a></td>
            <td><%#Eval("nowyear").ToString()%></td>
            <td><%#Eval("nowmonth").ToString()%></td>
            <td><%#Eval("issuedate").ToString()%></td>
            <%if (typeid == 8)
              {%>
            <td><%#Qiclass(Eval("id"))%></td>
            <%} %>
            <td><%#State(Eval("isshow"))%></td>
            <td><a href="Termedit.aspx?id=<%#Eval("id")%>">修改</a></td>
            <td><a href="Termedit.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><td>&nbsp; 直接进入 <asp:textbox  id="gopage" Width="30px"   runat="server"  CssClass="gopage" > </asp:textbox> 页  </td>
           <td> <asp:button id ="Submithao"  Text="Go" runat="server" OnClick="Submithao_Click" CssClass="gopage" ></asp:button></td></tr></table>
</div>         

 <div class="help">
        <h4>? 帮助</h4>
        <ul>        
        <li>1. 请不要添加两期以上的<span style="color:red;">空期</span>（即不要添加没有版面内容的刊期），否则过多空期会导致前台找不到报刊内容而提示出错.</li>
        <li>2. 前台浏览<span style="color:red;">已设置前台显示</span>的刊期，请退出管理员模式观看.</li>
        <li>3. 已登录管理员在前台将会看到所有刊期.</li>
        </ul>
   </div>   
</asp:Content>
