CLEANUP: make index.php very short and move everything in separate files created an include dir and almost everything that was in index.php is now in separate files and gets only included in index.php... makes index.php look a lot nicer ;) Signed-off-by: Arun Persaud <arun@nubati.net>
BUGFIX: counted foxes wrong for poverty had two cases (no schweinchen and two schweinchen) mixed up. Signed-off-by: Arun Persaud <arun@nubati.net>
CLEANUP: started some database cleanup and added some more comments instead of having a different function for each possible way to query for example the full name of a player, there is now only one function with a switch statement that handles the different cases. Still not 100% perfect, but I think nicer to read than before. Signed-off-by: Arun Persaud <arun@nubati.net>
BUGFIX: a comment for schweinchen was issued even in solo games without schweinchen fixed the comment issue and also added trump solo to games where schweinchen will count Signed-off-by: Arun Persaud <arun@nubati.net>
BUGFIX: link to wiki wasn't in the config file, added link on the home page * the home page now links to the wiki * the wiki-url is now part of the config file Signed-off-by: Arun Persaud <arun@nubati.net>
BUGFIX: use of local web links now possible before I used a lot of http:// requests although the files were in the same domain, now local links with absolute paths are used.
BUGFIX: local time should now work correctly had to reset the timezone to the local time. added a config parameter to store the local timezone.
BUGFIX: time display used wrong timezones. also optimized things a bit Got rid of a few db-queries for getting the right timezone. The timezone was also set after the timefunction was called and therefore the timezone didn't have any effect.
BUGIFX: sort game list by session in user menu if it is your turn those games are shown in the user menu, but where not sorted by sessions. fixed now
LAYOUT: fixed some typos, changed CSS a bit the linebreak for displaying the tricks should be gone now. Fixed also quite a few other small things at the same time.
NEW FEATURE: make stastitic page accessable created a link from the user menu to the stats.php page
NEW FEATURE: count game points, partly done ;) a table will be shown now for score keeping. fox, karlchen and dokos are accounted for normal win, calling something and winning should be accounted for still missing: both parties call or one party calls and doesn't acchieve it's goal
CLEANUP: make html output a bit nicer added some newlines and spaces
LAYOUT: 1st round of changes to get rid of overlapping areas centered table, moved menus to correct place (this also fixed a bug that still showed that it was your turn in a game after you moved) and some other small changes.
LAYOUT: new user page mixed finished games, started games and games in progress into one table
LAYOUT: fixed some overlaying of boxes (but not all), made userpage a bit nicer a bit more html on the user page and the session are displayed differently now. Also fixed a few small html errors, moved the link for new games into the menu and probably some small things I don't remember right now ;)
BUGIFX+LAYOUT: gameids where still in the player menu; show table for new game setup fixed last commit. for new games, the table is now shown and one can select the place people are sitting better.
LAYOUT: started work on new layout table is also shown during setup of the game user menu on the left, game menu on the right user menu shows games in which you have to move
BUGFIX: use email reply address for sending the ini_set method didn't seem to work for some reason. Setting the From in the header does work though
CLEANUP: working on database now a config.php option moved error checking into a function and made working on the database a config.php option