Get($gameID); $gamePlayers = $game->GetUserList(); //$joinInURL = new Array(); if(count($gamePlayers) < 2) { header('Location: http://www.ckoridor.com/'); } if($player == 1) { // print out the URL for Player 2 to join in... $joinInURL[0] = 'http://www.ckoridor.com/game/'.$gameID.'/player2'; if(count($gamePlayers) == 4) { // print out the URL for Player 3 to join in... $joinInURL[1] = 'http://www.ckoridor.com/game/'.$gameID.'/player3'; // print out the URL for Player 3 to join in... $joinInURL[2] = 'http://www.ckoridor.com/game/'.$gameID.'/player4'; } } echo ' '."\n"; echo ' '."\n"; echo ' '."\n"; echo ' CKoridor - Quoridor'."\n"; echo ' '."\n"; echo ' '."\n"; echo ' '."\n"; echo ' '."\n"; echo ' '."\n"; echo ' '."\n"; echo ' '."\n"; echo '
'."\n"; echo '
'."\n"; echo '
'."\n"; echo '
'."\n"; echo '
'."\n"; echo '
'."\n"; echo '
'."\n"; echo '
'."\n"; echo '
'."\n"; echo '
'."\n"; echo '
'."\n"; echo '
'."\n"; echo '
'."\n"; echo '
'."\n"; echo ""; echo '
'."\n"; echo ' '."\n"; echo ' '."\n"; echo ' '."\n"; } else header('Location: http://www.ckoridor.com/'); ?>