<!--#include file="conn.asp"-->
<!--#include file="../../inc/filter.asp"-->
<%
dim id,zbname,imgurl,dengji
dim wuqi_name,wuqi_shuxing,wuqi_danjia
dim yifu_name,yifu_shuxing,yifu_danjia
dim toukui_name,toukui_shuxing,toukui_danjia
dim xianglian_name,xianglian_shuxing,xianglian_danjia
dim zuojie_name,zuojie_shuxing,zuojie_danjia
dim youjie_name,youjie_shuxing,youjie_danjia
dim zuoshou_name,zuoshou_shuxing,zuoshou_danjia
dim youshou_name,youshou_shuxing,youshou_danjia
dim xunzhang_name,xunzhang_shuxing,xunzhang_danjia
dim xuezi_name,xuezi_shuxing,xuezi_danjia
dim dun_name,dun_shuxing,dun_danjia
dim yaodai_name,yaodai_shuxing,yaodai_danjia
dim total,memo
id=trim(request("id"))
if(id="") then
	response.Write("<script language=javascript>")
	response.Write("alert('参数不能为空');")
	response.Write("window.location='main_body.asp';")
	response.Write("</script>")
else
	if(ChkBadWord("id")<>0) then
		response.Write("<script language=javascript>")
		response.Write("alert('参数中包含非法字符');")
		response.Write("window.location='main_body.asp';")
		response.Write("</script>")
	else
		set rs=Server.CreateObject("ADODB.RecordSet")
		rs.open "select * from [fksf_zb] where id="&id,conn,1,1
		if(rs.eof) then
			response.Write("<script language=javascript>")
			response.Write("alert('本系统无该装备');")
			response.Write("window.location='main_body.asp';")
			response.Write("</script>")
		else
			zbname=rs("zbname")
			imgurl=rs("pic")
			dengji=rs("dengji")
			wuqi_name=rs("wuqi_name")
			wuqi_shuxing=rs("wuqi_shuxing")
			wuqi_danjia=rs("wuqi_danjia")
	
			yifu_name=rs("yifu_name")
			yifu_shuxing=rs("yifu_shuxing")
			yifu_danjia=rs("yifu_danjia")
		
			toukui_name=rs("toukui_name")
			toukui_shuxing=rs("toukui_shuxing")
			toukui_danjia=rs("toukui_danjia")
		
			xianglian_name=rs("xianglian_name")
			xianglian_shuxing=rs("xianglian_shuxing")
			xianglian_danjia=rs("xianglian_danjia")
	
			zuojie_name=rs("zuojie_name")
			zuojie_shuxing=rs("zuojie_shuxing")
			zuojie_danjia=rs("zuojie_danjia")
	
			youjie_name=rs("youjie_name")
			youjie_shuxing=rs("youjie_shuxing")
			youjie_danjia=rs("youjie_danjia")
	
			zuoshou_name=rs("zuoshou_name")
			zuoshou_shuxing=rs("zuoshou_shuxing")
			zuoshou_danjia=rs("zuoshou_danjia")
	
			youshou_name=rs("youshou_name")
			youshou_shuxing=rs("youshou_shuxing")
			youshou_danjia=rs("youshou_danjia")
	
			xunzhang_name=rs("xunzhang_name")
			xunzhang_shuxing=rs("xunzhang_shuxing")
			xunzhang_danjia=rs("xunzhang_danjia")
	
			xuezi_name=rs("xuezi_name")
			xuezi_shuxing=rs("xuezi_shuxing")
			xuezi_danjia=rs("xuezi_danjia")
			
			dun_name=rs("dun_name")
			dun_shuxing=rs("dun_shuxing")
			dun_danjia=rs("dun_danjia")
	
			yaodai_name=rs("yaodai_name")
			yaodai_shuxing=rs("yaodai_shuxing")
			yaodai_danjia=rs("yaodai_danjia")
	
			total=rs("total")
			memo=rs("memo")
		
			rs.close()
			set rs=nothing
		end if
		
	end if
end if

%>
