3v4l.org

run code in 300+ PHP versions simultaneously
<h2>Scooter Premie Berekenen</h2> [insert_php] <? session_start(); ini_set('display_errors', true); error_reporting(E_ALL); //Dit is een functie die de data trimt , slashes verwijdert en speciale karakters converteert. function parse($data,$key) { $data = trim($data); $data = stripslashes($data); $data = htmlspecialchars($data); $_SESSION[$key]=$data; return $data; } //Dit is een functie die kijkt of een geldige datum is ingevoerd function parse_datum($datum) { $dag = substr($datum,0,2); $maand = substr($datum,3,2); $jaar = substr($datum,6,4); if(checkdate($maand, $dag, $jaar)==1) { return true; } else { return false; } } //Dit is een functie die een fout print naar de gebruiker function print_error($error) { echo "<span style='color: red; '>$error</span>"; } //Dit is een functie die de leeftijd van de gebruiker berekent function leeftijd($datum) { return floor((time() - strtotime($datum))/31556926); } //Dit is een functie die een premie berekent function bereken_premie($leeftijd,$cc,$status) { $premie = 0; if($status=="inwonend") { $leeftijd = 30; } if($leeftijd<26) { if($cc==125) $premie = 198.44; else if($cc==250) $premie = 262.07; else if($cc==300) $premie = 287.46; else if($cc==400) $premie = 338.33; else if($cc==500) $premie = 389.17; } else if($leeftijd>=26 && $leeftijd<=29) { if($cc==125) $premie = 166.68; else if($cc==250) $premie = 219.93; else if($cc==300) $premie = 241.02; else if($cc==400) $premie = 283.41; else if($cc==500) $premie = 325.77; } else if($leeftijd>29) { if($cc==125) $premie = 103.64; else if($cc==250) $premie = 135.39; else if($cc==300) $premie = 148.12; else if($cc==400) $premie = 173.55; else if($cc==500) $premie = 198.96; } return $premie; } //Dit is een functie die een email stuurt function stuur_email($van,$naar,$onderwerp,$bericht) { $headers = "From: $van \r\n"; $headers .= "Reply-To: $van \r\n"; $headers .= "MIME-Version: 1.0\r\n"; $headers .= "Content-Type: text/html; charset=ISO-8859-1\r\n"; mail($naar,$onderwerp,$bericht,$headers); } $naamError = $datumError = $postcodeError = $emailError = $telError = $merkError = ""; $naam = $datum = $postcode = $email = $tel = $merk = $cc =""; if(!empty($_SESSION['naam'])) $naam = $_SESSION['naam']; if(!empty($_SESSION['datum'])) $datum = $_SESSION['datum']; if(!empty($_SESSION['postcode'])) $postcode = $_SESSION['postcode']; if(!empty($_SESSION['email'])) $email = $_SESSION['email']; if(!empty($_SESSION['tel'])) $tel = $_SESSION['tel']; $ongeval ="nee"; $maatschappij = "Nog geen verzekering"; if ($_SERVER["REQUEST_METHOD"] == "POST") { if(empty($_POST['naam'])) { $naamError = "Naam is een verplicht veld"; } else { $naam = parse($_POST['naam'],"naam"); } if(empty($_POST['datum'])) { $datumError = "Geboortedatum is een verplicht veld"; } else { $datum = $_POST['datum']; if(!parse_datum($datum)) $datumError = "De opgegeven geboortedatum is ongeldig"; } if(empty($_POST['postcode'])) { $postcodeError = "Postcode is een verplicht veld"; } else { $postcode = parse($_POST['postcode'],"postcode"); } if(empty($_POST['email'])) { $emailError = "Email is een verplicht veld"; } else { $email = parse($_POST['email'],"email"); } if(empty($_POST['tel'])) { $telError = "Telefoon is een verplicht veld"; } else { $tel = parse($_POST['tel'],"tel"); } if(empty($_POST['ongeval'])) { $ongeval = "nee"; } else { $ongeval = "ja";} $status = $_POST['status']; if(empty($_POST['maatschappij'])) { $maatschappij = "Nog geen verzekering"; } else { $maatschappij = parse($_POST['maatschappij']); } if(empty($_POST['merk'])) { $merkError = "Merk is een verplicht veld"; } else { $merk = parse($_POST['merk'],"merk"); } $cc = $_POST['cc']; //Als er zich geen fouten voordoen , berekenen we de premie. if($naamError=="" && $datumError=="" && $postcodeError=="" && $emailError=="" && $telError=="" && $merkError=="") { $leeftijd = leeftijd($datum); //bereken de leeftijd aan de hand van de geboortedatum if($ongeval=="ja") $premie = 0; else $premie = bereken_premie($leeftijd,$cc,$status); //bereken de premie //De premie is berekent, we sturen de gebruiker een email met zijn premie voorstel, dit is het bericht dat we hem sturen /****************************************************************************************************************/ $bericht = '<div align="center"> <img class="size-full wp-image-367 aligncenter" style="align: center;" alt="Jongverzekerd.be" src="http://jongverzekerdbe.webhosting.be/wp-content/uploads/2013/02/mail_top.png" width="600" height="149" /> <p style="text-align: center; font-family: Arial, Helvetica, sans-serif; font-size: 12px; color: #000000;">Beste <strong>'.$naam.'</strong>,</p> <p style="text-align: center; font-family: Arial, Helvetica, sans-serif; font-size: 12px; color: #000000;">U heeft een premieberekening gedaan op onze website. In deze e-mail vindt u het resultaat</p> <p style="text-align: center; font-family: Arial, Helvetica, sans-serif; font-size: 12px; color: #000000;"><strong>'; if($premie==0) { $bericht.="U heeft de afgelopen 5 jaar een ongeval gehad. Dit betekent dat wij u geen premie kunnen aanbieden. Onze excuses</strong></p>"; } else { $bericht.="&euro; $premie *</strong></p>"; } $bericht.=' <hr> <p style="text-align: center; font-family: Arial, Helvetica, sans-serif; font-size: 12px; color: #000000;"><strong>Uniek: verdien tot 500 euro per jaar!</strong></p> <p style="text-align: center; font-family: Arial, Helvetica, sans-serif; font-size: 12px; color: #000000;">U hebt vast en zeker nog wel kenissen die ook te veel betalen voor hun verzekering. Maak ze nu klant met deze bon en verdien zelf tot wel 500 euro!</p> <a href="http://www.jongverzekerd.be/wp-content/uploads/2013/06/Doorverwijsbon.pdf"><img class="size-full wp-image-367 aligncenter" style="align: center;" alt="Jongverzekerd.be" src="http://www.jongverzekerd.be/wp-content/uploads/2013/06/knop_doorverwijsbon_jv.jpg" width="600" height="149" /></a> <p style="text-align: center; font-family: Arial, Helvetica, sans-serif; font-size: 12px; color: #000000;">Met vriendelijke groeten,het Jongverzekerd-team.</p> <p style="text-align: center; font-family: Arial, Helvetica, sans-serif; font-size: 10px; color: #000000;">De premie houdt rekening met totaalklant BOAR</p> <p style="text-align: center; font-family: Arial, Helvetica, sans-serif; font-size: 10px; color: #000000;">Acceptatie en tarificatie onder voorwaarden</p> <p style="text-align: center; font-family: Arial, Helvetica, sans-serif; font-size: 8px; color: #000000;">JONGVERZEKERD is een initiatief van:<br/> Groep Alenus & Partners - Dorpstraat 19, 3560 Lummen - T: 013 521 005 - F: 013 521 353 - alenusenpartners@dvvlap.be - Ond. Nr. 0891.261.042<br/> DVV Leuven-Hageland - Martelarenlaan 6B, 3010 Leuven - T: 016 223 975 - F: 016 239 910 - dvv.leuven.hageland@dvvlap.be - Ond. Nr. 0480.497.913<br/> Tussenpersonen van DVV Verzekeringen. FSMA-nr: cA103028 - cA62389</p> </div>'; stuur_email("noreply@jongverzekerd.be",$email,"Uw Scooter Premie",$bericht); echo "<strong>Wij hebben uw premie verstuurd naar $email</strong>"; /****************************************************************************************************************/ //De gegevens van de gebruiker worden hier verstuurd /****************************************************************************************************************/ //overige data $verzendDatum = date('d-m-Y'); $ip = $_SERVER['REMOTE_ADDR']; $beheerder ="hendrik_lievens@hotmail.com"; $bericht = 'Aanvraag verstuurd op :'.$verzendDatum.'<br/> IP-adres gebruiker : '.$ip.'<br/> Aanvraag : <br/> <table width="99%" border="0" cellpadding="1" cellspacing="0" bgcolor="#EAEAEA"> <tr> <td> <table width="100%" border="0" cellpadding="5" cellspacing="0" bgcolor="#FFFFFF"> <tr bgcolor="#FE9000"> <td colspan="2"><font style="font-family: sans-serif; font-size:12px;"><strong>Naam en Voornaam</strong></font></td> </tr> <tr bgcolor="#FFFFFF"> <td width="20">&nbsp;</td> <td><font style="font-family: sans-serif; font-size:12px;">'.$naam.'</font></td> </tr> <tr bgcolor="#FE9000"> <td colspan="2"><font style="font-family: sans-serif; font-size:12px;"><strong>Geboortedatum</strong></font></td> </tr> <tr bgcolor="#FFFFFF"> <td width="20">&nbsp;</td> <td><font style="font-family: sans-serif; font-size:12px;">'.$datum.'</font></td> </tr> <tr bgcolor="#FE9000"> <td colspan="2"><font style="font-family: sans-serif; font-size:12px;"><strong>Postcode</strong></font></td> </tr> <tr bgcolor="#FFFFFF"> <td width="20">&nbsp;</td> <td><font style="font-family: sans-serif; font-size:12px;">'.$postcode.'</font></td> </tr> <tr bgcolor="#FE9000"> <td colspan="2"><font style="font-family: sans-serif; font-size:12px;"><strong>E-mailadres</strong></font></td> </tr> <tr bgcolor="#FFFFFF"> <td width="20">&nbsp;</td> <td><font style="font-family: sans-serif; font-size:12px;">'.$email.'</font></td> </tr> <tr bgcolor="#FE9000"> <td colspan="2"><font style="font-family: sans-serif; font-size:12px;"><strong>Tel of GSM</strong></font></td> </tr> <tr bgcolor="#FFFFFF"> <td width="20">&nbsp;</td> <td><font style="font-family: sans-serif; font-size:12px;">'.$tel.'</font></td> </tr> <tr bgcolor="#FE9000"> <td colspan="2"><font style="font-family: sans-serif; font-size:12px;"><strong>Laatset 5 jaar ongeval gehad</strong></font></td> </tr> <tr bgcolor="#FFFFFF"> <td width="20">&nbsp;</td> <td><font style="font-family: sans-serif; font-size:12px;">'.$ongeval.'</font></td> </tr> <tr bgcolor="#FE9000"> <td colspan="2"><font style="font-family: sans-serif; font-size:12px;"><strong>Burgerlijke Status</strong></font></td> </tr> <tr bgcolor="#FFFFFF"> <td width="20">&nbsp;</td> <td><font style="font-family: sans-serif; font-size:12px;">'.$status.'</font></td> </tr> <tr bgcolor="#FE9000"> <td colspan="2"><font style="font-family: sans-serif; font-size:12px;"><strong>Momenteel verzekerd bij</strong></font></td> </tr> <tr bgcolor="#FFFFFF"> <td width="20">&nbsp;</td> <td><font style="font-family: sans-serif; font-size:12px;">'.$maatschappij.'</font></td> </tr> <tr bgcolor="#FE9000"> <td colspan="2"><font style="font-family: sans-serif; font-size:12px;"><strong>Scootermerk</strong></font></td> </tr> <tr bgcolor="#FFFFFF"> <td width="20">&nbsp;</td> <td><font style="font-family: sans-serif; font-size:12px;">'.$merk.'</font></td> </tr> <tr bgcolor="#FE9000"> <td colspan="2"><font style="font-family: sans-serif; font-size:12px;"><strong>Cilinderinhoud</strong></font></td> </tr> <tr bgcolor="#FFFFFF"> <td width="20">&nbsp;</td> <td><font style="font-family: sans-serif; font-size:12px;">'.$cc.'</font></td> </tr> <tr bgcolor="#FE9000"> <td colspan="2"><font style="font-family: sans-serif; font-size:12px;"><strong>Voorgestelde Premie</strong></font></td> </tr> <tr bgcolor="#FFFFFF"> <td width="20">&nbsp;</td> <td><font style="font-family: sans-serif; font-size:12px;"><strong> &euro;'.$premie.'</strong></font></td> </tr> </table> </td> </tr> </table>'; stuur_email("noreply@jongverzekerd.be",$beheerder,"[SCOOTER] Premie van $naam",$bericht); /****************************************************************************************************************/ } } print_r($_SESSION); ?> [/insert_php] &nbsp; <form action="http://www.jongverzekerd.be/scooter" method="POST"> [insert_php]print_error($naamError); [/insert_php] [one_half]<strong>Naam en Voornaam:*</strong>[/one_half][one_half_last]<input type="text" name="naam" size="40" value="[insert_php] echo $naam; [/insert_php]"/>[/one_half_last] [insert_php]print_error($datumError); [/insert_php] [one_half]<strong>Geboortedatum:*</strong>[/one_half][one_half_last]<input type="text" name="datum" placeholder="dd-mm-jjjj" value="[insert_php] echo $datum; [/insert_php]" size="40" /> Formaat dd-mm-jjjj : <em>15-03-1979</em>[/one_half_last] [insert_php]print_error($postcodeError); [/insert_php] [one_half]<strong>Postcode:*</strong>[/one_half][one_half_last]<input type="text" name="postcode" size="40" value="[insert_php] echo $postcode; [/insert_php]" />[/one_half_last] [insert_php]print_error($emailError); [/insert_php] [one_half]<strong>E-mailadres:*</strong>[/one_half][one_half_last]<em>Uw premieberekening wordt per mail verstuurd,dit adres dient correct te zijn.</em> <input type="email" name="email" size="40" value="[insert_php] echo $email; [/insert_php]"/>[/one_half_last] [insert_php]print_error($telError); [/insert_php] [one_half]<strong>Tel of GSM:*</strong>[/one_half][one_half_last]<input type="text" name="tel" placeholder="012 34 56 78" size="40" value="[insert_php] echo $tel; [/insert_php]"/>[/one_half_last] [one_half]<strong>Laatste 5 jaar ongeval gehad:*</strong>[/one_half] [one_half_last] <input type="checkbox" name="ongeval" value="ja" [insert_php] if($ongeval=="ja") echo 'checked="checked"'; [/insert_php]/> [/one_half_last] [one_half]<strong>Burgerlijke Status:*</strong>[/one_half] [one_half_last] <select name="status"> <option value="inwonend" [insert_php] if($status=="inwonend") echo 'selected="selected"';[/insert_php]>inwonende jonge bestuurder</option> <option value="alleenstaand" [insert_php] if($status=="alleenstaand") echo 'selected="selected"';[/insert_php]>alleenstaand</option> <option value="samenwonend" [insert_php] if($status=="samenwonend") echo 'selected="selected"';[/insert_php]>samenwonend</option> <option value="gehuwd" [insert_php] if($status=="gehuwd") echo 'selected="selected"';[/insert_php]>gehuwd</option> </select> [/one_half_last] [one_half]<strong>Ik ben verzekerd bij:*</strong>[/one_half][one_half_last]<input type="text" name="maatschappij" size="40" value="[insert_php] echo $maatschappij; [/insert_php]" />[/one_half_last] [insert_php]print_error($merkError); [/insert_php] [one_half]<strong>Scootermerk:*</strong>[/one_half][one_half_last]<input type="text" name="merk" size="40" value="[insert_php] echo $merk; [/insert_php]" />[/one_half_last] [one_half]<strong>Cilinderinhoud:*</strong>[/one_half] [one_half_last] <select name="cc"> <option value="125" [insert_php] if($cc=="125") echo 'selected="selected"';[/insert_php]>125</option> <option value="250" [insert_php] if($cc=="250") echo 'selected="selected"';[/insert_php]>250</option> <option value="300" [insert_php] if($cc=="300") echo 'selected="selected"';[/insert_php]>300</option> <option value="400" [insert_php] if($cc=="400") echo 'selected="selected"';[/insert_php]>400</option> <option value="500" [insert_php] if($cc=="500") echo 'selected="selected"';[/insert_php]>500+</option> </select> [/one_half_last] <center><input type="submit" value="Bereken mijn premie" /></center></form>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 27, Position 2 = 30
Branch analysis from position: 27
2 jumps found. (Code = 43) Position 1 = 34, Position 2 = 37
Branch analysis from position: 34
2 jumps found. (Code = 43) Position 1 = 41, Position 2 = 44
Branch analysis from position: 41
2 jumps found. (Code = 43) Position 1 = 48, Position 2 = 51
Branch analysis from position: 48
2 jumps found. (Code = 43) Position 1 = 55, Position 2 = 58
Branch analysis from position: 55
2 jumps found. (Code = 43) Position 1 = 64, Position 2 = 257
Branch analysis from position: 64
2 jumps found. (Code = 43) Position 1 = 67, Position 2 = 69
Branch analysis from position: 67
1 jumps found. (Code = 42) Position 1 = 76
Branch analysis from position: 76
2 jumps found. (Code = 43) Position 1 = 79, Position 2 = 81
Branch analysis from position: 79
1 jumps found. (Code = 42) Position 1 = 90
Branch analysis from position: 90
2 jumps found. (Code = 43) Position 1 = 93, Position 2 = 95
Branch analysis from position: 93
1 jumps found. (Code = 42) Position 1 = 102
Branch analysis from position: 102
2 jumps found. (Code = 43) Position 1 = 105, Position 2 = 107
Branch analysis from position: 105
1 jumps found. (Code = 42) Position 1 = 114
Branch analysis from position: 114
2 jumps found. (Code = 43) Position 1 = 117, Position 2 = 119
Branch analysis from position: 117
1 jumps found. (Code = 42) Position 1 = 126
Branch analysis from position: 126
2 jumps found. (Code = 43) Position 1 = 129, Position 2 = 131
Branch analysis from position: 129
1 jumps found. (Code = 42) Position 1 = 132
Branch analysis from position: 132
2 jumps found. (Code = 43) Position 1 = 138, Position 2 = 140
Branch analysis from position: 138
1 jumps found. (Code = 42) Position 1 = 146
Branch analysis from position: 146
2 jumps found. (Code = 43) Position 1 = 149, Position 2 = 151
Branch analysis from position: 149
1 jumps found. (Code = 42) Position 1 = 158
Branch analysis from position: 158
2 jumps found. (Code = 46) Position 1 = 163, Position 2 = 165
Branch analysis from position: 163
2 jumps found. (Code = 46) Position 1 = 166, Position 2 = 168
Branch analysis from position: 166
2 jumps found. (Code = 46) Position 1 = 169, Position 2 = 171
Branch analysis from position: 169
2 jumps found. (Code = 46) Position 1 = 172, Position 2 = 174
Branch analysis from position: 172
2 jumps found. (Code = 46) Position 1 = 175, Position 2 = 177
Branch analysis from position: 175
2 jumps found. (Code = 43) Position 1 = 178, Position 2 = 257
Branch analysis from position: 178
2 jumps found. (Code = 43) Position 1 = 184, Position 2 = 186
Branch analysis from position: 184
1 jumps found. (Code = 42) Position 1 = 192
Branch analysis from position: 192
2 jumps found. (Code = 43) Position 1 = 197, Position 2 = 199
Branch analysis from position: 197
1 jumps found. (Code = 42) Position 1 = 203
Branch analysis from position: 203
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 199
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 186
2 jumps found. (Code = 43) Position 1 = 197, Position 2 = 199
Branch analysis from position: 197
Branch analysis from position: 199
Branch analysis from position: 257
Branch analysis from position: 177
Branch analysis from position: 174
Branch analysis from position: 171
Branch analysis from position: 168
Branch analysis from position: 165
Branch analysis from position: 151
2 jumps found. (Code = 46) Position 1 = 163, Position 2 = 165
Branch analysis from position: 163
Branch analysis from position: 165
Branch analysis from position: 140
2 jumps found. (Code = 43) Position 1 = 149, Position 2 = 151
Branch analysis from position: 149
Branch analysis from position: 151
Branch analysis from position: 131
2 jumps found. (Code = 43) Position 1 = 138, Position 2 = 140
Branch analysis from position: 138
Branch analysis from position: 140
Branch analysis from position: 119
2 jumps found. (Code = 43) Position 1 = 129, Position 2 = 131
Branch analysis from position: 129
Branch analysis from position: 131
Branch analysis from position: 107
2 jumps found. (Code = 43) Position 1 = 117, Position 2 = 119
Branch analysis from position: 117
Branch analysis from position: 119
Branch analysis from position: 95
2 jumps found. (Code = 43) Position 1 = 105, Position 2 = 107
Branch analysis from position: 105
Branch analysis from position: 107
Branch analysis from position: 81
2 jumps found. (Code = 43) Position 1 = 89, Position 2 = 90
Branch analysis from position: 89
2 jumps found. (Code = 43) Position 1 = 93, Position 2 = 95
Branch analysis from position: 93
Branch analysis from position: 95
Branch analysis from position: 90
Branch analysis from position: 69
2 jumps found. (Code = 43) Position 1 = 79, Position 2 = 81
Branch analysis from position: 79
Branch analysis from position: 81
Branch analysis from position: 257
Branch analysis from position: 58
Branch analysis from position: 51
Branch analysis from position: 44
Branch analysis from position: 37
Branch analysis from position: 30
filename:       /in/a21dW
function name:  (null)
number of ops:  263
compiled vars:  !0 = $naamError, !1 = $datumError, !2 = $postcodeError, !3 = $emailError, !4 = $telError, !5 = $merkError, !6 = $naam, !7 = $datum, !8 = $postcode, !9 = $email, !10 = $tel, !11 = $merk, !12 = $cc, !13 = $ongeval, !14 = $maatschappij, !15 = $status, !16 = $leeftijd, !17 = $premie, !18 = $bericht, !19 = $verzendDatum, !20 = $ip, !21 = $beheerder
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    1     0  E >   ECHO                                                     '%3Ch2%3EScooter+Premie+Berekenen%3C%2Fh2%3E%0A%5Binsert_php%5D%0A'
    4     1        INIT_FCALL                                               'session_start'
          2        DO_ICALL                                                 
    5     3        INIT_FCALL                                               'ini_set'
          4        SEND_VAL                                                 'display_errors'
          5        SEND_VAL                                                 <true>
          6        DO_ICALL                                                 
    6     7        INIT_FCALL                                               'error_reporting'
          8        SEND_VAL                                                 32767
          9        DO_ICALL                                                 
   83    10        ASSIGN                                           ~25     !5, ''
         11        ASSIGN                                           ~26     !4, ~25
         12        ASSIGN                                           ~27     !3, ~26
         13        ASSIGN                                           ~28     !2, ~27
         14        ASSIGN                                           ~29     !1, ~28
         15        ASSIGN                                                   !0, ~29
   84    16        ASSIGN                                           ~31     !12, ''
         17        ASSIGN                                           ~32     !11, ~31
         18        ASSIGN                                           ~33     !10, ~32
         19        ASSIGN                                           ~34     !9, ~33
         20        ASSIGN                                           ~35     !8, ~34
         21        ASSIGN                                           ~36     !7, ~35
         22        ASSIGN                                                   !6, ~36
   85    23        FETCH_IS                                         ~38     '_SESSION'
         24        ISSET_ISEMPTY_DIM_OBJ                         1  ~39     ~38, 'naam'
         25        BOOL_NOT                                         ~40     ~39
         26      > JMPZ                                                     ~40, ->30
   86    27    >   FETCH_R                      global              ~41     '_SESSION'
         28        FETCH_DIM_R                                      ~42     ~41, 'naam'
         29        ASSIGN                                                   !6, ~42
   87    30    >   FETCH_IS                                         ~44     '_SESSION'
         31        ISSET_ISEMPTY_DIM_OBJ                         1  ~45     ~44, 'datum'
         32        BOOL_NOT                                         ~46     ~45
         33      > JMPZ                                                     ~46, ->37
   88    34    >   FETCH_R                      global              ~47     '_SESSION'
         35        FETCH_DIM_R                                      ~48     ~47, 'datum'
         36        ASSIGN                                                   !7, ~48
   89    37    >   FETCH_IS                                         ~50     '_SESSION'
         38        ISSET_ISEMPTY_DIM_OBJ                         1  ~51     ~50, 'postcode'
         39        BOOL_NOT                                         ~52     ~51
         40      > JMPZ                                                     ~52, ->44
   90    41    >   FETCH_R                      global              ~53     '_SESSION'
         42        FETCH_DIM_R                                      ~54     ~53, 'postcode'
         43        ASSIGN                                                   !8, ~54
   91    44    >   FETCH_IS                                         ~56     '_SESSION'
         45        ISSET_ISEMPTY_DIM_OBJ                         1  ~57     ~56, 'email'
         46        BOOL_NOT                                         ~58     ~57
         47      > JMPZ                                                     ~58, ->51
   92    48    >   FETCH_R                      global              ~59     '_SESSION'
         49        FETCH_DIM_R                                      ~60     ~59, 'email'
         50        ASSIGN                                                   !9, ~60
   93    51    >   FETCH_IS                                         ~62     '_SESSION'
         52        ISSET_ISEMPTY_DIM_OBJ                         1  ~63     ~62, 'tel'
         53        BOOL_NOT                                         ~64     ~63
         54      > JMPZ                                                     ~64, ->58
   94    55    >   FETCH_R                      global              ~65     '_SESSION'
         56        FETCH_DIM_R                                      ~66     ~65, 'tel'
         57        ASSIGN                                                   !10, ~66
   95    58    >   ASSIGN                                                   !13, 'nee'
   96    59        ASSIGN                                                   !14, 'Nog+geen+verzekering'
   97    60        FETCH_R                      global              ~70     '_SERVER'
         61        FETCH_DIM_R                                      ~71     ~70, 'REQUEST_METHOD'
         62        IS_EQUAL                                                 ~71, 'POST'
         63      > JMPZ                                                     ~72, ->257
   99    64    >   FETCH_IS                                         ~73     '_POST'
         65        ISSET_ISEMPTY_DIM_OBJ                         1          ~73, 'naam'
         66      > JMPZ                                                     ~74, ->69
  100    67    >   ASSIGN                                                   !0, 'Naam+is+een+verplicht+veld'
         68      > JMP                                                      ->76
  102    69    >   INIT_FCALL                                               'parse'
         70        FETCH_R                      global              ~76     '_POST'
         71        FETCH_DIM_R                                      ~77     ~76, 'naam'
         72        SEND_VAL                                                 ~77
         73        SEND_VAL                                                 'naam'
         74        DO_FCALL                                      0  $78     
         75        ASSIGN                                                   !6, $78
  104    76    >   FETCH_IS                                         ~80     '_POST'
         77        ISSET_ISEMPTY_DIM_OBJ                         1          ~80, 'datum'
         78      > JMPZ                                                     ~81, ->81
  106    79    >   ASSIGN                                                   !1, 'Geboortedatum+is+een+verplicht+veld'
         80      > JMP                                                      ->90
  110    81    >   FETCH_R                      global              ~83     '_POST'
         82        FETCH_DIM_R                                      ~84     ~83, 'datum'
         83        ASSIGN                                                   !7, ~84
  111    84        INIT_FCALL                                               'parse_datum'
         85        SEND_VAR                                                 !7
         86        DO_FCALL                                      0  $86     
         87        BOOL_NOT                                         ~87     $86
         88      > JMPZ                                                     ~87, ->90
  112    89    >   ASSIGN                                                   !1, 'De+opgegeven+geboortedatum+is+ongeldig'
  115    90    >   FETCH_IS                                         ~89     '_POST'
         91        ISSET_ISEMPTY_DIM_OBJ                         1          ~89, 'postcode'
         92      > JMPZ                                                     ~90, ->95
  116    93    >   ASSIGN                                                   !2, 'Postcode+is+een+verplicht+veld'
         94      > JMP                                                      ->102
  118    95    >   INIT_FCALL                                               'parse'
         96        FETCH_R                      global              ~92     '_POST'
         97        FETCH_DIM_R                                      ~93     ~92, 'postcode'
         98        SEND_VAL                                                 ~93
         99        SEND_VAL                                                 'postcode'
        100        DO_FCALL                                      0  $94     
        101        ASSIGN                                                   !8, $94
  120   102    >   FETCH_IS                                         ~96     '_POST'
        103        ISSET_ISEMPTY_DIM_OBJ                         1          ~96, 'email'
        104      > JMPZ                                                     ~97, ->107
  121   105    >   ASSIGN                                                   !3, 'Email+is+een+verplicht+veld'
        106      > JMP                                                      ->114
  123   107    >   INIT_FCALL                                               'parse'
        108        FETCH_R                      global              ~99     '_POST'
        109        FETCH_DIM_R                                      ~100    ~99, 'email'
        110        SEND_VAL                                                 ~100
        111        SEND_VAL                                                 'email'
        112        DO_FCALL                                      0  $101    
        113        ASSIGN                                                   !9, $101
  125   114    >   FETCH_IS                                         ~103    '_POST'
        115        ISSET_ISEMPTY_DIM_OBJ                         1          ~103, 'tel'
        116      > JMPZ                                                     ~104, ->119
  126   117    >   ASSIGN                                                   !4, 'Telefoon+is+een+verplicht+veld'
        118      > JMP                                                      ->126
  128   119    >   INIT_FCALL                                               'parse'
        120        FETCH_R                      global              ~106    '_POST'
        121        FETCH_DIM_R                                      ~107    ~106, 'tel'
        122        SEND_VAL                                                 ~107
        123        SEND_VAL                                                 'tel'
        124        DO_FCALL                                      0  $108    
        125        ASSIGN                                                   !10, $108
  130   126    >   FETCH_IS                                         ~110    '_POST'
        127        ISSET_ISEMPTY_DIM_OBJ                         1          ~110, 'ongeval'
        128      > JMPZ                                                     ~111, ->131
  131   129    >   ASSIGN                                                   !13, 'nee'
        130      > JMP                                                      ->132
  133   131    >   ASSIGN                                                   !13, 'ja'
  135   132    >   FETCH_R                      global              ~114    '_POST'
        133        FETCH_DIM_R                                      ~115    ~114, 'status'
        134        ASSIGN                                                   !15, ~115
  137   135        FETCH_IS                                         ~117    '_POST'
        136        ISSET_ISEMPTY_DIM_OBJ                         1          ~117, 'maatschappij'
        137      > JMPZ                                                     ~118, ->140
  138   138    >   ASSIGN                                                   !14, 'Nog+geen+verzekering'
        139      > JMP                                                      ->146
  140   140    >   INIT_FCALL                                               'parse'
        141        FETCH_R                      global              ~120    '_POST'
        142        FETCH_DIM_R                                      ~121    ~120, 'maatschappij'
        143        SEND_VAL                                                 ~121
        144        DO_FCALL                                      0  $122    
        145        ASSIGN                                                   !14, $122
  142   146    >   FETCH_IS                                         ~124    '_POST'
        147        ISSET_ISEMPTY_DIM_OBJ                         1          ~124, 'merk'
        148      > JMPZ                                                     ~125, ->151
  143   149    >   ASSIGN                                                   !5, 'Merk+is+een+verplicht+veld'
        150      > JMP                                                      ->158
  145   151    >   INIT_FCALL                                               'parse'
        152        FETCH_R                      global              ~127    '_POST'
        153        FETCH_DIM_R                                      ~128    ~127, 'merk'
        154        SEND_VAL                                                 ~128
        155        SEND_VAL                                                 'merk'
        156        DO_FCALL                                      0  $129    
        157        ASSIGN                                                   !11, $129
  147   158    >   FETCH_R                      global              ~131    '_POST'
        159        FETCH_DIM_R                                      ~132    ~131, 'cc'
        160        ASSIGN                                                   !12, ~132
  150   161        IS_EQUAL                                         ~134    !0, ''
        162      > JMPZ_EX                                          ~134    ~134, ->165
        163    >   IS_EQUAL                                         ~135    !1, ''
        164        BOOL                                             ~134    ~135
        165    > > JMPZ_EX                                          ~134    ~134, ->168
        166    >   IS_EQUAL                                         ~136    !2, ''
        167        BOOL                                             ~134    ~136
        168    > > JMPZ_EX                                          ~134    ~134, ->171
        169    >   IS_EQUAL                                         ~137    !3, ''
        170        BOOL                                             ~134    ~137
        171    > > JMPZ_EX                                          ~134    ~134, ->174
        172    >   IS_EQUAL                                         ~138    !4, ''
        173        BOOL                                             ~134    ~138
        174    > > JMPZ_EX                                          ~134    ~134, ->177
        175    >   IS_EQUAL                                         ~139    !5, ''
        176        BOOL                                             ~134    ~139
        177    > > JMPZ                                                     ~134, ->257
  152   178    >   INIT_FCALL                                               'leeftijd'
        179        SEND_VAR                                                 !7
        180        DO_FCALL                                      0  $140    
        181        ASSIGN                                                   !16, $140
  153   182        IS_EQUAL                                                 !13, 'ja'
        183      > JMPZ                                                     ~142, ->186
  154   184    >   ASSIGN                                                   !17, 0
        185      > JMP                                                      ->192
  156   186    >   INIT_FCALL                                               'bereken_premie'
        187        SEND_VAR                                                 !16
        188        SEND_VAR                                                 !12
        189        SEND_VAR                                                 !15
        190        DO_FCALL                                      0  $144    
        191        ASSIGN                                                   !17, $144
  162   192    >   CONCAT                                           ~146    '%3Cdiv+align%3D%22center%22%3E%0A%09%09%09%09%09%09%3Cimg+class%3D%22size-full+wp-image-367+aligncenter%22+style%3D%22align%3A+center%3B%22+alt%3D%22Jongverzekerd.be%22+src%3D%22http%3A%2F%2Fjongverzekerdbe.webhosting.be%2Fwp-content%2Fuploads%2F2013%2F02%2Fmail_top.png%22+width%3D%22600%22+height%3D%22149%22+%2F%3E%0A%09%09%09%09%09%09%3Cp+style%3D%22text-align%3A+center%3B+font-family%3A+Arial%2C+Helvetica%2C+sans-serif%3B+font-size%3A+12px%3B+color%3A+%23000000%3B%22%3EBeste+%3Cstrong%3E', !6
        193        CONCAT                                           ~147    ~146, '%3C%2Fstrong%3E%2C%3C%2Fp%3E%0A%09%09%09%09%09%09%3Cp+style%3D%22text-align%3A+center%3B+font-family%3A+Arial%2C+Helvetica%2C+sans-serif%3B+font-size%3A+12px%3B+color%3A+%23000000%3B%22%3EU+heeft+een+premieberekening+gedaan+op+onze+website.+In+deze+e-mail+vindt+u+het+resultaat%3C%2Fp%3E%0A%09%09%09%09%09%09%3Cp+style%3D%22text-align%3A+center%3B+font-family%3A+Arial%2C+Helvetica%2C+sans-serif%3B+font-size%3A+12px%3B+color%3A+%23000000%3B%22%3E%3Cstrong%3E'
  160   194        ASSIGN                                                   !18, ~147
  165   195        IS_EQUAL                                                 !17, 0
        196      > JMPZ                                                     ~149, ->199
  167   197    >   ASSIGN_OP                                     8          !18, 'U+heeft+de+afgelopen+5+jaar+een+ongeval+gehad.+Dit+betekent+dat+wij+u+geen+premie+kunnen+aanbieden.+Onze+excuses%3C%2Fstrong%3E%3C%2Fp%3E'
        198      > JMP                                                      ->203
  171   199    >   ROPE_INIT                                     3  ~152    '%26euro%3B+'
        200        ROPE_ADD                                      1  ~152    ~152, !17
        201        ROPE_END                                      2  ~151    ~152, '+%2A%3C%2Fstrong%3E%3C%2Fp%3E'
        202        ASSIGN_OP                                     8          !18, ~151
  173   203    >   ASSIGN_OP                                     8          !18, '%09%09%3Chr%3E%0A%09%09%09%09%09%09%3Cp+style%3D%22text-align%3A+center%3B+font-family%3A+Arial%2C+Helvetica%2C+sans-serif%3B+font-size%3A+12px%3B+color%3A+%23000000%3B%22%3E%3Cstrong%3EUniek%3A+verdien+tot+500+euro+per+jaar%21%3C%2Fstrong%3E%3C%2Fp%3E%0A%09%09%09%09%09%09%3Cp+style%3D%22text-align%3A+center%3B+font-family%3A+Arial%2C+Helvetica%2C+sans-serif%3B+font-size%3A+12px%3B+color%3A+%23000000%3B%22%3EU+hebt+vast+en+zeker+nog+wel+kenissen+die+ook+te+veel+betalen+voor+hun+verzekering.+Maak+ze+nu+klant+met+deze+bon+en+verdien+zelf+tot+wel+500+euro%21%3C%2Fp%3E%0A%09%09%09%09%09%09%3Ca+href%3D%22http%3A%2F%2Fwww.jongverzekerd.be%2Fwp-content%2Fuploads%2F2013%2F06%2FDoorverwijsbon.pdf%22%3E%3Cimg+class%3D%22size-full+wp-image-367+aligncenter%22+style%3D%22align%3A+center%3B%22+alt%3D%22Jongverzekerd.be%22+src%3D%22http%3A%2F%2Fwww.jongverzekerd.be%2Fwp-content%2Fuploads%2F2013%2F06%2Fknop_doorverwijsbon_jv.jpg%22+width%3D%22600%22+height%3D%22149%22+%2F%3E%3C%2Fa%3E%0A%09%09%09%09%09%09%3Cp+style%3D%22text-align%3A+center%3B+font-family%3A+Arial%2C+Helvetica%2C+sans-serif%3B+font-size%3A+12px%3B+color%3A+%23000000%3B%22%3EMet+vriendelijke+groeten%2Chet+Jongverzekerd-team.%3C%2Fp%3E%0A%09%09%09%09%09%09%3Cp+style%3D%22text-align%3A+center%3B+font-family%3A+Arial%2C+Helvetica%2C+sans-serif%3B+font-size%3A+10px%3B+color%3A+%23000000%3B%22%3EDe+premie+houdt+rekening+met+totaalklant+BOAR%3C%2Fp%3E%0A%09%09%09%09%09%09%3Cp+style%3D%22text-align%3A+center%3B+font-family%3A+Arial%2C+Helvetica%2C+sans-serif%3B+font-size%3A+10px%3B+color%3A+%23000000%3B%22%3EAcceptatie+en+tarificatie+onder+voorwaarden%3C%2Fp%3E%0A%09%09%09%09%09%09%3Cp+style%3D%22text-align%3A+center%3B+font-family%3A+Arial%2C+Helvetica%2C+sans-serif%3B+font-size%3A+8px%3B+color%3A+%23000000%3B%22%3EJONGVERZEKERD+is+een+initiatief+van%3A%3Cbr%2F%3E%0A%09%09%09%09%09%09Groep+Alenus+%26+Partners+-+Dorpstraat+19%2C+3560+Lummen+-+T%3A+013+521+005+-+F%3A+013+521+353+-+alenusenpartners%40dvvlap.be+-+Ond.+Nr.+0891.261.042%3Cbr%2F%3E%0A%09%09%09%09%09%09DVV+Leuven-Hageland+-+Martelarenlaan+6B%2C+3010+Leuven+-+T%3A+016+223+975+-+F%3A+016+239+910+-+dvv.leuven.hageland%40dvvlap.be+-+Ond.+Nr.+0480.497.913%3Cbr%2F%3E%0A%09%09%09%09%09%09Tussenpersonen+van+DVV+Verzekeringen.+FSMA-nr%3A+cA103028+-+cA62389%3C%2Fp%3E%0A%09%09%09%09%09%3C%2Fdiv%3E'
  185   204        INIT_FCALL                                               'stuur_email'
        205        SEND_VAL                                                 'noreply%40jongverzekerd.be'
        206        SEND_VAR                                                 !9
        207        SEND_VAL                                                 'Uw+Scooter+Premie'
        208        SEND_VAR                                                 !18
        209        DO_FCALL                                      0          
  186   210        ROPE_INIT                                     3  ~158    '%3Cstrong%3EWij+hebben+uw+premie+verstuurd+naar+'
        211        ROPE_ADD                                      1  ~158    ~158, !9
        212        ROPE_END                                      2  ~157    ~158, '%3C%2Fstrong%3E'
        213        ECHO                                                     ~157
  192   214        INIT_FCALL                                               'date'
        215        SEND_VAL                                                 'd-m-Y'
        216        DO_ICALL                                         $160    
        217        ASSIGN                                                   !19, $160
  193   218        FETCH_R                      global              ~162    '_SERVER'
        219        FETCH_DIM_R                                      ~163    ~162, 'REMOTE_ADDR'
        220        ASSIGN                                                   !20, ~163
  194   221        ASSIGN                                                   !21, 'hendrik_lievens%40hotmail.com'
  195   222        CONCAT                                           ~166    'Aanvraag+verstuurd+op+%3A', !19
        223        CONCAT                                           ~167    ~166, '%3Cbr%2F%3E%0A%09%09%09%09%09IP-adres+gebruiker+%3A+'
  196   224        CONCAT                                           ~168    ~167, !20
        225        CONCAT                                           ~169    ~168, '%3Cbr%2F%3E%0A%09%09%09%09%09Aanvraag+%3A+%3Cbr%2F%3E%0A%09%09%09%09%09%3Ctable+width%3D%2299%25%22+border%3D%220%22+cellpadding%3D%221%22+cellspacing%3D%220%22+bgcolor%3D%22%23EAEAEA%22%3E%0A%09%09%09%09%09%09++%3Ctr%3E%0A%09%09%09%09%09%09++++%3Ctd%3E%0A%09%09%09%09%09%09++++++%3Ctable+width%3D%22100%25%22+border%3D%220%22+cellpadding%3D%225%22+cellspacing%3D%220%22+bgcolor%3D%22%23FFFFFF%22%3E%0A%09%09%09%09%09%09++++++++%3Ctr+bgcolor%3D%22%23FE9000%22%3E%0A%09%09%09%09%09%09++++++++++%3Ctd+colspan%3D%222%22%3E%3Cfont+style%3D%22font-family%3A+sans-serif%3B+font-size%3A12px%3B%22%3E%3Cstrong%3ENaam+en+Voornaam%3C%2Fstrong%3E%3C%2Ffont%3E%3C%2Ftd%3E%0A%09%09%09%09%09%09++++++++%3C%2Ftr%3E%0A%09%09%09%09%09%09++++++++%3Ctr+bgcolor%3D%22%23FFFFFF%22%3E%0A%09%09%09%09%09%09++++++++++%3Ctd+width%3D%2220%22%3E%26nbsp%3B%3C%2Ftd%3E%0A%09%09%09%09%09%09++++++++++++%3Ctd%3E%3Cfont+style%3D%22font-family%3A+sans-serif%3B+font-size%3A12px%3B%22%3E'
  207   226        CONCAT                                           ~170    ~169, !6
        227        CONCAT                                           ~171    ~170, '%3C%2Ffont%3E%3C%2Ftd%3E%0A%09%09%09%09%09%09++++++++%3C%2Ftr%3E%0A%09%09%09%09%09%09++++++++%3Ctr+bgcolor%3D%22%23FE9000%22%3E%0A%09%09%09%09%09%09++++++++++%3Ctd+colspan%3D%222%22%3E%3Cfont+style%3D%22font-family%3A+sans-serif%3B+font-size%3A12px%3B%22%3E%3Cstrong%3EGeboortedatum%3C%2Fstrong%3E%3C%2Ffont%3E%3C%2Ftd%3E%0A%09%09%09%09%09%09++++++++%3C%2Ftr%3E%0A%09%09%09%09%09%09++++++++%3Ctr+bgcolor%3D%22%23FFFFFF%22%3E%0A%09%09%09%09%09%09++++++++++%3Ctd+width%3D%2220%22%3E%26nbsp%3B%3C%2Ftd%3E%0A%09%09%09%09%09%09++++++++++++%3Ctd%3E%3Cfont+style%3D%22font-family%3A+sans-serif%3B+font-size%3A12px%3B%22%3E'
  214   228        CONCAT                                           ~172    ~171, !7
        229        CONCAT                                           ~173    ~172, '%3C%2Ffont%3E%3C%2Ftd%3E%0A%09%09%09%09%09%09++++++++%3C%2Ftr%3E%0A%09%09%09%09%09%09++++++++%3Ctr+bgcolor%3D%22%23FE9000%22%3E%0A%09%09%09%09%09%09++++++++++%3Ctd+colspan%3D%222%22%3E%3Cfont+style%3D%22font-family%3A+sans-serif%3B+font-size%3A12px%3B%22%3E%3Cstrong%3EPostcode%3C%2Fstrong%3E%3C%2Ffont%3E%3C%2Ftd%3E%0A%09%09%09%09%09%09++++++++%3C%2Ftr%3E%0A%09%09%09%09%09%09++++++++%3Ctr+bgcolor%3D%22%23FFFFFF%22%3E%0A%09%09%09%09%09%09++++++++++%3Ctd+width%3D%2220%22%3E%26nbsp%3B%3C%2Ftd%3E%0A%09%09%09%09%09%09++++++++++++%3Ctd%3E%3Cfont+style%3D%22font-family%3A+sans-serif%3B+font-size%3A12px%3B%22%3E'
  221   230        CONCAT                                           ~174    ~173, !8
        231        CONCAT                                           ~175    ~174, '%3C%2Ffont%3E%3C%2Ftd%3E%0A%09%09%09%09%09%09++++++++%3C%2Ftr%3E%0A%09%09%09%09%09%09++++++++%3Ctr+bgcolor%3D%22%23FE9000%22%3E%0A%09%09%09%09%09%09++++++++++%3Ctd+colspan%3D%222%22%3E%3Cfont+style%3D%22font-family%3A+sans-serif%3B+font-size%3A12px%3B%22%3E%3Cstrong%3EE-mailadres%3C%2Fstrong%3E%3C%2Ffont%3E%3C%2Ftd%3E%0A%09%09%09%09%09%09++++++++%3C%2Ftr%3E%0A%09%09%09%09%09%09++++++++%3Ctr+bgcolor%3D%22%23FFFFFF%22%3E%0A%09%09%09%09%09%09++++++++++%3Ctd+width%3D%2220%22%3E%26nbsp%3B%3C%2Ftd%3E%0A%09%09%09%09%09%09++++++++++++%3Ctd%3E%3Cfont+style%3D%22font-family%3A+sans-serif%3B+font-size%3A12px%3B%22%3E'
  228   232        CONCAT                                           ~176    ~175, !9
        233        CONCAT                                           ~177    ~176, '%3C%2Ffont%3E%3C%2Ftd%3E%0A%09%09%09%09%09%09++++++++%3C%2Ftr%3E%0A%09%09%09%09%09%09++++++++%3Ctr+bgcolor%3D%22%23FE9000%22%3E%0A%09%09%09%09%09%09++++++++++%3Ctd+colspan%3D%222%22%3E%3Cfont+style%3D%22font-family%3A+sans-serif%3B+font-size%3A12px%3B%22%3E%3Cstrong%3ETel+of+GSM%3C%2Fstrong%3E%3C%2Ffont%3E%3C%2Ftd%3E%0A%09%09%09%09%09%09++++++++%3C%2Ftr%3E%0A%09%09%09%09%09%09++++++++%3Ctr+bgcolor%3D%22%23FFFFFF%22%3E%0A%09%09%09%09%09%09++++++++++%3Ctd+width%3D%2220%22%3E%26nbsp%3B%3C%2

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
264.29 ms | 1431 KiB | 32 Q