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