<!--#include virtual="/common/lib/dbcon.asp"-->
<!--#include virtual="/common/lib/func.asp"-->
<!--#include file="config.asp"-->
<%
b_num		= InputValue(request("b_num"))
If b_num = "" Or Not( IsNumeric(b_num) ) Then

	Call goMessage_board("잘못된 접속입니다.(101)", "/", "", "" , a_num)
	response.end
End if

If is_read <> "Y" Then Call goMessage_board("접근권한이 없습니다.", Request.ServerVariables("HTTP_REFERER"), "", "", a_num)


'//비밀번호인증일때
If a_password = "Y" and is_ad_cms <> "Y" then

	If SESSION("ss_pwd_chk2_" & a_num) <> "YY" then

		Call locationhref("a_pwd.asp?a_num=" & a_num)

	End if
End If

If a_level = "nninc_simple" Then
%><!--#include virtual="/content/board/nninc_simple/view.asp"--><%
ElseIf a_level = "default_photo" Then
%><!--#include virtual="/content/board/default_photo/view.asp"--><%
ElseIf a_level = "default_calendar" Then
%><!--#include virtual="/content/board/default_calendar/view.asp"--><%
ElseIf a_level = "nninc_qna" Then
%><!--#include virtual="/content/board/nninc_qna/view.asp"--><%
'ElseIf a_level = "nninc_faq" Then
%><!--# include virtual="/content/board/nninc_faq/view.asp"--><%
End if


'//세션 소멸
SESSION("pwd_chk_" & a_num & "_" & b_num) = ""
%>