최초등록
This commit is contained in:
@@ -0,0 +1,41 @@
|
||||
<!--#include virtual="/common/lib/dbcon.asp"-->
|
||||
<!--#include virtual="/common/lib/func.asp"-->
|
||||
<!--#include file="config.asp"-->
|
||||
<%
|
||||
|
||||
'//$rtn_url = $rtn_url;
|
||||
b_pwd_chk = InputValue(request("b_pwd_chk"))
|
||||
prepage = InputValue(request("prepage"))
|
||||
|
||||
|
||||
If b_pwd_chk = "" then '//수정
|
||||
Call goMessage_board("비밀번호를 입력해주세요.", Request.ServerVariables("HTTP_REFERER"), "", "", a_num)
|
||||
|
||||
End if
|
||||
|
||||
|
||||
SQL = "SELECT a_password_str FROM board_config WHERE a_num=" & a_num
|
||||
Set rs_pwd = dbcon.execute( sql )
|
||||
|
||||
a_password_str = rs_pwd("a_password_str")
|
||||
|
||||
Set rs_pwd = nothing
|
||||
|
||||
|
||||
ok_url = "list.asp?a_num=" & a_num
|
||||
|
||||
If b_pwd_chk = a_password_str then '//비밀번호가 일치하면
|
||||
|
||||
'//세션발생
|
||||
SESSION( "ss_pwd_chk2_" & a_num ) = "YY"
|
||||
|
||||
Call loding ("0", ok_url)
|
||||
|
||||
|
||||
Else '//수정
|
||||
|
||||
Call goMessage_board("비밀번호가 일치하지 않습니다.다시 확인해주세요.", Request.ServerVariables("HTTP_REFERER"), "", "", a_num)
|
||||
|
||||
End if
|
||||
|
||||
%>
|
||||
Reference in New Issue
Block a user