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.
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
 
 
 

13 rindas
652 B

  1. <?php
  2. $toonid = $_POST['playerid'];
  3. $action = $_POST['gwaction'];
  4. if ($action == 1){
  5. echo '<body onload="javascript:submitForm()">';
  6. echo '<FORM METHOD="POST" ACTION="gw-record.php" NAME="record"><INPUT TYPE="HIDDEN" NAME="playerid" VALUE="'. $toonid . '"><INPUT TYPE="SUBMIT" ID="clkRecord"></FORM></BODY>';
  7. } else if ($action == 2){
  8. echo '<body onload="javascript:submitForm()">';
  9. echo '<FORM METHOD="POST" ACTION="gw-pull.php" NAME="insert"><INPUT TYPE="HIDDEN" NAME="cname" VALUE="' . $toonid . '"><INPUT TYPE="SUBMIT" ID="clkInsert"></FORM></BODY>';
  10. } else {
  11. echo 'You shouldn\'t be seeing this, something went horribly horribly wrong!';
  12. }
  13. ?>