
<!--#include file="top.asp"-->

<head>
</head>

<body background="moban/3/images/bg.gif" topmargin="0">
<div align="center">
  <center>
  <table border="0" width="875" cellspacing="0" cellpadding="0" background="moban/3/images/body_bg1.gif" height="400">
  <tr><td width="100%" height="15"></td></tr>
    <tr>
      <td width="875" height="428" valign="top">
        <div align="center">
          <center>
          <table border="0" width="873" height="244" cellspacing="0" cellpadding="0">
            <tr>
              <td width="181" valign="top">
                <table border="0" width="179" height="1" cellspacing="0" cellpadding="0">
                  <tr>
                    <td width="100%" valign="top" height="1">
                    
                    
                    <table border="0" width="179" height="1" cellspacing="0" cellpadding="0">
                  <tr>
                    <td width="100%" valign="top" height="1"><img border="0" src="moban/3/images/xg.gif"></td>
                  </tr>
                  <tr>
                    <td width="100%" valign="top" height="1" background="moban/3/images/class_mid.gif" align="right">
                      <div align="right">
                        <table border="0" width="98%" height="1">
                          <tr>
                            <td width="100%" height="1">
<table width="100%" cellpadding="0" cellspacing="0" height="1">
  <%set rs=server.CreateObject("adodb.recordset")
rs.open "select top 10 * from shop_books where shjiaid="&id&" and info=0 order by adddate desc",conn,1,1
if rs.bof and rs.eof then
response.write"&nbsp;&nbsp;<font color=red>!</font>暂无相关产品！"
else
do while not rs.eof
%>
<tr>
<td width="100%" valgin="top" height=1>
&nbsp;&nbsp;<img src=moban/3/images/sanjiao.gif width=5 height=5>&nbsp;<a href=list1.asp?id=<%=id%>&bookid=<%=rs("bookid")%>><font color="#ffffff"><%=left(rs("bookname"),10)%></font></a></td>
</tr>
<tr>
<td align="center" valgin="top" height=5><img border="0" src="moban/3/images/class_line.gif" width="148" height="1">
</td>
</tr>
<%rs.movenext
loop	
rs.close
set rs=nothing
end if
%>
</table>
                            
                            </td>
                          </tr>
                        </table>
                      </div>
                    </td>
                  </tr>
                  <tr>
                    <td width="100%" valign="top" height="1"><img border="0" src="moban/3/images/class_di.gif"></td>
                  </tr>
                </table>

                    
                    
                    
                    </td>
                  </tr>
                </table>
              </td>
              <td width="510" height="174" valign="top" align="center">
                <div align="center">
                  <center>
                  <table border="0" width="510" cellspacing="0" cellpadding="0" height="172">
                    <tr>
                      <td width="510" background="moban/3/images/top_top.gif" height="61">
                        <table border="0" width="100%" height="100%" cellspacing="0" cellpadding="0">
                          <tr>
                            <td width="100%">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
                          </tr>
                          <tr>
                            <td width="100%">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;            
                            <a href=list.asp?id=<%=rs_shjia("shjiaid")%>><font color="#666666"><b>产品展示</b></font></a>→产品详细信息</td>
                          </tr>
                        </table>
                      </td>
                    </tr>
                    <tr>
                      <td width="100%" background="moban/3/images/linemid.gif" height="400" valign="top" align="center">
                        <div align="center">
                          <center>
                          <table border="0" width="96%">
                            <tr>
                              <td width="100%" valign="top">
                              
                              
              <%
              bookid=request.querystring("bookid")
              set rs_book=server.createobject("adodb.recordset")
              sql="select * from shop_books where bookid="&bookid
              rs_book.open sql,conn,1,1
              %>              
                      <table border="0" width="1%" cellspacing="0" cellpadding="0">
                        <tr>
                          <td width="100%">
                          <table border="0"  width=315 height=1>
                            <tr>
                              <td align="center" valign="top" width="219" height="1" >
<div align="center">
  <center>
  <table border="0" width="176" cellspacing="0" cellpadding="0" height="103">
    <tr>
      <td width="174" height="103" valign="middle" align="center">
      <%if rs_book("zhuang")="" then 
response.write "<img src=../images/emptybookd.gif width=200 border=0>"
else%>
<A HREF=../show.asp?id=<%=rs_book("bookid")%> TARGET=_blank><img src="../<%=trim(rs_book("zhuang"))%>" width=150 border=0 alt="点击新窗口浏览商品大图" height="150"></a> 
<%end if%>     
      </td>
    </tr>
  </table>
  </center>
</div>
                              </td>
                              <td width="369" valign="top" height="1">
                                <table border="0" width="1%" height="1" >
                                  <tr>
                                    <td width="100%" valign="top" height="9">
                                        <table border="0" width="100%" cellspacing="0" cellpadding="0">
                                          <tr>
                                            <td width="265">&nbsp;<b><%=trim(rs_book("bookname"))%></b></td>
                                          </tr>
                                        </table>
                                    </td>
                                  </tr>
                                  <tr>
                                    <td width="100%" height="1"><img border="0" src="moban/2/images/123.gif"> 
                                     商品数量：&nbsp;&nbsp;&nbsp;&nbsp;<%=trim(rs_book("kucun"))%>  <%=rs_book("bookchuban")%><br>                                                         
                                      <img border="0" src="moban/2/images/book_line.gif" width="250" height="1">
                                      </td>      
                                  </tr>
                                  <tr>
                                    <td width="100%" height="1"><img border="0" src="moban/2/images/123.gif"> 
                                      是否团购：&nbsp;&nbsp;&nbsp;&nbsp;[<a  href="../tuangou.asp?shjiaid=<%=shjiaid%>&bookid=<%=rs_book("bookid")%>&bookname=<%=rs_book("bookname")%>&name=<%=rs_book("shjianame")%>" onClick="OpenNews()" target="newswin">是</a>] [<a href="#">否</a>]<br>                                                            
                                 <img border="0" src="moban/2/images/book_line.gif" width="250" height="1">     
                                  </td>   
                                  </tr>
                                  <tr>
                                    <td width="100%" height="1"><img border="0" src="moban/2/images/123.gif"> 
                                      商品人气：&nbsp;&nbsp;&nbsp;&nbsp;<%=trim(rs_book("liulancount"))%>                                                      
                                      &nbsp;&nbsp;&nbsp;&nbsp;<%if rs_book("kucun")>0 then%><font color=red>热卖中</font><%else%><font color=blue>缺货</font><%end if%><br>                                                       
                                      <img border="0" src="moban/2/images/book_line.gif" width="250" height="1">
                                      </td>
                                  </tr>

                                  <tr>
                                    <td width="100%" height="1"><img src="../imagess/jg1.gif" align="absmiddle"> <font color="#00CCFF">￥<%=formatnumber(rs_book("shichangjia"),2,true)%>元</font>                                                         
                                      &nbsp;&nbsp;&nbsp;<img src="../imagess/jg2.gif" align="absmiddle"> <font color="#FF6600">￥<%=formatnumber(rs_book("Vipjia"),2,true)%>元</font>                                                         
                                    <br><img border="0" src="moban/2/images/book_line.gif" width="250" height="1"></td>
                                  </tr>
                                  <tr>
                                    <td width="100%" height="1" align="center">
                                                                  
<a href="../gouwu.asp?id=<%=rs_book("bookid")%>&action=add" target="_blank" ><img src="../imagess/goumai.gif" width="100" height="25" border=0></a>　<a href="../shoucang.asp?id=<%=rs_book("bookid")%>&action=add" target="_blank" ><img src="../imagess/shoucang.gif" width="100" height="25" border=0></a>&nbsp;&nbsp;                                       
                                     
                                    </td>
                                  </tr>
                                </table>
                              </td>
                            </tr>
                          </table>
</table>

                              
                              </td>
                            </tr>
                            <tr>
                              <td width="100%" valign="top"><font size="4" color="#cccccc"><b>详细介绍<br>
                                </b></font><img border="0" src="moban/2/images/book_line.gif" width="476" height="1">     
                              </td>
                            </tr>
                            <tr>
                              <td width="100%" valign="top"><%if len(rs_book("bookcontent"))>490 then
                                                             response.write left(rs_book("bookcontent"),480)
                                                             response.write("<font color=red><b>→</b></font><a href=../list.asp?id="&rs_book("bookid")&"><font color=red><b>查看详细信息</b></font></a>")
                                                             else
                                                             response.write rs_book("bookcontent")
                                                             end if%></td>
                            </tr>
                          </table>
                          </center>
                        </div>
                      </td>
                    </tr>
                    <tr>
                      <td width="100%" height="12" background="moban/3/images/linedi.gif"><img border="0" src="moban/3/images/linedi.gif"></td>
                    </tr>
                  </table>
                  </center>
                </div>
              </td>
              <td width="185" valign="top" align="center">
                <div align="center">
                  <center>
                  <table border="0" width="163" background="moban/3/images/right.gif" height="334" cellspacing="0" cellpadding="0">
                    <tr>
                      <td width="100%" valign="top">
                        <table border="0" width="100%" cellspacing="0" cellpadding="0" height="230">
                          <tr>
                            <td width="100%" height="56">&nbsp; 
                            </td>
                          </tr>
                          <tr>
                            <td width="100%" height="9" align="center"><%=rs_shjia("tel")%> 
                            </td>
                          </tr>
                          <tr>
                            <td width="100%" height="27">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
                            </td>
                          </tr>
                          <tr>
                            <td width="100%" height="19" valign="top" align="center"><a href=mailto:<%=rs_shjia("UserEmail")%>><%=right(rs_shjia("UserEmail"),18)%> </a> 
                            </td>
                          </tr>
                          <tr>
                            <td width="100%" height="31">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
                          </tr>
                          <tr>
                            <td width="100%" height="38" valign="top">
                              <table border="0" width="100%" height="43">
                                <tr>
                                  <td width="28%" height="39"></td>
                                  <td width="67%" valign="top" height="39"> <%=rs_shjia("dz")%></td>
                                  <td width="6%" height="39"></td>
                                </tr>
                              </table>
 
                            </td>
                          </tr>
                          <tr>
                            <td width="100%" height="49" valign="top">
                              <table border="0" width="100%" height="37">
                                <tr>
                                  <td width="100%" height="25">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
                                  </td>
                                </tr>
                                <tr>
                                  <td width="100%" height="21">
                                    <table border="0" width="100%">
                                      <tr>
                                        <td width="36%"></td>
                                        <td width="64%" valign="bottom"><b><a href="gbook.asp?id=<%=rs_shjia("shjiaid")%>"><font color="#636363">在线留言</font></a></b></td>
                                      </tr>
                                    </table>
                                  </td>
                                </tr>
                              </table>
                            </td>
                          </tr>
                          <tr>
                            <td width="100%" height="18"></td>
                          </tr>
                          <tr>
                            <td width="100%" height="18"></td>
                          </tr>
                        </table>
                      </td>
                    </tr>
                  </table>
                  </center>
                </div>
              </td>
            </tr>
          </table>
          </center>
        </div>
      </td>
    </tr>
  </table>
  </center>
</div>
<!--#include file=copyright.asp-->
</body>

