Guild Wars stat tracking The idea behind this is to track multiple characters individual stats as well as account stats.
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
 
 
 
 
 

22 rindas
788 B

  1. <?php
  2. $pagetitle = "Account options";
  3. include_once ('header.php');
  4. if (!empty($_POST['useremail'])) {
  5. //this section contains code to update the users e-mail address, maybe via an include?
  6. include_once ('includes/update-email.php');
  7. }
  8. echo '<h3>Change e-mail and / or password</h3>';
  9. // listing all session variables currently set for debugging purposes
  10. echo '<pre>';
  11. var_dump($_SESSION);
  12. echo '</pre><br />';
  13. // delete the above 3 lines when done
  14. echo '<form action="preferences.php" method="post"><table border="1">';
  15. echo '<caption>Update e-mail address</caption>';
  16. echo '<tr><td><input type="text" name="useremail" value="' . $_SESSION['usermail'] . '"></td><td><input type="submit" value="Update e-mail"></td></tr>';
  17. echo '</table></form><br />';
  18. include_once ('footer.php');
  19. ?>