<!--#include file = admin_chk.asp -->
<style>
<!--
a:link       { font-size: 9pt; font-family: 宋体; color: #000000;text-decoration: none; }
a:visited    { color: #000000; font-family: 宋体; font-size: 9pt;text-decoration: none; }
a:hover      { font-size: 9pt; font-family: 宋体; color: #000000;TEXT-DECORATION: underline; }
body         { font-family: 宋体; color: #000000; font-size: 9pt }
p            { color: #000000; font-family: 宋体; font-size: 9pt }
td           { font-size: 9pt; font-family: 宋体; color: #000000 }
input        { font-size: 9pt; font-family: 宋体; color: #000000 }

-->
</style>
<!--#include file = admin_conn.asp -->

<%
id=trim(request("id"))
mbid=trim(request("mbid"))
lm1id=trim(request("lm1id"))
lmname=trim(request("lmname"))
if id<>"" or mbid<>"" then
  sql = "select * from lm where id="&id
  Set rs = Server.CreateObject("ADODB.RecordSet")
  rs.Open sql,conn,1,2
  rs("mb")=mbid
  rs.update
  rs.close
  set rs=nothing
end if

conn.close
set conn=nothing
Response.Redirect "admin_news_lm.asp?lm="&lm1id&"&lm="&lmname
%>