<%@ Page Title="" Language="C#" MasterPageFile="../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="6"> 百宝箱列表 </th>
    </tr>
    <tr >
      <td colspan="6" class="date"><div class="dateinput">搜索
        <asp:TextBox ID="TextBox1" runat="server" class="ym12_input2"></asp:TextBox>
        <asp:Button ID="Button1" runat="server" onclick="Button1_Click" Text="搜索"  CssClass="btn02" onmouseover="this.className='btn04'" onmouseout="this.className='btn02'"/></div>
      </td>
    </tr>
    <asp:Repeater ID="Repeater1" runat="server" 
          onitemdatabound="Repeater1_ItemDataBound1">
      <HeaderTemplate>
        <tr align="center">
          <td class="td2" width="5%">&nbsp;</td>
          <td width="5%" class="td2"> ID </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><%#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="6" class="td2"><div id="tnt_pagination"> <%= PageStr%></div></td>
    </tr>
  </table>
  <script language="JavaScript">
	tigra_tables('demo_table', 2, 1, '#ecfbd4', '#ffffff', '#e5f1f4', '#bce774');
</script>
</asp:Content>
