设为首页
加入收藏
站内地图
旧版入口
当前位置:首页 > 站长学院 > 网络编程 > ASP

故事接龙6 readold.asp

作者:佚名 出处:网络转载 时间:11-19 点击:

内容载入中...
您的支持我们的动力 华腾联合.中国 <%@ Language=VBScript %>
<HTML>
<HEAD><Title>故事接龙</Title></HEAD>
<BODY>
<font size=2>
<%
strfilename=server.MapPath("story.txt")
set fsys=server.CreateObject("scripting.filesystemobject")
if not fsys.FileExists(strfilename) then
    fsys.CreateTextFile(strfilename)
    Response.Write "目前还没有发表的文章"
else
    set conlink=server.CreateObject("MSWC.NextLink")
    ith=conlink.GetListCount("story.txt")
    if cint(ith)>0 then
        for i=1 to cint(ith)
            Response.Write  "<a href=../../" & conlink.GetNthURL("story.txt",i) & "?page=" & i & " target=mainFrame>" & conlink.GetNthDescription("story.txt",i) & "<br>"
        next
    else
    Response.Write "目前还没有发表的文章"
    end if
end if
%>
</font>
</BODY>
</HTML>
收藏本文:
】【打印页面】【推荐给朋友】【关闭窗口
>> 下一篇 :故事接龙3 new.asp

站长学院

推荐信息