<%if request("do")= "del" Then SQLDel = "UPDATE Forces_Events SET Deleted = 'yes' WHERE EventID = "&request("id")&" " Set RSDel = MyConn.Execute(SQLDel) response.redirect "event-board.asp?locname="&request("locname")&"&loccounty="&request("loccounty") end if %>

EVENTS BOARD

<%=request("locname")%>

<%if session("adminType") = "event" then%>

Create an Event

<%end if%>
<%if request("locname") <> "" then GetEvents = "SELECT E.EventID,E.EventTitle, E.EventDate, L.LocName, L.Postcode FROM Forces_Events E, Forces_Locations L WHERE E.Deleted = 'no' AND E.EventDate >= Convert(datetime,'"&date()&"',103) AND L.LocID = E.Location AND L.Location = '"&killchars(request("locname"))&"' " SET RSEvents = MyConn.execute(GetEvents) if RSEvents.EOF then%>

Sorry! No events in this location.

<%else Do While NOT RSEvents.EOF %>

<%if session("adminType") = "event" then%> &locname=<%=request("locname")%>&loccounty=<%=request("loccounty")%>">   &locname=<%=request("locname")%>&loccounty=<%=request("loccounty")%>" onclick="if(!confirm('Are you sure you want to delete this record? It will be removed permanently!')) return false;">   <%end if%> "><%=RSEvents("EventDate")%> - <%=RSEvents("EventTitle")%> (<%=RSEvents("LocName")%> <%=RSEvents("PostCode")%>)

<%RSEvents.Movenext Loop end if elseif request("loccounty") <> "" then GetEvents = "SELECT E.EventID,E.EventTitle, E.EventDate, L.LocName, L.Postcode FROM Forces_Events E, Forces_Locations L WHERE E.Deleted = 'no' AND E.EventDate >= Convert(datetime,'"&date()&"',103) AND L.LocID = E.Location AND L.County = '"&killchars(request("loccounty"))&"' " SET RSEvents = MyConn.execute(GetEvents) if RSEvents.EOF then%>

Sorry! No events in this location.

<%else Do While NOT RSEvents.EOF %>

<%if session("adminType") = "event" then%> &locname=<%=request("locname")%>&loccounty=<%=request("loccounty")%>">   &locname=<%=request("locname")%>&loccounty=<%=request("loccounty")%>" onclick="if(!confirm('Are you sure you want to delete this record? It will be removed permanently!')) return false;">   <%end if%> "><%=RSEvents("EventDate")%> - <%=RSEvents("EventTitle")%> (<%=RSEvents("LocName")%> <%=RSEvents("PostCode")%>)

<%RSEvents.Movenext Loop end if else%> <%if request("country")= "uk" OR request("country")= "cyprus" OR request("country")= "germany" then%> <%else%>

Click a map to search for events in your area.

uk cyprus germany

<%end if%> <%if request("country")="uk" then%>

scotland north east central London south west south east wales northern ireland scotland north wales central east south west south east london northern ireland

<%elseif request("country")="cyprus" then%>

Episkopi Episkopi Akrotiri Akrotiri Dhekelia Dhekelia Ayios Nikolaos Ayios Nikolaos UN Nicosia UN Nicosia

<%elseif request("country")="germany" then%>

Sachsen Nordrhein Rheinland Baden

<%end if%> <%end if%>