<!--#include file="../inc/config.asp"-->
<!--#include file="../inc/conn.asp"-->
<!--#include file="../inc/function.asp"-->
<%
dim id,d_sql,member,m_id,m_title
if(request.QueryString("id")<>"") then
	id=Clng(request.QueryString("id"))	
else
	id=0
end if
if(id>0) then
	set rs_m=server.CreateObject("adodb.recordset") 
	d_sql="select Title,Photo,Price,Content,UserId from t_products where id="&id
	rs_m.open d_sql,conn,3,1
	if not rs_m.eof then
		member=rs_m.getrows()
		rs_m.close
		set rs_m=nothing
	else
		response.Write("error")
		rs_m.close
		set rs_m=nothing
		response.End()
	end if
	'id
	
	set rs=server.CreateObject("adodb.recordset") 
	rs.open "select id,UserName from t_member where UserId='"&member(4,0)&"'",conn,3,1
	if not rs.eof then
		m_id=rs(0)
		m_title=rs(1)
	end if
	rs.close
	set rs=nothing
%>
<!DOCTYPE html PUBliC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title><%=member(0,0)%>-济南分类信息</title>
<meta content="<%=member(0,0)%>-济南分类信息" name=Description>
<meta content="<%=member(0,0)%>-济南分类信息" name=Keywords>
<link href="../style/global.css" rel="stylesheet" type="text/css" />
<link href="style/list.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="/js/common.js"></script>
<style type="text/css">
<!--
.s1 {}
-->
</style>
</head>

<body>
<!--#include file="../head.asp"-->
<script type="text/javascript">htab( 5 ,2,5);</script>
<div class="br"></div>
<table width="960"  border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td><div class="right"><a href="/info/publish.asp?pid=<%=pid%>&cid=<%=cid%>" style="color:red; line-height:24px; font-weight:bold;">点此发布信息-&gt;</a></div>
    <div class="position">当前位置：<a href="/">首页</a>&gt;<a href="/company/">济南商户</a>&gt;产品信息&gt;<%=member(0,0)%></div></td>
  </tr>
</table>
<table width="960" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#2fc300">
  <tr>
    <td height="4"></td>
  </tr>
</table>
<table width="960" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td class="show_title"><%=member(0,0)%></td>
  </tr>
  <tr>
    <td align="center">价格：<%if(Clng(member(2,0))=0) then response.Write("面议") else response.Write(member(2,0)) end if%> 
    该产品由商家：<strong><a href="http://www.jntao.com/company/detail_<%=m_id%>.html"><%=m_title%></a></strong> 提供</td>
  </tr>
  <tr>
    <td align="center" class="padd5"><a href="<%=replace(member(1,0),"_jumbnail","")%>" target="_blank"><img src="<%=member(1,0)%>" height="200" alt="<%=member(0,0)%>" /></a></td>
  </tr>
  <tr>
    <td class="show_content"><%=member(3,0)%></td>
  </tr>
</table>  
<!--#include file="../root.asp"-->
</body>
</html>
<%
end if
set member=nothing
call connclose()
%>
