<!--#include file="inc/conn.asp"-->
<!--#include file="inc/inc.asp"-->
<title><%=title%>-详细分类列表</title>
<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="980" valign="top" bgcolor="#F2F2F2" style="border-style:none"><table width="970" 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;&nbsp; 位置导航：</font>
<a href="/">首页</a>→&nbsp;全部分类</td>
        <td width="239" background="img/sortcontentbarbg.jpg" style="border-style:none"><span class=font1>&nbsp;</span></td>
      </tr>
      <tr>
        <td height="156" colspan="2" bgcolor="#FFFFFF" style="border-style:none"  valign="top"><%
dim Nclasslie,classlie,classid
Set Nclasslie =Server.CreateObject("ADODB.Recordset") 
sql="select * from jle_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")%>
<TABLE width="99%" border=0 align="center" cellpadding="0" cellSpacing=0>
<TBODY>
<TR>
<TD height="32" colspan="5" align=left background="img/linebg.jpg"> &nbsp;<img src="img/dot03.gif"> <a href=info.asp?/=<%=classid%>&cnmai=1>
<font color="#990033" size="2"><u><b><%=classlie("class1")%></b></u></font></a>
<%
set rs=conn.execute("select count(id) from [jle_xinxi] where class1="&classid&"")
%>
[<%=rs(0)%>]</TD>  
</TR>
<%
sql="select * from jle_class2 where class1="&classid  
Nclasslie.open sql,conn,1,1  
do while not Nclasslie.eof
%>   
<TR>  
<TD  width="20%" align="center"><%if not Nclasslie.eof then%><a href=info.asp?/=<%=classid%>&//=<%=Nclasslie("id")%>&/1=<%=escape(Nclasslie("class2"))%>&cnmai=2><font color="#000000"><%=Nclasslie("class2")%></font></a>  
<%
set rs=conn.execute("select count(id) from [jle_xinxi] where class1="&classid&" and class2="&Nclasslie("id")&"")
response.write "["&rs(0)&"]"
Nclasslie.movenext 
end if
%>
</TD>  
<TD width="20%" align="center"><%if not Nclasslie.eof then%><a href=info.asp?/=<%=classid%>&//=<%=Nclasslie("id")%>&/1=<%=escape(Nclasslie("class2"))%>&cnmai=2><font color="#000000"><%=Nclasslie("class2")%></font></a>  
<%
              set rs=conn.execute("select count(id) from [jle_xinxi] where class1="&classid&" and class2="&Nclasslie("id")&"")
              response.write "["&rs(0)&"]"
              Nclasslie.movenext
              end if%>
</TD>  
<TD width="20%"  align="center"><%if not Nclasslie.eof then%><a href=info.asp?/=<%=classid%>&//=<%=Nclasslie("id")%>&/1=<%=escape(Nclasslie("class2"))%>&cnmai=2><font color="#000000"><%=Nclasslie("class2")%></font></a>  
<%
              set rs=conn.execute("select count(id) from [jle_xinxi] where class1="&classid&" and class2="&Nclasslie("id")&"")
              response.write "["&rs(0)&"]"
              Nclasslie.movenext  
              end if
              %>
</TD>  
<TD width="20%" align="center"><%if not Nclasslie.eof then%><a href=info.asp?/=<%=classid%>&//=<%=Nclasslie("id")%>&/1=<%=escape(Nclasslie("class2"))%>&cnmai=2><font color="#000000"><%=Nclasslie("class2")%></font></a>  
<%
              set rs=conn.execute("select count(id) from [jle_xinxi] where class1="&classid&" and class2="&Nclasslie("id")&"")
              response.write "["&rs(0)&"]"
              Nclasslie.movenext
              end if
              %>
</TD>  
<TD width="20%" align="center"><%if not Nclasslie.eof then%><a href=info.asp?/=<%=classid%>&//=<%=Nclasslie("id")%>&/1=<%=escape(Nclasslie("class2"))%>&cnmai=2><font color="#000000"><%=Nclasslie("class2")%></font></a>  
<%
              set rs=conn.execute("select count(id) from [jle_xinxi] where class1="&classid&" and class2="&Nclasslie("id")&"")
              response.write "["&rs(0)&"]"
              Nclasslie.movenext
              end if
              %>
</TD>  

</TR>
<%
loop               
Nclasslie.Close               
%></TBODY></TABLE>
<%
classlie.movenext               
loop  
end if  
classlie.close  
set classlie=nothing  
set Nclasslie=nothing 
closedb
%></td>
      </tr>
    </table></td>
    
  </tr>
</table>

<!--#include file="foot.asp"-->