"; echo "

"; echo ""; echo "

Sorry $_GET[callsign], there are no open slots left in that group.

Please register on your own or ask the group leader to reserve more slots.

"; echo ""; exit; } $minToDeparture = $timePerGame*($missionid-$lastCommitedMissionID); $d=strtotime("+$minToDeparture Minutes",$lastCommitTime); $etd = date("h:i", $d); echo ""; echo "


"; echo ""; echo "

Thank you $_GET[callsign]. You have been entered into the queue piloting a $mechname.

You are currently set for mission:

#$missionid

Please continue to check the queue displays for your position in the queue.

"; echo ""; exit; } if($isLeader){ // Atomically reserve $hm seats (leader + placeholders) in one mission. require_once("includes/queue.php"); $missionid = pqs_enqueue_group($callsign, $mechname, $hm); $minToDeparture = $timePerGame*($missionid-$lastCommitedMissionID); $d=strtotime("+$minToDeparture Minutes",$lastCommitTime); $etd = date("h:i", $d); echo ""; echo "


"; echo ""; echo "

Thank you $_GET[callsign]. You have been entered into the queue piloting a $mechname.

You are currently set for mission:
#$missionid
Your Estimated Departure time is: $etd

Please continue to check the queue displays for your position in the queue.

"; echo ""; exit; } // Atomically seat the player in the next open mission (creates one if // needed). Serialized + transactional to prevent the overfill race that // concurrent kiosk/staff registrations used to cause. See includes/queue.php. require_once("includes/queue.php"); $missionid = pqs_enqueue_player($callsign, $mechname); $minToDeparture = $timePerGame*($missionid-$lastCommitedMissionID); $d=strtotime("+$minToDeparture Minutes",$lastCommitTime); $etd = date("h:i", $d); echo ""; echo "


"; // echo ""; echo ""; echo "

Thank you $_GET[callsign]. You have been entered into the queue piloting a $mechname.

You are currently set for mission:

#$missionid
Your Estimated Departure time is: $etd
Please continue to check the queue displays for your position in the queue.


Thank you $_GET[callsign]. You have been entered into the queue piloting a $mechname.

You are currently set for mission:

#$missionid
Your Estimated Departure time is: $etd
Please continue to check the queue displays for your position in the queue.


"; // echo ""; exit; } ?>


"; } else if ($isMember){ echo "
                        

            

        group
        howmany
        who
        "; } ?>