%@LANGUAGE="VBSCRIPT"%>
<%
dim vError,vSent
vSent=""
vError=""
if request("SendReg")="true" then
' if request("Maker")<>"0" and trim(request("OtherM"))<>"" then
' vError=vError & "You MUST select 'Other Maker', to specify an alternative Maker! "
' elseif request("Maker")="0" and trim(request("OtherM"))="" then
' vError=vError & "If you select 'Other Maker', you MUST specify that Maker! "
' end if
if trim(request("FirstName"))="" or len(trim(request("FirstName")))<2 then
vError=vError & "You MUST enter your correct First Name! "
end if
if trim(request("LastName"))="" or len(trim(request("LastName")))<2 then
vError=vError & "You MUST enter your correct Last Name! "
end if
if trim(request("Street"))="" then
vError=vError & "You MUST enter the Street for your Address! "
end if
if trim(request("Town"))="" or len(trim(request("Town")))<3 then
vError=vError & "You MUST enter the Town for your Address! "
end if
if trim(request("County"))="" or len(trim(request("County")))<2 then
vError=vError & "You MUST enter the County/State/Province/Canton for your Address! "
end if
if trim(request("Country"))="" then
vError=vError & "You MUST select a Country for your Address! "
end if
if trim(request("PostCode"))="" then
vError=vError & "You MUST enter the Post/Zip Code for your Address! "
end if
dim vCheckTel
vCheckTel=(trim(request("HomeTel"))+trim(request("WorkTel"))+trim(request("MobileTel")))
if vCheckTel="" then
vError=vError & "You MUST enter EITHER your Home, Work or Mobile Telephone Number! "
else
if trim(request("HomeTel"))<>"" and not isnumeric(replace(request("HomeTel")," ","")) then
vError=vError & "You MUST enter your correct Home Telephone Number (Numbers Only)! "
end if
if trim(request("WorkTel"))<>"" and not isnumeric(replace(request("WorkTel")," ","")) then
vError=vError & "You MUST enter your correct Work Telephone Number (Numbers Only)! "
end if
if trim(request("MobileTel"))<>"" and not isnumeric(replace(request("MobileTel")," ","")) then
vError=vError & "You MUST enter your correct Mobile Telephone Number (Numbers Only)! "
end if
end if
%>
<%
if not IsEmailAddress(request("Email")) then
vError=vError & "You MUST enter a valid Email Address! "
else
Dim rsEmailCheck__MMColParam
rsEmailCheck__MMColParam = "1"
if (request.form("Email") <> "") then rsEmailCheck__MMColParam = request.form("Email")
set rsEmailCheck = Server.CreateObject("ADODB.Recordset")
rsEmailCheck.ActiveConnection = MM_m_pairs_db_STRING
rsEmailCheck.Source = "SELECT EmailName FROM ContactsTable WHERE EmailName = '" + replace(rsEmailCheck__MMColParam, "'", "''") + "'"
rsEmailCheck.CursorType = 0
rsEmailCheck.CursorLocation = 2
rsEmailCheck.LockType = 3
rsEmailCheck.Open()
rsEmailCheck_numRows = 0
if not rsEmailCheck.EOF or not rsEmailCheck.BOF then
vEmailClass = "input01Error"
vError=vError & "There is already a registered account with MatchedPairs.com using the email address you have entered. please contact us on info@on1.com "
end if
rsEmailCheck.Close()
end if
if vError<>"" then
subDisplayPage()
else
%>
<%
subDisplayPage()
end if
else
subDisplayPage()
end if
sub subDisplayPage()
%>
Midgeholme, Mordon, Sedgefield, County Durham, England TS21 2EY
Fax and Phone: 01740 620667, Mobile Phone: 07973 102221
Directors: J.P. Hall. A.H. Hall and K. Hall
Registration is
confidential, details will not be disclosed without prior authority.
*Please ascertain, if
possible from makers, the number of the gun you require as it does not
necessarily follow that it is consecutive to the above number.