<?php global $access; if($access != 1){ exit("Direct Access not allowed"); } ?>

<div class="ReservationContent">
<p><strong>To view or cancel your reservation, we need the following information from you</strong></p>

				<?php if($error == 3) { ?>
                	<div class="alert alert-danger" style="width: 552px; margin-left: 2px;">Please fill all the fields</div>
				<?php } 
					elseif($error == 2) { ?>
                	<div class="alert alert-danger" style="width: 552px; margin-left: 2px;">Please enter a valid itinerary number</div>
                <?php } 
					elseif($error == 1) { ?>
                	<div class="alert alert-danger" style="width: 552px; margin-left: 2px;">Please enter a valid email</div>
                <?php } elseif($error == 4) { ?>
                	<div class="alert alert-danger" style="width: 552px; margin-left: 2px;">Your Itinerary is not active</div>
                <?php } elseif($message == 1) { ?>
                	<div class="alert alert-warning" style="width: 552px; margin-left: 2px;">Your Request to cancel was send, you will receive a confirmation email.</div>
                <?php } ?>

				<form name="login" id="login" method="post" action="itinerary.php">
                
                  <div class="control-group control-group-1">
                    <label class="control-label">Itinerary Number</label>
                    <div class="controls">
                      <input type="text" id="intinerary" class="textinput input-xlarge" value="" name="intinerary" />
                    </div>
                  </div>
                  <div class="control-group control-group-1">
                    <label class="control-label">Your Email</label>
                    <div class="controls">
                      <input type="text" id="email" class="textinput input-xlarge" value="" name="email" />
                    </div>
                  </div>
                  
                  <div class="btn-group">
                    <button class="btn btn-primary">SUBMIT</button>
                  </div>
               	</form><br>
</div>