Exemplo n.º 1
0
<?php

require_once "sysadmin3000/core/settings.inc";
require_once "sysadmin3000/core/functions.inc";
require_once "sysadmin3000/core/dispatcher.inc";
require_once "sysadmin3000/core/MainController.php";
$_POST['language'] = "en";
$reservation = MainController::get_reservation_by_id(149);
//var_dump($reservation);
?>

<table style="font-family: 'Arial';">
    <tr>
        <td>
            <img style="width: 120px; height: 120px; display: block; margin-right: 30px;" 
                 src="<?php 
echo 'http://' . $host . '/logomail.png';
?>
" />
        </td>
        <td>
            <h1 style="margin-bottom: 0px;">Booking confirmation</h1>
            <h3 style="margin-top: 5px; font-size: 18px;">Booked on: <?php 
echo date("jS \\of F", strtotime($reservation['reservation_date']));
?>
 </h3>
        </td>
    </tr>
    <tr>
        <td></td>
        <td>