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

📄 getgroupdebate.asp

📁 后台目录:qwbAdmin/Login.asp 登陆用户名:admin 登陆密码:admin
💻 ASP
字号:
<% Option Explicit %>
<!--#include file="../../FS_Inc/Const.asp" -->
<!--#include file="../../FS_InterFace/MF_Function.asp" -->
<!--#include file="../../FS_Inc/Function.asp" -->
<%
Dim debateid,SelectName,result,User_Conn,debateGroupRs
MF_Default_Conn
MF_User_Conn
MF_Session_TF
debateid=NoSqlHack(Request.QueryString("debateid"))
SelectName=NoSqlHack(Request.QueryString("name"))
if debateid<>"" then
	Set debateGroupRs=server.CreateObject(G_FS_RS)
	debateGroupRs.open "select DebateID,Title,ParentID from FS_ME_GroupDebate where ParentID="&debateid,User_Conn,1,3
	if SelectName="Topic1" and  not debateGroupRs.eof then
		result="<select name='"&SelectName&"' id='"&SelectName&"' onchange=""getDebate(this,'Topic2')"">"
		result=result&"<option value=''>请选择二级主题</option>"
	elseif not debateGroupRs.eof then
		result="<select name='"&SelectName&"' id='"&SelectName&"'>"
		result=result&"<option value=''>请选择三级主题</option>"
	end if
	while not debateGroupRs.eof
		result=result&"<option value='"&debateGroupRs("DebateID")&"'>"&debateGroupRs("Title")&"</option>"&Chr(10)&chr(13)
		debateGroupRs.movenext
	wend
	if result<>"" then
		result=result&"</select>"&Chr(10)&Chr(13)
	end if
	Response.Charset="GB2312"
	Response.Write(result)
	debateGroupRs.close
	Set debateGroupRs=nothing
	User_Conn.close
	Set User_Conn=nothing
end if
%>

⌨️ 快捷键说明

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