Paste Code
Paste Blends
Paste Images
<?php
/*
Template Name: form
*/
?>

<style type="text/css">
<!--
#Div1 {
position:relative;
width:850px;
height:600px;
z-index:1;
background-color: #FFFFFF;
margin-top: 5px;
margin-right: auto;
margin-left: auto;
padding: 0px;
}
#archive {
position:absolute;
left:10px;
top:35px;
width:500px;
height:auto;
z-index:2;
background-color: #E9C637;
background-repeat: repeat-y;
padding: 5px;
}
#archivex {
position:absolute;
left:239px;
top:35px;
width:583px;
height:auto;
z-index:2;
background-repeat: repeat-y;
padding: 10px;
}
#Div3 {
position:absolute;
top:35px;
width:319px;
z-index:3;
background-color: #FFFFFF;
right: 10px;
height: 23px;
float: right;
}
#Div3a {
position:absolute;
top:27px;
width:237px;
z-index:3;
background-color: #FFFFFF;
right: -256px;
height: 23px;
float: right;
}
#cat_bottom {
position:absolute;
left:10px;
top:402px;
width:830px;
height:187px;
z-index:4;
background-color: #999999;
}
#cat_bottom1 {
position:absolute;
left:10px;
top:10px;
width:126px;
height:167px;
z-index:20;
background-color: #FFFFFF;
}
#cat_bottom2 {
position:absolute;
left:146px;
top:10px;
width:126px;
height:167px;
z-index:20;
background-color: #FF00FF;
}
#cat_bottom3 {
position:absolute;
left:280px;
top:10px;
width:126px;
height:167px;
z-index:20;
background-color: #990033;
}
#cat_bottom4 {
position:absolute;
right:286px;
top:10px;
width:126px;
height:167px;
z-index:20;
background-color: #99CC00;
}
#cat_bottom5 {
position:absolute;
right:148px;
top:10px;
width:126px;
height:167px;
z-index:20;
background-color: #FFFF00;
}
#cat_bottom6 {
position:absolute;
right:10px;
top:10px;
width:126px;
height:167px;
z-index:20;
background-color: #FF0000;
}
#sidemc {
position:absolute;
left:0;
top:24px;
width:217px;
height:591px;
z-index:2;
}
.style1 {color: #FFFFFF}
.style2 {
font-size: 52px
}

-->
</style>
</head>
<body>
<div id="Div1">

<?php get_header(); ?>
<div id="sidemc">
<?php get_sidebar(); ?>
<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Sidebar') ) : ?>
<?php endif; ?>
</div>
<div id="archivex">


<?php
//If the form is submitted
if(isset($_POST['submitted'])) {

//Check to see if the honeypot captcha field was filled in
if(trim($_POST['checking']) !== '') {
$captchaError = true;
} else {

//Check to make sure that the name field is not empty
if(trim($_POST['contactName']) === '') {
$nameError = 'You forgot to enter your name.';
$hasError = true;
} else {
$name = trim($_POST['contactName']);
}

//Check to make sure sure that a valid email address is submitted
if(trim($_POST['email']) === '') {
$emailError = 'You forgot to enter your email address.';
$hasError = true;
} else if (!eregi("^[A-Z0-9._%-]+@[A-Z0-9._%-]+\.[A-Z]{2,4}$", trim($_POST['email']))) {
$emailError = 'You entered an invalid email address.';
$hasError = true;
} else {
$email = trim($_POST['email']);
$earlybird = trim($_POST['earlybird']);
}

//Check to make sure comments were entered
if(trim($_POST['comments']) === '') {
$commentError = 'You forgot to enter your comments.';
$hasError = true;
} else {
if(function_exists('stripslashes')) {
$comments = stripslashes(trim($_POST['comments']));
} else {
$comments = trim($_POST['comments']);
}
}

//If there is no error, send the email
if(!isset($hasError)) {

$emailTo = 'studio@bpmedia-design.com';
$subject = 'Contact Form Submission from '.$name;
$sendCopy = trim($_POST['sendCopy']);
$body = "$earlybird n\n\ $veszin n\n\ $normaal n\n\ Name: $name \n\nEmail: $email \n\nComments: $comments";
$headers = 'From: My Site <'.$emailTo.'>' . "\r\n" . 'Reply-To: ' . $email;

mail($emailTo, $subject, $body, $headers);

if($sendCopy == true) {
$subject = 'You emailed Your Name';
$headers = 'From: Your Name <noreply@somedomain.com>';
mail($email, $subject, $body, $headers);
}

$emailSent = true;

}
}
} ?>


<?php get_header(); ?>
<script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/scripts/contact-form.js"></script>
<script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/scripts/calc.js"></script>
<body onLoad="InitForm();" onreset="InitForm();">

<?php if(isset($emailSent) && $emailSent == true) { ?>

<div class="thanks">
<h1>Bedankt, <?=$name;?></h1>
<p> uw aanvraag is succesvol ontvangen, u krijgt binnenkort de bevestiging </p>
</div>

<?php } else { ?>

<?php if (have_posts()) : ?>

<?php while (have_posts()) : the_post(); ?>
<h1><?php the_title(); ?></h1>
<?php the_content(); ?>

<?php if(isset($hasError) || isset($captchaError)) { ?>
<p class="error">There was an error submitting the form.<p>
<?php } ?>

<style type="text/css">
<!--
.style1 {color: #FFFFFF}
-->
</style>
<h3>NOT DONE YET!!! dit formulier nog niet gebruiken!!!!</h3>
<table width="583" border="0" align="left" cellpadding="10" cellspacing="0" bordercolor="#FFFFFF">
<tbody>
<tr bgcolor="#FFCC00">
<td colspan="2" valign="top"><h2>Eerste Zumba Toning workshop in Nederland bij de Vereniging Exclusieve Sportcentra (VES)</h2>
<h1 class="style2">Met Marlon Connor</h1></td>
</tr>
<tr>
<td colspan="2" valign="top" bgcolor="#CC0000"><h3 class="style1">Voor wie:
ZIN members Zumba</h3></td>
</tr>
<tr>
<td width="303" valign="top" bgcolor="#FFCC00"><strong>Locatie:<br />
</strong>Broertjes Sport &amp; Health B.V.<br />
Huis ter Heideweg 52-54<br />
3705 LZ Zeist, provincie Utrecht<br />
Nederland</td>
<td width="230" valign="top" bgcolor="#FFCC00">
<p><strong>Datum:</strong><br>
Zaterdag 23 januari 2010<br />
Aanmelding: 08.00 &ndash; 09.00 uur<br />
Workshop: 09.00 &ndash; 18.00 uur</p> </td>
</tr>

<tr>
<td valign="top" bgcolor="#FFCC00"><strong>Betaling:<br />
</strong>Via een bankoverschrijving op rekening 61.35.64.723 t.n.v. Vereniging Exclusieve Sportcentra te Vlaardingen. Plaatsing geschiedt in volgorde van binnenkomst van de betaling. Na bijschrijving ontvangt men een bevestiging en betalingsbewijs. Maximum aantal deelnemers is 60.</td>
<td valign="top" bgcolor="#FFCC00"><p><strong>Contact:</strong>
<br>
Informatie over de workshop: info@ves.nl,<br />
tel.nr.010 &ndash; 474 26 58,<br />
alle werkdagen van 08.00 uur<br>
tot 17.30 uur<br>
<br />
met uitzondering van de woensdag.<br />
Contactpersoon: Yvonne Smits</p> </td>
</tr>

<tr>
<td height="83" colspan="2" valign="top" bgcolor="#FFCC00"><p><strong>Hotels in Zeist:</strong></p> <p>www.HotelSpecials.nl/Zeist<br />
www.hotels.nl/nl/zeist</p></td>
</tr>
<tr bgcolor="#FFCC00">
<td height="83" colspan="2" valign="top"><form action="<?php the_permalink(); ?>" id="contactForm" method="post">

<ol class="forms">


<p><b>Zumba toning WORKSHOP</b><br>
<input type="checkbox" name="earlybird" value="147.50" <?php if(isset($_POST['earlybird'])) echo $_POST['earlybird'];?> onclick="this.form.total.value=calculateTotal(this);" />
&quot;Early bird&quot; tarief a 147.50 Euro <br/>
<input type="checkbox" name="VES ZIN" value="147.50" <?php if(isset($_POST['ves zin'])) echo $_POST['ves zin'];?> onClick="this.form.total.value=calculateTotal(this);" />
VES ZIN Member a 147.50 Euro
<br/>
<input type="checkbox" name="Normaal" <?php if(isset($_POST['normaal'])) echo $_POST['normaal'];?> value="180.00" onclick="this.form.total.value=calculateTotal(this);" />
Normaal tarief a 180 Euro
<br>
<br>
<b>Extra </b> <br>
<input name="geen gebruik" type="checkbox" value="0.00" onClick="this.form.total.value=calculateTotal(this);">
geen gebruikmaken van lunch buffet
<br>
<input name="wel gebruik " type="checkbox" value="11.00" onClick="this.form.total.value=calculateTotal(this);">
wel gebruikmaken van lunch buffet incl. koffie/thee en melk a 11.- Euro<br>
<br>
<br>
<input type="hidden" name="calculatedTotal" value="0">
<input type="hidden" name="previouslySelectedRadioButton" value="0">
<strong>Totaal:</strong>
<input type="text" name="total" readonly onFocus="this.blur();"></p>


<p><strong>Deelnemer </strong> </p>
<table width="90%" border="0" cellspacing="10" cellpadding="10">
<tr>
<th width="35%" scope="col"><div align="left">voornaam</div>
</label></th>
<th width="65%" scope="col"><div align="left">
<input type="text" name="contactvoorName" id="contactvoorName" value="<?php if(isset($_POST['contactvoorName'])) echo $_POST['contactvoorName'];?>" />

</div></th>
</tr>
<tr>
<th scope="row"><label for="label2">
<div align="left">achternaam</div>
</label></th>
<td><label for="label"></label>
<div align="left">
<input type="text" name="contactachterName" id="contactachterName" value="<?php if(isset($_POST['contactachterName'])) echo $_POST['contactachterName'];?>" />
</div></td>
</tr>
<tr>
<th scope="row"><div align="left">
<label for="label3">PC / Woonplaats</label>
</div></th>
<td><div align="left">
<label for="label2"></label><input type="text" name="contactpcWoonplaats" id="contactpcWoonplaats" value="<?php if(isset($_POST['contactpcWoonplaats'])) echo $_POST['contactpcWoonplaats'];?>" />

</div></td>
</tr>
<tr>
<th scope="row"><div align="left">
<label for="label3">Land</label>
</div></th>
<td><div align="left">
<label for="label"></label>
<input type="text" name="land" id="label" value="<?php if(isset($_POST['land'])) echo $_POST['land'];?>" />
</div></td>
</tr>

<tr>
<th scope="row"><div align="left">
<label for="label2">Mobiel nr</label>
</div></th>
<td><div align="left">
<input type="text" name="mobiel" id="email2" value="<?php if(isset($_POST['mobiel'])) echo $_POST['mobiel'];?>" />
</div></td>
</tr>
<tr>
<th scope="row"><div align="left">
<label for="label2">Sportcentrum</label>
</div></th>
<td><div align="left">
<input type="text" name="Sport_centrum" id="Sport_centrum" value="<?php if(isset($_POST['Sport_centrum'])) echo $_POST['Sport_centrum'];?>" />
</div></td>
</tr>
<tr>
<th scope="row"><div align="left">
<label for="label2">Adres</label>
</div></th>
<td><div align="left">
<input type="text" name="Sport_adres" id="Sport_adres" value="<?php if(isset($_POST['Sport_adres'])) echo $_POST['Sport_adres'];?>" />
</div></td>
</tr>
<tr>
<th scope="row"><div align="left">
<label for="label2">PC / Plaats</label>
</div></th>
<td><input type="text" name="Sport_pcplaats" id="email5" value="<?php if(isset($_POST['Sport_pcplaats'])) echo $_POST['Sport_pcplaats'];?>" /></td>
</tr>
<tr>
<th scope="row"><div align="left">
<label for="label2">Email</label>
</div></th>
<td><div align="left">
<input type="text" name="Sport_email" id="email6" value="<?php if(isset($_POST['Sport_email'])) echo $_POST['Sport_email'];?>" />
</div></td>
</tr>

<tr>
<th colspan="2" scope="row"><div align="left">


<input type="checkbox" name="sendCopy" id="sendCopy" value="true"<?php if(isset($_POST['sendCopy']) && $_POST['sendCopy'] == true) echo ' checked="checked"'; ?> />
<label for="sendCopy">verstuur een kopie van dit formulier naar u</label>
zelf
<li class="screenReader">
<label for="checking" class="screenReader">Indien u dit formuler wil verzenden, <br>
vul in het volgende veld dan niets in (anti spam)<br>
</label>
<input type="text" name="checking" id="checking" class="screenReader" value="<?php if(isset($_POST['checking'])) echo $_POST['checking'];?>" />
</li>

</div> <div align="left"></div></th>
</tr>
<tr>
<th scope="row"> <li class="buttons">
<div align="left">
<input type="hidden" name="submitted" id="submitted" value="true" />
<button type="submit">Verstuur</button>
</div>
</li></th>
<td><div align="left"></div></td>
</tr>
</table>
</ol>
</form>

<?php endwhile; ?>
<?php endif; ?>
<?php } ?></td>
</tr>
<tr>
<td height="83" colspan="2" valign="top">&nbsp;</td>
</tr>
</tbody>
</table>






</div>


</div>

</div>


</div>


</body>
  1. <?php
  2. /*
  3. Template Name: form
  4. */
  5. ?>
  6.  
  7. <style type="text/css">
  8. <!--
  9. #Div1 {
  10.         position:relative;
  11.         width:850px;
  12.         height:600px;
  13.         z-index:1;
  14.         background-color: #FFFFFF;
  15.         margin-top: 5px;
  16.         margin-right: auto;
  17.         margin-left: auto;
  18.         padding: 0px;
  19. }
  20. #archive {
  21.         position:absolute;
  22.         left:10px;
  23.         top:35px;
  24.         width:500px;
  25.         height:auto;
  26.         z-index:2;
  27.         background-color: #E9C637;
  28.         background-repeat: repeat-y;
  29.         padding: 5px;
  30. }
  31. #archivex {
  32.         position:absolute;
  33.         left:239px;
  34.         top:35px;
  35.         width:583px;
  36.         height:auto;
  37.         z-index:2;
  38.         background-repeat: repeat-y;
  39.         padding: 10px;
  40. }
  41. #Div3 {
  42.         position:absolute;
  43.         top:35px;
  44.         width:319px;
  45.         z-index:3;
  46.         background-color: #FFFFFF;
  47.         right: 10px;
  48.         height: 23px;
  49.         float: right;
  50. }
  51. #Div3a {
  52.         position:absolute;
  53.         top:27px;
  54.         width:237px;
  55.         z-index:3;
  56.         background-color: #FFFFFF;
  57.         right: -256px;
  58.         height: 23px;
  59.         float: right;
  60. }
  61. #cat_bottom {
  62.         position:absolute;
  63.         left:10px;
  64.         top:402px;
  65.         width:830px;
  66.         height:187px;
  67.         z-index:4;
  68.         background-color: #999999;
  69. }
  70. #cat_bottom1 {
  71.         position:absolute;
  72.         left:10px;
  73.         top:10px;
  74.         width:126px;
  75.         height:167px;
  76.         z-index:20;
  77.         background-color: #FFFFFF;
  78. }
  79. #cat_bottom2 {
  80.         position:absolute;
  81.         left:146px;
  82.         top:10px;
  83.         width:126px;
  84.         height:167px;
  85.         z-index:20;
  86.         background-color: #FF00FF;
  87. }
  88. #cat_bottom3 {
  89.         position:absolute;
  90.         left:280px;
  91.         top:10px;
  92.         width:126px;
  93.         height:167px;
  94.         z-index:20;
  95.         background-color: #990033;
  96. }
  97. #cat_bottom4 {
  98.         position:absolute;
  99.         right:286px;
  100.         top:10px;
  101.         width:126px;
  102.         height:167px;
  103.         z-index:20;
  104.         background-color: #99CC00;
  105. }
  106. #cat_bottom5 {
  107.         position:absolute;
  108.         right:148px;
  109.         top:10px;
  110.         width:126px;
  111.         height:167px;
  112.         z-index:20;
  113.         background-color: #FFFF00;
  114. }
  115. #cat_bottom6 {
  116.         position:absolute;
  117.         right:10px;
  118.         top:10px;
  119.         width:126px;
  120.         height:167px;
  121.         z-index:20;
  122.         background-color: #FF0000;
  123. }
  124. #sidemc {
  125.         position:absolute;
  126.         left:0;
  127.         top:24px;
  128.         width:217px;
  129.         height:591px;
  130.         z-index:2;
  131. }
  132. .style1 {color: #FFFFFF}
  133. .style2 {
  134.         font-size: 52px
  135. }
  136.  
  137. -->
  138. </style>
  139. </head>
  140. <body>
  141. <div id="Div1">
  142.  
  143.   <?php get_header(); ?>
  144.   <div id="sidemc">
  145.   <?php get_sidebar(); ?>
  146.   <?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Sidebar') ) : ?>
  147.   <?php endif; ?>
  148. </div>
  149.   <div id="archivex">
  150.  
  151.  
  152.   <?php
  153. //If the form is submitted
  154. if(isset($_POST['submitted'])) {
  155.  
  156.         //Check to see if the honeypot captcha field was filled in
  157.         if(trim($_POST['checking']) !== '') {
  158.                 $captchaError = true;
  159.         } else {
  160.        
  161.                 //Check to make sure that the name field is not empty
  162.                 if(trim($_POST['contactName']) === '') {
  163.                         $nameError = 'You forgot to enter your name.';
  164.                         $hasError = true;
  165.                 } else {
  166.                         $name = trim($_POST['contactName']);
  167.                 }
  168.                
  169.                 //Check to make sure sure that a valid email address is submitted
  170.                 if(trim($_POST['email']) === '')  {
  171.                         $emailError = 'You forgot to enter your email address.';
  172.                         $hasError = true;
  173.                 } else if (!eregi("^[A-Z0-9._%-]+@[A-Z0-9._%-]+\.[A-Z]{2,4}$", trim($_POST['email']))) {
  174.                         $emailError = 'You entered an invalid email address.';
  175.                         $hasError = true;
  176.                 } else {
  177.                         $email = trim($_POST['email']);
  178.                         $earlybird = trim($_POST['earlybird']);
  179.                 }
  180.                        
  181.                 //Check to make sure comments were entered     
  182.                 if(trim($_POST['comments']) === '') {
  183.                         $commentError = 'You forgot to enter your comments.';
  184.                         $hasError = true;
  185.                 } else {
  186.                         if(function_exists('stripslashes')) {
  187.                                 $comments = stripslashes(trim($_POST['comments']));
  188.                         } else {
  189.                                 $comments = trim($_POST['comments']);
  190.                         }
  191.                 }
  192.                        
  193.                 //If there is no error, send the email
  194.                 if(!isset($hasError)) {
  195.  
  196.                         $emailTo = 'studio@bpmedia-design.com';
  197.                         $subject = 'Contact Form Submission from '.$name;
  198.                         $sendCopy = trim($_POST['sendCopy']);
  199.                         $body = "$earlybird n\n\ $veszin n\n\ $normaal n\n\ Name: $name \n\nEmail: $email \n\nComments: $comments";
  200.                         $headers = 'From: My Site <'.$emailTo.'>' . "\r\n" . 'Reply-To: ' . $email;
  201.                        
  202.                         mail($emailTo, $subject, $body, $headers);
  203.  
  204.                         if($sendCopy == true) {
  205.                                 $subject = 'You emailed Your Name';
  206.                                 $headers = 'From: Your Name <noreply@somedomain.com>';
  207.                                 mail($email, $subject, $body, $headers);
  208.                         }
  209.  
  210.                         $emailSent = true;
  211.  
  212.                 }
  213.         }
  214. } ?>
  215.  
  216.  
  217. <?php get_header(); ?>
  218. <script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/scripts/contact-form.js"></script>
  219. <script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/scripts/calc.js"></script>
  220. <body onLoad="InitForm();" onreset="InitForm();">
  221.  
  222. <?php if(isset($emailSent) && $emailSent == true) { ?>
  223.  
  224.         <div class="thanks">
  225.                 <h1>Bedankt, <?=$name;?></h1>
  226.                 <p> uw aanvraag is succesvol ontvangen, u krijgt binnenkort de bevestiging </p>
  227.         </div>
  228.  
  229. <?php } else { ?>
  230.  
  231.         <?php if (have_posts()) : ?>
  232.        
  233.         <?php while (have_posts()) : the_post(); ?>
  234.                 <h1><?php the_title(); ?></h1>
  235.                 <?php the_content(); ?>
  236.                
  237.                 <?php if(isset($hasError) || isset($captchaError)) { ?>
  238.                         <p class="error">There was an error submitting the form.<p>
  239.                 <?php } ?>
  240.        
  241.     <style type="text/css">
  242. <!--
  243. .style1 {color: #FFFFFF}
  244. -->
  245. </style>
  246. <h3>NOT DONE YET!!! dit formulier  nog niet gebruiken!!!!</h3>
  247. <table width="583" border="0" align="left" cellpadding="10" cellspacing="0" bordercolor="#FFFFFF">
  248.     <tbody>
  249.         <tr bgcolor="#FFCC00">
  250.             <td colspan="2" valign="top"><h2>Eerste Zumba Toning workshop in Nederland bij de Vereniging Exclusieve Sportcentra (VES)</h2>
  251.               <h1 class="style2">Met Marlon Connor</h1></td>
  252.         </tr>
  253.         <tr>
  254.             <td colspan="2" valign="top" bgcolor="#CC0000"><h3 class="style1">Voor wie:
  255.           ZIN members Zumba</h3></td>
  256.         </tr>
  257.         <tr>
  258.             <td width="303" valign="top" bgcolor="#FFCC00"><strong>Locatie:<br />
  259.             </strong>Broertjes Sport &amp; Health B.V.<br />
  260. Huis ter Heideweg 52-54<br />
  261. 3705 LZ Zeist, provincie Utrecht<br />
  262. Nederland</td>
  263.             <td width="230" valign="top" bgcolor="#FFCC00">
  264.             <p><strong>Datum:</strong><br>
  265.               Zaterdag 23 januari 2010<br />
  266.   Aanmelding: 08.00 &ndash; 09.00 uur<br />
  267.   Workshop: 09.00 &ndash; 18.00 uur</p>            </td>
  268.         </tr>
  269.        
  270.         <tr>
  271.           <td valign="top" bgcolor="#FFCC00"><strong>Betaling:<br />
  272.           </strong>Via een bankoverschrijving op rekening 61.35.64.723 t.n.v. Vereniging Exclusieve Sportcentra te Vlaardingen. Plaatsing geschiedt in volgorde van binnenkomst van de betaling. Na bijschrijving ontvangt men een bevestiging en betalingsbewijs. Maximum aantal deelnemers is 60.</td>
  273.           <td valign="top" bgcolor="#FFCC00"><p><strong>Contact:</strong>
  274.             <br>
  275.             Informatie over de workshop: info@ves.nl,<br />
  276.             tel.nr.010 &ndash; 474 26 58,<br />
  277.             alle werkdagen van 08.00 uur<br>
  278.             tot 17.30 uur<br>
  279.             <br />
  280.             met uitzondering van de woensdag.<br />
  281.             Contactpersoon: Yvonne Smits</p>          </td>
  282.         </tr>
  283.        
  284.         <tr>
  285.           <td height="83" colspan="2" valign="top" bgcolor="#FFCC00"><p><strong>Hotels in Zeist:</strong></p>            <p>www.HotelSpecials.nl/Zeist<br />
  286.           www.hotels.nl/nl/zeist</p></td>
  287.         </tr>
  288.         <tr bgcolor="#FFCC00">
  289.           <td height="83" colspan="2" valign="top"><form action="<?php the_permalink(); ?>" id="contactForm" method="post">
  290.        
  291.                         <ol class="forms">
  292.                        
  293.                
  294.                 <p><b>Zumba toning WORKSHOP</b><br>
  295.                   <input type="checkbox" name="earlybird"   value="147.50" <?php if(isset($_POST['earlybird'])) echo $_POST['earlybird'];?>  onclick="this.form.total.value=calculateTotal(this);" />
  296. &quot;Early bird&quot;  tarief a 147.50 Euro <br/>
  297.                   <input type="checkbox" name="VES ZIN" value="147.50" <?php if(isset($_POST['ves zin'])) echo $_POST['ves zin'];?> onClick="this.form.total.value=calculateTotal(this);" />
  298.                   VES ZIN Member a 147.50 Euro
  299.                   <br/>
  300.                   <input type="checkbox" name="Normaal"  <?php if(isset($_POST['normaal'])) echo $_POST['normaal'];?> value="180.00"  onclick="this.form.total.value=calculateTotal(this);" />
  301.                   Normaal tarief a 180 Euro
  302.                   <br>
  303.                   <br>
  304.                   <b>Extra </b> <br>
  305.                   <input name="geen gebruik" type="checkbox"  value="0.00" onClick="this.form.total.value=calculateTotal(this);">
  306.                   geen gebruikmaken van lunch buffet
  307.                   <br>
  308.                   <input name="wel gebruik " type="checkbox"  value="11.00" onClick="this.form.total.value=calculateTotal(this);">
  309.                   wel gebruikmaken van lunch buffet incl. koffie/thee en melk a 11.- Euro<br>
  310.                   <br>
  311.                   <br>
  312.                   <input type="hidden" name="calculatedTotal" value="0">
  313.                   <input type="hidden" name="previouslySelectedRadioButton" value="0">
  314.                   <strong>Totaal:</strong>
  315.                 <input type="text" name="total" readonly onFocus="this.blur();"></p>
  316.                  
  317.                  
  318.                   <p><strong>Deelnemer                  </strong>                  </p>
  319.                   <table width="90%" border="0" cellspacing="10" cellpadding="10">
  320.                     <tr>
  321.                       <th width="35%" scope="col"><div align="left">voornaam</div>
  322.                       </label></th>
  323.                       <th width="65%" scope="col"><div align="left">
  324.                         <input type="text" name="contactvoorName" id="contactvoorName" value="<?php if(isset($_POST['contactvoorName'])) echo $_POST['contactvoorName'];?>"  />
  325.                        
  326.                       </div></th>
  327.                     </tr>
  328.                     <tr>
  329.                       <th scope="row"><label for="label2">
  330.                         <div align="left">achternaam</div>
  331.                       </label></th>
  332.                       <td><label for="label"></label>
  333.                         <div align="left">
  334.                           <input type="text" name="contactachterName" id="contactachterName" value="<?php if(isset($_POST['contactachterName']))  echo $_POST['contactachterName'];?>"  />
  335.                         </div></td>
  336.                     </tr>
  337.                     <tr>
  338.                       <th scope="row"><div align="left">
  339.                         <label for="label3">PC / Woonplaats</label>
  340.                       </div></th>
  341.                       <td><div align="left">
  342.                         <label for="label2"></label><input type="text" name="contactpcWoonplaats" id="contactpcWoonplaats" value="<?php if(isset($_POST['contactpcWoonplaats']))  echo $_POST['contactpcWoonplaats'];?>"  />
  343.                        
  344. </div></td>
  345.                     </tr>
  346.                     <tr>
  347.                       <th scope="row"><div align="left">
  348.                         <label for="label3">Land</label>
  349.                       </div></th>
  350.                       <td><div align="left">
  351.                         <label for="label"></label>
  352.                         <input type="text" name="land" id="label" value="<?php if(isset($_POST['land']))  echo $_POST['land'];?>"  />
  353.                       </div></td>
  354.                     </tr>
  355.  
  356.                     <tr>
  357.                       <th scope="row"><div align="left">
  358.                         <label for="label2">Mobiel nr</label>
  359.                       </div></th>
  360.                       <td><div align="left">
  361.                         <input type="text" name="mobiel" id="email2" value="<?php if(isset($_POST['mobiel']))  echo $_POST['mobiel'];?>"  />
  362.                       </div></td>
  363.                     </tr>
  364.                     <tr>
  365.                       <th scope="row"><div align="left">
  366.                         <label for="label2">Sportcentrum</label>
  367. </div></th>
  368.                       <td><div align="left">
  369.                         <input type="text" name="Sport_centrum" id="Sport_centrum" value="<?php if(isset($_POST['Sport_centrum']))  echo $_POST['Sport_centrum'];?>"  />
  370.                       </div></td>
  371.                     </tr>
  372.                     <tr>
  373.                       <th scope="row"><div align="left">
  374.                         <label for="label2">Adres</label>
  375.                       </div></th>
  376.                       <td><div align="left">
  377.                         <input type="text" name="Sport_adres" id="Sport_adres" value="<?php if(isset($_POST['Sport_adres']))  echo $_POST['Sport_adres'];?>"  />
  378.                       </div></td>
  379.                     </tr>
  380.                     <tr>
  381.                       <th scope="row"><div align="left">
  382.                         <label for="label2">PC / Plaats</label>
  383. </div></th>
  384.                       <td><input type="text" name="Sport_pcplaats" id="email5" value="<?php if(isset($_POST['Sport_pcplaats']))  echo $_POST['Sport_pcplaats'];?>"  /></td>
  385.                     </tr>
  386.                     <tr>
  387.                       <th scope="row"><div align="left">
  388.                         <label for="label2">Email</label>
  389. </div></th>
  390.                       <td><div align="left">
  391.                         <input type="text" name="Sport_email" id="email6" value="<?php if(isset($_POST['Sport_email']))  echo $_POST['Sport_email'];?>" />
  392.                       </div></td>
  393.                     </tr>
  394.  
  395.                     <tr>
  396.                       <th colspan="2" scope="row"><div align="left">
  397.                        
  398.                          
  399.                             <input type="checkbox" name="sendCopy" id="sendCopy" value="true"<?php if(isset($_POST['sendCopy']) && $_POST['sendCopy'] == true) echo ' checked="checked"'; ?> />
  400.                             <label for="sendCopy">verstuur een kopie van dit formulier naar u</label>
  401.                             zelf
  402.                           <li class="screenReader">
  403.                             <label for="checking" class="screenReader">Indien u dit formuler wil verzenden, <br>
  404.                               vul in het volgende veld dan niets in (anti spam)<br>
  405.                             </label>
  406.                             <input type="text" name="checking" id="checking" class="screenReader" value="<?php if(isset($_POST['checking']))  echo $_POST['checking'];?>" />
  407.                           </li>
  408.                      
  409.                       </div>                        <div align="left"></div></th>
  410.                     </tr>
  411.                     <tr>
  412.                       <th scope="row">  <li class="buttons">
  413.                         <div align="left">
  414.                           <input type="hidden" name="submitted" id="submitted" value="true" />
  415.                                 <button type="submit">Verstuur</button>
  416.                         </div>
  417.                       </li></th>
  418.                       <td><div align="left"></div></td>
  419.                     </tr>
  420.                   </table>
  421.                                           </ol>
  422.                 </form>
  423.        
  424.                 <?php endwhile; ?>
  425.         <?php endif; ?>
  426. <?php } ?></td>
  427.         </tr>
  428.         <tr>
  429.           <td height="83" colspan="2" valign="top">&nbsp;</td>
  430.         </tr>
  431.     </tbody>
  432. </table>
  433.  
  434.  
  435.  
  436.  
  437.    
  438.  
  439.   </div>
  440.        
  441.  
  442. </div>
  443.  
  444. </div>
  445.  
  446.  
  447. </div>
  448.  
  449.  
  450. </body>
go to heaven