⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 sk_getsoft.asp

📁 SK信息采集2.0功能介绍: 1.可针对任何静态网页,动态网页进行采集。包括htm,html,shtml,ASP,ASPX,JSP,PHP等。 2.增加自定文件采集.用户可采集网页中的所有文件.
💻 ASP
📖 第 1 页 / 共 5 页
字号:
	   </td>
	</tr>
    <tr class="tdbg" id="ZD005" style="display:none"> 
      <td width="20%" align="right" bgcolor="f3f3f3" class="tdbg" >
	  <strong><font color=blue>演示地址开始代码:</font></strong>
		<p> </p>
      <strong><font color=blue>演示地址结束代码:</font></strong></td>
      <td width="75%" bgcolor="f3f3f3" class="tdbg">
      <textarea name="Zds_005" cols="70" rows="5" class="lostfocus"><%= Zds_005 %></textarea><br>
      <textarea name="Zdo_005" cols="70" rows="5" class="lostfocus"><%= Zdo_005 %></textarea>
	  </td>
    </tr>
	
	<tr class="tdbg"> 
	 <td width="20%" align="right" bgcolor="f3f3f3" class="tdbg" ><b>注 册 地 址 设 置:</b></td>
      <td width="75%" bgcolor="f3f3f3" class="tdbg">
      	<input type="radio" value="0" name="ZdType_006" <% if ZdType_006<>1 then Response.Write("checked") %> onClick="ZD006.style.display='none'">不作设置&nbsp;
	<input type="radio" value="1" <% if ZdType_006=1 then Response.Write("checked") %> name="ZdType_006" onClick="ZD006.style.display=''">设置标签&nbsp;
	   </td>
	</tr>
    <tr class="tdbg" id="ZD006" style="display:none"> 
      <td width="20%" align="right" bgcolor="f3f3f3" class="tdbg" >
	  <strong><font color=blue>注册地址开始代码:</font></strong>
		<p> </p>
      <strong><font color=blue>注册地址结束代码:</font></strong></td>
      <td width="75%" bgcolor="f3f3f3" class="tdbg">
      <textarea name="Zds_006" cols="70" rows="5" class="lostfocus"><%= Zds_006 %></textarea><br>
      <textarea name="Zdo_006" cols="70" rows="5" class="lostfocus"><%= Zdo_006 %></textarea>
	  </td>
    </tr>
	
	<tr class="tdbg"> 
      <td width="20%" align="right" bgcolor="f3f3f3" class="tdbg" ><b>时&nbsp; 间&nbsp;
		设&nbsp; 置:</b></td>
      <td width="75%" bgcolor="f3f3f3" class="tdbg">
      	<input type="radio" value="0" name="DateType" <% if DateType<>1 then Response.Write("checked") %> onClick="Date1.style.display='none'">不作设置&nbsp;
	<input type="radio" value="1" <% if DateType=1 then Response.Write("checked") %> name="DateType" onClick="Date1.style.display=''">设置标签&nbsp;    </tr>
    <tr class="tdbg" id="Date1" style="display:none"> 
      <td width="20%" align="right" bgcolor="f3f3f3" class="tdbg" ><strong><font color=blue>时间开始标记:</font></strong><p> </p>
      <strong><font color=blue>时间结束标记:</font></strong></td>
      <td width="75%" bgcolor="f3f3f3" class="tdbg">
      <textarea name="DsString" cols="70" rows="5" class="lostfocus"><%= DsString %></textarea><br>
      <textarea name="DoString" cols="70" rows="5" class="lostfocus"><%= DoString %></textarea></td>
    </tr>
    <tr class="tdbg"> 
      <td width="20%" align="right" bgcolor="f3f3f3" class="tdbg" ><b>作<span lang="en-us">&nbsp; </span>者<span lang="en-us">&nbsp;
		</span>设<span lang="en-us">&nbsp; </span>置:</b></td>
      <td width="75%" bgcolor="f3f3f3" class="tdbg">
      	<input type="radio" value="0" <% if AuthorType=0 or AuthorType="" then Response.Write("checked") %> name="AuthorType"  onClick="Author1.style.display='none';Author2.style.display='none'">不作设置&nbsp;
		<input type="radio" value="1" <% if AuthorType=1 then Response.Write("checked") %> name="AuthorType" onClick="Author1.style.display='';Author2.style.display='none'">设置标签&nbsp;
		<input type="radio" value="2" name="AuthorType" <% if AuthorType=2 then Response.Write("checked") %> onClick="Author1.style.display='none';Author2.style.display=''">指定作者</td>
    </tr>
    <tr class="tdbg" id="Author1" style="display:none"> 
      <td width="20%" align="right" bgcolor="f3f3f3" class="tdbg" ><strong><font color=blue>作者开始标记:</font></strong><p> </p>
		<p> </p>
      <strong><font color=blue>作者结束标记:</font></strong></td>
      <td width="75%" bgcolor="f3f3f3" class="tdbg">
      <textarea name="AsString" cols="70" rows="7" class="lostfocus"><%= AsString %></textarea><br>
      <textarea name="AoString" cols="70" rows="7" class="lostfocus"><%= AoString %></textarea></td>
    </tr>
    <tr class="tdbg" id="Author2" style="display:none"> 
      <td width="20%" align="right" bgcolor="f3f3f3" class="tdbg" ><strong><font color=blue>请指定作者:</font></strong></td>
      <td width="75%" bgcolor="f3f3f3" class="tdbg">
      <input name="AuthorStr" type="text" class="lostfocus" id="AuthorStr" value="<%= AuthorStr %>">      </td>
    </tr>
    <tr class="tdbg"> 
      <td width="20%" align="right" bgcolor="f3f3f3" class="tdbg" ><b>来&nbsp; 源&nbsp;
		设&nbsp; 置:</b></td>
      <td width="75%" bgcolor="f3f3f3" class="tdbg">
      	<input type="radio" value="0" name="CopyFromType" <% if CopyFromType=0 or CopyFromType="" then Response.Write("checked") %> onClick="CopyFrom1.style.display='none';CopyFrom2.style.display='none'">不作设置&nbsp;
		<input type="radio" value="1" name="CopyFromType" <% if CopyFromType=1 then Response.Write("checked") %> onClick="CopyFrom1.style.display='';CopyFrom2.style.display='none'">设置标签&nbsp;
		<input type="radio" value="2" name="CopyFromType" <% if CopyFromType=2 then Response.Write("checked") %> onClick="CopyFrom1.style.display='none';CopyFrom2.style.display=''">指定来源</td>
    </tr>
    <tr class="tdbg" id="CopyFrom1" style="display:none"> 
      <td width="20%" align="right" bgcolor="f3f3f3" class="tdbg" ><strong><font color=blue>来源开始标记:</font></strong><p> </p>
		<p> </p>
      <strong><font color=blue>来源结束标记:</font></strong></td>
      <td width="75%" bgcolor="f3f3f3" class="tdbg">
      <textarea name="FsString" cols="70" rows="7" class="lostfocus"><%= FsString %></textarea><br>
      <textarea name="FoString" cols="70" rows="7" class="lostfocus"><%= FoString %></textarea></td>
    </tr>
    <tr class="tdbg" id="CopyFrom2" style="display:none"> 
      <td width="20%" align="right" bgcolor="f3f3f3" class="tdbg" ><strong><font color=blue>请指定来源:</font></strong></td>
      <td width="75%" bgcolor="f3f3f3" class="tdbg">
      <input name="CopyFromStr" type="text" class="lostfocus" id="CopyFromStr" value="<%= CopyFromStr %>">      </td>
    </tr>
    <tr class="tdbg"> 
      <td width="20%" align="right" bgcolor="f3f3f3" class="tdbg" ><b>关键字词设置:</b></td>
      <td width="75%" bgcolor="f3f3f3" class="tdbg">
      	<input type="radio" value="0" name="KeyType" <% if KeyType=0 or KeyType="" then Response.Write("checked") %> onClick="Key1.style.display='none';Key2.style.display='none'">标题生成&nbsp;
		<input type="radio" value="1" name="KeyType" <% if KeyType=1  then Response.Write("checked") %> onClick="Key1.style.display='';Key2.style.display='none'">标签生成&nbsp;
		<input type="radio" value="2" name="KeyType" <% if KeyType=2  then Response.Write("checked") %> onClick="Key1.style.display='none';Key2.style.display=''">自定义关键字</td>
    </tr>
    <tr class="tdbg" id="Key1" style="display:none"> 
      <td width="20%" align="right" bgcolor="f3f3f3" class="tdbg" ><strong><font color=blue>关键词开始标记:</font></strong><p> </p>
		<p> </p>
      <strong><font color=blue>关键词结束标记:</font></strong></td>
      <td width="75%" bgcolor="f3f3f3" class="tdbg">
      <textarea name="KsString" cols="70" rows="7" class="lostfocus"><%= KsString %></textarea><br>
      <textarea name="KoString" cols="70" rows="7" class="lostfocus"><%= KoString %></textarea></td>
    </tr>
    <tr class="tdbg" id="Key2" style="display:none"> 
      <td width="20%" align="right" bgcolor="f3f3f3" class="tdbg" ><strong><font color=blue>请指定关键:</font></strong></td>
      <td width="75%" bgcolor="f3f3f3" class="tdbg"><input name="KeyStr" type="text" class="lostfocus" id="KeyStr" value="<%= KeyStr %>">
        <br>
      格式:关键字之间用<font color=red>|</font>分隔,如:新闻|IT      </td>
    </tr>
    <tr class="tdbg"> 
      <td height="30" colspan="2" align="center" bgcolor="f3f3f3" class="tdbg">
       <input name="ItemID" type="hidden" value="<%=ItemID%>"> 
	  <% 
	  Response.Write "<input name=""Action1"" type=""hidden"" id=""Action"" value="& action1 &">"
	    %>
		<input name="Colleclx" type="hidden" id="Colleclx" value="<% =Colleclx %>">
		<input name="Action" type="hidden" id="Action" value="demo">
		<input type="hidden" name="UrlTest" id="UrlTest" value="<%=UrlTest%>">
        <input name="button1"  type="button" class="lostfocus"  style="cursor: hand;background-color: #cccccc;" onClick="window.location.href='javascript:history.go(-1)'" value="上&nbsp;一&nbsp;步">
        &nbsp;&nbsp;&nbsp;&nbsp; 
        <input name="Submit"  type="submit" class="lostfocus" style="cursor: hand;background-color: #cccccc;" value="下&nbsp;一&nbsp;步">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <input type="checkbox" name="ShowCode" value="checkbox">显示源码</td>
    </tr>
	</form>
</table>

<%
end if
end sub'第二完

sub demo()'测试页
	If ItemID="" Then
	   FoundErr=True
	   ErrMsg=ErrMsg & "<br><li>参数错误,项目ID不能为空</li>"
	Else
	   ItemID=Clng(ItemID)
	End If
	set rs=connItem.execute("Select Colleclx from Item Where ItemID=" & ItemID)
	Colleclx=rs(0) : rs.close : set rs=nothing
	If FoundErr<>True then
	SK.Article_Err_msg 3
	End if
	If FoundErr<>True and Action="demo" and Action1=""  Then
	   SK.GetTest()
	End If
	
If FoundErr=True Then
   Call WriteErrMsg(ErrMsg)
Else
if Action1="" and Action="demo" or Request.Form("ShowCode")="checkbox" then
%>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="1" class="tableBorder"  >
    <tr> 
      <td height="22" colspan="2" class="title"> <div align="center"><strong>编 辑 项 目--采 样 测 试</strong></div></td>
    </tr>
</table>

<table width="100%" border="0" align="center" cellpadding="0" cellspacing="1" class="tableBorder" >
  <tr align="center" class="tdbg"> 
    <td colspan="2" valign="bottom"><span lang="zh-cn">
	<%=Title%></span></td>
  </tr>
  <tr align="center" class="tdbg">
    <td colspan="2">
        作者:<%=Author%>&nbsp;&nbsp;来源:<%=CopyFrom%>&nbsp;&nbsp;更新时间:<%=UpDateTime%>
    </td>
  </tr>
  <tr class="tdbg">
    <td colspan="2">
      <table width="100%" height="100%" border="0" cellpadding="0" cellspacing="5">
        <tr>
          <td height="200" valign="top">
		  <%
		  Response.Write "<strong>下载地址:</strong><a href="& DownUrls &">"& DownUrls &"<a/><br>"
		  Response.Write "<strong>软件图片:</strong><a href="& PhotoUrl &">"& PhotoUrl &"<a/><br>" 
		  Response.Write "<strong>软件大小:</strong>" & DownSize & "&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;" 
		  Response.Write "<strong>软件语言:</strong>" & DownYY & "<br>"
		  Response.Write "<strong>授权方式:</strong>" & DownSQ & "&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;" 
		  Response.Write "<strong>运行环境:</strong>" & DownPT & "<br>"
		  Response.Write "<strong>演示地址:</strong>" & YSDZ & "&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;" 
   		  Response.Write "<strong>注册地址:</strong>" & ZCDZ & "<br>"
		  Response.Write "<strong>软件简介:</strong><br>" & Content  &"<br>"
		  Response.Write "<strong>关键字:</strong>" & Key 
		  %>
          </td>
        </tr>
      </table>
    </td>
  </tr>
  <form method="post" action="sk_GetSoft.asp" name="form1">
  <tr class="tdbg">
  	<td colspan="2" align="center">
	    <input name="Cancel" class="lostfocus" type="button"  value=" 上&nbsp;一&nbsp;步 " onClick="window.location.href='javascript:history.go(-1)'" style="cursor: hand;background-color: #cccccc;">&nbsp;&nbsp;<input  type="submit" name="Submit" class="lostfocus" value=" 设置完成&nbsp; " style="cursor: hand;background-color: #cccccc;">
	</td>
  </tr>
  </form>
</table>
<%
else
%>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="1" class="tableBorder" >
  
  <tr class="tdbg">
    <td colspan="2">
      <table width="100%" height="100%" border="0" cellpadding="0" cellspacing="5">
        <tr>
          <td height="30" valign="top"><a href="?action=demo&ItemID=<%= ItemID %>">点击查看测试页</a></td>
        </tr>
      </table>    </td>
  </tr>
  <form method="post" action="sk_GetSoft.asp" name="form1">
  <tr class="tdbg">
  	<td colspan="2" align="center">
	    <input name="Cancel" class="lostfocus" type="button"  value=" 上&nbsp;一&nbsp;步 " onClick="window.location.href='javascript:history.go(-1)'" style="cursor: hand;background-color: #cccccc;">&nbsp;&nbsp;<input  type="submit" name="Submit" class="lostfocus" value=" 设置完成&nbsp; " style="cursor: hand;background-color: #cccccc;">	</td>
  </tr>
  </form>
</table>

<%
end if
End If
end sub

sub copy
ItemID=Trim(Request("ItemID"))
If ItemID="" Then
      FoundErr=True
      ErrMsg=ErrMsg & "<br><li>请选择要删除的项目!</li>"
   Else
	SqlItem="select top 1 * from Item where ItemID="& ItemID
	Set RsItem=server.CreateObject("adodb.recordset")
   	RsItem.Open SqlItem,ConnItem,3,3
	for i=1 to Ubound(copyitem)
	copyitem(i)=RsItem(i)
	next
	RsItem.AddNew
	for i=1 to Ubound(copyitem)
	RsItem(i)=copyitem(i)
	RsItem(1)=copyitem(1) & " 复制"
	next
	RsItem.update
    RsItem.close
	Call show_Manage()
end if
  
end sub

Sub Del
ItemID=Trim(Request("ItemID"))

If Request("Del")="清空所有记录" Then
 
   ConnItem.Execute("Delete From Item")
   ConnItem.Execute("Delete From Filters")
   ConnItem.Execute("Delete From Histroly")
Else
   If ItemID="" Then
      FoundErr=True
      ErrMsg=ErrMsg & "<br><li>请选择要删除的项目!</li>"
   Else
      ItemID=Replace(ItemID," ","")   
      ConnItem.Execute("Delete From [Item] Where ItemID In(" & ItemID & ")")
      ConnItem.Execute("Delete From [Filters] Where ItemID In(" & ItemID & ")")
      ConnItem.Execute("Delete From [Histroly] Where ItemID In(" & Ite

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -