From 448ca16b770c8cfe055f4ffb41cd5c189da3cde0 Mon Sep 17 00:00:00 2001
From: Arun Persaud
Date: Thu, 29 May 2008 22:51:19 -0700
Subject: CLEANUP: used tidy to clean up the HTML
got rid of a lot of warning message, HTML should be nicer now ;)
Signed-off-by: Arun Persaud
---
include/output.php | 53 +++++++++++++++++++++++++----------------------------
include/stats.php | 2 +-
include/user.php | 6 +++---
3 files changed, 29 insertions(+), 32 deletions(-)
diff --git a/include/output.php b/include/output.php
index a0b9df3..2fcfaca 100644
--- a/include/output.php
+++ b/include/output.php
@@ -42,55 +42,52 @@ function output_form_for_new_game($names)
srand((float) microtime() * 10000000);
$randkey = array_rand($names);
$rand = $names[$randkey];
- echo "
\n";
+ echo "
\n";
$i++;
- echo " \n";
+ echo " \n
\n";
+ echo " \n
\n";
}
?>
Rules
Some areas are grayed out which means that the rule is not implemented yet and therefore cannot be selected
-
Ten of hearts:
-
-
just normal non-trump
-
first ten of hearts wins the trick
-
second ten of hearts wins the trick
-
-
-
Schweinchen (both foxes), only in normal games or silent solos:
-
+
Ten of hearts:
+
+
just normal non-trump
+
first ten of hearts wins the trick
+
second ten of hearts wins the trick
+
+
Schweinchen (both foxes), only in normal games or silent solos:
+
none
both become highest trump (automatic call at beginning of the game)
- first one normal, second one becomes highest (call during the game)
+ first one normal, second one becomes highest (call during the game)
- second one become highest only in case re/contra was announced (not working yet)
+ second one become highest only in case re/contra was announced (not working yet)
-
-
-
Call Re/Contra, etc.:
-
-
- Can call re/contra on the first own card played, 90 on the second, etc.
-
- Can call re/contra until 5th card is played, 90 until 9th card is played, etc.
-
- Can call re/contra until 5th card is played, 90 if player still has 9 cards, etc.
-
-
+
+
Call Re/Contra, etc.:
+
+
+ Can call re/contra on the first own card played, 90 on the second, etc.
+
+ Can call re/contra until 5th card is played, 90 until 9th card is played, etc.
+
+ Can call re/contra until 5th card is played, 90 if player still has 9 cards, etc.
+
The longest session is session ".$long[1]." with ".$long[0].
" games played by ".join(", ",$names).".\n";
}
diff --git a/include/user.php b/include/user.php
index 7e8ef9e..54ce302 100644
--- a/include/user.php
+++ b/include/user.php
@@ -136,14 +136,14 @@ if(myisset("forgot"))
}
if($r[4]=='pre')
{
- echo "\n p ";
+ echo "\n p ";
}
else if ($r[4]=='gameover')
- echo "\n F ";
+ echo "\n F ";
else
{
- echo "\n P ";
+ echo "\n P ";
}
if($r[4] != 'gameover')
{
--
cgit v1.2.3-18-g5258