📄 admin_article_gather_add.aspx
字号:
<%@ Page Language="C#" AutoEventWireup="true" ValidateRequest="false" Inherits="AyNews.WebUI.Admin_Article_Gather_Add" Codebehind="Admin_Article_Gather_Add.aspx.cs" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
<HEAD runat="server">
<title>新闻采集规则</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<script language="javascript" src="JS/Validator.js"></script>
<script language="javascript" src="JS/Common.js" charset="gb2312"></script>
</HEAD>
<body>
<form id="Form1" method="post" runat="server" onSubmit="return Validator.Validate(this,2)">
<input type="hidden" id="edit_id" runat="server">
<TABLE width="98%" height="40" border="0" align="center" cellPadding="0" cellSpacing="0">
<tr>
<td class="sys_title_left" align="center"> <font class="font_title">编辑新闻采集</font> </td>
</tr>
</TABLE>
<table width="98%" border="0" align="center" cellpadding="1" cellspacing="1" class="TableBar">
<tr>
<td align="right"><span class="tab-none">
<asp:button id="btn_GatherAdd" runat="server" CssClass="htc_btn" Text="添加"></asp:button>
</span></td>
</tr>
</TABLE>
<br>
<table class="dg_TableStyle" cellspacing="1" cellpadding="2" align="Center" border="0">
<TR class="dg_ItemStyle">
<TD align="right">采集名称:</TD>
<TD><asp:textbox id="tbx_Title" runat="server" CssClass="htc_txt" dataType="Require" msg="采集名称不为空"></asp:textbox>
</TD>
</TR>
<TR class="dg_ItemStyle">
<TD align="right">入库栏目:</TD>
<TD><asp:dropdownlist id="CategoryID" runat="server"></asp:dropdownlist></TD>
</TR>
<TR class="dg_ItemStyle">
<TD align="right">采集数量:</TD>
<TD><asp:textbox id="GetCount" runat="server" CssClass="htc_txt" Width="51px" dataType="Require" msg="采集数量不为空">50</asp:textbox></TD>
</TR>
<TR class="dg_ItemStyle">
<TD align="right">属性:</TD>
<TD><asp:checkbox id="Auditing" runat="server" Text="审核通过" Checked="true"></asp:checkbox>
<asp:checkbox id="IsOver" runat="server" Text="标题允许重复"></asp:checkbox><asp:checkbox id="FolderID" runat="server" Text="保存站外图片"></asp:checkbox></TD>
</TR>
<TR class="dg_ItemStyle">
<TD align="right">采集地址页面编码:</TD>
<TD><asp:dropdownlist id="CharSet" runat="server">
<asp:ListItem Value="gb2312" Selected="True">简体中文(gb2312)</asp:ListItem>
<asp:ListItem Value="big5">繁体中文(big5)</asp:ListItem>
<asp:ListItem Value="utf-8">Unicode(utf-8)</asp:ListItem>
</asp:dropdownlist></TD>
</TR>
<TR class="dg_ItemStyle">
<TD align="right" class="tdtoptitle"><span class="td_heading">采集地址:</span></TD>
<TD class="tdtoptitle"><asp:textbox id="ListUrl" runat="server" CssClass="htc_txt" Width="400px">http://</asp:textbox></TD>
</TR>
<TR class="dg_ItemStyle">
<TD align="right" class="td_heading">下一页列表:</TD>
<TD class="td_heading">开始于:
<asp:textbox id="SNextPage" runat="server" CssClass="htc_txt" Width="400px" TextMode="MultiLine"
Height="32px"></asp:textbox>
<br>
结束于:
<asp:textbox id="ENextPage" runat="server" CssClass="htc_txt" Width="400px" TextMode="MultiLine"
Height="32px"></asp:textbox></TD>
</TR>
<TR class="dg_ItemStyle">
<TD align="right"><span class="td_heading">新闻连接:</span></TD>
<TD>开始于:
<asp:textbox id="SNewsUrl" runat="server" CssClass="htc_txt" Width="400px" TextMode="MultiLine"
Height="32px" dataType="Require" msg="新闻连接不为空"></asp:textbox>
<BR>
结束于:
<asp:textbox id="ENewsUrl" runat="server" CssClass="htc_txt" Width="400px" TextMode="MultiLine"
Height="32px"></asp:textbox></TD>
</TR>
<TR class="dg_ItemStyle">
<TD align="right" class="td_heading">新闻标题:</TD>
<TD class="td_heading">开始于:
<asp:textbox id="STitle" runat="server" CssClass="htc_txt" Width="400px" TextMode="MultiLine"
Height="32px" dataType="Require" msg="新闻标题不为空"><title></asp:textbox>
<BR>
结束于:
<asp:textbox id="ETitle" runat="server" CssClass="htc_txt" Width="400px" TextMode="MultiLine"
Height="32px"></title></asp:textbox></TD>
</TR>
<TR class="dg_ItemStyle">
<TD align="right"><span class="td_heading">新闻内容:</span></TD>
<TD>开始于:
<asp:textbox id="SContent" runat="server" CssClass="htc_txt" Width="400px" TextMode="MultiLine"
Height="48px" dataType="Require" msg="新闻内容不为空"></asp:textbox>
<BR>
结束于:
<asp:textbox id="EContent" runat="server" CssClass="htc_txt" Width="400px" TextMode="MultiLine"
Height="48px"></asp:textbox></TD>
</TR>
<TR class="dg_ItemStyle">
<TD align="right" class="td_heading">新闻作者:</TD>
<TD class="td_heading">开始于:
<asp:textbox id="SAuthor" runat="server" CssClass="htc_txt" Width="400px" TextMode="MultiLine"
Height="48px"></asp:textbox>
<BR>
结束于:
<asp:textbox id="EAuthor" runat="server" CssClass="htc_txt" Width="400px" TextMode="MultiLine"
Height="48px"></asp:textbox></TD>
</TR>
<TR class="dg_ItemStyle">
<TD align="right"><span class="td_heading">新闻来源:</span></TD>
<TD>开始于:
<asp:textbox id="SSource" runat="server" CssClass="htc_txt" Width="400px" TextMode="MultiLine"
Height="48px"></asp:textbox>
<BR>
结束于:
<asp:textbox id="ESource" runat="server" CssClass="htc_txt" Width="400px" TextMode="MultiLine"
Height="48px"></asp:textbox></TD>
</TR>
<TR class="dg_ItemStyle">
<TD align="right" class="td_heading">下一页新闻:</TD>
<TD class="td_heading">开始于:
<asp:textbox id="SNewsNextPage" runat="server" CssClass="htc_txt" Width="400px" TextMode="MultiLine"
Height="48px"></asp:textbox>
<BR>
结束于:
<asp:textbox id="ENewsNextPage" runat="server" CssClass="htc_txt" Width="400px" TextMode="MultiLine"
Height="48px"></asp:textbox></TD>
</TR>
<TR class="dg_ItemStyle">
<TD> </TD>
<TD><table cellSpacing="0" width="100%" border="0">
<tr class="td_heading">
<td class="td_heading" width="49%">查找新闻内容(每一行为一个条件)</td>
<td class="td_heading" width="51%">替换为</td>
</tr>
<tr>
<td height="120"><table class="numTable" height="100" cellSpacing="0" cellPadding="0" width="100%">
<tr>
<td width="24" bgColor="#eeeeee" height="100"><div class="numLine" id="linenum1"></div></td>
<td align="right" width="250"><asp:textbox id="SAd" runat="server" CssClass="numTextarea" Width="100%" TextMode="MultiLine"></asp:textbox></td>
</tr>
</table></td>
<td><table class="numTable" height="100" cellSpacing="0" cellPadding="0" width="100%">
<tr>
<td width="24" bgColor="#eeeeee" height="100"><div class="numLine" id="linenum2"></div></td>
<td align="right" width="250"><asp:textbox id="EAd" runat="server" CssClass="numTextarea" Width="100%" TextMode="MultiLine"></asp:textbox></td>
</tr>
</table></td>
</tr>
</table></TD>
</TR>
<TR class="dg_ItemStyle">
<TD align="right" class="td_heading">备注:</TD>
<TD class="td_heading"><asp:textbox id="Remark" runat="server" Width="100%" TextMode="MultiLine" Height="62px" CssClass="htc_txt"></asp:textbox></TD>
</TR>
</TABLE>
<br>
</form>
<script>
LineNum(document.getElementById("SAd"),document.getElementById("linenum1"));
LineNum(document.getElementById("EAd"),document.getElementById("linenum2"));
</script>
</body>
</HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -