Guild Wars stat tracking The idea behind this is to track multiple characters individual stats as well as account stats.
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。
 
 
 
 
 

25 行
1.1 KiB

  1. <?php
  2. $pagetitle = "Account options";
  3. include_once ('header.php');
  4. if (!empty($_POST['usermail'])) {
  5. //this section contains code to update the users e-mail address, maybe via an include?
  6. include_once ('includes/update-email.php');
  7. } else {
  8. //should get rid of this whole else statement, or use it to display an error?
  9. echo 'this should probably be the !empty section instead<br />';
  10. echo 'the post usermail vaiable should be blank: <b>' . $_POST['usermail'] . '</b> <- Is there a blank spot to the left?<br />';
  11. }
  12. echo '<h3>Change e-mail and / or password</h3><br /><br />';
  13. // listing all session variables currently set for debugging purposes
  14. echo '<pre>';
  15. var_dump($_SESSION);
  16. echo '</pre><br /><br />';
  17. // delete the above 3 lines when done
  18. echo '<form action="preferences.php" method="post"><table border="1">';
  19. echo '<caption>Update e-mail address</caption>';
  20. echo '<tr><td><input type="text" name="usermail" value="' . $_SESSION['usermail'] . '"></td><td><input type="submit" value="Update e-mail"></td></tr>';
  21. echo '</table></form><br />';
  22. include_once ('footer.php');
  23. ?>