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.
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
 
 
 

20 lignes
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>