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

📄 movetheme.asp

📁 在线考试系统
💻 ASP
字号:
<%@ Language=VBScript %>
<% option explicit %>
<!-- #include file="conn_forum.asp" -->

<%
dim iArea
dim iId

iArea=Clng(Request("areaid"))
iId=Clng(Request("tid"))

%>

<HTML>
<HEAD>
<title>移动主题</title>
<meta http-equiv="Content-Language" content="zh-cn">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" type="text/css" href="../main.css">
</HEAD>
<body bgcolor="#ffffff">
	
	
	<p>请选择移至哪个讨论区:</p>
	
	<form name="form1" method="get" action="modifytheme.asp"
	
	<p>原讨论区 ID:<%=iArea%></p>
	<p>主题 ID:<%=iId%></p>
	
	<input type="hidden" name="areaid" value="<%=iArea%>">
	<input type="hidden" name="tid" value="<%=iId%>">
	<input type="hidden" name="action" value="move">
	<select size="1" name="newarea">
	<%
	dim rs
	set rs=Server.CreateObject ("ADODB.Recordset")
	rs.Open  "SELECT areaID,areaName FROM tindex ORDER BY AreaID",connf,1 ,1

	dim i
	i=0
	
	if not(rs.EOF and rs.BOF) then

		rs.MoveFirst
		do while not rs.EOF
			i=clng(rs("areaid"))
			if i=iArea then
				Response.Write "<option selected value=" & rs("areaid") & ">" & rs("areaname") & "(原来位置)" & "</option>" & vbcrlf
			else
				Response.Write "<option value=" & rs("areaid") & ">" & rs("areaname") & "</option>" & vbcrlf
			end if
			rs.MoveNext
		loop

	end if
	%>
	</select>
	<p> 
	<input type="submit" value="提交">
	</p>
	</form> 
	
	<%
	rs.close
	set rs=nothing
	call closeconnf
	%>
</body>
</html>

⌨️ 快捷键说明

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