前辈,我将论坛的一个link.asp文件改了,后来又还原,上传后竟出现错误了
问题见:asp.6to23.com/zlyx/sf/index.asp论坛的最下方
说link.asp文件错误,可是我改了又还原呀,为什么呢!谢谢!
link.asp文件见下方:
align=center border="0" width=<%=TableWidth%> cellspacing="1" cellpadding="3" class="sft">
<%
if LinkStyle = 1 then
%>
<%
else
%>
>
>>
<%
end if
if LinkStyle = 2 then
%>
<%
end if
if LinkStyle = 3 then
%>
<%=link(2)%> <%
end if
Loop
linkf.close
Set fso = nothing
Set linkf = nothing
if LinkStyle = 2 then
%>
<%
end if
%>
class="sfh" colspan=2 <%=tbgstr%>>链接 |
>链接 |
<% end if
linkf = Server.MapPath("link.dat") Set fso = CreateObject("Scripting.FileSystemObject") Set linkf = fso.OpenTextFile(linkf) dim link(4) DO While not linkf.AtEndOfStream for i = 1 to 4 if linkf.AtEndOfStream then exit for else link(i)=linkf.Readline end if next if LinkStyle = 1 then %>
|
%>) | <%=link(4)%> |