{
echo "<div class=\"info\">";
echo " is someone playing solo, etc?";
- echo "</div>";
+ echo "</div>\n";
return;
}
function display_news()
{
global $wiki;
- echo "<div class=\"bug\"> ".
- "Please hit shift+reload.<br /><hr />".
- "added local time display, let me know what you think<br /><hr />".
- "If you find more bugs, please list them in the <a href=\"".$wiki.
- "\">wiki</a>.</div>\n";
+ echo "<div class=\"bug\">\n".
+ " Please hit <strong>shift+reload</strong>.<br /><hr />\n".
+ " added local time display, let me know what you think<br /><hr />\n".
+ " If you find more bugs, please list them in the <a href=\"".$wiki.
+ "\">wiki</a>.\n</div>\n";
return;
}
break;
case 'play':
case 'gameover': /*both entries here, so that the tricks are visible for both in case of 'play' there is a break later that skips the last part*/
- display_news();
- display_status();
-
/* display local time */
echo "<div class=\"time\">\n Local times:<table>";
$users = array();
echo "<tr> <td>$name</td> <td>".date("Y-m-d H:i:s")."</td></tr>\n";
};
echo "</table>\n</div>\n";
+ display_status();
/* display links to other games */
echo "<div class=\"over\">\n";
echo "</form>\n";
echo "</div>\n";
+ display_news();
+
$gamestatus = DB_get_game_status_by_gameid($gameid);
if($gamestatus == 'pre')
{