📄 hotproduct.asp
字号:
<%@LANGUAGE="VBSCRIPT" %>
<%
dim conn
dim connstr
Set conn=Server.CreateObject("ADODB.Recordset")
connstr="Driver={Microsoft ODBC for Oracle};server=mylink;uid=system;pwd=system;"
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>热卖商品信息</title>
<style type="text/css">
<!--
.style2 {font-size: x-small}
-->
</style>
<style>
td {
font-size: 13px;
}
</style>
</head>
<body>
<div align="left"><!-- #include file="pagetop.asp" --></div>
<div align="center"><center>
<table width="95%" border="0" cellspacing="0" cellpadding="0">
<tr height="20">
<td colspan="2"></td>
</tr>
<tr>
<td width="180px" valign="top">
<table width="180" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><!-- #include file="userinfo.asp" --></td>
</tr>
<tr>
<td><!-- #include file="companyinfo.asp" --></td>
</tr>
<tr>
<td><!-- #include file="search_easy.asp" --></td>
</tr>
</table>
</td>
<td valign="top">
<table width="95%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>
<table width="95%" border="0" cellspacing="0" cellpadding="0">
<tr align="center">
<td width="15%" height="30">产品型号</td>
<td width="10%">燃烧能力</td>
<td width="15%">燃烧媒介</td>
<td width="12%">适应风温</td>
<td width="13%">产品价格</td>
</tr>
<%
set rs=server.CreateObject("adodb.recordset")
sql="select product_id, product_kindnum, product_burn_ability, product_media_inuse, product_temp_inuse, product_price from GSCOTT.product_info_table where product_isdel='n' order by product_salenum desc,product_time desc"
rs.open sql,connstr,1,1
if err.number<>0 then
response.write "<p>数据库中暂时无数据</p>"
end if
if rs.eof And rs.bof then
%>
对不起,目前还没有上架商品信息,请<a href="index.asp">返回主页</a>。
<% else
for i=0 to 9
%>
<tr align="center">
<td height="30"><a href="shp_detail.asp?id=<%=rs("product_id")%>" target="_blank"><%=rs("product_kindnum") %></a></td>
<td><%=rs("product_burn_ability") %></td>
<td><%=rs("product_media_inuse") %></td>
<td><%=rs("product_temp_inuse") %></td>
<td><%=rs("product_price") %></td>
</tr>
<%
rs.MoveNext
next
rs.Close
set rs=nothing
end if
%>
</table>
</td>
</tr>
<tr>
<td></td>
</tr>
</table>
</td>
</tr>
</table>
<!-- #include file="pagefooter.html" -->
</center>
</div>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -