| ||||||||||||||||||||||||||
<!--Best Click 출력하기 시작-->
<table width="180" border="0" cellspacing="0" cellpadding="0"> <tr> <td height="20" align="center"><img src="images/best_click.gif" width="180" height="32" /></td> </tr> <% Dim BestCount BestCount = 8 '8개의 게시물을 출력하기 SET RS = DBCON.EXECUTE("SELECT TOP " & BestCount & " [intSeq],[strSubject],[strBoardID],[intRead] FROM [MPLUS_BOARD] WHERE [bitDelete] != 1 ORDER BY [intRead] DESC") IF RS.EOF THEN %> <tr><td height="20" align="center">등록된 글이 존재하지 않습니다.</td></tr> <% ELSE WHILE NOT(RS.EOF) intSeq = Rs("intSeq") strBoardID = Rs("strBoardID") strSubject = GetCutSubject(RS("strSubject"), 20) intRead = Rs("intRead") %> <tr> <td height="25"> <span style="color:#003366">•</span> <a href="/Mboard.asp?exec=view&strBoardID=<%=strBoardID%>&intSeq=<%=intSeq%>"><%=strSubject%></a><font Color="#0099CC">(<%=intRead%>)</font></td> </tr> <% RS.MOVENEXT WEND END IF %> </table> <!--Best Click 출력하기 끝-->
|
댓글 0