<!--#include file="conn.asp"-->
<!--#include file="webconfig.asp"-->
<html>
<head>
<title><%=webname%>--商品信息</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<!--#include file="webtop.asp"-->
<table width="778" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
  <tr> 
    <td width="1" bgcolor="C9C9C8"><img src="../images/block.gif" width="1" height="1"></td>
    <td> <table width="100%"  border="0" cellspacing="0" cellpadding="0">
        <tr> 
          <td width="168">
            <!--#include file="left.asp"-->
          </td>
          <td width="1" bgcolor="C9C9C8"><img src="images/block.gif" width="1" height="1"></td>
          <td valign="top"> <table width="100%"  border="0" cellspacing="0" cellpadding="0">
              <tr> 
                <td background="images/bg1_4color_.jpg"><img src=images/bg1_4color_.jpg" width="1" height="3"></td>
              </tr>
            </table>
            <br><table width="98%" border="0" align="center" cellpadding="0" cellspacing="1">
              <tr> 
                <td height="1" bgcolor="cccccc"><img src="images/dot_03.gif" width="9" height="1" border="0"></td>
              </tr>
              <tr> 
                <td height="25" bgcolor="efefef"><strong>&nbsp;&nbsp;<img src="images/dot_03.gif" width="9" height="9" border="0"> 
                  </strong><b>奖品信息</b></td>
              </tr>
              <tr> 
                <td height="1" bgcolor="cccccc"><img src="images/dot_03.gif" width="9" height="1" border="0"></td>
              </tr>
            </table>
            <br> 
            <%
		set rs=server.createobject("adodb.recordset")
		rs.open "select * from shop_jiangpin where shopid="&request("id"),conn,1,3
		if rs.recordcount=0 then 
		%>
            <table width="370" border="0" cellspacing="0" cellpadding="5" align="center">
              <tr> 
                <td align=center>调用奖品错误</td>
              </tr>
            </table>
            <%else%>
            <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
              <tr> 
                <td> <table width="100%%" border="0" cellspacing="0" cellpadding="0">
                    <tr> 
                      <td valign="top" width="160"> <table width="100%" border="0" cellspacing="0" cellpadding="2">
                          <tr> 
                            <td height="25"> <div align="center"> <font color="<%=flzhzt%>"> 
                                <%if rs("shoppic")<>"" then 
	response.write "<a href="&trim(rs("shoppic2"))&" target=_blank><img src="&trim(rs("shoppic"))&" width=150 border=0></a>"
	else
	response.write "<img src=images/emptyshop.gif width=150 border=0>"
                                        end if%>
                                </font></div></td>
                          </tr>
                          <tr> 
                            <td height="25"> <div align="center"><font color="<%=flzhzt%>">市场价：<%=rs("shichangjia")%>元</font></div></td>
                          </tr>
                          <tr> 
                            <td height="25"> <div align="center"><font color="<%=flzhzt%>">所需积分：<%=rs("jifen")%></font></div></td>
                          </tr>
                        </table></td>
                      <td valign="top"> <table width="100%%" border="0" cellspacing="0" cellpadding="2">
                          <tr> 
                            <td><font color="<%=flzhzt%>"><%=rs("shopname")%></font></td>
                          </tr>
                          <tr> 
                            <td><font color="<%=flzhzt%>"><%=rs("shopcontent")%></font></td>
                          </tr>
                        </table></td>
                    </tr>
                  </table></td>
              </tr>
              <%
rs.close
set rs=nothing
end if%>
              <%
		set rs=server.createobject("adodb.recordset")
		rs.open "select * from shop_pinglun where shopid="&request("id")&" order by pinglundate desc",conn,1,1
		j=rs.recordcount
		for i=1 to j
%>
              <%	
		rs.movenext
		next
  %>
            </table></td>
        </tr>
      </table></td>
    <td width="1" bgcolor="C9C9C8"><img src="../images/block.gif" width="1" height="1"></td>
  </tr>
</table>
<!--#include file="copyright.asp"-->
</body>
</html>
