<!--#include virtual="/common/lib/dbcon.asp"-->
<!--#include virtual="/common/lib/func.asp"-->
<%
	Dim table, d_ym
	d_ym = inputValue( Request.Form("d_ym") )
	d_regdate = Date() & " " & Right("0"&hour(now), 2) & ":" & Right("0"&minute(now), 2) & ":" & Right("0"&second(now), 2)
	d_user_id = session("ss_m_id")

	if request.form("msg_id") = "" or Isnull(request.form("msg_id")) then
		call Back_back2("리스트를 선택해주세요.", request.servervariables("http_referer"))
	end If

	Set IT = New InsertTable
	IT.tableName = "SDK_MMS_DELETE_LOG"
	i_fields = "d_user_id, d_ym, d_msg_id, d_subjob_id, d_regdate"

	cart_num = Request.Form("msg_id").count

	for j = 1 to cart_num
		msg_id = Request.Form("msg_id")(j)
		msg_id_arr = Split(msg_id, "_")
		d_msg_id = msg_id_arr(0)
		d_subjob_id = msg_id_arr(1)

		IT.setFieldsValues(i_fields)
		IT.execute()
	next



	Call loding(0,request.servervariables("http_referer"))
%>