<!-- #include file="include/config.asp" -->
<!-- #include file="../include/jk_review.asp" -->
<%
dim tit_flea_view
sql="select * from flea where id="&id
  set rs=joekoe_cms.exec(sql,1)
cid=rs("c_id")
sid=rs("s_id")
tit_flea_view=rs("name")
'tit="浏览市场详细信息（"&tit_flea_view&"）"
rs.close

if cint(cid)>0 then
  if cint(sid)>0 then
    sql="select top 1 jk_class.c_name,jk_sort.s_name from jk_sort inner join jk_class on jk_sort.c_id=jk_class.c_id where jk_sort.c_id="&cid&" and jk_sort.s_id="&sid
  else
    sql="select top 1 c_name from jk_class where c_id="&cid
  end if
  set rs=joekoe_cms.exec(sql,1)
  if not rs.eof then
    cname=rs("c_name")
    if sid>0 then sname=rs("s_name")
    tit=cname&"（"&sname&"）"
  end if
  rs.close
end if
tit=cname
url1="list.asp?c_id="&cid
if sname<>"" then
tit2=sname
url2="list.asp?c_id="&cid&"&s_id="&sid
tit3="浏览:"&tit_flea_view
else
tit2="浏览:"&tit_flea_view
end if

call web_head(0,0,0,0,0)
'----------------------------左边 开始----------------------------
call flea_put()
call flea_left("最新信息","new",10,22)
call flea_left("热门信息","hot",10,22)
call flea_left("推荐信息","good",10,22)
'----------------------------左边 结束----------------------------
call web_center(0)
'----------------------------中间 开始----------------------------
call flea_search()
call flea_view()
'----------------------------中间 结束----------------------------
call web_end(0,0)
%>