<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/Admin.Master" AutoEventWireup="true" CodeBehind="Baibao.aspx.cs" Inherits="ETongJin.Search.UI.Admin.sys.Baibao" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server"></asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
  <table class="tableBorder" border="0" cellpadding="3" cellspacing="1" id="demo_table">
    <tr>
      <th colspan="5"> 百宝箱列表 </th>
    </tr>
    <asp:Repeater ID="Repeater1" runat="server" onitemdatabound="Repeater1_ItemDataBound1">  
      <HeaderTemplate>
        <tr align="center">
          <td class="td2" width="5%">&nbsp;</td> 
          <td width="10%" class="td2"> 标题 </td>
          <td class="td2"> 关键词 </td>
          <td width="8%" class="td2"> 是否显示</td>
          <td width="12%" class="td2"> 操作</td>
        </tr>
      </HeaderTemplate>
      <ItemTemplate>
        <tr align="center">
          <td><input id="Checkbox1" type="checkbox" name="id" value="<%#Eval("baibao_id") %>" /></td>
          <td class="td4"><%#Eval("baibao_title") %> </td>
          <td class="td4"><asp:HyperLink ID="hlKeyWord" NavigateUrl='' runat="server" Target="_blank" Text='<%#Eval("baibao_keyword") %>'></asp:HyperLink></td>
          <td><%#Eval("baibao_show") %> </td>
          <td><a href="editbaibao.aspx?i=<%#Eval("baibao_id") %>">修改</a>|
            <asp:LinkButton ID="LinkButton2"  OnClick="btnDel_Click" CommandArgument='<%# Eval("baibao_id")%>' runat="server" CausesValidation="false" OnClientClick="return confirm('您将删除这条记录!!?删除后不可恢复');">删除</asp:LinkButton>
          </td>
        </tr>
      </ItemTemplate>
    </asp:Repeater>
    <tr>
      <td colspan="5" class="td2"><div id="tnt_pagination"> <%= PageStr%></div></td>
    </tr>
  </table>
  <script language="JavaScript">
	tigra_tables('demo_table', 2, 1, '#ffffff', '#F8F8F8', '#F1F3F5', '#71ADDA');
</script>
</asp:Content>
