Commit Graph

147 Commits

Author SHA1 Message Date
Andreas Zweili 5f7fd8d0a3 add a function to get the userId from the database 2017-02-17 10:35:25 +01:00
Andreas Zweili 9b0e10ba5c change table names 2017-02-17 10:07:20 +01:00
Ismail Cadaroski 7b229c6a14 written the delete function in the post and some minor changes 2017-02-16 22:47:16 +01:00
Ismail Cadaroski 60cf0068fa changed the row of the values 2017-02-16 22:46:46 +01:00
Ismail Cadaroski 75e98a190f stylesheet 2017-02-16 22:46:17 +01:00
Ismail Cadaroski 81d5b5332a added a stylesheet class 2017-02-16 22:46:05 +01:00
Ismail Cadaroski 5114ee9910 built the edit function 2017-02-16 19:39:49 +01:00
Ismail Cadaroski ff8164c026 removed the ticket.php and inserted the logout 2017-02-16 19:39:20 +01:00
Ismail Cadaroski 099635456e changed the header 2017-02-16 19:38:58 +01:00
Ismail Cadaroski 653f2c8f8c inset the edit, delete and post functions
- delte and edit are not finished
2017-02-16 19:38:45 +01:00
Ismail Cadaroski 88fecf1c4c changed the header 2017-02-16 19:37:48 +01:00
Ismail Cadaroski 44b78ed443 stylesheet changes for the post box 2017-02-16 19:37:33 +01:00
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