⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 e_boardset.asp

📁 zheng fu wang zhan gong neng qi quan
💻 ASP
字号:
<!--#include file="conn.asp"-->
<!--#include file="ConnUser.asp"-->
<!--#include file="config.asp"-->
<!--#include file="char.inc"-->
<!--#include file="chkuser.asp" -->
<!--#include file="ChkURL.asp"-->

<%IF request.cookies(eChuang)("KEY")<>"super" THEN
	Show_Err("对不起,您的后台管理权限不够操作!")
	response.end
else
	inuse=request.form("inuse")
	if inuse="" then
		Show_Err("对不起,请您选择公告项!<br><br><a href=history.go(-1)>返回</a>")
		response.end
	end if
	set rs=server.createobject("adodb.recordset")
	sql="Select inuse from "& db_board_Table &" where inuse=1"
	rs.open sql,conn,1,3
	if not rs.eof then
		do while not rs.eof
			rs("inuse")=0
		rs.movenext
		loop
	end if
	rs.close
	
	sql="Select * from "& db_board_Table &" where ID="&inuse
	rs.open sql,conn,1,3
	if not rs.EOF then
		do while not rs.EOF 
			rs("inuse")=1
			rs.MoveNext 
		loop
	end if
	rs.close
	set rs=nothing
	dim title
	set rs=server.createobject("adodb.recordset")
	sql="select * from "& db_board_Table &" where inuse=1"
	rs.open sql,conn,1,1
	title=rs("title")
	rs.close
	set rs=nothing
	conn.close
	set conn=nothing
	response.redirect "E_BoardManage.asp"
end if%>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -