📄 list_award.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="inc/css.css" rel="stylesheet" type="text/css">
</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<!--#include file="webtop.asp"-->
<table width="770" border="1" cellspacing="0" cellpadding="0" align="center" bordercolor="#EDECEC">
<tr>
<td width="180" valign="top" bgcolor="#FFFFFF" bordercolor="#FFFFFF">
<!--#include file="info_class.asp"-->
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td> </td>
</tr>
</table>
</td>
<td width="1" valign="top" background="images/bj_x.gif"></td>
<td width="398" valign="top" bgcolor="#FFFFFF" bordercolor="#FFFFFF">
<div align="center">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td background="images/bj_x.gif" height="1"></td>
</tr>
<tr>
<td height="22">
<div align="center">
<!--#include file="info.asp"-->
</div>
</td>
</tr>
<tr>
<td background="images/bj_x.gif" height="1"></td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="4" align="center">
<tr>
<td colspan="4"><font color="#FF0000">奖品信息</font></td>
</tr>
<tr>
<td colspan="4" height=1 background="images/bj_x.gif"></td>
</tr>
</table>
<%
set rs=server.createobject("adodb.recordset")
rs.open "select * from wq_award where bookid="&request("id"),conn,1,3
if rs.recordcount=0 then
response.write"<SCRIPT language=JavaScript>alert('参数错误!');"
response.write"javascript:history.go(-1)</SCRIPT>"
response.end
else
%>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>
<table width="100%%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td valign="top" width="160">
<table width="100%" border="0" cellspacing="0" cellpadding="2">
<tr>
<td>
<div align="center">
<%if rs("bookpic")<>"" then
response.write "<a href="&trim(rs("bookpic2"))&" target=_blank><img src="&trim(rs("bookpic"))&" width=150 border=0></a>"
else
response.write "<img src=images/emptybook.gif width=150 border=0>"
end if%>
</div>
</td>
</tr>
<tr>
<td>
<div align="center">市场价:<%=rs("shichangjia")%>元</div>
</td>
</tr>
<tr>
<td>
<div align="center">所需积分:<%=rs("point")%></div>
</td>
</tr>
</table>
</td>
<td valign="top">
<table width="100%%" border="0" cellspacing="0" cellpadding="2">
<tr>
<td><%=rs("bookname")%></td>
</tr>
<tr>
<td><%=rs("bookcontent")%></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<%
rs.close
set rs=nothing
end if%>
<tr>
<td> </td>
</tr>
<tr>
<td height=1 background="images/bj_x1.gif"></td>
</tr>
<%
set rs=server.createobject("adodb.recordset")
rs.open "select * from wq_review where bookid="&request("id")&" order by pinglundate desc",conn,1,1
j=rs.recordcount
'if i>5 then j=5
for i=1 to j
%>
<%
rs.movenext
next
%>
<tr>
<td> </td>
</tr>
</table>
</div>
</td>
<td width="1" valign="top" background="images/bj_x.gif"></td>
<td width="180" valign="top" bordercolor="#FFFFFF" bgcolor="#FFFFFF">
<%'--会员登陆--%>
<%if request.cookies("cnhww")("username")="" and request.cookies("cnhww")("shjianame")="" then%>
<!--#include file="info_user.asp"-->
<%elseif request.cookies("cnhww")("username")<>"" then%> <!--#include file="info_history.asp"-->
<%end if%>
<%'--登陆结束--%>
<!--#include file="info_market.asp"-->
<!--#include file="info_vote.asp"-->
</td>
</tr>
</table>
<!--#include file="webfoot.asp"-->
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -