<%@ page language="VB" autoeventwireup="false" inherits="parrot_admin_news_gather_add, App_Web_admin_news_gather_add.aspx.25f04327" %>

<!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>
<title>添加采集规则</title>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />

<link href="css/css.css" rel="stylesheet" type="text/css" />
<link href="css/body.css" rel="stylesheet" type="text/css" />
<link href="css/text.css" rel="stylesheet" type="text/css" />
<link href="css/button.css" rel="stylesheet" type="text/css" />
<script src="js/intjs.js" type="text/javascript"></script>
<script type="text/javascript">
document.oncontextmenu=new Function('event.returnValue=false;'); 
</script>
    </head>

<body>
    <form id="form1" runat="server">
<table width="100%" border="0" cellspacing="3" cellpadding="0">
  <tr>
    <td><table width="100%" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td bgcolor="#E7E7E7"><table width="100%" border="0" cellspacing="1" cellpadding="0">
            <tr>
              <td bgcolor="#FFFFFF"><table width="100%" height="29" border="0" cellpadding="0" cellspacing="5">
                  <tr>
                    <td height="19" bgcolor="#EBEBEB"><table width="100%" border="0" cellspacing="5" cellpadding="0">
                        <tr>
                          <td bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="3" cellpadding="0">
                              <tr>
                                <td width="15%" height="25" align="center" class="wuse16"><strong class="16huise">管理中心</strong></td>
                                <td width="76%" valign="bottom" class="huise12">添加采集规则</td>
                                <td width="9%" valign="bottom" class="huise12"><a href="admin_news_gather_tables.aspx">返回</a></td>
                              </tr>
                          </table></td>
                        </tr>
                    </table></td>
                  </tr>
              </table></td>
            </tr>
            <tr>
              <td bgcolor="#FFFFFF"><table width="100%" height="101" border="0" cellpadding="0" cellspacing="5">
                  <tr>
                    <td height="19" bgcolor="#F3F3F3"><table width="100%" border="0" cellspacing="5" cellpadding="0">
                        
                        <tr>
                          <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
                            <tr>
                              <td width="15%">&nbsp;</td>
                              <td class="wuse12"><strong>基本设置</strong></td>
                            </tr>
                          </table></td>
                        </tr>
                        <tr>
                          <td bgcolor="#CACACA"><table width="100%" border="0" cellpadding="0" cellspacing="1" bordercolor="#D4D0C8">
                              <tr>
                                <td bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="5" cellpadding="0">
                                  <tr>
                                    <td><table width="100%" border="1" cellpadding="0" cellspacing="1" bordercolor="#E7E7E7">
                                        <tr>
                                          <td width="13%" height="30" align="center" bgcolor="#F6F6F6" class="wuse12">采集规则名称：</td>
                                          <td width="37%"><asp:TextBox ID="add_gather_name" runat="server" CssClass="text_autox22_cccccc" width="98%"></asp:TextBox></td>
                                          <td width="13%" align="center" bgcolor="#F6F6F6" class="wuse12">采集文章类别：</td>
                                          <td width="37%"><asp:DropDownList ID="add_gather_category" runat="server"></asp:DropDownList></td>
                                        </tr>
                                        

                                    </table>                                      </td>
                                  </tr>
                                </table>                                </td>
                              </tr>
                          </table>                          </td>
                        </tr>
                        <tr>
                          <td bgcolor="#CACACA"><table width="100%" border="0" cellpadding="0" cellspacing="1" bordercolor="#D4D0C8">
                            <tr>
                              <td bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="5" cellpadding="0">
                                  <tr>
                                    <td><table width="100%" border="1" cellpadding="0" cellspacing="1" bordercolor="#E7E7E7">
                                          <tr>
                                            <td width="13%" height="30" align="center" bgcolor="#F6F6F6" class="wuse12">设置文章作者：</td>
                                            <td width="12%"><asp:TextBox ID="add_gather_writer" runat="server" 
                                                    CssClass="text_autox22_cccccc" width="98%">admin</asp:TextBox></td>
                                            <td width="13%" align="center" bgcolor="#F6F6F6" class="wuse12">设置文章点击：</td>
                                            <td width="12%"><asp:TextBox ID="add_gather_count" runat="server" 
                                                    CssClass="text_autox22_cccccc" width="95%" onkeydown="intjs()">0</asp:TextBox></td>
                                            <td width="13%" align="center" bgcolor="#F6F6F6" class="wuse12">设置审核状态：</td>
                                            <td width="12%">
                               <asp:DropDownList ID="add_gather_newsshenghe" runat="server">
                              <asp:ListItem value="已审">已审</asp:ListItem>
                              <asp:ListItem value="未审">未审</asp:ListItem>
                              </asp:DropDownList>
                                           </td>
                                            <td width="13%" align="center" bgcolor="#F6F6F6" class="wuse12">设置评论开关：</td>
                                            <td width="12%">
                                            <asp:DropDownList ID="add_gather_newspl" runat="server" >
                              <asp:ListItem value="True">开启评论</asp:ListItem>
                              <asp:ListItem value="False">关闭评论</asp:ListItem>
                               </asp:DropDownList>
                                            </td>
                                          </tr>
                                      </table></td>
                                  </tr>
                                </table>                                </td>
                            </tr>
                          </table></td>
                        </tr>
                        <tr>
                          <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
                            <tr>
                              <td width="15%">&nbsp;</td>
                              <td class="wuse12"><strong>采集规则设置</strong></td>
                            </tr>
                          </table></td>
                        </tr>
                        <tr>
                          <td bgcolor="#CACACA"><table width="100%" border="0" cellpadding="0" cellspacing="1" bordercolor="#D4D0C8">
                            <tr>
                              <td bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="5" cellpadding="0">
                                  <tr>
                                    <td><table width="100%" border="1" cellpadding="0" cellspacing="1" bordercolor="#E7E7E7">
                                        
                                        
                                        <tr>
                                          <td width="13%" height="30" align="center" bgcolor="#F6F6F6" class="wuse12">文章目录地址：</td>
                                          <td width="37%" style="word-break: break-all"><asp:TextBox ID="add_gather_listurl" runat="server" CssClass="text_autox22_cccccc" width="98%"></asp:TextBox></td>
                                          <td width="13%" align="center" bgcolor="#F6F6F6" class="wuse12">目标网站编码：</td>
                                          <td width="37%" style="word-break: break-all"><asp:DropDownList ID="add_gather_utf" runat="server">
                                            <asp:ListItem Value="gb2312">gb2312</asp:ListItem>
                                            <asp:ListItem Value="utf-8">utf-8</asp:ListItem>
                                          </asp:DropDownList></td>
                                        </tr>
                                        <tr>
                                          <td height="30" align="center" bgcolor="#F6F6F6" class="wuse12">目录起点标识：</td>
                                          <td style="word-break: break-all"><asp:TextBox ID="add_gather_liststart" runat="server" 
                                                  CssClass="text_autox22_cccccc" Width="98%" Height="50px" TextMode="MultiLine"></asp:TextBox></td>
                                          <td align="center" bgcolor="#F6F6F6" class="wuse12">目录终点标识：</td>
                                          <td style="word-break: break-all"><asp:TextBox ID="add_gather_listend" runat="server" 
                                                  CssClass="text_autox22_cccccc" Width="98%" Height="50px" 
                                                  TextMode="MultiLine"></asp:TextBox></td>
                                        </tr>
                                        <tr>
                                          <td height="30" align="center" bgcolor="#F6F6F6" class="wuse12">文章正文域名：</td>
                                          <td style="word-break: break-all"><asp:TextBox ID="add_gather_textcom" runat="server" CssClass="text_autox22_cccccc" width="98%"></asp:TextBox></td>
                                          <td align="center" bgcolor="#F6F6F6" class="wuse12">文章正文路径：</td>
                                          <td style="word-break: break-all"><asp:TextBox ID="add_gather_texturl" runat="server" CssClass="text_autox22_cccccc" width="98%"></asp:TextBox></td>
                                        </tr>
                                        
                                        <tr>
                                          <td height="30" align="center" bgcolor="#F6F6F6" class="wuse12">标题起点标识：</td>
                                          <td style="word-break: break-all"><asp:TextBox ID="add_gather_titlestart" runat="server" 
                                                  CssClass="text_autox22_cccccc" width="98%" Height="50px" 
                                                  TextMode="MultiLine"></asp:TextBox></td>
                                          <td align="center" bgcolor="#F6F6F6" class="wuse12">标题终点标识：</td>
                                          <td style="word-break: break-all"><asp:TextBox ID="add_gather_titleend" runat="server" 
                                                  CssClass="text_autox22_cccccc" width="98%" Height="50px" 
                                                  TextMode="MultiLine"></asp:TextBox></td>
                                        </tr>
                                        <tr>
                                          <td height="30" align="center" bgcolor="#F6F6F6" class="wuse12">正文起点标识：</td>
                                          <td style="word-break: break-all"><asp:TextBox ID="add_gather_textstart" runat="server" 
                                                  CssClass="text_autox22_cccccc" width="98%" Height="50px" 
                                                  TextMode="MultiLine"></asp:TextBox></td>
                                          <td align="center" bgcolor="#F6F6F6" class="wuse12">正文终点标识：</td>
                                          <td style="word-break: break-all"><asp:TextBox ID="add_gather_textend" runat="server" 
                                                  CssClass="text_autox22_cccccc" width="98%" Height="50px" 
                                                  TextMode="MultiLine"></asp:TextBox></td>
                                        </tr>
                                        <tr>
                                          <td height="30" align="center" bgcolor="#F6F6F6" class="wuse12">查找正文字符：</td>
                                          <td style="word-break: break-all"><asp:TextBox ID="add_gather_replacestring" runat="server" 
                                                  CssClass="text_autox22_cccccc" width="98%" Height="50px" TextMode="MultiLine"></asp:TextBox></td>
                                          <td align="center" bgcolor="#F6F6F6" class="wuse12">替换自定字符：</td>
                                          <td style="word-break: break-all"><asp:TextBox ID="add_gather_replacesdiytring" runat="server" 
                                                  CssClass="text_autox22_cccccc" width="98%" Height="50px" TextMode="MultiLine"></asp:TextBox></td>
                                        </tr>
                                        
                                        
                                       
                                        <tr>
                                          <td height="30" align="center" bgcolor="#F6F6F6" class="wuse12">正文开始插入：</td>
                                          <td style="word-break: break-all"><asp:TextBox ID="add_gather_addstringfortop" runat="server" 
                                                  CssClass="text_autox22_cccccc" width="98%" Height="50px" TextMode="MultiLine"></asp:TextBox></td>
                                          <td align="center" bgcolor="#F6F6F6" class="wuse12">正文尾部插入：</td>
                                          <td style="word-break: break-all"><asp:TextBox ID="add_gather_addstringforfoot" runat="server" 
                                                  CssClass="text_autox22_cccccc" width="98%" Height="50px" TextMode="MultiLine"></asp:TextBox></td>
                                        </tr>
                                        
                                        
                                       
                                    </table>                                      </td>
                                  </tr>
                              </table></td>
                            </tr>
                          </table>                            </td>
                        </tr>
                        <tr>
                          <td bgcolor="#CACACA"><table width="100%" border="0" cellpadding="0" cellspacing="1" bordercolor="#D4D0C8">
                            <tr>
                              <td bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="5" cellpadding="0">
                                  <tr>
                                    <td><table width="100%" border="1" cellpadding="0" cellspacing="1" bordercolor="#E7E7E7">
                                          <tr>
                                            <td width="13%" height="30" align="center" bgcolor="#F6F6F6" class="wuse12">删除正文标记：</td>
<td height="25" colspan="7"><asp:CheckBoxList ID="add_gather_replacehtml" 
                                                    runat="server" CssClass="wuse12" 
                                    RepeatDirection="Horizontal" RepeatColumns="9">
                                                <asp:ListItem Value="&lt;object([\s\S]*?)object&gt;">Object</asp:ListItem>
                                                <asp:ListItem Value="&lt;script([\s\S]*?).script&gt;">Script</asp:ListItem>
                                                <asp:ListItem Value="class=[^\s|^&gt;]*[^\s|^&gt;]">Class</asp:ListItem>
                                                <asp:ListItem Value="style=[^\s|^&gt;]*[^\s|^&gt;]">Style</asp:ListItem>
                                                <asp:ListItem Value="&lt;.?font[\s\S]*?&gt;">Font</asp:ListItem>
                                                <asp:ListItem Value="&lt;iframe([\s\S]*?)&gt;([\s\S]*?)&lt;.iframe&gt;">Iframe</asp:ListItem>
                                                <asp:ListItem Value="&lt;.?div[\s\S]*?&gt;">Div</asp:ListItem>
                                                <asp:ListItem Value="&lt;.?table[\s\S]*?&gt;">Table</asp:ListItem>
                                                <asp:ListItem Value="&lt;.?tr[\s\S]*?&gt;">Tr</asp:ListItem>
                                                <asp:ListItem Value="&lt;.?td[\s\S]*?&gt;">Td</asp:ListItem>
                                                <asp:ListItem Value="&lt;.?span[\s\S]*?&gt;">Span</asp:ListItem>
                                                <asp:ListItem Value="&lt;img([\s\S]*?)&gt;">图片</asp:ListItem>
                                                <asp:ListItem Value="&lt;[a\/a](.*?)&gt;">连接</asp:ListItem>
                                                <asp:ListItem Value="&lt;.?tbody[\s\S]*?&gt;">tbody</asp:ListItem>
                                                <asp:ListItem Value="&lt;[h\/h][1-9](.*?)&gt;">H</asp:ListItem>
                                                <asp:ListItem Value="&lt;.?strong[\s\S]*?&gt;">Strong</asp:ListItem>
                                                <asp:ListItem Value="&lt;[b\/b](.*?)&gt;">B</asp:ListItem>
                                                <asp:ListItem Value="&lt;[^&gt;]+&gt;">Html</asp:ListItem>
                                            </asp:CheckBoxList></td>
                                          </tr>
                                      </table></td>
                                  </tr>
                              </table></td>
                            </tr>
                            <tr>
                          <td bgcolor="#CACACA"><table width="100%" border="0" cellpadding="0" cellspacing="1" bordercolor="#D4D0C8">
                            <tr>
                              <td bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="5" cellpadding="0">
                                  <tr>
                                    <td><table width="100%" border="1" cellpadding="0" cellspacing="1" bordercolor="#E7E7E7">
                                        <tr>
                                          <td width="13%" height="30" align="center" bgcolor="#F6F6F6" class="wuse12">伪原创设置：</td>
                                          <td height="25" colspan="7">
                                              <asp:RadioButtonList ID="add_gather_newscreate" runat="server" CssClass="wuse12" 
                                                  RepeatDirection="Horizontal">
                                                  <asp:ListItem Selected="True" Value="False">关闭伪原创</asp:ListItem>
                                                  <asp:ListItem Value="Title">标题伪原创</asp:ListItem>
                                                  <asp:ListItem Value="Text">内容伪原创</asp:ListItem>
                                                  <asp:ListItem Value="Ever">标题内容伪原创</asp:ListItem>
                                              </asp:RadioButtonList>
                                            </td>
                                        </tr>
                                    </table></td>
                                  </tr>
                              </table></td>
                            </tr>
                          </table></td>
                        </tr>
                          </table></td>
                        </tr>
                        
                        
                        
                        
                        
                        
                    </table></td>
                  </tr>
                  <tr>
                    <td height="19" align="center" bgcolor="#F3F3F3">&nbsp;
                      <asp:Button ID="add_gather_tobe" runat="server" 
                                    CssClass="btn" Text="测试采集" />
                      <asp:Button ID="gather_ok" runat="server" 
                                    CssClass="btn" Text="保存规则" Enabled="False" />
                      </td>
                  </tr>
                  <tr>
                    <td height="19" align="center" bgcolor="#F3F3F3">
                        <asp:Label CssClass="hongse12" ID="add_gather_ts" runat="server"></asp:Label>
                      </td>
                  </tr>
                  <tr>
                    <td height="19" bgcolor="#F3F3F3" style="word-break: break-all">
                        <asp:TextBox ID="gather_text_text" runat="server" Height="150px" 
                            TextMode="MultiLine" Width="100%"></asp:TextBox>
                      </td>
                  </tr>
              </table></td>
            </tr>
        </table></td>
      </tr>
    </table></td>
  </tr>
</table>
</form>
</body>
</html>
