推 荐 企 业
  您查询的内容为: <%=request("key")%>   以下是您要查询的记录列表。 <% page=clng(request("page")) key=trim(fstr(request("key"))) key2=trim(fstr(request("key2"))) area=fstr(request("area")) big=fstr(request("big")) smallclass=fstr(request("class")) bigclass=fstr(request("bigclass")) set rslook=server.createobject("adodb.recordset") if key2="cp" then if smallclass<>"" and big <>"" then sql77="select * from info where smallclass='"&smallclass&"'and bigclass='"&big&"' order by vip desc, tuijian desc,id asc" aa=1 end if if area<>"" then sql77="select * from info where gscontent like '%"& key &"%' and whereee='"&area&"' order by vip desc, tuijian desc,id asc" bb=1 end if if area="日照" then sql77="select * from info where gscontent like '%"& key &"%' order by vip desc, tuijian desc,id asc" bb=1 end if if bigclass<>"" and smallclass="" then sql77="select * from info where bigclass='"&bigclass&"' order by vip desc, tuijian desc,id asc" cc=1 end if else if key2="tel" then if smallclass<>"" and big <>"" then sql77="select * from info where smallclass='"&smallclass&"'and bigclass='"&big&"' order by vip desc, tuijian desc,id asc" aa=1 end if if area<>"" then sql77="select * from info where phone like '%"& key &"%' and whereee='"&area&"' order by vip desc, tuijian desc,id asc" bb=1 end if if area="日照" then sql77="select * from info where phone like '%"& key &"%' order by vip desc, tuijian desc,id asc" bb=1 end if if bigclass<>"" and smallclass="" then sql77="select * from info where bigclass='"&bigclass&"' order by vip desc, tuijian desc,id asc" cc=1 end if else if key2="dz" then if smallclass<>"" and big <>"" then sql77="select * from info where smallclass='"&smallclass&"'and bigclass='"&big&"' order by vip desc, tuijian desc,id asc" aa=1 end if if area<>"" then sql77="select * from info where address like '%"& key &"%' and whereee='"&area&"' order by vip desc, tuijian desc,id asc" bb=1 end if if area="日照" then sql77="select * from info where address like '%"& key &"%' order by vip desc, tuijian desc,id asc" bb=1 end if if bigclass<>"" and smallclass="" then sql77="select * from info where bigclass='"&bigclass&"' order by vip desc, tuijian desc,id asc" cc=1 end if else aa=1 end if if area<>"" then sql77="select * from info where (InStr(1,LCase(company),LCase('"&key&"'),0)<>0 or (InStr(1,LCase(phone),LCase('"&key&"'),0)<>0 ) or (InStr(1,LCase(address),LCase('"&key&"'),0)<>0 )) and whereee='"&area&"' order by vip desc, tuijian desc,id asc" bb=1 end if if area="日照" then sql77="select * from info where InStr(1,LCase(company),LCase('"&key&"'),0)<>0 or (InStr(1,LCase(phone),LCase('"&key&"'),0)<>0 ) or (InStr(1,LCase(address),LCase('"&key&"'),0)<>0 ) order by vip desc, tuijian desc,id asc" bb=1 end if cc=1 end if end if rslook.open sql77,conn,1,3 if rslook.eof or rslook.bof then response.write"" else %>
<% dim rrrr rrrr=0 set rsrs=server.createobject("adodb.recordset") sql="select * from smallclass where bigclass='"& bigclass &"'order by sorder asc" rsrs.open sql,conn,1,3 %> <% do while not rsrs.eof %> <% if (rrrr mod 6) <> 0 then %> <% else %> <% end if rsrs.movenext rrrr=rrrr+1 if rsrs.eof then for j=1 to 5 - rrrr mod 5 response.write("") next end if loop %>
<%if smallclass=rsrs("smallclass") then%> &bigclass=<%=rsrs("bigclass")%>"><%=left(rsrs("smallclass"),5)%> <%else%> &bigclass=<%=rsrs("bigclass")%>"><%=left(rsrs("smallclass"),5)%> <%end if%>
<%if smallclass=rsrs("smallclass") then%> &bigclass=<%=rsrs("bigclass")%>"><%=left(rsrs("smallclass"),5)%> <%else%> &bigclass=<%=rsrs("bigclass")%>"><%=left(rsrs("smallclass"),5)%> <%end if%>
<% rslook.PageSize=14 if page=0 then page=1 pages=rslook.pagecount if page > pages then page=pages rslook.AbsolutePage=page for j=1 to rslook.PageSize %> bgcolor="#f4f4f4" <%else%>bgcolor="#ffffff" <%end if%> onmouseover="this.style.backgroundColor='#efefef'" onmouseout="this.style.backgroundColor=''">
  .html" target="_blank"><% tuijian=rslook("tuijian") vip=rslook("vip") if tuijian=1 and vip>0 then%><%=rslook("company")%>VIP会员 <%elseif tuijian>0 and (isnull(vip)=true or vip=0) then%><%=rslook("company")%> <%else%><%=rslook("company")%> <% end if %> <% dim ifsite ifsite=rslook("site") if ifsite="http://" then 'response.write"http://"&Request.ServerVariables("HTTP_HOST")&"/"&rslook("id")&".html" else %> " target="_blank"> <%=rslook("site")%> <% end if %>
   电话:<%=replace(rslook("phone"),""&key&"","" & key & "")%> 地址:<%=replace(rslook("address"),""&key&"","" & key & "")%>
<% rslook.movenext if rslook.eof then exit for next end if %>

<%if Page<2 then response.write "首页 上一页 " else response.write "首页 " response.write "上一页 " end if if rslook.pagecount-page<1 then response.write "下一页 尾页" else response.write "" response.write "下一页 尾页" end if response.write " 页次:"&Page&"/"&rslook.pagecount&"页 " response.write " 共"&rslook.recordcount&"条记录 "&rslook.pagesize&"条记录/页" %>

推荐企业
最新加盟
<% set rst=server.createobject("adodb.recordset") sqlt="select top 30 * from info order by id desc" rst.open sqlt,conn,1,3 do while not rst.eof g=g+1 %> <% rst.movenext loop rst.close set rst=nothing %>
.html" target="_blank"><%=left(rst("company"),14)%>