From 09515348107d9aab7823a12d31b082a2ebb75555 Mon Sep 17 00:00:00 2001
From: Arun Persaud
Date: Sat, 26 Apr 2008 11:52:49 -0700
Subject: CLEANUP: make index.php very short and move everything in separate
files
created an include dir and almost everything that was in index.php is now in separate
files and gets only included in index.php... makes index.php look a lot nicer ;)
Signed-off-by: Arun Persaud
---
include/output.php | 435 +++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 435 insertions(+)
create mode 100644 include/output.php
(limited to 'include/output.php')
diff --git a/include/output.php b/include/output.php
new file mode 100644
index 0000000..1637603
--- /dev/null
+++ b/include/output.php
@@ -0,0 +1,435 @@
+\n";
+ 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:
+