<!--#include file="../../conn/conn.asp"-->
<!--#include file="../../inc/config.asp"-->
<!--#include file="../../inc/safe.asp"-->

<%
if Chkrequest(request("id")) then
id=request("id")
else
Response.Redirect ("../../login/chklogin.asp?login=4")
end if

if replace_text(request("bigclassid"))>"" then
if Chkrequest(request("bigclassid")) then
bigclassid=request("bigclassid")
else
Response.Redirect ("../../login/chklogin.asp?login=4")
end if
end if

if replace_text(request("smallclassid"))>"" then
if Chkrequest(request("smallclassid")) then
smallclassid=request("smallclassid")
else
Response.Redirect ("../../login/chklogin.asp?login=4")
end if
end if

if Chkrequest(request("proid")) then
proid=request("proid")
else
Response.Redirect ("../../login/chklogin.asp?login=4")
end if

sql1="select user,qymc,click,email,phone from corporation where id="&id&" and flag=1" 
set rs1=conn.execute(sql1)
if rs1.eof or rs1.bof then
response.write"<SCRIPT language=JavaScript>alert('对不起，该用户不存在或已非商贸通会员！');"
response.write"javascript:window.close();</SCRIPT>" 
else

conn.execute("update corporation set click=click+1 where id="&id&"") 

classid=replace_text(request("classid"))

sql="select * from productshow where gsid="&id&" and id="&proid&" and flag=1"
Set rs= Server.CreateObject("ADODB.Recordset") 
rs.open sql,conn,1,1
%>
<html>
<head>
<title><%=rs1("qymc")%></title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<LINK href="../../css/main.css" rel=stylesheet type=text/css>
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</script>
</head>

<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onLoad="MM_preloadImages('images/link_3_on.gif','images/link_4_on.gif','images/link_5_on.gif')">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr> 
    <td background="images/blue_tile.gif" height="64"> 
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr> 
          <TD class=x 
          style="FONT-WEIGHT: bold; FILTER: dropshadow(color=#C2C2C2,offx=1,offy=1,positive=-1); COLOR: #FFFFFF; TEXT-DECORATION: none" 
          align=middle height="60"><%=rs1("qymc")%></td>
          <td>&nbsp;</td>
        </tr>
        <tr> 
          <td height="18">&nbsp;</td>
          <td height="18">&nbsp;</td>
        </tr>
        <tr align="right"> 
          <td colspan="2"> <table width="627" border="0" cellspacing="0" cellpadding="0">
              <tr> 
                <td width="90" valign="bottom"><a href="introduce.asp?id=<%=id%>" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image11','','images/link_1_on.gif',1)"><img src="images/link_1.gif" name="Image11" width="90" height="23" border="0"></a></td>
                <td width="90" valign="bottom"><a href="product.asp?id=<%=id%>"><img src="images/link_2_on.gif" width="90" height="23" border="0"></a></td>
                <td width="90" valign="bottom"><a href="tradeinfo.asp?id=<%=id%>" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image22','','images/info_1_on.gif',1)"><img src="images/info_1.gif" name="Image22" width="90" height="23" border="0"></a></td>
                <td width="90" valign="bottom"><a href="work.asp?id=<%=id%>" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image19','','images/link_3_on.gif',1)"><img src="images/link_3.gif" name="Image19" width="90" height="23" border="0"></a></td>
                <td width="90" valign="bottom"><a href="contact.asp?id=<%=id%>" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image20','','images/link_4_on.gif',1)"><img src="images/link_4.gif" name="Image20" width="90" height="23" border="0"></a></td>
                <td width="90" valign="bottom"><a href="link.asp?id=<%=id%>" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image21','','images/link_5_on.gif',1)"><img src="images/link_5.gif" name="Image21" width="90" height="23" border="0"></a></td>
                <td width="87" valign="bottom"><a href="index.asp?id=<%=id%>"><img src="images/goindex.gif" width="87" height="23" border="0"></a></td>
              </tr>
            </table></td>
        </tr>
        <tr align="right"> 
          <td height="8" colspan="2" bgcolor="#999999"><img src="images/gray_pix.gif" width="8" height="8"></td>
        </tr>
      </table>
    </td>
  </tr>
  <tr> 
    <td bgcolor="#d6e0f5"> 
      <table width="100%" height="400" border="0" cellpadding="0" cellspacing="0">
        <tr>
          <td width="150" valign="top"> 
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr> 
                <td bgcolor="#000000"> 
                  <p>&nbsp;</p>
                  <p>&nbsp;</p>
                </td>
              </tr>
              <tr> 
                <td bgcolor="#FFFFFF" height="1"><img src="images/pixel.gif" width="1" height="1"></td>
              </tr>
              <tr> 
                <td><a href="introduce.asp?id=<%=id%>"><img src="images/link1_blue.gif" width="150" height="30" border="0"></a></td>
              </tr>
              <tr> 
                <td bgcolor="#FFFFFF" height="1"><img src="images/pixel.gif" width="1" height="1"></td>
              </tr>
              <tr> 
                <td><a href="product.asp?id=<%=id%>"><img src="images/link2_blue_on.gif" width="150" height="30" border="0"></a></td>
              </tr>
              <tr> 
                <td bgcolor="#FFFFFF" height="1"><img src="images/pixel.gif" width="1" height="1"></td>
              </tr>
              <tr> 
                <td><a href="tradeinfo.asp?id=<%=id%>"><img src="images/info_blue.gif" width="150" height="30" border="0"></a></td>
              </tr>
              <tr> 
                <td bgcolor="#FFFFFF" height="1"><img src="images/pixel.gif" width="1" height="1"></td>
              </tr>
              <tr> 
                <td><a href="work.asp?id=<%=id%>"><img src="images/link3_blue.gif" width="150" height="30" border="0"></a></td>
              </tr>
              <tr> 
                <td bgcolor="#FFFFFF" height="1"><img src="images/pixel.gif" width="1" height="1"></td>
              </tr>
              <tr> 
                <td><a href="contact.asp?id=<%=id%>"><img src="images/link4_blue.gif" width="150" height="30" border="0"></a></td>
              </tr>
              <tr>
                <td bgcolor="#FFFFFF" height="1"><img src="images/pixel.gif" width="1" height="1"></td>
              </tr>
              <tr>
                <td><a href="link.asp?id=<%=id%>"><img src="images/link5_blue.gif" width="150" height="30" border="0"></a></td>
              </tr>
              <tr>
                <td bgcolor="#FFFFFF" height="1"><img src="images/pixel.gif" width="1" height="1"></td>
              </tr>
              <tr>
                <td><Br><br>
                  <a href="<%=weburl%>" target="_blank"><img src="../../images/clickme.gif" width="150" height="30" border="0"></a></td>
              </tr>
            </table>
            
          </td>
          <td bgcolor="#FFFFFF" valign="top">

<TABLE width="90%" border=0 align="center" cellPadding=3 cellSpacing=3>
              <TBODY>
        <TR>
          <TD align=middle width="80%"></TD>
          <TD class=S align=right width="20%"><IMG height=13 
            src="images/icon_go.gif" width=17 align=absMiddle><A 
            href="product.asp?id=<%=id%>&bigclassid=<%=bigclassid%>&smallclassid=<%=smallclassid%>">返回产品列表</A></TD></TR></TBODY></TABLE>
            <TABLE width="90%" border=0 align="center" cellPadding=4 cellSpacing=0>
              <TBODY><TR>
<TD class=M style="BACKGROUND-REPEAT: no-repeat" 
background=images/bg_title.gif>&nbsp;</TD></TR></TBODY></TABLE>
<Br>
            <TABLE cellSpacing=0 cellPadding=0 width=90% align=center border=0>
              <TBODY>
    <TR> 
	              <TD width="150" vAlign=top> 
                    <DIV align=center><A 
      href="#zoom"><IMG 
      src="../../picture/<%=rs("picture")%>" width=150 border=0></A> <BR><IMG height=16 
      src="images/tobuy_offer_detail_tp_ad.gif" width=16 
      align=absMiddle> <A 
      href="#zoom"><SPAN 
      class=M>更大的图片</SPAN></A> </DIV></TD>
      <TD class=lh13 vAlign=top width=20>&nbsp; </TD>
<TD class=lh13 vAlign=top> <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
          <TBODY>
            <TR> 
              <TD> <FONT 
            class=B><STRONG><%=rs("cpmc")%></STRONG></FONT></TD>
            </TR>

          </TBODY>
        </TABLE>
        <BR> <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
          <TBODY>
            <TR> 
              <TD class=M 
          style="BORDER-RIGHT: #9ec4e5 0px solid; BORDER-TOP: #d3d3d3 1px solid; BORDER-LEFT: #3d3d3d 0px solid; BORDER-BOTTOM: #9ec4e5 0px solid" 
          bgColor=#eeeeee><SPAN 
        class=lh15>&nbsp;&nbsp;详细说明</SPAN></TD>
            </TR>
          </TBODY>
        </TABLE>

        <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
          <TBODY>
            <TR> 
              <TD> <TABLE cellSpacing=1 cellPadding=3 width="100%" bgColor=#eaeaea 
            border=0>
                              <TBODY>
				  <%if rs("cpgg")<>"" then%>
				  <TR> 
                      <TD class=M align=right width="30%" bgColor=#f9f9f9>产品型号：</TD>
                      <TD class=C width="70%" bgColor=#ffffff><%=rs("cpgg")%></TD>
                    </TR>
					<%
					end if
					if rs("cpcd")<>"" then 
					%>
					<TR> 
                      <TD class=M align=right width="30%" bgColor=#f9f9f9>原 产 地：</TD>
                      <TD class=C width="70%" bgColor=#ffffff><%=rs("cpcd")%></TD>
                    </TR>
					<%
					end if
					if rs("cpsb")<>"" then 
					%>
					<TR> 
                      <TD class=M align=right width="30%" bgColor=#f9f9f9>产品品牌：</TD>
                      <TD class=C width="70%" bgColor=#ffffff><%=rs("cpsb")%></TD>
                    </TR>
					<%
					end if
					if rs("Quantity")<>"" then 
					%>
					<TR> 
                      <TD class=M align=right width="30%" bgColor=#f9f9f9>产品数量：</TD>
                      <TD class=C width="70%" bgColor=#ffffff><%=rs("Quantity")%></TD>
                    </TR>
					<%
					end if
					if rs("Packaging")<>"" then 
					%>
					<TR> 
                      <TD class=M align=right width="30%" bgColor=#f9f9f9>包装说明：</TD>
                      <TD class=C width="70%" bgColor=#ffffff><%=rs("Packaging")%></TD>
                    </TR>
					<%
					end if
					if rs("Cpjg")<>"" then 
					%>
					<TR> 
                      <TD class=M align=right width="30%" bgColor=#f9f9f9>价格说明：</TD>
                      <TD class=C width="70%" bgColor=#ffffff><%=rs("Cpjg")%></TD>
                    </TR>
					<%end if%>
                    <TR> 
                                  <TD width="30%" align=right valign="top" bgColor=#f9f9f9 class=M>描　　述：</TD>
                      <TD class=C width="70%" bgColor=#ffffff><%=rs("xxsm")%></TD>
                    </TR>
                  </TBODY>
                </TABLE></TD>
            </TR>
          </TBODY>
        </TABLE>
      </TD>
    </TR>
  </TBODY>
</TABLE>
<%if session("id")>"" then%>
<br><br>
<TABLE width="90%" border=0 align="center" cellPadding=0 cellSpacing=0>
              <TBODY>
            <TR align=middle>
                              <TD class=M><A 
      href="../../member/getprice/message_product.asp?id=<%=proid%>" target="_blank"><IMG height=34 
                        src="../../tradeinfo/images/tobuy_offer_detail_tp_xj.gif" width=87 
                        align=absMiddle border=0></a></TD>              
      <TD class=M><IMG height=16 hspace=0 src="../../tradeinfo/images/icon_join.gif" 
            width=16 align=absMiddle> <A 
            href="../../member/myfriend/addfriend.asp?user=<%=rs1("user")%>" target="_blank">添加为商业伙伴</A> 
      </TD>
              <TD class=M><IMG height=17 hspace=5 
            src="../../tradeinfo/images/icon_recommend.gif" width=18 align=absMiddle><A 
            href="../../productshow/sendfriend.asp?info_id=<%=rs("id")%>" 
            target=_blank>推荐给朋友</A></TD>
            </TR>
          </TBODY>
        </TABLE>
<%end if%>
<HR align="center" width=90% SIZE=1 color=#cccccc>

<BR><A name=zoom></A>
<TABLE width=90% border=0 align="center" cellPadding=0 cellSpacing=0>
              <TBODY>
 <TR>
    <TD>
      <DIV align=center><IMG src="../../picture/<%=rs("picture")%>" border=0 onload='javascript:if(this.width>600)this.width=600;if(this.height>550)this.height=550;'> 
  </DIV></TD></TR> 
  </TBODY></TABLE>
  
            <TABLE width=90% border=0 align="center" cellPadding=0 cellSpacing=0>
              <TBODY>
  <TR>
    <TD class=M align=right height=25><IMG height=16 hspace=5 
      src="images/tobuy_offer_detail_tp_at.gif" width=16 
      align=absMiddle><A 
      href="#top">回到页首</A></TD></TR></TBODY></TABLE>
		
</td></tr></table>
</td></tr></table>

 <table width=100% border=0 cellpadding=2 cellspacing=0 style="BORDER-TOP: #9C9A9C 1px solid;BORDER-Bottom: #9C9A9C 1px solid">
  <tr align="center"> 
    <td bgcolor="D6E0F5"><br>
       您是第 <%=rs1("click")%> 位访客 欢迎您的光临! 最佳显示分辨率 800*600<br><%=rs1("qymc")%>版权所有<BR>
      联系电话:<%=rs1("phone")%>　 Email:<a href="mailto:<%=rs1("email")%>"><%=rs1("email")%></a> 
      <br>
      技术支持：<a href=<%=weburl%> target=_blank><%=webname%></a> 热线电话：<%=hottel%></td>
  </tr></table>
</BODY>
</HTML>
<%
end if
rs1.close
set rs1=nothing
rs.close
set rs=nothing
conn.close
set conn=nothing
%>