else
$next = NULL;
+ /* check for solo, add game type to session number */
+ echo "Game $session.$j";
+ if($GT !='normal')
+ echo " ($GT)";
if(isset($_SESSION['id']) && $_SESSION['id']==$myid)
{
if($previous)
- echo "<a href=\"{$INDEX}?action=game&me=$previous\">"._('previous game')."</a> \n";
- echo "This is game number $j of <a href=\"{$INDEX}?action=game&me=$lasthash\">$i</a> in session $session.\n";
+ echo " <a href=\"{$INDEX}?action=game&me=$previous\">"._('previous')."</a> \n";
if($next)
- echo " <a href=\"{$INDEX}?action=game&me=$next\">"._('next game')."</a> \n";
+ echo " <a href=\"{$INDEX}?action=game&me=$next\">"._('next')."</a> \n";
}
- else
- echo "This is game number $j of $i in session $session.";
+ if($j != $i )
+ echo " <a href=\"{$INDEX}?action=game&me=$lasthash\">last</a> \n";
+
echo "\n</div>\n";
}
{
/* output sickness of other playes, in case the already selected and are sitting in front of the current player */
echo "\n<ul class=\"tricks\">\n";
- echo " <li class=\"nohighlight\"> Game ".DB_format_gameid($gameid).": </li>\n";
echo " <li onclick=\"hl('0');\" class=\"current\"><a href=\"#\">Pre</a>\n".
" <div class=\"trick\" id=\"trick0\">\n";
/* output sickness of other playes, in case they already selected and are sitting in front of the current player */
echo "\n<ul class=\"tricks\">\n";
- echo " <li class=\"nohighlight\"> Game ".DB_format_gameid($gameid).": </li>\n";
echo " <li onclick=\"hl('0');\" class=\"current\"><a href=\"#\">Pre</a>\n".
" <div class=\"trick\" id=\"trick0\">\n";
if($myparty=='re' || $myparty=='contra')
{
echo "\n<ul class=\"tricks\">\n";
- echo " <li class=\"nohighlight\"> Game ".DB_format_gameid($gameid).": </li>\n";
$mygametype = DB_get_gametype_by_gameid($gameid);
$firstcard = ''; /* first card in a trick */
echo "\n<ul class=\"tricks\">\n";
- echo ' <li class="nohighlight"> '._('Game').' '.DB_format_gameid($gameid).": </li>\n";
/* output vorbehalte */
$mygametype = DB_get_gametype_by_gameid($gameid);