<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Gathers.aspx.cs" Inherits="TotCms.Web.Admin.Gathers" %>

<%@ 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 runat="server">
  <meta http-equiv="content-type" content="text/html; charset=utf-8" />
  <title>采集管理</title>
  <link href="style/global.css" rel="stylesheet" type="text/css" />
  <script src="js/common.js" type="text/javascript"></script>
  <script type="text/javascript">
  function ProcessGather(){
    $('Layer1').style.display='block';
    $('Layer1').style.left=event.x-300;
    $('Layer1').style.top=event.y;
  }
  </script>
</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 colspan="2" class="topic">采集管理 <a href="Gather1.aspx">添加</a></td>
        <td colspan="2" class="topic">&nbsp;</td>
      </tr>   
      <asp:Repeater ID="LabelList" runat="server">
        <HeaderTemplate>
          <tr class="suphead">
              <td>id</td>
              <td>名称</td>
              <td>Url</td>
              <td>操作</td>
          </tr>
        </HeaderTemplate>
        <ItemTemplate>
          <tr class="lines">
            <td><%# Eval("id") %></td>
            <td><%# Eval("Title")%></td>
            <td><%# Eval("Url") %></td>
            <td>
            <asp:LinkButton ID="LinkButton1" runat="server" CommandName="edit" CommandArgument='<%# Eval("id") %>'>编辑</asp:LinkButton>
						  |
						<asp:LinkButton ID="LinkButton3" OnLoad="Gather_Load" runat="server" CommandName="gather" 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>
    <cc1:Pager ID="Pager1" runat="server" GenerateFirstLastSection="True" 
      GenerateGoToSection="True" GenerateHiddenHyperlinks="False" 
      QueryStringParameterName="CurrentPage" OnCommand="pager_Command" 
      GoToStyle="text" OfClause="/" PageClause="页" PageSize="15" />
      <div id="Layer1" style="position:absolute; display:none; filter:alpha(opacity=50); width:285px; height:159px; z-index:1; left: 447px; top: 381px; background-color: #003399; layer-background-color: #99FFFF; border: 1px none #000000;">
        <div align="center">
          <p>&nbsp;</p>
          <p>&nbsp;</p>
          <p><font color="#FFFFFF">信息采集中，可能时间比较长请耐心等待...</font></p>
        </div>
      </div>
    </form>
</body>
</html>
