<?php
session_start();
if(isset($_SESSION['user_email'])){
    require_once('header_2.php');
    ?>
<section> 
    <div class="container contact-form">
      <div class="row">
      <div class="col-lg-7 col-sm-7 col-md-7" >
          <h4>Delivery Address</h4>
          <div class="row" style="border:2px solid black;margin-bottom:15px">
               <div class="col-lg-1 col-md-1 col-sm-1"></div>
               <div class="col-lg-10 col-md-10 col-sm-10">
                   <form method="POST" action="action.php">
     <div class="row" style="margin-top:5px">
              <div class="col-lg-8 col-md-8 col-sm-8">
                        <select class="form-control" id="sel1">
                 <option>Thursday,13 feb</option>
                        </select>  
              </div>
            <div class="col-lg-4 col-md-4 col-sm-4">
            <select class="form-control" id="sel1">
              <option>Now</option>
            </select>  
            </div>
     </div>
            <div class="row" style="margin-top:5px">
              <div class="col-lg-7 col-md-7 col-sm-7">
                  <div class="form-field">
                  <i class="fa fa-building"></i>
                  <input id="building" type="text" placeholder="Building" class="placeholder" name="building">
              </div>
              </div>
                       <div class="col-lg-5 col-md-5 col-sm-5">
                  <div class="form-field">
                  <i class="fa fa-building-o"></i>
                  <input id="floor" type="text" placeholder="Floor/Unit" class="placeholder" name="floor">
              </div>
              </div>
             </div>
                   
                   
                   
                   <div class="row">
              <div class="col-lg-7 col-md-7 col-sm-7">
                  <div class="form-field">
                  <i class="fa fa-street-view"></i>
                  <input id="street" type="text" placeholder="Street" class="placeholder" name="street">
              </div>
              </div>
              <div class="col-lg-5 col-md-5 col-sm-5">
                  <div class="form-field">
                  <i class="fa fa-area-chart"></i>
                  <input id="area" type="text" placeholder="Area" class="placeholder" name="area">
              </div>
              </div>
                  </div>
                   <div class="row">
              <div class="col-lg-12">
              <div class="form-field">
               <i class="fa fa-pencil"></i>
                <textarea class="input-message placeholder" placeholder="(Optonal) Note to Rider" rows="5" name="special_note"></textarea>  
              </div>
              </div>
            </div>
                   <hr>
                    <div class="row">
                  <div class="col-lg-12 col-sm-12 col-md-12">
                        <button id="submit" name="order_information" style="width:100%" type="submit" class="button"> Complete Order</button>
                        </div>
                  </div>
                   <br>
                   </form>
              </div>
               <div class="col-lg-1 col-md-1 col-sm-1"></div>
          </div>
          </div>
          
                <div class="col-lg-5 col-sm-5 col-md-5">
            <div class="row" >
              <div class="col-lg-1 col-sm-1 col-md-1"></div>
              <div class="col-lg-10 col-sm-10 col-md-10">
                  <h4>ORDER SUMMARY</h4>
                  <div class="row"style="border:2px solid black">
                  <div class="col-lg-1 col-sm-1 col-md-1"></div>
                      <div class="col-lg-10 col-sm-10 col-md-10" style="margin-top:15px">
                  <div class="row">
                  <div class="col-lg-10 col-sm-10 col-md-10">
                        <h6>4 Meals Per weak</h6>
                        </div>
                  <div class="col-lg-2 col-sm-2 col-md-2">
                        <h6>$46.00</h6>
                        </div>
                  </div>
                  
                  
                  <hr>
                  <div class="row">
                  <div class="col-lg-10 col-sm-10 col-md-10">
                        <h6>Shipping</h6>
                        </div>
                  <div class="col-lg-2 col-sm-2 col-md-2">
                        <h6>$3.99</h6>
                        </div>
                  </div>
                  
                  
                  <hr>
                    <div class="row">
                  <div class="col-lg-10 col-sm-10 col-md-10">
                        <h5>Today's Total</h5>
                        </div>
                  <div class="col-lg-2 col-sm-2 col-md-2">
                        <h6>$14</h6>
                        </div>
                  </div>
                  
                  
                  
                  
                  
                  
                  
                </div>
                      </div>
                  
                  <h5 style="margin-top:50px">My meals</h5>
                  
                  <div class="row"style="border:2px solid black">
                   <div class="col-lg-1 col-sm-1 col-md-1"><h5 style="margin-top:38px">4</h5></div>
                       <div class="col-lg-4 col-sm-4 col-md-4">
                      <img class="img-responsive center-block" src="images/dish/05.png" alt="">
                      </div>
                       <div class="col-lg-7 col-sm-7 col-sm-7">
                      <h5 style="margin-top:30px">MEXICAN-STYLE SHREDDED BEEF</h5>
                           <p>with Masa Cakes</p>
                      </div>
                
                  
                  </div>
                  
                  
                  
                  
                      <div class="col-lg-1 col-sm-1 col-md-1"></div>
                  </div>
                </div>
              <div class="col-lg-1 col-sm-1 col-md-1"></div>
          </div>
          </div>
      </div>
        </div>
</section>
<?php
    $array = array( 1, 2, 3, 4 );
$string = serialize( $array );
    
echo $string;
require_once('footer.php');
}

else{
   echo "<script>location='sign_up.php'</script>";   
}
?>