<%@ page language="C#" masterpagefile="~/SiteServer/MasterPage/PageTemplate.Master" autoeventwireup="true" inherits="SiteServer_Collect_Collect_RuleAdd, v5star.Web" title="Untitled Page" theme="Default" %>
<%@ Register Src="CollectEditor.ascx" TagName="CollectEditor" TagPrefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="PageBody" runat="Server">
    <aspx:HeadMenuWebControls ID="HeadMenuWebControls1" runat="server"
        HeadTitleTxt="采集管理">
        <aspx:HeadMenuButtonItem ButtonName="规则" ButtonPopedom="List" ButtonUrl="Collect_RuleList.aspx"
            ButtonUrlType="Href" ButtonVisible="True" />
        <aspx:HeadMenuButtonItem ButtonIcon="back.gif" ButtonName="返回" ButtonPopedom="List"
            ButtonUrl="history.back()" ButtonUrlType="JavaScript" ButtonVisible="True" />
    </aspx:HeadMenuWebControls>
    <aspx:TabOptionWebControls ID="TabOptionWebControls1" runat="server">
        <aspx:TabOptionItem ID="TabOptionItem1" runat="server" Tab_Name="规则信息">
            <table id="tabList" width="98%" border="0" align="center" cellpadding="5" cellspacing="1"
                class="border">
                <tr>
                    <td class="table_body" width="30%" align="center">
                        规则名称：</td>
                    <td class="table_none" width="70%">
                        <asp:TextBox runat="server" ID="TxtRuleName" Width="98%" MaxLength="50" CssClass="form"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="请填写规则名称!"
                            ControlToValidate="TxtRuleName" Display="Dynamic" SetFocusOnError="True"></asp:RequiredFieldValidator></td>
                </tr>
                <tr>
                    <td class="table_body" width="30%" align="center">
                        过滤字符串：<br />
                        “♂”保持与下面的个数相同</td>
                    <td class="table_none" width="70%">
                        <uc1:collecteditor id="EdtOldStr" runat="server" setmaxlength="100" />
                        <br />
                        <asp:CheckBox runat="server" ID="ChbCase" Text="忽略大小写" />
                    </td>
                </tr>
                <tr>
                    <td class="table_body" width="30%" align="center">
                        替换为：</td>
                    <td class="table_none" width="70%">
                    <uc1:collecteditor id="TxtNewStr" runat="server" setmaxlength="100" />                       
                    </td>
                </tr>
                <tr>
                    <td class="table_body" width="30%" align="center">
                        应用到:
                    </td>
                    <td class="table_none" width="70%">
                        <div style="width: 520px; height: 120px; overflow: auto; background-color: White;
                            border-color: #cccccc; border-width: 1px; border-style: groove;">
                            <asp:Table ID="TabRuleApply" runat="server">
                            </asp:Table>
                        </div>
                        <span style="color: #ff0033">注：每个站点只能应用一个规则，每个规则可以应用到多个站点;
                            <br />
                            灰色字表示该采集站点已经应用其他的规则。</span></td>
                </tr>
                <tr>
                    <td colspan="2" align="center">
                       <asp:Button ID="BtnOK" Text=" 保 存 " runat="server" CssClass="button_bak" OnClick="BtnOK_Click" />
                        <input type="reset" value=" 重 置 " class="button_bak" />
                    </td>
                </tr>
            </table>
        </aspx:TabOptionItem>
    </aspx:TabOptionWebControls>
</asp:Content>

