예제 #1
0
                         echo $hotels->hotelEmail();
                     }else{
                         echo '*****@*****.**';
                     }
                 ?>
             </li>
         </ul>
     </div>
 </div>
 <div class="booking-side-wrapper">
     <div class="booking-side clearfix">
         <h4 class="title-style4">Your Reservation<span class="title-block"></span></h4>
         <ul>
             <li><span>Client Name: </span> <?php echo $bookingclient->name(); ?></li>
             <li>
                 <span>Address: </span>  <?php echo $bookingclient->address1() . "," . $bookingclient->address2(); ?>
             </li>
             <li><span>Email: </span><?php echo $bookingclient->email(); ?></li>
             <li><span>Contact: </span><?php echo $bookingclient->contactno(); ?></li>
             <li><span>Room: </span>
                 <?php
                     $rooms = new HotelRoomType();
                     $rooms->setRoomTypeId($reservations->reservationHotelRoomTypeId());
                     $rooms->extractor($rooms->getHotelRoomTypeFromId());
                     echo($rooms->roomTypeName()); ?></li>
             <li>
                 <span>Check In: </span> <?php echo(str_replace("00:00:00", "", $reservations->reservationCheckInDate())); ?>
             </li>
             <li>
                 <span>Check Out: </span><?php echo(str_replace("00:00:00", "", $reservations->reservationCheckOutDate())); ?>
             </li>
예제 #2
0
            <?php 
}
?>

            <div class="booking-side-wrapper">
                <div class="booking-side clearfix">
                    <h4 class="title-style4">Your Reservation<span class="title-block"></span></h4>
                    <ul>
                        <li><span>Client Name: </span> <?php 
echo $bookingclient->name();
?>
</li>
                        <li>
                            <span>Address: </span>  <?php 
echo $bookingclient->address1() . "," . $bookingclient->address2();
?>
                        </li>
                        <li><span>Email: </span><?php 
echo $bookingclient->email();
?>
</li>
                        <li><span>Contact: </span><?php 
echo $bookingclient->contactno();
?>
</li>
                        <li><span>Room: </span>
                            <?php 
$rooms = new HotelRoomType();
$rooms->setRoomTypeId($reservations->reservationHotelRoomTypeId());
$rooms->extractor($rooms->getHotelRoomTypeFromId());
예제 #3
0
$pay_data = $reservations->getReservationsFromId();
$pay_data = $reservations->getReservationsFromId();
$reservations->extractor($pay_data);
$reservation_link_id = $reservations->reservationFromBookingLink();
$reservations_status = $reservations->reservationPaymentStatus();
if ($reservations->reservationFromBookingLink()) {
    $client = new BookingClient();
    $client->setId($reservations->reservationClientId());
    $client->extractor($client->getClientsFromId());
    $client_name = $client->name();
    $client_mobile = $client->contactno();
    $client_email = $client->email();
    $client_message = $client->message();
    $client_city = $client->city();
    $client_country = $client->country();
    $client_address = $client->address1() . " " . $client->address2();
} else {
    $client = new Clients();
    $client->setClientId($reservations->reservationClientId());
    $client->extractor($client->getClientFromId());
    $client_name = $client->clientFirstName() . " " . $client->clientLastName();
    $client_mobile = $client->clientPhoneMobile();
    $client_email = $client->clientEmail();
    $client_message = "";
    $client_city = $client->clientCity();
    $client_country = $client->clientCountry();
    $client_address = $client->clientAddress();
}
$hotels->setHotelId($reservations->reservationHotelId());
$hotels->extractor($hotels->getHotelFromId());
$date = date("Y-m-d");