<%@ Page Language="C#" AutoEventWireup="true" CodeFile="TuPianCaiJi_LanMu.aspx.cs" Inherits="Admin_NeiRong_TuPianCaiJi_LanMu" %>

<!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">
    <title>无标题页</title>
    <link rel="Stylesheet" href="../Images/Admin.css" type="text/css" />
    <script type="text/javascript" src="../Images/Admin.js"></script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    <div style="height:18px">
    位置：图片采集 &gt; <a href="TuPianCaiJi_WangZhan.aspx">网站管理</a> &gt; <%=Server.HtmlEncode(网站名称) %>
    </div>
    
    <div style="height:5px"></div>
    <input type="button" value="增加采集栏目" onclick="location.href='TuPianCaiJi_LanMu_ZengJia.aspx?ID=<%=ID %>'" />
    <div style="height:5px"></div>
    
    <table class="tab1" border="0" cellpadding="0" cellspacing="0">
    <tr>
        <td>
        <table class="tab2" border="0" cellpadding="0" cellspacing="0">
        <tr>
            <td class="tab2_bt">
            采集栏目管理
            </td>
        </tr>
        <tr>
            <td>
                <asp:GridView ID="GridView1" runat="server" AllowSorting="True" AutoGenerateColumns="False"
                    CellSpacing="1" CssClass="tab3" GridLines="None" OnSorting="GridView1_Sorting">
                    <Columns>
                        <asp:TemplateField HeaderText="&lt;input type=&quot;checkbox&quot; onclick=&quot;this.checked?QuanXuan('d'):BuXuan('d')&quot; /&gt;ID" SortExpression="ID">
                            <ItemTemplate>
                                <input type="checkbox" name="d" value="<%# Eval("ID") %>" /><%# Eval("ID") %>
                            </ItemTemplate>
                            <HeaderStyle Width="10%" />
                            <ItemStyle Width="10%" />
                        </asp:TemplateField>
                        <asp:BoundField DataField="栏目名称" HeaderText="栏目名称">
                            <HeaderStyle Width="20%" />
                            <ItemStyle Width="20%" />
                        </asp:BoundField>
                        <asp:BoundField DataField="开始列表地址" HeaderText="开始列表地址">
                            <HeaderStyle Width="20%" />
                            <ItemStyle Width="20%" />
                        </asp:BoundField>
                        <asp:BoundField DataField="创建时间" HeaderText="创建时间">
                            <HeaderStyle Width="10%" />
                            <ItemStyle Width="10%" />
                        </asp:BoundField>
                        <asp:TemplateField HeaderText="开始采集">
                            <ItemTemplate>
                                <a href="TuPianCaiJi_LanMu_PiLiang.aspx?ID=<%# Eval("ID") %>&amp;rurl=<%# Server.UrlEncode(Request.Url.ToString()) %>">批量采集</a>
                                <a href="TuPianCaiJi_LanMu_KeShi.aspx?ID=<%# Eval("ID") %>&amp;rurl=<%# Server.UrlEncode(Request.Url.ToString()) %>">可视采集</a>
                            </ItemTemplate>
                            <HeaderStyle Width="10%" />
                            <ItemStyle Width="10%" />
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="修改">
                            <ItemTemplate>
                                <a href="TuPianCaiJi_LanMu_XiuGai.aspx?ID=<%# Eval("ID") %>&amp;rurl=<%# Server.UrlEncode(Request.Url.ToString()) %>">
                                    修改</a>
                            </ItemTemplate>
                            <HeaderStyle Width="10%" />
                            <ItemStyle Width="10%" />
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="删除">
                            <ItemTemplate>
                                <a href="TuPianCaiJi_LanMu_ShanChu.aspx?ID=<%# Eval("ID") %>&amp;rurl=<%# Server.UrlEncode(Request.Url.ToString()) %>"
                                    onclick="if(!confirm('真的要删除吗？')){return false;}">删除</a>
                            </ItemTemplate>
                            <HeaderStyle Width="10%" />
                            <ItemStyle Width="10%" />
                        </asp:TemplateField>
                    </Columns>
                </asp:GridView>
                
            </td>
        </tr>
        </table>
        </td>
    </tr>
    </table>
    </div>
        <asp:HiddenField ID="PaiXuZiDuan" runat="server" Value="ID" />
        <asp:HiddenField ID="PaiXuFangXiang" runat="server" Value="true" />
        <asp:Label ID="CaoZuoDaiMa" runat="server"></asp:Label>
    </form>
    <div style="height:5px"></div>
        <form method="get" action="TuPianCaiJi_LanMu.aspx">
        <asp:Panel ID="Panel1" runat="server" Style="text-align: right" Width="100%">
            <asp:Label ID="FenYeDaiMa" runat="server" Text="Label"></asp:Label></asp:Panel>
            </form>
</body>
</html>
