From 26f561e634604128bc73c47b43c8f7b89a1ab128 Mon Sep 17 00:00:00 2001 From: James Date: Mon, 28 Mar 2022 07:40:17 +0200 Subject: [PATCH] Updated base structure --- css/styles.css | 7 +++++++ index.php | 37 ++++++++++++++++++++----------------- roles/Example.php | 15 ++++++++++----- roles/detective.php | 14 ++++++++++++++ roles/innocent.php | 14 ++++++++++++++ roles/traitor.php | 15 +++++++++++++++ 6 files changed, 80 insertions(+), 22 deletions(-) create mode 100644 roles/detective.php create mode 100644 roles/innocent.php create mode 100644 roles/traitor.php diff --git a/css/styles.css b/css/styles.css index e69de29..12d4cac 100644 --- a/css/styles.css +++ b/css/styles.css @@ -0,0 +1,7 @@ +html { + background: url("https://img4.goodfon.com/wallpaper/nbig/2/39/tokho-toukhou-devushka-fon-mech.jpg") no-repeat center center fixed; + -webkit-background-size: cover; + -moz-background-size: cover; + -o-background-size: cover; + background-size: cover; +} diff --git a/index.php b/index.php index 1470a61..30893bf 100644 --- a/index.php +++ b/index.php @@ -15,32 +15,35 @@ - + + +
-
-
-
- - '); - printf(substr($filename, 6, -4)); - printf(""); - include $filename; - printf(' -
-
-
- '); + include $filename; + echo ' +
+
+
+ '.$name.' +

'.$description.'

+
+ +
+
+ '; } ?> + +
diff --git a/roles/Example.php b/roles/Example.php index afa86a4..f8b0385 100644 --- a/roles/Example.php +++ b/roles/Example.php @@ -1,9 +1,14 @@ diff --git a/roles/detective.php b/roles/detective.php new file mode 100644 index 0000000..52b7139 --- /dev/null +++ b/roles/detective.php @@ -0,0 +1,14 @@ + diff --git a/roles/innocent.php b/roles/innocent.php new file mode 100644 index 0000000..670897c --- /dev/null +++ b/roles/innocent.php @@ -0,0 +1,14 @@ + diff --git a/roles/traitor.php b/roles/traitor.php new file mode 100644 index 0000000..5c0bc85 --- /dev/null +++ b/roles/traitor.php @@ -0,0 +1,15 @@ +