X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?p=e-DoKo.git;a=blobdiff_plain;f=include%2Foutput.php;h=279d4a43c05831ae2c9206276361caa597ff875c;hp=c267b0c699f1d85b68d60ba332d3edb9e2993d7c;hb=65de9655c6002bbfee76f1c3c45b312615fb375a;hpb=9d2ee5fd928dc253e34ca6a0e0be92b1fa041240 diff --git a/include/output.php b/include/output.php index c267b0c..279d4a4 100644 --- a/include/output.php +++ b/include/output.php @@ -1,5 +1,5 @@ +/* Copyright 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014 Arun Persaud * * This file is part of e-DoKo. * @@ -130,7 +130,6 @@ function output_form_for_new_game($names) echo ' '; $rand = $_SESSION["name"]; echo "
\n"; - $i++; echo " '; - echo ' '; + echo ' '; echo ' '; echo ' '; echo ' '; echo ' '; echo ' '; - echo ' '; - echo ' '; + echo ' '; + echo ' '; echo ' '; echo '
'; @@ -424,11 +423,15 @@ function output_header() e-Doko - + + " /> + " /> + "/> + \n\n"; echo "
\n"; - echo "

See the latest changes \n". + echo "

copyright 2006-2014 Arun Persaud, et al.
\n"; + echo "

See the latest changes \n". " via git
or download the source via
\n'git clone http://nubati.net/git/e-DoKo.git'
\n". " \n". " \"Green\n". - "

\n"; - echo "

copyright 2006-2012 Arun Persaud, et al.
\n". - " Verwendung der [deutschen] Kartenbilder mit Genehmigung
der Spielkartenfabrik Altenburg GmbH,(c) ASS Altenburger
\n". - " - ASS Altenburger Spielkarten - Spielkartenfabrik Altenburg GmbH
\n". - " a Carta Mundi Company Email: info@spielkarten.com Internet: www.spielkarten.com

\n"; + " src=\"pics/green1.gif\" height=\"32\" width=\"100\" />

\n"; echo "

\n\n"; echo ''; @@ -490,25 +489,34 @@ function output_navbar() $token = get_user_token($myid); /* logout info */ - echo "\n
\n"; - echo " E-DoKo\n"; - echo " \n"; - echo "
\n"; - - echo "
"._('last login').": ".date("r",$unixtime)."
\n\n"; + echo "\n\n"; } return; } @@ -641,7 +649,7 @@ function output_robotproof($i) } } -function output_exchanged_cards() +function output_exchanged_cards($gametype) { /* in a poverty game this function will output the exchanged cards * players in the team will see the cards, the other team will see @@ -649,7 +657,7 @@ function output_exchanged_cards() */ /* need some information about the game */ - global $gameid,$mygametype, $PREF,$me,$mystatus, $RULES; + global $gameid,$PREF,$me,$mystatus, $RULES; /* some variables to track where the people with poverty are sitting */ $partnerpos1 = 0; @@ -660,7 +668,7 @@ function output_exchanged_cards() /* only need to do it in a poverty game, this might not be needed, but * just to make sure everything is ok */ - if($mygametype == 'poverty' || $mygametype=='dpoverty') + if($gametype == 'poverty' || $gametype=='dpoverty') { /* find out who has poverty */ for($mypos=1;$mypos<5;$mypos++) @@ -796,7 +804,7 @@ function output_exchanged_cards() } echo "
\n"; } - if($mygametype == $usersick) + if($gametype == $usersick) $show = 0; } }