% ' FP_ASP Страница ASP, автоматически созданная компонентом FrontPage. Не изменяйте ее. On Error Resume Next Session("FP_OldCodePage") = Session.CodePage Session("FP_OldLCID") = Session.LCID Session.CodePage = 1251 Session.LCID = 1049 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, "Не удается создать соединение" Set fp_rs = Server.CreateObject("ADODB.Recordset") FP_DumpError strErrorUrl, "Не удается создать набор записей" fp_conn.Open Application("feedback_ConnectionString") FP_DumpError strErrorUrl, "Не удается открыть базу данных" fp_rs.Open "Результаты", fp_conn, 1, 3, 2 ' adOpenKeySet, adLockOptimistic, adCmdTable FP_DumpError strErrorUrl, "Не удается открыть набор записей" fp_rs.AddNew FP_DumpError strErrorUrl, "Не удается добавить в базу данных новый набор записей" Dim arFormFields0(10) Dim arFormDBFields0(10) Dim arFormValues0(10) arFormFields0(0) = "Familiya" arFormDBFields0(0) = "Name_comp" arFormValues0(0) = Request("Familiya") arFormFields0(1) = "ContactRequested" arFormDBFields0(1) = "ContactRequested" arFormValues0(1) = Request("ContactRequested") arFormFields0(2) = "Email" arFormDBFields0(2) = "MessageType" arFormValues0(2) = Request("Email") arFormFields0(3) = "Name" arFormDBFields0(3) = "Stamp_time" arFormValues0(3) = Request("Name") arFormFields0(4) = "MessageType" arFormDBFields0(4) = "Name_user" arFormValues0(4) = Request("MessageType") arFormFields0(5) = "Telefon" arFormDBFields0(5) = "Type_browser" arFormValues0(5) = Request("Telefon") arFormFields0(6) = "Address" arFormDBFields0(6) = "Address" arFormValues0(6) = Request("Address") arFormFields0(7) = "Category" arFormDBFields0(7) = "Category" arFormValues0(7) = Request("Category") arFormFields0(8) = "Otchestvo" arFormDBFields0(8) = "UserEmail" arFormValues0(8) = Request("Otchestvo") arFormFields0(9) = "Comments" arFormDBFields0(9) = "Comments" arFormValues0(9) = Request("Comments") FP_SaveFormFields fp_rs, arFormFields0, arFormDBFields0 If Request.ServerVariables("REMOTE_USER") <> "" Then FP_SaveFieldToDB fp_rs, Request.ServerVariables("REMOTE_USER"), "Username" End If If Request.ServerVariables("REMOTE_HOST") <> "" Then FP_SaveFieldToDB fp_rs, Request.ServerVariables("REMOTE_HOST"), "UserTel" End If fp_rs.Update FP_DumpError strErrorUrl, "Не удается обновить базу данных" fp_rs.Close fp_conn.Close FP_FormConfirmation "text/html; charset=windows-1251",_ "Подтверждение формы",_ "Спасибо. Отправлены следующие сведения:",_ "feedback.htm",_ "Возврат к форме." End If End If Session.CodePage = Session("FP_OldCodePage") Session.LCID = Session("FP_OldLCID") %>
Порядок
приема и рассмотрения обращений в Саратовском ТФОМС в электронном виде.