Commit Graph

34 Commits

Author SHA1 Message Date
Andreas Zweili c6e9e9a32d add delete button to offer 2017-03-19 15:36:10 +00:00
Andreas Zweili df55f10fd6 remove unnecessary tag 2017-03-19 14:41:21 +00:00
Andreas Zweili f6c280cf55 add redirect 2017-03-07 20:50:29 +00:00
Andreas Zweili 1c5f7d42c1 fix the delete function 2017-03-07 20:29:02 +00:00
Andreas Zweili 390482daea fix line length 2017-03-07 20:21:05 +00:00
Andreas Zweili 4434566ca7 fix the XML format 2017-03-07 20:15:29 +00:00
Andreas Zweili 02bfff2f4c add various comments to functions.php 2017-03-07 20:09:57 +00:00
Andreas Zweili bc10532894 change and remove comments 2017-03-06 21:44:48 +00:00
Andreas Zweili 78696ee551 create a function to export an offer to XML 2017-03-06 21:38:25 +00:00
Andreas Zweili d59ee2fb11 add function to post an offer 2017-03-03 12:08:55 +01:00
Andreas Zweili b08ea12eda add a delivery date to the demands 2017-03-02 20:18:15 +01:00
Andreas Zweili ae050b7923 add function to show the details of a demand 2017-03-01 21:59:56 +01:00
Andreas Zweili e212f3709f show demand titles as links to show_demand.php 2017-02-27 21:37:06 +01:00
Ismail Cadaroski f0aeba0a02 -inserted a search button into board.php
-added a search page in which the results are shown
2017-02-27 20:13:15 +01:00
Andreas Zweili e25dbdb8d2 bring lines on one line 2017-02-21 20:04:35 +01:00
Andreas Zweili e06029066d remove some unnecessary parts 2017-02-20 22:39:43 +01:00
Andreas Zweili b4f3db4208 check if the maximumPieces is bigger than the minimumPieces 2017-02-20 22:05:30 +01:00
Andreas Zweili 27ee918b63 rename a function call 2017-02-20 21:37:02 +01:00
Andreas Zweili 5efaae8bb3 rename various files and functions to add consistency 2017-02-20 21:34:28 +01:00
Andreas Zweili bcd41be9a8 rename function names 2017-02-20 21:24:47 +01:00
Andreas Zweili c407495893 Remove the amounts and text fields from the board view.
The board view should provide an overview over the available
requests for further selection.
2017-02-20 21:12:41 +01:00
Andreas Zweili 4871de62d3 Create a seperate page for adding demands
In addition I've added a new field for quality.
2017-02-20 20:56:02 +01:00
Andreas Zweili 7380999487 finalize the edit function
the edit function can now update all the relevant fields
2017-02-17 14:13:22 +01:00
Andreas Zweili 8e061ec901 finalize the function to request the user id
I've had to correct an error in the demands table. Tags can be empty.
2017-02-17 13:52:36 +01:00
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 653f2c8f8c inset the edit, delete and post functions
- delte and edit are not finished
2017-02-16 19:38:45 +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 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 718398d824 move php functions into functions file 2017-02-06 21:55:36 +01:00
Andreas Zweili 613cc9bc3c move login.php to the bottom 2017-02-06 19:37:20 +01:00
Andreas Zweili 804d7ce98b restructuring 2017-02-05 22:11:00 +01:00