📄 views.asp
字号:
<!--#include file="top.asp"-->
<center>
<table border="0" width="760" cellspacing="0" cellpadding="0" height="312">
<tr>
<td width="190" height="312" valign="top" align="left">
<table border="0" width="190" cellspacing="0" cellpadding="0">
<tr>
<td width="190" valign="top" align="left"><!--#include file="left.asp"--></td>
</tr>
</table>
</td>
</center>
<td width="380" valign="top" align="left">
<table border="0" width="380" cellspacing="0" cellpadding="0" height="5">
<%
sql="select * from hw where hw_id="&int(request("hw_id"))
rs.open sql,conn,3,3
if rs.eof then
%>
<tr>
<td width="380" bgcolor="#FF9A31" height="18">
没有找到你要查看的商品
</td>
</tr>
<%else
do while not rs.eof
%>
<tr>
<td width="380" bgcolor="#FF9A31" height="18">
商品名称:<%=rs("hw_name")%>
</td>
</tr>
<tr>
<td width="100%" bgcolor="#63CFFF">
<table border="0" width="100%" cellspacing="1">
<tr>
<td width="100%" bgcolor="#FFFFFF">
<p align="center"><img border="0" src="<%=rs("hw_pic")%>" width="284" height="282"></td>
</tr>
<tr>
<td width="100%" bgcolor="#FFFFFF">商品名称:<%=rs("hw_name")%><br>
上架时间:<%=rs("hw_date")%><br>
商品价格:<font color=red><%=rs("hw_cash")%></font>元<br>
浏览次数:<%=rs("hw_views")%><%rs("hw_views")=rs("hw_views")+1%><br>
成交次数:<%=rs("hw_buys")%><br>
商品介绍:<%=rs("hw_content")%>
<p align="center"><a href='javascript:openbag(<%=rs("hw_id")%>)'><img border="0" src="images/shop.gif"></td>
</tr>
<%rs.movenext
loop
end if
rs.close
%>
</table>
</td>
</tr>
<center>
<tr>
<td width="100%"></td>
</tr>
</table>
</center>
</td>
<td width="190" valign="top" align="left">
<table border="0" width="190" cellspacing="0" cellpadding="0">
<tr>
<td width="190"><!--#include file="right.asp"--></td>
</tr>
</table>
</td>
</tr>
</table>
<!--#include file="copy.asp"-->
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -