% ' FP_ASP ASP Automatically generated by a Frontpage Component. Do not Edit. On Error Resume Next Session("FP_OldCodePage") = Session.CodePage Session("FP_OldLCID") = Session.LCID Session.CodePage = 1252 Session.LCID = 2057 Err.Clear strErrorUrl = "" If Request.ServerVariables("REQUEST_METHOD") = "POST" Then If Request.Form("VTI-GROUP") = "0" Then Err.Clear Set fp_conn = Server.CreateObject("ADODB.Connection") FP_DumpError strErrorUrl, "Cannot create connection" Set fp_rs = Server.CreateObject("ADODB.Recordset") FP_DumpError strErrorUrl, "Cannot create record set" fp_conn.Open Application("w4mp_ConnectionString") FP_DumpError strErrorUrl, "Cannot open database" fp_rs.Open "notice", fp_conn, 1, 3, 2 ' adOpenKeySet, adLockOptimistic, adCmdTable FP_DumpError strErrorUrl, "Cannot open record set" fp_rs.AddNew FP_DumpError strErrorUrl, "Cannot add new record set to the database" Dim arFormFields0(6) Dim arFormDBFields0(6) Dim arFormValues0(6) arFormFields0(0) = "title" arFormDBFields0(0) = "title" arFormValues0(0) = Request("title") arFormFields0(1) = "contact_email" arFormDBFields0(1) = "contact_email" arFormValues0(1) = Request("contact_email") arFormFields0(2) = "contact_phone" arFormDBFields0(2) = "contact_phone" arFormValues0(2) = Request("contact_phone") arFormFields0(3) = "notice_text" arFormDBFields0(3) = "notice_text" arFormValues0(3) = Request("notice_text") arFormFields0(4) = "live" arFormDBFields0(4) = "live" arFormValues0(4) = Request("live") arFormFields0(5) = "contact_name" arFormDBFields0(5) = "contact_name" arFormValues0(5) = Request("contact_name") FP_SaveFormFields fp_rs, arFormFields0, arFormDBFields0 fp_rs.Update FP_DumpError strErrorUrl, "Cannot update the database" fp_rs.Close fp_conn.Close Session("FP_SavedFields")=arFormFields0 Session("FP_SavedValues")=arFormValues0 Session.CodePage = Session("FP_OldCodePage") Session.LCID = Session("FP_OldLCID") Response.Redirect "notice_confirm.asp" End If End If Session.CodePage = Session("FP_OldCodePage") Session.LCID = Session("FP_OldLCID") %>
|
|
| 11 December 2011 | |
|
|
Post to the Noticeboard Please send us notices of flat shares, property for sale, details of clubs or teams, or anything else you think may be of interest to your colleagues. This facility is available for anyone with a current @parliament.uk email address: MPs, Peers and all staff, both those working for MPs/Peers and those employed by the Lords or Commons. If you have just started working at Westminster or in a constituency office and don't have a parliamentary email address yet, ask a colleague to place a Notice for you. All notices will be considered by the site editor and should be posted within 24 hours. Don't forget to give us your contact details so we can reach you in case of a query. We have a policy of trying to protect staff from any possible harassment, so we will not publish your phone number or postal address, only a contact email address. If you add these details or any non-parliamentary email address they will be removed before the notice is posted. You can also
|