summaryrefslogtreecommitdiffstats
path: root/stats.php
AgeCommit message (Collapse)AuthorFilesLines
2008-05-01CLEANUP: moved the statistics page into the include directoryArun Persaud1-295/+0
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>
2008-04-26CLEANUP: make index.php very short and move everything in separate filesArun Persaud1-3/+3
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>
2008-04-07NEW FEATURE: some more statisticsArun Persaud1-1/+40
list the number of games a user is in at the moment and another list for the total number of games. Also list people that manage not to lose their foxes. Signed-off-by: Arun Persaud <arun@nubati.net>
2008-04-07CLEANUP: started some database cleanup and added some more commentsArun Persaud1-2/+2
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>
2008-03-13BUGFIX: some stats should really be displayed as an average per game...fixedArun Persaud1-8/+19
The number of foxes caught/lost was displayed in absolut numbers, which didn't look good for people who played a lot of games. So now it's on a per game basis. Signed-off-by: Arun Persaud <arun@nubati.net>
2007-12-17BUGFIX: use of local web links now possibleArun Persaud1-2/+2
before I used a lot of http:// requests although the files were in the same domain, now local links with absolute paths are used.
2007-12-16LAYOUT: last login and logout text where displayed incorrectly sometimesArun Persaud1-1/+2
in a previous commit I moved those tings to the output_header function. Turns out you can't do that, so here is the fix.
2007-12-16BUGFIX: time display used wrong timezones. also optimized things a bitArun Persaud1-11/+0
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.
2007-12-14BUGFIX: wrong SQL query for min and max time of gamesArun Persaud1-4/+7
the wrong time was shown for the minimum game
2007-12-14LAYOUT: made login/logout message in stats.php look nicerArun Persaud1-2/+4
title says it all ;)
2007-12-14NEW FEATURE: display longest session, display shortest games in hoursArun Persaud1-4/+15
also name players a bit more often.
2007-12-07BUGFIX: the number of extra points per Game where not calculated on a per ↵Arun Persaud1-14/+14
Game base, but all Games where added up fixed now
2007-11-08NEW FEATURE: statistics page, version1Arun Persaud1-0/+239
added a few statistics to an extra page, still not completely done, but already working