注册 | 登录 | 设为首页 | 加入收藏
您当前的位置:飞翔学院-IT中国 → 编程开发Asp → 文章内容

故事接龙4 post.asp

作者:IT 来源:不详 发布时间:2007-9-2 0:27:46
<%@ 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>

http://www.itcnw.com/
  • 打印文档
  • 推荐好友
  • 返回顶部
  • 增大字体
  • 减少字体
关于本站 | 工作机会 | 合作网站 | 广告服务 | 市场合作| 联系我们 | 抽奖活动
版权所有: 武汉威俊科技有限公司 Copyright 2005-2007 www.ITCNW.COM All rights reserved