⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 default2.asp

📁 一个ASP做的购物车
💻 ASP
字号:
<!--#include file="conn.asp"-->
<!--#include file="webconfig.asp"-->
<!--#include file="Ubb.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="770" border="0" cellspacing="0" cellpadding="0" align="center" >
  <tr> 
    <td width="178" valign="top" bgcolor="#FFFFFF" >
      <!--#include file="info_class2.asp"-->
      <!--#include file="info_brand.asp" -->
      <!--#include file="info_order.asp" -->
     <table width="178" border="0" cellspacing="0" cellpadding="0">
  <tr> 
          <td background="images/bj_x.gif" height="1"></td>
        </tr>
        <tr> 
          <td height="22"> 
            <table cellspacing=0 cellpadding=0 width=170 height="20">
              <tr> 
          		<td><img src="images/main/yqgg.gif" width="178" height="34"></td>
              </tr>
            </table>
          </td>
        </tr>
        <tr> 
          <td height="1" background="images/bj_x.gif"></td>
        </tr>
        <tr> 
          <td> <br>
            <table width="99%" border="0" cellspacing="0" cellpadding="0" >
        <tr> 
                <td height="65" width="188"> 
                  <table width="96%" border="0" cellspacing="0" cellpadding="0" align="center">
                    <tr> 
                      <td> 
                        <div align="right"><a href=<%=xiao1url%> target="_blank"><img src=<%=xiao1%> border="0" width="166" height="55"></a></div>
                      </td>
                    </tr>
                  </table>
                </td>
              </tr>
			  <tr> 
                <td height="65" width="188"> 
                  <table width="96%" border="0" cellspacing="0" cellpadding="0">
                    <tr> 
                      <td> 
                        <div align="right"><a href=<%=xiao3url%> target="_blank"><img src=<%=xiao3%>  border="0" width="166" height="55"></a></div>
                      </td>
                    </tr>
                  </table>
                </td>
              </tr>
			  <tr> 
          <td height="65" width="188"> 
            <table width="96%" border="0" cellspacing="0" cellpadding="0" >
               <tr> 
                  <td> 
                       <div align="right"><a href=<%=xiao2url%> target="_blank"><img src=<%=xiao2%>  border="0" width="166" height="55"></a></div>
                      </td>
                    </tr>
                  </table>
                </td>
              </tr>
            </table>
          </td>
        </tr>
      </table>   
    </td>
    <td width="2" valign="top" background="images/bj_x.gif"></td>
    <td width="410" valign="top" bgcolor="#FFFFFF"> 
      <div align="center">
        <table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr> 
            <td background="images/bj_x.gif" height="1"></td>
          </tr>
          <tr>
            <td height="34" background="images/main/th_bg.gif"> 
              <div align="center"><!--#include file="info.asp"--></div>
            </td>
          </tr>
          <tr>
            <td background="images/bj_x.gif" height="1"></td>
          </tr>
        </table>
        <table width="100%" border="0" cellspacing="0" cellpadding="5" align="center">
          <tr> 
            <td height="70"> 
              <div align="center"><a href=<%=dadaurl%> target="_blank"><img src=<%=dada%>  border="0" width="380" height="170"></a></div>
            </td>
          </tr>
        </table>
        <table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr> 
            <td height="1" colspan="2" background="images/bj_x.gif"></td>
          </tr>
          <tr> 
            <td width="55" height="34"><img src="images/main/th_img2.gif" width="55" height="34"></td>
            <td width="87%" background="images/main/th_bg.gif"><b><font color="#FF9900">最新特价商品</font></b></td>
          </tr>
		  <tr> 
            <td height="1" colspan="2" background="images/bj_x.gif"></td>
          </tr>
          <tr> 
            <td colspan="2" valign="top"> <table width="100%" border="0" cellspacing="0" cellpadding="3">
                <%set rs=server.createobject("adodb.recordset")
						  rs.open "select Top 2 * from wq_books where tejiabook=1 and bestbook=1 order by bookid,bookname desc",conn,1,1
						  if rs.recordcount=0 then 
						  response.write "<tr><td> 暂无推荐特价</td></tr>"
						  else
						  %>
                <tr> 
                  <%while not rs.eof%>
                  <td width="55" align=center><a href=list.asp?id=<%=rs("bookid")%>> 
                    <%if rs("bookpic")="" then 
					response.write "<div align=center><a href=list.asp?id="&rs("bookid")&" target=_blank><img src=images/emptybook.gif width=75 height=75 border=0></a></div>"
					else%>
                    <img src="<%=trim(rs("zhuang"))%>" width=150 border=0 height="150" alt="<%=trim(rs("bookname"))%>"></a> 
                    <%end if%> </td>
                  <%
				  		rs.movenext
				  		wend
				  %>
                </tr>
                <%
					end if
					rs.close
				%>
              </table></td>
          </tr>
          <tr> 
            <td height="1" colspan="2" background="images/bj_x.gif"></td>
          </tr>
        </table>
        <table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr> 
            <td height="1" colspan="2" background="images/bj_x.gif"></td>
          </tr>
          <tr> 
            <td width="55" height="34"><img src="images/main/th_img.gif" width="55" height="34"></td>
            <td width="87%" background="images/main/th_bg.gif"><b><font color="#66CC00">最新上架商品</font></b></td>
          </tr>
          <tr> 
            <td height="1" colspan="2" background="images/bj_x.gif"></td>
          </tr>
          <tr> 
            <td colspan="2"> </td>
          </tr>
        </table>
        <table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr> 
            <td background="images/bj_x.gif" height="1"></td>
          </tr>
          <tr> 
            <td height="70"> 
              <div align="center"><a href="<%=tx2url%>" target=_blank><img src="<%=tx2%>" width="370" height="65" border="0"></a></div>
            </td>
          </tr>
          <tr> 
            <td background="images/bj_x.gif" height="1"></td>
          </tr>
        </table>
        <table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr> 
            <td height="1" colspan="2" background="images/bj_x.gif"></td>
          </tr>
          <tr> 
            <td width="55" height="34" ><img src="images/main/th_img2.gif" width="55" height="34"></td>
            <td width="87%" background="images/main/th_bg.gif" ><font color="#FF6600"><strong>精品热卖</strong></font></td>
          </tr>
          <tr> 
            <td height="1" colspan="2" background="images/bj_x.gif"></td>
          </tr>
        </table>
        <%set rs=server.createobject("adodb.recordset")
		rs.open "select Top 6 * from wq_books where bestbook=1 order by bookid desc",conn,1,1
		if rs.recordcount=0 then 
		%>
        <table width="370" border="0" cellspacing="0" cellpadding="5" align="center">
          <tr>
            <td align=center>暂无推荐精品</td>
          </tr>
        </table>
        <%
		else
		while not rs.eof
		%>
        <!--#include file="info_prime2.asp"-->
        <%rs.movenext
		wend
		end if
		%>

              </div>
    </td>
    <td width="2" valign="top" background="images/bj_x.gif"></td>
    <td width="178" valign="top" bgcolor="#FFFFFF" >	
	 <%'--会员登陆--%>
	 <%if request.cookies("cnhww")("username")="" and request.cookies("cnhww")("shjianame")="" then%>
      <!--#include file="info_user.asp"-->
	  <%elseif request.cookies("cnhww")("username")<>"" then%> 
	  <!--#include file="info_history.asp"-->
      <%end if%>
	  <%'--登陆结束--%>
      <!--#include file="info_bulletin.asp"-->
      <!--#include file="info_news.asp"-->
	  <!--#include file="info_hot.asp" -->
      <!--#include file="info_special.asp" -->
      <!--#include file="info_market.asp"-->
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr> 
          <td background="images/bj_x.gif" height="1"></td>
        </tr>
        <tr> 
          <td height="22" bgcolor="#EDECEC"> 
            <table cellspacing=0 cellpadding=0 width=170 height="20">
              <tr> 
                <td> <img src="images/main/yqgg.gif" width="178" height="34"></td>
              </tr>
            </table>
          </td>
        </tr>
        <tr> 
          <td height="1" background="images/bj_x.gif"></td>
        </tr>
        <tr> 
          <td> 
            <table width="178" border="0" cellspacing="0" cellpadding="0" height="68">
              <tr> 
                <td height="65"> 
                  <table width="96%" border="0" cellspacing="0" cellpadding="0">
                    <tr> 
                      <td> 
                        <div align="right"><a href="<%=tx3url%>" target=_blank><img src="<%=tx3%>" width="166" height="55" border="0"></a></div>
                      </td>
                    </tr>
                  </table>
                </td>
              </tr>
              <tr> 
                <td height="65"> 
                  <table width="96%" border="0" cellspacing="0" cellpadding="0">
                    <tr> 
                      <td> 
                        <div align="right"><a href="<%=tx1url%>" target=_blank><img src="<%=tx1%>" border="0" width="166" height="55"></a></div>
                      </td>
                    </tr>
                  </table>
                </td>
              </tr>
            </table>
          </td>
        </tr>		
      </table>
      <!--#include file="info_vote.asp"-->
      <!--#include file="info_stat.asp" -->
    </td>
  </tr>
</table>
<table width="770" border="0" cellspacing="0" cellpadding="0" align="center">
  <tr> 
    <td>
      <!--#include file="webfoot.asp"-->
    </td>
  </tr>
</table>
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -