diff options
Diffstat (limited to 'include/output.php')
-rw-r--r-- | include/output.php | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/include/output.php b/include/output.php index e57ed04..2f846be 100644 --- a/include/output.php +++ b/include/output.php @@ -428,4 +428,18 @@ function output_password_recovery($email,$password) <?php } + +function output_user_notes($userid,$gameid,$userstatus) +{ + echo "<div class=\"notes\"> Personal notes: <br />\n"; + $notes = DB_get_notes_by_userid_and_gameid($userid,$gameid); + foreach($notes as $note) + echo "$note <hr />\n"; + if($userstatus!='gameover') + echo "<input name=\"note\" type=\"text\" size=\"15\" maxlength=\"100\" />\n"; + echo "</div> \n"; + + return; +} + ?>
\ No newline at end of file |