<!--#include file = admin_chk.asp -->
<!--#include file = admin_conn.asp -->

<%
lm21=trim(request("lm21"))
lm22=trim(request("lm22"))

lm21=split(lm21,"|")
lm22=split(lm22,"|")

conn.Execute = "update news set lm='"&lm22(0)&"',lm2='"&lm22(1)&"' where lm2='"&lm21(1)&"'"

conn.close
set conn=nothing
Response.Redirect "admin_news_lm.asp"
%>