X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?p=e-DoKo.git;a=blobdiff_plain;f=include%2Ffunctions.php;h=7b29a28fe311dbd12e27fd1e2af53d1a6250cc5d;hp=fdb461e233448de9ce89fec9719b8b11e86bffa4;hb=98fcfc10d9f2ae7bc90713f47e809fa1f6eccf15;hpb=f7037807083af50fcbf136cfbf18b617342d7c4e diff --git a/include/functions.php b/include/functions.php index fdb461e..7b29a28 100644 --- a/include/functions.php +++ b/include/functions.php @@ -1,5 +1,5 @@ $name\n"; + echo " $name\n"; /* add hints for poverty, wedding, solo, etc */ if( $gametype != "solo") @@ -814,8 +847,6 @@ function display_table () function display_user_menu() { global $WIKI,$myid,$INDEX; - echo "
\n"; return; } @@ -900,6 +935,8 @@ function generate_score_table($session) function generate_global_score_table() { + $return = array(); + /* get all ids */ $gameids = DB_get_gameids_of_finished_games_by_session(0); @@ -932,8 +969,7 @@ function generate_global_score_table() $player[$key]['nr']+=1; } } - - echo "",$pl['name']," | ",round($pl['points']/$pl['nr'],3)," |