<%
Dim BestCount
BestCount = 5 '8개의 게시물을 출력하기
SET RS = DBCON.EXECUTE("SELECT TOP " & BestCount & " [intSeq],[strSubject],[strBoardID],[intRead], [dateRegDate] FROM [MPLUS_BOARD] WHERE [bitDelete] != 1 AND [strBoardID] IN ('photo', 'focus', 'jildab','1111') AND DATEDIFF(hh, [dateRegDate], getdate()) <= 48 ORDER BY [intRead] DESC")
IF RS.EOF THEN
%>
<%
ELSE
WHILE NOT(RS.EOF)
intSeq = Rs("intSeq")
strBoardID = Rs("strBoardID")
strSubject = GetCutSubject(RS("strSubject"), 26)
intRead = Rs("intRead")
%>
</td>
</tr>
<tr>
<td width="15" height="11" valign="top"><span style="font-size:1pt;"> </span></td>
<td width="12" height="11" valign="top">
<p style="margin-bottom:5;"><IMG src="main/images/dot_gray_02.gif" border="0"></p>
</td>
<td width="152" height="11" valign="top"><a href='/club/Mboard.asp?exec=view&strBoardID=<%=strBoardID%>&intSeq=<%=RS("intSeq")%>' target="_parent" onfocus="blur()"><span style="font-size:9pt;"><%=strSubject%></span></a></td>
</tr>
<%
RS.MOVENEXT
WEND
END IF
%>
댓글 1