<table cellSpacing="0" cellPadding="0" border="0">
<tr><td height="8"></td></tr>
<tr><td><img border="0" src="img/insort1.gif" width="171" height="31"></td></tr>
<tr><td><img border="0" src="img/insort2.gif" width="171" height="13"></td></tr>
<tr><td align="middle" background="img/insortbg.gif">
<%if rs7("sort")=1 then
sql="select * from sort order by sort_xu desc" 
rs.open sql,conn,1,1 
if rs.bof and rs.eof then 
response.write "没有任何分类" 
else 
do while not rs.eof 
id=rs("sort_id")%><table cellspacing=0 cellpadding=0 width="100%"  border=0 style="border-collapse: collapse" bordercolor="#111111">
<tr><td colspan="3" height="23" align="center"><a href="sort.asp?sort_id=<%=rs("sort_id")%>"><font color="#000099"><%=rs("sort_name")%></font></a></td></tr>
<%set rs8=server.CreateObject("adodb.recordset")
rs8.open "select * from nsort where sort_id="&id&"" ,conn,1,1
%><tr><%i=-1
do while not rs8.eof and not rs8.bof
i=-i
if i=1 then%><td align="right" width="45%" height="23"><a href="nsort.asp?sort_id=<%=rs8("sort_id")%>&nsort_id=<%=rs8("Nsort_id")%>"><%=rs8("Nsort_name")%></a></td>
<td width="10%" align="center" height="23">|</td><%elseif i=-1 then%><td width="45%" height="23"><a href="nsort.asp?sort_id=<%=rs8("sort_id")%>&nsort_id=<%=rs8("Nsort_id")%>"><%=rs8("Nsort_name")%></a></td></tr><tr><%end if%>
<%rs8.movenext
loop
rs8.close
set rs8=nothing
%><%if i=1 then response.write"<td width=45% height=23></td>"%>
</tr></table><%rs.movenext 
loop 
end if 
rs.close
elseif rs7("sort")=2 then%>
<SCRIPT language=javascript1.2 src="inc/menu.js"></SCRIPT>
<table cellspacing=0 cellpadding=0 width="100%"  border=0 style="border-collapse: collapse" bordercolor="#111111"><%sql="select * from sort order by sort_xu DESC" 
rs.open sql,conn,1,1 
if rs.bof and rs.eof then 
response.write "<tr><td align=center>没有任何分类</td></tr>" 
else 
do while not rs.eof 
id=rs("sort_id")%><tr>
<td height="23" align="center"  onclick="menuclick(submenu<%=rs("sort_id")%>,bar<%=rs("sort_id")%>)" id=bar<%=rs("sort_id")%>>
<font color="#000099" style="cursor:hand"><%=rs("sort_name")%></font></td></tr>
<tr id="submenu<%=rs("sort_id")%>" style="DISPLAY: none;"><td>
<table cellspacing=0 cellpadding=0 width="100%"  border=0 style="border-collapse: collapse">
<tr><%set rs8=server.CreateObject("adodb.recordset")
rs8.open "select * from nsort where sort_id="&id&"" ,conn,1,1
i=-1
do while not rs8.eof and not rs8.bof
i=-i
if i=1 then%><td align="right" width="45%" height="23"><a href="nsort.asp?sort_id=<%=rs8("sort_id")%>&nsort_id=<%=rs8("Nsort_id")%>"><%=rs8("Nsort_name")%></a></td>
<td width="10%" align="center" height="23">|</td><%elseif i=-1 then%><td width="45%" height="23"><a href="nsort.asp?sort_id=<%=rs8("sort_id")%>&nsort_id=<%=rs8("Nsort_id")%>"><%=rs8("Nsort_name")%></a></td></tr><tr><%end if%>
<%rs8.movenext
loop
rs8.close
set rs8=nothing
%><%if i=1 then response.write"<td width=45% height=23></td>"%></table></td></tr><%rs.movenext 
loop 
end if 
rs.close
%></table>
<%elseif rs7("sort")=3 then%>
<SCRIPT language=JavaScript src="inc/sort.js"></SCRIPT>
<TABLE cellPadding=0 width="163" border=0><%sql="select * from sort order by sort_xu DESC" 
rs.open sql,conn,1,1 
if rs.bof and rs.eof then 
response.write "No class" 
else 
do while not rs.eof 
id=rs("sort_id")%><TR>
<TD onmouseover="MM_showHideLayers('Layer_<%=id%>', '', 'show')" onmouseout="MM_showHideLayers('Layer_<%=id%>', '', 'hide')" height="23" align="center" background="images/listbg.jpg">
<B><%=rs("sort_name")%></B>
<DIV id=Layer_<%=id%> onmouseover="MM_showHideLayers('Layer_<%=id%>','','show')" style="Z-INDEX: 1; VISIBILITY: hidden; POSITION: absolute;" onmouseout="MM_showHideLayers('Layer_<%=id%>','','hide')">
<table width="172"  border="0" cellspacing="0" cellpadding="0">
<tr><td height="5" background="img/insorts1.gif"></td></tr>
<%set rs8=server.CreateObject("adodb.recordset")
rs8.open "select * from nsort where sort_id="&id&"" ,conn,1,1
do while not rs8.eof and not rs8.bof
%><tr><td height="30" background="img/insorts3.gif"><p style="margin-left: 13px"><a href="nsort.asp?sort_id=<%=rs8("sort_id")%>&nsort_id=<%=rs8("Nsort_id")%>"><font color="#0000CC"><%=rs8("Nsort_name")%></font></a></td></tr>
<tr><td height="1" align="center" background="img/insorts3.gif"><img border="0" src="img/insorts.gif" width="145" height="1"></td></tr><%rs8.movenext
loop
rs8.close
set rs8=nothing%><tr><td height="5" background="img/insorts2.gif"></td></tr></table></DIV></TD></TR><%rs.movenext
loop
end if
rs.close%></TABLE><%end if%></td></tr><tr><td align="middle"><img border="0" src="img/insort3.gif" width="171" height="9"></td></tr></table>