<!--#include file="mdb.asp"-->
<!--#Include File="Check_hx.asp"-->
<!--#include file="inc/config.asp"-->
<!--#include file="inc/format.asp"-->
<!--#include file="inc/inc.asp"-->
<!--#include file="inc/syscode_fillbuy.asp"-->
<%
if request.querystring("gq_id")="" then
 Response.Write "<script language=javascript>alert('请指定操作的对象！');javascript:history.back();</script>"
 Response.End
else
 if not isInteger(request.querystring("gq_id")) then
 Response.Write "<script language=javascript>alert('参数非法');javascript:history.back();</script>"
 Response.End
 end if
end if
sql="select * from gq where gq_id="&request.querystring("gq_id")
set rs=server.createobject("adodb.recordset")
rs.open sql,conn,1,1
start="供求信息 - "&rs("gq_name")&""
call head()
call menu()
%>
<TABLE width=958 border=0 align="center" cellPadding=0 cellSpacing=0 bgcolor="#FFFFFF">
    <TR>
      <TD width=4></TD>
      <TD width=950 class="a3" height=24>&nbsp;&nbsp;&nbsp;&nbsp;稍后推出</TD>
      <TD width=4></TD>
    </TR>
    <TR>
      <TD width=4></TD>
      <TD width=950 class="a4" height=9></TD>
      <TD width=4></TD>
    </TR>
</TABLE>
<!--导航栏-->

<!--广告位A-->
<TABLE width=958 border=0 align="center" cellPadding=0 cellSpacing=0 bgcolor="#FFFFFF">
    <TR>
      <TD width=4></TD>
      <TD align=middle width=950 bgColor=#ffffff height=24><TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
          <TR>
            <TD width="100%" bgColor=#da251d height=2></TD>
          </TR>
          <TR>
            <TD width="100%"><%Call hx66_AD(1)%></TD>
          </TR>
          <TR>
            <TD width="100%" bgColor=#da251d height=2></TD>
          </TR>
      </TABLE></TD>
      <TD width=4></TD>
    </TR>
</TABLE>
<!--广告位A-->

<!--倒计时-->
<TABLE width=958 border=0 align="center" cellPadding=0 cellSpacing=0 bgcolor="#FFFFFF">
    <TR>
      <TD width=4></TD>
      <TD align=middle width=950 bgColor=#ffffff height=24><TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
          <TR>
            <TD width="100%" class="a5" height=9></TD>
          </TR>
          <TR>
            <TD align=middle width="100%" class="a6" height=31>
<table width="100%" border=0 cellpadding=0 cellspacing=0>
 <TR>
   <TD width="65" align="center"><img src="skin/1/login_title.gif" width="37" height="31"><TD><%
  Response.Write "您的位置： <a href='index.asp'>"&webname&"</a> ->> <a href='fillbuy.asp'>供求信息</a>" & vbCrLf
%>
<%sql="select * from gqcat where gqcat_id="&rs("gqcat_id")
set rs2=server.createobject("adodb.recordset")
rs2.open sql,conn,1,1
%> ->> <a href=Fillbuy.asp?cat_id=<%=rs("cat_id")%>><%=rs2("gqcat_name")%></a> <font color=#FF6600>→</font> 浏览信息<td height="25" align="right"><%call djs()%>&nbsp;&nbsp;&nbsp;&nbsp;</td>
</TD>
 </TR>
</TABLE>
            </TD>
          </TR>
      </TABLE></TD>
      <TD width=4></TD>
    </TR>
</TABLE>
<!--倒计时-->

<TABLE width=958 border=0 align="center" cellPadding=0 cellSpacing=0 bgcolor="#FFFFFF">
    <TR>
      <TD width=4></TD>
      <TD align=middle width=950 bgColor=#ffffff height=24><TABLE cellSpacing=0 cellPadding=0 width=950 border=0>
          <TR>
            <TD align=middle vAlign=top width=198><TABLE height=51 cellSpacing=0 cellPadding=0 
width="100%" border=0>
                <TR>
                  <TD align=middle width=30 class="a1" height=34><IMG height=20 src="skin/1/gu1.gif" width=24 border=0></TD>
                    <TD class="a1" height=34 width=170><a href="#" class="STYLE1">会员登录</a></TD>
                </TR>
                <TR>
                  <TD width="100%" colSpan=2 height=1></TD>
                </TR>
                <TR>
                  <TD width="100%" colSpan=2 height=150><%call userlogin()%></TD>
                </TR>
                <TR>
                  <TD width="100%" colSpan=2 height=1></TD>
                </TR>
            </TABLE>
              <TABLE height=51 cellSpacing=0 cellPadding=0 width="100%" border=0>
                <TR>
                  <TD align=middle width=30 class="a1" height=34><IMG height=20 src="skin/1/gu1.gif" width=24 border=0></TD>
                    <TD class="a1" height=34 width=170><a href="#" class="STYLE1">信息分类</a></TD>
                </TR>
                <TR>
                  <TD width="100%" colSpan=2 height=1></TD>
                </TR>
                <TR>
                  <TD width="100%" colSpan=2 height=150><%call xinxi_gq()%></TD>
                </TR>
                <TR>
                  <TD width="100%" colSpan=2 height=1></TD>
                </TR>
            </TABLE><TABLE height=51 cellSpacing=0 cellPadding=0 width="100%" border=0>
                <TR>
                  <TD align=middle width=30 class="a1" height=34><IMG height=20 src="skin/1/gu1.gif" width=24 border=0></TD>
                    <TD class="a1" height=34 width=170><a href="#" class="STYLE1">类型分类</a></TD>
                </TR>
                <TR>
                  <TD width="100%" colSpan=2 height=1></TD>
                </TR>
                <TR>
                  <TD width="100%" colSpan=2 height=80><%call leixing_gq()%></TD>
                </TR>
                <TR>
                  <TD width="100%" colSpan=2 height=1></TD>
                </TR>
            </TABLE><TABLE height=51 cellSpacing=0 cellPadding=0 width="100%" border=0>
                <TR>
                  <TD align=middle width=30 class="a1" height=34><IMG height=20 src="skin/1/gu1.gif" width=24 border=0></TD>
                    <TD class="a1" height=34 width=170><a href="#" class="STYLE1">信息发布</a></TD>
                </TR>
                <TR>
                  <TD width="100%" colSpan=2 height=1></TD>
                </TR>
                <TR>
                  <TD width="100%" colSpan=2 height=80 align=center><a href="fillbuy_put.asp">
	<img src=img/gq2.gif width=78 border="0"></a></TD>
                </TR>
                <TR>
                  <TD width="100%" colSpan=2 height=1></TD>
                </TR>
            </TABLE><TABLE height=51 cellSpacing=0 cellPadding=0 width="100%" border=0>
                <TR>
                  <TD align=middle width=30 class="a1" height=34><IMG height=20 src="skin/1/gu1.gif" width=24 border=0></TD>
                    <TD class="a1" height=34 width=170><a href="#" class="STYLE1">信息查找</a></TD>
                </TR>
                <TR>
                  <TD width="100%" colSpan=2 height=10></TD>
                </TR>
                <TR>
                  <TD width="100%" colSpan=2 height=20><%call search_gq()%></TD>
                </TR>
                <TR>
                  <TD width="100%" colSpan=2 height=1></TD>
                </TR>
            </TABLE></TD>
            <TD vAlign=top align=middle width=1 bgColor=#cecccc></TD>
            <TD vAlign=top align=middle><TABLE height=51 cellSpacing=0 cellPadding=0 width="100%" border=0>
              <TR>
                <TD align=middle width=30 class="a1" height=34><IMG height=20 src="skin/1/gu1.gif" width=24 border=0></TD>
                <TD class="a1" height=34 width=720><a href="#" class="STYLE1">供求列表</a></TD></TR>
              <TR>
                <TD width="100%" colSpan=2 align="center"><table width='100%' border='0' align='center' cellspacing='0' cellpadding='0' bgcolor='#FFFFFF' bordercolor='#f0f0f0' style="border-collapse: collapse">
<TR><TD align=Center height='36'><font style="font-size:13px" color='#ff6600'>
<%sql="select * from gqclass where gqclass_id="&rs("infoclass")
set rs2=server.createobject("adodb.recordset")
rs2.open sql,conn,1,1
%> 
<b>［<%=left(rs2("gqclass_name"),2)%>］<%=rs("gq_name")%></b></font></TD></TR>
</table>
<table width='100%' border='0' align='center' cellspacing='0' cellpadding='0' bgcolor='#F0F0F0' background='img/tpxw00.jpg' height='25'>
<tr><td align='center' width='40%'>发布日期：<%=formatdatetime(rs("gq_date"),2)%></td>
<%sql="select * from area where cat_id="&rs("sheng")
set rs001=server.createobject("adodb.recordset")
rs001.open sql,conn,1,1
sql="select * from area where cat_id="&rs("city")
set rs002=server.createobject("adodb.recordset")
rs002.open sql,conn,1,1%><td align='center' width='30%'>信息面向地区：<%if rs("sheng")=0 then%>全国<%else%><%=rs001("cat_name")%><%=rs002("cat_name")%><%end if%></td>
<td width='30%' align='center'>浏览指数：<%=rs("gq_count")%></td>
</tr>
</table>
<table width='96%' align='center' style="word-break:break-all;table-layout:fixed;text-align:left">
<tr><TD><%=rs("gq_desc")%></td>
</tr>
</table>
<table width='96%' border='0' align='center' cellspacing='0' cellpadding='0'>
<TR><td width='100%' height='2' background='img/gq.gif'></td></TR>
<TR><TD height='25'><img src='img/arrow0.gif' align='absmiddle'>&nbsp;联&nbsp;系&nbsp;人：<%=rs("contactman")%></TD></TR>
<TR><TD height='25'><img src='img/arrow0.gif' align='absmiddle'>&nbsp;联系电话：<%=rs("tel")%></TD></TR>
<TR><TD height='25'><img src='img/arrow0.gif' align='absmiddle'>&nbsp;电子信箱：<%=rs("email")%></TD></TR>
<TR><TD height='25'><img src='img/arrow0.gif' align='absmiddle'>&nbsp;企业名称：<%=rs("CompanyName")%></TD></TR>
<TR><TD height='25'><img src='img/arrow0.gif' align='absmiddle'>&nbsp;联系地址：<%=rs("add")%></TD></TR>
<TR><TD height='25'><img src='img/arrow0.gif' align='absmiddle'>&nbsp;邮政编码：<%=rs("Postalcode")%></TD></TR>
<TR><TD height='25'><img src='img/arrow0.gif' align='absmiddle'>&nbsp;Q&nbsp&nbspQ：<%=rs("qq")%></TD></TR>
<TR><td width='100%' height='1' background='img/gq.gif'></td></TR>
<%sql="select * from [User] where username='"&rs("tjuser")&"'"
set rs1=server.createobject("adodb.recordset")
rs1.open sql,conn,1,1

%>
<TR><TD height='22'><img src='img/arrow0.gif' align='absmiddle'>&nbsp;信&nbsp;誉&nbsp;度：<% if rs1("UserGrade")=1 then%>VIP会员发布<%else%>普通会员发布</TD></TR>
<TR><TD height='22'><img src='img/arrow0.gif' align='absmiddle'><%end if%> 交易价格：<%=rs("price")%></TD></TR>
<TR><TD height='22'><img src='img/arrow0.gif' align='absmiddle'>&nbsp;信息面向地区：<%sql="select * from area where cat_id="&rs("sheng")
set rs001=server.createobject("adodb.recordset")
rs001.open sql,conn,1,1
sql="select * from area where cat_id="&rs("city")
set rs002=server.createobject("adodb.recordset")
rs002.open sql,conn,1,1%><%if rs("sheng")=0 then%>全国<%else%><%=rs001("cat_name")%><%=rs002("cat_name")%><%end if%>&nbsp;&nbsp;&nbsp;&nbsp;
<% if DateDiff("d",""&rs("gq_date")&"",Date())> rs("infodate") then%><font color=red>本信息有效期已到</font>
<%elseif rs("InfoDate")=0 then response.write "无限期" %><%else%><font color=blue>本信息尚有效，将于<font color=red> <b><%=formatdatetime(rs("gq_date")+rs("infodate"),2)%></b></font> 过期</font><%end if%></TD></TR>
</table>
<table width='96%' border='0' align='center' cellspacing='0' cellpadding='0'>
<TR><TD height='36'><font color='#FF0000'><b>友情提醒：</B></font>
<li>以上信息是网兜网合盟商提供，已经核实！</li>
<li>所有信息的真实性与合法性由信息提供者负责，请您在进行交易时注意辨别真伪。</li><li>对于您所进行的任何交易<font color='#FF6600'><%=webname%></font>网站不作担保，并且不承担任何法律责任。</li></TD></TR>
</table>
</td>
   </tr>
</table>
<TABLE height=51 cellSpacing=0 cellPadding=0 width="100%" border=0>
   <tr>
<TD class="a1" height=34 width="100%"><a href="#" class="STYLE1">&nbsp;&nbsp;&nbsp;&nbsp;相关评论</a></TD>
   </tr>
   <tr>
     <td>	<%dim temp,i,j,n
n=3
if point_gq="1" then
Response.Write "<table align=""center"" width=""100%"" cellspacing=""0"" cellpadding=""0"" style=""word-break:break-all;table-layout:fixed;text-align:left"">"
if rs("review")<>"" then
temp=split(Trim(rs("review")),"|")
if n>=ubound(temp) then
j=ubound(temp)
else
j=n
end if
for i=1 to j
Response.Write "<tr><td style=""display:block;padding:0px 10px;LINE-HEIGHT: 180%"">"& temp(i) &"  </td></tr>"
next
else
Response.Write "<tr><td style=""display:block;padding:0px 10px;LINE-HEIGHT: 180%"">当前没有评论</td></tr>"
end if

%>

<%
Response.Write "<tr><td align=""right"">相关评论<font color=#CC0000> "&rs("reviewcount")&" </font>篇，当前显示最新的<font color=#CC0000> "&n&" </font>篇。&nbsp;&nbsp;<a href=""view.asp?action=gq&gq_id="&rs("gq_id")&"""> [查看更多评论] [发表我的评论]</a>&nbsp;&nbsp;</td></tr>"
Response.Write "</table>"
elseif point_gq="0" then
Response.Write "<table width=""100%"" cellpadding=""5"" cellspacing=""0"" border=""0"">"
Response.Write "<tr><td  align=""center"">【供求评论已关闭】"
Response.Write "</td></tr>" & vbCrLf
Response.Write "</table>" & vbCrLf
End If
rs.close
set rs=nothing%>
<BR>
</TD>
              </TR>
            </TABLE></TD>
          </TR>
      </TABLE></TD>
      <TD width=4></TD>
    </TR>
</TABLE>
<%
set rscount=conn.execute("select * from gq")
sql="UPDATE gq SET gq_count = gq_count + 1 where gq_id="&request.querystring("gq_id")
conn.execute (sql)
rscount.close
set rscount=nothing

call footer()
%>