📄 paihang.asp
字号:
width=5></td>
<td background=images/pics2/wp_sbox_02.gif width=596>
<form action="search.asp" method="post" name="form" id="form">
<table width="550" border=0 align=left cellpadding=0 cellspacing=0>
<tbody>
<tr>
<td width=95><font color=#666666><img
height=20 src="images/pics2/wp_sbox_search_pp2.gif"
width=94></font></td>
<td width="84" align=right>
<div align="center">
<input type="text" name="hw_name" size="20" class=input>
</div>
</td>
<td width="85" align=right>
<%
sql = "select * from sort"
rs.open sql,conn,1,1
if rs.eof and rs.bof then
response.write "请先添加栏目。"
response.end
else%>
<select name="sort_id" size="1">
<option selected value="">所有</option>
<% dim selclass
selclass=rs("sort_id")
do while not rs.eof
%>
<option value="<%=trim(rs("sort_id"))%>"><%=trim(rs("sort_name"))%></option>
<%rs.movenext
loop
end if
rs.close
%>
</select>
</td>
<td width=62>
<div align="center">
<input type="image" border="0" name="imageField" src="IMAGES/pics2/wp_sbox_bt_search.gif" width="51" height="19">
</div>
</td>
<td width=30>
<div align="right"><img src="IMAGES/pics2/icon_money.gif" width="19" height="13"></div>
</td>
<td width=42 valign="middle">
<div align="center">原价</div>
</td>
<td width=15>
<div align="right"><img src="IMAGES/pics2/icon_unisex.gif" width="14" height="13"></div>
</td>
<td width=60>
<div align="center">会员价</div>
</td>
<td width=15>
<div align="right"><img src="IMAGES/pics2/icon_heart.gif" width="14" height="12"></div>
</td>
<td width=60>
<div align="center">贵宾价</div>
</td>
</tr>
</tbody>
</table>
</form>
</td>
<td><img height=35 src="images/pics2/wp_sbox_03.gif"
width=5></td>
</tr>
</tbody>
</table>
</TD>
</TR>
</TBODY>
</TABLE></TD>
</TR>
<TR>
<TD height=6></TD>
</TR>
</TBODY>
</TABLE>
<table width="576" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="2" width="14%" valign="top" background="images/pics2/top_bg.gif"> </td>
<td height="2" width="60%" background="images/pics2/top_bg.gif" valign="top"> </td>
<td height="2" width="4%" align="right" valign="top"><img src="images/pics2/join.gif" width="56" height="41"></td>
<td height="2" width="10%" align="right" valign="top"><a href="ding1.asp"><img src="images/pics2/avarta_bu.gif" width="128" height="41" border="0"></a></td>
<td height="2" width="12%" align="right" valign="top"><a href="ding2.asp"><img src="images/pics2/item_bu.gif" width="125" height="41" border="0"></a></td>
</tr>
<tr>
<TD height=6></TD>
</tr>
</table>
<TABLE border=0 cellPadding=0 cellSpacing=0 width=537>
<TBODY>
<TR>
<TD width="606"><img height=24
src="IMAGES/pics2/top.gif" width=570></TD>
</TR>
<TR>
<TD height="67" valign="top">
<TABLE width=575 border=0 align="center" cellPadding=0 cellSpacing=0>
<TBODY>
<TR bgColor=#ffffff>
<TD></TD>
</TR>
<TR bgColor=#FDFEFF>
<TD height=3></TD>
</TR>
<TR bgColor=#FDFEFF>
<TD>
<P class=board_default> <BR>
<table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
<tr>
<TD>
<TABLE width="575" height="157"
border=0 align="center" cellPadding=0 cellSpacing=0>
<TBODY>
<TR>
<TD width="575"
height=25 align=middle
background=images/pics2/s_box_name2.gif class=text1><font color="#000000"></font></TD>
</TR>
<TR>
<TD height="140" vAlign=top>
<TABLE cellSpacing=0 cellPadding=0 width="100%"
border=0>
<TBODY>
<TR>
<TD width=1 bgColor=#999999></TD>
<TD vAlign=top>
<div align="center">
<table border="0" width="100%" cellspacing="0" cellpadding="0" height="52" bgcolor="#FFFFFF">
<%sort_id=trim(request("sort_id"))
page=request.querystring("page")
if page="" then page=1
if not(isnumeric(page)) then page=1
if page<1 then page=1
page=int(page)
sql="select * from hw order by hw_buys DESC"
rs.open sql,conn,3,3
if rs.eof then
response.write "还没有商品交易"
else
rs.pagesize=50
totalrec=rs.recordcount
totalpage=rs.pagecount
if page>totalpage then page=totalpage
rs.absolutepage=page
rs.cachesize=rs.pagesize
i=0
dim hw_id(),hw_name(),hw_cash(),pifa(),daili(),hw_views(),hw_buys(),hw_content(),hw_pic(),hw_date()
do while not rs.eof and (i<rs.pagesize)
i=i+1
redim preserve hw_id(i),hw_name(i),hw_cash(i),pifa(i),daili(i),hw_views(i),hw_buys(i),hw_content(i),hw_pic(i),hw_date(i)
hw_id(i)=rs("hw_id")
hw_name(i)=rs("hw_name")
hw_cash(i)=rs("hw_cash")
pifa(i)=rs("pifa")
daili(i)=rs("daili")
hw_views(i)=rs("hw_views")
hw_buys(i)=rs("hw_buys")
hw_content(i)=rs("hw_content")
hw_pic(i)=rs("hw_pic")
hw_date(i)=rs("hw_date")
rs.movenext
loop
end if
rs.close
%>
<tr>
<td height="2"></td>
</tr>
<%
for i=1 to ubound(hw_id)
%>
<tr>
<td height="30">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="3%" valign="middle" rowspan="2" height="0">
<div align="center">
<%response.write i%>
</div>
</td>
<td width="27%" valign="middle" height="0"><a href="views.asp?hw_id=<%=hw_id(i)%>"><font color="#D06800"><b class="dz1"><u><%=hw_name(i)%></u></b></font></a></td>
<td width="21%" valign="middle" height="0">会员价:<font color="#D03430"><b>¥<%=hw_cash(i)%></b></font>元 </td>
<td width="14%" valign="middle" height="0">交易<font color="#D03430"><b><%=hw_buys(i)%>次</b></font></td>
<td width="17%" valign="middle" height="0"><a href='javascript:openbag(<%=hw_id(i)%>)'><img border="0" src="IMAGES/pics2/s_button000-1.gif" align="absmiddle" width="81" height="20"></a></td>
<td valign="middle" rowspan="2" width="18%" height="0"><a href="views.asp?hw_id=<%=hw_id(i)%>"><font color="#D06800"><b class="dz1"></b></font></a>
<a href="views.asp?hw_id=<%=hw_id(i)%>"><font color="#D06800"><b class="dz1"></b></font></a></td>
</tr>
</table>
</td>
</tr>
<%next%>
<tr>
<td width=478 height="23" bgcolor="f4f3f3">
<p align="right"> </p>
</td>
</tr>
</table>
</div>
</TD>
<TD width=1 bgColor=#999999
height=140></TD>
</TR>
</TBODY>
</TABLE>
</TD>
</TR>
<TR>
<TD height="5"><IMG height=8
src="IMAGES/pics2/box_down3.gif"
width=575></TD>
</TR>
</TBODY>
</TABLE>
</TD>
</tr>
</table>
<br>
</TD>
</TR>
</TBODY>
</TABLE>
</TD>
</TR>
</TBODY>
</TABLE></TD>
</TR>
</TBODY>
</TABLE>
<!--#include file="copy.asp"-->
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -