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


<%

'//파라미터정보 *************************************************************************************
b_num			= InputValue(request("b_num"))
'//$rtn_url		= InputValue($rtn_url);
prepage			= request("prepage")
'//**************************************************************************************************

If prepage = "vie" then		'//내용보기
	

	rtn_url = "view.asp?a_num=" & a_num & "&b_num=" & b_num & "&" & page_info
	fail_url = "list.asp?a_num=" & a_num & "&amp;" & page_info

	tit_name = "내용보기 비밀번호"



ElseIf prepage = "modi" then '//수정하기

	rtn_url = "write.asp?a_num=" & a_num & "&b_num=" & b_num & "&" & page_info
	fail_url = "view.asp?a_num=" & a_num & "&amp;b_num=" & b_num & "&amp;" & page_info

	tit_name = "수정하기 비밀번호"

ElseIf prepage = "dele" then '//삭제하기

	rtn_url = "delete_ok.asp?a_num=" & a_num & "&amp;b_num=" & b_num & "&amp;" & page_info
	fail_url = "view.asp?a_num=" & a_num & "&amp;b_num=" & b_num & "&amp;" & page_info

	tit_name = "삭제하기 비밀번호"

End if

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

<!-- 쓰기 -->
	
	<form id="frm" method="post" action="pwd_ok.asp?a_num=<%=a_num%>&amp;<%=page_info%>" onsubmit="return pwd_chk();">
	<div>
	<input type="hidden" name="b_num" value="<%=b_num%>">
	<input type="hidden" name="rtn_url" value="<%=rtn_url%>">
	<input type="hidden" name="prepage" value="<%=prepage%>">

	</div>



	<div class="pwd_check">
		비밀번호를 입력해주세요.<br/><br/>

		<ul>
			<li><span class="text">비밀번호 :</span> <input type="password" size="15" title="비밀번호를 입력하세요" id="c_pwd<%=zz%>" name="b_pwd_chk" class="board_input" style="vertical-align:middle;" onfocus="focus_on1(this);" onblur="focus_off1(this);" /><input type="image" src="/content/board/nninc_simple/img/command_ok.gif" width="34" height="20" alt="확인" style="vertical-align:middle;padding-left:3px;" /></li>
		</ul>

	</div>


	<div class="pwd_check_button">
		<span><a href="list.asp?a_num=<%=a_num%>&amp;<%=page_info%>"><img src="/content/board/nninc_simple/img/back_bt.gif" width="82" height="23" alt="돌아가기" /></a></span>
	</div>

	</form>

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