\n";
+
+ return $HTML;
+}
+
function display_card($card,$dir="english")
{
/* cards are only availabl for the odd values, e.g. 1.png, 3.png, ...
@@ -225,7 +242,6 @@ function output_form_calls($me)
" ";
}
-
function output_check_want_to_play($me)
{
?>
@@ -242,64 +258,6 @@ function output_check_want_to_play($me)
return;
}
-function output_home_page($pre,$game,$done,$avgtime)
-{
- global $WIKI;
-
- echo"
If you want to play a game of Doppelkopf, you found the right place ;)".
- " For more information please visit our wiki.
";
-
- if($pre == 0)
- echo "
At the moment there are no games that are being started ";
- else if($pre==1)
- echo "
At the moment there is one games that is being started ";
- else
- echo "
At the moment there are $pre games that are being started ";
-
- echo "and ";
-
- if($game==0)
- echo "zero games that are ongoing. ";
- else if($game==1)
- echo "one game that is ongoing. ";
- else
- echo "$game games that are ongoing. ";
-
- echo " \n";
-
- if($done==0)
- echo "No game has been completed on this server.
";
- else if($done==1)
- echo "One game has been completed on this server. ";
- else
- echo "$done games have been completed on this server. Average time of a game: $avgtime days";
-?>
-
-
Please register, in case you have not done that yet
- or login with you email-address or name and password here:
-
-
-
-e-Doko
-
+
@@ -375,15 +346,20 @@ function output_footer()
function output_status()
{
- global $defaulttimezone;
+ global $defaulttimezone,$INDEX,$WIKI;
if(isset($_SESSION["name"]))
{
$name = $_SESSION["name"];
/* logout info */
- echo "\n