summaryrefslogtreecommitdiffstats
path: root/include/stats.php
AgeCommit message (Collapse)AuthorFilesLines
2016-07-10update copyright yearArun Persaud1-1/+1
2014-01-05updated copyright to 2014Arun Persaud1-1/+1
2013-02-09moved php from old mysql to myslqi to make things more future proofArun Persaud1-2/+3
2013-01-12updated copyright for 2013Arun Persaud1-1/+1
2012-12-31set languages can also be used by UID now; make mymail langauge sensitiveArun Persaud1-1/+1
mymail used to use the language of the person triggering the email.
2012-12-31improved language detection using browser information; set the language ↵Arun Persaud1-0/+1
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.
2012-05-08BUGFIX: removed side effect from getting the user's preferences: the ↵Arun Persaud1-0/+2
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
2012-02-10updated copyright notice for 2012Arun Persaud1-1/+1
2010-03-04CLEANUP: moved more statistics into the sortable tableArun Persaud1-42/+6
2010-02-06added copyright notice and GPL referenceArun Persaud1-0/+19
2009-08-06BUGFIX: counted cancled games as active games in the statisticsArun Persaud1-1/+1
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.
2009-02-12NEW FEATURE + CLEANUP: added some table sorting to the statistics page via ↵Arun Persaud1-16/+5
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.
2009-01-15CLEANUP: fixed a typo, changed copyright, added Jeff for database schemeArun Persaud1-2/+2
2008-12-11NEW FEATURE: added a statistic that shows how fast people respondArun Persaud1-0/+15
only uses the difference of timesstamps when you don't play the first card of a trick
2008-10-20BUGFIX: make user menu and personal notes appear againArun Persaud1-30/+30
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>
2008-09-17BUGFIX: solo statistics didn't include silent soloArun Persaud1-1/+1
include silent solo in the solo statistics (number of solo/game) Signed-off-by: Arun Persaud <arun@nubati.net>
2008-09-14NEW FEATURE: statistics for contra/re calls, no90, etc.Arun Persaud1-8/+9
how often does the re/contra party call no 90, no 60, etc. Signed-off-by: Arun Persaud <arun@nubati.net>
2008-07-08LAYOUT: nice and shinyArun Persaud1-0/+3
hopefully some improvements ;) Signed-off-by: Arun Persaud <arun@nubati.net>
2008-06-16NEW FEATURE: login buttonArun Persaud1-2/+0
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>
2008-06-08NEW FEATURE: added caching to stats.phpArun Persaud1-180/+194
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>
2008-06-01NEW FEATURE: statistics of most solos per gameArun Persaud1-0/+14
added a new statistic Signed-off-by: Arun Persaud <arun@nubati.net>
2008-05-29CLEANUP: used tidy to clean up the HTMLArun Persaud1-1/+1
got rid of a lot of warning message, HTML should be nicer now ;) Signed-off-by: Arun Persaud <arun@nubati.net>
2008-05-26LAYOUT: floating tables on the statistics pageArun Persaud1-41/+17
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>
2008-05-26LAYOUT: more tables on the statistics pageArun Persaud1-44/+46
changed the last two tables to the new CSS-tables. Signed-off-by: Arun Persaud <arun@nubati.net>
2008-05-26LAYOUT: applied new table output to statistics pageArun Persaud1-70/+67
most table on the statistics page should look nice now ;) Signed-off-by: Arun Persaud <arun@nubati.net>
2008-05-08CLEANUP: reorganized the 'init' phase of a gameArun Persaud1-1/+1
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>
2008-05-06CLEANUP: removed all calls to mysql functions and replaced them with calls ↵Arun Persaud1-98/+97
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>
2008-05-04NEW FEATURES: show global statisticArun Persaud1-2/+3
show points/game for all players that have 10 or more games Signed-off-by: Arun Persaud <arun@nubati.net>
2008-05-01CLEANUP: moved the statistics page into the include directoryArun Persaud1-0/+240
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>