Files
sms_host20170829/content/01message/log_del_ok.asp
T
2026-02-23 10:01:00 +09:00

26 lines
858 B
Plaintext

<!--#include virtual="/common/lib/dbcon.asp"-->
<!--#include virtual="/common/lib/func.asp"-->
<%
Dim table
table = inputValue( Request.Form("table") )
if request.form("tran_pr") = "" or Isnull(request.form("tran_pr")) then
call Back_back2("리스트를 선택해주세요.", request.servervariables("http_referer"))
end If
cart_num = Request.Form("tran_pr").count
If table = "em_tran" Then
for j = 1 to cart_num
num = Request.Form("tran_pr")(j)
Dbcon.execute "delete from " & table & " where tran_pr=" & num
Dbcon.execute "update member set M_g_sms = M_g_sms + 1 where M_id = '" & SESSION("ss_m_id") & "'"
next
else
for j = 1 to cart_num
num = Request.Form("tran_pr")(j)
Dbcon.execute "update " & table & " set tran_etc1 = 'N' where tran_pr=" & num
next
End if
Call loding(0,request.servervariables("http_referer"))
%>