diff options
author | Arun Persaud <arun@nubati.net> | 2008-07-13 14:40:59 -0700 |
---|---|---|
committer | Arun Persaud <arun@nubati.net> | 2008-07-13 20:35:17 -0700 |
commit | 3e07ecbf6f6b1f9f027bc5895a43d5efa774d083 (patch) | |
tree | 3fd80e735d3f738e597f2b60f59359e7b5794e4d /include/output.php | |
parent | 4f932986e02718cba7aef75d69702e2b7daa88fe (diff) | |
download | e-DoKo-3e07ecbf6f6b1f9f027bc5895a43d5efa774d083.tar.gz e-DoKo-3e07ecbf6f6b1f9f027bc5895a43d5efa774d083.tar.bz2 e-DoKo-3e07ecbf6f6b1f9f027bc5895a43d5efa774d083.zip |
NEW FEATURE: in poverty you can now see what cards have been handed over
cards exchanged during poverty show now up in the pre-game trick.
Signed-off-by: Arun Persaud <arun@nubati.net>
Diffstat (limited to 'include/output.php')
-rw-r--r-- | include/output.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/output.php b/include/output.php index 21f7e8e..8272739 100644 --- a/include/output.php +++ b/include/output.php @@ -143,7 +143,7 @@ function display_card($card,$dir="english") /* cards are only availabl for the odd values, e.g. 1.png, 3.png, ... * convert even cards to the matching odd value */ - if( $card/2 - (int)($card/2) == 0.5) + if( $card/2 - (int)($card/2) == 0.5 || $card == 0) echo "<img src=\"cards/".$dir."/".$card.".png\" alt=\"".DB_get_card_name($card)."\" />\n"; else echo "<img src=\"cards/".$dir."/".($card-1).".png\" alt=\"".DB_get_card_name($card-1)."\" />\n"; @@ -270,7 +270,7 @@ function output_header() <title>e-Doko</title> <meta content="text/html; charset=ISO-8859-1" http-equiv="content-type" /> <link rel="shortcut icon" type="image/x-icon" href="pics/edoko-favicon.png" /> - <link rel="stylesheet" type="text/css" href="css/standard009.css" /> + <link rel="stylesheet" type="text/css" href="css/standard010.css" /> <script type="text/javascript"> var current=0; function hl(num) { |