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

📄 prodlist.asp

📁 一个免费的绿叶网上书店请大家提宝贵意见 站长的帐号是   用户名:雨丁香  密码:200505 副站长帐号是   用户名: wangli 密码:197207
💻 ASP
字号:
<!--#include file="base.asp"-->
<html>
<head>
<title>商品详细资料</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>

<body bgcolor="#FFFFFF" text="#000000">
<%
   sql="select * from books where id=" &request("id")
   rs.open sql,conn,1,2
%> 
<table border="1" cellspacing="1" cellpadding="3" align="center" bgcolor="#000000">
  <tr bgcolor="#304D7C"> <td> <div align="center"><font color="#FFFFFF">商品详细资料</font></div></td></tr> 
<tr> <td> <table width="100%" border="1" align="center" cellpadding="0" cellspacing="1" height="286" bgcolor="#FFFFFF">
        <tr bgcolor="#FFFFFF"> 
          <td height="10" colspan="2" BGCOLOR="#FFFFFF"> <DIV ALIGN="CENTER"><font color="#0033CC" size="2"> 
              </font></DIV>
            <div align="center"><img src="<%=rs("picture")%>"></div></td>
        </tr>
        <tr bgcolor="#FFFFFF"> 
          <td height="11" BGCOLOR="#FFFFFF"><div align="center"><FONT COLOR="#0000FF" SIZE="2">商品分类</FONT><font color="#0033CC" size="2">&nbsp; 
              </font></div></td>
          <td height="-1" width="486"><FONT COLOR="#0033CC" SIZE="2"> 
            <% num=rs("class")
		  Set res=Server.CreateObject("ADODB.Recordset")
		  sqls="select * from class where id ="& num
		  res.open sqls,conn,1,2
		  response.write res("classname")
		  res.close
		  %>
            </FONT></td>
        </tr>
        <tr bgcolor="#FFFFFF"> 
          <td width="135" height="23" BGCOLOR="#FFFFFF"><div align="center"><FONT COLOR="#0033CC" SIZE="2">&nbsp; 
              </FONT><FONT COLOR="#0000FF" SIZE="2">产品名称</FONT><FONT COLOR="#0033CC" SIZE="2">&nbsp; 
              </FONT> </div></td>
          <td height="0" width="486"><FONT COLOR="#0033CC" SIZE="2"><%=rs("bookname")%></FONT></td>
        </tr>
        <tr bgcolor="#FFFFFF"> 
          <td width="135" height="20"><DIV ALIGN="CENTER"><FONT SIZE="2" COLOR="#0000FF">图书说明:</FONT></DIV></td>
          <td height="20" width="486"><%=rs("intro")%></td>
        </tr>
        <tr bgcolor="#FFFFFF"> 
          <td width="135" height="21"><div align="center"><FONT SIZE="2" COLOR="#0000FF">普通价格:</FONT></div></td>
          <td height="21" width="486"><%=rs("price")%>元</td>
        </tr>
        <tr bgcolor="#FFFFFF"> 
          <td width="135" height="24"><DIV ALIGN="CENTER"><FONT SIZE="2" COLOR="#0000FF">会员价格:</FONT></DIV></td>
          <td height="24" width="486"><%=rs("memprice")%>元</td>
        </tr>
        <tr bgcolor="#FFFFFF"> 
          <td width="135" height="24"><div align="center"><font size="2" color="#0000FF">作者:</font></div></td>
          <td height="24" width="486"><%=rs("author")%></td>
        </tr>
        <tr bgcolor="#FFFFFF"> 
          <td height="8" width="135"><DIV ALIGN="CENTER"><font color="#0000FF" size="2">页数:</font> 
            </DIV></td>
          <td width="486" height="-2"><%=rs("pages")%></td>
        </tr>
        <tr bgcolor="#FFFFFF"> 
          <td height="9"><div align="center"><font color="#0033FF" size="2">开本:</font></div></td>
          <td width="486" height="0"><%=rs("kai")%></td>
        </tr>
        <tr bgcolor="#FFFFFF"> 
          <td height="8"><div align="center"><font color="#0000FF" size="2">出版社:</font></div></td>
          <td width="486" height="8"><%=rs("publish")%></td>
        </tr>
        <tr bgcolor="#FFFFFF"> 
          <td height="9"><div align="center"><font color="#0000FF" size="2">是否带光盘:</font></div></td>
          <td width="486" height="9"><% if rs("disk")=true then%>是<% else %>否<% end if%></td>
        </tr>
        <tr bgcolor="#FFFFFF"> 
          <td height="11" valign="middle" colspan="2">&nbsp;</td>
        </tr>
      </table></td></tr> </table><div align="center"> <input type="submit" name="Submit" value="返回" onclick="window.history.back()"> 
</div><%  rs.close   %> 
</body>
</html>

⌨️ 快捷键说明

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