Age | Commit message (Collapse) | Author | Files | Lines |
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
before I used a lot of http:// requests although the files were in the
same domain, now local links with absolute paths are used.
|
|
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.
|
|
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.
|
|
the wrong time was shown for the minimum game
|
|
title says it all ;)
|
|
also name players a bit more often.
|
|
Game base, but all Games where added up
fixed now
|
|
added a few statistics to an extra page, still not completely done, but already working
|