<?
//////////////////////////////////////////////////////////////////////
// The freebert.com Free PHP Shopping Cart:
// Version 0.80 - July 14th, 2009
// License / Terms of Use:
// Free to use, edit & customize, so long as the freebert.com logo,
// the 'Powered By The Free PHP Shopping Cart' text & links
// remain displayed on the bottom of every visable shopping cart page.
// Redistribution in whole or in part of any page or function within
// the freebert.com Free PHP Shopping Cart is strictly forbidden
// without the express written consent from freebert.com.
// Copyright (c) 2007 - 2009 by Colin Burke - freebert.com
// Contact: hide@address.com
// Support: http://www.freebert.com/Wiki/index.php/FPHPSC
// NOTE: If you want a cart script package with more features like
// customer accounts, database integration, administration section,
// online customer orderstatus section and more, OR
// if you simply want to legally remove the logo & links and
// continue to use the freebert.com Free PHP Shopping Cart
// you may do so by buying a domain license for the freebert.com
// Deluxe PHP SQL Shopping Cart Script. For details go to:
// http://www.freebert.com/Products/DeluxePHPSQLShoppingCart/
//////////////////////////////////////////////////////////////////////
//CJB Open public HTML
function Open_Cart_HTML($Site_Script_Root_Directory,$CSS_Filename,$Title, $Metas = '')
{
// Open HTML to DIV
?>
<html>
<head>
<link rel=StyleSheet type="text/css" href="/<? echo $Site_Script_Root_Directory; ?>css/<? echo $CSS_Filename;?>" >
<title><? echo $Title; ?></title>
<? echo $Metas; ?>
</head>
<body style="margin: 0px;">
<div align="center">
<?
}
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
function Close_Cart_HTML($Site_Domain,$Site_Script_Root_Directory)
{
// Close public From /DIV
?><br>
<br>
<table border="1" cellpadding="0" cellspacing="0" bordercolor="#999999">
<tr>
<td><a href="http://www.freebert.com/" target="_blank"><img src="<? echo $Site_Domain.$Site_Script_Root_Directory; ?>img/FBSmall.jpg" alt="freebert.com Web Design Products & Services" width="50" height="36" border="0"></a></td>
<td><div align="center" class="CartPageInfoBG"><a href="http://www.freebert.com/Products/FreePHPShoppingCart/" target="_blank">Powered By<br>
The Free PHP Shopping Cart</a></div></td>
</tr>
</table>
<br>
<br>
</div>
</body>
</html>
<?
}
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
function Cart_Menu($CurrentStep=1)
{
// Close public From /DIV
$Output='';
$Output=$Output."
<table width='600' border='0'>
<tr>
<td><div align='center' class='CartMenuBox CartMenuBG Bold'>
<span class='Large'>Shopping Cart: </span><br />
";
if ($CurrentStep==1)
{
$Output=$Output."<span class='SelectedTextOption'>1 - Review Shopping Cart Contents.</span> <br />";
} else {
$Output=$Output."<a href='ShoppingCart.php' class='FadedLinkOption'>1 - Review Shopping Cart Contents.</a> <br />";
}
$Output=$Output."
";
if ($CurrentStep==2)
{
$Output=$Output."<span class='SelectedTextOption'>2 - Choose A Payment Method.</span><br />";
} else {
$Output=$Output."<a href='ChoosePayment.php' class='FadedLinkOption'>2 - Choose A Payment Method.</a><br />";
}
$Output=$Output."
";
if ($CurrentStep==3)
{
$Output=$Output."<span class='SelectedTextOption'>3 - Make Payment.</span><br />";
} else {
$Output=$Output."<span class='FadedTextOption'>3 - Make Payment.</span><br />";
}
$Output=$Output."
";
$Output=$Output."</div></td>
</tr>
</table>";
return $Output;
}
//////////////////////////////////////////////////////////////////////
// The freebert.com Free PHP Shopping Cart:
// Version 0.80 - July 14th, 2009
// License / Terms of Use:
// Free to use, edit & customize, so long as the freebert.com logo,
// the 'Powered By The Free PHP Shopping Cart' text & links
// remain displayed on the bottom of every visable shopping cart page.
// Redistribution in whole or in part of any page or function within
// the freebert.com Free PHP Shopping Cart is strictly forbidden
// without the express written consent from freebert.com.
// Copyright (c) 2007 - 2009 by Colin Burke - freebert.com
// Contact: hide@address.com
// Support: http://www.freebert.com/Wiki/index.php/FPHPSC
// NOTE: If you want a cart script package with more features like
// customer accounts, database integration, administration section,
// online customer orderstatus section and more, OR
// if you simply want to legally remove the logo & links and
// continue to use the freebert.com Free PHP Shopping Cart
// you may do so by buying a domain license for the freebert.com
// Deluxe PHP SQL Shopping Cart Script. For details go to:
// http://www.freebert.com/Products/DeluxePHPSQLShoppingCart/
//////////////////////////////////////////////////////////////////////
?>