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.
 
 
 

19 rader
1.1 KiB

  1. <?php
  2. session_start();
  3. $playerid = $_SESSION['playerid'];
  4. $action = $_POST['gwaction'];
  5. echo'<TITLE>Redirecting ...</TITLE>';
  6. if ($action == 1){ //insert dropped items data
  7. echo '<BODY onload="document.record.submit()">';
  8. echo '<FORM METHOD="POST" ACTION="gw-location.php" NAME="record"><INPUT TYPE="HIDDEN" NAME="playerid" VALUE="'. $playerid . '"><INPUT TYPE="SUBMIT" ID="clkRecord"></FORM></BODY>';
  9. } else if ($action == 2){ //view history of dropped items
  10. echo '<BODY onload="document.insert.submit()">';
  11. echo '<FORM METHOD="POST" ACTION="gw-pull.php" NAME="insert"><INPUT TYPE="HIDDEN" NAME="cnameid" VALUE="' . $playerid . '"><INPUT TYPE="SUBMIT" ID="clkInsert"></FORM></BODY>';
  12. } else if ($action == 3){ //toon creation page here
  13. echo '<BODY onload="document.createtoon.submit()">';
  14. echo 'Character creation is currently disabled!<BR><BR>Click <A HREF="gw-index.php">here</A> to go to the main page';
  15. //echo '<FORM METHOD="POST" ACTION="gw-create.php" NAME="createtoon"><INPUT TYPE="SUBMIT"></FORM></BODY>'; //enable this and modify it when gw-create.php is made
  16. {
  17. echo 'You shouldn\'t be seeing this, something went horribly horribly wrong!';
  18. }
  19. ?>