Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
|
|
|
|
mymail used to use the language of the person triggering the email.
|
|
directly in more places
previously one had to reload to get the language correct, now it should be correct right away.
We also read out the browser request for a language now.
|
|
language used could be overwritten by another user's choise
the DB_get_Prefs($myid) functions used to set the _SESSION variable for the language, but was also called with ids that belonged to other players overwriting the language settings with that from another user
|
|
|
|
|
|
|
|
instead of testing if the game was in 'pre' or 'play' modus I just tested for <> 'gameover' which also included games which where canceled because of e.g. five nines.
|
|
jquery
using jquery to add table sorting, might also use it for other things later.
Also optimized some DB-queries and cleaned up some code.
|
|
|
|
only uses the difference of timesstamps when you don't play the first card of a trick
|
|
had them only shown when player was logged in, but there is really no reason to not show them to players who are not logged in in an ongoing game (only the correct player should get to a page with an ongoing game)
Signed-off-by: Arun Persaud <arun@nubati.net>
|
|
include silent solo in the solo statistics (number of solo/game)
Signed-off-by: Arun Persaud <arun@nubati.net>
|
|
how often does the re/contra party call no 90, no 60, etc.
Signed-off-by: Arun Persaud <arun@nubati.net>
|
|
hopefully some improvements ;)
Signed-off-by: Arun Persaud <arun@nubati.net>
|
|
added a login button to the top right, in case you were not logged in. output_status can now be called in only one place, ie index.php and all pages will get the menu...
Signed-off-by: Arun Persaud <arun@nubati.net>
|
|
since reloading always took a while and things don't really
change that much over a day, I added a caching to it.
Signed-off-by: Arun Persaud <arun@nubati.net>
|
|
added a new statistic
Signed-off-by: Arun Persaud <arun@nubati.net>
|
|
got rid of a lot of warning message, HTML should be nicer now ;)
Signed-off-by: Arun Persaud <arun@nubati.net>
|
|
less text, captions are real captions not in paragraphs anymore, etc.
not sure about the floating arrangments, but still better than before
Signed-off-by: Arun Persaud <arun@nubati.net>
|
|
changed the last two tables to the new CSS-tables.
Signed-off-by: Arun Persaud <arun@nubati.net>
|
|
most table on the statistics page should look nice now ;)
Signed-off-by: Arun Persaud <arun@nubati.net>
|
|
moved some code around, so that we test the result
of the init phase in the init case statement. Made things
a bit clearer and removed one page reload by doing this.
Signed-off-by: Arun Persaud <arun@nubati.net>
|
|
to DB_xxx
should be very easy now to change to a different database. also made the code look nicer ;)
Signed-off-by: Arun Persaud <arun@nubati.net>
|
|
show points/game for all players that have 10 or more games
Signed-off-by: Arun Persaud <arun@nubati.net>
|
|
added action=stats and moved the stats.php page to the include directory. Now we
have a nice small index.php. Also moved the session_start in front of the includes,
since it gave me an error on the mac otherwise?!
Signed-off-by: Arun Persaud <arun@nubati.net>
|