<table width="100%" border="0" cellspacing="0" cellpadding="0">
    <tr>
      <td background="zh_img/Snap12.jpg"><img src="zh_img/Snap11.jpg" width="346" height="19" /></td>
    </tr>
    <tr>
      <td>
      <%
		set rs_a = server.CreateObject("adodb.recordset")
		rs_a.open "select * from zh_bigClass order by id desc",conn,1,1
		
		do while not rs_a.eof
		%>
      <div style="width:291px; padding-bottom:10px; border-right:solid 1px #CCCCCC; float:left; <%if i=4 then response.write "background-color:#faf1e8;"%>">
      	<div style="margin-left:8px;">
        	<div style="font-size:14px; font-weight:bold; line-height:25px;" class="moren"><a href="viewClass.asp?classId=<%=rs_a("id")%>&className=<%=rs_a("bigName")%>&classType=big"><%=rs_a("bigName")%></a></div>
            <div class="moren">
            <%
			set rs_b = server.CreateObject("adodb.recordset")
			rs_b.open "select * from zh_smallClass where parentId="& rs_a("id") &" order by id desc",conn,1,1
			
			do while not rs_b.eof
				response.write "<a href='viewClass.asp?classId="& rs_b("id") &"&className="& rs_b("smallName") &"&classType=small'>"& rs_b("smallName") &"&nbsp;&nbsp;"
			rs_b.movenext
			loop
			
			rs_b.close
			set rs_b = nothing
			%></div>
        </div>
      </div>
      <%
	  
		rs_a.movenext
		loop
		rs_a.close
		set rs_a = nothing
		response.write "<div style='clear:both;'></div>"
		%></td>
    </tr>
  </table>