<!--#include file="inc/conn.asp"-->
<!--#include file="inc/jle_sub.asp"-->
<!--#include file="fllist.asp"-->
<!--#include file="inc/function.asp"-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title><%=title%>-<%=city%>分类信息,<%=city%>二手市场,<%=city%>人必上的网站</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<meta http-equiv="Content-Language" content="zh-cn" />
<meta name="Keywords"  content="<%=metakey%>" />
<meta name="Description" content="<%=metades%>" />
<link rel="icon" href="<%=web%>/favicon.ico" type="image/x-icon" />
<link rel="shortcut icon" href="<%=web%>/favicon.ico" type="image/x-icon" />
<link href="css/style.css" rel="stylesheet" type="text/css" />

<style type="text/css">
<!--
body,td,th {
	font-family: 微软雅黑;
	font-size: 14px;
}
-->
</style></head>
<body>
<%call top()%>
<BR />
<div align="center">
<SCRIPT src="js/tr.js" type="text/javascript"></SCRIPT>
<table width="1300" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td width="295" valign="top"><table border="1" cellspacing="0" bordercolor="#eaeaea" width ="285" style="border-collapse:collapse;">
      <%
dim Nclasslie,classlie,classid
Set Nclasslie =Server.CreateObject("ADODB.Recordset") 
sql="select * from class1"        
Set classlie = Server.CreateObject("ADODB.Recordset")                          
classlie.open sql,conn,1,1
if not classlie.eof then
do while not classlie.eof
classid=classlie("id")%>
      <tr>
        <td width="1297" height="50"  bgcolor="#fbfbfb"><div style="padding-left:8px;"> <img src="img/icon_1.gif" /><a href="categories.asp?/=<%=classid%>&amp;jle=1" class="bar2"> <b><%=classlie("class1")%></b></a>
                <%
set rs=conn.execute("select count(id) from [jle_info] where class1="&classid&"")
%>
          (<%=rs(0)%>) </div></td>
      </tr>
      <tr>
        <td ><table width="99%" border="0" align="center" cellpadding="4" cellspacing="4">
            <%
sql="select * from class2 where class1="&classid  
Nclasslie.open sql,conn,1,1  
do while not Nclasslie.eof
%>
            <tr>
              <td><%if not Nclasslie.eof then%>
                  <a href="categories.asp?/=<%=classid%>&amp;//=<%=Nclasslie("id")%>&amp;/1=<%=escape(Nclasslie("class2"))%>&amp;jle=2" class="bar3" ><%=Nclasslie("class2")%></a>
                  <%
set rs=conn.execute("select count(id) from [jle_info] where class1="&classid&" and class2="&Nclasslie("id")&"")
response.write "("&rs(0)&")"
Nclasslie.movenext 
end if
%>
              </td>
              <td><%if not Nclasslie.eof then%>
                  <a href="categories.asp?//=<%=Nclasslie("id")%>&amp;/=<%=classid%>&amp;jle=2"  class="bar3"><%=Nclasslie("class2")%></a>
                  <% set rs=conn.execute("select count(id) from [jle_info] where class1="&classid&" and class2="&Nclasslie("id")&"")
              response.write "("&rs(0)&")"
              Nclasslie.movenext
              end if%>
              </td>
              
            </tr>
            <%
loop               
Nclasslie.Close               
%>
        </table></td>
      </tr>
      <%
classlie.movenext               
loop  
end if  
classlie.close  
set classlie=nothing  
set Nclasslie=nothing 

%>
    </table></td>
    <td width="1005" valign="top"><table width="994" border="0" align="center" cellpadding="0" cellspacing="0" class="jlecabg">
  <tr>
    <td width="142" height="29" >&nbsp;</td>
    <td width="720">&nbsp;</td>
    <td width="132"><a href="xx_fabu.asp"><div><img src="img/fb.png" width="122" height="33"  border="0"/></div>
    </a></td>
  </tr>
</table>
	
	
	<%
	set rszy=server.createobject("adodb.recordset")
sqlzy = "select top 32 * from jle_info where yz=1 order by fbsj desc,id desc"
rszy.open sqlzy,conn,1,1
	%>
	
	<table width=100% border="0" cellspacing="0">
                <tr>
                  <%
do while not rszy.eof


%>
                  <%if i mod 2=0 then%>
                </tr>
                <tr>
                  <% end if  
%>
                 <td width="350" height="29">&nbsp;<img  src="img/arrow_gree.gif" />&nbsp;<span style="color:#F30">[<%=rszy("leixing")%>]</span> &nbsp;<a target="_blank" href="<%=rszy("xurl")%>"><font color="#0066CC"><%=left(rszy("biaoti"),22)%></font></a></td>
          <td width="38"><span style="color:#999"><%=(Month(rszy("fbsj"))&"-"&Day(rszy("fbsj"))) %></span> </td>
                  <% 
						i=i+1			 
rszy.movenext 
loop                    
rszy.close     					      
%>
              </table>
			  
			  
      </td>
  </tr>
</table>

<br />
<%
call bottom()
%>




</div>
<p>&nbsp;</p>
</body>
</html>