%@LANGUAGE="VBSCRIPT"%> <%OPTION EXPLICIT%> <% '---------------------------------------- ' FILE: /news/default.asp ' PROJECT: JBC ' Developed for JBC by ' Saltmine Creative, Inc. ' www.saltmine.com '---------------------------------------- 'Set the connection dim objConn : set objConn = DAGetPersistentConnection(c_strDAJBCConnection) dim rsArea dim rsResults dim intAreaId : intAreaId = 0 dim strArea : strArea = "In The News" 'Retrieve the content 'Get areaId by Area Name Call DAExecuteQueryNoResults(objConn, rsArea, "SET NOCOUNT ON EXEC spGetAreasbyAreaName '" & DAODBCEncode(strArea) & "'") if not rsArea.eof then intAreaId = rsArea("AreaId") end if 'Get Content by AreaId if intAreaId > 0 then Call DAExecuteQuery(objConn, rsResults,"EXEC spGetContentbyAreaIdOrderbyPubDate " & intAreaId, false) end if %>
In the News
Keep up with the activities and recent events of the Jessie Bullens-Crewe Foundation by reading these articles.
<%if rsResults("URL") <> "" then %>" target = "new"><%=rsResults("pubDate") %>-<%=rsResults("Headline") %><%else %><%=rsResults("pubDate") %>-<%=rsResults("Headline") %><%end if %>
<%=rsResults("BodyText") %>
<%end if %>
<% rsResults.moveNext()%>
<%loop %>
<%end if %>
<%set rsResults = nothing%>