⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 listjp.asp

📁 商业网站开发有源代码可以运行
💻 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="mt_style.css" rel="stylesheet" type="text/css">
<style>
td{font-size:9pt;line-height:120%;color:#353535} 
body{font-size:9pt;line-height:120%} 

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 leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<!-- onMouseOver="window.status='【<%=webname%>】<%=weburl%> 如果您喜欢本站,别忘了把本站介绍给您的好友哦!:)';return true">-->
<%dim dada,dadaurl,xiao1,xiao2,xiao3,xiao1url,xiao2url,xiao3url,tx1,tx1url,tx2,tx2url,tx3,tx3url
set rs=server.CreateObject("adodb.recordset")
rs.open "select * from shop_gg",conn,1,1
dada=trim(rs("458"))
dadaurl=trim(rs("458url"))
xiao1=trim(rs("2541"))
xiao1url=trim(rs("2541url"))
xiao2=trim(rs("2542"))
xiao2url=trim(rs("2542url"))
xiao3=trim(rs("2543"))
xiao3url=trim(rs("2543url"))
tx1=trim(rs("1441"))
tx1url=trim(rs("1441url"))
tx2=trim(rs("1442"))
tx2url=trim(rs("1442url"))
tx3=trim(rs("1443"))
tx3url=trim(rs("1443url"))

rs.close
set rs=nothing
%>
<%dim gg1,gg2,gg3,gg4,gg1url,gg2url,gg3url,gg4url
set rs=server.CreateObject("adodb.recordset")
rs.open "select * from shop_gg",conn,1,1
gg1=trim(rs("1601"))
gg1url=trim(rs("1601url"))
gg2=trim(rs("1602"))
gg2url=trim(rs("1602url"))
gg3=trim(rs("1603"))
gg3url=trim(rs("1603url"))
gg4=trim(rs("1604"))
gg4url=trim(rs("1604url"))
rs.close
set rs=nothing
%>
<!--#include file="webtop.asp"-->
<table width="760" border="1" cellspacing="0" cellpadding="0" align="center" bordercolor="#EDECEC">
  <tr> 
    <td width="180" valign="top" bgcolor="#FFFFFF" bordercolor="#FFFFFF"> 
      <!--#include file="searchinfo.asp"-->
      <!--#include file="gouwucheinfo.asp"-->
      <!--#include file="fenleiinfo.asp"-->
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr> 
          <td>&nbsp;</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="xinxi.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 shop_jiangpin where bookid="&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> 
              <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("jifen")%></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>&nbsp;</td>
          </tr>
          <tr> 
            <td height=1 background="images/bj_x1.gif"></td>
          </tr>
          <%
		set rs=server.createobject("adodb.recordset")
		rs.open "select * from shop_pinglun 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>&nbsp;</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"> 
      <!--#include file="history.asp"-->
      <!--#include file="xiaoshouinfo.asp"-->
      <!--#include file="toupiaoinfo.asp"-->
    </td>
  </tr>
</table>
<!--#include file="service1.asp"-->
<!--#include file="copyright.asp"-->
<div  id=floater 
            style="Z-INDEX: 20; WIDTH: 130px; POSITION: absolute; TOP: 342px; overflow: visible;; left: 2px"> 
</div>
<script language=javascript src="floater.js"></script>
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -