Guild Wars stat tracking The idea behind this is to track multiple characters individual stats as well as account stats.
Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
 
 
 
 
 

22 righe
782 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 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. ?>