<!--#include file="admin_start.asp"-->
<%
ids=trim(request("ids_list"))
rs.open "select * from jins_links_list where links_id in ("&ids&")",conn,1,3

do while not rs.eof 

	if request.form("links_name_"&rs("links_id"))<>"" then rs("links_name")=trim(request.form("links_name_"&rs("links_id")))
	if request.form("links_open_"&rs("links_id"))<>"" then rs("links_open")=int(request.form("links_open_"&rs("links_id")))
	if request.form("links_url_"&rs("links_id"))<>"" then rs("links_url")=trim(request.form("links_url_"&rs("links_id")))
	if request.form("links_num_"&rs("links_id"))<>"" then rs("links_num")=trim(request.form("links_num_"&rs("links_id")))
	rs.update
	rs.movenext
loop
rs.close

MySys.error.info="友情链接列表编辑成功！"
MySys.error.location="back"
MySys.error.suc()
%>
<!--#include file="admin_end.asp"-->
