<%@ Page Language="C#" MasterPageFile="Admin.Master" AutoEventWireup="true" CodeBehind="Editionmanage.aspx.cs" Inherits="Mvcb2b.admin.Editionmanage" Title="版面管理" %>
<%@ MasterType VirtualPath="Admin.Master" %>
<%@ Register src="controls/Date_Qi.ascx" tagname="Date_Qi" tagprefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<script type="text/javascript" src="../Comja/val_num.js"></script>    
<div class="path">当前位置： <%=Data.Bkname %> >>  版面管理</div>
<h3 class="nob">版面管理</h3>
<div class="menusearch">
    <div style="float:left;padding-left:20px;"><input type="button" value="重置搜索" onclick="javascript:window.location.href='Editionmanage.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:15px;">按刊期：</div>
    <div style="float:left;padding-left:0px;">
    <uc1:Date_Qi ID="Date_Qi1" 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" id="con_table_manage">
          <tr style="background-color:#ffffff;font-weight:bold;">
            <td>编号</td>
            <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="Editionedit.aspx?id=<%#Eval("id")%>&amp;fromurl=<%=Fromurl%>"><%#Eval("pagetitle")%></a></td>       
            <td><%#Pagename(Fun.Toint(Eval("pageid").ToString()), Fun.Toint(Eval("ismany").ToString()))%></td>
            <td><%#Qiname(Fun.Toint(Eval("qiid").ToString()))%></td>            
            <td><a href="Editionedit.aspx?id=<%#Eval("id")%>&amp;fromurl=<%=Fromurl%>">修改</a></td>
            <td><a href="Editionedit.aspx?id=<%#Eval("id")%>&qiid=<%#Eval("qiid")%>&action=del"><span onclick="return confirm('确实要删除吗?');">删除</span></a></td>
            <td><a href="Newsmanage.aspx?qi=<%#Eval("qiid")%>">管理新闻</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>     
<script type="text/javascript">
    $(function () {
        $(document).on("mouseenter", "#con_table_manage  tr", function (e) {
            e.stopPropagation();
            $(this)[0].style.cssText = $(this)[0].style.cssText + ";background-color: #DDFFFF;";
        });
        $(document).on("mouseleave", "#con_table_manage  tr", function (e) {
            e.stopPropagation();
            $(this)[0].style.cssText = $(this)[0].style.cssText + ";background-color: #fff;";
        });
    });
</script>        
</asp:Content>
