Public paste
By: Xmoo | Date: Jan 28 2009 10:10 | Format: PHP | Expires: never | Size: 3.59 KB | Hits: 929

  1. <?php
  3. $_SESSION["deelnemercode"]= trim(strtoupper($_POST["login"]));
  4. $_SESSION["password"]= md5(trim($_POST["password"]));
  5. $con = mysql_connect("localhost","root");
  6. if (!$con) die('Geen verbinding: ' . mysql_error());
  7. mysql_select_db("ekwc", $con);
  9. // wachtwoord controle
  10. // $sql = "SELECT * FROM Deelnemers WHERE inlogcode = '".$_SESSION["deelnemercode"]. "' AND wachtwoord = '".$_SESSION["password"]."'";
  11. $sql = "SELECT * FROM deelnemers WHERE inlogcode = '".$_SESSION["deelnemercode"]."'";
  12. $result = mysql_query($sql);
  13. if ($row = mysql_fetch_array($result)) $deelnemer = $row["voornaam"]." ".$row["tussenvoegsels"]." ".$row['achternaam'];
  14. //else header('Location: logon.html');  // opnieuw inloggen.
  16. ?>
  17. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">
  18. <html>
  20. <head>
  21.         <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
  22.         <style type="text/css">
  23.                 .oranje {color: DarkOrange; font-weight: bold; font-size: 110%;}
  24.                 a {font-weight: bold}
  25.                 a:link {color: Black; text-decoration: none;}
  26.                 a:visited {color: Black; text-decoration: none;}
  27.                 a:hover {color: DarkOrange; text-decoration: underline;}
  28.                 a:active {color: Black; text-decoration: underline;}
  29.         </style>
  30. </head>
  32. <body style="margin-left: 10px; margin-right: 50px;">
  33.         <p class="oranje">Welcome <?php echo $deelnemer;?> </p>
  34.         <img src="leesmeer.bmp"><a href="persoon.php?deelnemer=<?php echo $deelnemer; ?>"   >Registration</a><br/>
  35.         <img src="leesmeer.bmp"><a href="uren.php?deelnemer=<?php echo $deelnemer; ?>"      >Hours</a><br/>
  36.         <img src="leesmeer.bmp"><a href="materiaal.php?deelnemer=<?php echo $deelnemer; ?>" >Materials</a><br/>
  37.         <img src="leesmeer.bmp"><a href="machine.php?deelnemer=<?php echo $deelnemer; ?>"   >Equipment</a><br/>
  39. <p class="oranje">Substantive discussion</p>
  40. <p>During the residency, the .ekwc would also like to see participants engage in
  41. substantive discussion. Each participant is therefore encouraged to communicate
  42. content aspects of the work process to the supervisors and other participants. To
  43. promote this discussion even more, the programme provides a number of more
  44. structured forms of communication in which content aspects of the work are also
  45. specifically addressed, such as the introductory meeting with the director, the first
  46. presentation, the interim evaluation, the final presentation and the final interview.
  47. Furthermore, the .ekwc organizes an after-dinner discussion every two months, in
  48. which a certain theme is discussed. Finally, there is also an opportunity to recruit
  49. an experienced former participant as external discussion partner. The .ekwc has a
  50. list of people who are in principle willing to act as such. If any costs are involved
  51. (which is not always the case), these will have to be borne by the participant.</p>
  53. <p class="oranje">Documentation of the work process</p>
  54. <p>The centre-of-excellence function entails that as much technical information on the
  55. progress of the work process is collected as possible. This is done by the participants
  56. themselves and by the staff. The collected information is analysed and subsequently
  57. passed on to others through publications as well as orally. Participants are requested
  58. to document their own work processes from the very beginning by taking photographs.
  59. For this purpose, the .ekwc has a digital photo camera available. In consultation
  60. with the participant in question, a number of photographs will be selected for use
  61. on the website and possibly in publications later on.</p>
  62. <br/>  
  63. </body>
  64. </html>