<% set rs=server.CreateObject("adodb.Recordset") sql="Select * from Class_Table order by ID asc" rs.open sql,conn,1,1 if not rs.eof then %> <%for j = 1 to 2%> <% if rs.eof then exit for end if next end if%>
|美容中心首页 <%for i=1 to 8%> <%if rs("Class") = "首页" then response.write("") else%> " target="_parent"><%=rs("Class")%> <%end if%>  |  <% rs.movenext if rs.eof then exit for end if next %>