43 lines
892 B
Plaintext
43 lines
892 B
Plaintext
<!--#include virtual = "/common/lib/dbcon.asp" -->
|
|
<!--#include virtual = "/common/lib/func.asp" -->
|
|
|
|
<!--#include file = "config.asp" -->
|
|
|
|
<%
|
|
|
|
|
|
' 파라미터정보 ***********************************************
|
|
status = InputValue(request("status"))
|
|
tot_level_chk = InputValue(request("tot_level_chk"))
|
|
|
|
w_chk = InputValue(request("w_chk"))
|
|
idx = InputValue(request("idx"))
|
|
' ************************************************************
|
|
|
|
|
|
If status = "totlevel" then ' 다중삭제
|
|
|
|
chk = Replace(request("chk")," ", "")
|
|
arr_chk = Split(chk, ",")
|
|
|
|
For z=0 To UBound(arr_chk)
|
|
sql = " Update popup set w_chk = '"&tot_level_chk&"' Where idx = "&arr_chk(z)
|
|
Dbcon.execute sql
|
|
|
|
next
|
|
|
|
|
|
else
|
|
|
|
sql = " Update popup set w_chk = '"&w_chk&"' Where idx = "&idx
|
|
Dbcon.execute sql
|
|
|
|
End if
|
|
|
|
|
|
Dbcon.close : Set Dbcon = Nothing
|
|
|
|
ok_url = "list.asp?"&page_info
|
|
|
|
Call loding ("0",ok_url)
|
|
%> |