📄 add.asp
字号:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%>
<%Response.ContentType = "text/vnd.wap.wml; charset=utf-8"%>
<!-- #include file="conn.asp" -->
<!-- #include file="onlines.asp" --><?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
<wml>
<%
dim rsad,pno
set rsad=Server.CreateObject("ADODB.Recordset")
rsad.open "select phone from login where id='"&request("shouji")&"'",conn,1,3
if rsad.bof and rsad.eof then
response.redirect "index.asp"
else
pno=rsad("phone")
end if
rsad.close
set rsad=nothing
dim rspb,rsp,bz,nc,pass
set rspb=Server.CreateObject("ADODB.Recordset")
rspb.open "select * from black where pnumber='" & pno & "'",conn,1,1
if rspb.recordcount=0 then
set rsp=Server.CreateObject("ADODB.Recordset")
rsp.open "select bz,nc,pass from sheet where shouji='" & pno & "'",conn,1,2
if rsp.recordcount=0 then
response.redirect "index.asp"
else
bz=rsp("bz")
nc=rsp("nc")
pass=rsp("pass")
%>
<%
id=request.QueryString("id")
%><head><meta http-equiv='Cache-Control' content='no-cache'/>
</head>
<card title="发表主题">
<p>
标题:<input name="ti" type="text" format="*M" emptyok="false" maxlength="20"/></p>
<%if instr(bz,"-99-")>0 or instr(bz,"-98-")>0 then
%><p>置顶:<select name="top">
<option title="off" value="0">否</option>
<option title="on" value="1">是</option>
<option title="on" value="2">总置顶</option>
</select></p>
<%end if
%><p>内容:<a href='face.asp'>表情</a> 换行标记 @/
<input name="tcx" title="内容" type="text" format="*M" emptyok="true" maxlength="750"/></p>
<p>
<anchor>提交文章<go href="addsave.asp?shouji=<%=request("shouji")%>" method="post" accept-charset="utf-8">
<postfield name="pno" value="<%=pno%>"/>
<postfield name="name" value="<%=nc%>"/>
<postfield name="password" value="<%=pass%>"/>
<postfield name="id" value="<%=id%>"/>
<postfield name="title" value="$(ti)"/>
<postfield name="top" value="$(top)"/>
<postfield name="con" value="$(tcx)"/>
</go>
</anchor><br/>
----------<br/>
<a href="list.asp?id=<%=id%>&shouji=<%=request("shouji")%>">[==返回==]</a><br/>
<a href="bbs.asp?shouji=<%=request("shouji")%>">[论坛首页]</a><br/>
<a href="../index.asp?shouji=<%=request("shouji")%>">[网站首页]</a><br/>
</p>
</card>
<%
end if
rsp.close
set rsp=nothing
%>
<%else
%><card title="SORRY">
<p>
很抱歉,您的手机已被封!<br/>
</p>
</card>
<%
end if
rspb.close
set rspb=nothing
conn.close
set conn=nothing
%></wml>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -