<?php
require('includes/application.php');
if(!isset($_SESSION['cart_active']))
header("location: index.php");
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Sample PHP Paypal Shopping Cart - Order Placed</title>
<link rel="stylesheet" type="text/css" href="css/site.css" />
</head>
<body>
<?php
$cart->Empty_Cart(); unset($_SESSION['cart_active']);
echo '<table>';
echo '<tr>';
echo '<td>';
echo 'Congratulations! You have successfully placed your order. To buy again, kindly visit the <a href="index.php">Products page</a>';
echo '</td>';
echo '</tr>';
echo '</table>';
?>
</body>
</html>
|