<!--#include file="inc/conn.asp"-->
<!--#include file="inc/inc.asp"-->
<html><head>
<title><%=city%><%=tit%>-<%=title%>-<%=web%></title>
<link href="inc/style.css" rel="stylesheet" type="text/css">
<meta http-equiv="Content-Language" content="zh-cn">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>
<body>
<%call t()%>
<table width="980" border="1" align="center" cellpadding="0" cellspacing="0" bordercolor="#D2D2D2">
  <tr>
  <td height="40" colspan="2"  background="img/sorttitlebg.jpg" style="border-style:none"><!--#include file="s1.asp" --></td>
    </tr>
  <tr>        

    <td width="764" valign="top" bgcolor="#F2F2F2" style="border-style:none"><table width="756" height="193" border="1" align="center" cellpadding="0" cellspacing="0" bordercolor="#D8D8D8">
      <tr>
        <td width="511" height="35" background="img/sortcontentbarbg.jpg" style="border-style:none">&nbsp;<img src="img/dot1.gif" width="12" height="12">&nbsp;位置导航：<a href="../">[<%=city%>]首页</a>→<a href="info.asp?/=<%=class1%>&cnmai=1"><%=tit%></a><a href="info.asp?/=<%=class1%>&//=<%=class2%>&/1=<%=escape(class2c)%>&cnmai=2"><%=class2c%></a> <span style="background-color: #00FF00"> <%=diqu%></span></td>
        <td width="239" background="img/sortcontentbarbg.jpg" style="border-style:none"><span class=font1>&nbsp; 全部信息</span><font color="#008080">(<img border="0" src="image/pic.gif" width="13" height="13">-图片 <img border="0" src="image/tj.gif" width="12" height="12">-置顶 <img border="0" src="image/jian.gif" width="15" height="15">-推荐)</font></td>
      </tr>
	  <tr><td colspan="2"><%=ad4%></td></tr>
      <tr>
        <td height="156" colspan="2" bgcolor="#FFFFFF" style="border-style:none"  valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0" id="table1" style="border-collapse: collapse">
  <%
dim ThisPage,Pagesize,Allrecord,Allpage
set rs=server.createobject("ADODB.recordset")
tj=0
Select Case cnmai
Case "1"
sql = "select * from jle_xinxi where yz=1 and class1="&class1&" order by b desc,id desc"
Case "2"
sql = "select * from jle_xinxi where yz=1 and class1="&class1&" and class2="&class2&" order by b desc,id desc"
Case "3"
sql = "select * from jle_xinxi where yz=1 and diqu like '%"&diqu&"%' and class1 like '%"&class1&"%' and class2 like '%"&class2&"%'  order by b desc,id desc"
Case "4"
sql = "select * from jle_xinxi where yz=1 and leixing like '%"&leixing&"%' order by b desc,id desc"
Case "5"
sql = "select * from jle_xinxi where yz=1 and tuijian=1 order by b desc,id desc"
Case Else
sql = "select * from jle_xinxi where yz=1 order by b desc,id desc"
End Select
rs.open sql,conn,1,1%>
<%
Pagesize=rs.Pagesize
Allrecord=rs.Recordcount
Allpage=rs.Pagecount
if ThisPage<1 then                           
ThisPage=1
end if
On Error Resume Next
rs.move (ThisPage-1)*Pagesize
if rs.eof then
response.write "还没有相关信息！"
else
b=trim(rs("b"))
bb=len(b)
dim k,bgc
Counter=0
for k=1 to 10
if not rs.eof then
bgc="ffffff"
if k mod 2 =1 then 
bgc="ffffff"
else
bgc="ffffff"
end If
%>
          <tr >
            <td height=32 colspan="5" background="img/linebg.jpg" ><div class="sortbiaoti">&nbsp;[<%=rs("leixing")%>] <a  title="<%=rs("name")%>-发布于<%=datevalue(rs("fbsj"))%>" href=x.asp?cnmai=<%=rs("id")%>>
                <%
if rs("a")<>"0" or rs("tuijian")<>"0" then%>
                <font color=#<%=rs("a")%>><b><%=rs("biaoti")%></b></font>
                <%else%>
                <%=rs("biaoti")%></a>
                    <%end if%>
                    <%if rs("tuijian")="1" then
%>
                    <img src="image/jian.gif" alt="本站推荐" border=0>
                    <%end if%>
                    </div></td>
          </tr>
          <tr>
            <td height="35" colspan="5"><div style="margin-top:8px; margin-left:4px;margin-right:4px;
margin-bottom:8px;font-size:12px;color:#333333;line-height:130%;"> &nbsp;&nbsp;&nbsp;&nbsp;<%=left(rs("memo"),80)%>
                    <%if  len(rs("memo"))>80   then
response.write"…"
end if
%>
            </div>
                <br>
                  <tr>
                    <td width="40%" height="22" bgcolor="#F6F6F6">
                    <td width="12%" bgcolor="#F6F6F6"><img src="img/ico_05.gif" width="9" height="10"><span class="sortbiaoti"> </span><%=datevalue(rs("fbsj"))%>                    
                    <td width="24%" bgcolor="#F6F6F6"><img src="img/qq_02.gif" width="13" height="12"><span class="sortbiaoti"> </span>发布者IP:<%=rs("ip")%>
                    <td width="12%" bgcolor="#F6F6F6"><img src="img/picon.gif" width="10" height="11">[阅读:<%=("llcs")%>]                    
                    <td width="12%" bgcolor="#F6F6F6"><img src="img/ga.gif" width="12" height="13">
                      <%response.write " <a target=""_blank""  href=""x.asp?cnmai="&rs("id")&"#hf""><u>回复此信息</u></a>&nbsp;&nbsp;</span></td></tr>"
%>
                  <tr>
                    <td background="image/bar6.gif" height=2 colspan=8></td>
                                  </tr>
                                  <%else
exit for
end if
rs.movenext
next
end if
rs.close
set rs=nothing
%>
        </table>
          <table border="0" cellpadding="0" style="border-collapse: collapse" bgcolor="#F2F2F2" width="100%">
        <tr>
          <td width="127" height="25" bgcolor="#E8E8E9"><p align="center">共有&nbsp;<font color="#CC5200"><%=Allrecord%></font>&nbsp;条记录</td>
          <td width="103" height="25" bgcolor="#E8E8E9"><p align="center">共 <font color="#CC5200"><%=Allpage%></font> 页</td>
          <td width="126" height="25" bgcolor="#E8E8E9"><p align="center">现在是第 <font color="#CC5200"><%=ThisPage%></font> 页</td>
          <td width="386" height="25" align="right" bgcolor="#E8E8E9"><%
if ThisPage<2 then     
response.write "<font color=""#808080"">首页</font>&nbsp;"
response.write "<font color=""#808080"">上一页</font>&nbsp;"     
else     
response.write "<a href=?page=1&/="&class1&"&//="&class2&"&/1="&class2c&"&/4="&diqu&"&cnmai="&cnmai&">首页</a>&nbsp;"
response.write "<a href=?page="&ThisPage-1&"&/="&class1&"&//="&class2&"&/1="&class2c&"&/4="&diqu&"&cnmai="&cnmai&">上一页</a>&nbsp;"     
end if
if Allpage-ThisPage<1 then     
response.write "<font color=""#808080"">下一页</font>&nbsp;"
response.write "<font color=""#808080"">尾页</font>&nbsp;"  
else     
response.write "<a href=?page="&(ThisPage+1)&"&/="&class1&"&//="&class2&"&/1="&class2c&"&/4="&diqu&"&cnmai="&cnmai&">下一页</a>&nbsp;"   
response.write "<a href=?page="&Allpage&"&/="&class1&"&//="&class2&"&/1="&class2c&"&/4="&diqu&"&cnmai="&cnmai&">尾页</a>&nbsp;"     
end if
%>
              <select name="select" size="1" onChange="location=this.options[this.selectedIndex].value" >
                <%dim h
for h= 1 to Allpage %>
                <option value='?page=<%=h%>&/=<%=class1%>&//=<%=class2%>&/1=<%=class2c%>&/4=<%=diqu%>&cnmai=<%=cnmai%>' <%if h=ThisPage then%> selected <%end if%>><%=h%></option>
                <%next%>
            </select></td>
        </tr>
      </table></td>
      </tr>
    </table></td><td width="214" height="570" valign="top" background="img/rightbg.jpg" style="border-style:none"><%
if class1<>"" and class2=""  then
call di()
call cla()
%>
<div align="center"><%=ad5%></div>
<%
response.write "<br>"

end if
%></td>
  </tr>
</table>


<!--#include file="foot.asp"--></body></html><%call closedb()%>