?? b_dingtie.asp
字號:
<!--#include file="d_tou.asp" -->
<%
tiezi=clng(Request("tiezi"))
set zhutie=lj.execute("select bankuai from tiezi where xuhao="& tiezi &"")
xuhao=zhutie("bankuai")
set bankuai=lj.execute("select mingzi from bankuai where xuhao="& xuhao &"")
%>
<table width="778"" border="1" align="center" cellpadding="5" cellspacing="0" bordercolor="#FFFFFF">
<tr>
<td bordercolor="#F6F6F6" bgcolor="#FBFBFB"><img src="tupian/weizhi.gif" width="9" height="9">
<a href="b_bankuai.asp">論壇版塊</a> →
<a href="b_luntan.asp?bankuai=<%=xuhao%>"><%=server.HTMLEncode(bankuai("mingzi"))%></a> →
<a href="b_kantie.asp?tiezi=<%=tiezi%>">瀏覽帖子</a> → 提升帖子</td>
</tr>
</table>
<table width="778"" border="1" align="center" cellpadding="20" cellspacing="0" bordercolor="#FFFFFF">
<tr><td bordercolor="#F6F6F6" bgcolor="#FBFBFB"> <div align="center">
<%
set shangci=lj.execute("select dingtie from huiyuan where mingzi='"& mingzi &"'")
set jiange=lj.execute("select dingtiejiange from luntan")
if dateadd("s",jiange("dingtiejiange"),shangci("dingtie")) > now() then
response.Write("在"&jiange("dingtiejiange")&"秒內只能提升帖子一次")
else
lj.execute("update tiezi set shijian=now() where xuhao="& tiezi &"")
lj.execute("update huiyuan set dingtie=now() where mingzi='"& mingzi &"'")
Response.Write("您已經把帖子提升到最高了")
end if
%></div></td></tr></table>
<!--#include file="d_wei.asp" -->
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -