From 2bd1c94dd7e712bb2cc8e2c16fb317bd0169c59c Mon Sep 17 00:00:00 2001 From: Arun Persaud Date: Sun, 13 Nov 2011 20:09:25 -0800 Subject: LAYOUT: move display of cards below switch for mystatus This should make for a more consistent html layout and fix some issues that show up on different browsers and display sizes. --- include/functions.php | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'include/functions.php') diff --git a/include/functions.php b/include/functions.php index 0653ce4..ddac182 100644 --- a/include/functions.php +++ b/include/functions.php @@ -86,6 +86,21 @@ define("GAME_RECOVERY", 8); define("GAME_REMINDER", 9); define("GAME_NEW", 10); +/* define possible status for showing cards */ + +define("CARDS_EMPTY", 0); /* show player's hand*/ +define("CARDS_SHOW", 1); /* show player's hand*/ +define("CARDS_MYTURN", 2); /* show radiobuttons for cards that can be played*/ +define("CARDS_EXCHANGE", 3); /* do we need to return cards to our partner in poverty?*/ +define("CARDS_GAMEOVER_ME", 4); /* show all cards from everyone*/ +define("CARDS_GAMEOVER", 5); /* show all cards from everyone (looking at someone else's game)*/ + + /* cards_status: SHOW show our hand + * MYTURN show radiobutton for cards that can be played + * EXCHANGE do we need to return cards to our partner in poverty? + * GAMEOVER show all cards from everyone + */ + function mymail($uid,$gameid=0,$type,$message) { global $EmailName,$WIKI; -- cgit v1.2.3-18-g5258