Exemplo n.º 1
0
<?php

include_once "includes/SystemConfiguration.class.php";
session_start();
include "includes/language.php";
global $systemConfiguration;
global $logger;
$logger->LogInfo(__FILE__);
unset($_SESSION['bookingDetails']);
$page = null;
if (sizeof($_REQUEST) > 0 && isset($_REQUEST['id']) && is_numeric($_REQUEST['id'])) {
    $id = intval($_REQUEST['id']);
    $page = PageContents::fetchFromDb($id);
    if ($page == null) {
        $_SESSION['errors'] = BOOKING_FAILURE_INVALID_REQUEST;
        header("Location: booking-failure.php");
    }
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>     
    <meta name="description" content="<?php 
echo $systemConfiguration->getSiteDescription();
?>
" />
	<meta name="keywords" content="<?php 
echo $systemConfiguration->getSiteKeywords();
?>
" />
	<meta http-equiv="Content-Type" content="text/html;charset=<?php