CMS ultra léger au style oldschool, projet de la communauté Kalaïn Hundin.

profile.php 1.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. <?php
  2. require_once('config.php');
  3. require_once('verifications.php');;
  4. ?>
  5. <!DOCTYPE html>
  6. <html>
  7. <head>
  8. <meta charset="UTF-8" />
  9. <title>Modification du Profile</title>
  10. <center>
  11. <section>
  12. <?php
  13. $page_name='Profile Modification';
  14. include_once('top.php');
  15. {
  16. ?>
  17. <form action='profile2.php' method='post' enctype='multipart/form-data' name='form1'>
  18. <table width='400' border='0' align='center'>
  19. <tr>
  20. <td colspan='2' ><div align=center><h2>Profile Modification</h2></div></td>
  21. </tr>
  22. <tr>
  23. <td><label for='email'>E-mail modification</label></td>
  24. <td><input name='email' type='text' id='email' value="<?php echo htmlspecialchars($email) ?>"></td>
  25. </tr>
  26. <tr>
  27. <td><label for="passwd">Old password</label></td>
  28. <td><input name="pass_enc" type="password" id="passwd"></td>
  29. </tr>
  30. <tr>
  31. <td><label for="passwd2">New password</label></td>
  32. <td><input name="new_pass" type="password" id="passwd2"></td>
  33. </tr>
  34. <tr>
  35. <td><label for="passwd3">New password confirmation</label></td>
  36. <td><input name="new_pass2" type="password" id="passwd3"></td>
  37. </tr>
  38. <tr>
  39. <td><input type="submit" name="Submit" value="Modify" class="addbutton"></td>
  40. </tr>
  41. </table>
  42. </form>
  43. <div align=center><a href="index.php" onClick="history.back()">Back</a></div>
  44. <?php
  45. }
  46. include_once('bottom.php');
  47. ?>
  48. </section>
  49. </center>
  50. </body>
  51. </html>