summaryrefslogtreecommitdiffstats
path: root/output.php
diff options
context:
space:
mode:
authorArun Persaud <arun@nubati.net>2007-07-29 10:39:34 -0700
committerArun Persaud <arun@nubati.net>2007-07-29 10:39:34 -0700
commitd7c42361bda4c64a0594a8640156a504fc334f11 (patch)
tree855c6fc4bb14be6d4fa984d0f17f039eeb092fac /output.php
parent9d32a1343ce662c3d0536b45098e4da524d8ac2f (diff)
downloade-DoKo-d7c42361bda4c64a0594a8640156a504fc334f11.tar.gz
e-DoKo-d7c42361bda4c64a0594a8640156a504fc334f11.tar.bz2
e-DoKo-d7c42361bda4c64a0594a8640156a504fc334f11.zip
LAYOUT: final score is displayed on the table; played card is displayed in trick
added another trick as trick13 that displays the final score. Also moved the played card to show up as a normal card and not in the middle of the table anymore.
Diffstat (limited to 'output.php')
-rw-r--r--output.php6
1 files changed, 2 insertions, 4 deletions
diff --git a/output.php b/output.php
index 6d84128..ddea3b8 100644
--- a/output.php
+++ b/output.php
@@ -25,7 +25,6 @@ function output_ask_for_new_game($playerA,$playerB,$playerC,$playerD,$oldgameid)
global $RULES;
echo "Do you want to continue playing?(This will start a new game, with the next person as dealer.)\n";
- echo "<form action=\"index.php\" method=\"post\">\n";
echo " <input type=\"hidden\" name=\"PlayerA\" value=\"$playerA\" />\n";
echo " <input type=\"hidden\" name=\"PlayerB\" value=\"$playerB\" />\n";
echo " <input type=\"hidden\" name=\"PlayerC\" value=\"$playerC\" />\n";
@@ -35,7 +34,6 @@ function output_ask_for_new_game($playerA,$playerB,$playerC,$playerD,$oldgameid)
echo " <input type=\"hidden\" name=\"call\" value=\"".$RULES["call"]."\" />\n";
echo " <input type=\"hidden\" name=\"followup\" value=\"$oldgameid\" />\n";
echo " <input type=\"submit\" value=\"keep playing\" />\n";
- echo "</form>\n";
return;
}
@@ -296,7 +294,7 @@ function output_header()
function hl(num) {
if(document.getElementById){
var i;
- for(i=1;i<13;i++){
+ for(i=1;i<14;i++){
if(document.getElementById("trick"+i))
document.getElementById("trick"+i).style.display = 'none';
}
@@ -306,7 +304,7 @@ function output_header()
function high_last(){
if(document.getElementById){
var i;
- for(i=12;i>0;i--) {
+ for(i=13;i>0;i--) {
if(document.getElementById("trick"+i))
{
hl(i);