echo $_GET['room_id'];
?>
" />
					<input type="hidden" name="reservation_id" value="<?php 
echo $_GET['reservation_id'];
?>
" />
                    <b>Reservation Date:</b> <input type="text" id="datepicker" name="date" readonly="readonly" value="<?php 
echo $_GET['date'];
?>
" onchange="dateUpdated()"/>

                    <?php 
if (!empty($_GET['date'])) {
    // we want to show the time selector and a submit button
    $scheduler->buildAvailableTimes($db, $_GET);
    if (!empty($_GET['recurring']) && $_GET['recurring'] == 'on') {
        echo '</br><br/><input checked type="checkbox" name="recurring" onchange="dateUpdated()"> Recurring Reservation</br>';
        $scheduler->buildRecurrenceOptions($db);
        if (empty($_GET['recurrence_end'])) {
            echo '</br><b>Recurrence End Date:</b> <input type="text" id="datepicker2" name="recurrence_end" readonly="readonly" value="' . $_GET['date'] . '"/>';
        } else {
            echo '</br><b>Recurrence End Date:</b> <input type="text" id="datepicker2" name="recurrence_end" readonly="readonly" value="' . $_GET['recurrence_end'] . '"/>';
        }
    } else {
        echo '</br><br/><input type="checkbox" name="recurring" onchange="dateUpdated()"> Recurring Reservation</br>';
    }
    echo '<br/><br/><input onclick="submitButton();" type="submit" value="Schedule Reservation" class="mdl-button mdl-js-button mdl-button--raised mdl-js-ripple-effect"/>' . "\r\n";
    echo '<br/><br/>Can\'t find the time you want? Looks like it is taken...<br/>Click <a class="home_screen_link" href="add_to_waitlist.php?room_id=' . $_GET['room_id'] . '">here</a> to sign up for the waitlist.';
}
?>