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

📄 xpss.asp

📁 ASP+ACCESS 产品报价系统 开发环境简单 主要是周杰伦FANs的交互活动
💻 ASP
字号:
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<!--#include file="conn.asp"-->
<title>新品上市</title>
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
//-->
</script>
<script>
  function openbag(id) { window.open("basket.asp?hw_id="+id,"","height=420,width=460,left=190,top=10,resizable=yes,scrollbars=yes,status=no,toolbar=no,menubar=no,location=no");} 
</script>
<style type="text/css">
<!--
.style1 {
	color: #804000;
	font-weight: bold;
}
.style2 {
	font-size: large;
	font-weight: bold;
}
-->
</style>
<body background="image/bj2.gif">
<div id="Layer1" style="position:absolute; left:101px; top:1px; width:800px; height:920px; z-index:1; background: #FFFFFF; layer-background-color: #FFFFFF; border: 1px none #000000;"></div>
<div id="Layer2" style="position:absolute; left:100; top:0; width:799; height:148; z-index:1">
  <table width="796" height="143" border="0">
    <tr>
      <td><a href="index.asp"><img src="image/top1.gif" width="790" height="140" border="0"></a></td>
    </tr>
  </table>
</div>
<div id="Layer4" style="position:absolute; left:100px; top:155px; width:238px; height:500px; z-index:4"><img name="cbl2" src="image/library/cbl2.jpg" width="238" height="500" border="0" usemap="#m_cbl2"> 
  <map name="m_cbl2">
    <area shape="rect" coords="109,432,226,463" href="lyb.asp" >
    <area shape="rect" coords="117,358,231,389" href="tlq.htm" >
    <area shape="rect" coords="107,288,233,314" href="BUY.ASP" >
    <area shape="rect" coords="90,208,240,244" href="xpss.asp" >
    <area shape="rect" coords="117,135,231,167" href="index.asp" >
  </map>
</div>
<div id="Layer5" style="position:absolute; left:355px; top:155px; width:540px; height:525px; z-index:5; background: url(image/bj5.gif); layer-background-image: url(image/bj5.gif); border: 1px none #000000;"></div>
<div id="Layer6" style="position:absolute; left:368px; top:172px; width:480px; height:511px; z-index:6"> 
  <TABLE width=470 height="390" border=0 cellPadding=0 cellSpacing=0>
    <TBODY>
      <TR> 
        <TD align=middle bgColor=#ffffff vAlign=top width=513> <TABLE border=0 cellPadding=0 cellSpacing=0 width=470>
            <TBODY>
              <TR> 
                <TD width=112>&nbsp;</TD>
              </TR>
              <TR> 
                <TD ><table width="98%" border="0" align="right" cellpadding="0" cellspacing="0">
                    <tr> 
                      <td> 
                      <%
				set rs2=server.createobject("adodb.recordset") 
        sql2="select * from sort order by sort_id desc" 
        rs2.open sql2,conn,3,3 
        do while not rs2.eof
         %>                      <span class="style2"><a href="sort.asp?sort_id=<%=rs2("sort_id")%>"><font color="#378d02"><%=rs2("sort_name")%></font> 
                      </a> |</span>                      <%rs2.movenext
           loop
              rs2.close
              set rs1=nothing
              set rs2=nothing
              %>
</tr>
                  </table></TD>
              </TR>
              <TR> 
                <TD align=right width=330><IMG height=2 
            src="img/line002.gif" width=308></TD>
              </TR>
              <TR> 
                <TD align=right width=330><BR> <BR> <span class="style1"><BR> 
                  <%=session("user_name")%>                  欢迎你! </span><BR></TD>
              </TR>
            </TBODY>
          </TABLE>
          <TABLE width=469 height="229" border=0 cellPadding=0 cellSpacing=0>
            <TBODY>
              <TR> 
                <TD width=460 align=middle valign="top"> <table width="100%" border="0" cellspacing="0" cellpadding="0" height="60">
                    <tr> 
                      <td colspan="2">&nbsp; </td>
                    </tr>
                    <tr> 
                      <td> 
                    <tr> 
                      <%set rs=server.createobject("adodb.recordset") 
            sql="select top 4 * from hw where tuijian=-1 order by hw_id DESC"
            rs.open sql,conn,1,1
			            if rs.eof then
            %>
                      <%end if
		    i=0
            do while not rs.eof
			i=i+1
			%>
                      <td align="left" valign="top" bgcolor="#FFFFFF"> <table width="147" height="214" border="0" align="center" cellpadding="3" cellspacing="0">
                          <tr> 
                            <td valign="bottom" width="285"> <div align="right"></div>
                              <div align="right"></div>
                              <div align="right"></div>
                              <div align="center"> 
                                <table width="200" border="0" cellspacing="0" cellpadding="0" style="border-collapse: collapse" bordercolor="#111111">
                                  <tr> 
                                    <td valign="bottom" align="center"><span class="style1">商品名称:<b></b></span><b> 
                                      <%=rs("hw_name")%> </b></td>
                                  </tr>
                                  <tr> 
                                    <td align="center"><a href="views.asp?hw_id=<%=rs("hw_id")%>"> 
                                      </a><a href="views.asp?hw_id=<%=rs("hw_id")%>"><img border="0" src="<%=rs("hw_pic")%>" width="100" height="127" vspace="6"></a></td>
                                  </tr>
                                  <tr> 
                                    <td align="center" class="style1">会员价: <%=rs("hw_cash")%> 
                                    元</td>
                                  </tr>
                                  <tr> 
                                    <td valign="top" align="center"><span class="style1"><a href='javascript:openbag(<%=rs("hw_id")%>)'>定购</a></span><a href='javascript:openbag(<%=rs("hw_id")%>)'>                                      <img src="image/gwc.gif" width="20" height="17" border="0"></a></td>
                                  </tr>
                                  <tr> 
                                    <td valign="top" align="center">&nbsp;</td>
                                  </tr>
                                </table>
                              </div></td>
                          </tr>
                          <tr> 
                            <td  height="1" width="285"></td>
                          </tr>
                        </table>
                        <p>&nbsp;</p></td>
                      <%
		if (i mod 2=0) and i>=2 then
%>
                    </tr>
                    <tr> 
                      <%
	end if
	if i>=10 then exit do end if
rs.movenext
loop
rs.close
%>
                    </tr>
                  </table></TD>
              </TR>
            </TBODY>
          </TABLE>
          <table width="465" height="40" border="0">
            <tr>
              <td>&nbsp;</td>
            </tr>
          </table>
          <p>&nbsp;</p></TD>
      </TR>
    </TBODY>
  </TABLE>
  <p>&nbsp;</p>
</div>

⌨️ 快捷键说明

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