echo '';
echo ' '._('Do you want to play solo?').'';
echo ' <select name="solo" size="1">';
- echo ' <option value="No" selected="selected">'.'No'.'</option>';
+ echo ' <option value="No" selected="selected">'._('No').'</option>';
echo ' <option value="trumpless">'._('trumpless').'</option>';
echo ' <option value="trump">'._('trump').'</option>';
echo ' <option value="queen">'._('queen').'</option>';
echo "</div>\n\n";
echo "<footer>\n";
+ echo " <p class=\"left\"> copyright 2006-2013 <a href=\"$INDEX?action=about\">Arun Persaud, et al.</a> <br />\n";
echo " <p class=\"right\"> See the latest changes <a href=\"http://nubati.net/cgi-bin/gitweb.cgi?p=e-DoKo.git;a=summary\">\n".
" via git </a> <br />or download the source via <br />\n'git clone http://nubati.net/git/e-DoKo.git' <br />\n".
- " <a href=\"http://www.dreamhost.com/green.cgi\"><p>\n".
- " <img class=\"right\" alt=\"Green Web Hosting! This site hosted by DreamHost.\"".
- " src=\"pics/green1.gif\" height=\"32\" width=\"100\" /></a>\n";
- echo " <p class=\"left\"> copyright 2006-2013 <a href=\"$INDEX?action=about\">Arun Persaud, et al.</a> <br />\n";
+ " <a href=\"http://www.dreamhost.com/green.cgi\">\n".
+ " <img alt=\"Green Web Hosting! This site hosted by DreamHost.\"".
+ " src=\"pics/green1.gif\" height=\"32\" width=\"100\" /></a><p>\n";
echo "</footer>\n\n";
echo '<script src="'.autoversion('js/jquery.min.js'). '"></script>';
}
}
-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
*/
/* 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;
/* 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++)
}
echo " </div>\n";
}
- if($mygametype == $usersick)
+ if($gametype == $usersick)
$show = 0;
}
}