<?php 
if (isset($_SERVER['HTTP_USER_AGENT']) && strpos($_SERVER['HTTP_USER_AGENT'], 'MSIE') !== false) {
    header('X-UA-Compatible: IE=edge,chrome=1');
}
?>
		<link rel="shortcut icon" href="images/favicon.ico"/>
		<!--[if IE]><link href="style/layoutIE.css" rel="stylesheet" type="text/css" /><![endif]-->
		<!--[if !IE]><!--><link rel="stylesheet" type="text/css" href="style/layout.css" /><!--<![endif]-->		
		<script src="js/jQuery.js" type="text/javascript"></script>
		<script src="js/validation_mini.js" type="text/javascript"></script>
		<title>Checkout - Pay</title>
	</head>
	<body>
		<div id="checkoutHeader">			
			<div id="checkoutHeadBox">
				<div id="checkoutLogo">
					<img src="images/checkoutPay.png">
				</div>								
			</div>	
		</div>
		<div id="content">
			<?php 
showPayment($_SESSION['UserSession'][0]['userId'], 'checkout');
?>
		</div>
		<div id="footer">
			<form class="cancelOrder" method="link" action="cancelOrder.php"><button class="redButton">Cancel Order</button></form>
			<p id="cpy">&copy; 2013 Simon Barton</p>
		</div>
	</body>
</html>
Example #2
0
						<img alt="Home Icon" id="house" src="images/Icons/home.png">
					</p>
				</a> > 
				<a href="myAccount.php">My Account</a> >
				<a href="editProfile.php">Payment</a>
			</div>
			<div id="accountSideBar">
				<p class="sideBarHeading">My Account</p>
				<p class="sideBarOption"><a href="editProfile.php" style="color:#FFF;">Account Data</a></p>
				<p class="sideBarOption"><a href="addresses.php" style="color:#FFF;">Address</a></p>
				<p class="sideBarOption"><a href="payments.php" style="color:#FFF;">Payment</a></p>
				<p class="sideBarHeading">Orders</p>
				<p class="sideBarOption"><a href="orderHistory.php" style="color:#FFF;">Order History</a></p>
				<p class="sideBarHeading">Wishlist</p>
				<p class="sideBarOption"><a href="wishlist.php" style="color:#FFF;">Edit Wish List</a></p>
				<p class="sideBarHeading">Account Actions</p>
				<p class="sideBarOption"><a href="functions/logout.php" style="color:#FFF;">Logout</a></p>
			</div>
			<?php 
showPayment($_SESSION['UserSession'][0]['userId'], 'account');
?>
		</div>		
		<div id="footer">
			<p id="footLinks"> <a href="about.php">About</a> | 
				<a href="about.php">Contact</a> | 
				<a href="about.php">Privacy Policy</a> | 
				<a href="register.php">Register</a></p>
			<p id="cpy">&copy; 2013 Simon Barton</p>
		</div>
	</body>
</html>
// in.  Anyone that is logged in can SEE orders...
// check to see if th euesr is logged in - if not, this routine DOES NOT return
checkUserLoggedIn();
// here's where it gets interesting...
//  - if a previous button has been pressed, then we process a bit differently
//  - otherwise, the order is presented
if ($request) {
    if ($confirmed) {
        processRequestConfirmed($order, $page_id, $oid, $request, get_page_link($orderListLink), get_page_link($packingListLink), get_page_link($shipOrderLink));
    } else {
        processRequest($order, $page_id, $oid, $request, get_page_link($orderListLink), get_page_link($packingListLink), get_page_link($shipOrderLink));
    }
} else {
    showOrder($order, $customer, $page_id, $oid, get_page_link($editOrderLink), get_page_link($editCustomerLink), get_page_link($shipOrderLink) . "&edit");
    echo "<HR><H3>Payment</H3>\n";
    showPayment($order, $page_id, $oid);
    echo "<HR><H3> Shipping</H3>\n";
    showShipping($order, $page_id, $oid, get_page_link($shipOrderLink));
    echo "<HR><H3>Overrides</h3>\n";
    echo prettyButton($page_id, $oid, "DELETE", "delete");
    if ($order["WasCanceled"]) {
        echo prettyButton($page_id, $oid, "UN-CANCEL", "uncancel");
    } else {
        echo prettyButton($page_id, $oid, "CANCEL", "cancel");
    }
    echo prettyButton($page_id, $oid, "DUPLICATE", "dup", false, current_user_can("can_duplicate_orders"));
}
echo "<HR>\n";
?>

</div><!-- end of #content-full -->
Example #4
0
     showCourse();
     break;
 case 'subject':
     showSubject();
     break;
 case 'plan':
     showPlan();
     break;
 case 'student':
     showStudent();
     break;
 case 'exam':
     showExam();
     break;
 case 'payment':
     showPayment();
     break;
 case 'booking':
     showBooking();
     break;
 case 'booked':
     showBooked();
     break;
 case 'notice':
     showNotice();
     break;
 case 'docs':
     showDocs();
     break;
 case null:
     homepage();