<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Ban_List.aspx.cs" Inherits="TotCms.Web.Admin.NewsPaper.Ban_List" %>
<%@ Register src="../UI/main_top.ascx" tagname="main_top" tagprefix="uc1" %>

<%@ Register assembly="TotCms.Controls" namespace="TotCms.Controls" tagprefix="cc1" %>
<!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 id="Head1" runat="server">
    <title></title>
    <script src="../../js/jquery-1.5.1.min.js" type="text/javascript"></script>
    <link href="../style/global.css" rel="stylesheet" type="text/css" />    
</head>
<body>
    <form id="form1" runat="server">    
    <div>    
      <uc1:main_top ID="main_top1" runat="server" />    
    </div>
    <table cellpadding="0" cellspacing="1" border="0" width="100%">
      <tr>
        <td class="topic">
        <span class="left">期刊管理 <a href="Ban_Add.aspx?pid=<%=pid %>">添加</a></span>
        <span class="right">
        关键字：<asp:TextBox ID="tbKey" runat="server"></asp:TextBox>
          <asp:Button ID="Button1" runat="server" Text="搜索" onclick="Button1_Click" />
        </span>
        </td>
      </tr>   
      </table>
      <table cellpadding="0" cellspacing="1" border="0" width="100%">
      <asp:Repeater ID="RepeatList" runat="server" OnItemCommand="RepeatList_ItemCommand">
        <HeaderTemplate>
          <tr class="suphead">
              <td></td>
              <td>名称</td>
              <td>编辑</td>
          </tr>
        </HeaderTemplate>
        <ItemTemplate>
          <tr class="lines">
            <td align="center"><a href="/NewsPaper/Show.aspx?pid=<%# Eval("PaperId") %>&id=<%# Eval("id") %>" target="_blank">
            <img src='<%# Eval("Photo")%>' width="90" height="90" border="0" alt="" /></a></td>
            <td>            
            <div align="left">&nbsp;
            <a href="/NewsPaper/Show.aspx?pid=<%# Eval("PaperId") %>&id=<%# Eval("id") %>" target="_blank">            
            <%# Eval("ClassTitle")%></a>
            </div></td>      
            <td>
            <asp:LinkButton ID="LinkButton1" runat="server" CommandName="edit" CommandArgument='<%# Eval("id") %>'>编辑</asp:LinkButton>
			      |
			      <asp:LinkButton ID="LinkButton2" OnLoad="Delete_Load" runat="server" CommandName="delete" CommandArgument='<%# Eval("id") %>'>删除</asp:LinkButton>		
			      </td>
          </tr>
         </ItemTemplate>
         </asp:Repeater>      
      
    </table>
   
    </form>
    <script language="javascript" type="text/javascript">
      function SeleAct(obj) {
        if (obj == "remove") {
          document.getElementById("selclass").className = 'selclass';
        }
        else {
          document.getElementById("selclass").className = 'hidden';
        }
      }
     </script>

</body>
</html>
