} if ($NumberOfPosts) { echo ' (<a href="#msg">Messages: ' . $NumberOfPosts . '</a>)'; } else { echo ' (Messages: 0)'; } if ($MyColour != 50) { if ($HandSize[$MyColour] > 1) { echo '<p>' . transtext('bpYourCardsAre') . ' '; for ($i = 0; $i < $HandSize[$MyColour] - 1; $i++) { echo DecipherCardSymbol($Cards[$MyColour][$i]) . ', '; } echo DecipherCardSymbol($Cards[$MyColour][$HandSize[$MyColour] - 1]) . '.'; } else { if ($HandSize[$MyColour]) { echo '<p>' . transtext('bpOnlyOneCard') . ' <b>' . DecipherCardSymbol($Cards[$MyColour][0]) . '</b>.'; } else { echo '<p>' . transtext('gbYouHaveNoCards'); } } } echo $HTBox; ///////////////////////////// ///////////////////////////// ///////////////////////////// if ($ModularBoardParts & 6) { $MidlandsExists = 1; } else { $MidlandsExists = 0; } if ($GVersion > 2) {
$PlayerThings = 1; $ThePlayerStandardThings = ''; $ThePlayerExtraThings = ''; if ($HandSize[$MyColour] > 1 and ($MyColour != $PlayerToMove or $NoSwapCards)) { $ThePlayerExtraThings = transtext('bpCardSwap1st') . ' <select name="FirstCardNotMyTurn">'; for ($i = 0; $i < $HandSize[$MyColour]; $i++) { $ThePlayerExtraThings .= '<option value="' . $i . '">' . DecipherCardSymbol($Cards[$MyColour][$i]); } $ThePlayerExtraThings .= '</select><br>' . transtext('bpCardSwap2nd') . ' <select name="SecondCardNotMyTurn">'; for ($i = 0; $i < $HandSize[$MyColour]; $i++) { $ThePlayerExtraThings .= '<option value="' . $i . '">' . DecipherCardSymbol($Cards[$MyColour][$i]); } $ThePlayerExtraThings .= '</select><br><input type="submit" name="FormSubmit" value="Swap These Cards"><br><input type="submit" name="FormSubmit" value="Sort Cards"><p>'; } else { if ($HandSize[$MyColour] == 1 and $NoSwapCards) { $ThePlayerExtraThings = transtext('bpOnlyOneCard') . ' ' . DecipherCardSymbol($Cards[$MyColour][0]) . '.<p>'; } } if (!$RailPhase or $Round != $NumRounds or $HandSize[$MyColour] > 0) { $ThePlayerExtraThings .= transtext('bpMayQuit') . '<br><input type="checkbox" name="CheckA" value="1">' . transtext('bpQuitSure1') . '<br><input type="checkbox" name="CheckB" value="1">' . transtext('bpQuitSure2') . '!<br><input type="submit" name="FormSubmit" value="Quit"><p>'; $ThePlayerStandardThings = transtext('bpYourNotes') . '<p><textarea cols="100" rows="8" name="GameNotes">' . $Notes[$MyColour] . '</textarea><p>'; if ($GameStatus == 'In Progress' or $GameStatus == 'Recruiting Replacement') { $ThePlayerStandardThings .= '<input type="submit" name="FormSubmit" value="Save notes"><p>'; } } if ($AbortVoteActive) { if ($IHaveAbortVoted) { $ThePlayerStandardThings .= transtext('bpStillWaitingA') . ' <input type="submit" name="FormSubmit" value="Vote On Aborting"><input type="hidden" name="votevalue" value="0"><p>'; } else { $ThePlayerStandardThings .= transtext('bpVoteA') . ' <input type="checkbox" name="votevalue" value="1">' . transtext('bpAbort?') . ' <input type="submit" name="FormSubmit" value="Vote On Aborting"><br>' . transtext('bpIfUnanimousA') . '<p>'; }