42 lines
912 B
Plaintext
42 lines
912 B
Plaintext
<!--#include virtual = "/common/lib/dbcon.asp" -->
|
|
<!--#include virtual = "/common/lib/func.asp" -->
|
|
|
|
<!--#include file = "config.asp" -->
|
|
|
|
<%
|
|
|
|
|
|
' 파라미터정보 ***********************************************
|
|
status = InputValue(request("status"))
|
|
|
|
m_level = InputValue(request("m_level"))
|
|
tot_m_level = InputValue(request("tot_m_level"))
|
|
m_num = InputValue(request("m_num"))
|
|
' ************************************************************
|
|
|
|
|
|
|
|
If status = "totlevel" Then ' 다중선택
|
|
|
|
chk = InputValue(Replace(request("chk")," ",""))
|
|
arr_chk = Split(chk,",")
|
|
|
|
For i=0 To UBound(arr_chk)
|
|
sql = " Update member set m_level = '"&tot_m_level&"' Where m_num = "&arr_chk(i)
|
|
Dbcon.execute sql
|
|
Next
|
|
|
|
else
|
|
|
|
sql = " Update member set m_level = '"&m_level&"' Where m_num = "&m_num
|
|
Dbcon.execute sql
|
|
|
|
End if
|
|
|
|
Dbcon.close : Set Dbcon = Nothing
|
|
|
|
ok_url = "list.asp?"&page_info
|
|
Call loding ("0", ok_url)
|
|
|
|
|
|
%> |