<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="AdClick.aspx.cs" Inherits="ETongJin.Search.Web.TuiGuang.AdClick" %>
<!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>
<link rel="stylesheet" type="text/css" href="css/mainstyle.css"/>
<script language="JavaScript" src="js/tigra_tables.js"></script>
<script type="text/javascript">
function CheckAll(obj)
{
var allcheck = document.getElementsByName("userid");
for(i=0;i<allcheck.length;i++)
{
allcheck[i].checked = obj.checked;
}
}
</script>
</head>
<body>
<form id="form1" runat="server">
  <div class="weizhi">
    <div class="weizhi_bj" id="titlebt" runat="server"> 广告点击</div>
  </div>
  <table class="tableBorder" border="0" cellpadding="3" cellspacing="1" id="demo_table">
    <tr>
      <td colspan="7" class="date"><asp:HiddenField ID="ddlSearchType" Value="0" runat="server" />
        搜索：
        <input style="display:none" />
        <asp:TextBox ID="txtKeyWords" runat="server" Text="关键字" onfocus="if(this.value=='关键字')this.value='';" CssClass="ym12_input2"></asp:TextBox>
        <asp:Button ID="Button4" runat="server" Text=" 提交 " OnClick="Button4_Click" CssClass="btn" /></td>
    </tr>
    <tr align="center">
      <td width="5%" class="td1">&nbsp;</td>
      <td class="td1"> 搜索关键词 </td>
      <td width="15%" class="td1"> 来路1</td>
      <td width="19%" class="td1">来路2</td>
      <td width="14%" class="td1">点击IP</td>
      <td width="18%" class="td1"> 点击时间</td>
      <td width="6%" class="td1"> 操作</td>
    </tr>
    <asp:Repeater ID="Repeater1" runat="server" OnItemDataBound="Repeater1_ItemDataBound">
      <ItemTemplate>
        <tr align="center">
          <td><input name='userid' type='checkbox' value='<%#Eval("id") %>' /></td>
          <td class="td4"><asp:HyperLink ID="HyperLink1" Target="_blank" Text='<%#Eval("word") %>' runat="server"></asp:HyperLink></td>
          <td class="td4"><%#Eval("add1") %></td>
          <td class="td4"><%#Eval("add2") %></td>
          <td><%#Eval("IP") %></td>
          <td><%#Eval("addTime") %></td>
          <td><asp:LinkButton ID="btnDel" runat="server" OnClick="btnDel_Click" CommandArgument='<%# Eval("id")%>' OnClientClick="return confirm('删除后无法恢复，您是否确定删除？');">删除</asp:LinkButton></td>
        </tr>
      </ItemTemplate>
    </asp:Repeater>
    <tr>
      <td colspan="7" class="td2"><div id="tnt_pagination"><%= PageStr%></div></td>
    </tr>
    <tr>
      <td class="td3"><input name='chkAll' type='checkbox' id='chkAll' onclick='CheckAll(this)' value='checkbox' /></td>
      <td colspan="6" class="td5"><asp:Button ID="Button7" runat="server" Text="批量删除" OnClick="ButtonClick" CommandArgument="2" OnClientClick="return confirm('删除后无法恢复，您是否确定删除？');" CssClass="btn" /></td>
    </tr>
  </table>
  <script language="JavaScript">
	tigra_tables('demo_table', 2, 2, '#ecfbd4', '#ffffff', '#e5f1f4', '#bce774');
</script>
</form>
</body>
</html>
<%=config.Statistics %>