diff --git a/hotel_booking/contact.php b/hotel_booking/contact.php index 0a88bb0..d52fa6b 100644 --- a/hotel_booking/contact.php +++ b/hotel_booking/contact.php @@ -373,7 +373,7 @@

Can't find the contact and information you're looking for? Write to us via this quick form.

- + diff --git a/hotel_booking/user_booking.php b/hotel_booking/user_booking.php new file mode 100644 index 0000000..99a7c16 --- /dev/null +++ b/hotel_booking/user_booking.php @@ -0,0 +1,153 @@ + + + + + + User Booking | Midtown Hotel + + + + +
+ +
+
+
+
+

Booking

+

+ + + + + + + + + + +
DateOrder IDAction
+ data; + + while($data = mysqli_fetch_assoc($result)){ + $date = date("F j, Y", strtotime($data['datentime'])); + $checkin = date("M-d-Y", strtotime($data['check_in'])); + $checkout = date("M-d-Y", strtotime($data['check_out'])); + $status_bg = ""; + $btn = ""; + + if($data['booking_status'] == 'pending'){ + $status_bg = "bg-success"; + if($data['arrival'] ==1){ + $btn = " + Download + + "; + } else{ + $btn = " + + "; + } + + } else{ + $status_bg = "bg-danger"; + } + echo <<< data +
+ + + + + + + + +
$date$data[order_id]Action
+ data; + } + ?> + +
+
+ + + + + + + \ No newline at end of file