%' 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 = 1033 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("Business Listing Submission Form_ConnectionString") FP_DumpError strErrorUrl, "Cannot open database" fp_rs.Open "Results", 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(14) Dim arFormDBFields0(14) Dim arFormValues0(14) arFormFields0(0) = "Website_URL" arFormDBFields0(0) = "Website_URL" arFormValues0(0) = Request("Website_URL") arFormFields0(1) = "e-mail_Email" arFormDBFields0(1) = "e-mail_Email" arFormValues0(1) = Request("e-mail_Email") arFormFields0(2) = "Individual_FullName" arFormDBFields0(2) = "Individual_FullName" arFormValues0(2) = Request("Individual_FullName") arFormFields0(3) = "Phone/Fax_WorkPhone" arFormDBFields0(3) = "Phone/Fax_WorkPhone" arFormValues0(3) = Request("Phone/Fax_WorkPhone") arFormFields0(4) = "Address_City" arFormDBFields0(4) = "Address_City" arFormValues0(4) = Request("Address_City") arFormFields0(5) = "Individual_Title" arFormDBFields0(5) = "Individual_Title" arFormValues0(5) = Request("Individual_Title") arFormFields0(6) = "Address_StreetAddress" arFormDBFields0(6) = "Address_StreetAddress" arFormValues0(6) = Request("Address_StreetAddress") arFormFields0(7) = "Address_ZipCode" arFormDBFields0(7) = "Address_ZipCode" arFormValues0(7) = Request("Address_ZipCode") arFormFields0(8) = "Address_Country" arFormDBFields0(8) = "Address_Country" arFormValues0(8) = Request("Address_Country") arFormFields0(9) = "Address_State" arFormDBFields0(9) = "Address_State" arFormValues0(9) = Request("Address_State") arFormFields0(10) = "Phone/Fax_FAX" arFormDBFields0(10) = "Phone/Fax_FAX" arFormValues0(10) = Request("Phone/Fax_FAX") arFormFields0(11) = "Address_Address2" arFormDBFields0(11) = "Address_Address2" arFormValues0(11) = Request("Address_Address2") arFormFields0(12) = "Business_Organization" arFormDBFields0(12) = "Business_Organization" arFormValues0(12) = Request("Business_Organization") arFormFields0(13) = "Description" arFormDBFields0(13) = "Description" arFormValues0(13) = Request("Description") FP_SaveFormFields fp_rs, arFormFields0, arFormDBFields0 If Request.ServerVariables("HTTP_USER_AGENT") <> "" Then FP_SaveFieldToDB fp_rs, Request.ServerVariables("HTTP_USER_AGENT"), "Browser_type" End If If Request.ServerVariables("REMOTE_HOST") <> "" Then FP_SaveFieldToDB fp_rs, Request.ServerVariables("REMOTE_HOST"), "Remote_computer_name" End If FP_SaveFieldToDB fp_rs, Now, "Timestamp" If Request.ServerVariables("REMOTE_USER") <> "" Then FP_SaveFieldToDB fp_rs, Request.ServerVariables("REMOTE_USER"), "User_name" End If 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 "thanks for playing" End If End If Session.CodePage = Session("FP_OldCodePage") Session.LCID = Session("FP_OldLCID") %>
|
|
|
|
Acme Township Business Listing Submission
If you represent a business located in Acme Township and would like to take advantage of the opportunity to have a free listing on our website, you can submit your information here. Thanks for participating! If you have any questions, you can e-mail them to Sharon Corpe
Acme Township
|