<% SET rs = Server.CreateObject("ADODB.Recordset") rs.Open "SELECT TOP 5 intSeq, strSubject, dateRegDate FROM MPLUS_BOARD where strBoardID ='notice' and bitDelete='0' ORDER BY dateRegDate DESC", DbCon, adOpenstatic Do Until rs.EOF IF Len(rs("strSubject")) > 40 THEN strSubject = Left(rs("strSubject"), 39) & ".." ELSE strSubject = rs("strSubject") END IF reg_date = rs("dateRegDate") if datediff("h",reg_date,now) < 72 then view_icon = "" Else view_icon = "" end if dateRegDate = FormatDateTime(Rs("dateRegDate"), 2) %> <% Rs.MoveNext Loop Rs.Close %>
"><%=strSubject%> <%=view_icon%> <%=DateValue(dateRegDate)%>
국립 순천대학교 홈페이지 순천대학교 산학협력단
교육과학기술부 한국과학재단
Plastic Electronics 한국전기전자재료학회
UP
Down
<% SET RS3 = DBCON.EXECUTE("SELECT COUNT([intNUM]) AS [RecCount] FROM [MPLUS_STAT]") intNum = RS3(0) RS3.CLOSE DbCon.Close %> <%'=GetFolderList(rootPath & "Skin\Member\Login\", "", "count")%> total <%=intNum%>