<% id=request.QueryString("id") bid=request.QueryString("bid") if bid="" then bid=1 end if sid=request("sid") %> <% set rs13=server.createobject("adodb.recordset") if bid<>"" then sql13="select * from x_probclass1 where id="&bid else sql13="select top 1 * from x_probclass1 order by x_order asc,id asc" end if rs13.open sql13,conn,1,1 if not rs13.eof then x_bclass=rs13("x_bclass") else x_bclass="设计风采" end if rs13.close set rs13=nothing %> <% set rs11=server.createobject("adodb.recordset") sql11="select top 1 * from x_products1 where x_bid="&bid rs11.open sql11,conn,1,1 if not rs11.eof then x_name=rs11("x_name") x_picurl1=rs11("x_picurl1") x_function=rs11("x_function") x_addtime=rs11("x_addtime") else x_name="暂无信息" x_function="暂无信息" end if rs11.close set rs11=nothing %>
<%=x_bclass%>
<%=x_name%>
<%=x_function%>