📄 write_msg.asp
字号:
<%
sub write_msg()
session("rewrite")=0
%>
<%tablefirst%>
<table width=100% border=1 cellspacing=0 cellpadding=2 bordercolorlight=#333333 bordercolordark=#FFFFFF height=254 align="center">
<form method=POST name=submitok action=index.asp?action=add&user=<%=user%>&userid=<%=istrue%> align=center onkeydown="if(event.keyCode==13 && event.ctrlKey)submitok.submit()" >
<%
sql_msg="select id from message where userid="&istrue&""
set rs_msg=conn.execute(sql_msg)
%>
<tr>
<td height=14 colspan=2 class=link >
<div align=center><%if rs_msg.bof and rs_msg.eof then%>恭 喜 您 成 为 第 一 个 留 言 者 !<%else%>签 写 留 言<%
end if%></div>
</td>
</tr>
<tr>
<td width=550>
<table width=100% border=0 cellspacing=6 cellpadding=0>
<tr>
<td width=32% class=link align="right">您的名字: </td>
<td width=68%>
<input type=text name=name size=20 maxlength=17 class=link value="<% =request.Cookies("Uming")("name")%>">
</td>
</tr>
<tr>
<td width=32% class=link align="right">电子邮件:<br>
</td>
<td width=68%>
<input type=text name=email size=20 maxlength=50 class=link value="<% =request.Cookies("Uming")("email")%>">
</td>
</tr>
<tr>
<td width=32% class=link align="right">Q Q 号码:<br>
</td>
<td width=68%>
<input type=text name=qq size=20 maxlength=50 class=link value="<% =request.Cookies("Uming")("qq")%>">
</td>
</tr>
<tr>
<td width=32% class=link align="right">主页地址: </td>
<td width=68%>
<input type=text name=homepage size=20 maxlength=50 class=link value="<%if request.Cookies("Uming")("homepage")="" then response.write("http://") else response.write request.Cookies("Uming")("homepage") end if%>">
</td>
</tr>
<tr>
<td width=32% class=link align="right">选择话题: </td>
<td width=68%>
<SELECT name=type class=link>
<option value="[灌水]" selected>[灌水]</option>
<option value="[原创]">[原创]</option>
<option value="[转帖]">[转帖]</option>
<option value="[讨论]">[讨论]</option>
<option value="[求助]">[求助]</option>
<option value="[推荐]">[推荐]</option>
<option value="[公告]">[公告]</option>
<option value="[注意]">[注意]</option>
<option value="[建议]">[建议]</option>
<option value="[祝贺]">[祝贺]</option>
</SELECT>
</td>
</tr>
</table>
</td>
<td width=551 align="center">
<table width=100% border=0 cellspacing=0 cellpadding=0 height=109>
<tr>
<td height=121 valign=top class=link align="center">留言内容:
<%if ubb=1 then%>
(支持UBB,请看<a href=javascript:openScript('?user=<%=request("user")%>&action=help_ubb',580,400)>UBB帮助</a>)
<%end if%>
<textarea rows=8 name=message cols=35 class=link wrap="PHYSICAL" title=可以使用Ctrl+Enter直接提交></textarea>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td colspan=2 align=center height="12">
<div class=link >
<input type=radio name=pic value=11 checked>
<img src=image/11.gif>
<input type=radio name=pic value=02>
<img src=image/02.gif>
<input type=radio name=pic value=03>
<img src=image/03.gif>
<input type=radio name=pic value=04>
<img src=image/04.gif>
<input type=radio name=pic value=05>
<img src=image/05.gif>
<input type=radio name=pic value=06>
<img src=image/06.gif>
<input type=radio name=pic value=07>
<img src=image/07.gif> <br>
<input type=radio name=pic value=08>
<img src=image/08.gif>
<input type=radio name=pic value=09>
<img src=image/09.gif width="40" height="40">
<input type=radio name=pic value=10>
<img src=image/10.gif>
<input type=radio name=pic value=01>
<img src=image/01.gif>
<input type=radio name=pic value=12>
<img src=image/12.gif>
<input type=radio name=pic value=13>
<img src=image/13.gif>
<input type=radio name=pic value=14>
<img src=image/14.gif></div>
</td>
</tr>
<tr>
<td colspan=2 class=link >
<div align=center>
<input type=submit value=签写留言 class=link>
<input type=button value=返回前页 class=link name=Button>
[<FONT
color=#ff0000 >Ctrl+Enter直接提交</FONT>]</div>
</td>
</tr></form>
</table>
<%tablelast()%>
<%end sub%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -