📄 xplistjp.asp
字号:
<!--#include file="conn_xp/xp.asp"-->
<!--#include file="conn_xp/shopxp.asp"-->
<html><head><title><%=webname%>--奖品信息</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="img_shopxp/css.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
.STYLE1 {color: #FF0000}
-->
</style>
</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<!--#include file="xptop.asp"-->
<TABLE cellSpacing=0 cellPadding=0 width=890 border=0>
<TBODY>
<TR>
<td width="1" background="img_shopxp/xiao/bgbg.gif"></td>
<TD class=b vAlign=top align=left width=764><table width="890" align="center" border="0" cellspacing="0" cellpadding="0" class="table-zuoyou" bordercolor="#CCCCCC">
<tr>
<td width="100%" valign="top" bgcolor="#FFFFFF" bordercolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="4" align="center" class="table-shangxia">
<tr>
<td background="img_shopxp/class_bg.jpg" height=50> <img src="img_shopxp/hp.gif" width="6" height="8" align="absmiddle"> <a href=index.asp><%=webname%></a> >> 奖品信息</td>
</tr>
</table>
<%if IsNumeric(request.QueryString("id"))=False then
response.write("<script>alert(""非法访问!"");location.href=""index.asp"";</script>")
response.end
end if
dim id
id=request.QueryString("id")
if not isinteger(id) then
response.write"<script>alert(""非法访问!"");location.href=""index.asp"";</script>"
end if%>
<%
set rs=server.createobject("adodb.recordset")
rs.open "select * from shopxp_jiangpin where shopxpptid="&request("id"),conn,1,3
if rs.recordcount=0 then
%>
<table width="370" border="0" cellspacing="0" cellpadding="5" align="center">
<tr>
<td align=center>调用奖品错误</td>
</tr>
</table>
<%else%>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td valign="top" width="31%"><table align=center cellspacing=0 cellpadding=0 width=220 height=220 border=0>
<tbody>
<tr>
<td background=img_shopxp/cla.gif align=center><%if rs("upfilepic")<>"" then
response.write "<a href="&trim(rs("bookpic2"))&" ><img src="&trim(rs("upfilepic"))&" width=200 height=200 border=0></a>"
else
response.write "<img src=img_shopxp/emptybook.gif width=150 border=0>"
end if%>
</td>
</tr>
</tbody>
</table></td>
<td width="69%" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="2">
<tr>
<td width="33%" height="36">市 场 价:<%=rs("shichangjia")%> 元 </td>
<td width="67%">所需积分:<span class="STYLE1"> <%=rs("jifen")%>积分</span></td>
</tr>
<tr>
<td height="39" colspan="2">奖品名称:<%=rs("shopxpptname")%></td>
</tr>
<tr>
<td colspan="2">奖品说明:<%=rs("shopxpptcontent")%></td>
</tr>
</table></td>
</tr>
<%
rs.close
set rs=nothing
end if%>
<%
set rs=server.createobject("adodb.recordset")
rs.open "select * from shopxp_pinglun where shopxpptid="&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
%>
</table></td>
</tr>
</table></TD>
<td width="1" background="img_shopxp/xiao/bgbg.gif"></td>
</TR>
</TBODY>
</TABLE>
<!--#include file="copyright_shopxp.asp"-->
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -