diff --git a/src/server/cyberhex-code/install/create_admin.php b/src/server/cyberhex-code/install/create_admin.php index 8cd6994..46cf087 100644 --- a/src/server/cyberhex-code/install/create_admin.php +++ b/src/server/cyberhex-code/install/create_admin.php @@ -33,10 +33,28 @@ border: none; border-radius: 5px; cursor: pointer; + } + footer { + background-color: #333; + color: white; + text-align: center; + padding: 20px; + position: fixed; + bottom: 0; + width: 100%; + } + header { + background-color: #333; + color: white; + text-align: center; + padding: 20px; } +
+

Cyberhex installation (step 3/4)

+

Please create an admin user:

@@ -50,7 +68,6 @@
- connect_error); } $stmt = $conn->prepare("INSERT INTO users (email, username, password,perms) VALUES (?, ?, ?)"); - $stmt->bind_param("sss", $email, $username, $hash, $permissions); + $stmt->bind_param("ssss", $email, $username, $hash, $permissions); $email=htmlspecialchars($_POST["email"]); $username=htmlspecialchars($_POST["username"]); @@ -81,4 +98,8 @@ } ?> + + \ No newline at end of file diff --git a/src/server/cyberhex-code/install/create_db.php b/src/server/cyberhex-code/install/create_db.php index 7ae21cc..0d797e3 100644 --- a/src/server/cyberhex-code/install/create_db.php +++ b/src/server/cyberhex-code/install/create_db.php @@ -13,13 +13,31 @@ } h1 { color: #333; + } + footer { + background-color: #333; + color: white; + text-align: center; + padding: 20px; + position: fixed; + bottom: 0; + width: 100%; + } + header { + background-color: #333; + color: white; + text-align: center; + padding: 20px; } +
+

Cyberhex installation (step 2/4)

+

We are creating the databases used in cyberhex, please stand by

- - +
If the creation fails, please wait a minute and try again. The database server might still be starting at the time.

+ close(); ?> + + + \ No newline at end of file diff --git a/src/server/cyberhex-code/install/end.php b/src/server/cyberhex-code/install/end.php index 295d4df..6b807e0 100644 --- a/src/server/cyberhex-code/install/end.php +++ b/src/server/cyberhex-code/install/end.php @@ -12,13 +12,30 @@ } h1 { color: #333; + } + footer { + background-color: #333; + color: white; + text-align: center; + padding: 20px; + position: fixed; + bottom: 0; + width: 100%; + } + header { + background-color: #333; + color: white; + text-align: center; + padding: 20px; } +
+

Cyberhex installation (step 4/4)

+

You have installed cyberhex! Thank you for choosing us!

Finish installation. - + + diff --git a/src/server/cyberhex-code/install/welcome.php b/src/server/cyberhex-code/install/welcome.php index 8e7b73a..7ad3ad0 100644 --- a/src/server/cyberhex-code/install/welcome.php +++ b/src/server/cyberhex-code/install/welcome.php @@ -12,13 +12,34 @@ } h1 { color: #333; + } + footer { + background-color: #333; + color: white; + text-align: center; + padding: 20px; + position: fixed; + bottom: 0; + width: 100%; + } + header { + background-color: #333; + color: white; + text-align: center; + padding: 20px; } +
+

Cyberhex installation (step 1/4)

+

Welcome to the Cyberhex Installation

The installer will guide you through the installation.

If there are any errors during installation or you are stuck, please contatact info.jakach@gmail.com

Start installation. +