<% theNewsID = formatID(request.querystring("nid")) if theNewsID = 0 then response.redirect "index.html" %> CAIS - News
 

<% newsQuery = "select NewsID,title,source,thedate,image1,Image1Caption,image2,Image2Caption, " &_ "image3,Image3Caption,intro,description from NEWS where active=1 and newsID=" & theNewsID set RS = connect.execute(newsQuery) if not RS.eof then %>


<%= RS("title") %>

<%= RS("intro") %>

<% if trim(RS("image1")) <> "" then %>
">
<%= RS("image1caption") %>

<% end if %> <% if trim(RS("image2")) <> "" then %>
">
<%= RS("image2caption") %>

<% end if %> <% if trim(RS("image3")) <> "" then %>
">
<%= RS("image3caption") %>

<% end if %>
<% if RS("thedate") <> "" then thedate = RS("thedate") themonth = month(thedate) theMonthName = MonthName(themonth) response.write "
" & theMonthName & " " & year(thedate) end if %>
<%= RS("source") %>


<%= RS("description") %>
 
 
<% end if %>