search.asp
来自「物流管理系统,可以用于中小企业,建立自己的内部物流管理.」· ASP 代码 · 共 416 行 · 第 1/2 页
ASP
416 行
<%rssort.movenext
loop
rssort.close
set rssort=nothing
%>
</TBODY></TABLE>
</TD>
</tr>
<TR>
<TD colSpan=2>
<IMG height=4 src="images/TradeChance_x2.gif"
width=174></TD></TR></TBODY></TABLE></TD>
<TD align=middle vAlign=top width=576>
<FORM action=sjsearch.asp method=POST name=Search>
<TABLE border=0 cellPadding=0 cellSpacing=4 width=576>
<TBODY>
<TR>
<TD><FONT color=#993300>当前位置:
<a href="../default.asp" style="text-decoration: none">首页</a>
>> <a href="default.asp" style="text-decoration: none">商业机会</a>
</FONT>
</TD>
</TR>
</TBODY>
</TABLE>
<TABLE border=0 cellPadding=0 cellSpacing=0 width=576>
<TBODY>
<TR>
<TD vAlign=top width=130>
<img border="0" src="images/sj11.gif"></TD>
<TD background=images/sj12.gif>
<TABLE border=0 cellPadding=0 cellSpacing=0 height=25
width="446"><TBODY>
<TR>
<TD width="88">
<INPUT name=BHName type=hidden>
<INPUT maxLength=100 name=txtitle size=14></TD>
<TD width="98">
<SELECT Class=f11 Size="1" Name="DateTime">
<OPTION VALUE="30" selected>显示最近30天</OPTION>
<OPTION VALUE="7788">显示所有时段</OPTION>
<OPTION VALUE="0">显示今日最新</OPTION>
<OPTION VALUE="2">显示最近2天</OPTION>
<OPTION VALUE="7">显示最近7天</OPTION>
<OPTION VALUE="90">显示最近3个月</OPTION>
<OPTION VALUE="180">显示最近6个月</OPTION>
<OPTION VALUE="365">显示最近1年</OPTION>
</select></TD>
<TD width="75">
<Select Class=f11 size="1" name="Type">
<OPTION value="0">全部信息</OPTION>
<OPTION VALUE="采购">采购</OPTION>
<OPTION VALUE="供应">供应</OPTION>
<OPTION VALUE="代理">代理</OPTION>
<OPTION VALUE="合作">合作</OPTION>
</Select> </TD>
<TD width="122">
<INPUT align=bottom border=0 name=I7 src="images/index_search.gif" type=image >
</TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>
</FORM>
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber5">
<tr>
<td width="100%">
<TABLE background=images/tradechance_qgxx_x.gif border=0 cellPadding=0
cellSpacing=0 width=575>
<TBODY>
<TR>
<TD width=120 background="images/sj124.gif" height="25">
</TD>
<TD align=right vAlign=bottom width="14">
</TD>
<TD align=right width="441">
<p align="left"><%if request("txtitle")="" then%><%else%>搜索关键字:<font color="#ff6600"><%=keyword%> </font>
(<font color="#FF6600">注</font>: 搜索只限在此行业类 )<span style="font-size: 10pt"><font color="#ff6600"><%end if%></font></span></TD></TR></TBODY></TABLE>
</td>
</tr>
</table>
<TABLE background=images/TradeChance_jrgyxx_x2.gif border=0
cellPadding=0 cellSpacing=0 height=36 width=575>
<TBODY>
<TR>
<TD align=middle>
<TABLE border=0 cellPadding=0 cellSpacing=0 width="98%">
<TBODY>
<TR>
<TD width="11%"><B><FONT color=#FF6600>[显示方式]:</FONT></B></TD>
<TD width="54%"><font color="#FF6600">
<a href="search.asp?sortid=<%=sortid%>">全部</a> →
<a href="search.asp?type=采购&sortid=<%=sortid%>&typeid=<%=typeid%>&txtitle=<%=keyword%>&datetime=<%=datetime%>")>
采购</a> →
<a href="search.asp?type=供应&sortid=<%=sortid%>&typeid=<%=typeid%>&txtitle=<%=txtitle%>&datetime=<%=datetime%>">
供应</a> →
<a href="search.asp?type=代理&sortid=<%=sortid%>&typeid=<%=typeid%>&txtitle=<%=txtitle%>&datetime=<%=datetime%>">
代理</a> →
<a href="search.asp?type=合作&sortid=<%=sortid%>&typeid=<%=typeid%>&txtitle=<%=txtitle%>&datetime=<%=datetime%>">
合作</a></font><b>
</TD></TR></TBODY></TABLE>
</TD>
</TR>
</TBODY>
</TABLE>
<TABLE border=0 cellPadding=0 cellSpacing=0 width=575>
<TBODY>
<TR>
<%do while not rs.eof%>
<TD align=right>
<TABLE border=0 cellPadding=0 cellSpacing=1 width="98%" style="border-collapse: collapse" bordercolor="#111111">
<TBODY>
<TR>
<TD width="8%">
<font size="2"><%if rs("type")="采购" then%></font><FONT color=#FF0000>[<%=rs("type")%>]</FONT><font face="Arial"><%elseif rs("type")="供应" then%></font><FONT color=#0066ff>[</FONT><font color="#0066FF"><%=rs("type")%></font><FONT color=#0066ff>]</FONT><font face="Arial"><%elseif rs("type")="代理" then%></font><FONT color=#008000>[<%=rs("type")%>]</FONT><font face="Arial"><%elseif rs("type")="合作" then%></font><FONT color=#800080>[<%=rs("type")%>]</FONT><font face="Arial"><%end if%></font>
</TD>
<TD height=18>
<IMG src="images/list3.gif"> <b> <a href='business_info.asp?info_id=<%=rs("info_id")%>'><%=rs("showname")%></a></b>
</TD>
<TD width="15%">
<%=rs("dateandtime")%>
</TD>
</TR>
<TR>
<TD align=middle bgColor=#f5f5f5 height=20 width="8%">
<font size="2"><%if rs("type")="采购" then%><img border="0" src="images/a-qg.gif"></font><font face="Arial"><%elseif rs("type")="供应" then%><img border="0" src="images/a-gy.gif"><%elseif rs("type")="代理" then%><img border="0" src="images/a-dl.gif"><%elseif rs("type")="合作" then%><img border="0" src="images/a-hz.gif"><%end if%></font></TD>
<TD bgColor=#f5f5f5 colSpan=2>·<FONT color=#000080> <%if rs("web")="" or rs("web")="空" then%>
<a target="_blank" href="../company/index.asp?id=<%=rs("gsid")%>"><%=rs("company")%></a>
<%else%>
<A href="<%=rs("web")%>" target="_blank"><%=rs("company")%></A>
<%end if%></FONT><FONT color=#003399>
</FONT><FONT color=#000080>[<%=rs("country")%>.<%=rs("city")%>] </FONT> </TD></TR>
<TR>
<TD colSpan=3 height=7 vAlign=center></TD></TR>
<TR>
<TD align=middle vAlign=center width="8%"> </TD>
<TD colSpan=2
vAlign=center>
<%=mid(rs("content"),1,78)%><FONT
color=#003399>..[<a href="business_info.asp?info_id=<%=rs("info_id")%>" style="text-decoration: none">详细信息</a>]</FONT><BR>
</TD></TR></TBODY>
</TABLE>
</TD>
</TR>
<TR>
<TD align=middle height=15>
<IMG height=3 src="images/tradechance_jrgyxx_x3.gif" width=570>
</TD>
</TR>
<% i=i+1
if i>=MaxPerPage then exit do
rs.movenext
loop
end sub
function showpage(totalnumber,maxperpage,filename)
dim n
if totalnumber mod maxperpage=0 then
n= totalnumber \ maxperpage
else
n= totalnumber \ maxperpage+1
end if
response.write "<form method=Post action="&filename&"?sortid="&sortid&"&txtitle="&keyword&">"
%>
<%
if CurrentPage<2 then
response.write "<table border=0 width=98% cellspacing=0 cellpadding=0>"
response.write "<tr height=30>"
response.write "<td align=center>"
response.write "共<font color=ff6600><b>"&n&"</b></font>页 第<font color=ff6600><b>"&CurrentPage&"</b></font>页 共检索到<font color=ff6600><b>"&totalnumber&"</b></font>条信息</TD>"
response.write "<td align=right>"
response.write "【最前页】【上一页】"
else
response.write "<table border=0 width=98% cellspacing=0 cellpadding=0>"
response.write "<tr height=30>"
response.write "<td align=center>"
response.write "共<font color=ff6600><b>"&n&"</b></font>页 第<font color=ff6600><b>"&CurrentPage&"</b></font>页 共检索到<font color=ff6600><b>"&totalnumber&"</b></font>条信息"
response.write "<td align=right>"
response.write "【<a href="&filename&"?page=1&sortid="&sortid&"&typeid="&typeid&"&txtitle="&keyword&"&datetime="&datetime&"&type="&abc&">最前页</a>】"
response.write "【<a href="&filename&"?page="&CurrentPage-1&"&sortid="&sortid&"&typeid="&typeid&"&txtitle="&keyword&"&datetime="&datetime&"&type="&abc&">上一页</a>】"
end if
if n-currentpage<1 then
response.write "【下一页】【最后页】"
else
response.write "【<a href="&filename&"?page="&(CurrentPage+1)&"&sortid="&sortid&"&typeid="&typeid&"&txtitle="&keyword&"&datetime="&datetime&"&type="&abc&">"
response.write "下一页</a>】【<a href="&filename&"?page="&n&"&sortid="&sortid&"&typeid="&typeid&"&txtitle="&keyword&"&datetime="&datetime&"&type="&abc&">最后页</a>】"
end if
response.write "</td>"
response.write "</tr>"
response.write "</form>"
end function
%><%sub content%><%end sub%>
</TBODY>
</TABLE>
</td>
</tr>
</table>
</TD></TR></TBODY></TABLE>
</td>
</tr>
<tr>
<td width="100%" height="1" bgcolor="#F4FAFF"> </td>
</tr>
<tr>
<td width="100%" height="12"></td>
</tr>
</table>
</TD></TR></TBODY></TABLE>
</CENTER>
<!--#include file="../inc/end.asp"-->
</HTML>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?