<?php
//Gets from Ajax
$roompricetotalwithfee 	= $_GET['paypal'];
$hotelroomfinalprice 	= $_GET['currency'];
$choice 				= $_GET['choice'];

if($choice == 'paypal') { 

?>
<input type="hidden" name="roompricetotal" value="<?php echo number_format($roompricetotalwithfee, 2, '.', ''); ?>" />
<?php } else { ?>

				<div class="control-group control-group-1">
                  <label class="control-label">First Name On Card:</label>
                  <div class="controls">
                    <input class="textinput span7" type="text" name="cardfirstname">
                  </div>
                </div>
                <div class="control-group control-group-1">
                  <label class="control-label">Last Name On Card:</label>
                  <div class="controls">
                    <input class="textinput span7" type="text" name="cardlastname">
                  </div>
                </div>
                <div class="control-group control-group-3">
                  <label class="control-label">Card Number:</label>
                  <div class="controls">
                    <input class="textinput span7" type="text" name="cardnumber">
                  </div>
                </div>
                <input type="hidden" name="roompricetotal" value="<?php echo number_format($hotelroomfinalprice, 2, '.', ''); ?>" />
                <div class="control-group control-group-1">
                  <label class="control-label">Credit Card Type:</label>
                  <div class="controls">
                    <select name="cardtype" class="DropDownBtn">
                      <option value="">Select one...</option>
                      <option value="VI">Visa</option>
                      <option value="CA">MasterCard</option>
                      <option value="AX">American Express</option>
                      <option value="DS">Discover</option>
                    </select>
                  </div>
                </div>
                <div class="control-group control-group-1">
                  <label class="control-label">Expiration Date:</label>
                  <div class="controls">
                    <select name="credit-card-exp-month" class="ExpMonthCC">
                      <option value="Month">Month</option>
                      <option value="1">1</option>
                      <option value="2">2</option>
                      <option value="3">3</option>
                      <option value="4">4</option>
                      <option value="5">5</option>
                      <option value="6">6</option>
                      <option value="7">7</option>
                      <option value="8">8</option>
                      <option value="9">9</option>
                      <option value="10">10</option>
                      <option value="11">11</option>
                      <option value="12">12</option>
                    </select>
                    <select name="credit-card-exp-year" class="ExpYearCC">
                      <option value="Year">Year</option>
                      <option value="2013">2013</option>
                      <option value="2014">2014</option>
                      <option value="2015">2015</option>
                      <option value="2016">2016</option>
                      <option value="2017">2017</option>
                      <option value="2018">2018</option>
                      <option value="2019">2019</option>
                      <option value="2020">2020</option>
                      <option value="2021">2021</option>
                      <option value="2022">2022</option>
                      <option value="2023">2023</option>
                    </select>
                  </div>
                </div>
                <div class="control-group control-group-2">
                  <label class="control-label">Security Code:</label>
                  <div class="controls">
                    <input class="textinput span3" type="text" name="securitycode">
                    <a class="btn btn-link fancybox fancybox.ajax" href="inc/data-bgo/what-this.php">What is this?</a>
                  </div>
                </div>
          
<?php } ?>