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

📄 admin_getphoto.asp

📁 淘客网上商店网站程序 淘客网上商店网站程序 淘客网上商店网站程序
💻 ASP
📖 第 1 页 / 共 5 页
字号:
立即入库
  <input name="SaveFiles" type="checkbox" value="yes" <%If SaveFiles=1 Then response.write "checked"%> <%If Cl.ChkObjInstalled(Trim(Cl.Web_Info(13)))=False Then Response.Write "disabled"%>>
保存图片 
<input name="Thumb_WaterMark" type="checkbox" value="yes"  <%If Thumb_WaterMark=1 Then response.write "checked"%>>
图片水印
<input name="Timing" type="checkbox" value="yes"  <%If Timing=1 Then response.write "checked"%>>
定时采集
<input name="CollecOrder" type="checkbox" value="yes"  <%If CollecOrder=1 Then response.write "checked"%>>
倒序采集</td>
    </tr>
	<tr class="tdbg">
      <td height="30" width="20%" align="right"><b>标签过滤:</b></td>
      <td>
        <input name="Script_Iframe" type="checkbox" value="yes" <%If Script_Iframe=1 Then response.write "checked"%>>
        Iframe
        <input name="Script_Object" type="checkbox" value="yes" <%If Script_Object=1 Then response.write "checked"%> onclick='return confirm("确定要选择该标记吗?这将删除正文中的所有Object标记,结果将导致该图片中的所有Flash动画被删除!");'>
        Object
        <input name="Script_Script" type="checkbox" value="yes" <%If Script_Script=1 Then response.write "checked"%>>
        Script
        <input name="Script_Div" type="checkbox"  value="yes" <%If Script_Div=1 Then response.write "checked"%>>
        Div
        <input name="Script_Class" type="checkbox"  value="yes" <%If Script_Class=1 Then response.write "checked"%>>
        Class
        <input name="Script_Table" type="checkbox"  value="yes" <%If Script_Table=1 Then response.write "checked"%>>
        Table
        <input name="Script_Tr" type="checkbox"  value="yes" <%If Script_Tr=1 Then response.write "checked"%>>
        Tr
        <br>
        <input name="Script_Span" type="checkbox"  value="yes" <%If Script_Span=1 Then response.write "checked"%>>
        Span&nbsp;&nbsp;
        <input name="Script_Img" type="checkbox" value="yes" <%If Script_Img=1 Then response.write "checked"%>>
        Img&nbsp;&nbsp;&nbsp;
        <input name="Script_Font" type="checkbox"  value="yes" <%If Script_Font=1 Then response.write "checked"%>>
        Font&nbsp;&nbsp;
        <input name="Script_A" type="checkbox" value="yes" <%If Script_A=1 Then response.write "checked"%>>
        A&nbsp;&nbsp;
        <input name="Script_Html" type="checkbox" value="yes" <%If Script_Html=1 Then response.write "checked"%> onclick='return confirm("确定要选择该标记吗?这将删除正文中的所有Html标记,结果将导致该图片的可查看性降低!");'>
        Html&nbsp;
        <input name="Script_Td" type="checkbox"  value="yes" <%If Script_Td=1 Then response.write "checked"%>>
        Td        </td>
    </tr>
    
     <tr class="tdbg">
       <td align="right"><b>内容字符替换操作:</b></td>
       <td><table width="98%" border="0" cellspacing="0" cellpadding="0">
         <tr>
           <td width="70%"><select name="strReplace" size="2" id="strReplace" style="width:400;height:100" ondblclick="return ModifyReplace();">
		<%
			If Not IsNull(strReplace) Then
					Dim strReplaceArray 
					strReplaceArray = Split(strReplace, "$$$")
					For i = 0 To UBound(strReplaceArray)
						If Len(strReplaceArray(i)) > 1 Then
							Response.Write "      <option value=""" & strReplaceArray(i) & """>" & strReplaceArray(i) & "</option>" & vbCrLf
						End If
					Next
					
			End If
		%>
           </select>
           </td>
           <td width="30%" align="left">
      <input type="button" name="addreplace" value="添加替换字符" onClick="AddReplace();">
             <br><br style="overflow: hidden; line-height: 5px">
      <input type="button" name="modifyreplace" value="修改当前字符" onClick="return ModifyReplace();">
             <br><br style="overflow: hidden; line-height: 5px">
      <input type="button" name="delreplace" value="删除当前字符" onClick="DelReplace();">
             <br><br style="overflow: hidden; line-height: 5px">
      <input type="hidden" name="ReplaceList" value=""></td>
         </tr>
       </table>
       </td>
     </tr>
     <tr class="tdbg">
       <td align="right"><b>数量限制:</b></td>
	<% if CollecNewsNum="" then CollecNewsNum=0 %>
       <td><input name="CollecNewsNum" type="text" id="CollecNewsNum" value="<%=CollecNewsNum%>" size="10" maxlength="10"> 
         <font color='#0000FF'>0为采集所有 成功条数 </font></td>
     </tr>
    <tr class="tdbg">
      <td align="right"><b>评分等级:</b></td>
      <td>
	<% If Stars=0 Then Stars=5 %>
	<Select name="Stars">
            <option value="5" Selected <%If Stars=5 Then response.write "Selected"%>>★★★★★</option>
            <option value="4" <%If Stars=4 Then response.write "Selected"%>>★★★★</option>
            <option value="3" <%If Stars=3 Then response.write "Selected"%>>★★★</option>
            <option value="2" <%If Stars=2 Then response.write "Selected"%>>★★</option>
            <option value="1" <%If Stars=1 Then response.write "Selected"%>>★</option>
        </Select>      </td>
    </tr>
	<tr class="tdbg">
      <td align="right"><b>查看点数:</b></td>
      <td><input name='InfoPoint' type='text' id='InfoPoint' value='<%=InfoPoint%>' size='5' maxlength='3'>
      <font color='#0000FF'>如果大于0,则用户查看此<%=radioid%>时将消耗相应点数。(对游客和管理员无效)</font>      </td>
    </tr>
	<tr class="tdbg">
      <td align="right"><b>点击数初始值:</b></td>
      <td><input name="Hits" type="text" id="Hits" value="<%=Hits%>" size="10" maxlength="10">
        <font color='#0000FF'>这功能是提供给管理员作弊用的。不过尽量不要用呀!^_^</font>      </td>
    </tr>
    <tr class="tdbg"> 
      <td height="30" colspan="2" align="center" class="tdbg">
	<% 
	Select Case action 
	Case "add" 
	Response.Write "<input name=""Action1"" type=""hidden"" id=""Action"" value=""add"">"
	Case "edit"
	Response.Write "<input name=""Action1"" type=""hidden"" id=""Action"" value=""edit"">"
	End Select
	%>
	<input name="ItemID" type="hidden" id="ItemID" value="<%=ItemID%>">
	<input name="Action" type="hidden" id="Action" value="s1">
	<input name="ModuleID" type="hidden" id="Action" value="<%= ModuleID %>">
        <input name="Cancel" type="button" class="lostfocus" id="Cancel" onClick="window.location.href='<%= CJFileName  %>'" value=" 返&nbsp;&nbsp;回 ">
        &nbsp; 
      <input name="Submit"  type="submit" class="lostfocus" value="下&nbsp;一&nbsp;步">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <input type="checkbox" name="ShowCode" value="checkbox">显示源码</td>
    </tr>
</form>
</table>


  
</body>         
</html>
<%End Sub%>
<%
Sub setup1()'第一步
If Action1="edit" And Action="s1" Or Action1="add" Then
	Req_Err_msg 1 '检查提交设置并保存
	If FoundErr<>True And CGet.G("ShowCode")="checkbox" Then
		ListCode=CGet.ReplaceTrim(CGet.GetHttpPage(ListUrl,Encoding))
		If ListCode="$False$" Then
			FoundErr=True
			ErrMsg=ErrMsg & "<br><li>在获取:" & ListUrl & "网页源码时发生错误</li>"
		End If
	End If
End If
If FoundErr=True Then
   call Cl.ShowErr(ErrMsg)
Else
If CGet.G("ShowCode")="checkbox" Then
%>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="1" class="Border" >
    <tr> 
      <td height="22" colspan="2" class="title"> <div align="center"><strong>项 目 编 辑 -- 采集目标网站源代码&nbsp;&nbsp;&nbsp;&nbsp; </strong>
	<input type="radio" value="0" name="ShowCodeobt"  onClick="ShowCode1.style.display='none';">
        隐藏源代码窗口&nbsp;&nbsp;
        <input type="radio" value="0" name="ShowCodeobt" checked onClick="ShowCode1.style.display='';">
        显示源代码窗口&nbsp;
		</div>
	</td>
    </tr>
    <tr class="tdbg" class="tdbg" id="ShowCode1"> 
      <td height="22" colspan="2" class="tdbg" align="center">
        <textarea name="showCode" cols="120" rows="10" class="lostfocus"><%=ListCode%></textarea><br>采集的目标地址 →<a href=<%=ListUrl%> target="_blank"><%=ListUrl%></a> <a href='view-source:<%=ListUrl%>' target='_blank'><font color='blue'>点击查看目标源代码</font></a></td>
    </tr>
</table>
<% End If 

If action="edit" Or action1="edit" Or action="s1" And action1<>"add" Then'是否从链接来读数据
Set RsItem=Conn_C.execute("Select * from Item where ItemID=" & ItemID)
	HttpUrlType=RsItem("HttpUrlType")'重定链接
	HttpUrlStr=RsItem("HttpUrlStr")'重定链接
	LsString=RsItem("LsString")
   	LoString=RsItem("LoString")
	HsString=RsItem("HsString")
  	HoString=RsItem("HoString")
  	ListUrl=RsItem("ListStr")
	imhstr=RsItem("imhstr")
	imostr=RsItem("imostr")
	x_tp=RsItem("x_tp")
	Encoding=RsItem("Encoding")
	RsItem.close
	set RsItem=nothing
	action1="edit"
End If
%>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="1" class="Border" >
<form method="post" action="?" name="form1">
    <tr> 
      <td height="22" colspan="2" class="title"> <div align="center"><strong>		项 目--列表连接设置</strong></div></td>
    </tr>
    <tr class="tdbg">
      <td align="right" class="tdbg" ><strong>列表开始代码:</strong></td>
      <td class="tdbg"><textarea name="LsString" cols="70" rows="7" class="lostfocus"><%=LsString %></textarea></td>
    </tr>
    <tr class="tdbg">
      <td align="right" class="tdbg" ><strong>列表结束代码:</strong></td>
      <td class="tdbg"><textarea name="LoString" cols="70" rows="7" class="lostfocus"><%=LoString %></textarea></td>
    </tr>
    <tr class="tdbg"> 
      <td width="20%" align="right" class="tdbg" ><strong>链接开始代码:</strong></td>
      <td width="75%" class="tdbg">
        <textarea name="HsString" cols="70" rows="7" class="lostfocus"><%= HsString %></textarea></td>
    </tr>
    <tr class="tdbg"> 
      <td width="20%" align="right" class="tdbg" ><strong>链接结束代码:</strong></td>
      <td width="75%" class="tdbg">
      <textarea name="HoString" cols="70" rows="7" class="lostfocus"><%= HoString %></textarea></td>
    </tr>
	<tr class="tdbg"> 
      <td width="20%" align="right" class="tdbg" ><strong>重定链接地址:</strong></td>
      <td width="75%" class="tdbg">
       <input type="radio" name="HttpUrlType" value="0" <% If HttpUrlType=0 Or HttpUrlType="" Then Response.Write("checked")%>  onClick="HttpUrlType1.style.display='none'">自动外理
	<input type="radio" name="HttpUrlType" value="1" <% If HttpUrlType=1 Then Response.Write("checked")%> onClick="HttpUrlType1.style.display=''">
重新链接位置
	</td>
    </tr>
	<tr class="tdbg" id="HttpUrlType1" style="display:none" >
      <td align="right" class="tdbg" ><b><font color=blue>重定链接字符:</font></b></td>
      <td class="tdbg">
      <input name="HttpUrlStr" type="text" size="70" maxlength="200" value="<%=HttpUrlStr%>" class="lostfocus">
	<br>
	如:javascript:Openwin("<font color="#FF0000">8785</font>") <br>
	function Openwin(ID) {
  		popupWin = window.open('<font color="#FF0000">http://www.aspoo.com/</font>'+ ID + '<font color="#FF0000">.html</font>','','width=517,height=400,scrollbars=yes')}<br>
		<font color="#FF0000">正确设置:http://www.aspoo.com/{$ID}.html</font>
	</td>
    </tr>
    <tr class="tdbg">
      <td align="right" class="tdbg" ><strong>列表缩略图设置:</strong></td>
      <td class="tdbg">
	
	<input type="radio" name="x_tp" value="0" <% If x_tp=0 Or x_tp="" Then Response.Write("checked")%>  onClick="picl1.style.display='none'">
不作设置
  <input type="radio" name="x_tp" value="1" <% If x_tp=1 Then Response.Write("checked")%> onClick="picl1.style.display=''">
列表缩略图
<input type="radio" name="x_tp" value="2"  <% if x_tp=2 then Response.Write("checked") %> onClick="picl1.style.display='none';picl.style.display=''">自动缩略图
</td>
    </tr>
    <tr class="tdbg" id="picl1" <% If x_tp<>1 Then Response.Write "style=""display:none"""  %> >
      <td align="right" class="tdbg" ><p><strong><font color=blue>列表缩略图开始代码:</font>
      </strong></p>
      <p>&nbsp;</p>
      <p>&nbsp;</p>
      <p><strong><font color=blue>列表缩略图结束代码:</font></strong></p></td>
      <td class="tdbg"><textarea name="imhstr" cols="70" rows="7" id="imhstr" class="lostfocus"><%= imhstr %></textarea><br>
      <textarea name="imostr" cols="70" rows="7" id="imostr" class="lostfocus"><%= imostr %></textarea></td>
    </tr>
    <tr class="tdbg"> 
      <td colspan="2" align="center" class="tdbg" height="30">
        <input name="ItemID" type="hidden" value="<%=ItemID%>">
		<input name="Encoding" type="hidden" value="<%=Encoding%>">
		<% 
	Select Case action1 
	Case "add" 
	Response.Write "<input name=""Action1"" type=""hidden"" id=""Action"" value=""add"">"
	Case "edit"
	Response.Write "<input name=""Action1"" type=""hidden"" id=""Action"" value=""edit"">"
	End Select
	%>
		
		<input name="Action" type="hidden" id="Action" value="s2">
		
        <input  type="button" name="button1" class="lostfocus"  value="上&nbsp;一&nbsp;步" onClick="window.location.href='javascript:history.go(-1)'" >
        &nbsp;&nbsp;&nbsp;&nbsp; 
      <input  type="submit" name="Submit" class="lostfocus"  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 setup2()'第二步
	Req_Err_msg 2
	'======================显示远程源码==============

⌨️ 快捷键说明

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