'; if (stristr($str,$word)) $nb++; return $nb; } function isNumber($str) { if(is_numeric($str)) return true; else return false; } $form_9_class='form_9_error'; $form_9_error=''; $form_9_spam=0; $form_9_td_427_class='form_9_info'; $form_9_td_427_error=' '; $form_9_td_427_value=''; $form_9_td_428_class='form_9_info'; $form_9_td_428_error=' '; $form_9_td_428_value=''; $form_9_td_429_class='form_9_info'; $form_9_td_429_error=' '; $form_9_td_429_value=''; $form_9_td_430_class='form_9_info'; $form_9_td_430_error=' '; $form_9_td_430_value=''; $form_9_td_431_class='form_9_info'; $form_9_td_431_error=' '; $form_9_td_431_value=''; $form_9_td_432_class='form_9_info'; $form_9_td_432_error=' '; $form_9_td_432_value=''; $form_9_td_433_class='form_9_info'; $form_9_td_433_error=' '; $form_9_td_433_value=''; $form_9_td_434_class='form_9_info'; $form_9_td_434_error=' '; $form_9_td_434_value=''; $form_9_td_435_class='form_9_info'; $form_9_td_435_error=' '; $select_893_value='Ja'; $select_893_checked='0'; $select_894_value='Nee'; $select_894_checked='0'; if ('jsBKT2bk'==my_get_post('form_9_submit')) { $form_9_error_string='Er zijn fouten gevonden!!'; $form_9_td_427_error_class='form_9_error'; $form_9_td_427_error_must='Dit is een verplicht veld'; $form_9_td_427_error_spam='http: < > zijn niet toegestaan'; $form_9_td_427_value=my_get_post('Naam' ,true); $form_9_body.='Naam : '.my_get_post('Naam')."\r\n"; if (''==trim(my_get_post('Naam'))) {$form_9_td_427_class=$form_9_td_427_error_class; $form_9_td_427_error=$form_9_td_427_error_must; $form_9_error=$form_9_error_string;} $form_9_td_427_spam=form_9_count_spam(my_get_post('Naam')); if ($form_9_td_427_spam>0) { if ($form_9_td_427_class!=$form_9_td_427_error_class) {$form_9_td_427_class=$form_9_td_427_error_class; $form_9_td_427_error=$form_9_td_427_error_spam; $form_9_error=$form_9_error_string;} $form_9_spam += $form_9_td_427_spam; } $form_9_td_428_error_class='form_9_error'; $form_9_td_428_error_must='Dit is een verplicht veld'; $form_9_td_428_error_validation='Dit is geen bestaand e-mail adres'; $form_9_td_428_error_spam='http: < > zijn niet toegestaan'; $form_9_td_428_value=my_get_post('Email' ,true); $form_9_body.='Email : '.my_get_post('Email')."\r\n"; if (''==trim(my_get_post('Email'))) {$form_9_td_428_class=$form_9_td_428_error_class; $form_9_td_428_error=$form_9_td_428_error_must; $form_9_error=$form_9_error_string;} if ($form_9_td_428_class!=$form_9_td_428_error_class && ''!=trim(my_get_post('Email')) && !isEmail(my_get_post('Email'))) {$form_9_td_428_class=$form_9_td_428_error_class; $form_9_td_428_error=$form_9_td_428_error_validation; $form_9_error=$form_9_error_string;} $form_9_td_428_spam=form_9_count_spam(my_get_post('Email')); if ($form_9_td_428_spam>0) { if ($form_9_td_428_class!=$form_9_td_428_error_class) {$form_9_td_428_class=$form_9_td_428_error_class; $form_9_td_428_error=$form_9_td_428_error_spam; $form_9_error=$form_9_error_string;} $form_9_spam += $form_9_td_428_spam; } $form_9_td_429_error_class='form_9_error'; $form_9_td_429_error_spam='http: < > zijn niet toegestaan'; $form_9_td_429_value=my_get_post('Adres' ,true); $form_9_body.='Adres : '.my_get_post('Adres')."\r\n"; $form_9_td_429_spam=form_9_count_spam(my_get_post('Adres')); if ($form_9_td_429_spam>0) { if ($form_9_td_429_class!=$form_9_td_429_error_class) {$form_9_td_429_class=$form_9_td_429_error_class; $form_9_td_429_error=$form_9_td_429_error_spam; $form_9_error=$form_9_error_string;} $form_9_spam += $form_9_td_429_spam; } $form_9_td_430_error_class='form_9_error'; $form_9_td_430_error_spam='http: < > zijn niet toegestaan'; $form_9_td_430_value=my_get_post('Postcode' ,true); $form_9_body.='Postcode : '.my_get_post('Postcode')."\r\n"; $form_9_td_430_spam=form_9_count_spam(my_get_post('Postcode')); if ($form_9_td_430_spam>0) { if ($form_9_td_430_class!=$form_9_td_430_error_class) {$form_9_td_430_class=$form_9_td_430_error_class; $form_9_td_430_error=$form_9_td_430_error_spam; $form_9_error=$form_9_error_string;} $form_9_spam += $form_9_td_430_spam; } $form_9_td_431_error_class='form_9_error'; $form_9_td_431_error_spam='http: < > zijn niet toegestaan'; $form_9_td_431_value=my_get_post('Plaats' ,true); $form_9_body.='Plaats : '.my_get_post('Plaats')."\r\n"; $form_9_td_431_spam=form_9_count_spam(my_get_post('Plaats')); if ($form_9_td_431_spam>0) { if ($form_9_td_431_class!=$form_9_td_431_error_class) {$form_9_td_431_class=$form_9_td_431_error_class; $form_9_td_431_error=$form_9_td_431_error_spam; $form_9_error=$form_9_error_string;} $form_9_spam += $form_9_td_431_spam; } $form_9_td_432_error_class='form_9_error'; $form_9_td_432_error_must='Dit is een verplicht veld'; $form_9_td_432_error_validation='Allen nummer invoer toegestaan'; $form_9_td_432_error_spam='http: < > zijn niet toegestaan'; $form_9_td_432_value=my_get_post('Telefoon' ,true); $form_9_body.='Telefoon : '.my_get_post('Telefoon')."\r\n"; if (''==trim(my_get_post('Telefoon'))) {$form_9_td_432_class=$form_9_td_432_error_class; $form_9_td_432_error=$form_9_td_432_error_must; $form_9_error=$form_9_error_string;} if ($form_9_td_432_class!=$form_9_td_432_error_class && ''!=trim(my_get_post('Telefoon')) && !isNumber(my_get_post('Telefoon'))) {$form_9_td_432_class=$form_9_td_432_error_class; $form_9_td_432_error=$form_9_td_432_error_validation; $form_9_error=$form_9_error_string;} $form_9_td_432_spam=form_9_count_spam(my_get_post('Telefoon')); if ($form_9_td_432_spam>0) { if ($form_9_td_432_class!=$form_9_td_432_error_class) {$form_9_td_432_class=$form_9_td_432_error_class; $form_9_td_432_error=$form_9_td_432_error_spam; $form_9_error=$form_9_error_string;} $form_9_spam += $form_9_td_432_spam; } $form_9_td_433_error_class='form_9_error'; $form_9_td_433_error_spam='http: < > zijn niet toegestaan'; $form_9_td_433_value=my_get_post('Mobiel' ,true); $form_9_body.='Mobiel : '.my_get_post('Mobiel')."\r\n"; $form_9_td_433_spam=form_9_count_spam(my_get_post('Mobiel')); if ($form_9_td_433_spam>0) { if ($form_9_td_433_class!=$form_9_td_433_error_class) {$form_9_td_433_class=$form_9_td_433_error_class; $form_9_td_433_error=$form_9_td_433_error_spam; $form_9_error=$form_9_error_string;} $form_9_spam += $form_9_td_433_spam; } $form_9_td_434_error_class='form_9_error'; $form_9_td_434_error_spam='http: < > zijn niet toegestaan'; $form_9_td_434_value=my_get_post('Vrijetekst' ,true); $form_9_body.='Vrijetekst : '.my_get_post('Vrijetekst')."\r\n"; $form_9_td_434_spam=form_9_count_spam(my_get_post('Vrijetekst')); if ($form_9_td_434_spam>0) { if ($form_9_td_434_class!=$form_9_td_434_error_class) {$form_9_td_434_class=$form_9_td_434_error_class; $form_9_td_434_error=$form_9_td_434_error_spam; $form_9_error=$form_9_error_string;} $form_9_spam += $form_9_td_434_spam; } $form_9_td_435_error_class='form_9_error'; $form_9_td_435_error_must='Dit is een verplicht veld'; $form_9_body.='Nieuwsbrief_1 : '.my_get_post('Nieuwsbrief_1')."\r\n"; if (my_get_post('Nieuwsbrief_1') == $select_893_value) $select_893_checked=1; else $select_893_checked=0; $form_9_body.='Nieuwsbrief_2 : '.my_get_post('Nieuwsbrief_2')."\r\n"; if (my_get_post('Nieuwsbrief_2') == $select_894_value) $select_894_checked=1; else $select_894_checked=0; if ($select_893_checked!=1 && $select_894_checked!=1) {$form_9_td_435_class=$form_9_td_435_error_class; $form_9_td_435_error=$form_9_td_435_error_must; $form_9_error=$form_9_error_string;} if (''==trim($form_9_error) && 0==$form_9_spam) { $receiver='info@lachaleur.nl'; $subject='Contact aanvraag'; if (isEmail( $form_9_td_1_value )) $header='From: '.$form_9_td_1_value; $subject.=$form_9_td_2_value; $subject= substr($subject, 0, 255); $subject=str_replace("\n", " ", $subject); $subject=str_replace("\r", " ", $subject); $body=str_replace("\n.", "\n..", $form_9_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.lachaleur.nl/feedback-thank-you.php'; if (!headers_sent()){ header('Location: '.$url); exit; }else{ echo ''; echo ''; exit; } exit; } } if (trim($form_9_error)) $form_9_error="$form_9_error"; } if ($form_9_spam >= 3) sleep(20); if ($form_9_spam >= 3) $form_9_td_427_value=''; if ($form_9_spam >= 3) $form_9_td_428_value=''; if ($form_9_spam >= 3) $form_9_td_429_value=''; if ($form_9_spam >= 3) $form_9_td_430_value=''; if ($form_9_spam >= 3) $form_9_td_431_value=''; if ($form_9_spam >= 3) $form_9_td_432_value=''; if ($form_9_spam >= 3) $form_9_td_433_value=''; if ($form_9_spam >= 3) $form_9_td_434_value=''; if ($form_9_spam >= 3) $select_893_checked='0'; if ($form_9_spam >= 3) $select_894_checked='0'; ?> La Chaleur

                    e.a.

    Contact:

     

    Naam:
    Email:
    Adres:
    Postcode:
    Plaats:
    Telefoon:
    Mobiel:
    Vrije tekst:
    Nieuwsbrief