Exemplo n.º 1
0
    echo $_SERVER["PHP_SELF"];
    ?>
" method="post">
	
		<?php 
    echo loadTemplate("terms.conditions.giftcards.php", $rec);
    ?>
		<input type="checkbox" name="agreement" value="yes"> I AGREE TO THE ABOVE STATEMENT
		<br/>
		<br/>
		<input type="submit" name="submit" value="Submit Order" onclick="document.getElementById('processing-box').style.display='block';document.getElementById('submit-box').style.display='none';"> &nbsp;&nbsp; <a href="checkout.php" class="blue small">Make Changes</a>
		
		<p style="display: none;" id="processing-box">Processing your request.  Do not refresh the page or you will be charged twice.</p>
		
		</form>

		<?php 
}
?>
		
		<?php 
if ($result["result"] == "1") {
    $scart->clearCart();
}
?>

		</div>
	</div>

<?php 
getFooter("public");
Exemplo n.º 2
0
<?php

require "_admin/_globals.php";
require CLASS_ADS;
require CLASS_GIFT_CARDS;
require CLASS_SHOPPING_CART;
$ads = new handleAds();
$gcard = new handleGiftCards();
$scart = new handleShoppingCart();
if (isset($_GET["add"])) {
    $message = $scart->addToCart();
}
if (isset($_GET["empty"])) {
    $message = $scart->clearCart();
    header("location: " . $_SERVER["PHP_SELF"]);
    exit;
}
if (isset($_GET["remove"])) {
    $message = $scart->clearItem();
    header("location: " . $_SERVER["PHP_SELF"]);
    exit;
}
?>

<?php 
getHeader("public");
?>

<div id="link-column-container">
	<div id="link-column">
		<div class='white extra-large' style='display: block; clear: both; text-align: center; padding: 20px 0px 10px 0px;'>Categories</div>