<!--#include virtual="/common/lib/dbcon.asp"-->
<!--#include virtual="/common/lib/func.asp"-->
<!--#include file="config.asp"-->

<!--#include file="top.asp"-->


<%

a_num = request("a_num")
chk = request("chk")
chk = Replace(chk, " ","")

If is_ad_cms <> "Y" or a_num="" Or chk="" then

	Call goMessage_board("정보가 정확하지 않거나 접속권한이 없습니다.", Request.ServerVariables("HTTP_REFERER"), "", "", a_num)

End if

%>

		
	<form id="frm_mn" method="post" action="move_ok.asp">
	<div>
		<input type="hidden" name="a_num" value="<%=a_num%>">
		<input type="hidden" name="chk" value="<%=chk%>">
	</div>

<%
sql = " SELECT a_bbsname, a_tablename FROM board_config with(nolock) ORDER BY a_bbsname"
Set rs = dbcon.execute( sql )
If rs.eof Then
	vCnt =-1
Else
	vData = rs.getrows()
	vCnt = UBound(vData,2)
End If
rs.close : Set rs = Nothing
%> 


	<div class="pwd_check">
		이동할 게시판을 선택하세요.<br/><br/>

		<ul>
			<li>
				<select name="m_tablename">
				<%For i=0 To vCnt%>
					<option value="<%=vData(1,i)%>">(<%=vData(1,i)%>) <%=vData(0,i)%></option>
				<%next%>
				</select>		
			
			</li>
		</ul>

	</div>


	<div class="pwd_check_button">
		<input type="image" src="/content/board/nninc_simple/img/command_ok.gif" width="34" height="20" alt="확인" style="vertical-align:middle;padding-left:3px;" />
	</div>


	</form>


<!-- //쓰기 -->
<!--#include file="bottom.asp"-->