<!--#include file="conn.asp"-->
<!--#include file="webconfig.asp"-->
<style type="text/css">
<!--
.style1 {
	color: #000000;
	font-size: 14px;
	font-weight: bold;
}
.style4 {color: #000000; font-size: 12px; }
-->
</style>
<LINK href=imagess/shop.css type=text/css rel=stylesheet>
<table width="86%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr> 
<td height="103"> 
<%
set rs=server.CreateObject("adodb.recordset")
rs.open "select * from shop_anclass order by anclassidorder",conn,1,1
if rs.recordcount=0 then
response.write "<br>目前没有商品分类"
else
while not rs.eof
%>
<table width="50%" height="0" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td colspan="2"><img src="imagess/icon_jeok.gif" width="12" height="12" align="absmiddle"> <span class="style1"><a href="class.asp?lx=big&anid=<%=rs("anclassid")%>" target="_blank"><u><%=rs("anclass")%></u></a></span></td>
  </tr>
</table>
<table width=100% border="0" cellpadding="5" cellspacing="0">
<TR>
</tr>
<%
set rs_s=server.CreateObject("adodb.recordset")
rs_s.open "select * from shop_nclass where anclassid="&rs("anclassid")&" order by nclassidorder",conn,1,1
if rs_s.recordcount=0 then 
%>
<tr>
<td width="77%" colspan="8">
 <table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr><td width="80%" height="18" align="center" colspan="8">暂无小分类</td>
</tr>
<%
else
i=0
while not rs_s.eof
%>
<tr> 
<td width="100" height="18">
  <span class="style4"><a href="class.asp?lx=small&anid=<%=rs("anclassid")%>&nid=<%=rs_s("nclassid")%>" target="_blank"><u><%=rs_s("nclass")%></u></a>
  <%rs_s.movenext
	if rs_s.eof then 
	response.write " "
	else
%>
  </span></td>
<td width="100">
  <span class="style4"><a href="class.asp?lx=small&anid=<%=rs("anclassid")%>&nid=<%=rs_s("nclassid")%>" target="_blank"><u><%=rs_s("nclass")%></u></a>
  <%rs_s.movenext
	if rs_s.eof then 
	response.write " "
	else
%>
  </span></td>
<td width="100">
  <span class="style4"><a href="class.asp?lx=small&anid=<%=rs("anclassid")%>&nid=<%=rs_s("nclassid")%>" target="_blank"><u><%=rs_s("nclass")%></u></a>
  <%rs_s.movenext
	if rs_s.eof then 
	response.write " "
	else
%>
  </span></td>
<td width="100">
  <span class="style4"><a href="class.asp?lx=small&anid=<%=rs("anclassid")%>&nid=<%=rs_s("nclassid")%>" target="_blank"><u><%=rs_s("nclass")%></u></a>
  <%rs_s.movenext
	if rs_s.eof then 
	response.write " "
	else
%>
  </span></td>
<td width="100">
  <span class="style4"><a href="class.asp?lx=small&anid=<%=rs("anclassid")%>&nid=<%=rs_s("nclassid")%>" target="_blank"><u><%=rs_s("nclass")%></u></a>
  <%rs_s.movenext
	if rs_s.eof then 
	response.write " "
	else
%>
  </span></td>
<td width="100">
<a href="class.asp?lx=small&anid=<%=rs("anclassid")%>&nid=<%=rs_s("nclassid")%>" class="style4" target="_blank"><u><%=rs_s("nclass")%></u></a>
</td>
<%
rs_s.movenext
end if
end if
end if
end if
end if
wend
end if
%>
</tr>
</table>
<%
rs_s.close
set rs_s=nothing
rs.movenext
wend
end if
rs.close
set rs=nothing
%>
</tr>
</table>
</td>
</tr>
</table>



</body>
</html>