diff --git a/website/include.php b/website/include.php new file mode 100644 index 0000000..9bbf019 --- /dev/null +++ b/website/include.php @@ -0,0 +1,31 @@ +ERROR: Database query failed. +
There has been an error accessing the database. Please + notify the administors by sending an email to the discussion + list with what you were trying to do, and include the + following error code: "; +$gameseserr = "
ERROR: Not authenticated. +
Either you did not log in, or your session timed out. +
Please log in again."; +$footer = "
Version ".$gamever.". Copyright © 2024 Justin Pope."; + +?> diff --git a/website/index.html b/website/index.html new file mode 100644 index 0000000..54948de --- /dev/null +++ b/website/index.html @@ -0,0 +1,56 @@ + +
+
+
+
In a far corner of a distant galaxy, a small band of super-beings guided a group of + empires from different planets as they reached for the stars. The Watchers, as this + fantastic race was called, maintained peace and provided a medium for trade of goods + and knowledge. In return, they simply wanted to observe how the empires evolved and + interacted with each other. But some of the Watchers differed as to how far they should + involve themselves in the affairs of the other worlds. After a dispute, the faction + favoring non-interference left the other Watchers and set out in search of a new home. + +
Years later, these Watchers have found what they were looking for - another area + of space where several empires are struggling to establish themselves as space powers. + Here, they will Watch the empires grow, meet each other, and maybe even die out. They are + committed to avoid interference when possible, and never reveal themselves as what they + really are. + +
Will the empires live together in peace? Will they find out what the harsh consequenses +of war are? Who will hold the most true power - the emperors or the commoners? Only YOU, +the players, will decide what will happen. It's a whole new frontier... It's Frontier II. + +
+ +
Frontier is a web-based online roleplaying game centered around a galactic struggle + of diplomacy and conquest. Based loosely on gameplay concepts from the popular game + BattleMaster, Frontier is designed to be + and does not require the average player to spend more than a few minutes each day + playing his or her turns. + +
Frontier II is currently a work in progress. Almost everything + does NOT work yet! + +
+ +If you're new to the game, click here +to create a new user. + +
Copyright © 2024 Justin Pope. All rights reserved. + + + \ No newline at end of file diff --git a/website/login.php b/website/login.php new file mode 100644 index 0000000..a60c68a --- /dev/null +++ b/website/login.php @@ -0,0 +1,68 @@ + diff --git a/website/logout.php b/website/logout.php new file mode 100644 index 0000000..97a5c9a --- /dev/null +++ b/website/logout.php @@ -0,0 +1,13 @@ + diff --git a/website/newuser.php b/website/newuser.php new file mode 100644 index 0000000..2516478 --- /dev/null +++ b/website/newuser.php @@ -0,0 +1,75 @@ +
Creating account... + +Done! To get started, please log in from the + main page. + "; + + } else { // Username is not unique + + echo "
Error! That username + seems to be taken already. Please + try again. + "; + + } + +} else { // Form not filled out completely + + echo "
Error! Either you didn't + fill something in right, or you left something blank. Please + try again. + "; + +} + +mysqli_close($mysqli); + +echo $footer; + +?> + +