<!--#include file="../conn/conn.asp"-->
<!--#include file="../inc/safe.asp"-->
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<%
if Chkrequest(request("id")) then
id=request("id")
sql="update productshow set hits=hits+1 where id="&id&""
conn.execute(sql)
else
Response.Redirect ("../login/chklogin.asp?login=4")
end if
%>
	<style type="text/css">
BODY,TD{color:#000;font-size:14px;font-family:宋体}

A:LINK{color:#3D362B}
A:VISITED{color:#3D362B}
A:HOVER{color:#f60}

.num:LINK{color:#f60;font-size: 12px}
.num:VISITED{color:#f60;font-size: 12px}
.num:HOVER{color:#f60;font-size: 12px}

.white {FONT: 12px 宋体; COLOR: #fff; text-decoration: none; border-color:#FFAA80;}
.white:link {FONT: 12px 宋体; COLOR: #fff; text-decoration: none}
.white:visited {FONT: 12px 宋体; COLOR: #fff; text-decoration: none}
.white:hover {FONT: 12px 宋体; COLOR: #fff; text-decoration: none}

.black {FONT: 12px 宋体; COLOR: #666; text-decoration: none}
.black:link {FONT: 12px 宋体; COLOR: #666; text-decoration: none}
.black:visited {FONT: 12px 宋体; COLOR: #666; text-decoration: none}
.black:hover {FONT: 12px 宋体; COLOR: #000; text-decoration: none}

.black2 {FONT: 12px 宋体; COLOR: #000; text-decoration: none}
.black2:link {FONT: 12px 宋体; COLOR: #000; text-decoration: none}
.black2:visited {FONT: 12px 宋体; COLOR: #000; text-decoration: none}
.black2:hover {FONT: 12px 宋体; COLOR: #000; text-decoration: none}

.S{font-size:12px}
.C{font-size:14px}
.M{font:bold 14px}
.LM{font: 16px}
.L{font:bold 16px}
.N{font:bold 20px}
.B{font:bold 28px}


select{font-size:12px}
input{font-size:12px;}
.biginput{font-size:14px;FONT: bold;}
.GR{color:#666;font-size:12px}

.lh13 {LINE-HEIGHT: 130%}
.lh15 {LINE-HEIGHT: 150%}

.wrapper {border: 1px solid #FD9A00}
.wrapper2 {border: 1px solid #0098FE}
.wrapper3 {border: 1px solid #B3B3B3;}

.pad{padding-left: 12px;padding-top: 10px;line-height:130%;font-size:14px}

.NOL{text-decoration: none}

.number{color:#f60;font-size: 13px}
.text16 {FONT: bold 16px "宋体";}
.text16:link {COLOR: #039; FONT: 16px 宋体;}
.text16:visited {COLOR: #909; FONT: 16px 宋体; }
.text16:hover {COLOR: #f60; FONT: 16px 宋体; }
.text13 {FONT: 13px "宋体";}
.text13:link {FONT: 13px 宋体;}
.text13:visited {FONT: 13px 宋体; }
.text13:hover {FONT: 13px 宋体; }
.lh {
	padding-top: 19px;
}
.smalltoppad3 {padding-top:3px}

.outborder {border:#999999 1 solid}
.bigheader {BORDER-TOP: #f1f1f1 3px solid; PADDING-LEFT: 15px; FONT-WEIGHT: bold; FONT-SIZE: 25px; BACKGROUND: #e7e7e7; BORDER-BOTTOM: #bebebe 3px solid; FONT-FAMILY: 宋体; HEIGHT: 35px;padding-top:3px}
.smallheader {FONT: bold;font-size:14px;font-family:宋体;COLOR: #000; background: #CCCCCC; BORDER-top: #666666 2px solid;padding-left: 15px; height:29px}
.signheader  {background:#FAFAFA;border:#CCCCCC 1 solid}
.picstyle {background:#FFFFFF;border:#333333 1 solid}
.picstyle1 {background:#FFFFFF;border:#CCCCCC 1 solid}
.cate{padding-left: 14px;font-size:12px;LINE-HEIGHT: 150%}
.searchdown {background:#FC7300;BORDER-top: #DF6100 3px solid;BORDER-left: #DF6100 3px solid;height:25px;color=#FFF;padding-left:20px;font-size:12px;}
.indetail {border-top: 1px solid #E2E2E2;height:26px;font-size:12px;line-height:150%;}
#bigbuttonword {font:bold 16px;color:#FFF;WIDTH:70%;position:relative;top:6px;left:28px;text-decoration: none;cursor:hand}


.cardFont {
	
}
.cardNormal {
	background:url("/images//search_bg.gif");BORDER-left: #b1b0b0 1px solid; BORDER-TOP: #b1b0b0 1px solid; BORDER-right: #b1b0b0 1px solid; CURSOR: hand; BORDER-BOTTOM: #cc3300 1px solid; BACKGROUND-COLOR: #f1f1f1;TEXT-DECORATION: underline;padding-top:4px
}
.cardNormal1 {
	background:url("/images/search_bg.gif");BORDER-left: #b1b0b0 1px solid; BORDER-TOP: #b1b0b0 1px solid; BORDER-right: #b1b0b0 1px solid; CURSOR: hand; BORDER-BOTTOM: #cc3300 1px solid; BACKGROUND-COLOR: #f1f1f1;padding-top:4px
}
.cardSelected {
	BORDER-left: #b1b0b0 1px solid;BORDER-right: #b1b0b0 1px solid;border-top:#D24D4D 4 solid;background: #CC3300;COLOR: #fff;  HEIGHT: 25px;TEXT-DECORATION: underline; BORDER-BOTTOM: #cc3300 1px solid
}
.cardSelected1 {	BORDER-left: #b1b0b0 1px solid;BORDER-right: #b1b0b0 1px solid;border-top:#D24D4D 4 solid;background: #CC3300; COLOR: #fff;  HEIGHT: 25px;TEXT-DECORATION: underline; BORDER-BOTTOM: #cc3300 1px solid
}
.cardSpace {
	background-color: #FFFFFF;border-bottom: 1px solid #cc3300;
}
.boardMain{
    height:100px;
    line-height: 150%;
    background-color: #F1F1F1;
    border-top:1px solid #CC3300;
    border-left:1px solid #B1B0B0;
    border-right: 1px solid #B1B0B0;
    border-bottom: 1px solid #B1B0B0;
    padding-bottom: 5px;
    padding-top: 5px
    }

.cardSpaceLast {
	background-color: #FFFFFF;
	border-left:1px solid #FFFFFF;
    border-right:1px solid #FFFFFF;
	border-top:1px solid #FFFFFF;
    border-bottom: 1px solid #FFCC00;
}
.headborder {border:#FF7300 1 solid;border-width:1 1 3 1;height:31px;text-align:center;font:bold;padding-top:2px;}
.headonborder {background: #FF7300;border:#FF7300 1 solid;border-width:1 1 3 1;height:31px;text-align:center;font:bold;padding-top:2px;}



.style1 {color: #ff0000}
    </style>
<!--#include file="head.asp"-->
<%
'sql="select info.*,corporation.* from info,corporation where info.info_id="&info_id&" and corporation.id=info.gsid"
sql="select productshow.id as proid,productshow.flag as proflag,productshow.gsid,productshow.sortid as prosortid,productshow.typeid as protypeid,productshow.cpmc,productshow.cpgg,productshow.cpcd,productshow.xxsm,productshow.cpsb,productshow.Quantity,productshow.Packaging,productshow.Cpjg,productshow.idate,productshow.picture,corporation.* from productshow,corporation where productshow.id="&id&" and corporation.id=productshow.gsid and productshow.flag=1"
Set rs= Server.CreateObject("ADODB.Recordset") 
rs.open sql,conn,1,1
if rs.eof then
response.write "<p align='center'>对不起，没有您要查询的信息</p><Br><Br><Br><Br><Br><Br>"
else
gsid=rs("gsid")
%>

<br>
<table width="98%" border="0" align="center" cellpadding="2" cellspacing="2">
  <!--DWLayoutTable-->
  <tr> 
    <td width="750" height="22" valign="middle" class="S">您当前的位置： <a href="../index.asp"><%=webname%>首页</a> <small>></small> <a href="/tradeinfo/index.asp">我要采购</a> <small>></small> <a href="/tradeinfo/index.asp">查看供应信息</a> <small>></small>
  <%
sorttype="select class_2.*,class_1.* from class_2,class_1 where class_2.typeid="&rs("protypeid")&" and class_1.sortid=class_2.sortid"
Set rssorttype= Server.CreateObject("ADODB.Recordset") 
rssorttype.open sorttype,conn,1,1 
response.write"<a href='trade/trade.asp?sortid="&rssorttype("sortid")&"'>"&rssorttype("sort")&"</a>"
response.write" <small>></small> "
response.write"<a href='offerlist/list.asp?typeid="&rs("protypeid")&"'>"&rssorttype("typename")&"</a>"
%>
        
  </td></tr>
</table>
<table width="98%" height="40" border="0" align="center" cellpadding="0" cellspacing="0" class=outborder>
  <tr>
    <td  class=bigheader> <font 
            class=B>&nbsp;</font><font 
            class=B><strong><%=rs("cpmc")%></strong></font> </td>
  </tr>
</table>
<br>
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td width=100 align=center valign="top">
      <TABLE class=porductborder height=65 cellSpacing=0 cellPadding=0 width=65 
      border=0>
        <TBODY>
          <TR>
            <TD align=middle>
              <%if rs("picture")<>"nopicture.gif" then%>
              <A class=s 
      href="#zoom"><IMG src="../picture/<%=rs("picture")%>" onload="javascript:if(this.height>this.width){this.height=65}else{this.width=65}" border=0> </A>
              <%else%>
              <FONT class=C 
      color=#cecfce>无图</FONT>
              <%end if%></TD>
          </TR>
        </TBODY>
    </TABLE></td>
    <td width=15> </td>
    <td valign="top" class="lh15 c">
      <table width="95%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td class=indetail> 有效日期： <%=FormatDate(rs("idate"),1)%></td>
        </tr>
        <tr>
          <td class=indetail> 公　司：
              <%if rs("flag")=1 then%>
              <A href="../<%=rs("url")%>" target=_blank><%=rs("qymc")%></A>
              <%else%>
              <A href="../noshinecompany/index.asp?id=<%=rs("id")%>" target=_blank><%=rs("qymc")%></A>
              <%end if%>
          </td>
        </tr>
        <tr>
          <td class=indetail> 联系人：<A href="mailto:<%=rs("email")%>"><%=rs("name")%></A> <%=rs("ch")%> &nbsp; <img src=../images/icon_tianjiasy.gif width="13" height="12" align=absmiddle border=0> <a href="../member/myfriend/addfriend.asp?user=<%=rs("user")%>" target="_blank" >添加为商业伙伴</a> </td>
        </tr>
      </table>
      <table width="100%"  border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td><a href="../member/getprice/message_product.asp?id=<%=id%>" target="_blank"><img src="../images/xunjia.gif" width="112" height="30" border="0"></a></td>
          <td>&nbsp;</td>
        </tr>
    </table></td>
    <td width=350 valign=top> <span class="lh15 c">
      <% if rs("flag")=1 then%>
      </span><a name=lianxi></a>
      <script language=javascript>
 function secCard(n)
  {
  if(n==1)
  {
                   secTable.cells[0].className="cardSelected";
                   secTable.cells[1].className="cardSpace";
                   secTable.cells[2].className="cardNormal";
                   secTable.cells[3].className="cardSpace";
                   secTable.cells[4].className="cardNormal";

  }
  if(n==2)
  {
                   secTable.cells[0].className="cardNormal";
                   secTable.cells[1].className="cardSpace";
                   secTable.cells[2].className="cardSelected";
                   secTable.cells[3].className="cardSpace";
                   secTable.cells[4].className="cardNormal";

  }
  if(n==3)
  {
                   secTable.cells[0].className="cardNormal";
                   secTable.cells[1].className="cardSpace";
                   secTable.cells[2].className="cardNormal";
                   secTable.cells[3].className="cardSpace";
                   secTable.cells[4].className="cardSelected";


  }
  }
  function secBoard(n)
  {
    for(i=0;i<mainTable.tBodies.length;i++)
      mainTable.tBodies[i].style.display="none";
            mainTable.tBodies[n].style.display="";
  }
</script>
      <table border=0 cellspacing=0 cellpadding=0 width=100% id=secTable class=cardFont>
        <tr align=center>
          <td width=140 height="27" class=cardSelected1 onclick="secCard(1);secBoard(0);">商贸通指数<img src=../images/staric.gif width="22" height="23" align=absmiddle border=0><strong><%=rs("trust_score")%></strong></td>
          <td class=cardSpace width=6>&nbsp;</td>
          <td width=95 height="27" class=cardNormal onclick="secCard(2);secBoard(1);">公司信息</td>
          <td class=cardSpace width=6>&nbsp;</td>
          <td width=95 height="27" class=cardNormal onclick="secCard(3);secBoard(2);" nowrap><img src=../images/icon_contact.gif width="23" height="15" align=absmiddle border=0 hspace="3" >联系信息</td>
        </tr>
      </table>
      <table border=0 cellspacing=0 cellpadding=0 width=100% height=38 id=mainTable class=boardMain>
        <tbody style="display:blank;">
          <tr>
            <td width=100 align=center><img src=../images/big_trustpass.gif width="75" height="75" align=absmiddle border=0></td>
            <td align=center valign=middle>
              <table width="95%" align=left border="0" cellspacing="0" cellpadding="0">
                <tr>
                  <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
                      <tr>
                        <td class="S"  style="line-height:180%;padding-top:5px"> <strong><span class="style1">第三方</span>身份认证</strong>：已通过<br>
                            <strong>商贸通会员：</strong><img src="../images/staric.gif" width="22" height="23" align="absmiddle"><br>
                            <strong>会员评价总数：</strong>
                            <%
sql="select count(id) from trustadv where trustadv.bprid="&rs("id")&""
set totle=conn.execute(sql)
totle=totle(0)
response.write"<FONT color=red><b>"&totle&"</b></font> 条"
totle.close 
set totle=nothing
%></td>
                      </tr>
                  </table></td>
                </tr>
                <tr>
                  <td height="20" class="S"><div align="right"><img src=../images/icon_point.gif width="18" height="19" align=absmiddle border=0> <a href="../trustadv/rempost.asp?id=<%=rs("id")%>" target="_blank">对该会员的诚信度发表评价意见</a></div></td>
                </tr>
            </table></td>
          </tr>
        </tbody>
        <tbody style="display:none;">
          <tr>
            <td align=center>
              <table width="90%" border="0" cellspacing="0" cellpadding="0">
                <tr>
                  <td>
                    <table width="100%" border="0" cellspacing="0" cellpadding="0">
                      <tr>
                        <td class="S lh15"> <strong>主营产品/服务：</strong> <%=replace(rs("zycp"),keywords,"<font color=red>"&keywords&"</font>")%> <br>
                            <strong>经营模式：</strong> <%=rs("qylb")%><br>
						<strong>法人代表：</strong> <%=rs("frdb")%><br>
                        <strong>注册资金：</strong> <%=rs("zczj")%> 万<br>
                        <strong>公司人数：</strong> <%=rs("gsrs")%> 人</td>
                      </tr>
                  </table></td>
                </tr>
                <tr>
                  <td height="20" align="right" class="S"> <img src=../images/icon_point.gif width="18" height="19" align=absmiddle border=0> <a href="../<%=rs("url")%>" target="_blank" >查看该公司详细资料</a></td>
                </tr>
            </table></td>
          </tr>
        </tbody>
        <tbody style="display:none;">
          <tr>
            <td align=center valign=top>
              <table width="90%" border="0" cellpadding="0" cellspacing="0">
                <tr>
                  <td height=22> <A href="mailto:<%=rs("email")%>"><%=rs("name")%></A> <%=rs("ch")%>
                      <% if rs("zw")<>"" then response.write"("&rs("zw")&")"%>
                      <br>
                  </td>
                </tr>
              </table>
              <TABLE cellSpacing=0 cellPadding=0 width="90%" align=center border=0>
                <TBODY>
                  <TR>
                    <TD class=text13 vAlign=top noWrap height=18>电　　话：</TD>
                    <TD class=text13><%=rs("phone")%></TD>
                  </TR>
                  <TR>
                    <TD class=text13 vAlign=top height=18>传　　真：</TD>
                    <TD class=text13><%=rs("fax")%> </TD>
                  </TR>
                  <TR>
                    <TD class=text13 vAlign=top noWrap height=18>移动电话：</TD>
                    <TD class=text13><%=rs("mobile")%></TD>
                  </TR>
                  <TR>
                    <TD class=text13 vAlign=top noWrap height=18>办公地址：</TD>
                    <TD class=lh13><SPAN class=text13><%=rs("sf")%><%=rs("city")%><%=rs("address")%></SPAN></TD>
                  </TR>
                  <TR>
                    <TD class=text13 vAlign=top height=18>邮　　编：</TD>
                    <TD class=text13><%=rs("post")%></TD>
                  </TR>
                  <TR>
                    <TD class=text13 vAlign=top height=18>公司主页：</TD>
                    <TD class=text13 style="WORD-BREAK: break-all">
                        <a href="../<%=rs("url")%>" target="_blank">
                        http://<%=rs("user")%><%=userweb%></a><br>
                        <a href="<%=rs("web")%>" target="_blank"><%=rs("web")%></a>
                    </TD>
                  </TR>
                </TBODY>
            </TABLE></td>
          </tr>
        </tbody>
      </table>
      <%end if%>
    </td>
  </tr>
</table>
<br>
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0" class="outborder">
  <tr>
    <td><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr>
          <td class=smallheader>详细说明</td>
        </tr>
      </table>
        <table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td vAlign=top>&nbsp;&nbsp;&nbsp;&nbsp;<span class="lh13"><font 
      class=C><%=rs("xxsm")%></font></span></td>
          </tr>
      </table></td>
  </tr>
</table>
<br>
<TABLE width="98%" 
            border=0 align="center" cellPadding=3 cellSpacing=1 bgColor=#eaeaea>
  <TBODY>
    <%if rs("cpgg")<>"" then%>
    <TR>
      <TD class=M align=right width="16%" bgColor=#f9f9f9>产品型号：</TD>
      <TD class=C width="84%" bgColor=#ffffff><%=rs("cpgg")%></TD>
    </TR>
    <%
					end if
					if rs("cpcd")<>"" then 
					%>
    <TR>
      <TD class=M align=right width="16%" bgColor=#f9f9f9>原 产 地：</TD>
      <TD class=C width="84%" bgColor=#ffffff><%=rs("cpcd")%></TD>
    </TR>
    <%
					end if
					if rs("cpsb")<>"" then 
					%>
    <TR>
      <TD class=M align=right width="16%" bgColor=#f9f9f9>产品品牌：</TD>
      <TD class=C width="84%" bgColor=#ffffff><%=rs("cpsb")%></TD>
    </TR>
    <%
					end if
					if rs("Quantity")<>"" then 
					%>
    <TR>
      <TD class=M align=right width="16%" bgColor=#f9f9f9>产品数量：</TD>
      <TD class=C width="84%" bgColor=#ffffff><%=rs("Quantity")%></TD>
    </TR>
    <%
					end if
					if rs("Packaging")<>"" then 
					%>
    <TR>
      <TD class=M align=right width="16%" bgColor=#f9f9f9>包装说明：</TD>
      <TD class=C width="84%" bgColor=#ffffff><%=rs("Packaging")%></TD>
    </TR>
    <%
					end if
					if rs("Cpjg")<>"" then 
					%>
    <TR>
      <TD class=M align=right width="16%" bgColor=#f9f9f9>价格说明：</TD>
      <TD class=C width="84%" bgColor=#ffffff><%=rs("Cpjg")%></TD>
    </TR>
    <%end if%>
  </TBODY>
</TABLE>
<BR>
<BR>
<BR>
<BR>
<TABLE width=750 border=0 align="center" cellPadding=0 cellSpacing=0>
  <TBODY>
    <%if rs("picture")<>"nopicture.gif" then%>
    <TR>
      <TD>
        <DIV align=center></DIV>
        <div align="center"><a name=zoom></a> </div>
        <TABLE width=550 height=350 
      border=0 align="center" cellPadding=0 cellSpacing=0 class=porductborder>
          <TBODY>
            <TR>
              <TD align=middle>
                <div align="center">
                  <%if rs("picture")<>"nopicture.gif" then%>
                  <A class=s 
      href="viwe.asp?id=<%=id%>" 
      target=_blank><IMG src="../picture/<%=rs("picture")%>" onload="javascript:if(this.height>this.width){this.height=250}else{this.width=550}" border=0> </A>
                  <%else%>
                  <FONT class=C 
      color=#cecfce>无图</FONT>
                  <%end if%>
              </div></TD>
            </TR>
          </TBODY>
      </TABLE></TD>
    </TR>
    <%end if%>
  </TBODY>
</TABLE>
<br>
<TABLE width=400 border=0 align="center" cellPadding=0 cellSpacing=0>
  <TBODY>
    <TR>
      <TD noWrap><IMG height=19 src="../images/icon_point.gif" width=18 
      align=absMiddle border=0> <a href="../member/getprice/message_product.asp?id=<%=id%>" target="_blank">给该公司发送留言</a> </TD>
      <TD noWrap><IMG height=19 src="../images/icon_point.gif" width=18 
      align=absMiddle border=0> <A 
            href="sendfriend.asp?info_id=<%=id%>" 
            target=_blank>把这条信息推荐给朋友</A></TD>
    </TR>
  </TBODY>
</TABLE>
<BR>
<table width="98%"  border="0" align="center" cellpadding="0" cellspacing="0" class="prmcontentborder">
  <tr>
    <td><TABLE width="100%" border=0 align="center" cellPadding=0 cellSpacing=0>
        <TBODY>
          <TR>
            <TD class=smallheader align=middle colSpan=2>&nbsp;该公司其他信息</TD>
          </TR>
          <TR align=middle bgColor=#efefef>
            <TD class=C bgColor=#efefef height=30>                <FONT color=#333333>该公司供求信息推荐 </FONT><IMG height=19 src="../images/icon_point.gif" width=18 
      align=absMiddle border=0> <A 
      href="../<%=replace(rs("url"),"index","product")%>" 
      target=_blank>全部产品目录</A>&nbsp;&nbsp; <IMG height=19 
      src="../images/icon_point.gif" width=18 align=absMiddle border=0> <A 
      href="../<%=replace(rs("url"),"index","tradeinfo")%>" 
      target=_blank>全部供求信息</A>
            <%
sql="select top 6 info.info_id,info.flag as infoflag,info.gsid,info.sortid as infosortid,info.typeid as infotypeid,info.type,info.showname,info.content,info.period,info.dateandtime,info.picture,info.Specifications,info.Quantity,info.Packaging,info.PriceTerms,corporation.* from info,corporation where info.gsid="&gsid&" and corporation.id=info.gsid and info.flag=1 and info.type='卖'"
Set rs= Server.CreateObject("ADODB.Recordset") 
rs.open sql,conn,1,1
gsid=rs("gsid")
if rs.eof then
response.Write"<br><br><br><div align='center'>该公司暂无其他供应信息</div>"
else
%></TD>
          </TR>
        </TBODY>
      </TABLE>
        <TABLE width="100%" border=0 align="center" cellPadding=0 cellSpacing=0>
          <TBODY>
            <TR>
              <TD vAlign=top>
                <TABLE width="100%" height=85 border=0 align="center" cellPadding=5 cellSpacing=5>
                  <TBODY>
                    <TR>
					  <%j=1
do while not rs.eof
%>
                      <TD align=middle width=100>
                        <TABLE class=porductborder height=64 cellSpacing=0 cellPadding=0 width=64 
      border=0>
                          <TBODY>
                            <TR>
                              <TD align=middle>
                                <%if rs("picture")<>"nopicture.gif" then%>
                                <A class=s 
      href="/tradeinfo/offerdetail/info.asp?info_id=<%=rs("info_id")%>"><IMG src="../picture/<%=rs("picture")%>" onload="javascript:if(this.height>this.width){this.height=64}else{this.width=64}" border=0> </A>
                                <%else%>
                                <FONT class=C 
      color=#cecfce>无图</FONT>
                                <%end if%></TD>
                            </TR>
                          </TBODY>
                      </TABLE></TD>
                      <TD class=cate>
                        <% if rs("type")="买" then
	  response.write"<A class=M href='../seller/offerdetail/info.asp?info_id="&rs("info_id")&"'>"
	  elseif rs("type")="卖" then
	  response.write"<A class=M href='../tradeinfo/offerdetail/info.asp?info_id="&rs("info_id")&"'>"
	  end if%>
                      <SPAN class=lh15><%=replace(rs("showname"),keywords,"<font color=red>"&keywords&"</font>")%></SPAN></a> <BR>                      <FONT color=#666666><%=rs("dateandtime")%></FONT></TD>
                         <%if j mod 2 = 0 then %></TR><tr><%end if%>
		  <%
rs.movenext
j=j+1
loop
end if
%>
                  </TBODY>
                </TABLE>
</TD>
            </TR>
          </TBODY>
      </TABLE></td>
  </tr>
</table>
<br>
<TABLE width="98%" height=10 border=0 align="center" cellPadding=0 cellSpacing=0>
  <TBODY>
    <TR>
      <TD class=S align=middle><FONT 
      color=#999999>以上信息由企业自行提供，该企业负责信息内容的真实性、准确性和合法性。<%=webname%>对此不承担任何保证责任。</FONT> </TD>
    </TR>
  </TBODY>
</TABLE>
<HR width="98%" color=#cccccc SIZE=1>
<TABLE width="98%" border=0 align="center" cellPadding=0 cellSpacing=0>
  <TBODY>
    <TR>
      <TD height=25><IMG height=12 src="../images/icon_leftarrow.gif" width=11 
      align=absMiddle border=0>
	  <%
'sql="select info.*,corporation.* from info,corporation where info.info_id="&info_id&" and corporation.id=info.gsid"
sql="select productshow.id as proid,productshow.flag as proflag,productshow.gsid,productshow.sortid as prosortid,productshow.typeid as protypeid,productshow.cpmc,productshow.cpgg,productshow.cpcd,productshow.xxsm,productshow.cpsb,productshow.Quantity,productshow.Packaging,productshow.Cpjg,productshow.idate,productshow.picture,corporation.* from productshow,corporation where productshow.id="&id&" and corporation.id=productshow.gsid and productshow.flag=1"
Set rs= Server.CreateObject("ADODB.Recordset") 
rs.open sql,conn,1,1
if rs.eof then
response.write "<p align='center'>对不起，没有您要查询的信息</p><Br><Br><Br><Br><Br><Br>"
else
gsid=rs("gsid")
%>
<%
sorttype="select class_2.*,class_1.* from class_2,class_1 where class_2.typeid="&rs("protypeid")&" and class_1.sortid=class_2.sortid"
set rssorttype=conn.execute(sorttype) 
response.write"<a href='trade/trade.asp?sortid="&rssorttype("sortid")&"'>返回"&rssorttype("sort")&"</a>"
response.write" <small>></small> "
response.write"<a href='offerlist/list.asp?typeid="&rs("protypeid")&"'>返回"&rssorttype("typename")&"</a>"
%></TD>
      <TD align=right><IMG height=11 src="../images/icon_uparrow.gif" width=11 
      align=absMiddle border=0> <A 
      href="#">回到页首</A></TD>
    </TR>
  </TBODY>
</TABLE>
</div>
<%end if%>
<%end if%>  
<!--#include file="../inc/end.asp"-->