www.gusucode.com > 爱美尔女性商城源码 1.0源码程序 > left.asp

    <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td style="background:url(images/border_top.jpg) no-repeat left; line-height:35px; height:35px; font-size:14px; font-weight:bold; color:#e62a8a; padding-left:30px;">价格范围</td>
        </tr>
        <tr>
          <td background="images/border_bg.jpg" style="padding:5px;"><table width="100%">
            <tbody>
              <tr>
                <td><a href="products.asp?anid=<%=anclassid%>&nid=<%=nclassid%>&orderby=<%=orderby%>&mkey=<%=mkey%>&typeid=<%=typeid%>&allprice=">任何价格</a> </td>
              </tr>
              <tr>
                <td><a href="products.asp?anid=<%=anclassid%>&nid=<%=nclassid%>&orderby=<%=orderby%>&mkey=<%=mkey%>&typeid=<%=typeid%>&allprice=1">0-100</a> </td>
              </tr>
              <tr>
                <td><a href="products.asp?anid=<%=anclassid%>&nid=<%=nclassid%>&orderby=<%=orderby%>&mkey=<%=mkey%>&typeid=<%=typeid%>&allprice=2">100-150</a> </td>
              </tr>
              <tr>
                <td><a href="products.asp?anid=<%=anclassid%>&nid=<%=nclassid%>&orderby=<%=orderby%>&mkey=<%=mkey%>&typeid=<%=typeid%>&allprice=3">150-300</a> </td>
              </tr>
              <tr>
                <td><a href="products.asp?anid=<%=anclassid%>&nid=<%=nclassid%>&orderby=<%=orderby%>&mkey=<%=mkey%>&typeid=<%=typeid%>&allprice=4">300-500</a> </td>
              </tr>
              <tr>
                <td><a href="products.asp?anid=<%=anclassid%>&nid=<%=nclassid%>&orderby=<%=orderby%>&mkey=<%=mkey%>&typeid=<%=typeid%>&allprice=5">500以上</a> </td>
              </tr>
            </tbody>
          </table></td>
        </tr>
        <tr>
          <td><img src="images/border_bottom.jpg" width="189" height="7" /></td>
        </tr>
      </table>
	   <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td height="5"><div align="center"></div></td>
        </tr>
      </table>
	  <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td style="background:url(images/border_top.jpg) no-repeat left; line-height:35px; height:35px; font-size:14px; font-weight:bold; color:#e62a8a; padding-left:30px;">销售排行</td>
        </tr>
        <tr>
          <td align="center" background="images/border_bg.jpg"><table width="180" border="0" align="center" cellpadding="0" cellspacing="0">
              <tr>
                <td height="10"><div align="center"></div></td>
              </tr>
               <%set rs=server.CreateObject("adodb.recordset")
		  rs.open "select Top 4 * from BJX_goods  order by bookid desc ",conn,1,1
		  if rs.eof and rs.bof then
		  response.write "目前还没有商品"
		  'response.End
		  else
		  %>
                <%
		if not rs.eof then
				do while not rs.eof%>
              <tr>
                <td align="left" style="height:66px;"><img src="<%=rs("bookpic")%>" width="50" height="50" align="left" style="margin-right:5px;" /><a href="showpro.asp?id=<%=rs("bookid")%>"><%if len(trim(rs("bookname")))>12 then
			response.write left(trim(rs("bookname")),10)&".."
			else
			response.write trim(rs("bookname"))
			end if%></a><br />
                <font style="color:#A20000">¥<%=formatnumber(rs("shichangjia"),2)&"元"%></font></td>
              </tr>
              <tr>
                <td height="5"><div align="center"></div></td>
              </tr>
              <%
		   rs.movenext
          	 loop
		rs.close
		end if
		end if 
		%>
              <tr>
                <td align="right"><a href="#" class="a2">更多..</a></td>
              </tr>
          </table></td>
        </tr>
        <tr>
          <td><img src="images/border_bottom.jpg" width="189" height="7" /></td>
        </tr>
      </table>
	  <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td height="5"><div align="center"></div></td>
        </tr>
      </table>
	  <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td style="background:url(images/border_top.jpg) no-repeat left; line-height:35px; height:35px; font-size:14px; font-weight:bold; color:#e62a8a; padding-left:30px;">关注我们:</td>
        </tr>
        <tr>
          <td align="right" background="images/border_bg.jpg">
          <table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td width="100%" height="60" align="right"><!-- JiaThis Button BEGIN -->
<div id="jiathis_style_32x32">
	<span class="jiathis_txt"> &nbsp;&nbsp;</span>
	<a class="jiathis_follow_tsina" rel="http://weibo.com/2183871502"></a>
	<a class="jiathis_follow_tqq" rel="http://t.qq.com/qing534406001"></a>
	<a class="jiathis_follow_tsohu" rel="http://t.sohu.com/u/175387413"></a>
	<a class="jiathis_follow_t163" rel="http://t.163.com/6167811840"></a>
</div>
<script type="text/javascript" src="http://v2.jiathis.com/code/jia.js" charset="utf-8"></script>
<!-- JiaThis Button END --></td>

              </td>
          </table></td>
        </tr>
        <tr>
          <td><img src="images/border_bottom.jpg" width="189" height="7" /></td>
        </tr>
      </table>
	  <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td height="5"><div align="center"></div></td>
        </tr>
      </table>
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td height="150" align="center"><a href="<%=url5%>"><img src="<%=Pic5%>" width="189" height="143" border="0" /></a></td>
        </tr>
        <tr>
          <td height="150" align="center"><a href="<%=url6%>"><img src="<%=Pic6%>" width="189" height="143" border="0" /></a></td>
        </tr>
		        <tr>
          <td height="150" align="center"><a href="<%=url7%>"><img src="<%=Pic7%>" width="189" height="143" border="0" /></a></td>
        </tr>
      </table>