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

📄 index.asp

📁 网上商场 帐户管理方面     1.实现了购物车和收藏夹的功能。     2.实现了历史订单查询以及即时订单跟踪。     3.实现了个人资料修改,查询以及送货人信息修改和查询。  
💻 ASP
字号:
<!--#include file="conn.asp"-->
<!--#include file="webconfig.asp"-->
<html><head>
<title><%=webname%></title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="images/css.css" rel="stylesheet" type="text/css">
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
//-->
</script>
</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" >
<!--#include file="top8.asp" -->
<table width="750" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr> <td width="190" valign="top" bgcolor="#efefef"> 
      <!--#include file="userinfo.asp"-->
    </td><td><table width="100%" border="0" cellspacing="0" cellpadding="0"><tr> 
          <td> <img src="images/right.gif" width="570" height="153"> </td>
        </tr></table></td></tr></table>
<table width="750" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr> 
    <td width="180" valign="top" bgcolor="#efefef">      <!--#include file="fenlei.asp"--> </td>
    <td valign="top"> <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" background="images/menu_bar01.jpg">
        <tr>
		
		
		 <TD width=11><IMG height=25 
                        src="images/cruises_top1b.gif" 
                        width=11></TD> 
						 <TD width="22" 
                      background="images/cruises_topbg.gif"><IMG height=15 
                              src="images/icon03.gif" 
                              width=13></TD><TD width="519" background="images/cruises_topbg.gif"><FONT 
                              color=#ffffff><STRONG>特别推荐商品</STRONG></FONT></TD>
                      <TD align=right width=18><IMG height=25 
                        src="images/cruises_top2b.gif" 
                        width=18></TD>
						
        </tr>
      </table> 
      <table width="570" border="0" cellspacing="0" cellpadding="0" height="60">
        <tr> 
          <td width="132"> 
        <tr> 
          <%set rs=server.CreateObject("adodb.recordset")
		  rs.open "select top 8 bookname,bookid,bookpic,shichangjia,huiyuanjia,bookzz from shop_books  where bestbook=1 order by adddate desc",conn,1,1
		 dim lu,bookpic,bookid,scj,hyj,bookname,bookzz
  lu=0
		 do while not rs.eof
	     lu=lu+1
		 bookzz=rs("bookzz")
		 bookname=rs("bookname")
		 bookpic=rs("bookpic")
		 bookid=rs("bookid")
		 scj=rs("shichangjia") 
		 hyj=rs("huiyuanjia") 	
			%>
          <td align="left" valign="bottom" bgcolor="#FFFFFF" width="450"> <TABLE width="163" height="157" border=0 align="center" cellPadding=0 cellSpacing=0>
              <TBODY>
                <TR> 
                  <TD height=25 align=middle vAlign=middle background=images/s_box_name.gif class=text1><img src="IMAGES/login_im5.gif" width="24" height="16" border="0" align="absmiddle"> 
                    </a><A class=a4 
                        href=product.asp?id=<%=bookid%> ><font color=#FF6600><b><%=bookname%></b></font></A><font color="#000000">&nbsp;</font></TD>
                </TR>
                <TR> 
                  <TD height="140" vAlign=top> <TABLE cellSpacing=0 cellPadding=0 width="100%" 
                              border=0>
                      <TBODY>
                        <TR> 
                          <TD width=1 bgColor=#999999></TD>
                          <TD vAlign=middle> <TABLE width="100%" border=0 cellPadding=0 cellSpacing=0>
                              <TBODY>
                                <TR> 
                                  <TD align=middle width=136 height=110> <div align="center"><A  href=product.asp?id=<%=rs("bookid")%>><IMG 
                        height=75 alt=点击查看具体信息 hspace=5 
                        src=<%if trim(bookpic)="" then
				  response.write "images/emptybook.gif"
				  else
				  response.write trim(bookpic)
				  end if%> width=75 vspace=3 
                        border=0></A><br>
                                      <a href=showpic.asp?id=<%=rs("bookid")%> target=_blank><img src='images/piczoom.gif' border='0'></a> 
                                      <br>
                                    </div></TD>
                                  <TD width=10><div align="center"> <IMG height=94 alt=border=0 src="images/s_h_line.gif" width=1></div></TD>
                                  <TD vAlign=center align=middle width=133 height="100%"> 
                                    <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                      <tr> 
                                        <td height="20" colspan="2"> <div align="center"></div>
                                          <div align="left">
                                            <div align="center"></div>
                                            <div align="left"><font color="#000000"> 
                                              &nbsp;&nbsp; 
                                              <INPUT name=onlyone  type=image src="images/tt.gif" id="onlyone" onClick="javascript:window.open('onlyone.asp?id=<%=bookname%> ','','width=632,height=388,toolbar=no, status=no, menubar=no, resizable=yes, scrollbars=yes');return false;" value=团体采购>
                                              </font></div>
                                            <font color="#000000"></font></div></td>
                                      </tr>
                                      <tr> 
                                        <td width="45%" height="20" align="center"> 
                                          <div align="center">【品 &nbsp;牌】</div></td>
                                        <td width="55%" align="left"> <div align="center"><font color="#000000"><b><%=trim(bookzz)%></b></font></div></td>
                                      </tr>
                                      <tr> 
                                        <td height="20" align="center"> 【市场价】</td>
                                        <td align="center"> <div align="center"><b>¥<%=formatnumber(scj,0)%></b>元</div></td>
                                      </tr>
                                      <tr> 
                                        <td height="17" align="center"> 【会员价】</td>
                                        <td height="17" align="center"><font color="#D03430"><b>¥</b></font><font color=#D03430><b><%=formatnumber(hyj,0)%></b></font>元 </td></tr><tr> 
                                        <td height="28"><div align="center"> 
                                            <INPUT  onClick="javascript:window.open('gouwu.asp?id=<%=bookid%>&action=add ','','width=632,height=388,toolbar=no, status=no, menubar=no, resizable=yes, scrollbars=yes');return false;"  src="images/buy.gif" type=image value=购买 name=Submit2232>
                                          </div></td>
                                        <td height="28" align="center">
<INPUT  onClick="javascript:window.open('shoucang.asp?id=<%=bookid%>&action=add ','','width=632,height=388,toolbar=no, status=no, menubar=no, resizable=yes, scrollbars=yes');return false;"  src="images/love.gif" type=image value=收藏 name=Submit223>
                                        </td></tr></table></TD></TR></TBODY></TABLE></TD><TD width=1 bgColor=#999999 height=140></TD></TR></TBODY></TABLE></TD></TR> <TR> 
                  <TD height="5"> <IMG height=5 src="images/box_down.gif" width=281></TD>
                </TR></TBODY></TABLE></td>
          <%	  rs.movenext
		   if lu>=2 then
		     lu=0
		   %>
</tr><tr> 
          <% end if
   loop
   rs.close
   set rs=nothing
   %>
</tr></table></td></tr></table>
<!--#include file="service.asp"-->
<!--#include file="tjxx.asp"-->
</body>
</html>

⌨️ 快捷键说明

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