'; if (stristr($str,$word)) $nb++; return $nb; } $form_4_class='form_4_error'; $form_4_error=''; $form_4_spam=0; $form_4_td_22_class='form_4_info'; $form_4_td_22_error=' '; $form_4_td_22_value=''; $form_4_td_23_class='form_4_info'; $form_4_td_23_error=' '; $form_4_td_23_value=''; $form_4_td_24_class='form_4_info'; $form_4_td_24_error=' '; $form_4_td_24_value=''; $form_4_td_25_class='form_4_info'; $form_4_td_25_error=' '; $form_4_td_25_value=''; $form_4_td_26_class='form_4_info'; $form_4_td_26_error=' '; $form_4_td_26_value=''; if ('uxtkzbyt'==my_get_post('form_4_submit')) { $form_4_error_string='There are errors which need correction.'; $form_4_td_22_error_class='form_4_error'; $form_4_td_22_error_must='Error: This field is required!'; $form_4_td_22_error_spam='Error: http: < > are not allowed!'; $form_4_td_22_value=my_get_post('Naam' ,true); $form_4_body.='Naam : '.my_get_post('Naam')."\r\n"; if (''==trim(my_get_post('Naam'))) {$form_4_td_22_class=$form_4_td_22_error_class; $form_4_td_22_error=$form_4_td_22_error_must; $form_4_error=$form_4_error_string;} $form_4_td_22_spam=form_4_count_spam(my_get_post('Naam')); if ($form_4_td_22_spam>0) { if ($form_4_td_22_class!=$form_4_td_22_error_class) {$form_4_td_22_class=$form_4_td_22_error_class; $form_4_td_22_error=$form_4_td_22_error_spam; $form_4_error=$form_4_error_string;} $form_4_spam += $form_4_td_22_spam; } $form_4_td_23_error_class='form_4_error'; $form_4_td_23_error_must='Error: This field is required!'; $form_4_td_23_error_validation='Error: This field must be an email!'; $form_4_td_23_error_spam='Error: http: < > are not allowed!'; $form_4_td_23_value=my_get_post('Email' ,true); $form_4_body.='Email : '.my_get_post('Email')."\r\n"; if (''==trim(my_get_post('Email'))) {$form_4_td_23_class=$form_4_td_23_error_class; $form_4_td_23_error=$form_4_td_23_error_must; $form_4_error=$form_4_error_string;} if ($form_4_td_23_class!=$form_4_td_23_error_class && ''!=trim(my_get_post('Email')) && !isEmail(my_get_post('Email'))) {$form_4_td_23_class=$form_4_td_23_error_class; $form_4_td_23_error=$form_4_td_23_error_validation; $form_4_error=$form_4_error_string;} $form_4_td_23_spam=form_4_count_spam(my_get_post('Email')); if ($form_4_td_23_spam>0) { if ($form_4_td_23_class!=$form_4_td_23_error_class) {$form_4_td_23_class=$form_4_td_23_error_class; $form_4_td_23_error=$form_4_td_23_error_spam; $form_4_error=$form_4_error_string;} $form_4_spam += $form_4_td_23_spam; } $form_4_td_24_error_class='form_4_error'; $form_4_td_24_value=my_get_post('Adres' ,true); $form_4_body.='Adres : '.my_get_post('Adres')."\r\n"; $form_4_td_25_error_class='form_4_error'; $form_4_td_25_error_spam='Error: http: < > are not allowed!'; $form_4_td_25_value=my_get_post('Telefoon' ,true); $form_4_body.='Telefoon : '.my_get_post('Telefoon')."\r\n"; $form_4_td_25_spam=form_4_count_spam(my_get_post('Telefoon')); if ($form_4_td_25_spam>0) { if ($form_4_td_25_class!=$form_4_td_25_error_class) {$form_4_td_25_class=$form_4_td_25_error_class; $form_4_td_25_error=$form_4_td_25_error_spam; $form_4_error=$form_4_error_string;} $form_4_spam += $form_4_td_25_spam; } $form_4_td_26_error_class='form_4_error'; $form_4_td_26_value=my_get_post('Opmerkingen' ,true); $form_4_body.='Opmerkingen : '.my_get_post('Opmerkingen')."\r\n"; if (''!=trim(my_get_post('address'))) $form_4_spam += 10; if (''!=trim(my_get_post('yourstreet'))) $form_4_spam += 10; if (''!=trim(my_get_post('yourname'))) $form_4_spam += 10; if (''!=trim(my_get_post('yourname2'))) $form_4_spam += 10; if (''!=trim(my_get_post('name'))) $form_4_spam += 10; if (''==trim($form_4_error) && 0==$form_4_spam) { $receiver='leo@vanzijl.com'; $subject='Form Result -- Contact'; if (isEmail( $form_4_td_22_value )) $header='From: '.$form_4_td_22_value; $subject= substr($subject, 0, 255); $subject=str_replace("\n", " ", $subject); $subject=str_replace("\r", " ", $subject); $body=str_replace("\n.", "\n..", $form_4_body); if ($body!="") { $result=mail($receiver,$subject,$body,$header); if (!result) { echo 'ERROR: The PHP mail function mail($receiver,$subject,$body,$header); does not work properly on your server, please contact your web hosting.'; exit; } } if ($result) { $url='http://www.vanzijl.com/thank-you.php'; if (!headers_sent()){ header('Location: '.$url); exit; }else{ echo ''; echo ''; exit; } exit; } } if (trim($form_4_error)) $form_4_error="$form_4_error"; } if ($form_4_spam >= 3) sleep(20); if ($form_4_spam >= 3) $form_4_td_22_value=''; if ($form_4_spam >= 3) $form_4_td_23_value=''; if ($form_4_spam >= 3) $form_4_td_24_value=''; if ($form_4_spam >= 3) $form_4_td_25_value=''; if ($form_4_spam >= 3) $form_4_td_26_value=''; ?>
 

Vragen/opmerkingen?

Vul onderstaand formulier in en u krijgt antwoord op al uw vragen!

 

Naam:
address 
Email:
Adres:
Telefoon:
yourstreet 
yourname 
Opmerkingen:
yourname2 
name