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

<!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; <a href="TuPianCaiJi_LanMu.aspx?ID=<%=ID %>"><%=Server.HtmlEncode(网站名称) %></a> &gt; 增加采集栏目
    </div>
    <div style="height:5px"></div>
    </div>
        <asp:Wizard ID="Wizard1" runat="server" ActiveStepIndex="0" Width="100%" DisplaySideBar="False" OnFinishButtonClick="Wizard1_FinishButtonClick">
            <WizardSteps>
                <asp:WizardStep ID="WizardStep1" runat="server" Title="开始列表地址">
    <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">
            增加采集栏目 -&gt; 第一步[开始列表地址]
            </td>
        </tr>
        <tr>
            <td>
            <table class="tab3" border="0" cellpadding="0" cellspacing="1">
            <tr>
                <td style="width:200px">
                    &nbsp; &nbsp; 栏目名称</td>
                <td>
                    <asp:TextBox ID="LanMuMingChen" runat="server" MaxLength="50" Width="300px"></asp:TextBox></td>
            </tr>
                <tr>
                    <td style="width: 200px">
                        &nbsp; &nbsp; 开始列表地址</td>
                    <td>
                        <asp:TextBox ID="KaiShiLieBiaoDiZhi" runat="server" MaxLength="200" Width="300px">http://</asp:TextBox><br />
                        <a href="#" onclick="s1.style.display=='none'?s1.style.display='block':s1.style.display='none'">地址说明</a>
                        <div id="s1" style="display:none">
                        <img src="../Images/CJ/10.jpg" alt=".." />
                        </div>
                        </td>
                </tr>
            </table>
            </td>
        </tr>
        </table>
        </td>
    </tr>
    </table>
                </asp:WizardStep>
                <asp:WizardStep ID="WizardStep2" runat="server" Title="图片列表内容">
                <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">
                        增加采集栏目 -&gt; 第二步[图片列表内容]
                        </td>
                    </tr>
                    <tr>
                        <td>
                        <table class="tab3" border="0" cellpadding="0" cellspacing="1">
                                <tr>
                                    <td style="width: 200px">
                                        &nbsp; &nbsp; [列表页]获取标题和地址表达式(*)<br /><span class="text_pt"></span>
                                    </td>
                                    <td>
                                        &nbsp;<asp:CheckBox ID="BiaoTiHeDiZhi_TongPeiFu" runat="server" Checked="True" Text="使用通配符" /><br />
                                        <asp:TextBox ID="BiaoTiHeDiZhi_BiaoDaShi" runat="server" Height="130px" TextMode="MultiLine"
                                            Width="400px" MaxLength="1000"></asp:TextBox><a href="#" style="color:#ff0000" onclick="window.open('TuPianCaiJi_LanMu_CeShi.aspx?Act=1&url=<%=Server.UrlEncode(KaiShiLieBiaoDiZhi.Text) %>&bds='+encodeURIComponent(document.getElementById('Wizard1_BiaoTiHeDiZhi_BiaoDaShi').value)+'&sftpf='+document.getElementById('Wizard1_BiaoTiHeDiZhi_TongPeiFu').checked+'&ID=<%=ID %>','_blank');return false;">测试</a><span class="text_pt">&nbsp; &nbsp; 例:&lt;a href="{地址:%}"&gt;{标题:%}&lt;/a&gt;</span>
                                        <br />&nbsp;<a href="#" onclick="s2.style.display=='none'?s2.style.display='block':s2.style.display='none';return false;">帮助说明</a><br />
                                        <div id="s2" style="display:none">
                                        查看网页的源文件，根据图片链接列表代码来编写表达式。<br />
                                        <img src="../Images/CJ/11.jpg" alt=".." />
                                        </div>
                                            </td>
                                </tr>
                                <tr>
                                    <td style="width: 200px">
                                        &nbsp; &nbsp; &nbsp; [列表页]获取下页地址表达式(*)<br /><span class="text_pt"></span>
                                    </td>
                                    <td>
                                        <asp:CheckBox ID="XiaYeDiZhi_TongPeiFu" runat="server" Checked="True" Text="使用通配符" /><br />
                                        <asp:TextBox ID="XiaYeDiZhi_BiaoDaShi" runat="server" Height="130px" TextMode="MultiLine"
                                            Width="400px" MaxLength="1000"></asp:TextBox><a href="#" style="color:#ff0000" onclick="window.open('TuPianCaiJi_LanMu_CeShi.aspx?Act=2&url=<%=Server.UrlEncode(KaiShiLieBiaoDiZhi.Text) %>&bds='+encodeURIComponent(document.getElementById('Wizard1_XiaYeDiZhi_BiaoDaShi').value)+'&sftpf='+document.getElementById('Wizard1_XiaYeDiZhi_TongPeiFu').checked+'&ID=<%=ID %>','_blank');return false;">测试</a><span class="text_pt">&nbsp; &nbsp; 例:&lt;a href="{下页地址:%}"&gt;下一页&lt;/a&gt;。此表达式中，“#页码#”将被表示为下页的页码。</span>
                                        <br />&nbsp;<a href="#" onclick="s3.style.display=='none'?s3.style.display='block':s3.style.display='none';return false;">帮助说明</a>
                                        <div id="s3" style="display:none">
                                        查看网页的源文件，根据图片分页代码来编写表达式。<br />
                                        <img src="../Images/CJ/12.jpg" alt=".." />
                                        </div>
                                            </td>
                                </tr>
                                <tr>
                                    <td style="width: 200px">
                                        &nbsp; &nbsp; &nbsp; [列表页]获取上页地址表达式(*)<br /><span class="text_pt"></span>
                                    </td>
                                    <td>
                                        <asp:CheckBox ID="ShangYeDiZhi_TongPeiFu" runat="server" Checked="True" Text="使用通配符" /><br />
                                        <asp:TextBox ID="ShangYeDiZhi_BiaoDaShi" runat="server" Height="130px" TextMode="MultiLine"
                                            Width="400px" MaxLength="1000"></asp:TextBox><a href="#" style="color:#ff0000" onclick="window.open('TuPianCaiJi_LanMu_CeShi.aspx?Act=3&url=<%=Server.UrlEncode(KaiShiLieBiaoDiZhi.Text) %>&bds_='+encodeURIComponent(document.getElementById('Wizard1_XiaYeDiZhi_BiaoDaShi').value)+'&sftpf_='+document.getElementById('Wizard1_XiaYeDiZhi_TongPeiFu').checked+'&bds='+encodeURIComponent(document.getElementById('Wizard1_ShangYeDiZhi_BiaoDaShi').value)+'&sftpf='+document.getElementById('Wizard1_ShangYeDiZhi_TongPeiFu').checked+'&ID=<%=ID %>','_blank');return false;">测试</a><span class="text_pt">&nbsp; &nbsp; 例:&lt;a href="{上页地址:%}"&gt;上一页&lt;/a&gt;。此表达式中，“#页码#”将被表示为上页的页码。</span>
                                        <br />&nbsp;<a href="#" onclick="s4.style.display=='none'?s4.style.display='block':s4.style.display='none';return false;">帮助说明</a>
                                        <div id="s4" style="display:none">
                                        查看网页的源文件，根据图片分页代码来编写表达式。<br />
                                        <img src="../Images/CJ/13.jpg" alt=".." />
                                        </div>

                                            </td>
                                </tr>
                                <tr>
                                    <td style="width: 200px">
                                        &nbsp; &nbsp; &nbsp; [列表页]获取总页数表达式(*)<br /><span class="text_pt"></span>
                                    </td>
                                    <td>
                                        <asp:CheckBox ID="ZongYeShu_TongPeiFu" runat="server" Checked="True" Text="使用通配符" /><br />
                                        <asp:TextBox ID="ZongYeShu_BiaoDaShi" runat="server" Height="130px" TextMode="MultiLine"
                                            Width="400px" MaxLength="1000"></asp:TextBox><a href="#" style="color:#ff0000" onclick="window.open('TuPianCaiJi_LanMu_CeShi.aspx?Act=4&url=<%=Server.UrlEncode(KaiShiLieBiaoDiZhi.Text) %>&bds='+encodeURIComponent(document.getElementById('Wizard1_ZongYeShu_BiaoDaShi').value)+'&sftpf='+document.getElementById('Wizard1_ZongYeShu_TongPeiFu').checked+'&ID=<%=ID %>','_blank');return false;">测试</a><span class="text_pt">&nbsp; &nbsp; 例:第%d页,共{总页数:%d}页</span>
                                        <br />&nbsp;<a href="#" onclick="s5.style.display=='none'?s5.style.display='block':s5.style.display='none';return false;">帮助说明</a>
                                        <div id="s5" style="display:none">
                                        查看网页的源文件，根据图片代码编写表达式。<br />
                                        <img src="../Images/CJ/14.jpg" alt=".." />
                                        </div>
                                            </td>
                                </tr>
                        </table>
                        </td>
                    </tr>
                    </table>
                    </td>
                </tr>
                </table>
                </asp:WizardStep>
                <asp:WizardStep ID="WizardStep3" runat="server" Title="获取图片内容">
                <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">
                            增加采集栏目 -&gt; 第三步[获取图片内容]
                        </td>
                    </tr>
                    <tr>
                        <td>
                        <table class="tab3" border="0" cellpadding="0" cellspacing="1">
                        <tr>
                            <td style="width:200px">
                                &nbsp; &nbsp; 测试获取内容
                            </td>
                            <td>
                                图片内容地址：<asp:TextBox ID="CeShiDiZhi" runat="server" Width="300px">http://</asp:TextBox>
                                <input type="button" value="测试" onclick="window.open('TuPianCaiJi_LanMu_CeShi.aspx?Act=5&url='+encodeURIComponent(document.getElementById('Wizard1_CeShiDiZhi').value)+'&tpdz_tpf='+document.getElementById('Wizard1_TuPianDiZhi_TongPeiFu').checked+'&tpdz_bds='+encodeURIComponent(document.getElementById('Wizard1_TuPianDiZhi_BiaoDaShi').value)+'&tpxy_tpf='+document.getElementById('Wizard1_TuPianDiZhi_TongPeiFu').checked+'&tpxy_bds='+encodeURIComponent(document.getElementById('Wizard1_TuPianXiaYe_BiaoDaShi').value)+'&tpgl='+encodeURIComponent(document.getElementById('Wizard1_TuPianGuoLv').value)+'&ID=<%=ID %>','_blank')" />
                            </td>
                        </tr>
                                <tr>
                                    <td style="width: 200px">
                                        &nbsp; &nbsp; [内容页]获取图片地址表达式(*)<br />
                                    </td>
                                    <td>
                                        <asp:CheckBox ID="TuPianDiZhi_TongPeiFu" runat="server" Checked="True" Text="使用通配符" /><br />
                                        <asp:TextBox ID="TuPianDiZhi_BiaoDaShi" runat="server" Height="130px" MaxLength="1000" TextMode="MultiLine" Width="400px"></asp:TextBox><span class="text_pt">&nbsp; &nbsp; 例:&lt;img src="{图片地址:%}" alt=""/&gt; &nbsp;&nbsp;&nbsp;</span>
                                        <br /><a href="#" onclick="s6.style.display=='none'?s6.style.display='block':s6.style.display='none';return false;">帮助说明</a><br />
                                        <div id="s6" style="display:none">
                                        查看图片内容网页的源码，根据代码内容编写表达式。<br />
                                        <img src="../Images/CJ/15.jpg" alt=".." />
                                        </div>
                                    </td>
                                </tr>
                                <tr>
                                    <td style="width: 200px">
                                        &nbsp; &nbsp; [内容页]获取下页图片表达式(*)<br />
                                        <div class="text_pt">&nbsp;</div></td>
                                    <td>
                                        <asp:CheckBox ID="TuPianXiaYe_TongPeiFu" runat="server" Checked="True" Text="使用通配符" /><br />
                                        <asp:TextBox ID="TuPianXiaYe_BiaoDaShi" runat="server" Height="130px" MaxLength="1000" TextMode="MultiLine" Width="400px"></asp:TextBox>
                                        &nbsp; &nbsp;<span class="text_pt"> 例:&lt;a href="{下页地址:%}"&gt;下一页&lt;/a&gt;。此表达式中，“#页码#”将被表示为图片下页页码。</span>
                                        <br /><a href="#" onclick="s7.style.display=='none'?s7.style.display='block':s7.style.display='none';return false;">帮助说明</a>
                                        <div id="s7" style="display:none">
                                        查看图片内容网页的源码，根据代码内容编写表达式。<br />
                                        <img src="../Images/CJ/16.jpg" alt=".." />
                                        </div>
                                        </td>
                                </tr>
                                <tr>
                                    <td style="width: 200px">
                                        &nbsp; &nbsp; 图片地址过滤<br />
                                    </td>
                                    <td>
                                        <asp:TextBox ID="TuPianGuoLv" runat="server" Height="130px" MaxLength="3000" TextMode="MultiLine" Width="400px"></asp:TextBox>
                                        <br />
                                                <span class="text_pt">
                                        &nbsp;&nbsp; 说明:一行一个替换表达式，表达式支持通配符。行格式为：要清除的图片地址格式<br />
                                        &nbsp; &nbsp; 例如：<br />
                                        &nbsp; &nbsp; http://www.xxx.com/%.jpg</span>
                                    </td>
                                </tr>
                                <tr>
                                    <td style="width:200px">
                                        &nbsp; &nbsp; 图片缩放</td>
                                    <td>
                                        宽度：<asp:TextBox ID="SuoFang_KuanDu" runat="server" Width="40px">0</asp:TextBox>
                                        px 高度：<asp:TextBox ID="SuoFang_GaoDu" runat="server" Width="40px">0</asp:TextBox>
                                        px</td>
                                </tr>
                        </table>
                        </td>
                    </tr>
                    </table>
                    </td>
                </tr>
                </table>
                </asp:WizardStep>
            </WizardSteps>
        </asp:Wizard>
    </form>
</body>
</html>
