From 5344371e7742a57bd9e1adb0ac7f2e78c7d9c401 Mon Sep 17 00:00:00 2001 From: mauirixxx Date: Tue, 30 May 2017 14:54:11 -1000 Subject: [PATCH] added stylesheet info this is only links. still need to look into forms and lists (which is used on gw-toon.php) --- gw-action.php | 1 + gw-create.php | 15 ++++++++------- gw-history.php | 3 ++- gw-index.php | 3 ++- gw-insert.php | 1 + gw-location.php | 2 +- gw-login.php | 3 ++- gw-logout.php | 3 ++- gw-record.php | 3 ++- gw-toon.php | 1 + 10 files changed, 22 insertions(+), 13 deletions(-) diff --git a/gw-action.php b/gw-action.php index 24cb219..1ec52ca 100644 --- a/gw-action.php +++ b/gw-action.php @@ -1,6 +1,7 @@ + + Character Creation @@ -18,18 +19,18 @@ if ($createnew === "1"){ if (!checkdate($m, $d, $y)) { echo 'Date is invalid ' . $bdate . '
'; echo 'Date format is YYYY-MM-DD / 2005-04-28
'; - echo 'Please click HERE to try again'; - echo '

Return to home.'; + echo 'Please click HERE to try again'; + echo '

Return to home.'; exit(); } else if ($cname === ""){ echo 'Please enter a name for your character
'; - echo 'Please click HERE to try again'; - echo '

Return to home.'; + echo 'Please click HERE to try again'; + echo '

Return to home.'; exit(); } else if ($profid === ""){ echo 'Please choose a profession
'; - echo 'Please click HERE to try again'; - echo '

Return to home.'; + echo 'Please click HERE to try again'; + echo '

Return to home.'; exit(); } $sqlcreate = "INSERT INTO `playername` (charname, birthdate, userid, professionid) VALUES ('$cname', '$bdate', $userid, $profid)"; @@ -57,7 +58,7 @@ if ($createnew === "1"){ } ?>

-Return to home. +Return to home. \ No newline at end of file diff --git a/gw-history.php b/gw-history.php index 73fdb4d..cb86152 100644 --- a/gw-history.php +++ b/gw-history.php @@ -1,6 +1,7 @@ + Treasure Data @@ -68,7 +69,7 @@ if (mysqli_num_rows($result) > 0) { } } } - echo ' at ' . $row['location'] . '
'; + echo ' at ' . $row['location'] . '
'; } } else { echo '
There is no data to display for that character yet

'; diff --git a/gw-index.php b/gw-index.php index 1c4467c..8b36882 100644 --- a/gw-index.php +++ b/gw-index.php @@ -1,13 +1,14 @@ + Welcome, ' . $uname . '
'; echo 'Proceed to character selection here
'; - echo 'Create a new character to record here
'; + echo 'Create a new character to record here
'; } else { echo 'Login Required'; echo '
Username:
'; diff --git a/gw-insert.php b/gw-insert.php index e8ff6a0..63198ba 100644 --- a/gw-insert.php +++ b/gw-insert.php @@ -1,6 +1,7 @@ + Inserting Data + Location Selection query($sqlmaploc)){ die ('There was an error running the query [' . $con->error . ']'); } echo '
'; -//echo ''; echo '