From 92b91104986b28919e4a3603ce1bc7fbde0b8fbb Mon Sep 17 00:00:00 2001 From: Arun Persaud Date: Thu, 6 Oct 2011 19:30:21 -0700 Subject: started on better mobile support some changes in order of HTML, but mostly CSS --- include/game.php | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'include/game.php') diff --git a/include/game.php b/include/game.php index 0ef5a3e..dcabc67 100644 --- a/include/game.php +++ b/include/game.php @@ -121,7 +121,7 @@ set_gametype('normal'); echo "
\n"; /* handle user notes (only possible while game is running)*/ -if( $mystatus!='gameover' ) +if( $mystatus!='gameover' ) if(myisset('note')) { $note = $_REQUEST['note']; @@ -130,15 +130,6 @@ if( $mystatus!='gameover' ) DB_insert_note($note,$gameid,$myid); }; -/* make sure that we don't show the notes to the wrong person - * (e.g. other people looking at an old game) - */ -if( $mystatus != 'gameover' || - ( $mystatus == 'gameover' && - isset($_SESSION['id']) && - $myid == $_SESSION['id'])) - output_user_notes($myid,$gameid,$mystatus); - /* handle calls, output a comment to show when the call was made */ /* initialize comments */ $comment = ''; @@ -2177,6 +2168,15 @@ if(sizeof($other_game_ids)>0 && $mystatus=='gameover') echo "\n"; /* end gameinfo */ +/* make sure that we don't show the notes to the wrong person + * (e.g. other people looking at an old game) + */ +if( $mystatus != 'gameover' || + ( $mystatus == 'gameover' && + isset($_SESSION['id']) && + $myid == $_SESSION['id'])) + output_user_notes($myid,$gameid,$mystatus); + echo "
\n"; $gamestatus = DB_get_game_status_by_gameid($gameid); -- cgit v1.2.3-18-g5258