<?php
error_reporting(E_ALL);
+global $REV;
+$REV ="\$Rev$";
+
include_once("config.php");
include_once("output.php"); /* html output only */
include_once("db.php"); /* database only */
echo "checking if you selected solo or nines...<br />".
" if you have a wedding, please send an email to the other players. <br />".
" if you have poverty you need to play a normal game,sorry...<br />".
- " At the moment you need to reload this page to finish the setup.<br />";
+ " Please click <a href=\"$host?me=$me\">here</a> to finish the setup.<br />";
if(!myisset("solo","wedding","poverty","nines") )
{
/* all these variables have a pre-selected default,
* tell people about it.
*/
echo "<br />checking if someone else selected solo or nines... wedding and poverty not handled at the moment<br />".
- "reload this page to finish the setup <br />";
+ " Please click <a href=\"$host?me=$me\">here</a> to finish the setup.<br />";
/* only set this after all poverty, etc. are handeled*/
DB_set_hand_status_by_hash($me,'play');
$play = array(); /* needed to calculate winner later */
$seq = 1;
- $pos = 0;
+ $pos = DB_get_startplayer_by_gameid($gameid)-1;
$firstcard = ""; /* first card in a trick */
echo "\n<ul class=\"tricks\">\n";