<html>
<head>
<meta http-equiv="Content-Language" content="nl-be">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>.: All Tours :.</title>
<script language="JavaScript">
<!--
function FP_swapImg() {//v1.0
var doc=document,args=arguments,elm,n; doc.$imgSwaps=new Array(); for(n=2; n<args.length;
n+=2) { elm=FP_getObjectByID(args[n]); if(elm) { doc.$imgSwaps[doc.$imgSwaps.length]=elm;
elm.$src=elm.src; elm.src=args[n+1]; } }
}
function FP_preloadImgs() {//v1.0
var d=document,a=arguments; if(!d.FP_imgs) d.FP_imgs=new Array();
for(var i=0; i<a.length; i++) { d.FP_imgs[i]=new Image; d.FP_imgs[i].src=a[i]; }
}
function FP_getObjectByID(id,o) {//v1.0
var c,el,els,f,m,n; if(!o)o=document; if(o.getElementById) el=o.getElementById(id);
else if(o.layers) c=o.layers; else if(o.all) el=o.all[id]; if(el) return el;
if(o.id==id || o.name==id) return o; if(o.childNodes) c=o.childNodes; if(c)
for(n=0; n<c.length; n++) { el=FP_getObjectByID(id,c[n]); if(el) return el; }
f=o.forms; if(f) for(n=0; n<f.length; n++) { els=f[n].elements;
for(m=0; m<els.length; m++){ el=FP_getObjectByID(id,els[n]); if(el) return el; } }
return null;
}
// -->
</script>
<style type="text/css">
<!--
body {
background-color: #e9e9e9;
}
-->
</style>
<link href="All Tours.CSS" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
.stijl1 {
font-family: "HandelGothic BT";
font-size: 14pt;
}
.stijl2 {font-family: Arial, Helvetica, sans-serif}
-->
</style></head>
<body>
<p align="center"><span class="stijl1">BEVESTIGING</span></p>
<p>
<%
' declare variables
Dim objEmail
Dim strBody
Dim blnOk
Dim strNaam
Dim strVoornaam
Dim strAdres1
Dim strAdres2
Dim strAdres3
Dim strTelefoon
Dim strEmail
Dim strTekst
Dim strVraag
Dim strSubject
Dim strCheck
' catch form values
strNaam = Request.Form("T1")
strVoornaam = Request.Form("T2")
strAdres1 = Request.Form("T3")
strAdres2 = Request.Form("T4")
strAdres3 = Request.Form("T5")
strTelefoon = Request.Form("T6")
strEmail = Request.Form("T7")
strTekst = Request.Form("tekst")
strCheck = Request.Form("checkbox")
strVraag = Request.Form("vraag")
If strVraag = "1" then
strVraag = "Prijsofferte"
Elseif strVraag = "2" then
strVraag = "Algemene vraag"
Elseif strVraag = "3" then
strVraag = "Klacht"
End if
strSubject = "All-Tours.be | " & strVraag
' create email body
strBody = ""
strBody = strBody & "Beste," & vbCrLf
strBody = strBody & " " & vbCrLf
strBody = strBody & "Volgende email werd verstuurd vanaf het online contactformulier." & vbCrLf
strBody = strBody & "" & vbCrLf
strBody = strBody & "Contactgegevens:" & vbCrLf
strBody = strBody & " Naam: " & strNaam & " " & strVoornaam & vbCrLf
strBody = strBody & " Adres: " & strAdres1 & " - " & strAdres2 & vbCrLf
strBody = strBody & "" & vbCrLf
strBody = strBody & " Telefoon: " & strTelefoon & vbCrLf
strBody = strBody & " Email: " & strEmail & vbCrLf
strBody = strBody & "" & vbCrLf
strBody = strBody & "Het bericht werd verstuurd op:" & vbCrLf
strBody = strBody & " Datum: " & Right("0"&Day(Date()),2) & "/" & Right("0"&Month(Date()),2) & "/" & Year(Date()) & vbCrLf
strBody = strBody & " Uur: " & FormatDateTime(DateAdd("h",1,Time()),vbShortTime) & vbCrLf
strBody = strBody & "" & vbCrLf
strBody = strBody & "Ik heb een vraag over : " & strVraag & vbCrLf
strBody = strBody & "" & vbCrLf
strBody = strBody & "Reactie:" & vbCrLf & vbCrLf
strBody = strBody & strTekst & vbCrLf
strBody = strBody & "" & vbCrLf
strBody = strBody & " - - - - - " & vbCrLf
If strEmail <> "" then
strBody = strBody & "Deze email kan rechstreeks beantwoord worden!" & vbCrLf
End if
' send email
Set objEmail = Server.CreateObject ("Persits.MailSender")
objEmail.Host = "127.0.0.1"
If strEmail = "" then
strEmail = "no-reply@all-tours.be"
End if
objEmail.From = strEmail
objEmail.Subject = strSubject
objEmail.AddAddress "info@all-tours.be"
'objEmail.AddAddress "leander@pandora.be"
objEmail.Body = strBody
objEmail.Send
Set objEmail = Nothing
%>
</p>
<p>Beste klant,</p>
<p>Wij hebben uw vraag goed ontvangen en nemen zo spoedig mogelijk contact met u op.<br>
Wij wensen u nu reeds te danken voor de interesse die u in Reisbureau All Tours stelt.</p>
<p>Het All Tours team.</p>
</body>
</html>