Just a web script to help track when, where, and what you got from the free treasures scattered about Nightfall in the game Guild Wars.
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
 
 
 

20 rader
890 B

  1. <!DOCTYPE html>
  2. <HTML>
  3. <HEAD>
  4. <link rel="stylesheet" type="text/css" href="gw-style.css">
  5. <?php
  6. session_start();
  7. $playerid = $_SESSION['playerid'];
  8. $action = $_POST['gwaction'];
  9. echo'<TITLE>Redirecting ...</TITLE></HEAD>';
  10. if ($action == 1){ //insert dropped items data
  11. echo '<BODY onload="document.record.submit()">';
  12. echo '<FORM METHOD="POST" ACTION="gw-location.php" NAME="record"><INPUT TYPE="HIDDEN" NAME="playerid" VALUE="'. $playerid . '"><INPUT TYPE="SUBMIT" ID="clkRecord"></FORM></BODY>';
  13. } else if ($action == 2){ //view history of dropped items
  14. echo '<BODY onload="document.insert.submit()">';
  15. echo '<FORM METHOD="POST" ACTION="gw-history.php" NAME="insert"><INPUT TYPE="HIDDEN" NAME="cnameid" VALUE="' . $playerid . '"><INPUT TYPE="SUBMIT" ID="clkInsert"></FORM></BODY>';
  16. } else {
  17. echo 'You shouldn\'t be seeing this, something went horribly horribly wrong!';
  18. }
  19. ?>
  20. </HTML>