[td]卖[/td]
[/tr]
"" then
dengji1=" and dengji="&dengji&""
end if
if mai"" then
mai1=" and mai="&mai&""
end if
if daqu"" then
daqu1=" and daqu="&daqu&""
end if
if xiaoqu"" then
xiaoqu1=" and xiaoqu="&xiaoqu&""
end if
if xinid"" then
xinid1=" and id="&xinid&""
end if
Sql="Select * From Fx_xinfeng where 1=1 "&dengji1&" "&mai1&" "&daqu1&" "&xiaoqu1&" "&xinid1&" order by id desc"
response.Write sql
Rs.open Sql,Conn,1,1
Rs.PageSize = PageSize
Totalfilm=Rs.RecordCount
Pgnum=Rs.Pagecount
If Page="" or Clng(Page) Pgnum Then Page=Pgnum
If Pgnum>0 Then Rs.AbsolutePage=Page
IF rs.eof then
response.Write "信不存在!!"
else
i=0
Do While Not (Rs.Eof Or Rs.Bof) And i
[tr]