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

故事接龙4 post.asp

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

内容载入中...
欢迎向教程中国提供原创教程 上学堂 <%@ Language=VBScript %>
<HTML>
<HEAD>
<META NAME="GENERATOR" Content="Microsoft Visual Studio 6.0">
</HEAD>
<BODY>
<%
'该变量取得当前发表的故事是第几章
dim xchapter
strfilename=server.MapPath("story.txt")
set conlink=server.CreateObject("MSWC.NextLink")
ith=conlink.GetListCount("story.txt")
if cint(ith)>0 then
    '根据链接文件story.txt中的链接数确定当前要发表的是第几章
    xchapter=cint(ith)+1
else
    xchapter=1
end if
%>
<FORM action="afterpost.ASP" method=post target=mainFrame id=form1 name=form1>
<P ><STRONG>
<FONT color=mediumslateblue face=幼圆 size=2>欢迎加入故事接龙  
<FONT color=crimson face="" size=4>题目</FONT>
</FONT></STRONG>
</P>
<P><FONT>第<%=xchapter%>章 
<INPUT id=text1 name=title style="HEIGHT: 21px; WIDTH: 80%"></FONT></P>
<P><FONT>作 者 
<INPUT id=text2 name=author></FONT></P>
<P>以下写入续接的故事内容
<INPUT id=submit1 name=submit1 type=submit value=发送>
</P>
<P>     
<TEXTAREA id=TEXTAREA1 name=content style="HEIGHT: 162px; WIDTH: 81.85%">
</TEXTAREA>
</P>
<P> </P>
</FORM>
</BODY>
</HTML>
收藏本文:
】【打印页面】【推荐给朋友】【关闭窗口
<< 上一篇 :故事接龙3 new.asp

站长学院

推荐信息