summaryrefslogtreecommitdiffstats
path: root/output.php
AgeCommit message (Collapse)AuthorFilesLines
2008-04-26CLEANUP: make index.php very short and move everything in separate filesArun Persaud1-430/+0
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-18BUGFIX: couldn't unclick no90 callArun Persaud1-10/+10
radio buttons for calling "no 120", "no 90", etc. had all different names and therefore clicking a second one, didn't unclick the first one. Signed-off-by: Arun Persaud <apersaud@lbl.gov>
2008-04-07CLEANUP: started some database cleanup and added some more commentsArun Persaud1-1/+1
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-01FEATURE: added a faviconArun Persaud1-0/+1
Lance made a nice favicon for edoko. So here it is ;) Signed-off-by: Arun Persaud <arun@nubati.net>
2008-02-28BUGFIX: link to wiki wasn't in the config file, added link on the home pageArun Persaud1-27/+29
* 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>
2008-01-06BUGFIX: people can't start new games unless they are part of itArun Persaud1-0/+1
up to now anyone could start a new game, now you need to be logged in and also be a player in the game Signed-off-by: Arun Persaud <arun@nubati.net>
2008-01-03BUGIFX: output was displayed twiceArun Persaud1-4/+4
the login information was displayed twice, also formatted the output a bit nicer in html
2008-01-03BUGIFX: added Lance to copyright and changed to 2008Arun Persaud1-1/+1
small changes in the footer
2007-12-17BUGFIX: use of local web links now possibleArun Persaud1-1/+1
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-17BUGFIX: local time should now work correctlyArun Persaud1-1/+3
had to reset the timezone to the local time. added a config parameter to store the local timezone.
2007-12-16LAYOUT: last login and logout text where displayed incorrectly sometimesArun Persaud1-21/+20
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-6/+23
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-07LAYOUT: fixed some typos, changed CSS a bitArun Persaud1-40/+40
the linebreak for displaying the tricks should be gone now. Fixed also quite a few other small things at the same time.
2007-11-08NEW FEATURE: addicted people can turn of a lot of the email spam and just ↵Arun Persaud1-0/+7
check online all emails saying: it's your turn can be turned off now by a user preference
2007-10-31CLEANUP: some small code cleanupArun Persaud1-1/+1
moved some css from inline to the style sheet, some linebreaks, etc.
2007-10-09CLEANUP: make html output a bit nicerArun1-11/+11
added some newlines and spaces
2007-08-04LAYOUT: fixed some overlaying of boxes (but not all), made userpage a bit nicerArun Persaud1-1/+1
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 ;)
2007-07-29BUGIFX+LAYOUT: gameids where still in the player menu; show table for new ↵Arun Persaud1-2/+9
game setup fixed last commit. for new games, the table is now shown and one can select the place people are sitting better.
2007-07-29LAYOUT: final score is displayed on the table; played card is displayed in trickArun Persaud1-4/+2
added another trick as trick13 that displays the final score. Also moved the played card to show up as a normal card and not in the middle of the table anymore.
2007-07-28LAYOUT: started work on new layoutArun Persaud1-28/+12
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
2007-07-28CLEANUP: moved registration to seperate php fileArun Persaud1-38/+1
started cleanup on index.php. trying to move as much out of index.php as possible to make it easier to read.
2007-07-28BUGFIX: change link from svn to gitArun Persaud1-2/+2
updated footer to point to the new git repository
2007-07-18NEW FEATURE+BUGFIX: changed calling re/contraArun Persaud1-0/+22
you can call re/contra, etc. now even if it is not your turn. Also fixed rule where you can say 90 with 9 cards, etc. so that you need to say 120 to say 90, 90 to say 60, etc.
2007-07-18NEW FEATURE: use php sessionArun Persaud1-28/+21
used php session, so that people can actually log in and out and linking from one page to another can be done easily without using form to send the password as a hidden parameter over the net all the time
2007-06-28CLEANUP: make the code look a bit nicerArun Persaud1-1/+1
just a few small things
2007-06-28BUGFIX: reload during the setup could mess up the state machineArun Persaud1-6/+0
if a user hits reload during the questions for the vorbehalt, the server printed an error message and the game could not continue. Now this is detected and the user is send back to the right page during the setup and can continue normally.
2007-06-24CLEANUP: get card names from the databaseArun Persaud1-4/+4
2007-06-23NEW FEATURE: password recovery is now workingArun Persaud1-1/+34
Added a simple form of password recovery. The user gets send an email with the new password, which is valid for 24h. The user can request a maximum of 5 passwords within 24h to prevent filling up the database with garbage.
2007-06-19CLEANUP: code + text messagesArun Persaud1-3/+5
cleaned up the code and corrected some typos
2007-06-19BUGFIX: CC'ed on final game allowed to view different accountsArun Persaud1-9/+0
When people got CC'ed on the final email, they also got copies of everyones email and the link to the game in that email. That way they could go to the user page of a different user. Removed CC option and will just send out two emails from now on. The first one to all players (reply all possible) and the second one with the personal link.
2007-06-04small fixes, typo, etcarun1-3/+7
2007-06-02added output of average time for a game on the homepagearun1-2/+2
2007-06-02new feature: added checks for re/contra/90 etc. ; fixed: some measages were ↵arun1-7/+15
outdated
2007-05-22feature: added link to game in final email, CC'ed people in final emailarun1-0/+11
2007-05-21fixed bug in shuffle functionarun1-3/+7
2007-05-17wedding should work now, started working on calling 120/90/60/30/0, small ↵arun1-2/+25
bugfixes
2007-04-22debugging was on for creating the hands -> no random numbersarun1-1/+1
2007-04-14some more testing and bugfixesarun1-2/+2
2007-04-12poverty should work now! added german card deck, tons of small fixesarun1-6/+35
2007-04-10added email to first player at the beginning of the game; fixed small layout ↵arun1-3/+3
issue
2007-04-09minor cleanuparun1-3/+5
2007-04-09more cleanuparun1-5/+4
2007-04-08cleaned up the interface a bitarun1-9/+0
2007-04-08added footer, moved revision into footerarun1-3/+10
2007-03-24Preparation for adding german cardsarun1-6/+6
2007-03-24some missing html and some more commentsarun1-3/+7
2007-02-12foxes should now work correctlyarun1-12/+11
2007-02-08* rewrote checking for sickness, the player now sees a nice summary before ↵arun1-4/+9
getting to the table... * wedding is now announced * for solo and normal games, re and contra are assigned correctly * the score for re and contra is computed at the end * used one variable $CARDS instead of several global ones e.g. $CARDS["trump"] instead of $TRUMP
2007-02-07fixed: bug in routine to figure out the next playerarun1-2/+27
added rulesets (change in database): at the beginning of a game differnt rules can be chosen
2007-02-03when starting a new game, games can't be selected twice anymore and are ↵arun1-3/+14
randomly pre-selected