📄 book.asp
字号:
<!--#include file="conn.asp"-->
<!--#include file="webconfig.asp"-->
<%dim bookid
bookid=request.QueryString("id")%>
<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">
<style>
td{font-size:9pt;line-height:120%;color:#353535}
body{
font-size:9pt;
line-height:120%;
background-image: url(images/bj.jpg);
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
}
a:link { color: #000000; text-decoration: none }
a:visited { color: #000000; text-decoration: none }
a:active { color: #000000; text-decoration: none }
a:hover { color: #336699; text-decoration: none; position: relative; right: 0px; top: 1px }
</style>
</head>
<body onMouseOver="window.status='【<%=webname%>】<%=weburl%> 如果您喜欢本站,别忘了把本站介绍给您的好友哦!:)';return true">
<!--#include file="webtop.asp"-->
<%
set rs2=server.CreateObject("adodb.recordset")
rs2.open "select * from shop_books where bookid="&bookid,conn,1,3
rs2("liulancount")=rs2("liulancount")+1
rs2.update%>
<table width="468" height="643" border="0" cellspacing="0" cellpadding="0" align="center" background="images/dsx.gif">
<tr>
<td valign="top"><table width="100%" height="33" border="0">
<tr>
<td> </td>
</tr>
</table>
<table width="95%" border="0" cellspacing="0" cellpadding="0" align="center" bordercolor="#CCCCCC">
<tr>
<td align="center" valign="middle"> <br>
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td bgcolor="#FFFFFF">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td rowspan="2">
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="12v">
<tr>
<td class="12v" >
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" id="AutoNumber3" height="0" width="100%">
<tr>
<td> <table border="0" align="center" cellpadding="0" cellspacing="0" height="194" width="100%">
<tr>
<td width="558" height="97"><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" height="51">
<tr>
<td height="5" colspan="3"></td>
</tr>
<tr>
<td width="23%" height="1"> </td>
<td width="67%" height="1"> </td>
<td rowspan="2" height="14" width="10%"> </td>
</tr>
<tr>
<td width="23%" height="94" valign="top"><table cellspacing=0 cellpadding=0 width=96 border=0 align="center">
<tbody>
<tr>
<td height=83><div align="center">
<%if trim(rs2("bookpic"))<>"" then
response.write "<a href="&trim(rs2("zhuang"))&" target=_blank><img src="&trim(rs2("bookpic"))&" width=120 height=100 border=0 alt=点击查看图片实际尺寸!></a>"
else
response.Write "<img src=images/emptybook.gif width=120 height=100 alt=暂时没有图片!>"
end if%>
</div></td>
</tr>
</tbody>
</table></td>
<td height="94" width="67%"><table width="100%" border="0" align="center" cellpadding="1" cellspacing="1">
<tr>
<td colspan="2"><%=trim(rs2("mch"))%><%=trim(rs2("bookname"))%></td>
</tr>
<tr>
<td colspan="2"><%=trim(rs2("jj"))%><%=trim(rs2("bookchuban"))%></td>
</tr>
<tr>
<td colspan="2">大小:<%=rs2("kaiben")%> 重量:<%=rs2("yeshu")%></td>
</tr>
<tr>
<td width="49%"><table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="53"><table height="48" border="0" align="center" cellpadding="3" cellspacing="1" width="100%">
<tr>
<td width="51">市场价</td>
<td width="59"><%=formatnumber(rs2("shichangjia"),2)%>元</td>
</tr>
<tr>
<td width="51"> 折扣</td>
<td width="59"><%response.write rs2("dazhe")*100&".00%"%>
</td>
</tr>
</table></td>
</tr>
<tr>
<td height="53"><table height="48" border="0" align="center" cellpadding="3" cellspacing="1" width="110">
<tr>
<td> </td>
</tr>
<tr>
<td><div align="center"> </div></td>
</tr>
</table></td>
</tr>
</table></td>
<td width="51%"><table width="100%" border="0" cellpadding="0" cellspacing="0" align="center">
<tr>
<td height="53"><table width="100%" height="48" border="0" align="center" cellpadding="3" cellspacing="1">
<tr>
<td width="77">会员价</td>
<td width="58"><font color=#FF3300><%=formatnumber(rs2("huiyuanjia"),2)%>元</font></td>
</tr>
<tr>
<td width="77"> 节省</td>
<td width="58"><font color="#FF0000"><%=formatnumber(round(rs2("shichangjia")-rs2("huiyuanjia"),2),2)%>元</font></td>
</tr>
</table></td>
</tr>
<tr>
<td height="53"><table width="110" height="48" border="0" align="center" cellpadding="3" cellspacing="1">
<tr>
<td> </td>
</tr>
<tr>
<td><div align="center"></div></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -