<% strsql = "select top 3 title from webzineboard where boardtype='34' and isdelete='N' order by createdate desc" set rs = Fdcon.execute(strsql) if not(rs.eof or rs.bof) Then arr_notice = rs.getrows num_notice = rs.recordcount Else num_notice=0 End If strsql = "select top 2 title from webzineboard where boardtype='36' and isdelete='N' order by createdate desc" set rs = Fdcon.execute(strsql) if not(rs.eof or rs.bof) Then arr_qa = rs.getrows num_qa = rs.recordcount Else num_qa=0 End If %>
#htmlcaption1 #htmlcaption2 #htmlcaption3
<%If num_notice > 0 Then For i = 0 To num_notice -1 %> <% Next End If %> <%If num_qa > 0 Then For i = 0 To num_qa -1 %> <% Next End If %>
ㆍ<%=Left(arr_notice(0,i),20)%>
ㆍ<%=Left(arr_qa(0,i),20)%>