From 5fb868c90dedf191c4073b614d8247e47d330acd Mon Sep 17 00:00:00 2001 From: Ismail Cadaroski Date: Wed, 11 Jan 2017 20:21:10 +0100 Subject: [PATCH 1/5] Prototyp Sign Up for the index file. --- board.php | 4 ++-- css/stylesheet.css | 4 ++-- index.php | 17 +++++++++++++++-- ticket.php | 2 +- 4 files changed, 20 insertions(+), 7 deletions(-) diff --git a/board.php b/board.php index cd68705..98252ad 100644 --- a/board.php +++ b/board.php @@ -20,10 +20,10 @@ include 'navigation.php'; ?> - + -

Board

+

Board

diff --git a/css/stylesheet.css b/css/stylesheet.css index 38c17ed..660e44b 100644 --- a/css/stylesheet.css +++ b/css/stylesheet.css @@ -1,11 +1,11 @@ -body { +body { font-family:sans-serif; width:50%; margin-left:auto; margin-right:auto; } -p { +p { font-size:medium; font-family:sans-serif; font-weight:normal; diff --git a/index.php b/index.php index ea2b1dd..06302e5 100644 --- a/index.php +++ b/index.php @@ -16,7 +16,7 @@
@@ -24,6 +24,19 @@
-

Home

+ +

Home

+ + + +
+
+
+
+
+ +
+ + diff --git a/ticket.php b/ticket.php index 4ec99ad..586b333 100644 --- a/ticket.php +++ b/ticket.php @@ -24,6 +24,6 @@ -

Ticket

+

Ticket

From e3a2b8a4958a0f13f184f7cf8efab2c2be2b5e0d Mon Sep 17 00:00:00 2001 From: Ismail Cadaroski Date: Wed, 11 Jan 2017 20:21:27 +0100 Subject: [PATCH 2/5] Included dbh and signup file --- dbh.php | 10 ++++++++++ signup.php | 16 ++++++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 dbh.php create mode 100644 signup.php diff --git a/dbh.php b/dbh.php new file mode 100644 index 0000000..ca60af0 --- /dev/null +++ b/dbh.php @@ -0,0 +1,10 @@ + +$conn = mysqli_connect("localhost:4022", "root", "password", "login"); + + +if (!$conn){ + die("Connection failed:".mysqli_connect_error()); +} +?> diff --git a/signup.php b/signup.php new file mode 100644 index 0000000..73d5f06 --- /dev/null +++ b/signup.php @@ -0,0 +1,16 @@ + From ae1a813407253306d79df7a18e7c9f54d523fd74 Mon Sep 17 00:00:00 2001 From: Ismail Cadaroski Date: Wed, 11 Jan 2017 20:26:32 +0100 Subject: [PATCH 3/5] Login Changed into the header --- index.php | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/index.php b/index.php index 06302e5..a09ead9 100644 --- a/index.php +++ b/index.php @@ -21,6 +21,17 @@ ?> + + +
+
+
+
+
+ +
+ + @@ -28,15 +39,7 @@

Home

- -
-
-
-
-
- -
- + From 390fde9099388fcfadc3304918c9b33700624a3a Mon Sep 17 00:00:00 2001 From: Ismail Cadaroski Date: Wed, 11 Jan 2017 20:30:44 +0100 Subject: [PATCH 4/5] hanged Login position into navigation --- index.php | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/index.php b/index.php index a09ead9..79106dc 100644 --- a/index.php +++ b/index.php @@ -19,18 +19,21 @@ + + +
+
+
+
+
+ +
+ + - -
-
-
-
-
- -
- + From f2805f395601fb10336cc2a616a0e85846dd393e Mon Sep 17 00:00:00 2001 From: Ismail Cadaroski Date: Wed, 11 Jan 2017 21:42:17 +0100 Subject: [PATCH 5/5] Input Upload button --- board.php | 12 +++++++++++- dbh.php | 2 ++ index.php | 13 ++++--------- signup.php | 2 ++ ticket.php | 5 ++++- 5 files changed, 23 insertions(+), 11 deletions(-) diff --git a/board.php b/board.php index 98252ad..f16dadc 100644 --- a/board.php +++ b/board.php @@ -14,6 +14,10 @@
+ +

Board

+ +
+ +
+
+ +
+
-

Board

diff --git a/dbh.php b/dbh.php index ca60af0..7f3b067 100644 --- a/dbh.php +++ b/dbh.php @@ -1,3 +1,4 @@ + @@ -8,3 +9,4 @@ if (!$conn){ die("Connection failed:".mysqli_connect_error()); } ?> + diff --git a/index.php b/index.php index 79106dc..3a5f88e 100644 --- a/index.php +++ b/index.php @@ -14,6 +14,10 @@
+ +

Home

+ +
- -

Home

- - - - diff --git a/signup.php b/signup.php index 73d5f06..ab5db3b 100644 --- a/signup.php +++ b/signup.php @@ -1,3 +1,4 @@ + + diff --git a/ticket.php b/ticket.php index 586b333..65f25af 100644 --- a/ticket.php +++ b/ticket.php @@ -14,6 +14,10 @@
+ +

Ticket

+ +
-

Ticket