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

'//if($is_list != "Y"){Back_back("접근권한이 없습니다.");}

if is_list <> "Y" Then
	If SESSION("ss_m_id") = "" Then
		Call goMessage_Login( "접근권한이 없습니다.", Request.ServerVariables("HTTP_REFERER"), "", "", a_num )
	Else
		nowpage = Request.ServerVariables("path_info") & "?" & Request.ServerVariables("query_string")
		Call goMessage_board( "접근권한이 없습니다.", nowpage, "", "", a_num )
	End if
End if


If a_member="Y" and a_jumin = "Y" And a_jumin_opt = "2" and is_ad_cms <> "Y" And (SESSION("ss_m_name") = "" Or SESSION("ss_m_jumin") = "") Then		'주민번호사용이고 실명제일때

	response.redirect "name.asp?a_num=" & a_num & "&prepage=" & server.urlencode( Request.ServerVariables("path_info") & "?" & Request.ServerVariables("query_string") )
	response.end

End if



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

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

		response.redirect "a_pwd.asp?a_num=" & a_num
		response.end

	End if
End if


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