summaryrefslogtreecommitdiffstats
path: root/include/output.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/output.php')
-rw-r--r--include/output.php13
1 files changed, 13 insertions, 0 deletions
diff --git a/include/output.php b/include/output.php
index 96ab114..781fbb7 100644
--- a/include/output.php
+++ b/include/output.php
@@ -678,6 +678,19 @@ function output_exchanged_cards()
$show=1;
for($mypos=1;$mypos<5;$mypos++)
{
+ /* output comments */
+ if($mypos==2)
+ {
+ /* display all comments on the top right (card1)*/
+ $comments = DB_get_pre_comment($gameid);
+ /* display card */
+ echo " <div class=\"card1\">\n";
+ /* display comments */
+ foreach( $comments as $comment )
+ echo " <span class=\"comment\">".$comment[1].": ".$comment[0]."</span>\n";
+ echo " </div>\n"; /* end div card */
+ }
+
$usersick = DB_get_sickness_by_pos_and_gameid($mypos,$gameid);
if($usersick!=NULL ||
$mypos==$povertypos1 || $mypos==$partnerpos1 ||