📄 post.asp
字号:
<!--#include file="my.asp"-->
<%
bid=request.querystring("bid")'版面号
fid=request.querystring("id")'回复号
if isempty(bid) then bid=1
if not isempty(fid) then
%>
<!--#include file="conn.asp"-->
<%
fidstr="<input type='hidden' name='fid' value=" &cint(fid)& ">"
set preco=server.createobject("adodb.recordset")
preco.open "select title from book where bid=" &cint(bid)& " and id=" &cint(fid),conn,1,1
if not preco.eof then
retitle="re:" + preco("title")
else
retitle=""
end if
set preco=nothing
set conn=nothing
end if
%>
<html>
<head>
<title>发表</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<!--#include file="top2.asp"--><center>
<form method="post" action="save.asp" name="forum">
<table width="584" border="0" cellspacing="2" cellpadding="2" class=buinput>
<tr>
<td width="256">标题:
<input type="text" name="title" maxlength="100" size="30" class=input value='<%=retitle%>'>
<input type="hidden" name="bid" value=<%=cint(bid)%>>
<%=fidstr%>
</td>
<td width="326">表情:</td>
</tr>
<tr>
<td width="256">大名:
<input type="hidden" name="username" maxlength="30" size="30" class=input value=<%=rs("name")%>><%=rs("name")%>
</td>
<td width="326">
<input type="radio" name="faceimg" value="01" checked>
<img src="images/01.gif" width="15" height="15">
<input type="radio" name="faceimg" value="02">
<img src="images/02.gif" width="15" height="15">
<input type="radio" name="faceimg" value="03">
<img src="images/03.gif" width="15" height="15">
<input type="radio" name="faceimg" value="04">
<img src="images/04.gif" width="15" height="15">
<input type="radio" name="faceimg" value="05">
<img src="images/05.gif" width="15" height="15">
<input type="radio" name="faceimg" value="06">
<img src="images/06.gif" width="15" height="15"></td>
</tr>
<tr>
<td width="256">妹儿:
<input type="hidden" name="usermail" maxlength="50" size="30" class=input value=<%=rs("email")%> ><%=rs("email")%>
</td>
<td width="326">
<input type="radio" name="faceimg" value="07">
<img src="images/07.gif" width="15" height="15">
<input type="radio" name="faceimg" value="08">
<img src="images/08.gif" width="15" height="15">
<input type="radio" name="faceimg" value="09">
<img src="images/09.gif" width="15" height="15">
<input type="radio" name="faceimg" value="10">
<img src="images/10.gif" width="15" height="15">
<input type="radio" name="faceimg" value="11">
<img src="images/11.gif" width="15" height="15">
<input type="radio" name="faceimg" value="12">
<img src="images/12.gif" width="15" height="15"></td>
</tr>
<tr valign="top">
<td colspan="2" valign="top">文章:
<textarea name="content" cols="70" rows="15" class=txtinput></textarea>
</td>
</tr>
<tr>
<td width="256">
<div align="right">
<input type="submit" name="send" value=" 发 表 " class=buinput>
<input type="reset" name="reset" value=" 重 写 " class=buinput>
<input type="button" name="return" value=" 返 回 " onclick="javascript:history.go(-1)" class=buinput>
</div>
</td>
<td width="326"> </td>
</tr>
</table>
</form><!--#include file="copyright.asp"-->
<center>
</body>
</html>
<%End Select%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -