<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<table width="100%"  border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
  <tr>
    <td><table width="100%"  border="0" cellpadding="0" cellspacing="1" bgcolor="#50b008">
          <tr>
            <td bgcolor="#FFFFFF"><table width="100%"  border="0" align="center" cellpadding="0" cellspacing="0">
              <tr>
                <td width="24%" height="30"><div align="center" class="text"><strong>版块：</strong></div></td>
                <td width="76%"><a href="product_search.asp?action=topsubmit" class="text">物品交换</a>&nbsp;<a href="product_search_3.asp?action=topsubmit&class_id=&#25216;&#33021;" class="text">技能交换</a>&nbsp;<a href="product_search_2.asp?action=topsubmit" class="text">物品买卖</a></td>
              </tr>
              <tr bgcolor="#F3F8FD">
                <td height="30"><div align="center" class="text"><strong>帮助：</strong></div></td>
                <td><a href="help/news_show.asp?id=68" class="text">商品搜索</a>&nbsp;<a href="help/news_show.asp?id=71" class="text">如何交换</a>&nbsp;<a href="news_show.asp?id=83" class="text">实名认证</a></td>
              </tr>
              <tr>
                <td height="30"><div align="center"></div></td>
                <td><a href="help/news_show.asp?id=64" class="text">如何发布</a>&nbsp;<a href="help/news_show.asp?id=82" class="text">信用等级</a>&nbsp;<a href="help/news_show.asp?id=87" class="text" style="color:red">广告申请</a></td>
              </tr>
            </table></td>
          </tr>
        </table></td>
  </tr>
  <tr>
    <td height="6" bgcolor="#FFFFFF"></td>
  </tr>
  <tr>
    <td height="27" bgcolor="#FFFFFF"><table width="100%"  border="0" cellpadding="0" cellspacing="1" bgcolor="#50b008">
          <tr>
            <td height="25" background="images/text_bg.gif"><table width="96%"  border="0" align="center" cellpadding="0" cellspacing="0">
                <tr>
                  <td align="left" class="baise">交换资讯</td>
                  <td width="29" align="left">&nbsp;</td>
              </tr>
            </table></td>
          </tr>
          <tr>
            <td height="122" valign="middle" bgcolor="#FFFFFF"><table width="96%"  border="0" align="center" cellpadding="0" cellspacing="0">
  <%set rs=conn.execute("select top 10 * from news order by id desc")
		  do while not rs.eof%><tr>
    <td class="text" height="22"><%if rs("class_id")="公告" then%><span class="hongse">[<%=rs("class_id")%>]</span><%else%>[<%=rs("class_id")%>]<%end if%>&nbsp;<a href="news_show.asp?id=<%=rs("id")%>" target="_blank" title="<%=rs("title")%>" <%if rs("class_id")="公告" then%>class="hongse"<%end if%> style="font-size:12px"><%=left(rs("title"),14)%></a></td>
  </tr><%RS.MOVENEXT
loop
rs.close%>
</table></td>
  </tr>
        </table></td>
  </tr>
  <tr>
    <td height="6" bgcolor="#FFFFFF"></td>
  </tr>
  <tr>
    <td height="27" bgcolor="#FFFFFF"><table width="100%"  border="0" cellpadding="0" cellspacing="1" bgcolor="#50b008">
      <tr>
        <td height="25" background="images/text_bg.gif"><table width="96%"  border="0" align="center" cellpadding="0" cellspacing="0">
          <tr>
            <td align="left" class="baise">人气排行榜</td>
          </tr>
        </table>
        </td>
      </tr>
      <tr>
        <td height="286" valign="top" bgcolor="#FFFFFF"><%
		  set rs=conn.execute("select top 10 * from product_show where product_yse_no=0 and product_pic<>'' and  product_ok=1 order by Cint(product_views) desc, product_id asc")
		  do while not rs.eof
		  rq=rq+1
		  if rq=1 then
		  %>
                        <table width="95%"  border="0" align="center" cellpadding="0" cellspacing="0">
                          <tr>
                            <td width="75"><table  border="0" cellpadding="0" cellspacing="1" bgcolor="#e4f3ce">
                              <tr>
                                <td bgcolor="#FFFFFF"><table  border="0" cellspacing="2" cellpadding="0">
                                    <tr>
                                      <td width="65" height="65"><a href="product_show.asp?product_id=<% =rs("product_id")%>" target="_blank" title="<%=rs("product_name")%>"><img src="upload/product/<%=rs("product_pic")%>" width="65" height="65" border="0"></a></td>
                                    </tr>
                                </table></td>
                              </tr>
                            </table></td>
                            <td valign="top"><table width="100%"  border="0" cellspacing="0" cellpadding="0">
                              <tr>
                                <td height="25"><a href="product_show.asp?product_id=<% =rs("product_id")%>" target="_blank" title="<%=rs("product_name")%>" style="font-size:12px"><%=left(rs("product_name"),10)%></a></td>
                              </tr>
                              <tr>
                                <td height="25" style="font-size:12px">新旧程度：<span class="lanse"><%=rs("product_old")%></span></td>
                              </tr>
                              <tr>
                                <td height="25" class="huise" style="font-size:12px">地址:<%=rs("product_address")%>-<%=rs("product_address1")%></td>
                              </tr>
                            </table></td>
                          </tr>
                        </table>
                        <%else%>
                        <table width="95%"  border="0" align="center" cellpadding="0" cellspacing="0">
                          <tr>
                            <td width="20" height="22" valign="middle"><img src="images/<%=rq%>.gif" width="13" height="13"></td>
                            <td><a href="product_show.asp?product_id=<% =rs("product_id")%>" target="_blank" title="<%=rs("product_name")%>"><%=left(rs("product_name"),13)%></a></td>
                          </tr>
                          <tr>
                            <td height="1" colspan="2" background="images/line.gif"></td>
                          </tr>
                        </table>
                        <%end if
				RS.MOVENEXT
				  loop
				  rs.close%> </td>
      </tr>
    </table></td>
  </tr>
</table>
