Public paste
GEKKK!!
By: Xmoo | Date: Sep 2 2008 10:59 | Format: PHP | Expires: never | Size: 4.17 KB | Hits: 1243

  1. <body>
  2.                
  3. <div id="wrapper">
  4.   <div class="skipto">
  5.     <ul>
  6.       <li><a href="#menu">Direct naar menu</a></li>
  7.     </ul>
  8.   </div>
  9.   <div id="logo"></div>
  10.   <div id="header"></div>
  11.   <div id="content_container">
  12.     <div id="content_left"> <img style="margin-left:30px;" src="img/gratisbloemetje.jpg" />
  13.       <div id="aanbieding"><img src="img/bloemetje.jpg" /></div>
  14.     </div>
  15.     <div id="content_right">
  16.       <div id="afzender">
  17.         <div id="contact-area">
  18.         <?php if ($_POST) {
  19.                 if ($_POST['checkbox'] == 'checkbox') {
  20.                 $insert = "INSERT INTO bloem_db (a_voornaam, a_achternaam, a_adres, a_postcode, a_email, v_voornaam, v_achternaam, v_adres, v_postcode, v_email, bericht)
  21.                                    values ('". $_POST["a_voornaam"] ."', '". $_POST["a_achternaam"] ."', '". $_POST["a_adres"] ."', '". $_POST["a_postcode"] ."', '". $_POST["a_email"] ."', '". $_POST["v_voornaam"] ."', '". $_POST["v_achternaam"] ."', '". $_POST["v_adres"] ."', '". $_POST["v_postcode"] ."', '". $_POST["v_email"] ."', '". $_POST["bericht"] ."')";
  22.                 $query = mysql_query($insert)or die(mysql_error());
  23.                 echo "<h3>U aanvraag is verstuurd.</h3>";
  24.         }
  25.         else {
  26.                
  27.                 echo "<form action="index.php" method="post">";
  28.                 echo "<label for="Naam" id="Naam">Voornaam*</label>";
  29.                 echo "<input type="text" name="a_voornaam" size="49"/>";
  30.                 echo "<br />";
  31.                 echo "<label for="Achternaam" id="Achternaam">Achternaam*</label>";
  32.                 echo "<input name="a_achternaam" type="text" size="49" />";
  33.                 echo "<br />";
  34.                 echo "<label for="Adres" id="Adres">Adres*</label>";
  35.                 echo "<input type="text" name="a_adres" size="49"/>";
  36.                 echo "<br />";
  37.                 echo "<label for="Postcode" id="Postcode">Postcode*</label>";
  38.                 echo "<input type="text" name="a_postcode" size="49"/>";
  39.                 echo "<br />";
  40.                 echo "<label for="Email" id="Email">Email*</label>";
  41.                 echo "<input type="text" name="a_email"size="49" />";
  42.                 echo "<br />";
  43.                 echo "<br />";
  44.                 echo "<br />";
  45.                 echo "<br style="margin-bottom:1em;" />";
  46.                
  47.                 echo "<label for="Voornaam2" id="Voornaam2">Voornaam*</label>";
  48.                 echo "<input type="text" name="v_voornaam" size="49"/>";
  49.                 echo "<br />";
  50.                 echo "<label for="Achternaam2" id="Achternaam2">Achternaam*</label>";
  51.                 echo "<input type="text" name="v_achternaam" size="49"/>";
  52.                 echo "<br />";
  53.                 echo "<label for="Adres2" id="Adres2">Adres*</label>";
  54.                 echo "<input type="text" name="v_adres" size="49"/>";
  55.                 echo "<br />";
  56.                 echo "<label for="Postcode2" id="Postcode2">Postcode*</label>";
  57.                 echo "<input type="text" name="v_postcode" size="49"/>";
  58.                 echo "<br />";
  59.                 echo "<label for="Email2" id="Email2">Email*</label>";
  60.                 echo "<input type="text" name="v_email" size="49"/>";
  61.                 echo "<br />";
  62.                 echo "<label for="Berichtje" id="Berichtje" >Berichtje*</label>";
  63.                 echo "<input type="text" size="49" name="bericht"  value="Gefeliciteerd beste collega!"/>";
  64.                 echo "<br />";
  65.                 echo "<label><INPUT TYPE="checkbox" NAME="checkbox" VALUE="checkbox"></label> <b>Ik ga akkoord met de algemene voorwaarden.</b>";
  66.                 echo "<p>";
  67.                 echo "<input type="submit" name="submit" value="" class="submit-button" />";    
  68.                 echo "</p>";
  69.                 echo "<p style="margin:0 2em 0 0; padding:0; text-align:right;">Velden met een * zijn verplicht in te vullen </p>";
  70.                 echo "</form>";
  71.         }
  72.         }
  73.                 ?>
  74.           <div style="clear: both;"></div>
  75.         </div>
  76.       </div>
  77.     </div>
  78.     <div id="teaser"> </div>
  79.     <div id="footer">
  80.       <p class="sublinks"> <a href="javascript:addfav()">toevoegen aan favorieten</a>&nbsp;
  81.         . &nbsp;<a href="uitleg.php">uitleg</a>&nbsp; . &nbsp;<a href="disclaimer.php">disclaimer</a></p>
  82.     </div>
  83.   </div>
  84.   <div id="menu">
  85.     <h2>Menu</h2>
  86.     <div>
  87.       <ul id="menu_ul">
  88.         <li id="mi_home"><a href="index.php"><span>Home</span></a></li>
  89.         <li id="mi_uitleg"><a href="uitleg.php"><span>Uitleg</span></a></li>
  90.         <li id="mi_actie"><a href="actie.php"><span>Actie van de week</span></a></li>
  91.         <li id="mi_contact"><a href="contact.php"><span>Contact</span></a></li>
  92.         <br />
  93.       </ul>
  94.     </div>
  95.   </div>
  96. </div>
  97.         </body>