43 lines
903 B
Plaintext
43 lines
903 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"))
|
|
|
|
b_l_chk = InputValue(request("b_l_chk"))
|
|
b_l_num = InputValue(request("b_l_num"))
|
|
|
|
' ************************************************************
|
|
|
|
|
|
If status = "totlevel" then ' 다중
|
|
|
|
chk = Replace(request("chk")," ","")
|
|
arr_chk = Split(chk,",")
|
|
|
|
For z=0 To UBound(arr_chk)
|
|
|
|
SQL = " Update banner2 set b_l_chk = '"&tot_level_chk&"' Where b_l_num = "&arr_chk(z)
|
|
Dbcon.execute sql
|
|
|
|
next
|
|
|
|
else
|
|
|
|
SQL = " Update banner2 set b_l_chk = '"&b_l_chk&"' Where b_l_num = "&b_l_num
|
|
Dbcon.execute sql
|
|
|
|
End if
|
|
|
|
Dbcon.close : Set Dbcon = Nothing
|
|
|
|
ok_url = "list.asp"
|
|
Call loding("0",ok_url)
|
|
|
|
%> |