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

📄 admin_itemmodify5.asp

📁 功能介绍: 一、会员功能模块 1、站内短信发布(设计中) 2、书架收藏夹 3、发表评论(功能不完善) 4、申请作家(与添书员整合) 5、申请添书员(与作家整合) 6、申请更新员
💻 ASP
📖 第 1 页 / 共 5 页
字号:
						End if
					End if
					If HttpUrlType=1 Then
						NewsArray(Testi)=Replace(HttpUrlStr,"{$ID$}",NewsArray(Testi))
						NewsArray(Testi)=Replace(NewsArray(Testi),"{$Bl_id$}",ListStrUrl)
					Else
						NewsArray(Testi)=DefiniteUrl(NewsArray(Testi),NewsUrl)
					End If
				Next
				UrlTest=NewsArray(0)
			Else
	            FoundErr=True
	            ErrMsg=ErrMsg & "<br><li>在获取章节连接/章节ID时出错。</li>"
			End If
		elseif readType1=1 then
			if TsType=1 then
	     		TsType=true
	     	elseif TsType=0 then
	     		TsType=False
	     	end if
	    	if ToType=1 then
	     		ToType=true
	      	elseif ToType=0 then
	      		ToType=False
	      	end if
      		TitleCode=GetArray(ListCode,TsString,ToString,TsType,ToType)
			If TitleCode<>"$False$" Then
				TitleArray=Split(TitleCode,"$Array$")
				For Testi=0 To Ubound(TitleArray)
		            If TitleType1=1 Then
				      if TsType1=1 then
				    	TsType1=true
				      elseif TsType1=0 then
				    	TsType1=False
				      end if
				      if ToType1=1 then
				    	ToType1=true
				      elseif ToType1=0 then
				    	ToType1=False
				      end if
			   			TitleArray(Testi)=GetBody(TitleArray(Testi),TsString1,ToString1,TsType1,ToType1)
						If TitleArray(Testi)="$False$" Then
							FoundErr=True
							ErrMsg=ErrMsg & "<br><li>在修正章节标题时出错。</li>"
						End if
				    end if
				Next
			Else
            	FoundErr=True
            	ErrMsg=ErrMsg & "<br><li>在截取章节标题的时候发生错误:" & NewsUrl & "</li>"
   			End If

         	if CsType=1 then
		    	CsType=true
		    elseif CsType=0 then
		    	CsType=False
		    end if
		    if CoType=1 then
		    	CoType=true
		    elseif CoType=0 then
		    	CoType=False
		    end if
		    ContentCode=GetArray(ListCode,CsString,CoString,CsType,CoType)
			If ContentCode<>"$False$" Then
				ContentArray=Split(ContentCode,"$Array$")
				For Testi=0 To Ubound(ContentArray)
				    If ContType1=1 Then
				      	if CsType1=1 then
				      		CsType1=true
				      	elseif CsType1=0 then
				      		CsType1=False
				      	end if
				     	if CoType1=1 then
				      		CoType1=true
				      	elseif CoType1=0 then
				      		CoType1=False
				      	end if
					    ContentArray(Testi)=GetBody(ContentArray(Testi),CsString1,CoString1,CsType1,CoType1)
						If ContentArray(Testi)="$False$" Then
							FoundErr=True
							ErrMsg=ErrMsg & "<br><li>在修正章节正文时出错。</li>"
						End if
				    End If
				     If ContType2=2 Then
					     ContentArray(Testi)=DefiniteUrl(ContentArray(Testi),NewsUrl)
				      	if CsType2=1 then
				      		CsType2=true
				      	elseif CsType2=0 then
				      		CsType2=False
				      	end if
				     	if CoType2=1 then
				      		CoType2=true
				      	elseif CoType2=0 then
				      		CoType2=False
				      	end if
				      	ViewUrl=ContentArray(Testi)
				      	ContentArray(Testi)=GetHttpPage(ViewUrl,EquivType)
		              	ContentArray(Testi)=GetBody(ContentArray(Testi),CsString2,CoString2,CsType2,CoType2)
		              	If ContentArray(Testi)="$False$" Then
		                 	FoundErr=True
		                 	ErrMsg=ErrMsg & "<br><li>在截取章节正文的时候发生错误:" & ViewUrl & "</li>"
		              	End If
				     End If
				Next
				ContentTest=ContentArray(0)
			Else
            	FoundErr=True
            	ErrMsg=ErrMsg & "<br><li>在截取章节正文的时候发生错误:" & NewsUrl & "</li>"
   			End If
		end if
	Else
		FoundErr=True
		ErrMsg=ErrMsg & "<br><li>在截取目录页面时发生错误。</li>"
	End If
Else
	FoundErr=True
	ErrMsg=ErrMsg & "<br><li>在获取:" & ListUrl & "网页源码时发生错误。</li>"
End If
End If

If FoundErr=True Then
   Call WriteErrMsg(ErrMsg)
Else
if readType1=0 then%><table width="100%" border="0" align="center" cellpadding="0" cellspacing="1" class="tborder" style="LINE-HEIGHT: 150%">
	<tr align="center">
		<td colspan="2" align="center" class="thead">项 目 管 理--分 卷 页 采 集 测 试</td>
	</tr>
	<tr align="center" class="tdbg">
		<td colspan="2">分卷名称:<%=cook%></td>
	</tr>
	<tr>
		<td height="22" colspan="2">以下是分析后所得到的章节绝对链接地址,请查看是否正确。<br>
		<%
For Testi=0 To Ubound(NewsArray)
   Response.Write "<a href='" & NewsArray(Testi) & "'"
   Response.Write " target=_blank>"
   if TitleTypes=1 then
   Response.Write "" & Title(Testi) & ""
   else
   Response.Write "" & NewsArray(Testi) & ""
   end if
   Response.Write "</a><br>"
Next
%> <br>
		下面将抽取第一个章节地址进行测试的结果,在填写以下标记时尽量不要使用本内容。 </td>
	</tr>
</table>
<br>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="1" class="tborder">
	<tr>
		<td height="22" colspan="2"></td>
	</tr>
</table>
<br>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="1" class="tborder" style="LINE-HEIGHT: 150%">
	<form method="post" action="Admin_ItemAttribute.asp" name="form1">
		<tr>
			<td colspan=4 align="center" class="thead">项 目 编 辑--章 节 页 设 置</td>
		</tr>
		<tr>
			<td align="center" class="alt2" colspan=2 width="50%">作品章节页面开始标记:<br>
			<textarea name="VsString" cols="30" rows="6" class="form"><%=VsString%></textarea>
			</td>
			<td colspan=2 align="center" class="alt1" width="50%">作品章节页面结束标记:<br>
			<textarea name="VoString" cols="30" rows="6" class="form"><%=VoString%></textarea>
			</td>
		</tr>
		<tr>
			<td colspan=2 align="center" class="alt2">标题开始标记: 
			<input type="radio" name="TsType" value="1" <%if tstype=1 then response.write "checked"%> class="form">包含 
			<input type="radio" name="TsType" value="0" <%if tstype=0 then response.write "checked"%> class="form">不包含<br>
			<textarea name="TsString" cols="30" rows="6" class="form"><%=TsString%></textarea></td>
			<td colspan=2 align="center" class="alt1">标题结束标记: 
			<input type="radio" name="ToType" value="1" <%if totype=1 then response.write "checked"%> class="form">包含 
			<input type="radio" name="ToType" value="0" <%if totype=0 then response.write "checked"%> class="form">不包含<br>
			<textarea name="ToString" cols="30" rows="6" class="form"><%=ToString%></textarea></td>
		</tr>
		<tr>
			<td align="center" class="alt3">是否需要修正:&nbsp; </td>
			<td colspan=3 class="alt3">
			<input type="radio" value="0" name="TitleType1" <%if titletype1=0 then response.write "checked"%> class="form" onclick="Title1.style.display='none'">不需要&nbsp; 
			<input type="radio" value="1" name="TitleType1" <%if titletype1=1 then response.write "checked"%> class="form" onclick="Title1.style.display=''">需要&nbsp; 
			</td>
		</tr>
		<tr id="Title1" style="display:<%if titletype1=0 then response.write "none"%>">
			<td colspan=2 align="center" class="alt3">修正标题开始标记: 
			<input type="radio" name="TsType1" value="1" <%if tstype1=1 then response.write "checked"%> class="form">包含 
			<input type="radio" name="TsType1" value="0" <%if tstype1=0 then response.write "checked"%> class="form">不包含<br>
			<textarea name="TsString1" cols="30" rows="6" class="form"><%=TsString1%></textarea></td>
			<td colspan=2 align="center" class="alt3">修正标题结束标记: 
			<input type="radio" name="ToType1" value="1" <%if totype1=1 then response.write "checked"%> class="form">包含 
			<input type="radio" name="ToType1" value="0" <%if totype1=0 then response.write "checked"%> class="form">不包含<br>
			<textarea name="ToString1" cols="30" rows="6" class="form"><%=ToString1%></textarea></td>
		</tr>
		<tr>
			<td colspan=2 align="center" class="alt2">正文开始标记: 
			<input type="radio" name="CsType" value="1" <%if cstype=1 then response.write "checked"%> class="form">包含 
			<input type="radio" name="CsType" value="0" <%if cstype=0 then response.write "checked"%> class="form">不包含<br>
			<textarea name="CsString" cols="30" rows="6" class="form"><%=CsString%></textarea></td>
			<td colspan=2 align="center" class="alt1">正文结束标记: 
			<input type="radio" name="CoType" value="1" <%if cotype=1 then response.write "checked"%> class="form">包含 
			<input type="radio" name="CoType" value="0" <%if cotype=0 then response.write "checked"%> class="form">不包含<br>
			<textarea name="CoString" cols="30" rows="6" class="form"><%=CoString%></textarea></td>
		</tr>
		<tr>
			<td align="center" class="alt3">是否需要修正:&nbsp; </td>
			<td colspan=3 class="alt3">
			<input type="radio" value="0" name="ContType1" <%if conttype1=0 then response.write "checked"%> class="form" onclick="Cont1.style.display='none'">不需要&nbsp; 
			<input type="radio" value="1" name="ContType1" <%if conttype1=1 then response.write "checked"%> class="form" onclick="Cont1.style.display=''">需要&nbsp; 
			</td>
		</tr>
		<tr id="Cont1" style="display:<%if conttype1=0 then response.write "none"%>">
			<td colspan=2 align="center" class="alt3">修正正文开始标记: 
			<input type="radio" name="CsType1" value="1" <%if cstype1=1 then response.write "checked"%> class="form">包含 
			<input type="radio" name="CsType1" value="0" <%if cstype1=0 then response.write "checked"%> class="form">不包含<br>
			<textarea name="CsString1" cols="30" rows="6" class="form"><%=CsString1%></textarea></td>
			<td colspan=2 align="center" class="alt3">修正正文结束标记: 
			<input type="radio" name="CoType1" value="1" <%if cotype1=1 then response.write "checked"%> class="form">包含 
			<input type="radio" name="CoType1" value="0" <%if cotype1=0 then response.write "checked"%> class="form">不包含<br>
			<textarea name="CoString1" cols="30" rows="6" class="form"><%=CoString1%></textarea></td>
		</tr>
		<tr>
			<td align="center" class="alt3">获取到的正文类型:&nbsp; </td>
			<td colspan=3 class="alt3">
			<input type="radio" value="0" name="ContType2" <%if conttype2=0 then response.write "checked"%> class="form" onclick="Cont2.style.display='none'">纯文字&nbsp; 
			<input type="radio" value="1" name="ContType2" <%if conttype2=1 then response.write "checked"%> class="form" onclick="Cont2.style.display='none'">图文混排&nbsp; 
			<input type="radio" value="2" name="ContType2" <%if conttype2=2 then response.write "checked"%> class="form" onclick="Cont2.style.display=''">TXT 文件&nbsp; 
			<input type="radio" value="3" name="ContType2" <%if conttype2=3 then response.write "checked"%> class="form" onclick="Cont2.style.display='none'">单张图片 
			</td>
		</tr>
		<tr id="Cont2" style="display:<%if conttype2=0 or conttype2=1 or conttype2=3 then response.write "none"%>">
			<td colspan=2 align="center" class="alt2">TXT文件中正文开始标记: 
			<input type="radio" name="CsType2" value="1" <%if cstype2=1 then response.write "checked"%> class="form">包含 
			<input type="radio" name="CsType2" value="0" <%if cstype2=0 then response.write "checked"%> class="form">不包含<br>
			<textarea name="CsString2" cols="30" rows="6" class="form"><%=CsString2%></textarea></td>
			<td colspan=2 align="center" class="alt1">TXT文件中正文结束标记: 
			<input type="radio" name="CoType2" value="1" <%if cotype2=1 then response.write "checked"%> class="form">包含 
			<input type="radio" name="CoType2" value="0" <%if cotype2=0 then response.write "checked"%> class="form">不包含<br>
			<textarea name="CoString2" cols="30" rows="6" class="form"><%=CoString2%></textarea></td>
		</tr>
		<tr>
			<td width="50%" align="right" class=alt2><font color="blue">章节内容简单替换:</font></td>
			<td width=50% colspan=3 class=alt1>
			<input type="radio" value="1" name="JDTHType1" <%if JDTHType1=1 then response.write "checked"%> class="form" onclick="JDTH1.style.display=''"><font color="blue">启用</font>第一个&nbsp; 
			<input type="radio" value="1" name="JDTHType2" <%if JDTHType2=1 then response.write "checked"%> class="form" onclick="JDTH2.style.display=''"><font color="blue">启用</font>第二个&nbsp; 
			<input type="radio" value="1" name="JDTHType3" <%if JDTHType3=1 then response.write "checked"%> class="form" onclick="JDTH3.style.display=''"><font color="blue">启用</font>第三个<br>
			<input type="radio" value="0" name="JDTHType1" <%if JDTHType1=0 then response.write "checked"%> class="form" onclick="JDTH1.style.display='none'">废除第一个&nbsp; 
			<input type="radio" value="0" name="JDTHType2" <%if JDTHType2=0 then response.write "checked"%> class="form" onclick="JDTH2.style.display='none'">废除第二个&nbsp; 
			<input type="radio" value="0" name="JDTHType3" <%if JDTHType3=0 then response.write "checked"%> class="form" onclick="JDTH3.style.display='none'">废除第三个</td>
		</tr>
		<tr id="JDTH1" style="display:<%if JDTHType1=0 then response.write "none"%>">
			<td width="50%" colspan=2 align="center" class=alt2>原文内容:<br>
			<textarea name="JDTH1sStr" cols=30 rows=6 class=form><%=JDTH1sStr%></textarea>
			</td>
			<td width=50% colspan=2 align=center class=alt1>替换内容:<br>
			<textarea name="JDTH1oStr" cols=30 rows=6 class=form><%=JDTH1oStr%></textarea>
			</td>
		</tr>
		<tr id="JDTH2" style="display:<%if JDTHType2=0 then response.write "none"%>">
			<td width="50%" colspan=2 align="center" class=alt2>原文内容:<br>
			<textarea name="JDTH2sStr" cols=30 rows=6 class=form><%=JDTH2sStr%></textarea>
			</td>
			<td width=50% colspan=2 align=center class=alt1>替换内容:<br>
			<textarea name="JDTH2oStr" cols=30 rows=6 class=form><%=JDTH2oStr%></textarea>
			</td>
		</tr>
		<tr id="JDTH3" style="display:<%if JDTHType3=0 then response.write "none"%>">
			<td width="50%" colspan=2 align="center" class=alt2>原文内容:<br>
			<textarea name="JDTH3sStr" cols=30 rows=6 class=form><%=JDTH3sStr%></textarea>
			</td>
			<td width="50%" colspan=2 align="center" class=alt1>替换内容:<br>
			<textarea name="JDTH3oStr" cols=30 rows=6 class=form><%=JDTH3oStr%></textarea>
			</td>
		</tr>
		<tr id="NewsPaing2">
			<td align="right" class="alt2" width="30%"><font color="blue">章节内容高级替换:</font></td>
			<td class="alt1" colspan=3 width="70%">
			<input type="radio" value="1" name="GJTHType1" <%if gjthtype1=1 then response.write "checked"%> class="form" onclick="GJTH1.style.display=''"><font color="blue">启用</font>第一个&nbsp; 
			<input type="radio" value="1" name="GJTHType2" <%if gjthtype2=1 then response.write "checked"%> class="form" onclick="GJTH2.style.display=''"><font color="blue">启用</font>第二个&nbsp; 
			<input type="radio" value="1" name="GJTHType3" <%if gjthtype3=1 then response.write "checked"%> class="form" onclick="GJTH3.style.display=''"><font color="blue">启用</font>第三个<br>
			<input type="radio" value="0" name="GJTHType1" <%if gjthtype1=0 then response.write "checked"%> class="form" onclick="GJTH1.style.display='none'">废除第一个&nbsp; 
			<input type="radio" value="0" name="GJTHType2" <%if gjthtype2=0 then response.write "checked"%> class="form" onclick="GJTH2.style.display='none'">废除第二个&nbsp; 
			<input type="radio" value="0" name="GJTHType3" <%if gjthtype3=0 then response.write "checked"%> class="form" onclick="GJTH3.style.display='none'">废除第三个</td>
		</tr>
		<tr id="GJTH1" style="display:<%if gjthtype1=0 then response.write "none"%>">
			<td colspan=3 align="center" class="alt2" width="75%">原文内容开始标记:        原文内容结束标记:<br>
			<textarea name="GJTH1sStr" cols="25" rows="5" class="form"><%=GJTH1sStr%></textarea>
			<textarea name="GJTH1oStr" cols="25" rows="5" class="form"><%=GJTH1oStr%></textarea></td>
			<td align="center" class="alt1" width="25%">替换内容:<br>
			<textarea name="GJTH1cStr" cols="35" rows="5" class="form"><%=GJTH1cStr%></textarea>
			</td>
		</tr>
		<tr id="GJTH2" style="display:<%if gjthtype2=0 then response.write "none"%>">
			<td colspan=3 align="center" class="alt2" width="75%">原文内容开始标记:        原文内容结束标记:<br>
			<textarea name="GJTH2sStr" cols="25" rows="5" class="form"><%=GJTH2sStr%></textarea>
			<textarea name="GJTH2oStr" cols="25" rows="5" class="form"><%=GJTH2oStr%></textarea></td>
			<td align="center" class="alt1" width="25%">替换内容:<br>
			<textarea name="GJTH2cStr" cols="35" rows="5" class="form"><%=GJTH2cStr%></textarea>
			</td>
		</tr>
		<tr id="GJTH3" style="display:<%if gjthtype3=0 then response.write "none"%>">
			<td colspan=3 align="center" class="alt2" width="75%">原文内容开始标记:        原文内容结束标记:<br>
			<textarea name="GJTH3sStr" cols="25" rows="5" class="form"><%=GJTH3sStr%></textarea>
			<textarea name="GJTH3oStr" cols="25" rows="5" class="form"><%=GJTH3oStr%></textarea></td>
			<td align="center" class="alt1" width="25%">替换内容:<br>
			<textarea name="GJTH3cStr" cols="35" rows="5" class="form"><%=GJTH3cStr%></textarea>
			</td>
		</tr>
		<tr>
			<td colspan=4 align="center" class="alt3">
			<input name="ItemID" type="hidden" value="<%=ItemID%>">
			<input name="readType" type="hidden" value="<%=readType%>">
			<input name="readType1" type="hidden" value="<%=readType1%>">
			<input type="hidden" name="UrlTest" value="<%=UrlTest%>">
			<input type="button" name="button1" value="上&nbsp;一&nbsp;步" onclick="window.location.href='javascript:history.go(-1)'" class="button">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
			<input type="submit" name="Submit" value="下&nbsp;一&nbsp;步" class="button"></td>
		</tr>
	</form>
</table>
<%elseif readType1=1 then%>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="1" class="tborder" style="LINE-HEIGHT: 150%">
	<tr align="center">
		<td colspan="2" align="center" class="thead">项 目 管 理--章 节 采 样 测 试</font></td>
	</tr>
</table>
<%For Testi=0 To Ubound(TitleArray)%>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="1" class="border" style="LINE-HEIGHT: 150%">
	<tr align="center" class="tdbg">
		<td height="40" colspan="2" valign="bottom"><span lang="zh-cn">
		<font size="5"><%=TitleArray(Testi)%></span></font></td>
	</tr>
	<tr align="center" class="tdbg">

⌨️ 快捷键说明

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