43 lines
994 B
Plaintext
43 lines
994 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"))
|
|
poq_pk = InputValue(request("poq_pk"))
|
|
|
|
poq_chk = InputValue(request("poq_chk"))
|
|
poq_idx = InputValue(request("poq_idx"))
|
|
po_pk = InputValue(request("po_pk"))
|
|
|
|
' ************************************************************
|
|
|
|
|
|
If status = "totlevel" then ' 다중삭제
|
|
|
|
chk = Replace(request("chk")," ", "")
|
|
arr_chk = Split(chk, ",")
|
|
|
|
For z=0 To UBound(arr_chk)
|
|
sql = " Update poll_question set poq_chk = '"&tot_level_chk&"' Where poq_idx = "&arr_chk(z)
|
|
Dbcon.execute sql
|
|
next
|
|
|
|
else
|
|
|
|
sql = " Update poll_question set poq_chk = '"&poq_chk&"' Where poq_idx = "&poq_idx
|
|
Dbcon.execute sql
|
|
|
|
End if
|
|
|
|
|
|
Dbcon.close
|
|
|
|
ok_url = "write_ui.asp?po_pk="&po_pk
|
|
|
|
Call loding ("0",ok_url)
|
|
%> |