diff --git a/website/game/frame.html b/website/game/frame.html new file mode 100644 index 0000000..044e00c --- /dev/null +++ b/website/game/frame.html @@ -0,0 +1,16 @@ + +Frontier II + + + + + + + + + <P>Frontier II uses HTML frames. You browser either does not support + frames, or is configured not to use them. + + + + \ No newline at end of file diff --git a/website/game/homepage.php b/website/game/homepage.php new file mode 100644 index 0000000..781a02d --- /dev/null +++ b/website/game/homepage.php @@ -0,0 +1,19 @@ + + + +
+ +

Welcome. + +

(In the future, this screen will give you a quick summary of your +status, and if you have any new messages.) + +

Update: The message system should work. Use the "quicknote" feature, +which for now sends the message to all characters in the game. +(Please sign your own name, because the "from" field is temporarily +just the #id instead of your character name.) + +

+ + \ No newline at end of file diff --git a/website/game/menu.html b/website/game/menu.html new file mode 100644 index 0000000..1e30589 --- /dev/null +++ b/website/game/menu.html @@ -0,0 +1,14 @@ + + + + + + + + + + +
 FrontierII     [ COMMLINK ]  [ DATALINK ]  [ ACTIONS ]  [ STATUS ]  [ SIGNOFF ] 
+ + + \ No newline at end of file diff --git a/website/game/status.php b/website/game/status.php new file mode 100644 index 0000000..77ea98e --- /dev/null +++ b/website/game/status.php @@ -0,0 +1,81 @@ + +Frontier II + + + +
+ +$cname +
Hours: $time +
Credits: $credits +
Status: "; + + if ($status == 1) { + echo "travelling"; + } elseif ($status == 2) { + echo "deployed"; + } else { + echo "idle"; + } + + $sql = "SELECT * FROM `star` WHERE `id` = '$star'"; + $result = mysqli_query($mysqli, $sql) or die($gameerror . 'S-Q02'); + $row = mysqli_fetch_assoc($result); + + $sname = $row['name']; + + echo " +
Location: $sname + +

Fleets in this sector:"; + + $sql = "SELECT * FROM `character` WHERE `location` = '$star'"; + $result = mysqli_query($mysqli, $sql) or die($gameerror . 'S-Q03'); + + $num = mysqli_num_rows($result); + + $i = 0; + + while ($i < $num) + { // display others in the region + + $row = mysqli_fetch_assoc($result); + $ocname = $row['name']; + + echo "
$ocname"; + + $i++; + } + +} else { echo $gameseserr; } // Not logged in + +mysqli_close($mysqli); + +echo "

"; + +echo $footer; + +?> + + diff --git a/website/game/tray.php b/website/game/tray.php new file mode 100644 index 0000000..433b64f --- /dev/null +++ b/website/game/tray.php @@ -0,0 +1,28 @@ + + + + +