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

<%@ Register src="UI/main_top.ascx" tagname="main_top" tagprefix="uc1" %>

<!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">
    <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>
    <style type="text/css">
      .style1
      {
        width: 100%;
      }
    </style>
    <script type="text/javascript">
    function checkdiv(obj){
	    if(obj==1){
		    document.getElementById('urlreplace').style.display='';
	    }else{
		    document.getElementById('urlreplace').style.display='none';
	    }
    }
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <div>
    
      <uc1:main_top ID="main_top1" runat="server" />
    
    </div>
    <table style="width:100%;" border="0" cellpadding="0" cellspacing="1" 
      class="black_border">
      <tr class="suphead">
        <td>
                    采集设置(第三步)</td>
    </tr>
    <tr>
      <td class="fields_text" width="50%">
        <table cellpadding="0" cellspacing="0" class="style1">
          <tr>
            <td valign="top">
              以下是获取到的链接URL：<br />
              <asp:TextBox ID="ReadLinks" runat="server" CssClass="text_content" 
                TextMode="MultiLine"></asp:TextBox>
                
                <br />
              以下是某条链接的详细内容：<br />
              <asp:TextBox ID="ReadContent" runat="server" CssClass="text_content" 
                TextMode="MultiLine"></asp:TextBox>
                
                <br />
              标记设置效果：<br />
              <asp:UpdatePanel ID="UpdatePanel1" runat="server">
                <ContentTemplate>
                  <asp:TextBox ID="GetResults" runat="server" CssClass="text_content_default"></asp:TextBox>
                </ContentTemplate>
                <Triggers>
                  <asp:AsyncPostBackTrigger ControlID="Button2" EventName="Click" />
                  <asp:AsyncPostBackTrigger ControlID="Button3" EventName="Click" />
                  <asp:AsyncPostBackTrigger ControlID="Button4" EventName="Click" />
                  <asp:AsyncPostBackTrigger ControlID="Button5" EventName="Click" />
                </Triggers>
              </asp:UpdatePanel>
              
                
                </td>
                <td valign="top">
                  列表规则设置：<br />
                  <table cellpadding="0" cellspacing="0" class="style1">
                    <tr>
                      <td>
                        标题起始标记：</td>
                      <td>
                        <asp:TextBox ID="TitleStart" runat="server" CssClass="text_content_default" 
                          TextMode="MultiLine" AutoPostBack="false"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                          ControlToValidate="TitleStart" ErrorMessage="请设置标题起始标记"></asp:RequiredFieldValidator>
                      </td>
                      <td align="center" rowspan="2">
                        <asp:Button ID="Button2" runat="server" Text="查看效果" onclick="Button2_Click" />
                      </td>
                    </tr>
                    <tr>
                      <td>
                        标题结束标记：</td>
                      <td>
                        <asp:TextBox ID="TitleEnd" runat="server" CssClass="text_content_default" 
                          TextMode="MultiLine" AutoPostBack="false"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                          ControlToValidate="TitleEnd" ErrorMessage="请设置标题结束标记"></asp:RequiredFieldValidator>
                      </td>
                    </tr>
                    <tr>
                      <td>
                        内容开始标记：</td>
                      <td>
                        <asp:TextBox ID="ContentStart" runat="server" CssClass="text_content_default" 
                          TextMode="MultiLine" AutoPostBack="false"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
                          ControlToValidate="ContentStart" ErrorMessage="请设置内容起始标记"></asp:RequiredFieldValidator>
                      </td>
                      <td align="center" rowspan="2">
                        <asp:Button ID="Button3" runat="server" Text="查看效果" onclick="Button3_Click" />
                      </td>
                    </tr>
                    <tr>
                      <td>
                        内容结束标记：</td>
                      <td>
                        <asp:TextBox ID="ContentEnd" runat="server" CssClass="text_content_default" 
                          TextMode="MultiLine" AutoPostBack="false"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" 
                          ControlToValidate="ContentEnd" ErrorMessage="请设置内容结束标记"></asp:RequiredFieldValidator>
                      </td>
                    </tr>
                    <tr>
                      <td>
                        作者开始标记：</td>
                      <td>
                        <asp:TextBox ID="AuthorStart" runat="server" CssClass="text_content_default" 
                          TextMode="MultiLine" AutoPostBack="false"></asp:TextBox>
                      </td>
                      <td align="center" rowspan="2">
                        <asp:Button ID="Button4" runat="server" Text="查看效果" onclick="Button4_Click" />
                      </td>
                    </tr>
                    <tr>
                      <td>
                        作者结束标记：</td>
                      <td>
                        <asp:TextBox ID="AuthorEnd" runat="server" CssClass="text_content_default" 
                          TextMode="MultiLine" AutoPostBack="false"></asp:TextBox>
                      </td>
                    </tr>
                    <tr>
                      <td>
                        来源开始标记：</td>
                      <td>
                        <asp:TextBox ID="FromStart" runat="server" CssClass="text_content_default" 
                          TextMode="MultiLine" AutoPostBack="false"></asp:TextBox>
                      </td>
                      <td align="center" rowspan="2">
                        <asp:Button ID="Button5" runat="server" Text="查看效果" onclick="Button5_Click" />
                      </td>
                    </tr>
                    <tr>
                      <td>
                        来源结束标记：</td>
                      <td>
                        <asp:TextBox ID="FromEnd" runat="server" CssClass="text_content_default" 
                          TextMode="MultiLine" AutoPostBack="false"></asp:TextBox>
                      </td>
                    </tr>
                    <tr>
                        <td>
                         文章分页起始标记：
                        </td>
                        <td>
                            <asp:TextBox ID="ShowUrlStart" runat="server" CssClass="text_content_default" 
                                TextMode="MultiLine"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td>
                         文章分页起始标记：
                        </td>
                        <td>
                            <asp:TextBox ID="ShowUrlEnd" runat="server" CssClass="text_content_default" 
                                TextMode="MultiLine"></asp:TextBox>
                        </td>
                    </tr>
                    </table>
            </td>
              </tr>
            </table>
          </td>
    </tr>
    <tr>
      <td align="center" height="40">        
        <input id="Button6" type="button" value="上一步" onclick="history.back();" />
        <asp:Button ID="Button1" runat="server" Text="下一步" onclick="Button1_Click" />
      </td>
    </tr>
  </table>
    </form>
</body>
</html>
