<%@LANGUAGE="JAVASCRIPT"%> <% var event_details__MMColParam = "1"; if(String(Request.QueryString("event_id")) != "undefined") { event_details__MMColParam = String(Request.QueryString("event_id")); } %> <% var event_details = Server.CreateObject("ADODB.Recordset"); event_details.ActiveConnection = MM_psi_db_STRING; event_details.Source = "SELECT * FROM Event WHERE event_id = "+ event_details__MMColParam.replace(/'/g, "''") + ""; event_details.CursorType = 0; event_details.CursorLocation = 2; event_details.LockType = 3; event_details.Open(); var event_details_numRows = 0; %> PSI: Events: <%=(event_details.Fields.Item("event_title").Value)%> ">

<%=(event_details.Fields.Item("event_title").Value)%>

<% var event_start = event_details.Fields.Item("event_start").Value; if (event_start != null) { var start = new Date(event_start); var disp_date = start.getDate() + "/" ; disp_date += start.getMonth() +1 + "/" ; disp_date += start.getYear(); var disp_time = start.getHours() + ":"; disp_time += start.getMinutes(); %><% } %> <% var event_end = event_details.Fields.Item("event_end").Value; if (event_end != null && event_end > event_start) { var end = new Date(event_end); var disp_date = end.getDate() + "/" ; disp_date += end.getMonth() +1 + "/" ; disp_date += end.getYear(); var disp_time = end.getHours() + ":"; disp_time += end.getMinutes(); %><% } %> <% var event_venue = event_details.Fields.Item("event_venue").Value; if (event_venue != null) { %><% } %> <% var event_cost = event_details.Fields.Item("event_cost").Value; if (event_cost != null) { %><% } %> <% var event_speaker = event_details.Fields.Item("event_speaker").Value; if (event_speaker != null) { %><% } %> <% var event_contact = event_details.Fields.Item("event_contact").Value; if (event_contact != null) { %><% } %>

Start:

<%=(disp_date)%> at <%=(disp_time)%>

Finish:

<%=(disp_date)%> at <%=(disp_time)%>

Venue:

<%=(event_venue)%>

Cost:

<%=(event_cost)%>

Speaker:

<%=(event_speaker)%><% var speaker_institution = event_details.Fields.Item("speaker_institution").Value; if (speaker_institution != null) { %> (<%=(speaker_institution)%>)<% } %>

Contact:

<%=(event_contact)%>

<% var event_text = event_details.Fields.Item("event_text").Value; if (event_text != null) { %><%=(event_text)%> <% } %> <% var event_text = event_details.Fields.Item("event_text").Value; if (event_text != null) { %>

Notes:

<%=(event_text)%>

<% } %>

Return to the top of this page

<% event_details.Close(); %>