최초등록
This commit is contained in:
@@ -0,0 +1,44 @@
|
||||
<!--#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"))
|
||||
|
||||
eb_chk = InputValue(request("eb_chk"))
|
||||
eb_idx = InputValue(request("eb_idx"))
|
||||
|
||||
|
||||
' ************************************************************
|
||||
|
||||
|
||||
If status = "totlevel" then ' 다중삭제
|
||||
|
||||
chk = Replace( request("chk"), " ", "")
|
||||
arr_chk = Split(chk,",")
|
||||
|
||||
For z=0 To UBound(arr_chk)
|
||||
|
||||
sql = " Update ebook set eb_chk = '"&tot_level_chk&"' Where eb_idx = "&arr_chk(z)
|
||||
Dbcon.execute sql
|
||||
next
|
||||
|
||||
|
||||
else
|
||||
|
||||
sql = " Update ebook set eb_chk = '"&eb_chk&"' Where eb_idx = "&eb_idx
|
||||
Dbcon.execute sql
|
||||
|
||||
End If
|
||||
|
||||
Dbcon.close : Set Dbcon = Nothing
|
||||
|
||||
ok_url = "list.asp?"&page_info
|
||||
|
||||
Call loding ("0", ok_url)
|
||||
%>
|
||||
Reference in New Issue
Block a user