📄 bkcl.asp
字号:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%>
<%response.buffer=true%>
<%Response.ContentType = "text/vnd.wap.wml; charset=utf-8"%>
<?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">
<!--#include file="conn.inc"-->
<!--#include file="66hc-sb.asp"-->
<wml>
<head>
<meta http-equiv="Cache-Control" content="no-Cache"/>
<meta http-equiv="Cache-Control" content="max-age=0"/>
<meta http-equiv="Expires" content="Mon, 1 Jan 1990 00:00:00 GMT"/>
</head>
<card id="main" title="版块管理-添加论坛" >
<p>
<%
nam=usb(request("nam"))
idi=usb(request("idi"))
txt=usb(request("txt"))
ftsj=usb(request("ftsj"))
hfsj=usb(request("hfsj"))
xx=usb(request("xx"))
did=usb(request("did"))
mm=usb(request("mm"))
logo=usb(request("logo"))
pag=usb(request("pag"))
yc=request("yc")
brr=request("brr")
if brr="" then brr="0"
lx=request("lx")
if lx="" then lx="0"
did=request("did")
'----识别错误并跳转-----
if nam="" then response.redirect "tjbkok.asp?sb="&sb&"&cw=1&ok="&lx&""
if idi="" then response.redirect "tjbkok.asp?sb="&sb&"&cw=2&ok="&lx&""
if txt="" then response.redirect "tjbkok.asp?sb="&sb&"&cw=3&ok="&lx&""
if lx="" then response.redirect "tjbkok.asp?sb="&sb&"&cw=4&ok="&lx&""
'---开始增加----
set rs=Server.CreateObject("ADODB.Recordset")
rspl="select * from sclt order by pid asc"
rs.open rspl,conn,1,2
if not rs.eof then
if nam=rs("name") then response.redirect "tjbkok.asp?sb="&sb&"&cw=5&ok="&lx&""
end if
rs.addnew
if nam<>"" then rs("name")=nam
if did<>"" then rs("did")=did
if idi<>"" then rs("pid")=idi
if txt<>"" then rs("shuo")=txt
if hfsj<>"" then rs("hfsj")=hfsj
if ftsj<>"" then rs("ftsj")=ftsj
if lx<>"" then rs("lx")=lx
if brr<>"" then rs("brr")=brr
if yc<>"" then rs("yc")=yc
if pag<>"" then rs("pag")=pag
rs.update
'---关闭数据----
rs.close
set rs=nothing
%>
成功增加名为<u>[<%=nam%>]</u>的论坛<br/>
----------<br/>
<a href="sq.asp?fs=<%=fs%>&sb=<%=sb%>">返回社区管理</a><br/>
<a href="d_i.asp?fs=<%=fs%>&sb=<%=sb%>">返回管理首页</a><br/>
<a href="/index.asp?fs=<%=fs%>&sb=<%=sb%>">返回网站首页</a><br/>
报时:<%=time%>
</p></card></wml>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -