<% Dim FName,LName,Email,Country,Phone,Contact,DayTime,Situation Dim Affect,Outcome,Achieve,Days,SessionDayTime,Payment Dim action action=Request.Form("action") FName=Request.Form("FName") LName=Request.Form("LName") Email=Request.Form("Email") Country=Request.Form("Country") Phone=Request.Form("Phone") Contact=Request.Form("Contact") DayTime=Request.Form("DayTime") Situation=Request.Form("Situation") Affect=Request.Form("Affect") Outcome=Request.Form("Outcome") Achieve=Request.Form("Achieve") Days=Request.Form("Days") SessionDayTime=Request.Form("SessionDayTime") Payment=Request.Form("Payment") If Contact="" Then Contact="Phone" End if If Payment="" Then Payment="60" End if Dim LastURL LastURL=Request.Form("LastURL") If LastURL = "" Then LastURL = -1 Else LastURL=Request.Form("LastURL") End if %>
Reflexology
<% If action="send" or action="" Then If action="" or (action="send" and (FName<"A" or LName<"A" or Email<"A" or Instr(Email,"@")=0 or Instr(Email,".")=0 or Phone<"+"or (Contact="Phone" and DayTime<"+") or Situation<"A" or Days<"A")) Then If action="send" and (FName<"A" or LName<"A" or Email<"A" or Instr(Email,"@")=0 or Instr(Email,".")=0 or Phone<"+" or (Contact="Phone" and DayTime<"+") or Situation<"A" or Days<"A") Then %> Your message wasn't successfully sent. The error was:

<% If FName<"A" Then %> - Please enter a First name
<% End if If LName<"A" Then %> - Please enter a Last name
<% End if If Email<"A" Then %> - Please enter an Email address
<% End if If Instr(Email,"@")=0 or Instr(Email,".")=0 Then %> - Please enter a valid email address
<% End if If Phone<"+" Then %> - Please enter a Contact Phone number
<% End if If Contact="Phone" and DayTime<"+" Then %> - Please enter a preferred Day and/or Time for us to Contact you
<% End if If Situation <"A" Then %> - Please enter the Reason for your requesting Reflexology
<% End if If Days<"A" Then %> - Please enter a preferred Day for your session
<% End if %>
Please try again!

<% End if LastURL = LastURL - 1 %>

Please complete this form to request a Reflexology treatment.

First Name:
Last Name:
Email:
Country:
Contact Telephone (including Area code):
I would prefer to be contacted by checked <% End if %> >Email
checked <% End if %> >Telephone

The best times and days to phone me are
Please provide your reason for requesting Reflexology at this time.
How is this affecting your life right now?
Please describe the outcome you are looking to achieve.
How will you know when you have achieved the outcome you desire?
Please indicate your availability by ticking which day or days of the week you would prefer to receive Reflexology. 0 Then %> checked <% End if %> >Monday
0 Then %> checked <% End if %> >Tuesday
0 Then %> checked <% End if %> >Wednesday
0 Then %> checked <% End if %> >Thursday
0 Then %> checked <% End if %> >Friday
0 Then %> checked <% End if %> >Saturday
0 Then %> checked <% End if %> >Sunday
Which time or times of the day suits you best?
 

Each session of Reflexology is priced at £42 and lasts 45 - 60 mins.

<% Else Dim objEmail Set objEmail = Server.CreateObject("Persits.MailSender") objEmail.Username = "noreply@turquoiseray.com" objEmail.Password = "stinkie" objEmail.Host = "mail.turquoiseray.com" objEmail.From = "noreply@turquoiseray.com" objEmail.AddAddress Email objEmail.Subject = "Reflexology Treatment" objEmail.Body = "Dear " & FName & vbCRLF & vbCRLF _ & "Thank you for enquiring about a Reflexology treatment." & vbCRLF & vbCRLF _ & vbCRLF & vbCRLF _ & "Tracy will be in touch with you real soon, to set up an appointment" & vbCRLF & vbCRLF _ & vbCRLF & vbCRLF _ & "Best Wishes" & vbCRLF & vbCRLF _ & "The Team at Turquoise Ray" objEmail.Send Set objEmail = Nothing Set objEmail = Server.CreateObject("Persits.MailSender") objEmail.Username = "noreply@turquoiseray.com" objEmail.Password = "stinkie" objEmail.IsHTML = True objEmail.Host = "mail.turquoiseray.com" objEmail.From = "noreply@turquoiseray.com" objEmail.AddAddress "noreply@turquoiseray.com" objEmail.Subject = Fname & " " & LName & " Would Like to Receive Reflexology" objEmail.Body = Fname & " " & LName & "" & vbCRLF & vbCRLF _ & "

" _ &" " _ &"" _ &"" _ &" " _ &" " _ &" " _ &" " _ &" " _ &" " _ &" " _ &" " _ &" " _ &" " _ &" " _ &" " _ &" " _ &" " _ &" " _ &" " _ &" " _ &" " _ &" " _ &" " _ &" " _ &" " _ &" " _ &" " _ &" " _ &" " _ &" " _ &" " _ &" " _ &" " _ &" " _ &" " _ &" " _ &" " _ &" " _ &" " _ &" " _ &" " _ &" " _ &" " _ &" " _ &" " _ &" " _ &" " _ &" " _ &" " _ &"
" _ &"First Name:" _ &"" _ & FName _ &"
" _ &" Last Name: " _ &" " _ & LName _ &"
" _ &" Email: " _ &" " _ & Email _ &"
" _ &" Country: " _ &" " _ & Country _ &"
" _ &" Contact Telephone (including Area code): " _ &" " _ & Phone _ &"
" _ &" I would prefer to be contacted by " _ &" " _ & Contact If Contact = "Phone" Then objEmail.Body = objEmail.Body &"

" _ &" The best times and days to phone me are " _ & DayTime End if objEmail.Body =objEmail.Body &"
" _ &" Please describe the area or situation that you would like to receive Reflexology for. " _ &" " _ & Situation _ &"
" _ &" How is this affecting your life right now? " _ &" " _ & Affect _ &"
" _ &" Please describe the outcome you are looking to achieve. " _ &" " _ & Outcome _ &"
" _ &" How will you know when you have achieved the outcome you desire? " _ &" " _ & Achieve _ &"
" _ &" Please tick which day or days of the week you would prefer to receive Reflexology. " _ &" " _ & DAYS _ &"
" _ &" Which time or times of the day suits you best? " _ &" " _ & SessionDayTime _ &"
" _ &"" objEmail.Send Set objEmail = Nothing %>
You have successfully sent an email to Turquoise Ray.

Please press Return and you'll be redirected back to the page you were last on.

<% End if Else %> <% End if %>