Guild Wars stat tracking The idea behind this is to track multiple characters individual stats as well as account stats.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

17 lines
538 B

  1. <?php
  2. $pagetitle = "Logging Out";
  3. include_once ('header.php');
  4. if (isset($_GET['action'])) {
  5. $logout = $_GET['action'];
  6. } else {
  7. $logout = $_POST['action'];
  8. }
  9. if ($logout == "logout"){
  10. session_unset();
  11. session_destroy();
  12. header("refresh:2;url=index.php");
  13. echo '<CENTER>You have been logged out ...<BR />Returning to login screen in a few seconds</CENTER>';
  14. } else {
  15. echo '<CENTER>Something went wrong, you haven\'t been logged out!<BR /><BR />Please click <A HREF="logout.php" CLASS="navlink">HERE</A> to try again</CENTER>';
  16. }
  17. ?>