Login   Register  
PHP Classes
elePHPant
Icontem

File: CheckoutSuccess.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of RAZA  >  shopcart  >  CheckoutSuccess.php  >  Download  
File: CheckoutSuccess.php
Role: Example script
Content type: text/plain
Description: Checkout Success Page
Class: shopcart
Manage a shopping cart stored in a MySQL database
Author: By
Last change:
Date: 5 years ago
Size: 844 bytes
 

Contents

Class file image Download
<?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>