54 lines
1.3 KiB
Plaintext
54 lines
1.3 KiB
Plaintext
<!--#include virtual="/common/lib/dbcon.asp"-->
|
|
<!--#include virtual="/common/lib/func.asp"-->
|
|
<!--#include file="config.asp"-->
|
|
<%
|
|
|
|
|
|
If is_delete <> "Y" Then Call goMessage_board("접근권한이 없습니다.", Request.ServerVariables("HTTP_REFERER"), "", "", a_num)
|
|
|
|
|
|
|
|
'//파라미터정보 *************************************************************************************
|
|
b_num = InputValue(request("b_num"))
|
|
a_num = InputValue(request("a_num"))
|
|
status = InputValue(request("status"))
|
|
'//$chk = InputValue($chk);
|
|
chk = InputValue(request("chk"))
|
|
'chk = Split(Replace(chk, " ", ""), ",")
|
|
tot_level_chk = request("tot_level_chk")
|
|
'//**************************************************************************************************
|
|
|
|
|
|
If is_ad_cms <> "Y" then '//관리자가아닐때 체크
|
|
|
|
If SESSION("pwd_chk_" & a_num & "_" & b_num) <> "ok" then
|
|
|
|
Call locationhref("pwd.asp?prepage=dele&a_num=" & a_num & "&b_num=" & b_num & "&" & page_info)
|
|
|
|
End if
|
|
End if
|
|
|
|
|
|
If status = "totlevel" then '//다중
|
|
|
|
sql = " UPDATE "& a_tablename &" SET b_look='"&tot_level_chk&"' WHERE b_num in ("& chk &") "
|
|
' response.write sql
|
|
' response.end
|
|
Dbcon.execute sql
|
|
|
|
Else '//일반제
|
|
|
|
|
|
|
|
|
|
End if
|
|
|
|
|
|
ok_url = "list.asp?a_num=" & a_num & "&" & page_info
|
|
Call loding("0", ok_url)
|
|
|
|
|
|
'//세션소멸....
|
|
SESSION("pwd_chk_" & a_num & "_" & b_num) = ""
|
|
|
|
%> |