Commit Graph

85 Commits

Author SHA1 Message Date
Ismail Cadaroski 9d4465b4ae changed the fail notification to react to mysql mistakes 2017-02-16 19:37:16 +01:00
Ismail Cadaroski 364e6a4c7d change some css styles for the comments 2017-02-16 19:36:03 +01:00
Ismail Cadaroski 9014c3bbfa removed ticke.php and changed it to editboard.php for this function 2017-02-16 19:35:14 +01:00
Andreas Zweili e605c81911 Merge branch 'andreas' 2017-02-14 21:09:48 +01:00
Andreas Zweili d6abd48ac3 Add a UNIQUE constrait to the userMail and userLogin row
The userLogin and userMail have to be unique otherwise it's
possible to have multiple users with the same username which
is security whise a bit stupid.
I've extended the register function to return an appropriate
error message.
2017-02-14 21:06:51 +01:00
Andreas Zweili 5bee429ba1 Revert "pushing dele and post for the board"
This reverts commit d7d569bfac.

Conflicts:
	postboard.php
2017-02-12 21:21:52 +01:00
Andreas Zweili a701729e0d Revert "Put logout an postboard into website"
This reverts commit 5f6703e061.

Conflicts:
	board.php
2017-02-12 21:21:06 +01:00
ismail bf19376c4a changes 2017-02-09 17:05:35 +01:00
ismail d7d569bfac pushing dele and post for the board 2017-02-09 16:47:06 +01:00
ismail 5f6703e061 Put logout an postboard into website 2017-02-09 16:34:38 +01:00
Andreas Zweili 6ae02f74c2 change mysql_error to mysqli_error
mysql_error is deprecated new mysqli_error should be used
2017-02-06 22:34:20 +01:00
Andreas Zweili 4919c91835 add template.php 2017-02-06 21:55:58 +01:00
Andreas Zweili 718398d824 move php functions into functions file 2017-02-06 21:55:36 +01:00
Andreas Zweili 137ce0be7e Revert "restructuring"
This reverts commit 804d7ce98b.

Conflicts:
	index.php
2017-02-06 19:41:09 +01:00
Andreas Zweili 613cc9bc3c move login.php to the bottom 2017-02-06 19:37:20 +01:00
Andreas Zweili 41934482a6 change style sheet 2017-02-05 22:16:51 +01:00
Andreas Zweili 804d7ce98b restructuring 2017-02-05 22:11:00 +01:00
Andreas Zweili c52c46271c move the form to index.php 2017-02-05 15:17:19 +01:00
Andreas Zweili 0eee588a1e refactor 2017-02-05 15:16:45 +01:00
Andreas Zweili f10d6255db slight refactoring 2017-02-05 14:54:30 +01:00
Andreas Zweili 91a3a34f09 change tabs to spaces 2017-02-05 14:52:25 +01:00
Andreas Zweili b4a7a87cea correct path to login.php 2017-02-05 14:51:50 +01:00
Andreas Zweili 077086222e add registration.php file 2017-02-05 14:49:57 +01:00
Andreas Zweili 81728e6d48 change path to registration 2017-02-05 14:48:31 +01:00
Andreas Zweili 72de9d7100 change stylesheet 2017-02-05 14:48:16 +01:00
Andreas Zweili fc7afcaeab remove html headers from login.php
html headers etc aren't needed when one imports a file
2017-02-05 14:46:37 +01:00
Andreas Zweili b2ed4f90e1 change tabs to spaces.... 2017-02-05 14:41:00 +01:00
Andreas Zweili 2bdc242dc2 remove unused comments from index.php 2017-02-05 14:32:20 +01:00
Andreas Zweili 911ddf848c refactor db.php 2017-02-05 14:29:42 +01:00
Andreas Zweili 2af63956f6 update path to login.php 2017-02-05 14:22:43 +01:00
Andreas Zweili eb316dc898 remove db folder and unused files 2017-02-05 14:22:04 +01:00
Andreas Zweili 0a7e39ace1 change the credentials for the db login 2017-02-03 17:40:00 +01:00
Andreas Zweili f12649cfc2 add sql files to create DB 2017-02-03 17:37:36 +01:00
Andreas Zweili 077fe49191 add sql file to create the db 2017-01-31 19:31:00 +01:00
Ismail Cadaroski 77cc0c4342 db 2017-01-24 21:02:55 +01:00
Ismail Cadaroski a2dede758e db 2017-01-24 20:32:04 +01:00
Ismail Cadaroski b31384f5e5 db 2017-01-24 20:08:37 +01:00
Ismail Cadaroski 9ff5148c09 changed port on db.php 2017-01-24 20:05:10 +01:00
Ismail Cadaroski d8c7851b97 db new port 2017-01-24 19:46:43 +01:00
Ismail Cadaroski 5f6e7be6d0 changed the port on db.php 2017-01-24 19:40:58 +01:00
Ismail Cadaroski 04114270d9 create a sigup function 2017-01-24 19:30:01 +01:00
Ismail Cadaroski 290546eea5 index 2017-01-24 19:29:50 +01:00
Ismail Cadaroski 983fc5b221 registration function 2017-01-24 19:29:43 +01:00
Ismail Cadaroski d024ad5aa3 create a registration site and function 2017-01-24 19:29:26 +01:00
Ismail Cadaroski b197ce87aa create a home page 2017-01-24 19:29:13 +01:00
Ismail Cadaroski 3f107f46de create dbh for login 2017-01-24 19:28:37 +01:00
Ismail Cadaroski dcffd62435 create a logout function 2017-01-24 19:28:14 +01:00
Ismail Cadaroski 6e44060ab0 create a login index page 2017-01-24 19:27:56 +01:00
Ismail Cadaroski da8efe9595 change the index page to the index for the login 2017-01-24 19:27:44 +01:00
Ismail Cadaroski dd599083d3 create a db for the login 2017-01-24 19:27:05 +01:00