1) $t_is_ne_spammer = 1; if (strpos($test, "[URL") > 1) $t_is_ne_spammer = 1; if ($t_is_ne_spammer == 1){ return true; } else { return false; } } function flexerize ($x){ $x = nl2br($x); $a = explode("
", $x); $y = ""; foreach($a as $b){ $b = ltrim($b); $b = str_replace("%", "**procent**", $b); $y .= $b . "**nl**"; } return $y; } if($_REQUEST['Submit']){ $bedrijf = $_POST['bedrijf']; if($bedrijf==""){ $error = true; } $contact = $_POST['contact']; if($contact==""){ $error = true; } $adres = $_POST['adres']; if($adres==""){ $error = true; } $postcode = $_POST['postcode']; if($postcode==""){ $error = true; } $gemeente = $_POST['gemeente']; if($gemeente==""){ $error = true; } $telefoon = $_POST['telefoon']; if($telefoon==""){ $error = true; } $land = $_POST['land']; $fax = $_POST['fax']; $email = $_POST['email']; if($email==""){ $error = true; } $aantal = $_POST['aantal']; $winterpakket = $_POST['winterpakket']; $product = $_POST['product']; $opmerkingen = $_POST['opmerkingen']; $opmerkingen .= "- Product:" . $product. "- WINTERPAKKET:" . $winterpakket; if(!$error){ $to = "info@aprintex.be" . ", "; $to .= "aprintex+formulieren@gmail.com"; $subject = "Aanvraag offerte vanop textilepromo.be"; $body = "bedrijf: $bedrijf
"; $body .= "contact: $contact
"; $body .= "adres: $adres
"; $body .= "postcode: $postcode
"; $body .= "gemeente: $gemeente
"; $body .= "land: $land
"; $body .= "telefoon: $telefoon
"; $body .= "fax: $fax
"; $body .= "email: $email

"; $body .= "aantal: $aantal
"; $body .= "product: $product
"; $body .= "opmerkingen: ".nl2br("$opmerkingen")."
"; $headers = "MIME-Version: 1.0\n"; $headers .= "Content-type: text/html; charset=iso-8859-1\n"; $headers .= "X-Priority: 3\n"; $headers .= "X-MSMail-Priority: Normal\n"; $headers .= "X-Mailer: php\n"; $headers .= "From: \"".$contact."\" <".$email.">\n"; if(!is_spam($opmerkingen)){ mail($to,$subject,$body,$headers); if (!$bericht) $bericht = $opmerking; if (!$bericht) $bericht = $opmerkingen; if (!$bericht) $bericht = $vraag; if (!$contactpersoon) $contactpersoon = $contact; if (!$contactpersoon) $contactpersoon = $naam; if (!$bedrijf) $bedrijf = $firma; $strAfkomst = "www.textilepromo.be"; $product_id = 27; $korting_id = 1; $backlink = "www.textilepromo.be/offerte.php"; $bericht = flexerize($bericht); header("location: http://www.onsvak.be/staline_forms/staline_forms.php?bedrijf=$bedrijf&contactpersoon=$contactpersoon&adres=$adres&postcode=$postcode&gemeente=$gemeente&land=$land&btw=$btw&telefoon=$telefoon&fax=$fax&email=$email&aantal=$aantal&kleur=$kleur&bericht=$bericht&strAfkomst=$strAfkomst&product_id=$product_id&korting_id=$korting_id&backlink=$backlink"); } else { header("location: offerte.php?sent=1"); } } else { echo ""; } } ?> Untitled Document

Vraag hier een offerte op maat aan:

Contactgegevens onkeyup="if(this.value!=''){ this.className=''; }"/>
onkeyup="if(this.value!=''){ this.className=''; }"/>
onkeyup="if(this.value!=''){ this.className=''; }"/>
onkeyup="if(this.value!=''){ this.className=''; }"/>
onkeyup="if(this.value!=''){ this.className=''; }"/>


onkeyup="if(this.value!=''){ this.className=''; }"/>

onkeyup="if(this.value!=''){ this.className=''; }"/>

Offerte aanvraag details